Lines Matching refs:fromsec

980 	const char *fromsec[20];  member
987 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
994 const char *fromsec);
1001 .fromsec = { TEXT_SECTIONS, NULL },
1007 .fromsec = { DATA_SECTIONS, NULL },
1013 .fromsec = { DATA_SECTIONS, NULL },
1022 .fromsec = { TEXT_SECTIONS, NULL },
1028 .fromsec = { DATA_SECTIONS, NULL },
1035 .fromsec = { ALL_XXXINIT_SECTIONS, NULL },
1042 .fromsec = { ALL_XXXEXIT_SECTIONS, NULL },
1049 .fromsec = { ALL_INIT_SECTIONS, NULL },
1056 .fromsec = { ALL_EXIT_SECTIONS, NULL },
1062 .fromsec = { ALL_PCI_INIT_SECTIONS, NULL },
1069 .fromsec = { "__ksymtab*", NULL },
1075 .fromsec = { "__ex_table", NULL },
1087 const char *fromsec, const char *tosec) in section_mismatch() argument
1103 if (match(fromsec, check->fromsec)) { in section_mismatch()
1168 const char *fromsec, const char *fromsym, in secref_whitelist() argument
1173 match(fromsec, data_sections) && in secref_whitelist()
1179 match(fromsec, data_sections) && in secref_whitelist()
1185 match(fromsec, data_sections) && in secref_whitelist()
1190 if (match(fromsec, head_sections) && in secref_whitelist()
1199 if (match(fromsec, text_sections) && in secref_whitelist()
1382 const char *fromsec, in report_sec_mismatch() argument
1403 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1408 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1458 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1472 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1489 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1524 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in default_mismatch_handler() argument
1532 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler()
1544 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1546 fromsec, r->r_offset, fromsym, in default_mismatch_handler()
1600 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1602 Elf_Sym* fromsym = find_elf_symbol2(elf, r->r_offset, fromsec); in report_extable_warnings()
1618 modname, fromsec, (long)r->r_offset, from_pretty_name, in report_extable_warnings()
1632 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1638 const char *fromsec) in extable_mismatch_handler() argument
1646 fromsec, tosec); in extable_mismatch_handler()
1654 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1662 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1669 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1674 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in check_section_mismatch() argument
1677 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()
1682 r, sym, fromsec); in check_section_mismatch()
1685 r, sym, fromsec); in check_section_mismatch()
1792 const char *fromsec; in section_rela() local
1797 fromsec = sech_name(elf, sechdr); in section_rela()
1798 fromsec += strlen(".rela"); in section_rela()
1800 if (match(fromsec, section_white_list)) in section_rela()
1825 if (is_second_extable_reloc(start, rela, fromsec)) in section_rela()
1826 find_extable_entry_size(fromsec, &r); in section_rela()
1827 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rela()
1838 const char *fromsec; in section_rel() local
1843 fromsec = sech_name(elf, sechdr); in section_rel()
1844 fromsec += strlen(".rel"); in section_rel()
1846 if (match(fromsec, section_white_list)) in section_rel()
1885 if (is_second_extable_reloc(start, rel, fromsec)) in section_rel()
1886 find_extable_entry_size(fromsec, &r); in section_rel()
1887 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rel()