[PATCH] New --pe-dll-characteristcs switch for PE ld.
Charles Wilson
cygwin@cwilson.fastmail.fm
Sun Mar 8 22:21:00 GMT 2009
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
More information about the Binutils
mailing list