Lines Matching refs:fromsec

816  * @fromsec: Array of sections to be matched.
818 * @bad_tosec: Relocations applied to a section in @fromsec to a section in
821 * @good_tosec: Relocations applied to a section in @fromsec must be
827 const char *fromsec[20];
838 .fromsec = { TEXT_SECTIONS, DATA_SECTIONS, NULL },
844 .fromsec = { ALL_XXXINIT_SECTIONS, NULL },
850 .fromsec = { ALL_INIT_SECTIONS, NULL },
856 .fromsec = { ALL_EXIT_SECTIONS, NULL },
861 .fromsec = { ALL_PCI_INIT_SECTIONS, NULL },
866 .fromsec = { "__ex_table", NULL },
877 const char *fromsec, const char *tosec)
893 if (match(fromsec, check->fromsec)) {
913 * fromsec = .data*
920 * fromsec = .data*
943 * fromsec = text section
947 static int secref_whitelist(const char *fromsec, const char *fromsym,
952 match(fromsec, PATTERNS(DATA_SECTIONS)) &&
958 match(fromsec, PATTERNS(DATA_SECTIONS)) &&
963 if (match(fromsec, PATTERNS(DATA_SECTIONS)) &&
974 match(fromsec, PATTERNS(DATA_SECTIONS)) &&
980 if (strstarts(fromsec, ".head.text") &&
989 if (match(fromsec, PATTERNS(ALL_TEXT_SECTIONS)) &&
1031 unsigned int fsecndx, const char *fromsec, Elf_Addr faddr,
1045 if (!secref_whitelist(fromsec, fromsym, tosec, tosym))
1053 fromsec, tosym, tosec);
1062 fromsec, (long)faddr, tosec, modname);
1071 fromsec, (long)faddr, tosec, tosec, tosec);
1074 fromsec, (long)faddr, tosec);
1150 unsigned int fsecndx, const char *fromsec,
1161 mismatch = section_mismatch(fromsec, tosec);
1166 fsecndx, fromsec, faddr,
1378 unsigned int fsecndx, const char *fromsec,
1396 if (!strcmp("__ex_table", fromsec) &&
1403 if (!strcmp("__ex_table", fromsec))
1415 fsecndx, fromsec, r_offset, taddr);
1420 unsigned int fsecndx, const char *fromsec,
1452 fsecndx, fromsec, r_offset, taddr);