From: Hans-Peter Nilsson Date: Tue, 19 Mar 2002 20:21:54 +0000 (+0000) Subject: * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1da54d81fdf7b7c936fcfa7ecac2a8b982502a9b;p=binutils-gdb.git * elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set STT_NOTYPE symbols to STT_OBJECT. --- diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 01a13ffe637..7570b23c474 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,8 @@ +2002-03-19 Hans-Peter Nilsson + + * 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 * cpu-i386.c (bfd_x86_64_arch): Rename to "i386:x86-64" diff --git a/bfd/elflink.h b/bfd/elflink.h index 90c7f527de6..d84f2a5f08f 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)