Date: Tue, 12 Jun 2018 13:24:22 +0000 From: bugzilla-noreply@freebsd.org To: bugs@FreeBSD.org Subject: [Bug 228934] objcopy (from elftoolchain) does not set ELF OS/ABI field for binary->ELF conversion Message-ID: <bug-228934-227@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D228934 Bug ID: 228934 Summary: objcopy (from elftoolchain) does not set ELF OS/ABI field for binary->ELF conversion Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: bin Assignee: bugs@FreeBSD.org Reporter: emaste@freebsd.org One of the steps in building the amd64 64-bit linuxulator vdso is: > objcopy --input-target binary --output-target elf64-x86-64-freebsd -S -g = --binary-architecture i386:x86-64 linux_locore.o linux_vdso.so This should set the ELF header OS/ABI field to FreeBSD. GNU objcopy does; E= LF Tool Chain objcopy/elfcopy sets it to none/SYSV. With --output-target elf64-x86-64 GNU objcopy sets it to none/SYSV. (Using --output-target elf64-x86-64-freebsd is actually a bug in the Linuxulator Makefile: the vdso is in fact supposed to be a Linux shared obj= ect, which is a separate issue to be fixed.) --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-228934-227>