Skip to content
Snippets Groups Projects
Commit f3a52fe0 authored by Grant Likely's avatar Grant Likely Committed by Wolfgang Denk
Browse files

Correct fixup relocation for mpc824x

parent a85dd254
No related branches found
No related tags found
No related merge requests found
...@@ -60,7 +60,6 @@ SECTIONS ...@@ -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 @@ ...@@ -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 ...@@ -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; ...@@ -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) \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment