u-boot-brain/arch/mips/cpu
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
..
mips32 MIPS: simplify relocated _G_O_T_ address calculation 2013-01-30 23:32:52 +01:00
mips64 MIPS: simplify relocated _G_O_T_ address calculation 2013-01-30 23:32:52 +01:00
xburst MIPS: simplify relocated _G_O_T_ address calculation 2013-01-30 23:32:52 +01:00