aboutsummaryrefslogtreecommitdiff
path: root/gold/ChangeLog
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2016-08-30 11:58:05 +0930
committerAlan Modra <amodra@gmail.com>2016-08-30 12:20:27 +0930
commit57f6d32deafcfec43bef5e963e12aacc0783a1e4 (patch)
tree47dbfd928fc73626acffbe23cd52a6f155f17da3 /gold/ChangeLog
parent7229b687db8c5fe9c1534b763dea6d1211ff3993 (diff)
downloadgdb-57f6d32deafcfec43bef5e963e12aacc0783a1e4.zip
gdb-57f6d32deafcfec43bef5e963e12aacc0783a1e4.tar.gz
gdb-57f6d32deafcfec43bef5e963e12aacc0783a1e4.tar.bz2
[GOLD] correct grouping of stubs
This patch rewrites the rather obscure can_add_to_stub_group, fixing a problem with the handling of sections containing conditional external branches. When a section group contains any such section, the group size needs to be limited to a much smaller size than groups with only non-conditional external branches. PR 20523 * powerpc.cc (class Stub_control): Add has14_. Comment owner_. (Stub_control::can_add_to_stub_group): Correct grouping of sections containing 14-bit external branches. When returning false, set state_ to reflect the fact that we have one section for the next group. Rewrite most of function for clarity. Add and expand comments. (Target_powerpc::do_relax): Print stub group size retry in hex.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r--gold/ChangeLog11
1 files changed, 11 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog
index f01188e..0ea09f9 100644
--- a/gold/ChangeLog
+++ b/gold/ChangeLog
@@ -1,3 +1,14 @@
+2016-08-30 Alan Modra <amodra@gmail.com>
+
+ PR 20523
+ * powerpc.cc (class Stub_control): Add has14_. Comment owner_.
+ (Stub_control::can_add_to_stub_group): Correct grouping of
+ sections containing 14-bit external branches. When returning
+ false, set state_ to reflect the fact that we have one section
+ for the next group. Rewrite most of function for clarity.
+ Add and expand comments.
+ (Target_powerpc::do_relax): Print stub group size retry in hex.
+
2016-08-26 Han Shen <shenhan@google.com>
PR gold/20529 - relaxing loop never ends.