summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/mips.lds3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/mips.lds b/examples/mips.lds
index 3bd573cc54..a7707287a2 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 = .;
OpenPOWER on IntegriCloud