mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 20:49:43 +00:00
* elflink.h (NAME(bfd_elf,record_link_assignment)): Don't set
STT_NOTYPE symbols to STT_OBJECT.
This commit is contained in:
parent
12b9c64f8d
commit
1da54d81fd
@ -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"
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user