On Linux/x86, I got
./objcopy DivasP.orig DivasP
BFD: DivasP: section .note.ABI-tag lma 0x8049094 adjusted to 0x804a094
BFD: DivasP: section .init lma 0x80490b4 adjusted to 0x804a0b4
BFD: DivasP: section .text lma 0x80490f0 adjusted to 0x804a0e5
BFD: DivasP: section .fini lma 0x81a8c9c adjusted to 0x81a9c91
BFD: DivasP: section .rodata lma 0x81a8cc0 adjusted to 0x81a9cad
BFD: DivasP: section __libc_subinit lma 0x81f0f6c adjusted to 0x81f1f57
BFD: DivasP: section __libc_subfreeres lma 0x81f0f78 adjusted to 0x81f1f63
BFD: DivasP: section __libc_atexit lma 0x81f0f98 adjusted to 0x81f1f83
BFD: DivasP: section `__libc_subfreeres' can't be allocated in segment 0
LOAD: .note.ABI-tag .init .text .fini .rodata __libc_subinit __libc_subfreeres
__libc_atexit
BFD: DivasP: section `__libc_atexit' can't be allocated in segment 0
LOAD: .note.ABI-tag .init .text .fini .rodata __libc_subinit __libc_subfreeres
__libc_atexit
--
Summary: objcopy is broken
Product: binutils
Version: 2.21 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: binutils
AssignedTo: unassigned at sources dot redhat dot com
ReportedBy: hjl dot tools at gmail dot com
CC: amodra at gmail dot com,bug-binutils at gnu dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=11953
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
_______________________________________________
bug-binutils mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils