u-boot-brain/arch
Gabor Juhos 04380c651a MIPS: add dynamic relocation support
The code handles relocation entries with the
following relocation types only:
  mips32: R_MIPS_REL32
  mips64: R_MIPS_REL+R_MIPS_64
  xburst: R_MIPS_REL32

Other relocation entries are skipped without
processing. The code must be extended if other
relocation types must be supported.

Add -pie to LDFLAGS_FINAL to generate the .rel.dyn
fixup table, which will be applied to the relocated
image before transferring control to it.

The CONFIG_NEEDS_MANUAL_RELOC is not needed
after the patch, so remove that as well.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Signed-off-by: Daniel Schwierzeck <daniel.schwierzeck@gmail.com>
2013-02-12 22:22:13 +01:00
..
arm treewide: include libfdt_env.h before fdt.h 2013-02-07 20:38:55 -05:00
avr32 avr32: Use generic global_data 2013-02-04 09:05:45 -05:00
blackfin blackfin: Use generic global_data 2013-02-04 09:05:45 -05:00
m68k m68k: Use generic global_data 2013-02-04 09:05:45 -05:00
microblaze Merge branch 'master' of git://www.denx.de/git/u-boot-microblaze 2013-02-04 09:14:22 -05:00
mips MIPS: add dynamic relocation support 2013-02-12 22:22:13 +01:00
nds32 nds32: Use generic global_data 2013-02-04 09:05:46 -05:00
nios2 Clean up libfdt.h includes 2013-02-08 22:32:38 -05:00
openrisc openrisc: Use generic global_data 2013-02-04 09:05:46 -05:00
powerpc Clean up libfdt.h includes 2013-02-08 22:32:38 -05:00
sandbox sandbox: Use generic global_data 2013-02-04 09:05:46 -05:00
sh sh: Use generic global_data 2013-02-04 09:05:46 -05:00
sparc sparc: Use generic global_data 2013-02-04 09:05:46 -05:00
x86 Clean up libfdt.h includes 2013-02-08 22:32:38 -05:00
.gitignore update include/asm/ gitignore after move 2010-05-07 00:17:30 +02:00