Lines Matching refs:fromsec

1045 	const char *fromsec[20];  member
1052 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
1059 const char *fromsec);
1066 .fromsec = { TEXT_SECTIONS, NULL },
1072 .fromsec = { DATA_SECTIONS, NULL },
1078 .fromsec = { DATA_SECTIONS, NULL },
1087 .fromsec = { TEXT_SECTIONS, NULL },
1093 .fromsec = { DATA_SECTIONS, NULL },
1100 .fromsec = { ALL_XXXINIT_SECTIONS, NULL },
1107 .fromsec = { ALL_XXXEXIT_SECTIONS, NULL },
1114 .fromsec = { ALL_INIT_SECTIONS, NULL },
1121 .fromsec = { ALL_EXIT_SECTIONS, NULL },
1127 .fromsec = { ALL_PCI_INIT_SECTIONS, NULL },
1134 .fromsec = { "__ksymtab*", NULL },
1140 .fromsec = { "__ex_table", NULL },
1152 const char *fromsec, const char *tosec) in section_mismatch() argument
1168 if (match(fromsec, check->fromsec)) { in section_mismatch()
1241 const char *fromsec, const char *fromsym, in secref_whitelist() argument
1246 match(fromsec, data_sections) && in secref_whitelist()
1252 match(fromsec, data_sections) && in secref_whitelist()
1258 match(fromsec, data_sections) && in secref_whitelist()
1263 if (match(fromsec, head_sections) && in secref_whitelist()
1272 if (match(fromsec, text_sections) && in secref_whitelist()
1461 const char *fromsec, in report_sec_mismatch() argument
1480 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1485 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1535 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1549 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1566 prl_from = sec2annotation(fromsec); in report_sec_mismatch()
1601 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in default_mismatch_handler() argument
1609 from = find_elf_symbol2(elf, r->r_offset, fromsec); in default_mismatch_handler()
1621 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1623 fromsec, r->r_offset, fromsym, in default_mismatch_handler()
1677 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1679 Elf_Sym* fromsym = find_elf_symbol2(elf, r->r_offset, fromsec); in report_extable_warnings()
1695 modname, fromsec, (long)r->r_offset, from_pretty_name, in report_extable_warnings()
1709 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1715 const char *fromsec) in extable_mismatch_handler() argument
1721 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec); in extable_mismatch_handler()
1729 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1737 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1744 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1749 Elf_Rela *r, Elf_Sym *sym, const char *fromsec) in check_section_mismatch() argument
1752 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()
1757 r, sym, fromsec); in check_section_mismatch()
1760 r, sym, fromsec); in check_section_mismatch()
1867 const char *fromsec; in section_rela() local
1872 fromsec = sech_name(elf, sechdr); in section_rela()
1873 fromsec += strlen(".rela"); in section_rela()
1875 if (match(fromsec, section_white_list)) in section_rela()
1900 if (is_second_extable_reloc(start, rela, fromsec)) in section_rela()
1901 find_extable_entry_size(fromsec, &r); in section_rela()
1902 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rela()
1913 const char *fromsec; in section_rel() local
1918 fromsec = sech_name(elf, sechdr); in section_rel()
1919 fromsec += strlen(".rel"); in section_rel()
1921 if (match(fromsec, section_white_list)) in section_rel()
1960 if (is_second_extable_reloc(start, rel, fromsec)) in section_rel()
1961 find_extable_entry_size(fromsec, &r); in section_rel()
1962 check_section_mismatch(modname, elf, &r, sym, fromsec); in section_rel()