aboutsummaryrefslogtreecommitdiff
path: root/ld/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 /ld/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 'ld/ChangeLog')
-rw-r--r--ld/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 998c403..d78c706 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,8 @@
+2021-05-07 Jan Beulich <jbeulich@suse.com>
+
+ * testsuite/ld-x86-64/rela.d: New.
+ * testsuite/ld-x86-64/x86-64.exp: Run new test.
+
2021-05-07 Nick Clifton <nickc@redhat.com>
* ldelfgen.c (compare_link_order): Ignore section size when