Lines Matching refs:fromsec

890 	const char *fromsec[20];  member
896 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
903 const char *fromsec);
910 .fromsec = { TEXT_SECTIONS, NULL },
915 .fromsec = { DATA_SECTIONS, NULL },
920 .fromsec = { DATA_SECTIONS, NULL },
925 .fromsec = { TEXT_SECTIONS, NULL },
930 .fromsec = { DATA_SECTIONS, NULL },
936 .fromsec = { ALL_XXXINIT_SECTIONS, NULL },
942 .fromsec = { ALL_XXXEXIT_SECTIONS, NULL },
948 .fromsec = { ALL_INIT_SECTIONS, NULL },
954 .fromsec = { ALL_EXIT_SECTIONS, NULL },
959 .fromsec = { ALL_PCI_INIT_SECTIONS, NULL },
965 .fromsec = { "___ksymtab*", NULL },
970 .fromsec = { "__ex_table", NULL },
982 const char *fromsec, const char *tosec) in section_mismatch() argument
998 if (match(fromsec, check->fromsec)) { in section_mismatch()
1061 const char *fromsec, const char *fromsym, in secref_whitelist() argument
1066 match(fromsec, data_sections) && in secref_whitelist()
1072 match(fromsec, data_sections) && in secref_whitelist()
1077 if (match(fromsec, PATTERNS(DATA_SECTIONS)) && in secref_whitelist()
1089 if (match(fromsec, PATTERNS(DATA_SECTIONS)) && in secref_whitelist()
1095 if (match(fromsec, head_sections) && in secref_whitelist()
1104 if (match(fromsec, text_sections) && in secref_whitelist()
1241 const char *fromsec, in report_sec_mismatch() argument
1257 modname, fromsym, fromsec, tosym, tosec); in report_sec_mismatch()
1271 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in default_mismatch_handler() argument
1279 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler()
1288 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1290 fromsec, fromsym, tosec, tosym); in default_mismatch_handler()
1342 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1344 Elf_Sym* fromsym = find_elf_symbol2(elf, r->r_offset, fromsec); in report_extable_warnings()
1360 modname, fromsec, (long)r->r_offset, from_pretty_name, in report_extable_warnings()
1374 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1380 const char *fromsec) in extable_mismatch_handler() argument
1386 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec); in extable_mismatch_handler()
1394 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1402 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1409 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1414 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in check_section_mismatch() argument
1417 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()
1422 r, sym, fromsec); in check_section_mismatch()
1425 r, sym, fromsec); in check_section_mismatch()
1533 const char *fromsec; in section_rela() local
1538 fromsec = sec_name(elf, sechdr->sh_info); in section_rela()
1540 if (match(fromsec, section_white_list)) in section_rela()
1563 if (!strcmp("__ex_table", fromsec) && in section_rela()
1572 if (is_second_extable_reloc(start, rela, fromsec)) in section_rela()
1573 find_extable_entry_size(fromsec, &r); in section_rela()
1574 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rela()
1585 const char *fromsec; in section_rel() local
1590 fromsec = sec_name(elf, sechdr->sh_info); in section_rel()
1592 if (match(fromsec, section_white_list)) in section_rel()
1631 if (is_second_extable_reloc(start, rel, fromsec)) in section_rel()
1632 find_extable_entry_size(fromsec, &r); in section_rel()
1633 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rel()