Linker diagnostics for the incorrect options .

Nick Clifton nickc@redhat.com
Mon Oct 5 12:55:30 GMT 2020


Hi Fangrui,

> Thanks! Perhaps    ` && optind != last_optind /* It is not a repeat of
> the previous option.  */` can be deleted... Nobody repeats a short
> option for ld,
> unless they want to have fun with:
> 
> % Debug/ld/ld-new -vvvvvv
> GNU ld (GNU Binutils) 2.35.50.20201002
> GNU ld (GNU Binutils) 2.35.50.20201002
> GNU ld (GNU Binutils) 2.35.50.20201002
> GNU ld (GNU Binutils) 2.35.50.20201002

Awww, you mean real users won't want to do that ? :-)

Advice accepted.  I have applied the patch with that line removed.

Cheers
  Nick




More information about the Binutils mailing list