Lines Matching refs:fromsec

968 	const char *fromsec[20];  member
975 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
982 const char *fromsec);
989 .fromsec = { TEXT_SECTIONS, NULL },
995 .fromsec = { DATA_SECTIONS, NULL },
1001 .fromsec = { DATA_SECTIONS, NULL },
1010 .fromsec = { TEXT_SECTIONS, NULL },
1016 .fromsec = { DATA_SECTIONS, NULL },
1023 .fromsec = { ALL_XXXINIT_SECTIONS, NULL },
1030 .fromsec = { ALL_XXXEXIT_SECTIONS, NULL },
1037 .fromsec = { ALL_INIT_SECTIONS, NULL },
1044 .fromsec = { ALL_EXIT_SECTIONS, NULL },
1050 .fromsec = { ALL_PCI_INIT_SECTIONS, NULL },
1057 .fromsec = { "__ksymtab*", NULL },
1063 .fromsec = { "__ex_table", NULL },
1075 const char *fromsec, const char *tosec) in section_mismatch() argument
1091 if (match(fromsec, check->fromsec)) { in section_mismatch()
1156 const char *fromsec, const char *fromsym, in secref_whitelist() argument
1161 match(fromsec, data_sections) && in secref_whitelist()
1167 match(fromsec, data_sections) && in secref_whitelist()
1173 match(fromsec, data_sections) && in secref_whitelist()
1178 if (match(fromsec, head_sections) && in secref_whitelist()
1187 if (match(fromsec, text_sections) && in secref_whitelist()
1370 const char *fromsec, in report_sec_mismatch() argument
1391 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1396 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1446 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1460 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1477 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1512 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in default_mismatch_handler() argument
1520 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler()
1533 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1535 fromsec, r->r_offset, fromsym, in default_mismatch_handler()
1589 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1591 Elf_Sym* fromsym = find_elf_symbol2(elf, r->r_offset, fromsec); in report_extable_warnings()
1607 modname, fromsec, (long)r->r_offset, from_pretty_name, in report_extable_warnings()
1621 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1627 const char *fromsec) in extable_mismatch_handler() argument
1635 fromsec, tosec); in extable_mismatch_handler()
1643 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1651 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1658 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1663 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in check_section_mismatch() argument
1666 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()
1671 r, sym, fromsec); in check_section_mismatch()
1674 r, sym, fromsec); in check_section_mismatch()
1781 const char *fromsec; in section_rela() local
1786 fromsec = sech_name(elf, sechdr); in section_rela()
1787 fromsec += strlen(".rela"); in section_rela()
1789 if (match(fromsec, section_white_list)) in section_rela()
1814 if (is_second_extable_reloc(start, rela, fromsec)) in section_rela()
1815 find_extable_entry_size(fromsec, &r); in section_rela()
1816 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rela()
1827 const char *fromsec; in section_rel() local
1832 fromsec = sech_name(elf, sechdr); in section_rel()
1833 fromsec += strlen(".rel"); in section_rel()
1835 if (match(fromsec, section_white_list)) in section_rel()
1874 if (is_second_extable_reloc(start, rel, fromsec)) in section_rel()
1875 find_extable_entry_size(fromsec, &r); in section_rel()
1876 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rel()