Searched refs:elf (Results 1 – 25 of 31) sorted by relevance
12
/arch/ia64/hp/sim/boot/ |
D | bootloader.c | 63 struct elfhdr *elf; in start_bootloader() local 113 elf = (struct elfhdr *) mem; in start_bootloader() 114 if (elf->e_ident[0] == 0x7f && strncmp(elf->e_ident + 1, "ELF", 3) != 0) { in start_bootloader() 118 if (elf->e_type != ET_EXEC) { in start_bootloader() 122 if (!elf_check_arch(elf)) { in start_bootloader() 127 e_entry = elf->e_entry; in start_bootloader() 128 e_phnum = elf->e_phnum; in start_bootloader() 129 e_phoff = elf->e_phoff; in start_bootloader()
|
/arch/alpha/boot/tools/ |
D | objstrip.c | 60 struct elfhdr *elf; in main() local 148 elf = (struct elfhdr *) buf; in main() 150 if (elf->e_ident[0] == 0x7f && strncmp((char *)elf->e_ident + 1, "ELF", 3) == 0) { in main() 151 if (elf->e_type != ET_EXEC) { in main() 156 if (!elf_check_arch(elf)) { in main() 158 prog_name, elf->e_machine); in main() 161 if (elf->e_phnum != 1) { in main() 164 prog_name, elf->e_phnum); in main() 167 e_entry = elf->e_entry; in main() 169 lseek(fd, elf->e_phoff, SEEK_SET); in main()
|
/arch/xtensa/boot/ |
D | Makefile | 24 bootdir-$(CONFIG_XTENSA_PLATFORM_ISS) += boot-elf 25 bootdir-$(CONFIG_XTENSA_PLATFORM_XT2000) += boot-redboot boot-elf boot-uboot 26 bootdir-$(CONFIG_XTENSA_PLATFORM_XTFPGA) += boot-redboot boot-elf boot-uboot 42 boot-elf: vmlinux.bin
|
/arch/x86/realmode/rm/ |
D | Makefile | 50 LDFLAGS_realmode.elf := --emit-relocs -T 53 targets += realmode.elf 54 $(obj)/realmode.elf: $(obj)/realmode.lds $(REALMODE_OBJS) FORCE 60 $(obj)/realmode.bin: $(obj)/realmode.elf $(obj)/realmode.relocs FORCE 67 $(obj)/realmode.relocs: $(obj)/realmode.elf FORCE
|
/arch/powerpc/kernel/ |
D | fadump.c | 534 struct elfhdr *elf; in fadump_update_elfcore_header() local 537 elf = (struct elfhdr *)bufp; in fadump_update_elfcore_header() 770 struct elfhdr *elf; in fadump_init_elfcore_header() local 772 elf = (struct elfhdr *) bufp; in fadump_init_elfcore_header() 774 memcpy(elf->e_ident, ELFMAG, SELFMAG); in fadump_init_elfcore_header() 775 elf->e_ident[EI_CLASS] = ELF_CLASS; in fadump_init_elfcore_header() 776 elf->e_ident[EI_DATA] = ELF_DATA; in fadump_init_elfcore_header() 777 elf->e_ident[EI_VERSION] = EV_CURRENT; in fadump_init_elfcore_header() 778 elf->e_ident[EI_OSABI] = ELF_OSABI; in fadump_init_elfcore_header() 779 memset(elf->e_ident+EI_PAD, 0, EI_NIDENT-EI_PAD); in fadump_init_elfcore_header() [all …]
|
/arch/avr32/ |
D | Makefile | 10 all: uImage vmlinux.elf 46 BOOT_TARGETS := vmlinux.elf vmlinux.bin uImage uImage.srec 53 vmlinux.elf: KBUILD_IMAGE := $(boot)/vmlinux.elf 63 vmlinux.elf vmlinux.bin uImage.srec uImage vmlinux.cso: vmlinux
|
/arch/avr32/boot/images/ |
D | Makefile | 31 OBJCOPYFLAGS_vmlinux.elf := --change-section-lma .text-0x80000000 \ 44 $(obj)/vmlinux.elf: vmlinux FORCE 50 $(obj)/vmlinux.cso: $(obj)/vmlinux.elf FORCE 57 clean-files := vmlinux.elf vmlinux.bin vmlinux.gz uImage uImage.srec
|
/arch/xtensa/boot/boot-redboot/ |
D | Makefile | 28 $(obj)/zImage.elf: $(obj)/zImage.o $(LIBS) 29 $(Q)$(LD) $(LD_ARGS) -o $@ $^ -L/xtensa-elf/lib $(LIBGCC) 31 $(obj)/../zImage.redboot: $(obj)/zImage.elf
|
/arch/xtensa/boot/boot-elf/ |
D | Makefile | 27 $(obj)/../Image.elf: $(obj)/Image.o $(obj)/boot.lds 34 zImage: $(obj)/../Image.elf
|
/arch/x86/boot/ |
D | .gitignore | 9 setup.elf
|
D | Makefile | 29 targets := vmlinux.bin setup.bin setup.elf bzImage 103 LDFLAGS_setup.elf := -T 104 $(obj)/setup.elf: $(src)/setup.ld $(SETUP_OBJS) FORCE 108 $(obj)/setup.bin: $(obj)/setup.elf FORCE
|
/arch/nios2/include/uapi/asm/ |
D | Kbuild | 3 header-y += elf.h
|
/arch/arc/include/uapi/asm/ |
D | Kbuild | 3 header-y += elf.h
|
/arch/tile/mm/ |
D | Makefile | 5 obj-y := init.o pgtable.o fault.o extable.o elf.o \
|
/arch/frv/mm/ |
D | Makefile | 9 mmu-context.o dma-alloc.o elf-fdpic.o
|
/arch/openrisc/include/uapi/asm/ |
D | Kbuild | 5 header-y += elf.h
|
/arch/mips/kernel/ |
D | elf.c | 77 int arch_elf_pt_proc(void *_ehdr, void *_phdr, struct file *elf, in arch_elf_pt_proc() argument 112 ret = kernel_read(elf, phdr32->p_offset, in arch_elf_pt_proc() 121 ret = kernel_read(elf, phdr64->p_offset, in arch_elf_pt_proc()
|
D | Makefile | 7 obj-y += cpu-probe.o branch.o elf.o entry.o genex.o idle.o irq.o \
|
/arch/unicore32/kernel/ |
D | Makefile | 6 obj-y := dma.o elf.o entry.o process.o ptrace.o
|
/arch/microblaze/include/uapi/asm/ |
D | Kbuild | 9 header-y += elf.h
|
/arch/cris/include/uapi/asm/ |
D | Kbuild | 9 header-y += elf.h
|
/arch/powerpc/include/uapi/asm/ |
D | Kbuild | 10 header-y += elf.h
|
/arch/powerpc/boot/ |
D | wrapper | 481 mv "$ofile" "$ofile".elf 482 ${CROSS}objcopy -O binary "$ofile".elf "$ofile"
|
/arch/arm/kernel/ |
D | Makefile | 18 obj-y := elf.o entry-common.o irq.o opcodes.o \
|
/arch/powerpc/ |
D | Makefile | 93 override LD += -m elf$(BITS)$(LDEMULATION) 95 override AR := GNUTARGET=elf$(BITS)-$(GNUTARGET) $(AR)
|
12