Home
last modified time | relevance | path

Searched refs:elf (Results 1 – 25 of 187) sorted by relevance

12345678

/openbmc/openbmc/meta-openembedded/meta-initramfs/recipes-kernel/kexec/kexec-tools-klibc/
H A D0003-kexec-elf-rel-use-our-elf.h.patch4 Subject: [PATCH] kexec-elf-rel: use our elf.h
8 kexec-elf-rel.c: In function 'elf_rel_load':
9 kexec-elf-rel.c:386:39: error: 'STT_NOTYPE' undeclared
17 kexec/arch/arm/kexec-elf-rel-arm.c | 2 +-
18 kexec/arch/i386/kexec-elf-rel-x86.c | 2 +-
19 kexec/arch/ppc/kexec-elf-rel-ppc.c | 2 +-
20 kexec/arch/ppc64/kexec-elf-rel-ppc64.c | 2 +-
21 kexec/arch/x86_64/kexec-elf-rel-x86_64.c | 2 +-
22 kexec/kexec-elf-rel.c | 2 +-
25 diff --git a/kexec/arch/arm/kexec-elf-rel-arm.c b/kexec/arch/arm/kexec-elf-rel-arm.c
[all …]
H A D0004-kexec-elf-exec.c-replace-with-our-err.h.patch4 Subject: [PATCH] kexec-elf-exec.c: replace with our elf.h
8 kexec-elf-exec.c: In function 'elf_exec_load':
15 kexec/kexec-elf-exec.c | 2 +-
18 diff --git a/kexec/kexec-elf-exec.c b/kexec/kexec-elf-exec.c
20 --- a/kexec/kexec-elf-exec.c
21 +++ b/kexec/kexec-elf-exec.c
26 -#include "elf.h"
27 +#include "../include/elf.h"
30 #include "kexec-elf.h"
H A D0005-crashdump-elf.c-work-around-for-sysconf-_SC_NPROCESS.patch4 Subject: [PATCH] crashdump-elf.c: work around for _SC_NPROCESSORS_CONF
15 crashdump-elf.c:117:21: error: '_SC_NPROCESSORS_CONF' undeclared
21 kexec/crashdump-elf.c | 92 +++++++++++++++++++++++++++++++++++++++++++
24 diff --git a/kexec/crashdump-elf.c b/kexec/crashdump-elf.c
26 --- a/kexec/crashdump-elf.c
27 +++ b/kexec/crashdump-elf.c
/openbmc/openbmc/poky/meta/recipes-core/glibc/glibc/
H A D0005-nativesdk-glibc-Raise-the-size-of-arrays-containing-.patch18 elf/dl-cache.c | 4 ++++
19 elf/dl-load.c | 4 ++--
20 elf/dl-usage.c | 6 ++++--
21 elf/interp.c | 2 +-
22 elf/ldconfig.c | 2 ++
23 elf/rtld.c | 1 +
28 diff --git a/elf/dl-cache.c b/elf/dl-cache.c
30 --- a/elf/dl-cache.c
31 +++ b/elf/dl-cache.c
43 diff --git a/elf/dl-load.c b/elf/dl-load.c
[all …]
H A D0004-nativesdk-glibc-Fix-buffer-overrun-with-a-relocated-.patch20 elf/dl-load.c | 12 ++++++++++++
23 diff --git a/elf/dl-load.c b/elf/dl-load.c
25 --- a/elf/dl-load.c
26 +++ b/elf/dl-load.c
/openbmc/qemu/tests/multiboot/
H A Drun_test.sh55 run_qemu mmap.elf
56 run_qemu mmap.elf -m 1.1M
57 run_qemu mmap.elf -m 2G
58 run_qemu mmap.elf -m 4G
59 run_qemu mmap.elf -m 8G
63 run_qemu modules.elf
64 run_qemu modules.elf -initrd module.txt
65 run_qemu modules.elf -initrd "module.txt argument"
66 run_qemu modules.elf -initrd "module.txt argument,,with,,commas"
67 run_qemu modules.elf -initrd "module.txt,module.txt argument,module.txt"
H A DMakefile12 all: mmap.elf modules.elf $(AOUT_KLUDGE_BIN)
14 mmap.elf: start.o mmap.o libc.o link.ld
17 modules.elf: start.o modules.o libc.o link.ld
H A Dmodules.out4 === Running test case: modules.elf ===
9 === Running test case: modules.elf -initrd module.txt ===
16 === Running test case: modules.elf -initrd module.txt argument ===
23 === Running test case: modules.elf -initrd module.txt argument,,with,,commas ===
30 === Running test case: modules.elf -initrd module.txt,module.txt argument,module.txt ===
/openbmc/u-boot/tools/binman/
H A Delf_test.py11 import elf
57 syms = elf.GetSymbols(fname, [])
63 syms = elf.GetSymbols(fname, ['ucode'])
65 syms = elf.GetSymbols(fname, ['missing'])
67 syms = elf.GetSymbols(fname, ['missing', 'ucode'])
75 syms = elf.LookupAndWriteSymbols('missing-file', entry, section)
85 syms = elf.LookupAndWriteSymbols(elf_fname, entry, section)
98 self.assertEqual(elf.LookupAndWriteSymbols(elf_fname, entry, section),
111 syms = elf.LookupAndWriteSymbols(elf_fname, entry, section)
124 syms = elf.LookupAndWriteSymbols(elf_fname, entry, section)
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/sdk/
H A Dcase.py99 import oe.qa, oe.elf
105 machine_data = oe.elf.machine_dict(None)[target_os][target_arch]
108 elf = oe.qa.ELFFile(path)
109 elf.open()
111 self.assertEqual(machine, elf.machine(),
113 … (oe.qa.elf_machine_to_string(elf.machine()), oe.qa.elf_machine_to_string(machine)))
114 self.assertEqual(bits, elf.abiSize())
115 self.assertEqual(endian, elf.isLittleEndian())
/openbmc/qemu/docs/system/
H A Dtarget-avr.rst14 https://github.com/seharris/qemu-avr-tests/blob/master/free-rtos/Demo/AVR_ATMega2560_GCC/demo.elf
17 Following are examples of possible usages, assuming demo.elf is compiled for
22 qemu-system-avr -machine mega2560 -bios demo.elf
26 qemu-system-avr -M mega2560 -bios demo.elf -nographic \
35 qemu-system-avr -machine mega2560 -bios demo.elf -s -S
39 avr-gdb demo.elf
48 qemu-system-avr -machine mega2560 -bios demo.elf -d in_asm
/openbmc/openbmc/poky/meta/recipes-core/picolibc/
H A Dpicolibc-helloworld_git.bb7 QB_DEFAULT_KERNEL ?= "${IMAGE_LINK_NAME}.elf"
27 …NKERSCRIPT} -specs=picolibc.specs --oslib=semihost -o ${BAREMETAL_BINNAME}.elf ${S}/hello-world/he…
28 ${OBJCOPY} -O binary ${BAREMETAL_BINNAME}.elf ${BAREMETAL_BINNAME}.bin
33 … install -m 755 ${B}/${BAREMETAL_BINNAME}.elf ${D}/${base_libdir}/firmware/${BAREMETAL_BINNAME}.elf
38 ${base_libdir}/firmware/${BAREMETAL_BINNAME}.elf \
/openbmc/openbmc/poky/meta/recipes-devtools/e2fsprogs/e2fsprogs/
H A Dremove.ldconfig.call.patch18 lib/Makefile.elf-lib | 3 ---
21 diff --git a/lib/Makefile.elf-lib b/lib/Makefile.elf-lib
23 --- a/lib/Makefile.elf-lib
24 +++ b/lib/Makefile.elf-lib
25 @@ -50,8 +50,6 @@ install-shlibs install:: $(ELF_LIB) installdirs-elf-lib $(DEP_INSTALL_SYMLINK)
/openbmc/openbmc/poky/meta/recipes-kernel/lttng/lttng-tools/
H A D0001-tests-do-not-strip-a-helper-library.patch9 tests/utils/testapp/userspace-probe-elf-binary/Makefile.am | 2 +-
12 …--git a/tests/utils/testapp/userspace-probe-elf-binary/Makefile.am b/tests/utils/testapp/userspace…
14 --- a/tests/utils/testapp/userspace-probe-elf-binary/Makefile.am
15 +++ b/tests/utils/testapp/userspace-probe-elf-binary/Makefile.am
/openbmc/openbmc/poky/meta/recipes-devtools/syslinux/syslinux/
H A D0010-Workaround-multiple-definition-of-symbol-errors.patch27 libmenu/libmenu.elf: $(LIBMENU)
28 - $(LD) -shared $(LDFLAGS) -soname $(patsubst %.elf,%.c32,$(@F)) \
29 + $(LD) -shared $(LDFLAGS) -z muldefs -soname $(patsubst %.elf,%.c32,$(@F)) \
40 ldlinux.elf : $(OBJS)
53 libgpl.elf : $(LIBOBJS)
54 - $(LD) -shared $(LDFLAGS) -soname $(patsubst %.elf,%.c32,$(@F)) -o $@ $^
55 + $(LD) -shared $(LDFLAGS) -z muldefs -soname $(patsubst %.elf,%.c32,$(@F)) -o $@ $^
66 hdt.elf : $(OBJS) $(LIBS) $(C_LIBS)
77 NASM_ELF = elf
79 %.elf: %.o $(LIBDEP) $(LDSCRIPT) $(AUXLIBS)
/openbmc/openbmc/meta-arm/meta-arm-bsp/recipes-bsp/external-system/
H A Dexternal-system_0.1.0.bb42 …product/${PRODUCT}/firmware/release/bin/firmware.elf ${D}${nonarch_base_libdir}/firmware/es_flashf…
46 FILES:${PN}-elf = "${nonarch_base_libdir}/firmware/es_flashfw.elf"
47 PACKAGES += "${PN}-elf"
48 INSANE_SKIP:${PN}-elf += "arch"
/openbmc/qemu/tests/qtest/migration/aarch64/
H A DMakefile11 aarch64.kernel: aarch64.elf
14 aarch64.elf: a-b-kernel.S
18 $(RM) *.kernel *.elf
/openbmc/qemu/tests/qtest/migration/ppc64/
H A DMakefile8 ppc64.kernel: ppc64.elf
11 ppc64.elf: a-b-kernel.S
15 $(RM) *.kernel *.elf
/openbmc/openbmc/meta-arm/meta-arm/recipes-bsp/scp-firmware/
H A Dscp-firmware_2.16.0.bb85 … install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl1.elf" "${D}/firmware/${FW}_${TYPE}.elf"
88 …install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-${FW}-bl1.elf" "${D}/firmware/${FW}_${TYPE}.elf"
93 … install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-bl2.elf" "${D}/firmware/${FW}_${TYPE}.elf"
96 …install -D "${B}/${TYPE}/${FW}/bin/${SCP_PLATFORM}-${FW}-bl2.elf" "${D}/firmware/${FW}_${TYPE}.elf"
106 FILES:${PN}-dbg += "/firmware/*.elf"
/openbmc/u-boot/tools/
H A Dmips-relocs.c209 void *elf; in main() local
225 elf = mmap(NULL, st.st_size, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); in main()
226 if (elf == MAP_FAILED) { in main()
232 ehdr32 = elf; in main()
233 ehdr64 = elf; in main()
286 shdr32 = elf + ehdr_field(e_shoff); in main()
287 shdr64 = elf + ehdr_field(e_shoff); in main()
288 shstrtab = elf + shdr_field(ehdr_field(e_shstrndx), sh_offset); in main()
369 err = parse_fn(elf + sh_offset + (j * sh_entsize)); in main()
383 buf = buf_start = elf + shdr_field(i_rel_shdr, sh_offset); in main()
[all …]
/openbmc/qemu/tests/docker/dockerfiles/
H A Ddebian-xtensa-cross.docker26 …a/toolchain/releases/download/$TOOLCHAIN_RELEASE/x86_64-$TOOLCHAIN_RELEASE-xtensa-$cpu-elf.tar.gz \
30 …32b-elf/bin:/opt/$TOOLCHAIN_RELEASE/xtensa-dc233c-elf/bin:/opt/$TOOLCHAIN_RELEASE/xtensa-de233_fpu…
/openbmc/qemu/bsd-user/
H A Dmeson.build22 elf = cc.find_library('elf', required: true) variable
25 bsd_user_ss.add(elf, procstat, kvm)
/openbmc/qemu/tests/qtest/migration/s390x/
H A DMakefile12 a-b-bios.h: s390x.elf
18 s390x.elf: a-b-bios.c
24 @rm -rf *.elf *.o
/openbmc/openbmc/poky/meta/recipes-extended/ltp/ltp/
H A D0001-kernel-kvm-don-t-hardcode-objcopy.patch11 objcopy: Unable to recognise the format of the input file `kvm_svm03-payload.elf'
56 $(CC) $(GUEST_CPPFLAGS) $(GUEST_CFLAGS) $(GUEST_LDFLAGS) -o $*-payload.elf $^ $(GUEST_LDLIBS)
57 ….text -j .data -j .init -j .preinit_array -j .init_array --gap-fill=0 $*-payload.elf $*-payload.bin
58 ….text -j .data -j .init -j .preinit_array -j .init_array --gap-fill=0 $*-payload.elf $*-payload.bin
61 @$(CC) $(GUEST_CPPFLAGS) $(GUEST_CFLAGS) $(GUEST_LDFLAGS) -o $*-payload.elf $^ $(GUEST_LDLIBS)
62 ….text -j .data -j .init -j .preinit_array -j .init_array --gap-fill=0 $*-payload.elf $*-payload.bin
63 ….text -j .data -j .init -j .preinit_array -j .init_array --gap-fill=0 $*-payload.elf $*-payload.bin
/openbmc/qemu/pc-bios/vof/
H A DMakefile20 vof.elf: entry.o main.o ci.o bootmem.o libc.o
23 %.bin: %.elf
27 rm -f *.o vof.bin vof.elf *~

12345678