Fixed GOT bug for qemu_mips target
PATCH 1/1 Fixed GOT bug for qemu_mips target
Idea by Robert Delien, I just take the credit for it :-)
Signed-off-by Vlad Lungu <[email protected]>
--- board/qemu-mips/u-boot.lds | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-)
board/qemu-mips/u-boot.lds +3 -2
@@ -45,8 +45,9 @@ SECTIONS . = ALIGN(4); .sdata : { *(.sdata) } - - _gp = ALIGN(16); + + . = ALIGN(16); + _gp =.; __got_start = .; .got : { *(.got) }
Signature · 1 line
1.5.2.2