Lines Matching refs:tosec
1132 const char *fromsec, const char *tosec)
1144 if (*tosec == '\0')
1149 if (check->bad_tosec[0] && match(tosec, check->bad_tosec))
1151 if (check->good_tosec[0] && !match(tosec, check->good_tosec))
1168 * tosec = .init.data
1175 * tosec = .init.text
1183 * tosec = init or exit section
1207 * tosec = init section
1222 const char *tosec, const char *tosym)
1225 if (match(tosec, init_data_sections) &&
1231 if (strcmp(tosec, ".init.text") == 0 &&
1237 if (match(tosec, init_exit_sections) &&
1244 match(tosec, init_sections))
1253 match(tosec, init_sections) &&
1450 const char *tosec, const char *tosym,
1465 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec,
1471 prl_to = sec2annotation(tosec);
1484 prl_to = sec2annotation(tosec);
1497 prl_to = sec2annotation(tosec);
1506 prl_to = sec2annotation(tosec);
1521 prl_to = sec2annotation(tosec);
1535 prl_to = sec2annotation(tosec);
1552 prl_to = sec2annotation(tosec);
1568 prl_to = sec2annotation(tosec);
1588 const char *tosec;
1600 tosec = sec_name(elf, get_secindex(elf, sym));
1606 fromsec, fromsym, tosec, tosym)) {
1609 is_function(from), tosec, tosym,
1662 const char* fromsec, const char* tosec)
1682 to_pretty_name, tosec, tosym_name, to_pretty_name_p);
1684 if (!match(tosec, mismatch->bad_tosec) &&
1694 fromsec, (long)r->r_offset, tosec, tosec, tosec);
1702 const char* tosec = sec_name(elf, get_secindex(elf, sym));
1706 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec);
1708 if (match(tosec, mismatch->bad_tosec))
1714 fromsec, (long)r->r_offset, tosec, modname);
1722 fromsec, (long)r->r_offset, tosec);
1729 fromsec, (long)r->r_offset, tosec);
1736 const char *tosec = sec_name(elf, get_secindex(elf, sym));
1737 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec);