Lines Matching refs:tosec
979 const char *fromsec, const char *tosec) in section_mismatch() argument
989 if (*tosec == '\0') in section_mismatch()
996 if (check->bad_tosec[0] && match(tosec, check->bad_tosec)) in section_mismatch()
998 if (check->good_tosec[0] && !match(tosec, check->good_tosec)) in section_mismatch()
1059 const char *tosec, const char *tosym) in secref_whitelist() argument
1062 if (match(tosec, init_data_sections) && in secref_whitelist()
1068 if (strcmp(tosec, ".init.text") == 0 && in secref_whitelist()
1075 match(tosec, PATTERNS(ALL_INIT_SECTIONS, ALL_EXIT_SECTIONS)) && in secref_whitelist()
1087 match(tosec, PATTERNS(ALL_XXXINIT_SECTIONS)) && in secref_whitelist()
1098 match(tosec, PATTERNS(EXIT_SECTIONS)) && in secref_whitelist()
1104 match(tosec, init_sections)) in secref_whitelist()
1113 match(tosec, init_sections) && in secref_whitelist()
1255 const char *tosec, const char *tosym) in report_sec_mismatch() argument
1268 modname, fromsym, fromsec, tosym, tosec); in report_sec_mismatch()
1272 modname, tosym, tosec); in report_sec_mismatch()
1284 const char *tosec; in default_mismatch_handler() local
1293 tosec = sec_name(elf, get_secindex(elf, sym)); in default_mismatch_handler()
1299 fromsec, fromsym, tosec, tosym)) { in default_mismatch_handler()
1301 fromsec, fromsym, tosec, tosym); in default_mismatch_handler()
1316 const char* fromsec, const char* tosec) in report_extable_warnings() argument
1336 to_pretty_name, tosec, tosym_name, to_pretty_name_p); in report_extable_warnings()
1338 if (!match(tosec, mismatch->bad_tosec) && in report_extable_warnings()
1348 fromsec, (long)r->r_offset, tosec, tosec, tosec); in report_extable_warnings()
1356 const char* tosec = sec_name(elf, get_secindex(elf, sym)); in extable_mismatch_handler() local
1360 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec); in extable_mismatch_handler()
1362 if (match(tosec, mismatch->bad_tosec)) in extable_mismatch_handler()
1368 fromsec, (long)r->r_offset, tosec, modname); in extable_mismatch_handler()
1371 fromsec, (long)r->r_offset, tosec); in extable_mismatch_handler()
1377 const char *tosec = sec_name(elf, get_secindex(elf, sym)); in check_section_mismatch() local
1378 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec); in check_section_mismatch()