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

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

This should set the ELF header OS/ABI field to FreeBSD. GNU objcopy does; ELF
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 object,
which is a separate issue to be fixed.)

You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________ mailing list
To unsubscribe, send any mail to ""

Reply via email to