aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2002-03-19 20:21:54 +0000
committerHans-Peter Nilsson <hp@axis.com>2002-03-19 20:21:54 +0000
commit1da54d81fdf7b7c936fcfa7ecac2a8b982502a9b (patch)
tree0bd645882c27886ceb646dac953899a78ad9714f /bfd
parent12b9c64f8d77af4c1d938e2a3e278b9ee41ca19f (diff)
downloadgdb-1da54d81fdf7b7c936fcfa7ecac2a8b982502a9b.zip
gdb-1da54d81fdf7b7c936fcfa7ecac2a8b982502a9b.tar.gz
gdb-1da54d81fdf7b7c936fcfa7ecac2a8b982502a9b.tar.bz2
* elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set
STT_NOTYPE symbols to STT_OBJECT.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elflink.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 01a13ff..7570b23 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,3 +1,8 @@
+2002-03-19 Hans-Peter Nilsson <hp@bitrange.com>
+
+ * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set
+ STT_NOTYPE symbols to STT_OBJECT.
+
Mon Mar 18 17:38:03 CET 2002 Jan Hubicka <jh@suse.cz>
* cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64"
diff --git a/bfd/elflink.h b/bfd/elflink.h
index 90c7f52..d84f2a5 100644
--- a/bfd/elflink.h
+++ b/bfd/elflink.h
@@ -2795,10 +2795,6 @@ NAME(bfd_elf,record_link_assignment) (output_bfd, info, name, provide)
h->elf_link_hash_flags |= ELF_LINK_HASH_DEF_REGULAR;
- /* When possible, keep the original type of the symbol. */
- if (h->type == STT_NOTYPE)
- h->type = STT_OBJECT;
-
if (((h->elf_link_hash_flags & (ELF_LINK_HASH_DEF_DYNAMIC
| ELF_LINK_HASH_REF_DYNAMIC)) != 0
|| info->shared)