mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-14 21:10:27 +01:00
Correct relocation fixup for mpc5xx
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
f82b3b6304
commit
3649cd99ba
3 changed files with 2 additions and 2 deletions
|
|
@ -28,7 +28,7 @@
|
|||
#
|
||||
|
||||
|
||||
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
|
||||
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -mrelocatable
|
||||
|
||||
PLATFORM_CPPFLAGS += -DCONFIG_5xx -ffixed-r2 -ffixed-r29 -mpowerpc -msoft-float
|
||||
|
||||
|
|
|
|||
|
|
@ -59,7 +59,6 @@ SECTIONS
|
|||
cpu/mpc5xx/start.o (.text)
|
||||
|
||||
*(.text)
|
||||
*(.fixup)
|
||||
*(.got1)
|
||||
}
|
||||
_etext = .;
|
||||
|
|
|
|||
|
|
@ -63,6 +63,7 @@ typedef volatile unsigned char vu_char;
|
|||
#endif
|
||||
#elif defined(CONFIG_5xx)
|
||||
#include <asm/5xx_immap.h>
|
||||
#define CONFIG_RELOC_FIXUP_WORKS
|
||||
#elif defined(CONFIG_MPC5xxx)
|
||||
#include <mpc5xxx.h>
|
||||
#elif defined(CONFIG_MPC8220)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue