Lines Matching defs:section

39 struct section {
41 struct section *link;
47 static struct section *secs;
65 * as absolute (typically defined outside any section in the linker script.)
100 * as absolute (typically defined outside any section in the linker script.)
292 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", shnum);
449 struct section *sec = &secs[i];
452 die("Cannot read ELF section headers %d/%ld: %s\n", i, shnum, strerror(errno));
475 struct section *sec = &secs[i];
497 struct section *sec = &secs[i];
551 struct section *sec = &secs[i];
593 struct section *sec = &secs[i];
634 struct section *sec = &secs[i];
635 struct section *sec_applies, *sec_symtab;
649 * Do not perform relocations in .notes section; any
677 * some symbols which should have been section
721 static void walk_relocs(int (*process)(struct section *sec, Elf_Rel *rel,
730 struct section *sec_applies, *sec_symtab;
732 struct section *sec = &secs[i];
764 * The .data..percpu section is a special case for x86_64 SMP kernels.
816 * Check to see if a symbol lies in the .data..percpu section.
819 * .data..percpu section so we also need to check the symbol
841 static int do_reloc64(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
852 * Adjust the offset if this reloc applies to the percpu section.
928 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, const char *symname)
1073 int (*do_reloc)(struct section *sec, Elf_Rel *rel, Elf_Sym *sym, const char *symname);
1107 printf(".section \".data.reloc\",\"a\"\n");
1150 * different orders we use the section names in the output.
1152 static int do_reloc_info(struct section *sec, Elf_Rel *rel, ElfW(Sym) *sym,
1166 printf("reloc section\treloc type\tsymbol\tsymbol section\n");