diff options
author | Alan Modra <amodra@gmail.com> | 2017-09-19 11:45:51 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-09-19 11:45:51 +0930 |
commit | ab502e635e78a6c6c9c8abf3072bfeedaca9c26f (patch) | |
tree | bc79cbc3b66fa62695f97739e09232c4f6008ead /gold/ChangeLog | |
parent | ced154d810b8e6ef10449030ba94fc8e66add468 (diff) |
[GOLD, PowerPC] Add --no-stub-group-multi
The trouble with stubs per output section is that ppc32 uses a plt
stub as the address of a global function. This needs to be unique,
otherwise we'll get multiple addresses for a function.
Obviously this is only a partial solution, since ppc32 will get
multiple stubs when code is larger than 33M. A proper fix will
involve selecting a unique stub to use for non-branch relocs.
* options.h (stub-group-multi): Default to true. Add
--no-stub-group-multi.
Diffstat (limited to 'gold/ChangeLog')
-rw-r--r-- | gold/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/gold/ChangeLog b/gold/ChangeLog index 2343215585..867cbef2ed 100644 --- a/gold/ChangeLog +++ b/gold/ChangeLog @@ -1,3 +1,8 @@ +2017-09-19 Alan Modra <amodra@gmail.com> + + * options.h (stub-group-multi): Default to true. Add + --no-stub-group-multi. + 2017-08-30 Alan Modra <amodra@gmail.com> * powerpc.cc (Target_powerpc::Relocate::relocate): Nop addis on |