diff options
author | Alan Modra <amodra@gmail.com> | 2019-07-18 11:12:40 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-07-18 22:17:30 +0930 |
commit | 71c4e95abe66ec9fc2c064268e3f9640a5b951d8 (patch) | |
tree | 56c3c717039ed81afda0f85e85a77a7e0caf4b8f /bfd/ChangeLog | |
parent | 46e9995a207140408309dbea40c64f11843db777 (diff) | |
download | gdb-71c4e95abe66ec9fc2c064268e3f9640a5b951d8.zip gdb-71c4e95abe66ec9fc2c064268e3f9640a5b951d8.tar.gz gdb-71c4e95abe66ec9fc2c064268e3f9640a5b951d8.tar.bz2 |
[PowerPC64] Use STN_UNDEF internally for edited relocs
It's not correct to use non-STT_TLS symbols with TLS relocation, not
that it matters much when editing relocs, but this edited reloc can be
output by --emit-relocs. So don't use a symbol on the reloc.
* elf64-ppc.c (ppc64_elf_relocate_section): Don't bother selecting
a TLS section symbol for edited relocs. Tighten TLS symbol/reloc
match test.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r-- | bfd/ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index eb64f86..a9dce78 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,5 +1,11 @@ 2019-07-18 Alan Modra <amodra@gmail.com> + * elf64-ppc.c (ppc64_elf_relocate_section): Don't bother selecting + a TLS section symbol for edited relocs. Tighten TLS symbol/reloc + match test. + +2019-07-18 Alan Modra <amodra@gmail.com> + * elf64-ppc.c (TLS_EXPLICIT): Define as 256. (ppc64_elf_check_relocs): Don't store TLS_EXPLICIT even if char is more than 8 bits. |