Linker diagnostics for the incorrect options .

Umesh Kalappa umesh.kalappa0@gmail.com
Wed Aug 19 05:29:22 GMT 2020


Hi All ,

Linker error handling for non  options or incorrect options should be
robust for instance like
$gcc -c test.c
$ld -non-static test.o

The linker  interpretation for  "-n" as a standard option for  nmagic ,then
"o" as output filename  by name "n-static" which is the dynamic executable .

So linker should be robust here with proper diagnostic and we  would like
to fix the same,before that we would like to hear from the experts here.

  Thank you in advance .
~Umesh




<#m_-1933998605313114137_DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2>


More information about the Binutils mailing list