[GOLD, PowerPC] Add --no-stub-group-multi
authorAlan Modra <amodra@gmail.com>
Tue, 19 Sep 2017 02:15:51 +0000 (11:45 +0930)
committerAlan Modra <amodra@gmail.com>
Tue, 19 Sep 2017 02:15:51 +0000 (11:45 +0930)
commitab502e635e78a6c6c9c8abf3072bfeedaca9c26f
treebc79cbc3b66fa62695f97739e09232c4f6008ead
parentced154d810b8e6ef10449030ba94fc8e66add468
[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.
gold/ChangeLog
gold/options.h
This page took 0.023584 seconds and 4 git commands to generate.