summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--board/hymod/u-boot.lds5
1 files changed, 3 insertions, 2 deletions
diff --git a/board/hymod/u-boot.lds b/board/hymod/u-boot.lds
index 1efa8b3..1309f20 100644
--- a/board/hymod/u-boot.lds
+++ b/board/hymod/u-boot.lds
@@ -87,9 +87,10 @@ SECTIONS
PROVIDE (erotext = .);
.reloc :
{
- *(.got)
_GOT2_TABLE_ = .;
- *(.got2)
+ KEEP(*(.got2))
+ KEEP(*(.got))
+ PROVIDE(_GLOBAL_OFFSET_TABLE_ = . + 4);
_FIXUP_TABLE_ = .;
*(.fixup)
}