/netbsd-src/external/gpl3/binutils.old/dist/bfd/ |
H A D | coff-i386.c | 204 static reloc_howto_type howto_table[] = variable 363 #define NUM_HOWTOS (sizeof (howto_table) / sizeof (howto_table[0])) 374 ? howto_table + (dst)->r_type \ 412 && howto_table[reloc.r_type].pc_relative) \ 539 howto = howto_table + rel->r_type; in coff_i386_rtype_to_howto() 645 return howto_table + R_IMAGEBASE; in coff_i386_reloc_type_lookup() 647 return howto_table + R_DIR32; in coff_i386_reloc_type_lookup() 649 return howto_table + R_PCRLONG; in coff_i386_reloc_type_lookup() 651 return howto_table + R_RELWORD; in coff_i386_reloc_type_lookup() 653 return howto_table + R_PCRWORD; in coff_i386_reloc_type_lookup() [all …]
|
H A D | coff-x86_64.c | 238 static reloc_howto_type howto_table[] = variable 499 #define NUM_HOWTOS ARRAY_SIZE (howto_table) 510 ? howto_table + (dst)->r_type \ 550 && howto_table[reloc.r_type].pc_relative) \ 674 howto = howto_table + rel->r_type; in coff_amd64_rtype_to_howto() 778 return howto_table + R_AMD64_IMAGEBASE; in coff_amd64_reloc_type_lookup() 780 return howto_table + R_AMD64_DIR32; in coff_amd64_reloc_type_lookup() 782 return howto_table + R_AMD64_DIR64; in coff_amd64_reloc_type_lookup() 785 return howto_table + R_AMD64_PCRQUAD; in coff_amd64_reloc_type_lookup() 790 return howto_table + R_AMD64_PCRLONG; in coff_amd64_reloc_type_lookup() [all …]
|
H A D | aout-ns32k.c | 80 reloc_howto_type MY (howto_table)[] = variable 137 #define CTOR_TABLE_RELOC_HOWTO(BFD) (MY (howto_table) + 14) 165 return (MY (howto_table) + r_length + 3 * (*r_pcrel) + 6 * r_ns32k_type); in MY() 186 r_ns32k_type = (howto - MY (howto_table) )/6; in MY() 214 #define ENTRY(i,j) case i: return &MY (howto_table)[j] in MY() 261 i < sizeof (MY (howto_table)) / sizeof (MY (howto_table)[0]); in MY() 263 if (MY (howto_table)[i].name != NULL in MY() 264 && strcasecmp (MY (howto_table)[i].name, r_name) == 0) in MY() 265 return &MY (howto_table)[i]; in MY() 345 int r_ns32k_type = (howto - MY (howto_table)) / 6; in _bfd_ns32k_relocate_contents()
|
H A D | coff-z80.c | 41 static bfd_howto_type howto_table[] = variable 241 #define NUM_HOWTOS ARRAY_SIZE (howto_table) 263 if (howto_table[i].howto.type == dst->r_type) in rtype2howto() 265 internal->howto = &howto_table[i].howto; in rtype2howto() 280 if (howto_table[i].r_type == code) in coff_z80_reloc_type_lookup() 281 return &howto_table[i].howto; in coff_z80_reloc_type_lookup() 293 if (strcasecmp(howto_table[i].howto.name, r_name) == 0) in coff_z80_reloc_name_lookup() 294 return &howto_table[i].howto; in coff_z80_reloc_name_lookup()
|
H A D | coff-ia64.c | 35 static reloc_howto_type howto_table[] = variable 50 (cache_ptr)->howto = howto_table;
|
H A D | elf32-vax.c | 54 static reloc_howto_type howto_table[] = { variable 294 cache_ptr->howto = &howto_table[r_type]; in rtype_to_howto() 330 return &howto_table[reloc_map[i].elf_val]; in reloc_type_lookup() 341 for (i = 0; i < sizeof (howto_table) / sizeof (howto_table[0]); i++) in reloc_name_lookup() 342 if (howto_table[i].name != NULL in reloc_name_lookup() 343 && strcasecmp (howto_table[i].name, r_name) == 0) in reloc_name_lookup() 344 return &howto_table[i]; in reloc_name_lookup() 1278 howto = howto_table + r_type; in elf_vax_relocate_section()
|
H A D | elfxx-riscv.c | 44 static reloc_howto_type howto_table[] = variable 946 return &howto_table[(int) riscv_reloc_map[i].elf_val]; in riscv_reloc_type_lookup() 957 for (i = 0; i < ARRAY_SIZE (howto_table); i++) in riscv_reloc_name_lookup() 958 if (howto_table[i].name && strcasecmp (howto_table[i].name, r_name) == 0) in riscv_reloc_name_lookup() 959 return &howto_table[i]; in riscv_reloc_name_lookup() 967 if (r_type >= ARRAY_SIZE (howto_table)) in riscv_elf_rtype_to_howto() 974 return &howto_table[r_type]; in riscv_elf_rtype_to_howto()
|
H A D | elf32-m68k.c | 34 static reloc_howto_type howto_table[] = variable 359 cache_ptr->howto = &howto_table[indx]; in rtype_to_howto() 423 return &howto_table[reloc_map[i].elf_val]; in reloc_type_lookup() 433 for (i = 0; i < sizeof (howto_table) / sizeof (howto_table[0]); i++) in reloc_name_lookup() 434 if (howto_table[i].name != NULL in reloc_name_lookup() 435 && strcasecmp (howto_table[i].name, r_name) == 0) in reloc_name_lookup() 436 return &howto_table[i]; in reloc_name_lookup() 3485 howto = howto_table + r_type; in elf_m68k_relocate_section()
|
H A D | elf32-mips.c | 2091 reloc_howto_type *howto_table = elf_mips_howto_table_rel; in bfd_elf32_bfd_reloc_type_lookup() local 2099 return &howto_table[(int) mips_reloc_map[i].elf_val]; in bfd_elf32_bfd_reloc_type_lookup() 2130 return &howto_table[(int) R_MIPS_32]; in bfd_elf32_bfd_reloc_type_lookup()
|
H A D | elfn32-mips.c | 3642 reloc_howto_type *howto_table = elf_mips_howto_table_rela; in bfd_elf32_bfd_reloc_type_lookup() local 3650 return &howto_table[(int) mips_reloc_map[i].elf_val]; in bfd_elf32_bfd_reloc_type_lookup()
|
H A D | aoutx.h | 334 reloc_howto_type *howto_table; in NAME() local 338 howto_table = howto_table_ext; in NAME() 343 howto_table = howto_table_std; in NAME() 348 if (howto_table[i].name != NULL in NAME() 349 && strcasecmp (howto_table[i].name, r_name) == 0) in NAME() 350 return &howto_table[i]; in NAME()
|
H A D | elf64-mips.c | 3811 reloc_howto_type *howto_table = mips_elf64_howto_table_rela; in bfd_elf64_bfd_reloc_type_lookup() local 3819 return &howto_table[(int) mips_reloc_map[i].elf_val]; in bfd_elf64_bfd_reloc_type_lookup()
|
H A D | ChangeLog | 128 (howto_table): Add R_SECTION. 133 (howto_table): Add R_SECTION. 1853 * elfxx-riscv.c (howto_table): Likewise.
|
/netbsd-src/external/gpl3/binutils/dist/bfd/ |
H A D | coff-i386.c | 204 static reloc_howto_type howto_table[] = variable 363 #define NUM_HOWTOS (sizeof (howto_table) / sizeof (howto_table[0])) 374 ? howto_table + (dst)->r_type \ 413 && howto_table[reloc.r_type].pc_relative) \ 540 howto = howto_table + rel->r_type; in coff_i386_rtype_to_howto() 646 return howto_table + R_IMAGEBASE; in coff_i386_reloc_type_lookup() 648 return howto_table + R_DIR32; in coff_i386_reloc_type_lookup() 650 return howto_table + R_PCRLONG; in coff_i386_reloc_type_lookup() 652 return howto_table + R_RELWORD; in coff_i386_reloc_type_lookup() 654 return howto_table + R_PCRWORD; in coff_i386_reloc_type_lookup() [all …]
|
H A D | coff-x86_64.c | 237 static reloc_howto_type howto_table[] = variable 498 #define NUM_HOWTOS ARRAY_SIZE (howto_table) 509 ? howto_table + (dst)->r_type \ 550 && howto_table[reloc.r_type].pc_relative) \ 688 howto = howto_table + rel->r_type; in coff_amd64_rtype_to_howto() 813 return howto_table + R_AMD64_IMAGEBASE; in coff_amd64_reloc_type_lookup() 815 return howto_table + R_AMD64_DIR32; in coff_amd64_reloc_type_lookup() 817 return howto_table + R_AMD64_DIR64; in coff_amd64_reloc_type_lookup() 820 return howto_table + R_AMD64_PCRQUAD; in coff_amd64_reloc_type_lookup() 825 return howto_table + R_AMD64_PCRLONG; in coff_amd64_reloc_type_lookup() [all …]
|
H A D | aout-ns32k.c | 80 reloc_howto_type MY (howto_table)[] = variable 137 #define CTOR_TABLE_RELOC_HOWTO(BFD) (MY (howto_table) + 14) 165 return (MY (howto_table) + r_length + 3 * (*r_pcrel) + 6 * r_ns32k_type); in MY() 186 r_ns32k_type = (howto - MY (howto_table) )/6; in MY() 214 #define ENTRY(i,j) case i: return &MY (howto_table)[j] in MY() 261 i < sizeof (MY (howto_table)) / sizeof (MY (howto_table)[0]); in MY() 263 if (MY (howto_table)[i].name != NULL in MY() 264 && strcasecmp (MY (howto_table)[i].name, r_name) == 0) in MY() 265 return &MY (howto_table)[i]; in MY() 345 int r_ns32k_type = (howto - MY (howto_table)) / 6; in _bfd_ns32k_relocate_contents()
|
H A D | coff-z80.c | 41 static bfd_howto_type howto_table[] = variable 241 #define NUM_HOWTOS ARRAY_SIZE (howto_table) 263 if (howto_table[i].howto.type == dst->r_type) in rtype2howto() 265 internal->howto = &howto_table[i].howto; in rtype2howto() 280 if (howto_table[i].r_type == code) in coff_z80_reloc_type_lookup() 281 return &howto_table[i].howto; in coff_z80_reloc_type_lookup() 293 if (strcasecmp(howto_table[i].howto.name, r_name) == 0) in coff_z80_reloc_name_lookup() 294 return &howto_table[i].howto; in coff_z80_reloc_name_lookup()
|
H A D | coff-ia64.c | 35 static reloc_howto_type howto_table[] = variable 50 (cache_ptr)->howto = howto_table;
|
H A D | elf32-vax.c | 54 static reloc_howto_type howto_table[] = { variable 294 cache_ptr->howto = &howto_table[r_type]; in rtype_to_howto() 330 return &howto_table[reloc_map[i].elf_val]; in reloc_type_lookup() 341 for (i = 0; i < sizeof (howto_table) / sizeof (howto_table[0]); i++) in reloc_name_lookup() 342 if (howto_table[i].name != NULL in reloc_name_lookup() 343 && strcasecmp (howto_table[i].name, r_name) == 0) in reloc_name_lookup() 344 return &howto_table[i]; in reloc_name_lookup() 1278 howto = howto_table + r_type; in elf_vax_relocate_section()
|
H A D | elfxx-riscv.c | 46 static reloc_howto_type howto_table[] = variable 962 return &howto_table[(int) riscv_reloc_map[i].elf_val]; in riscv_reloc_type_lookup() 973 for (i = 0; i < ARRAY_SIZE (howto_table); i++) in riscv_reloc_name_lookup() 974 if (howto_table[i].name && strcasecmp (howto_table[i].name, r_name) == 0) in riscv_reloc_name_lookup() 975 return &howto_table[i]; in riscv_reloc_name_lookup() 983 if (r_type < ARRAY_SIZE (howto_table)) in riscv_elf_rtype_to_howto() 984 return &howto_table[r_type]; in riscv_elf_rtype_to_howto()
|
H A D | elf32-m68k.c | 34 static reloc_howto_type howto_table[] = variable 359 cache_ptr->howto = &howto_table[indx]; in rtype_to_howto() 423 return &howto_table[reloc_map[i].elf_val]; in reloc_type_lookup() 433 for (i = 0; i < sizeof (howto_table) / sizeof (howto_table[0]); i++) in reloc_name_lookup() 434 if (howto_table[i].name != NULL in reloc_name_lookup() 435 && strcasecmp (howto_table[i].name, r_name) == 0) in reloc_name_lookup() 436 return &howto_table[i]; in reloc_name_lookup() 3485 howto = howto_table + r_type; in elf_m68k_relocate_section()
|
H A D | elf32-mips.c | 2103 reloc_howto_type *howto_table = elf_mips_howto_table_rel; in bfd_elf32_bfd_reloc_type_lookup() local 2111 return &howto_table[(int) mips_reloc_map[i].elf_val]; in bfd_elf32_bfd_reloc_type_lookup() 2142 return &howto_table[(int) R_MIPS_32]; in bfd_elf32_bfd_reloc_type_lookup()
|
H A D | elfn32-mips.c | 3655 reloc_howto_type *howto_table = elf_mips_howto_table_rela; in bfd_elf32_bfd_reloc_type_lookup() local 3663 return &howto_table[(int) mips_reloc_map[i].elf_val]; in bfd_elf32_bfd_reloc_type_lookup()
|
H A D | aoutx.h | 334 reloc_howto_type *howto_table; in NAME() local 338 howto_table = howto_table_ext; in NAME() 343 howto_table = howto_table_std; in NAME() 348 if (howto_table[i].name != NULL in NAME() 349 && strcasecmp (howto_table[i].name, r_name) == 0) in NAME() 350 return &howto_table[i]; in NAME()
|
H A D | elf64-mips.c | 3820 reloc_howto_type *howto_table = mips_elf64_howto_table_rela; in bfd_elf64_bfd_reloc_type_lookup() local 3828 return &howto_table[(int) mips_reloc_map[i].elf_val]; in bfd_elf64_bfd_reloc_type_lookup()
|