Lines Matching defs:fromsec
1007 * @fromsec: Array of sections to be matched.
1009 * @bad_tosec: Relocations applied to a section in @fromsec to a section in
1012 * @good_tosec: Relocations applied to a section in @fromsec must be
1025 const char *fromsec[20];
1032 Elf_Rela *r, Elf_Sym *sym, const char *fromsec);
1039 const char *fromsec);
1046 .fromsec = { TEXT_SECTIONS, NULL },
1052 .fromsec = { DATA_SECTIONS, NULL },
1058 .fromsec = { DATA_SECTIONS, NULL },
1067 .fromsec = { TEXT_SECTIONS, NULL },
1073 .fromsec = { DATA_SECTIONS, NULL },
1080 .fromsec = { ALL_XXXINIT_SECTIONS, NULL },
1087 .fromsec = { ALL_XXXEXIT_SECTIONS, NULL },
1094 .fromsec = { ALL_INIT_SECTIONS, NULL },
1101 .fromsec = { ALL_EXIT_SECTIONS, NULL },
1107 .fromsec = { ALL_PCI_INIT_SECTIONS, NULL },
1114 .fromsec = { "___ksymtab*", NULL },
1120 .fromsec = { "__ex_table", NULL },
1132 const char *fromsec, const char *tosec)
1148 if (match(fromsec, check->fromsec)) {
1169 * fromsec = .data*
1176 * fromsec = .data*
1184 * fromsec = data section
1208 * fromsec = text section
1221 const char *fromsec, const char *fromsym,
1226 match(fromsec, data_sections) &&
1232 match(fromsec, data_sections) &&
1238 match(fromsec, data_sections) &&
1243 if (match(fromsec, head_sections) &&
1252 if (match(fromsec, text_sections) &&
1446 const char *fromsec,
1465 modname, fromsec, fromaddr, from, fromsym, from_p, to, tosec,
1470 prl_from = sec2annotation(fromsec);
1520 prl_from = sec2annotation(fromsec);
1534 prl_from = sec2annotation(fromsec);
1551 prl_from = sec2annotation(fromsec);
1586 Elf_Rela *r, Elf_Sym *sym, const char *fromsec)
1594 from = find_elf_symbol2(elf, r->r_offset, fromsec);
1606 fromsec, fromsym, tosec, tosym)) {
1608 fromsec, r->r_offset, fromsym,
1662 const char* fromsec, const char* tosec)
1664 Elf_Sym* fromsym = find_elf_symbol2(elf, r->r_offset, fromsec);
1680 modname, fromsec, (long)r->r_offset, from_pretty_name,
1694 fromsec, (long)r->r_offset, tosec, tosec, tosec);
1700 const char *fromsec)
1706 report_extable_warnings(modname, elf, mismatch, r, sym, fromsec, tosec);
1714 fromsec, (long)r->r_offset, tosec, modname);
1722 fromsec, (long)r->r_offset, tosec);
1729 fromsec, (long)r->r_offset, tosec);
1734 Elf_Rela *r, Elf_Sym *sym, const char *fromsec)
1737 const struct sectioncheck *mismatch = section_mismatch(fromsec, tosec);
1742 r, sym, fromsec);
1745 r, sym, fromsec);
1870 const char *fromsec;
1875 fromsec = sech_name(elf, sechdr);
1876 fromsec += strlen(".rela");
1878 if (match(fromsec, section_white_list))
1901 if (!strcmp("__ex_table", fromsec) &&
1910 if (is_second_extable_reloc(start, rela, fromsec))
1911 find_extable_entry_size(fromsec, &r);
1912 check_section_mismatch(modname, elf, &r, sym, fromsec);
1923 const char *fromsec;
1928 fromsec = sech_name(elf, sechdr);
1929 fromsec += strlen(".rel");
1931 if (match(fromsec, section_white_list))
1970 if (is_second_extable_reloc(start, rel, fromsec))
1971 find_extable_entry_size(fromsec, &r);
1972 check_section_mismatch(modname, elf, &r, sym, fromsec);