diff options
author | Jan Beulich <jbeulich@suse.com> | 2021-05-07 12:05:12 +0200 |
---|---|---|
committer | Jan Beulich <jbeulich@suse.com> | 2021-05-07 12:05:12 +0200 |
commit | 17c6c3b99156fe82c1e637e1a5fd9f163ac788c8 (patch) | |
tree | 71c76cc1471f142456595eea8af28d3e1eadb1ee /gas/ChangeLog | |
parent | 98da05bf2698b55b73453480a3fbb92f163d2c7b (diff) | |
download | gdb-17c6c3b99156fe82c1e637e1a5fd9f163ac788c8.zip gdb-17c6c3b99156fe82c1e637e1a5fd9f163ac788c8.tar.gz gdb-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 'gas/ChangeLog')
-rw-r--r-- | gas/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index b3a2cfc..b04a764 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,5 +1,10 @@ 2021-05-07 Jan Beulich <jbeulich@suse.com> + * testsuite/gas/i386/rela.s, testsuite/gas/i386/rela.d: New. + * testsuite/gas/i386/i386.exp: Run new test. + +2021-05-07 Jan Beulich <jbeulich@suse.com> + * config/tc-i386.c (output_disp): Use disps field instead of imms one. |