This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] New --pe-dll-characteristcs switch for PE ld.
- From: Charles Wilson <cygwin at cwilson dot fastmail dot fm>
- To: binutils at sourceware dot org
- Date: Sun, 08 Mar 2009 18:21:00 -0400
- Subject: Re: [PATCH] New --pe-dll-characteristcs switch for PE ld.
Dave Korn wrote:
> Christopher Faylor wrote:
>> or --pe-characteristics.
>
> I could live with this, because it's part of the optional PE header, and the
> Characteristics field is part of the base COFF header, so could in theory be
> denoted by "--coff-characteristics".
FWIW, I like this suggestion. Using
--pe-characteristics
manipulate flags in the DllCharacteristics field of the
output object's "optional" PE header. When MS defined
the PE format and decided to name this field, they picked
a poor name: it really isn't DLL specific at all. This
field is really a PE extension to the base COFF
characteristics...
This would leave room later for
--coff-characteristics
manipulate flags in the Characteristics field of the output
object's base COFF header. (I think just plain
"--characteristics" is way too ambiguous, for either field).
--
Chuck