aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/riscv.ld
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/riscv.ld')
-rw-r--r--firmware/riscv.ld4
1 files changed, 2 insertions, 2 deletions
diff --git a/firmware/riscv.ld b/firmware/riscv.ld
index 20fd2fb..3e7002d 100644
--- a/firmware/riscv.ld
+++ b/firmware/riscv.ld
@@ -1,5 +1,5 @@
/* Default linker script, for normal executables */
-/* Copyright (C) 2014-2016 Free Software Foundation, Inc.
+/* Copyright (C) 2014-2017 Free Software Foundation, Inc.
Copying and distribution of this script, with or without modification,
are permitted in any medium without royalty provided the copyright
notice and this notice are preserved. */
@@ -125,7 +125,7 @@ SECTIONS
we can shorten the on-disk segment size. */
.sdata :
{
- _gp = . + 0x800;
+ __global_pointer$ = . + 0x800;
*(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata .srodata.*)
*(.sdata .sdata.* .gnu.linkonce.s.*)
}