summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/mips.lds8
1 files changed, 5 insertions, 3 deletions
diff --git a/examples/mips.lds b/examples/mips.lds
index 6f31eb719..3bd573cc5 100644
--- a/examples/mips.lds
+++ b/examples/mips.lds
@@ -41,9 +41,11 @@ SECTIONS
_gp = ALIGN(16);
- __got_start = .;
- .got : { *(.got) }
- __got_end = .;
+ .got : {
+ __got_start = .;
+ *(.got)
+ __got_end = .;
+ }
.sdata : { *(.sdata) }