mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-03-07 13:39:43 +08:00
Add a few elf_backend_data target ids
aarch64, am33, csky, ia64-vms, kvx, and sparc64 all use more than the base GENERIC_ELF_DATA, but don't set ELF_TARGET_ID. Fix that. These are all targets that use other than GENERIC_ELF_DATA in their object and hash table ids. * elf32-am33lin.c, * elf32-csky.c, * elf64-ia64-vms.c, * elf64-sparc.c, * elfnn-aarch64.c, * elfnn-kvx.c (ELF_TARGET_ID): Define.
This commit is contained in:
parent
c672efba42
commit
a9baa81f50
@ -28,6 +28,7 @@
|
||||
#define TARGET_LITTLE_SYM am33_elf32_linux_vec
|
||||
#define TARGET_LITTLE_NAME "elf32-am33lin"
|
||||
#define ELF_ARCH bfd_arch_mn10300
|
||||
#define ELF_TARGET_ID MN10300_ELF_DATA
|
||||
#define ELF_MACHINE_CODE EM_MN10300
|
||||
#define ELF_MACHINE_ALT1 EM_CYGNUS_MN10300
|
||||
#define ELF_MAXPAGESIZE 0x1000
|
||||
|
@ -5299,6 +5299,7 @@ elf32_csky_obj_attrs_handle_unknown (bfd *abfd ATTRIBUTE_UNUSED,
|
||||
#define TARGET_LITTLE_SYM csky_elf32_le_vec
|
||||
#define TARGET_LITTLE_NAME "elf32-csky-little"
|
||||
#define ELF_ARCH bfd_arch_csky
|
||||
#define ELF_TARGET_ID CSKY_ELF_DATA
|
||||
#define ELF_MACHINE_CODE EM_CSKY
|
||||
#define ELF_MACHINE_ALT1 EM_CSKY_OLD
|
||||
#define ELF_MAXPAGESIZE 0x1000
|
||||
|
@ -5449,6 +5449,7 @@ static const struct elf_size_info elf64_ia64_vms_size_info = {
|
||||
};
|
||||
|
||||
#define ELF_ARCH bfd_arch_ia64
|
||||
#define ELF_TARGET_ID IA64_ELF_DATA
|
||||
#define ELF_MACHINE_CODE EM_IA_64
|
||||
#define ELF_MAXPAGESIZE 0x10000 /* 64KB */
|
||||
#define ELF_COMMONPAGESIZE 0x200 /* 16KB */
|
||||
|
@ -888,6 +888,7 @@ const struct elf_size_info elf64_sparc_size_info =
|
||||
#define TARGET_BIG_SYM sparc_elf64_vec
|
||||
#define TARGET_BIG_NAME "elf64-sparc"
|
||||
#define ELF_ARCH bfd_arch_sparc
|
||||
#define ELF_TARGET_ID SPARC_ELF_DATA
|
||||
#define ELF_MAXPAGESIZE 0x100000
|
||||
#define ELF_COMMONPAGESIZE 0x2000
|
||||
|
||||
|
@ -10599,6 +10599,7 @@ const struct elf_size_info elfNN_aarch64_size_info =
|
||||
};
|
||||
|
||||
#define ELF_ARCH bfd_arch_aarch64
|
||||
#define ELF_TARGET_ID AARCH64_ELF_DATA
|
||||
#define ELF_MACHINE_CODE EM_AARCH64
|
||||
#define ELF_MAXPAGESIZE 0x10000
|
||||
#define ELF_COMMONPAGESIZE 0x1000
|
||||
|
@ -4676,6 +4676,7 @@ elfNN_kvx_plt_sym_val (bfd_vma i, const asection *plt,
|
||||
}
|
||||
|
||||
#define ELF_ARCH bfd_arch_kvx
|
||||
#define ELF_TARGET_ID KVX_ELF_DATA
|
||||
#define ELF_MACHINE_CODE EM_KVX
|
||||
#define ELF_MAXPAGESIZE 0x10000
|
||||
#define ELF_MINPAGESIZE 0x1000
|
||||
|
Loading…
Reference in New Issue
Block a user