Lines Matching defs:section
31 struct section {
33 struct section *link;
38 static struct section *secs;
55 * as absolute (typically defined outside any section in the linker script.)
88 * as absolute (typically defined outside any section in the linker script.)
277 struct section *sec = &secs[i];
385 die("Bad section header entry\n");
395 die("Cannot read initial ELF section header: %s\n", strerror(errno));
413 secs = calloc(shnum, sizeof(struct section));
415 die("Unable to allocate %d section headers\n",
423 struct section *sec = &secs[i];
425 die("Cannot read ELF section headers %d/%d: %s\n",
447 struct section *sec = &secs[i];
472 struct section *sec = &secs[i];
505 struct section *sec = &secs[i];
548 struct section *sec = &secs[i];
586 struct section *sec = &secs[i];
587 struct section *sec_applies, *sec_symtab;
618 * some symbols which should have been section
664 static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel,
672 struct section *sec_applies, *sec_symtab;
674 struct section *sec = &secs[i];
697 * The .data..percpu section is a special case for x86_64 SMP kernels.
746 * Check to see if a symbol lies in the .data..percpu section.
749 * .data..percpu section so we also need to check the symbol
769 static int do_reloc64(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
780 * Adjust the offset if this reloc applies to the percpu section.
859 static int do_reloc32(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
904 static int do_reloc_real(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
1008 int (*do_reloc)(struct section *sec, Elf_Rel *rel, Elf_Sym *sym,
1043 printf(".section \".data.reloc\",\"a\"\n");
1086 * different orders we use the section names in the output.
1088 static int do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
1101 printf("reloc section\treloc type\tsymbol\tsymbol section\n");