Lines Matching refs:tosec
1140 const char *fromsec, const char *tosec) in section_mismatch() argument
1152 if (*tosec == '\0') in section_mismatch()
1157 if (check->bad_tosec[0] && match(tosec, check->bad_tosec)) in section_mismatch()
1159 if (check->good_tosec[0] && !match(tosec, check->good_tosec)) in section_mismatch()
1230 const char *tosec, const char *tosym) in secref_whitelist() argument
1233 if (match(tosec, init_data_sections) && in secref_whitelist()
1239 if (strcmp(tosec, ".init.text") == 0 && in secref_whitelist()
1245 if (match(tosec, init_exit_sections) && in secref_whitelist()
1252 match(tosec, init_sections)) in secref_whitelist()
1261 match(tosec, init_sections) && in secref_whitelist()
1453 const char *tosec, const char *tosym, in report_sec_mismatch() argument
1468 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1474 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1487 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1500 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1509 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1524 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1538 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1555 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1571 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1591 const char *tosec; in default_mismatch_handler() local
1603 tosec = sec_name(elf, get_secindex(elf, sym)); in default_mismatch_handler()
1609 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1612 is_function(from), tosec, tosym, in default_mismatch_handler()
1665 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1685 to_pretty_name, tosec, tosym_name, to_pretty_name_p); in report_extable_warnings()
1687 if (!match(tosec, mismatch->bad_tosec) && in report_extable_warnings()
1697 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1705 const char* tosec = sec_name(elf, get_secindex(elf, sym)); in extable_mismatch_handler() local
1709 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec); in extable_mismatch_handler()
1711 if (match(tosec, mismatch->bad_tosec)) in extable_mismatch_handler()
1717 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1725 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1732 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1739 const char *tosec = sec_name(elf, get_secindex(elf, sym)); in check_section_mismatch() local
1740 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()