Revert "[MPC512x] Correct fixup relocation"

This reverts commit 8d17979d03.
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
Grant Likely 2007-11-15 08:20:25 -07:00
parent 1ce55151c8
commit c93945e8f9
3 changed files with 2 additions and 2 deletions

View File

@ -51,6 +51,7 @@ SECTIONS
{ {
cpu/mpc512x/start.o (.text) cpu/mpc512x/start.o (.text)
*(.text) *(.text)
*(.fixup)
*(.got1) *(.got1)
. = ALIGN(16); . = ALIGN(16);
*(.rodata) *(.rodata)

View File

@ -19,7 +19,7 @@
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, # Foundation, Inc., 59 Temple Place, Suite 330, Boston,
# MA 02111-1307 USA # MA 02111-1307 USA
# #
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -mrelocatable PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
PLATFORM_CPPFLAGS += -DCONFIG_MPC512X -DCONFIG_E300 \ PLATFORM_CPPFLAGS += -DCONFIG_MPC512X -DCONFIG_E300 \
-ffixed-r2 -ffixed-r29 -msoft-float -mcpu=603e -ffixed-r2 -ffixed-r29 -msoft-float -mcpu=603e

View File

@ -70,7 +70,6 @@ typedef volatile unsigned char vu_char;
#elif defined(CONFIG_MPC512X) #elif defined(CONFIG_MPC512X)
#include <mpc512x.h> #include <mpc512x.h>
#include <asm/immap_512x.h> #include <asm/immap_512x.h>
#define CONFIG_RELOC_FIXUP_WORKS
#elif defined(CONFIG_MPC8220) #elif defined(CONFIG_MPC8220)
#include <asm/immap_8220.h> #include <asm/immap_8220.h>
#define CONFIG_RELOC_FIXUP_WORKS #define CONFIG_RELOC_FIXUP_WORKS