Lines Matching refs:mismatch

871 /* sections that we do not want to do full section mismatch check on */
991 enum mismatch {
1015 * @mismatch: Type of mismatch.
1028 enum mismatch mismatch;
1031 const struct sectioncheck* const mismatch,
1037 const struct sectioncheck* const mismatch,
1048 .mismatch = TEXT_TO_ANY_INIT,
1054 .mismatch = DATA_TO_ANY_INIT,
1060 .mismatch = DATA_TO_ANY_INIT,
1069 .mismatch = TEXT_TO_ANY_EXIT,
1075 .mismatch = DATA_TO_ANY_EXIT,
1082 .mismatch = XXXINIT_TO_SOME_INIT,
1089 .mismatch = XXXEXIT_TO_SOME_EXIT,
1096 .mismatch = ANY_INIT_TO_ANY_EXIT,
1103 .mismatch = ANY_EXIT_TO_ANY_INIT,
1109 .mismatch = ANY_INIT_TO_ANY_EXIT,
1116 .mismatch = EXPORT_TO_INIT_EXIT,
1126 .mismatch = EXTABLE_TO_NON_TEXT,
1212 * Hide section mismatch warnings for ELF local symbols. The goal
1220 static int secref_whitelist(const struct sectioncheck *mismatch,
1239 match(fromsym, mismatch->symbol_white_list))
1440 * Print a warning about a section mismatch.
1445 const struct sectioncheck *mismatch,
1463 warn("%s(%s+0x%llx): Section mismatch in reference from the %s %s%s "
1468 switch (mismatch->mismatch) {
1492 print_section_list(mismatch->symbol_white_list);
1514 print_section_list(mismatch->symbol_white_list);
1577 fatal("There's a special handler for this mismatch type, "
1585 const struct sectioncheck* const mismatch,
1605 if (secref_whitelist(mismatch,
1607 report_sec_mismatch(modname, mismatch,
1660 const struct sectioncheck* const mismatch,
1678 warn("%s(%s+0x%lx): Section mismatch in reference"
1684 if (!match(tosec, mismatch->bad_tosec) &&
1698 const struct sectioncheck* const mismatch,
1706 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec);
1708 if (match(tosec, mismatch->bad_tosec))
1737 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec);
1739 if (mismatch) {
1740 if (mismatch->handler)
1741 mismatch->handler(modname, elf, mismatch,
1744 default_mismatch_handler(modname, elf, mismatch,