aboutsummaryrefslogtreecommitdiff
path: root/bfd/elflink.h
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/elflink.h
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/elflink.h')
-rw-r--r--bfd/elflink.h4
1 files changed, 0 insertions, 4 deletions
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)