u-boot/arch/mips/cpu/mips64
Gabor Juhos 025f2b3380 MIPS: simplify relocated _G_O_T_ address calculation
The difference between the address of the original
and the relocated _GLOBAL_OFFSET_TABLE_ is always
the same as the relocation offset.

The relocation offset is already computed and it is
available in the 's1/t6' register. Use that to adjust
the relocated _G_O_T_ address, instead of calculating
the offset again from the _gp value.

Signed-off-by: Gabor Juhos <juhosg@openwrt.org>
Cc: Daniel Schwierzeck <daniel.schwierzeck@googlemail.com>
Cc: Xiangfu Liu <xiangfu@openmobilefree.net>
2013-01-30 23:32:52 +01:00
..
cache.S MIPS: add board qemu-mips64 support 2012-10-16 15:02:08 +02:00
config.mk MIPS: add board qemu-mips64 support 2012-10-16 15:02:08 +02:00
cpu.c MIPS: add board qemu-mips64 support 2012-10-16 15:02:08 +02:00
interrupts.c MIPS: add board qemu-mips64 support 2012-10-16 15:02:08 +02:00
Makefile MIPS: add board qemu-mips64 support 2012-10-16 15:02:08 +02:00
start.S MIPS: simplify relocated _G_O_T_ address calculation 2013-01-30 23:32:52 +01:00
time.c MIPS: do not initialize timestamp variable before relocate_code 2012-11-25 21:50:43 +01:00