This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: Strip broke for me in 2.15...
- From: David Daney <ddaney at avtrex dot com>
- To: Nick Clifton <nickc at redhat dot com>
- Cc: binutils at sources dot redhat dot com
- Date: Mon, 24 May 2004 10:30:23 -0700
- Subject: Re: Strip broke for me in 2.15...
- References: <40AC0BCC.6010602@avtrex.com> <40B20EB3.9010301@redhat.com>
Nick Clifton wrote:
Hi David,
1) ld-2.2.5.so is bug free and strip-2.15 is generating an illegally
formed executable image.
This would appear to be the case.
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000000 0x00400000 0x00400000 0x177584 0x177584 R E
0x1000
LOAD 0x178000 0x10000000 0x10000000 0x1f718 0x20e60 RW
0x1000
Program Headers:
Type Offset VirtAddr PhysAddr FileSiz MemSiz Flg Align
LOAD 0x000000 0x00400000 0x00400000 0x177584 0x177584 R E
0x10
LOAD 0x177590 0x10000000 0x10000000 0x1f718 0x20e60 RW 0x10
Do you have a *small* test case that can reproduce this problem ?
Cheers
Nick
I just tried it with a simple "Hello world" program written in C and
could not get the failure.
The file that fails is about 30MB. So my naive guess is that something
is overflowing somewhere when stripping large files. I am not sure that
it would be the most productive use of my time to try to find the
smallest case that makes it fail.
I would gladly make the offending file available to anyone that wants to
try to fix the problem.
Alternatively I would be happy to try to fix it. But would appreciate
some pointers about where to look.
David Daney.