* xcofflink.c (xcoff_build_ldsyms): Make exporting an undefined

symbol a warning rather than an error.
PR 10208.
This commit is contained in:
Ian Lance Taylor 1996-07-26 21:53:08 +00:00
parent 3dd5a8d337
commit b223f95038
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,8 @@
Fri Jul 26 17:51:39 1996 Ian Lance Taylor <ian@cygnus.com>
* xcofflink.c (xcoff_build_ldsyms): Make exporting an undefined
symbol a warning rather than an error.
Wed Jul 24 12:02:53 1996 Ian Lance Taylor <ian@cygnus.com>
* elf.c (assign_file_positions_for_segments): Track the virtual

View File

@ -3503,11 +3503,10 @@ xcoff_build_ldsyms (h, p)
else
{
(*_bfd_error_handler)
("attempt to export undefined symbol `%s'",
("warning: attempt to export undefined symbol `%s'",
h->root.root.string);
ldinfo->failed = true;
bfd_set_error (bfd_error_invalid_operation);
return false;
h->ldsym = NULL;
return true;
}
}