OLD | NEW |
1 /* TILE-Gx-specific support for 64-bit ELF. | 1 /* TILE-Gx-specific support for 64-bit ELF. |
2 Copyright 2011 Free Software Foundation, Inc. | 2 Copyright 2011 Free Software Foundation, Inc. |
3 | 3 |
4 This file is part of BFD, the Binary File Descriptor library. | 4 This file is part of BFD, the Binary File Descriptor library. |
5 | 5 |
6 This program is free software; you can redistribute it and/or modify | 6 This program is free software; you can redistribute it and/or modify |
7 it under the terms of the GNU General Public License as published by | 7 it under the terms of the GNU General Public License as published by |
8 the Free Software Foundation; either version 3 of the License, or | 8 the Free Software Foundation; either version 3 of the License, or |
9 (at your option) any later version. | 9 (at your option) any later version. |
10 | 10 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 return TRUE; | 80 return TRUE; |
81 } | 81 } |
82 | 82 |
83 | 83 |
84 #define ELF_ARCH bfd_arch_tilegx | 84 #define ELF_ARCH bfd_arch_tilegx |
85 #define ELF_TARGET_ID TILEGX_ELF_DATA | 85 #define ELF_TARGET_ID TILEGX_ELF_DATA |
86 #define ELF_MACHINE_CODE EM_TILEGX | 86 #define ELF_MACHINE_CODE EM_TILEGX |
87 #define ELF_MAXPAGESIZE 0x10000 | 87 #define ELF_MAXPAGESIZE 0x10000 |
88 #define ELF_COMMONPAGESIZE 0x10000 | 88 #define ELF_COMMONPAGESIZE 0x10000 |
89 | 89 |
90 #define TARGET_LITTLE_SYM bfd_elf64_tilegx_vec | 90 |
91 #define TARGET_LITTLE_NAME» "elf64-tilegx" | 91 #define TARGET_BIG_SYM bfd_elf64_tilegx_be_vec |
| 92 #define TARGET_BIG_NAME "elf64-tilegx-be" |
| 93 #define TARGET_LITTLE_SYM bfd_elf64_tilegx_le_vec |
| 94 #define TARGET_LITTLE_NAME "elf64-tilegx-le" |
92 | 95 |
93 #define elf_backend_reloc_type_class tilegx_reloc_type_class | 96 #define elf_backend_reloc_type_class tilegx_reloc_type_class |
94 | 97 |
95 #define bfd_elf64_bfd_reloc_name_lookup tilegx_reloc_name_lookup | 98 #define bfd_elf64_bfd_reloc_name_lookup tilegx_reloc_name_lookup |
96 #define bfd_elf64_bfd_link_hash_table_create tilegx_elf_link_hash_table_create | 99 #define bfd_elf64_bfd_link_hash_table_create tilegx_elf_link_hash_table_create |
97 #define bfd_elf64_bfd_reloc_type_lookup tilegx_reloc_type_lookup | 100 #define bfd_elf64_bfd_reloc_type_lookup tilegx_reloc_type_lookup |
98 #define bfd_elf64_bfd_merge_private_bfd_data \ | 101 #define bfd_elf64_bfd_merge_private_bfd_data \ |
99 _bfd_tilegx_elf_merge_private_bfd_data | 102 _bfd_tilegx_elf_merge_private_bfd_data |
100 | 103 |
101 #define elf_backend_copy_indirect_symbol tilegx_elf_copy_indirect_symbol | 104 #define elf_backend_copy_indirect_symbol tilegx_elf_copy_indirect_symbol |
(...skipping 21 matching lines...) Expand all Loading... |
123 #define elf_backend_want_got_plt 1 | 126 #define elf_backend_want_got_plt 1 |
124 #define elf_backend_plt_readonly 1 | 127 #define elf_backend_plt_readonly 1 |
125 /* Align PLT mod 64 byte L2 line size. */ | 128 /* Align PLT mod 64 byte L2 line size. */ |
126 #define elf_backend_plt_alignment 6 | 129 #define elf_backend_plt_alignment 6 |
127 #define elf_backend_want_plt_sym 1 | 130 #define elf_backend_want_plt_sym 1 |
128 #define elf_backend_got_header_size 8 | 131 #define elf_backend_got_header_size 8 |
129 #define elf_backend_rela_normal 1 | 132 #define elf_backend_rela_normal 1 |
130 #define elf_backend_default_execstack 0 | 133 #define elf_backend_default_execstack 0 |
131 | 134 |
132 #include "elf64-target.h" | 135 #include "elf64-target.h" |
OLD | NEW |