crtbegin.S (__dso_handle): Put in .sdata/.sbss rather than .data/.bss so it can be accessed via...

* config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
	rather than .data/.bss so it can be accessed via gp-relative
	addressing.

From-SVN: r271977
This commit is contained in:
James Clarke 2019-06-05 22:27:37 +00:00 committed by Jeff Law
parent 5a9422664e
commit b009eac157
2 changed files with 8 additions and 2 deletions

View File

@ -1,3 +1,9 @@
2019-06-05 James Clarke <jrtc27@jrtc27.com>
* config/ia64/crtbegin.S (__dso_handle): Put in .sdata/.sbss
rather than .data/.bss so it can be accessed via gp-relative
addressing.
2019-06-05 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.

View File

@ -45,11 +45,11 @@ dtor_ptr:
.type __dso_handle,@object
.size __dso_handle,8
#ifdef SHARED
.section .data
.section .sdata
__dso_handle:
data8 __dso_handle
#else
.section .bss
.section .sbss
.align 8
__dso_handle:
.skip 8