mirror of
https://github.com/Fishwaldo/u-boot.git
synced 2025-03-21 14:41:31 +00:00
Correct fixup relocation for mpc824x
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
a85dd254c0
commit
f3a52fe059
4 changed files with 3 additions and 3 deletions
|
@ -60,7 +60,6 @@ SECTIONS
|
||||||
lib_generic/crc32.o (.text)
|
lib_generic/crc32.o (.text)
|
||||||
lib_generic/zlib.o (.text)
|
lib_generic/zlib.o (.text)
|
||||||
|
|
||||||
*(.fixup)
|
|
||||||
*(.got1)
|
*(.got1)
|
||||||
. = ALIGN(16);
|
. = ALIGN(16);
|
||||||
*(.rodata)
|
*(.rodata)
|
||||||
|
|
|
@ -21,7 +21,7 @@
|
||||||
# MA 02111-1307 USA
|
# MA 02111-1307 USA
|
||||||
#
|
#
|
||||||
|
|
||||||
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing
|
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -fno-strict-aliasing -mrelocatable
|
||||||
|
|
||||||
PLATFORM_CPPFLAGS += -DCONFIG_MPC824X -ffixed-r2 -ffixed-r29 -mstring -mcpu=603e -msoft-float
|
PLATFORM_CPPFLAGS += -DCONFIG_MPC824X -ffixed-r2 -ffixed-r29 -mstring -mcpu=603e -msoft-float
|
||||||
|
|
||||||
|
|
|
@ -55,7 +55,6 @@ SECTIONS
|
||||||
{
|
{
|
||||||
cpu/mpc824x/start.o (.text)
|
cpu/mpc824x/start.o (.text)
|
||||||
*(.text)
|
*(.text)
|
||||||
*(.fixup)
|
|
||||||
*(.got1)
|
*(.got1)
|
||||||
. = ALIGN(16);
|
. = ALIGN(16);
|
||||||
*(.rodata)
|
*(.rodata)
|
||||||
|
|
|
@ -70,6 +70,8 @@ typedef volatile unsigned char vu_char;
|
||||||
#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
|
||||||
|
#elif defined(CONFIG_824X)
|
||||||
|
#define CONFIG_RELOC_FIXUP_WORKS
|
||||||
#elif defined(CONFIG_8260)
|
#elif defined(CONFIG_8260)
|
||||||
#if defined(CONFIG_MPC8247) \
|
#if defined(CONFIG_MPC8247) \
|
||||||
|| defined(CONFIG_MPC8248) \
|
|| defined(CONFIG_MPC8248) \
|
||||||
|
|
Loading…
Add table
Reference in a new issue