aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2021-01-02 21:45:02 +1030
committerAlan Modra <amodra@gmail.com>2021-01-03 12:49:47 +1030
commite3b53295d59d2e78292eaae4500243dd9e007ae4 (patch)
tree5a72c008f0da971ad043a1c98e2389f29a35108a /gold/ChangeLog
parent0ede24f2c46d2b888f5e19418e577f3c1110f6a5 (diff)
downloadbinutils-e3b53295d59d2e78292eaae4500243dd9e007ae4.zip
binutils-e3b53295d59d2e78292eaae4500243dd9e007ae4.tar.gz
binutils-e3b53295d59d2e78292eaae4500243dd9e007ae4.tar.bz2
PR27140, ppc32 segmentation fault in make_stub
This fixes a thinko in commit fa40fbe4849. st_other global entry bits are relevant only for 64-bit ELFv2. PowerPC gold leaves local sym vector of st_other bits as NULL for 32-bit, hence the segfault. PR 27140 * powerpc.cc (Target_powerpc::Branch_info::make_stub): Only access object->st_other() when 64-bit. (Stub_table::add_long_branch_entry): Ignore "other" when 32-bit.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog7
1 files changed, 7 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index 4b7b481..1177166 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,10 @@
+2021-01-03 Alan Modra <amodra@gmail.com>
+
+ PR 27140
+ * powerpc.cc (Target_powerpc::Branch_info::make_stub): Only access
+ object->st_other() when 64-bit.
+ (Stub_table::add_long_branch_entry): Ignore "other" when 32-bit.
+
2021-01-01 Nicolas Boulenguez <nicolas@debian.org>
* tilegx.cc: Correct comment spelling.