Correct fixup relocation for MPC5xxx

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
Grant Likely 2007-07-03 00:34:29 -06:00 committed by Wolfgang Denk
parent 3649cd99ba
commit 6f7576b20e
4 changed files with 2 additions and 3 deletions

View file

@ -21,7 +21,7 @@
# MA 02111-1307 USA # MA 02111-1307 USA
# #
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -mrelocatable
PLATFORM_CPPFLAGS += -DCONFIG_MPC5xxx -ffixed-r2 -ffixed-r29 \ PLATFORM_CPPFLAGS += -DCONFIG_MPC5xxx -ffixed-r2 -ffixed-r29 \
-mstring -mcpu=603e -mmultiple -mstring -mcpu=603e -mmultiple

View file

@ -66,7 +66,6 @@ SECTIONS
common/environment.o (.ppcenv) common/environment.o (.ppcenv)
*(.text) *(.text)
*(.fixup)
*(.got1) *(.got1)
. = ALIGN(16); . = ALIGN(16);
*(.rodata) *(.rodata)

View file

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

View file

@ -66,6 +66,7 @@ typedef volatile unsigned char vu_char;
#define CONFIG_RELOC_FIXUP_WORKS #define CONFIG_RELOC_FIXUP_WORKS
#elif defined(CONFIG_MPC5xxx) #elif defined(CONFIG_MPC5xxx)
#include <mpc5xxx.h> #include <mpc5xxx.h>
#define CONFIG_RELOC_FIXUP_WORKS
#elif defined(CONFIG_MPC8220) #elif defined(CONFIG_MPC8220)
#include <asm/immap_8220.h> #include <asm/immap_8220.h>
#elif defined(CONFIG_8260) #elif defined(CONFIG_8260)