Skip to contentSkip to conversation

Fixed GOT bug for qemu_mips target

PATCH New Vlad Lungu 1 participant 1 message Oct 5, 2007

lore
Share & tools
lore

Vlad Lungu

author
#0 lore raw

PATCH 1/1 Fixed GOT bug for qemu_mips target

Idea by Robert Delien, I just take the credit for it :-)

---
 board/qemu-mips/u-boot.lds |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)
board/qemu-mips/u-boot.lds +3 -2
index 10c9917..7c0098e 100644
@@ -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