aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-06-29 07:00:33 +0000
committerAlan Modra <amodra@gmail.com>2001-06-29 07:00:33 +0000
commite45bf86378ef68b380f62c56ff081eefcba68943 (patch)
treeead7a511a3c4eff8ec0d6fc4a016e1b18180c260 /bfd/elflink.h
parenta1337894c15ed4b314e35975543eeb564aa73d55 (diff)
downloadgdb-e45bf86378ef68b380f62c56ff081eefcba68943.zip
gdb-e45bf86378ef68b380f62c56ff081eefcba68943.tar.gz
gdb-e45bf86378ef68b380f62c56ff081eefcba68943.tar.bz2
* elflink.h (elf_link_output_extsym): Revert 1999-04-10.
Diffstat (limited to 'bfd/elflink.h')
-rw-r--r--bfd/elflink.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/bfd/elflink.h b/bfd/elflink.h
index fab9bdc..082abd3 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -5227,8 +5227,7 @@ elf_link_output_extsym (h, data)
warnings for them. */
if (! finfo->info->relocateable
&& ! finfo->info->allow_shlib_undefined
- && ! (finfo->info->shared
- && !finfo->info->no_undefined)
+ && ! finfo->info->shared
&& h->root.type == bfd_link_hash_undefined
&& (h->elf_link_hash_flags & ELF_LINK_HASH_REF_DYNAMIC) != 0
&& (h->elf_link_hash_flags & ELF_LINK_HASH_REF_REGULAR) == 0)