Lines Matching refs:fromsec

972 	const char *fromsec[20];  member
979 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
986 const char *fromsec);
993 .fromsec = { TEXT_SECTIONS, NULL },
999 .fromsec = { DATA_SECTIONS, NULL },
1005 .fromsec = { DATA_SECTIONS, NULL },
1014 .fromsec = { TEXT_SECTIONS, NULL },
1020 .fromsec = { DATA_SECTIONS, NULL },
1027 .fromsec = { ALL_XXXINIT_SECTIONS, NULL },
1034 .fromsec = { ALL_XXXEXIT_SECTIONS, NULL },
1041 .fromsec = { ALL_INIT_SECTIONS, NULL },
1048 .fromsec = { ALL_EXIT_SECTIONS, NULL },
1054 .fromsec = { ALL_PCI_INIT_SECTIONS, NULL },
1061 .fromsec = { "__ksymtab*", NULL },
1067 .fromsec = { "__ex_table", NULL },
1079 const char *fromsec, const char *tosec) in section_mismatch() argument
1095 if (match(fromsec, check->fromsec)) { in section_mismatch()
1160 const char *fromsec, const char *fromsym, in secref_whitelist() argument
1165 match(fromsec, data_sections) && in secref_whitelist()
1171 match(fromsec, data_sections) && in secref_whitelist()
1177 match(fromsec, data_sections) && in secref_whitelist()
1182 if (match(fromsec, head_sections) && in secref_whitelist()
1191 if (match(fromsec, text_sections) && in secref_whitelist()
1374 const char *fromsec, in report_sec_mismatch() argument
1395 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1400 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1450 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1464 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1481 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1516 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in default_mismatch_handler() argument
1524 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler()
1537 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1539 fromsec, r->r_offset, fromsym, in default_mismatch_handler()
1593 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1595 Elf_Sym* fromsym = find_elf_symbol2(elf, r->r_offset, fromsec); in report_extable_warnings()
1611 modname, fromsec, (long)r->r_offset, from_pretty_name, in report_extable_warnings()
1625 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1631 const char *fromsec) in extable_mismatch_handler() argument
1639 fromsec, tosec); in extable_mismatch_handler()
1647 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1655 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1662 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1667 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in check_section_mismatch() argument
1670 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()
1675 r, sym, fromsec); in check_section_mismatch()
1678 r, sym, fromsec); in check_section_mismatch()
1785 const char *fromsec; in section_rela() local
1790 fromsec = sech_name(elf, sechdr); in section_rela()
1791 fromsec += strlen(".rela"); in section_rela()
1793 if (match(fromsec, section_white_list)) in section_rela()
1818 if (is_second_extable_reloc(start, rela, fromsec)) in section_rela()
1819 find_extable_entry_size(fromsec, &r); in section_rela()
1820 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rela()
1831 const char *fromsec; in section_rel() local
1836 fromsec = sech_name(elf, sechdr); in section_rel()
1837 fromsec += strlen(".rel"); in section_rel()
1839 if (match(fromsec, section_white_list)) in section_rel()
1878 if (is_second_extable_reloc(start, rel, fromsec)) in section_rel()
1879 find_extable_entry_size(fromsec, &r); in section_rel()
1880 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rel()