Lines Matching refs:fromsec

1033 	const char *fromsec[20];  member
1040 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
1047 const char *fromsec);
1054 .fromsec = { TEXT_SECTIONS, NULL },
1060 .fromsec = { DATA_SECTIONS, NULL },
1066 .fromsec = { DATA_SECTIONS, NULL },
1075 .fromsec = { TEXT_SECTIONS, NULL },
1081 .fromsec = { DATA_SECTIONS, NULL },
1088 .fromsec = { ALL_XXXINIT_SECTIONS, NULL },
1095 .fromsec = { ALL_XXXEXIT_SECTIONS, NULL },
1102 .fromsec = { ALL_INIT_SECTIONS, NULL },
1109 .fromsec = { ALL_EXIT_SECTIONS, NULL },
1115 .fromsec = { ALL_PCI_INIT_SECTIONS, NULL },
1122 .fromsec = { "__ksymtab*", NULL },
1128 .fromsec = { "__ex_table", NULL },
1140 const char *fromsec, const char *tosec) in section_mismatch() argument
1156 if (match(fromsec, check->fromsec)) { in section_mismatch()
1229 const char *fromsec, const char *fromsym, in secref_whitelist() argument
1234 match(fromsec, data_sections) && in secref_whitelist()
1240 match(fromsec, data_sections) && in secref_whitelist()
1246 match(fromsec, data_sections) && in secref_whitelist()
1251 if (match(fromsec, head_sections) && in secref_whitelist()
1260 if (match(fromsec, text_sections) && in secref_whitelist()
1449 const char *fromsec, in report_sec_mismatch() argument
1468 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1473 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1523 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1537 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1554 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1589 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in default_mismatch_handler() argument
1597 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler()
1609 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1611 fromsec, r->r_offset, fromsym, in default_mismatch_handler()
1665 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1667 Elf_Sym* fromsym = find_elf_symbol2(elf, r->r_offset, fromsec); in report_extable_warnings()
1683 modname, fromsec, (long)r->r_offset, from_pretty_name, in report_extable_warnings()
1697 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1703 const char *fromsec) in extable_mismatch_handler() argument
1709 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec); in extable_mismatch_handler()
1717 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1725 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1732 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1737 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in check_section_mismatch() argument
1740 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()
1745 r, sym, fromsec); in check_section_mismatch()
1748 r, sym, fromsec); in check_section_mismatch()
1851 const char *fromsec; in section_rela() local
1856 fromsec = sech_name(elf, sechdr); in section_rela()
1857 fromsec += strlen(".rela"); in section_rela()
1859 if (match(fromsec, section_white_list)) in section_rela()
1884 if (is_second_extable_reloc(start, rela, fromsec)) in section_rela()
1885 find_extable_entry_size(fromsec, &r); in section_rela()
1886 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rela()
1897 const char *fromsec; in section_rel() local
1902 fromsec = sech_name(elf, sechdr); in section_rel()
1903 fromsec += strlen(".rel"); in section_rel()
1905 if (match(fromsec, section_white_list)) in section_rel()
1944 if (is_second_extable_reloc(start, rel, fromsec)) in section_rel()
1945 find_extable_entry_size(fromsec, &r); in section_rel()
1946 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rel()