Hello.

I have found that ld reports confusing message on unsupported
command-line options started with 'r' or 'i':

$ ld -iqwerty
ld: bad -rpath option

$ ld -rqwerty
ld: bad -rpath option

The common case discussed in Internet is incorrectly passing -rdynamic
option to ld.
It's hard to guess what's wrong with -rpath ... when it is also
provided on the command line.

I suggest to print more user-friendly message with complete unsupported option.

Thank you.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to