mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 04:49:54 +08:00
PR 20059 _bfd_elf_copy_link_hash_symbol_type segfault
PR ld/20059 * elfxx-target.h (bfd_elfNN_bfd_copy_link_hash_symbol_type): Define as _bfd_generic_copy_link_hash_symbol_type when using generic hash table.
This commit is contained in:
@ -1,3 +1,10 @@
|
|||||||
|
2016-05-10 Pip Cet <pipcet@gmail.com>
|
||||||
|
|
||||||
|
PR ld/20059
|
||||||
|
* elfxx-target.h (bfd_elfNN_bfd_copy_link_hash_symbol_type):
|
||||||
|
Define as _bfd_generic_copy_link_hash_symbol_type when using
|
||||||
|
generic hash table.
|
||||||
|
|
||||||
2016-05-09 Nick Clifton <nickc@redhat.com>
|
2016-05-09 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR binutils/20063
|
PR binutils/20063
|
||||||
|
@ -250,6 +250,10 @@
|
|||||||
#ifndef bfd_elfNN_bfd_link_hash_table_create
|
#ifndef bfd_elfNN_bfd_link_hash_table_create
|
||||||
#define bfd_elfNN_bfd_link_hash_table_create _bfd_elf_link_hash_table_create
|
#define bfd_elfNN_bfd_link_hash_table_create _bfd_elf_link_hash_table_create
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef bfd_elfNN_bfd_copy_link_hash_symbol_type
|
||||||
|
#define bfd_elfNN_bfd_copy_link_hash_symbol_type \
|
||||||
|
_bfd_elf_copy_link_hash_symbol_type
|
||||||
|
#endif
|
||||||
#ifndef bfd_elfNN_bfd_link_add_symbols
|
#ifndef bfd_elfNN_bfd_link_add_symbols
|
||||||
#define bfd_elfNN_bfd_link_add_symbols bfd_elf_link_add_symbols
|
#define bfd_elfNN_bfd_link_add_symbols bfd_elf_link_add_symbols
|
||||||
#endif
|
#endif
|
||||||
@ -266,6 +270,10 @@
|
|||||||
#define bfd_elfNN_bfd_link_hash_table_create \
|
#define bfd_elfNN_bfd_link_hash_table_create \
|
||||||
_bfd_generic_link_hash_table_create
|
_bfd_generic_link_hash_table_create
|
||||||
#endif
|
#endif
|
||||||
|
#ifndef bfd_elfNN_bfd_copy_link_hash_symbol_type
|
||||||
|
#define bfd_elfNN_bfd_copy_link_hash_symbol_type \
|
||||||
|
_bfd_generic_copy_link_hash_symbol_type
|
||||||
|
#endif
|
||||||
#ifndef bfd_elfNN_bfd_link_add_symbols
|
#ifndef bfd_elfNN_bfd_link_add_symbols
|
||||||
#define bfd_elfNN_bfd_link_add_symbols _bfd_generic_link_add_symbols
|
#define bfd_elfNN_bfd_link_add_symbols _bfd_generic_link_add_symbols
|
||||||
#endif
|
#endif
|
||||||
@ -278,11 +286,6 @@
|
|||||||
#define bfd_elfNN_bfd_link_just_syms _bfd_elf_link_just_syms
|
#define bfd_elfNN_bfd_link_just_syms _bfd_elf_link_just_syms
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef bfd_elfNN_bfd_copy_link_hash_symbol_type
|
|
||||||
#define bfd_elfNN_bfd_copy_link_hash_symbol_type \
|
|
||||||
_bfd_elf_copy_link_hash_symbol_type
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#ifndef bfd_elfNN_bfd_link_split_section
|
#ifndef bfd_elfNN_bfd_link_split_section
|
||||||
#define bfd_elfNN_bfd_link_split_section _bfd_generic_link_split_section
|
#define bfd_elfNN_bfd_link_split_section _bfd_generic_link_split_section
|
||||||
#endif
|
#endif
|
||||||
|
Reference in New Issue
Block a user