Lines Matching refs:tosec
1001 const char *fromsec, const char *tosec) in section_mismatch() argument
1011 if (*tosec == '\0') in section_mismatch()
1018 if (check->bad_tosec[0] && match(tosec, check->bad_tosec)) in section_mismatch()
1020 if (check->good_tosec[0] && !match(tosec, check->good_tosec)) in section_mismatch()
1090 const char *tosec, const char *tosym) in secref_whitelist() argument
1093 if (match(tosec, init_data_sections) && in secref_whitelist()
1099 if (strcmp(tosec, ".init.text") == 0 && in secref_whitelist()
1105 if (match(tosec, init_exit_sections) && in secref_whitelist()
1112 match(tosec, init_sections)) in secref_whitelist()
1121 match(tosec, init_sections) && in secref_whitelist()
1310 const char *tosec, const char *tosym, in report_sec_mismatch() argument
1325 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec, in report_sec_mismatch()
1331 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1344 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1357 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1366 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1381 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1395 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1412 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1428 prl_to = sec2annotation(tosec); in report_sec_mismatch()
1448 const char *tosec; in default_mismatch_handler() local
1460 tosec = sec_name(elf, get_secindex(elf, sym)); in default_mismatch_handler()
1466 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1469 is_function(from), tosec, tosym, in default_mismatch_handler()
1522 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1542 to_pretty_name, tosec, tosym_name, to_pretty_name_p); in report_extable_warnings()
1544 if (!match(tosec, mismatch->bad_tosec) && in report_extable_warnings()
1554 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1562 const char* tosec = sec_name(elf, get_secindex(elf, sym)); in extable_mismatch_handler() local
1566 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec); in extable_mismatch_handler()
1568 if (match(tosec, mismatch->bad_tosec)) in extable_mismatch_handler()
1574 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1582 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1589 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1596 const char *tosec = sec_name(elf, get_secindex(elf, sym)); in check_section_mismatch() local
1597 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()