PATCH: tidy documentation of ld command-line option syntax

Daniel Jacobowitz drow@false.org
Tue Feb 24 14:18:00 GMT 2009


On Mon, Feb 23, 2009 at 06:51:01PM -0500, Sandra Loosemore wrote:
> Dave Korn wrote:
>>
>>   Yeah.  Your suggestion is nice: I agree the joined forms are less clear for
>> the single-letter options.  How about we append a bit to the bit about passing
>> options via the driver just to mention the joined forms are the easier to use
>> in that context, so people don't think "I can't use -o=value so I have to use
>> -Xlinker -o -Xlinker value" when they see only "-o VALUE" and not "-oVALUE"?
>
> OK.  How's this version of the patch?

This is OK.

I looked at the context.  While you're there, could you please fix
this line:

       gcc -Wl,--startgroup foo.o bar.o -Wl,--endgroup

The options are --start-group and --end-group; missing hyphens are not
accepted.

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list