u-boot-brain/arch/mips/cpu/mips32
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
..
au1x00 usb: use linux/usb/ch9.h instead of usbdescriptors.h 2012-11-20 00:16:06 +01:00
incaip serial: Use default_serial_puts() in drivers 2012-10-17 07:55:50 -07:00
cache.S MIPS: don't use camel-case style 2012-10-16 15:02:08 +02:00
config.mk MIPS: remove OUTPUT_FORMAT from linker scripts 2013-01-30 23:34:10 +01:00
cpu.c MIPS: don't use camel-case style 2012-10-16 15:02:08 +02:00
interrupts.c MIPS: Move content of arch/mips/cpu to arch/mips/cpu/mips32 2011-04-02 22:07:12 +09:00
Makefile MIPS: Move timer code to arch/mips/cpu/$(CPU)/ 2011-05-10 00:12:31 +09:00
start.S MIPS: add dynamic relocation support 2013-02-12 22:22:13 +01:00
time.c MIPS: do not initialize timestamp variable before relocate_code 2012-11-25 21:50:43 +01:00