summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2001-06-29 07:00:33 +0000
committerAlan Modra <amodra@bigpond.net.au>2001-06-29 07:00:33 +0000
commit1cc9c8ca73167724ee54ac3cbdb008ca4cca3214 (patch)
treec296657b87e2b68bc8b35c20529d273895022487
parenta597379a68d8b0c669d31be9a7655c65011d5ccf (diff)
downloadgdb-1cc9c8ca73167724ee54ac3cbdb008ca4cca3214.tar.gz
* elflink.h (elf_link_output_extsym): Revert 1999-04-10.
-rw-r--r--bfd/ChangeLog4
-rw-r--r--bfd/elflink.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index ec761840b0c..0c54609975d 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-29 Alan Modra <amodra@bigpond.net.au>
+
+ * elflink.h (elf_link_output_extsym): Revert 1999-04-10.
+
2001-06-27 Alan Modra <amodra@bigpond.net.au>
* elf32-hppa.c (elf32_hppa_check_relocs): Don't make syms dynamic
diff --git a/bfd/elflink.h b/bfd/elflink.h
index fab9bdc7ba6..082abd36b16 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)