aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2000-12-12 20:53:02 +0000
committerNick Clifton <nickc@redhat.com>2000-12-12 20:53:02 +0000
commitb79e8c786598de8c85416eb3215b1a318fe34048 (patch)
treee973b24726b6fe6cadbc177603278a1c266dd9a8 /bfd/elflink.h
parent8141c27d66d8ce079acfe03abd80cbdb439e1b86 (diff)
downloadgdb-b79e8c786598de8c85416eb3215b1a318fe34048.zip
gdb-b79e8c786598de8c85416eb3215b1a318fe34048.tar.gz
gdb-b79e8c786598de8c85416eb3215b1a318fe34048.tar.bz2
Add link option to allow undefiedn symbols in shared libraries
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 4d3eb64..b3e1bbc 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -5095,6 +5095,7 @@ elf_link_output_extsym (h, data)
referenced by regular files, because we will already have issued
warnings for them. */
if (! finfo->info->relocateable
+ && ! finfo->info->allow_shlib_undefined
&& ! (finfo->info->shared
&& !finfo->info->no_undefined)
&& h->root.type == bfd_link_hash_undefined