summaryrefslogtreecommitdiff
path: root/examples/mips.lds
diff options
context:
space:
mode:
Diffstat (limited to 'examples/mips.lds')
-rw-r--r--examples/mips.lds3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/mips.lds b/examples/mips.lds
index 3bd573c..a770728 100644
--- a/examples/mips.lds
+++ b/examples/mips.lds
@@ -39,7 +39,8 @@ SECTIONS
. = ALIGN(4);
.data : { *(.data) }
- _gp = ALIGN(16);
+ . = .;
+ _gp = ALIGN(16) + 0x7ff0;
.got : {
__got_start = .;