aboutsummaryrefslogtreecommitdiff
path: root/sim/mcore
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2023-08-04 15:09:53 +0930
committerAlan Modra <amodra@gmail.com>2023-08-04 17:59:01 +0930
commitae33771224660dac25e64c3f70943a17bfab7681 (patch)
treed48602b894890c97fb00c756b3962aaf8f480ab0 /sim/mcore
parent49459ed32b71aefd0443d82c939f05933505080e (diff)
downloadgdb-ae33771224660dac25e64c3f70943a17bfab7681.zip
gdb-ae33771224660dac25e64c3f70943a17bfab7681.tar.gz
gdb-ae33771224660dac25e64c3f70943a17bfab7681.tar.bz2
PR30697, ppc32 mix of local-dynamic and global-dynamic TLS
This fixes miscounting of dynamic relocations on GOT entries when a) there are both local-dynamic and global-dynamic tls accesss for a given symbol, and b) the symbol is global with non-default visibility, and c) the __tls_get_addr calls aren't optimised away. PR 30697 bfd/ * elf32-ppc.c (allocate_dynrelocs): Correct local-dynamic reloc count. ld/ * testsuite/ld-powerpc/tls32ldgd.d, * testsuite/ld-powerpc/tls32ldgd.s: New test. * testsuite/ld-powerpc/powerpc.exp: Run it.
Diffstat (limited to 'sim/mcore')
0 files changed, 0 insertions, 0 deletions