Commit b009eac1 by James Clarke Committed by Jeff Law

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
parent 5a942266
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> 2019-06-05 David Edelsohn <dje.gcc@gmail.com>
* config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR. * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR.
......
...@@ -45,11 +45,11 @@ dtor_ptr: ...@@ -45,11 +45,11 @@ dtor_ptr:
.type __dso_handle,@object .type __dso_handle,@object
.size __dso_handle,8 .size __dso_handle,8
#ifdef SHARED #ifdef SHARED
.section .data .section .sdata
__dso_handle: __dso_handle:
data8 __dso_handle data8 __dso_handle
#else #else
.section .bss .section .sbss
.align 8 .align 8
__dso_handle: __dso_handle:
.skip 8 .skip 8
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment