Lines Matching defs:section

38 struct section {
40 struct section *link;
46 static struct section *secs;
64 * as absolute (typically defined outside any section in the linker script.)
99 * as absolute (typically defined outside any section in the linker script.)
288 struct section *sec = &secs[i];
413 die("Bad section header entry\n");
423 die("Cannot read initial ELF section header: %s\n", strerror(errno));
441 secs = calloc(shnum, sizeof(struct section));
443 die("Unable to allocate %ld section headers\n",
451 struct section *sec = &secs[i];
453 die("Cannot read ELF section headers %d/%ld: %s\n",
475 struct section *sec = &secs[i];
501 struct section *sec = &secs[i];
562 struct section *sec = &secs[i];
605 struct section *sec = &secs[i];
643 struct section *sec = &secs[i];
644 struct section *sec_applies, *sec_symtab;
657 * Do not perform relocations in .notes section; any
683 * some symbols which should have been section
729 static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel,
737 struct section *sec_applies, *sec_symtab;
739 struct section *sec = &secs[i];
762 * The .data..percpu section is a special case for x86_64 SMP kernels.
811 * Check to see if a symbol lies in the .data..percpu section.
814 * .data..percpu section so we also need to check the symbol
836 static int do_reloc64(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
847 * Adjust the offset if this reloc applies to the percpu section.
926 static int do_reloc32(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
971 static int do_reloc_real(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
1075 int (*do_reloc)(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
1110 printf(".section \".data.reloc\",\"a\"\n");
1153 * different orders we use the section names in the output.
1155 static int do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
1168 printf("reloc section\treloc type\tsymbol\tsymbol section\n");