Skip to content
Snippets Groups Projects
Commit e1563388 authored by Grant Likely's avatar Grant Likely
Browse files

Revert "Correct fixup relocation for MPC5xxx"


This reverts commit 6f7576b2.
Signed-off-by: default avatarGrant Likely <grant.likely@secretlab.ca>
parent 139365fb
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
# MA 02111-1307 USA # MA 02111-1307 USA
# #
PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi -mrelocatable PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
PLATFORM_CPPFLAGS += -DCONFIG_MPC5xxx -ffixed-r2 -ffixed-r29 \ PLATFORM_CPPFLAGS += -DCONFIG_MPC5xxx -ffixed-r2 -ffixed-r29 \
-mstring -mcpu=603e -mmultiple -mstring -mcpu=603e -mmultiple
......
...@@ -66,6 +66,7 @@ SECTIONS ...@@ -66,6 +66,7 @@ SECTIONS
common/environment.o (.ppcenv) common/environment.o (.ppcenv)
*(.text) *(.text)
*(.fixup)
*(.got1) *(.got1)
. = ALIGN(16); . = ALIGN(16);
*(.rodata) *(.rodata)
......
...@@ -55,6 +55,7 @@ SECTIONS ...@@ -55,6 +55,7 @@ SECTIONS
{ {
cpu/mpc5xxx/start.o (.text) cpu/mpc5xxx/start.o (.text)
*(.text) *(.text)
*(.fixup)
*(.got1) *(.got1)
. = ALIGN(16); . = ALIGN(16);
*(.rodata) *(.rodata)
......
...@@ -66,7 +66,6 @@ typedef volatile unsigned char vu_char; ...@@ -66,7 +66,6 @@ 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_MPC512X) #elif defined(CONFIG_MPC512X)
#include <mpc512x.h> #include <mpc512x.h>
#include <asm/immap_512x.h> #include <asm/immap_512x.h>
......
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