From e6fb0df7c0b32f6326769938758a5b8322f83acf Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Sun, 13 Nov 1994 04:51:53 +0000 Subject: * elfcode.h (elf_export_symbol): Also export symbols which are referenced by a regular file. --- bfd/ChangeLog | 5 +++++ bfd/elfcode.h | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4f3f10a..806944b 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +Sat Nov 12 23:50:10 1994 Ian Lance Taylor (ian@tweedledumb.cygnus.com) + + * elfcode.h (elf_export_symbol): Also export symbols which are + referenced by a regular file. + Fri Nov 11 14:29:31 1994 Ian Lance Taylor * elfcode.h (NAME(bfd_elf,size_dynamic_sections)): Add diff --git a/bfd/elfcode.h b/bfd/elfcode.h index 302005a..4210e9e 100644 --- a/bfd/elfcode.h +++ b/bfd/elfcode.h @@ -5004,7 +5004,8 @@ elf_export_symbol (h, data) struct bfd_link_info *info = (struct bfd_link_info *) data; if (h->dynindx == -1 - && (h->elf_link_hash_flags & ELF_LINK_HASH_DEF_REGULAR) != 0) + && (h->elf_link_hash_flags + & (ELF_LINK_HASH_DEF_REGULAR | ELF_LINK_HASH_REF_REGULAR)) != 0) { if (! elf_link_record_dynamic_symbol (info, h)) { -- cgit v1.1