Lines Matching refs:tosec
1075 const char *fromsec, const char *tosec) in section_mismatch() argument
1087 if (*tosec == '\0') in section_mismatch()
1092 if (check->bad_tosec[0] && match(tosec, check->bad_tosec)) in section_mismatch()
1094 if (check->good_tosec[0] && !match(tosec, check->good_tosec)) in section_mismatch()
1157 const char *tosec, const char *tosym) in secref_whitelist() argument
1160 if (match(tosec, init_data_sections) && in secref_whitelist()
1166 if (strcmp(tosec, ".init.text") == 0 && in secref_whitelist()
1172 if (match(tosec, init_exit_sections) && in secref_whitelist()
1179 match(tosec, init_sections)) in secref_whitelist()
1188 match(tosec, init_sections) && in secref_whitelist()
1374 const char *tosec, const char *tosym, in report_sec_mismatch() argument
1391 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1397 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1410 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1423 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1432 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1447 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1461 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1478 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1494 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1514 const char *tosec; in default_mismatch_handler() local
1527 tosec = sec_name(elf, get_secindex(elf, sym)); in default_mismatch_handler()
1533 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1536 is_function(from), tosec, tosym, in default_mismatch_handler()
1589 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1609 to_pretty_name, tosec, tosym_name, to_pretty_name_p); in report_extable_warnings()
1611 if (!match(tosec, mismatch->bad_tosec) && in report_extable_warnings()
1621 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1629 const char* tosec = sec_name(elf, get_secindex(elf, sym)); in extable_mismatch_handler() local
1635 fromsec, tosec); in extable_mismatch_handler()
1637 if (match(tosec, mismatch->bad_tosec)) in extable_mismatch_handler()
1643 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1651 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1658 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1665 const char *tosec = sec_name(elf, get_secindex(elf, sym));; in check_section_mismatch() local
1666 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()