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: [RFC PATCH, binutils] Add support for creating ELF import libraries


On Fri, Feb 5, 2016 at 5:35 AM, Nick Clifton <nickc@redhat.com> wrote:
> Hi Thomas,
>
>> One convenient mechanism is to create a so called import library that application
>> developers can link against. Such a library can already be created with objcopy
>> --extract-symbol but this means it is done as a separate step than linking.
>> This patch aims to add support in ld to create ELF import libraries at link time.
>
> Why ?  As you say this can already be done with objcopy.  Why add code to the linker,
> potentially creating new bugs, when there is an already existing mechanism that works ?
>

I agree.   We need more compelling reasons to add another way to do the same
thing in binutils.


-- 
H.J.


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