aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schwab <schwab@linux-m68k.org>1999-09-06 10:56:08 +0000
committerAndreas Schwab <schwab@linux-m68k.org>1999-09-06 10:56:08 +0000
commit0d271c1a5ef4a04ee26ebbfa9270a82a28f83b68 (patch)
tree0cef58c93ebb820abce0679fd7b13309966eb29e
parent90765e3a9e2c46dbe44d59b9e8680adb73002c3c (diff)
downloadgdb-0d271c1a5ef4a04ee26ebbfa9270a82a28f83b68.zip
gdb-0d271c1a5ef4a04ee26ebbfa9270a82a28f83b68.tar.gz
gdb-0d271c1a5ef4a04ee26ebbfa9270a82a28f83b68.tar.bz2
* elflink.h (elf_link_add_object_symbols): Copy NON_GOT_REF flag
to version symbols.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elflink.h6
2 files changed, 9 insertions, 2 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4f981b0..a9c07d1 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -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
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 43a44da..c7fd5ae 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