Lines Matching defs:tosec
868 const char *fromsec, const char *tosec)
878 if (*tosec == '\0')
885 if (check->bad_tosec[0] && match(tosec, check->bad_tosec))
887 if (check->good_tosec[0] && !match(tosec, check->good_tosec))
903 * tosec = .init.data
910 * tosec = .init.text
933 * tosec = init section
939 const char *tosec, const char *tosym)
942 if (match(tosec, PATTERNS(ALL_INIT_DATA_SECTIONS)) &&
948 if (strcmp(tosec, ".init.text") == 0 &&
955 match(tosec, PATTERNS(ALL_INIT_SECTIONS, ALL_EXIT_SECTIONS)) &&
961 match(tosec, PATTERNS(ALL_INIT_SECTIONS)))
970 match(tosec, PATTERNS(ALL_INIT_SECTIONS)) &&
1012 const char *tosec, Elf_Addr taddr)
1026 if (!secref_whitelist(fromsec, fromsym, tosec, tosym))
1041 fromsec, tosym[0] ? tosym : taddr_str, tosec);
1044 if (match(tosec, mismatch->bad_tosec))
1050 fromsec, (long)faddr, tosec, modname);
1059 fromsec, (long)faddr, tosec, tosec, tosec);
1062 fromsec, (long)faddr, tosec);
1141 const char *tosec = sec_name(elf, get_secindex(elf, sym));
1145 check_export_symbol(mod, elf, faddr, tosec, sym);
1149 mismatch = section_mismatch(fromsec, tosec);
1155 tosec, taddr);