[PATCH] New --pe-dll-characteristcs switch for PE ld.

Christopher Faylor cgf-use-the-mailinglist-please@sourceware.org
Mon Mar 9 05:24:00 GMT 2009

On Sat, Mar 07, 2009 at 05:10:02AM +0000, Dave Korn wrote:
>Christopher Faylor wrote:
>> On Fri, Mar 06, 2009 at 04:42:20PM +0000, Dave Korn wrote:
>>>Can you enlarge on how you would see the name "--dll-characteristics"
>>>causing confusion?  [ ...  ] I'm really not grasping the problem that
>>>you think could arise.
>>Since you are talking about things like "documented name"s, why not
>>just make each of these an option like the Microsoft linker does?
>Because I'm not working to implement their linker spec, I'm working to
>implement their object file format spec, so details of their linker
>syntax are outside the scope of the work I am doing and not relevant to

I don't see any reason for a user to have to remember two things
(--dll-characteristics something) when they could just use --something.
If implemented as a simple option, you could get useful information from
--help, and you wouldn't have to invent a new way of parsing options.
And, if we name the options similarly to Microsoft's link command (and
there is certainly precedent for ld accommodating other linker's
arguments) we might even make it slightly easier for people who are
familiar with Microsoft's tools to use ours.


More information about the Binutils mailing list