This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
objcopy/strip problem on MIPS (2.10)
- To: binutils at sourceware dot cygnus dot com
- Subject: objcopy/strip problem on MIPS (2.10)
- From: Peter Fales <psfales at lucent dot com>
- Date: Tue, 11 Jul 2000 08:47:27 -0500
Hello,
I reported this problem to bug-gnu-utils, but I thought I would try it here
also...
When a file is stripped with the 2.10 strip command, it creates invalid
binaries. (Under irix-6.2, and 6.3, the binaries actually crash the system!!
Under 6.5, they just dump core.)
The problem does not occur with strip from binutils-2.9.1, and the main
difference that we see is that 2.10 is removing the .MIPS.options section
from the file. We created a simple hello-world C program and ran the following
tests.
Test: Result:
strip foo (2.9.1) No problems
strip foo (2.10) System crashes
objcopy foo foo-new (2.9.1) No problems
objcopy foo foo-new (2.10) System crashes
objcopy --remove-section=.MIPS.options (2.9.1) System crashes
In each of the failure conditions, the .MIPS.options section was
missing from the output file.
--
Peter Fales Lucent Technologies, Room 4G-310
N9IYJ 2000 N Naperville Rd PO Box 3033
internet: psfales@lucent.com Naperville, IL 60566-7033
work: (630) 979-8031