START_PROGRESS (program_name, 0);
+ expandargv (&argc, &argv);
+
bfd_init ();
bfd_set_error_program_name (program_name);
{
if (*TARGET_SYSTEM_ROOT == 0)
{
- einfo ("%P%F: this linker was not configured to use sysroots");
+ einfo ("%P%F: this linker was not configured to use sysroots\n");
ld_sysroot = "";
}
else
einfo (_("%P%F: -r and -shared may not be used together\n"));
}
- if (!config.dynamic_link && link_info.shared)
- einfo (_("%P%F: -static and -shared may not be used together\n"));
-
if (! link_info.shared)
{
if (command_line.filter_shlib)
if (nocrossref_list != NULL)
check_nocrossrefs ();
+ lang_finish ();
+
/* Even if we're producing relocatable output, some non-fatal errors should
be reported in the exit status. (What non-fatal errors, if any, do we
want to ignore for relocatable output?) */