Lines Matching refs:tosec
1129 const char *fromsec, const char *tosec) in section_mismatch() argument
1141 if (*tosec == '\0') in section_mismatch()
1146 if (check->bad_tosec[0] && match(tosec, check->bad_tosec)) in section_mismatch()
1148 if (check->good_tosec[0] && !match(tosec, check->good_tosec)) in section_mismatch()
1219 const char *tosec, const char *tosym) in secref_whitelist() argument
1222 if (match(tosec, init_data_sections) && in secref_whitelist()
1228 if (strcmp(tosec, ".init.text") == 0 && in secref_whitelist()
1234 if (match(tosec, init_exit_sections) && in secref_whitelist()
1241 match(tosec, init_sections)) in secref_whitelist()
1250 match(tosec, init_sections) && in secref_whitelist()
1442 const char *tosec, const char *tosym, in report_sec_mismatch() argument
1457 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1463 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1476 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1489 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1498 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1513 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1527 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1544 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1560 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1580 const char *tosec; in default_mismatch_handler() local
1592 tosec = sec_name(elf, get_secindex(elf, sym)); in default_mismatch_handler()
1598 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1601 is_function(from), tosec, tosym, in default_mismatch_handler()
1654 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1674 to_pretty_name, tosec, tosym_name, to_pretty_name_p); in report_extable_warnings()
1676 if (!match(tosec, mismatch->bad_tosec) && in report_extable_warnings()
1686 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1694 const char* tosec = sec_name(elf, get_secindex(elf, sym)); in extable_mismatch_handler() local
1698 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec); in extable_mismatch_handler()
1700 if (match(tosec, mismatch->bad_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()
1728 const char *tosec = sec_name(elf, get_secindex(elf, sym)); in check_section_mismatch() local
1729 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()