aboutsummaryrefslogtreecommitdiff
path: root/bfd/xcofflink.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/xcofflink.c')
-rw-r--r--bfd/xcofflink.c7
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;
}
}