Lines Matching refs:fromsec

928 	const char *fromsec[20];  member
939 .fromsec = { TEXT_SECTIONS, NULL },
945 .fromsec = { DATA_SECTIONS, NULL },
951 .fromsec = { DATA_SECTIONS, NULL },
960 .fromsec = { TEXT_SECTIONS, NULL },
966 .fromsec = { DATA_SECTIONS, NULL },
973 .fromsec = { ALL_XXXINIT_SECTIONS, NULL },
980 .fromsec = { MEM_INIT_SECTIONS, NULL },
987 .fromsec = { CPU_INIT_SECTIONS, NULL },
994 .fromsec = { ALL_XXXEXIT_SECTIONS, NULL },
1001 .fromsec = { MEM_EXIT_SECTIONS, NULL },
1008 .fromsec = { CPU_EXIT_SECTIONS, NULL },
1015 .fromsec = { ALL_INIT_SECTIONS, NULL },
1022 .fromsec = { ALL_EXIT_SECTIONS, NULL },
1029 .fromsec = { "__ksymtab*", NULL },
1037 const char *fromsec, const char *tosec) in section_mismatch() argument
1044 if (match(fromsec, check->fromsec) && in section_mismatch()
1097 const char *fromsec, const char *fromsym, in secref_whitelist() argument
1102 match(fromsec, data_sections) && in secref_whitelist()
1108 match(fromsec, data_sections) && in secref_whitelist()
1114 match(fromsec, data_sections) && in secref_whitelist()
1119 if (match(fromsec, head_sections) && in secref_whitelist()
1297 const char *fromsec, in report_sec_mismatch() argument
1326 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1331 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1381 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1395 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1412 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1442 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in check_section_mismatch() argument
1448 mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()
1455 from = find_elf_symbol2(elf, r->r_offset, fromsec); in check_section_mismatch()
1462 fromsec, fromsym, tosec, tosym)) { in check_section_mismatch()
1464 fromsec, r->r_offset, fromsym, in check_section_mismatch()
1552 const char *fromsec; in section_rela() local
1557 fromsec = sech_name(elf, sechdr); in section_rela()
1558 fromsec += strlen(".rela"); in section_rela()
1560 if (match(fromsec, section_white_list)) in section_rela()
1585 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rela()
1596 const char *fromsec; in section_rel() local
1601 fromsec = sech_name(elf, sechdr); in section_rel()
1602 fromsec += strlen(".rel"); in section_rel()
1604 if (match(fromsec, section_white_list)) in section_rel()
1643 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rel()