This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix creating of non svr4 libraries


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]