aboutsummaryrefslogtreecommitdiff
path: root/bfd/ChangeLog
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@suse.com>2021-05-07 12:05:12 +0200
committerJan Beulich <jbeulich@suse.com>2021-05-07 12:05:12 +0200
commit17c6c3b99156fe82c1e637e1a5fd9f163ac788c8 (patch)
tree71c76cc1471f142456595eea8af28d3e1eadb1ee /bfd/ChangeLog
parent98da05bf2698b55b73453480a3fbb92f163d2c7b (diff)
downloadbinutils-17c6c3b99156fe82c1e637e1a5fd9f163ac788c8.zip
binutils-17c6c3b99156fe82c1e637e1a5fd9f163ac788c8.tar.gz
binutils-17c6c3b99156fe82c1e637e1a5fd9f163ac788c8.tar.bz2
x86-64/ELF: clear src_mask for all reloc types
x86-64 uses rela relocations. The comment next to the field's declaration says "Non-zero values for ELF USE_RELA targets should be viewed with suspicion ..." And indeed the fields being non-zero causes section contents to be accumulated into the final relocated values in addition to the relocations' addends, which is contrary to the ELF spec.
Diffstat (limited to 'bfd/ChangeLog')
-rw-r--r--bfd/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 0b1e3d4..dd517a9 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-07 Jan Beulich <jbeulich@suse.com>
+
+ * elf64-x86-64.c (x86_64_elf_howto_table): Set src_mask fields
+ to zero.
+
2021-05-07 Alan Modra <amodra@gmail.com>
* bfd-in2.h: Regenerate.