ld -o behaviour

Nick Clifton nickc@redhat.com
Thu Dec 28 11:55:00 GMT 2000


Hi Guys,

  Well there were no complaints, (of course everyone is on vacation at
  the moment :-), so I have checked this patch in.

: 2000-12-27  Nick Clifton  <nickc@redhat.com>
: 
: 	* lexsup.c (struct ld_option): Add new enum value:
: 	EXACTLY_TWO_DASHES.
: 	(ld_options[]): Change -omagic, -output and -oformat options
: 	to be EXACTLY_TWO_DASHES.
: 	(OUTPUT_COUNT): Use ARRAY_SIZE.
: 	(parse_args): Change parameter 'argc' to unsigned.
: 	Place EXACTLY_TWO_DASHES options into new really_longopts
: 	array.
: 	If getopt_long_only fails, try calling getopt_long using the
: 	really_longopts array.
: 	(help): Print a double dash for both EXACTLY_TWO_DASHES and
: 	TWO_DASHES options.
: 
: 	* ldlex.h: Fix prototype of parse_args.
: 
: 	* ld.texinfo: Document that long options starting with 'o'
: 	must be preceeded by two dashes.  Change example of a single
: 	dashed long option from -oformat to -trace-symbol.

Cheers
	Nick


More information about the Binutils mailing list