* elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set

STT_NOTYPE symbols to STT_OBJECT.
This commit is contained in:
Hans-Peter Nilsson 2002-03-19 20:21:54 +00:00
parent 12b9c64f8d
commit 1da54d81fd
2 changed files with 5 additions and 4 deletions

View File

@ -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"

View File

@ -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)