Lines Matching refs:fromsec

1022 	const char *fromsec[20];  member
1029 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
1036 const char *fromsec);
1043 .fromsec = { TEXT_SECTIONS, NULL },
1049 .fromsec = { DATA_SECTIONS, NULL },
1055 .fromsec = { DATA_SECTIONS, NULL },
1064 .fromsec = { TEXT_SECTIONS, NULL },
1070 .fromsec = { DATA_SECTIONS, NULL },
1077 .fromsec = { ALL_XXXINIT_SECTIONS, NULL },
1084 .fromsec = { ALL_XXXEXIT_SECTIONS, NULL },
1091 .fromsec = { ALL_INIT_SECTIONS, NULL },
1098 .fromsec = { ALL_EXIT_SECTIONS, NULL },
1104 .fromsec = { ALL_PCI_INIT_SECTIONS, NULL },
1111 .fromsec = { "__ksymtab*", NULL },
1117 .fromsec = { "__ex_table", NULL },
1129 const char *fromsec, const char *tosec) in section_mismatch() argument
1145 if (match(fromsec, check->fromsec)) { in section_mismatch()
1218 const char *fromsec, const char *fromsym, in secref_whitelist() argument
1223 match(fromsec, data_sections) && in secref_whitelist()
1229 match(fromsec, data_sections) && in secref_whitelist()
1235 match(fromsec, data_sections) && in secref_whitelist()
1240 if (match(fromsec, head_sections) && in secref_whitelist()
1249 if (match(fromsec, text_sections) && in secref_whitelist()
1438 const char *fromsec, in report_sec_mismatch() argument
1457 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1462 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1512 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1526 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1543 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1578 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in default_mismatch_handler() argument
1586 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler()
1598 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1600 fromsec, r->r_offset, fromsym, in default_mismatch_handler()
1654 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1656 Elf_Sym* fromsym = find_elf_symbol2(elf, r->r_offset, fromsec); in report_extable_warnings()
1672 modname, fromsec, (long)r->r_offset, from_pretty_name, in report_extable_warnings()
1686 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1692 const char *fromsec) in extable_mismatch_handler() argument
1698 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec); in extable_mismatch_handler()
1706 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1714 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1721 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1726 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in check_section_mismatch() argument
1729 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()
1734 r, sym, fromsec); in check_section_mismatch()
1737 r, sym, fromsec); in check_section_mismatch()
1840 const char *fromsec; in section_rela() local
1845 fromsec = sech_name(elf, sechdr); in section_rela()
1846 fromsec += strlen(".rela"); in section_rela()
1848 if (match(fromsec, section_white_list)) in section_rela()
1873 if (is_second_extable_reloc(start, rela, fromsec)) in section_rela()
1874 find_extable_entry_size(fromsec, &r); in section_rela()
1875 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rela()
1886 const char *fromsec; in section_rel() local
1891 fromsec = sech_name(elf, sechdr); in section_rel()
1892 fromsec += strlen(".rel"); in section_rel()
1894 if (match(fromsec, section_white_list)) in section_rel()
1933 if (is_second_extable_reloc(start, rel, fromsec)) in section_rel()
1934 find_extable_entry_size(fromsec, &r); in section_rel()
1935 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rel()