aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/nios2/nios2.md
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/config/nios2/nios2.md')
-rw-r--r--gcc/config/nios2/nios2.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/config/nios2/nios2.md b/gcc/config/nios2/nios2.md
index 7274687..530ce2d 100644
--- a/gcc/config/nios2/nios2.md
+++ b/gcc/config/nios2/nios2.md
@@ -1015,8 +1015,8 @@
""
"nextpc\\t%0
\\t1:
-\\tmovhi\\t%1, %%hiadj(_GLOBAL_OFFSET_TABLE_ - 1b)
-\\taddi\\t%1, %1, %%lo(_GLOBAL_OFFSET_TABLE_ - 1b)"
+\\tmovhi\\t%1, %%hiadj(_gp_got - 1b)
+\\taddi\\t%1, %1, %%lo(_gp_got - 1b)"
[(set_attr "length" "12")])
;; Read thread pointer register