Lines Matching refs:tosec
1136 const char *fromsec, const char *tosec) in section_mismatch() argument
1148 if (*tosec == '\0') in section_mismatch()
1153 if (check->bad_tosec[0] && match(tosec, check->bad_tosec)) in section_mismatch()
1155 if (check->good_tosec[0] && !match(tosec, check->good_tosec)) in section_mismatch()
1226 const char *tosec, const char *tosym) in secref_whitelist() argument
1229 if (match(tosec, init_data_sections) && in secref_whitelist()
1235 if (strcmp(tosec, ".init.text") == 0 && in secref_whitelist()
1241 if (match(tosec, init_exit_sections) && in secref_whitelist()
1248 match(tosec, init_sections)) in secref_whitelist()
1257 match(tosec, init_sections) && in secref_whitelist()
1450 const char *tosec, const char *tosym, in report_sec_mismatch() argument
1465 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1471 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1484 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1497 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1506 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1521 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1535 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1552 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1568 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1588 const char *tosec; in default_mismatch_handler() local
1600 tosec = sec_name(elf, get_secindex(elf, sym)); in default_mismatch_handler()
1606 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1609 is_function(from), tosec, tosym, in default_mismatch_handler()
1662 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1682 to_pretty_name, tosec, tosym_name, to_pretty_name_p); in report_extable_warnings()
1684 if (!match(tosec, mismatch->bad_tosec) && in report_extable_warnings()
1694 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1702 const char* tosec = sec_name(elf, get_secindex(elf, sym)); in extable_mismatch_handler() local
1706 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec); in extable_mismatch_handler()
1708 if (match(tosec, mismatch->bad_tosec)) in extable_mismatch_handler()
1714 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1722 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1729 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1736 const char *tosec = sec_name(elf, get_secindex(elf, sym)); in check_section_mismatch() local
1737 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()