diff options
author | Frederic Konrad <konrad@adacore.com> | 2020-11-06 19:59:51 +0100 |
---|---|---|
committer | Pierre-Marie de Rodat <derodat@adacore.com> | 2021-05-07 05:28:53 -0400 |
commit | f015e33fc4cac3ee7f11aceb08f5d76b1b588111 (patch) | |
tree | 2694fd7cef31754223740389426625a5f655e6c0 /gcc | |
parent | 26b21ca8608443b0b7fdd5c2aa192cdce919f9a5 (diff) | |
download | gcc-f015e33fc4cac3ee7f11aceb08f5d76b1b588111.zip gcc-f015e33fc4cac3ee7f11aceb08f5d76b1b588111.tar.gz gcc-f015e33fc4cac3ee7f11aceb08f5d76b1b588111.tar.bz2 |
[Ada] sigtramp: fix powerpc64 against -fPIC
gcc/ada/
* sigtramp-vxworks-target.inc: Use a local label for the TOC.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ada/sigtramp-vxworks-target.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/ada/sigtramp-vxworks-target.inc b/gcc/ada/sigtramp-vxworks-target.inc index f42c872..13601c6 100644 --- a/gcc/ada/sigtramp-vxworks-target.inc +++ b/gcc/ada/sigtramp-vxworks-target.inc @@ -319,9 +319,9 @@ TCR("blr") #else #define SIGTRAMP_BODY \ CR("") \ -TCR("0:") \ -TCR("addis 2,12,.TOC.-0@ha") \ -TCR("addi 2,2,.TOC.-0@l") \ +TCR(".LOC_SIGTMP_COM_0:") \ +TCR("addis 2,12,.TOC.-.LOC_SIGTMP_COM_0@ha") \ +TCR("addi 2,2,.TOC.-.LOC_SIGTMP_COM_0@l") \ TCR(".localentry __gnat_sigtramp_common,.-__gnat_sigtramp_common") \ TCR("# Allocate frame and save the non-volatile") \ TCR("# registers we're going to modify") \ |