From 610e0cb499a807287320fb13701cdee373a0a091 Mon Sep 17 00:00:00 2001 From: Palmer Dabbelt Date: Fri, 17 Mar 2017 15:37:29 -0700 Subject: Change the global pointer symbol to __global_pointer$ This changed a while ago in binutils. --- debug/targets/freedom-e300-sim/link.lds | 2 +- debug/targets/freedom-e300/link.lds | 2 +- debug/targets/freedom-u500-sim/link.lds | 2 +- debug/targets/freedom-u500/link.lds | 2 +- debug/targets/spike/link.lds | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'debug/targets') diff --git a/debug/targets/freedom-e300-sim/link.lds b/debug/targets/freedom-e300-sim/link.lds index 1dbb99c..1e0645a 100755 --- a/debug/targets/freedom-e300-sim/link.lds +++ b/debug/targets/freedom-e300-sim/link.lds @@ -13,7 +13,7 @@ SECTIONS .data : { *(.data) } .sdata : { - _gp = . + 0x800; + __global_pointer$ = . + 0x800; *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*) *(.sdata .sdata.* .gnu.linkonce.s.*) diff --git a/debug/targets/freedom-e300/link.lds b/debug/targets/freedom-e300/link.lds index 1dbb99c..1e0645a 100755 --- a/debug/targets/freedom-e300/link.lds +++ b/debug/targets/freedom-e300/link.lds @@ -13,7 +13,7 @@ SECTIONS .data : { *(.data) } .sdata : { - _gp = . + 0x800; + __global_pointer$ = . + 0x800; *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*) *(.sdata .sdata.* .gnu.linkonce.s.*) diff --git a/debug/targets/freedom-u500-sim/link.lds b/debug/targets/freedom-u500-sim/link.lds index 1dbb99c..1e0645a 100755 --- a/debug/targets/freedom-u500-sim/link.lds +++ b/debug/targets/freedom-u500-sim/link.lds @@ -13,7 +13,7 @@ SECTIONS .data : { *(.data) } .sdata : { - _gp = . + 0x800; + __global_pointer$ = . + 0x800; *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*) *(.sdata .sdata.* .gnu.linkonce.s.*) diff --git a/debug/targets/freedom-u500/link.lds b/debug/targets/freedom-u500/link.lds index 1dbb99c..1e0645a 100755 --- a/debug/targets/freedom-u500/link.lds +++ b/debug/targets/freedom-u500/link.lds @@ -13,7 +13,7 @@ SECTIONS .data : { *(.data) } .sdata : { - _gp = . + 0x800; + __global_pointer$ = . + 0x800; *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*) *(.sdata .sdata.* .gnu.linkonce.s.*) diff --git a/debug/targets/spike/link.lds b/debug/targets/spike/link.lds index 52e4472..b86b2b7 100755 --- a/debug/targets/spike/link.lds +++ b/debug/targets/spike/link.lds @@ -15,7 +15,7 @@ SECTIONS .data : { *(.data) } .sdata : { - _gp = . + 0x800; + __global_pointer$ = . + 0x800; *(.srodata.cst16) *(.srodata.cst8) *(.srodata.cst4) *(.srodata.cst2) *(.srodata*) *(.sdata .sdata.* .gnu.linkonce.s.*) -- cgit v1.1