aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-06-28 10:18:03 +0930
committerAlan Modra <amodra@gmail.com>2019-06-28 10:18:03 +0930
commitf60c61e60e59c2bfc5fdd1b448408c2af287899e (patch)
tree4e768737ff28498934c79746fdd25f3cebaf2f66 /gold/ChangeLog
parentf073a3e8c6735bd8fc24d35a957d8944087ea367 (diff)
downloadgdb-f60c61e60e59c2bfc5fdd1b448408c2af287899e.zip
gdb-f60c61e60e59c2bfc5fdd1b448408c2af287899e.tar.gz
gdb-f60c61e60e59c2bfc5fdd1b448408c2af287899e.tar.bz2
[GOLD] PowerPC tweak relnum tests
There is a call of relocate() to perform a single relocation. In that case the "relnum" parameter is -1U and of course it isn't appropriate to consider any of the PowerPC code sequence optimisations triggered by a following relocation. * powerpc.cc (Target_powerpc::Relocate::relocate): Don't look at next/previous reloc when relnum is -1.
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 225a85c..b024dfa 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,5 +1,10 @@
2019-06-28 Alan Modra <amodra@gmail.com>
+ * powerpc.cc (Target_powerpc::Relocate::relocate): Don't look
+ at next/previous reloc when relnum is -1.
+
+2019-06-28 Alan Modra <amodra@gmail.com>
+
* powerpc.cc (Stub_table::plt_error): New function.
(Stub_table::do_write): Use it.
(Output_data_glink::do_write): Don't segfault emitting linkage