[Bug 232922] elfcopy make corrupt binary on armv7
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Sat Nov 3 02:12:07 UTC 2018
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=232922
Bug ID: 232922
Summary: elfcopy make corrupt binary on armv7
Product: Base System
Version: CURRENT
Hardware: arm
OS: Any
Status: New
Severity: Affects Only Me
Priority: ---
Component: arm
Assignee: freebsd-arm at FreeBSD.org
Reporter: yamori813 at yahoo.co.jp
I try pcDuino(Allwinner A10) by ZRouter build system.
I do cross build for armv7 kernel on FreeBSD 10.4R amd64.
I do convert ELF kernel to binary then u-boot image.
I found FreeBSD elfcopy(objcopy) bug at armv7.
elfcopy make corrupt file by -O binary.
I seem data section is wrong position at elfcopy.
This is files.
https://www.dropbox.com/s/xtw7jlc5kpiyd91/armv7kernel.tar.xz?dl=0
Pcduino_Lite_kernel - original elf file
Pcduino_Lite_kernel.elfcopy.ng - corrupt file by FreeBSD elfcopy
Pcduino_Lite_kernel.objcopy.ok - good file by binutil objcopy
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-arm
mailing list