From: James Clarke Date: Wed, 5 Jun 2019 22:27:37 +0000 (+0000) Subject: crtbegin.S (__dso_handle): Put in .sdata/.sbss rather than .data/.bss so it can be... X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b009eac1575fab705384306a5c877945184d7ffc;p=gcc.git 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 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 371876a45ff..82c124f8ece 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,9 @@ +2019-06-05 James Clarke + + * 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 * config/rs6000/aix-unwind.h (LR_REGNO): Rename to R_LR. diff --git a/libgcc/config/ia64/crtbegin.S b/libgcc/config/ia64/crtbegin.S index 5b2f55936dd..213ccd7ab8b 100644 --- a/libgcc/config/ia64/crtbegin.S +++ b/libgcc/config/ia64/crtbegin.S @@ -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