[PATCH] Fix creating of non svr4 libraries
Tristan Gingold
gingold@adacore.com
Mon Oct 20 07:12:00 GMT 2014
On 18 Oct 2014, at 10:31, Alan Modra <amodra@gmail.com> wrote:
> On Fri, Oct 17, 2014 at 02:04:11PM +0200, Tristan Gingold wrote:
>> PR binutils/14698
>> * ar.c (open_inarch): Move code that set target from plugin_target.
>
> This will break ar for lto objects (or require you to specify
> --target=plugin). The problem is that archive elements must be loaded
> under control of the lto plugin to see the real symbols, those that
> you want to put into the archive symbol table.
It looks like a design issue, doesn't it ? The plugin bfd target should
use the target archive format (and not its own format).
That looks doable however!
Tristan.
More information about the Binutils
mailing list