Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 03 Nov 2018 02:12:05 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-arm@FreeBSD.org
Subject:   [Bug 232922] elfcopy make corrupt binary on armv7
Message-ID:  <bug-232922-7@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D232922

            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@FreeBSD.org
          Reporter: yamori813@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.=20

This is files.

https://www.dropbox.com/s/xtw7jlc5kpiyd91/armv7kernel.tar.xz?dl=3D0

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

--=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-232922-7>