Lines Matching defs:section
38 /* Warn about section mismatch in vmlinux if set to 1 */
441 fatal("section header offset=%lu in file '%s' is bigger than "
464 /* Fix endianness in section headers */
519 /* 32bit section no. table? ("more than 64k sections") */
661 * Parse tag=value strings from .modinfo section
778 * to make section name unique.
814 /* sections that we do not want to do full section mismatch check on */
832 * The cause of this is often a section specified in assembler
843 warn("%s (%s): unexpected non-allocatable section.\n"
846 "section definitions for use in .S files.\n\n",
896 /* data section */
1078 * tosec = init or exit section
1079 * fromsec = data section
1084 * Whitelist all references from .head.text to any init section
1087 * Some symbols belong to init section but still it is ok to reference
1090 * if init section is freed, its ok to reference those symbols.
1091 * For ex. symbols marking the init section boundaries.
1135 * based on section and address.
1198 * Find symbols before or equal addr and after addr - in the section sec.
1233 * Convert a section name to the function/data attribute
1291 * Print a warning about a section mismatch.
1360 "The function %s() references a %s in an exit section.\n"
1361 "Often the %s %s%s has valid usage outside the exit section\n"
1404 "%s%s so it may be used outside an exit section.\n",
1421 "%s%s so it may be used outside an init section.\n",
1475 int section = sechdr->sh_info;
1477 return (void *)elf->hdr + sechdrs[section].sh_offset +
1559 /* if from section (name) is know good then skip it */
1603 /* if from section (name) is know good then skip it */
1656 * to find all references to a section that reference a section that will
1843 buf_printf(b, "__attribute__((section(\".gnu.linkonce.this_module\"))) = {\n");
1897 buf_printf(b, "__attribute__((section(\"__versions\"))) = {\n");
1928 buf_printf(b, "__attribute__((section(\".modinfo\"))) =\n");
2188 warn("modpost: Found %d section mismatch(es).\n"