* lexsup.c (parse_args): Produce a more reasonable error message
when -ixxx or -rxxx is the last option on the linker command line.
+2015-02-23 Nick Clifton <nickc@redhat.com>
+
+ * lexsup.c (parse_args): Produce a more reasonable error message
+ when -ixxx or -rxxx is the last option on the linker command line.
+
2015-02-14 H.J. Lu <hongjiu.lu@intel.com>
PR ld/17973
an error message here. We cannot just make this a warning,
increment optind, and continue because getopt is too confused
and will seg-fault the next time around. */
- einfo(_("%P%F: bad -rpath option\n"));
+ einfo(_("%P%F: unrecognised option: %s\n"), argv[optind]);
link_info.relocatable = TRUE;
config.build_constructors = FALSE;