From 0d271c1a5ef4a04ee26ebbfa9270a82a28f83b68 Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Mon, 6 Sep 1999 10:56:08 +0000 Subject: [PATCH] * elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag to version symbols. --- bfd/ChangeLog | 5 +++++ bfd/elflink.h | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 4f981b03ae..a9c07d1f6f 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +1999-09-06 Andreas Schwab + + * elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag + to version symbols. + 1999-09-06 Nick Clifton * elflink.h (elf_gc_record_vtentry): Use bfd_zmalloc and diff --git a/bfd/elflink.h b/bfd/elflink.h index 43a44dace0..c7fd5ae914 100644 --- a/bfd/elflink.h +++ b/bfd/elflink.h @@ -1574,7 +1574,8 @@ elf_link_add_object_symbols (abfd, info) (hi->elf_link_hash_flags & (ELF_LINK_HASH_REF_DYNAMIC | ELF_LINK_HASH_REF_REGULAR - | ELF_LINK_HASH_REF_REGULAR_NONWEAK)); + | ELF_LINK_HASH_REF_REGULAR_NONWEAK + | ELF_LINK_NON_GOT_REF)); /* Copy over the global and procedure linkage table offset entries. These may have been already set @@ -1683,7 +1684,8 @@ elf_link_add_object_symbols (abfd, info) (hi->elf_link_hash_flags & (ELF_LINK_HASH_REF_DYNAMIC | ELF_LINK_HASH_REF_REGULAR - | ELF_LINK_HASH_REF_REGULAR_NONWEAK)); + | ELF_LINK_HASH_REF_REGULAR_NONWEAK + | ELF_LINK_NON_GOT_REF)); /* Copy over the global and procedure linkage table offset entries. These may have been