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] 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


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