This is the mail archive of the binutils@sources.redhat.com 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]

Re: ld -o behaviour


Hi Ben,

:   I think it would be also OK to simply remove the -omagic option.  I
:   think it was only introduced so that -N would have a long option
:   name.

I was not aware of this.

: If you think that'll be okay, here is a tested patch.  Comments?
: 
: 2000-12-26  Ben Elliston  <bje@redhat.com>
: 
: 	* lexsup.c (ld_options): Remove -omagic; require -N.
: 	* ld.texinfo (Options): Undocument -omagic.

Well I would prefer that we still have a long version of the switch,
even if it is renamed to something less confusing.

BTW - wouldn't it be easier to change which spec files are causing
this problem so that a space is inserted between the -o and the
filename ?  ie instead of having gcc pass "-omagic" to the linker it
could pass "-o magic".  This would cause the correct parsing to occur
and would prevent other, similar problems.

Cheers
	Nick


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