From: Ian Lance Taylor Date: Fri, 26 Jul 1996 21:53:08 +0000 (+0000) Subject: * xcofflink.c (xcoff_build_ldsyms): Make exporting an undefined X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b223f95038337da6cc784c73fbd2bf06fd8e5f11;p=binutils-gdb.git * xcofflink.c (xcoff_build_ldsyms): Make exporting an undefined symbol a warning rather than an error. PR 10208. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index cfa7b406062..056c5292e98 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Fri Jul 26 17:51:39 1996 Ian Lance Taylor + + * 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 * elf.c (assign_file_positions_for_segments): Track the virtual diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c index 310ccf2b4ff..9a52a9c0457 100644 --- a/bfd/xcofflink.c +++ b/bfd/xcofflink.c @@ -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; } }