u-boot-brain/arch/mips
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
..
cpu MIPS: simplify relocated _G_O_T_ address calculation 2013-01-30 23:32:52 +01:00
include/asm MIPS: convert IO port accessor functions to 'static inline' 2013-01-22 21:07:19 +01:00
lib MIPS: bootm.c: add support for 'prep' and 'go' subcommands 2013-01-16 10:52:07 +01:00
config.mk MIPS: move CONFIG_STANDALONE_LOAD_ADDR to CPU config makefiles 2012-08-24 00:34:47 +02:00