aboutsummaryrefslogtreecommitdiff
path: root/gcc/c
diff options
context:
space:
mode:
authorAaron Sawdey <acsawdey@linux.ibm.com>2020-04-14 14:38:47 -0500
committerAaron Sawdey <acsawdey@linux.ibm.com>2020-04-14 14:38:47 -0500
commitaba6453890ce1754b7d1c01a67612766690ff15e (patch)
treee8e492c75ed16f848e383ae796080b75e63529ee /gcc/c
parent52d4ed1d96d48e2ceafc89a8734e14de3d5de3fe (diff)
downloadgcc-aba6453890ce1754b7d1c01a67612766690ff15e.zip
gcc-aba6453890ce1754b7d1c01a67612766690ff15e.tar.gz
gcc-aba6453890ce1754b7d1c01a67612766690ff15e.tar.bz2
Fix for PR/94542, do not make TLS refs PC-relative
For rs6000 target, it is not valid to make PC-relative references to TLS symbols. So addr_to_insn_form() needs to check if things are TLS before returning PC-rel forms. 2020-04-14 Aaron Sawdey <acsawdey@linux.ibm.com> PR target/94542 * config/rs6000/rs6000.c (address_to_insn_form): Do not attempt to use PC-relative addressing for TLS references.
Diffstat (limited to 'gcc/c')
0 files changed, 0 insertions, 0 deletions