aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-08-01 17:43:29 +0930
committerAlan Modra <amodra@gmail.com>2019-08-02 18:22:42 +0930
commit6a010cf67a96adcaf80c74f926df6b42ce13e7df (patch)
treec420914e864baabfd4275178df6301b3d4b2f148 /gold/ChangeLog
parentPR24871, readelf segv in dump_ia64_unwind (diff)
downloadbinutils-gdb-6a010cf67a96adcaf80c74f926df6b42ce13e7df.tar.gz
binutils-gdb-6a010cf67a96adcaf80c74f926df6b42ce13e7df.tar.bz2
binutils-gdb-6a010cf67a96adcaf80c74f926df6b42ce13e7df.zip
[GOLD] PowerPC relocation signed overflow check
Relocations with right shifts were calculating wrong overflow status. Since the addr34 split-field reloc is implemented as an 18-bit high part with value shifted right by 16 and a 16-bit low part, most of the pc-relative relocs were affected. * powerpc.cc (Powerpc_relocate_functions::rela, rela_ua): Perform signed right shift for signed overflow check.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 754d0e3eb20..b2961d72f21 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,8 @@
+2019-08-02 Alan Modra <amodra@gmail.com>
+
+ * powerpc.cc (Powerpc_relocate_functions::rela, rela_ua): Perform
+ signed right shift for signed overflow check.
+
2019-07-29 Martin Liska <mliska@suse.cz>
PR 24768