Home
last modified time | relevance | path

Searched refs:loongarch_howto_table (Results 1 – 3 of 3) sorted by relevance

/netbsd-src/external/gpl3/binutils.old/dist/bfd/
H A Delfxx-loongarch.c62 static loongarch_reloc_howto_type loongarch_howto_table[] = variable
695 BFD_ASSERT (ARRAY_SIZE (loongarch_howto_table) == R_LARCH_count); in loongarch_elf_rtype_to_howto()
697 if (loongarch_howto_table[r_type].howto.type == r_type) in loongarch_elf_rtype_to_howto()
698 return (reloc_howto_type *)&loongarch_howto_table[r_type]; in loongarch_elf_rtype_to_howto()
700 BFD_ASSERT (loongarch_howto_table[r_type].howto.type == r_type); in loongarch_elf_rtype_to_howto()
702 for (size_t i = 0; i < ARRAY_SIZE (loongarch_howto_table); i++) in loongarch_elf_rtype_to_howto()
703 if (loongarch_howto_table[i].howto.type == r_type) in loongarch_elf_rtype_to_howto()
704 return (reloc_howto_type *)&loongarch_howto_table[i]; in loongarch_elf_rtype_to_howto()
716 BFD_ASSERT (ARRAY_SIZE (loongarch_howto_table) == R_LARCH_count); in loongarch_reloc_name_lookup()
718 for (size_t i = 0; i < ARRAY_SIZE (loongarch_howto_table); i++) in loongarch_reloc_name_lookup()
[all …]
/netbsd-src/external/gpl3/binutils/dist/bfd/
H A Delfxx-loongarch.c69 static loongarch_reloc_howto_type loongarch_howto_table[] = variable
1890 BFD_ASSERT (ARRAY_SIZE (loongarch_howto_table) == R_LARCH_count); in loongarch_elf_rtype_to_howto()
1891 BFD_ASSERT (loongarch_howto_table[r_type].howto.type == r_type); in loongarch_elf_rtype_to_howto()
1892 return &loongarch_howto_table[r_type].howto; in loongarch_elf_rtype_to_howto()
1904 for (size_t i = 0; i < ARRAY_SIZE (loongarch_howto_table); i++) in loongarch_reloc_name_lookup()
1905 if (loongarch_howto_table[i].howto.name in loongarch_reloc_name_lookup()
1906 && strcasecmp (loongarch_howto_table[i].howto.name, r_name) == 0) in loongarch_reloc_name_lookup()
1907 return &loongarch_howto_table[i].howto; in loongarch_reloc_name_lookup()
1920 BFD_ASSERT (ARRAY_SIZE (loongarch_howto_table) == R_LARCH_count); in loongarch_reloc_type_lookup()
1928 ht = &loongarch_howto_table[code - BFD_RELOC_LARCH_B16 + R_LARCH_B16]; in loongarch_reloc_type_lookup()
[all …]
/netbsd-src/external/gpl3/binutils/dist/
H A DChangeLog.git5484 So either the loongarch_howto_table needs three more
5486 be testing for r_type < ARRAY_SIZE (loongarch_howto_table). I figure
5489 * elfxx-loongarch.c (loongarch_howto_table): Add