diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-07-26 21:53:08 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-07-26 21:53:08 +0000 |
commit | b223f95038337da6cc784c73fbd2bf06fd8e5f11 (patch) | |
tree | 9842ad4aa10ad0d8760686dc46b285e8deaf3aea /bfd/xcofflink.c | |
parent | 3dd5a8d3377edb5b6cc54f61e49005a7e427efbd (diff) | |
download | gdb-b223f95038337da6cc784c73fbd2bf06fd8e5f11.zip gdb-b223f95038337da6cc784c73fbd2bf06fd8e5f11.tar.gz gdb-b223f95038337da6cc784c73fbd2bf06fd8e5f11.tar.bz2 |
* xcofflink.c (xcoff_build_ldsyms): Make exporting an undefined
symbol a warning rather than an error.
PR 10208.
Diffstat (limited to 'bfd/xcofflink.c')
-rw-r--r-- | bfd/xcofflink.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c index 310ccf2..9a52a9c 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; } } |