* elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag
authorAndreas Schwab <schwab@linux-m68k.org>
Mon, 6 Sep 1999 10:56:08 +0000 (10:56 +0000)
committerAndreas Schwab <schwab@linux-m68k.org>
Mon, 6 Sep 1999 10:56:08 +0000 (10:56 +0000)
to version symbols.

bfd/ChangeLog
bfd/elflink.h

index 4f981b03ae422ef87dd0c6703e54b05520d9e95b..a9c07d1f6fa3d6eada1cc71cd3f875518105e191 100644 (file)
@@ -1,3 +1,8 @@
+1999-09-06  Andreas Schwab  <schwab@suse.de>
+
+       * elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag
+       to version symbols.
+
 1999-09-06  Nick Clifton  <nickc@cygnus.com>
 
        * elflink.h (elf_gc_record_vtentry): Use bfd_zmalloc and
index 43a44dace023876139ca6a7702bd98c0f6b1ebbf..c7fd5ae91477cdd1220130f2a31559d7bc8c37c2 100644 (file)
@@ -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