projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26b21ca
)
[Ada] sigtramp: fix powerpc64 against -fPIC
author
Frederic Konrad
<konrad@adacore.com>
Fri, 6 Nov 2020 18:59:51 +0000
(19:59 +0100)
committer
Pierre-Marie de Rodat
<derodat@adacore.com>
Fri, 7 May 2021 09:28:53 +0000
(
05:28
-0400)
gcc/ada/
* sigtramp-vxworks-target.inc: Use a local label for the TOC.
gcc/ada/sigtramp-vxworks-target.inc
patch
|
blob
|
history
diff --git
a/gcc/ada/sigtramp-vxworks-target.inc
b/gcc/ada/sigtramp-vxworks-target.inc
index
f42c872
..
13601c6
100644
(file)
--- 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") \