mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-13 08:27:23 +00:00
Correct fixup relocation for mpc83xx
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
This commit is contained in:
parent
5af61b2f4b
commit
057004f4a4
3 changed files with 2 additions and 2 deletions
|
@ -20,7 +20,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_MPC83XX -DCONFIG_E300 \
|
PLATFORM_CPPFLAGS += -DCONFIG_MPC83XX -DCONFIG_E300 \
|
||||||
-ffixed-r2 -ffixed-r29 -msoft-float
|
-ffixed-r2 -ffixed-r29 -msoft-float
|
||||||
|
|
|
@ -52,7 +52,6 @@ SECTIONS
|
||||||
{
|
{
|
||||||
cpu/mpc83xx/start.o (.text)
|
cpu/mpc83xx/start.o (.text)
|
||||||
*(.text)
|
*(.text)
|
||||||
*(.fixup)
|
|
||||||
*(.got1)
|
*(.got1)
|
||||||
. = ALIGN(16);
|
. = ALIGN(16);
|
||||||
*(.rodata)
|
*(.rodata)
|
||||||
|
|
|
@ -96,6 +96,7 @@ typedef volatile unsigned char vu_char;
|
||||||
#ifdef CONFIG_MPC83XX
|
#ifdef CONFIG_MPC83XX
|
||||||
#include <mpc83xx.h>
|
#include <mpc83xx.h>
|
||||||
#include <asm/immap_83xx.h>
|
#include <asm/immap_83xx.h>
|
||||||
|
#define CONFIG_RELOC_FIXUP_WORKS
|
||||||
#endif
|
#endif
|
||||||
#ifdef CONFIG_4xx
|
#ifdef CONFIG_4xx
|
||||||
#include <ppc4xx.h>
|
#include <ppc4xx.h>
|
||||||
|
|
Loading…
Reference in a new issue