bug-gnu-utils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: binutils-12.2.1 strip corrupts Solaris binaries (.interp not in seg


From: Darren Tucker
Subject: Re: binutils-12.2.1 strip corrupts Solaris binaries (.interp not in segment)?
Date: Sun, 07 Jul 2002 23:12:09 +1000

Alan Modra wrote:
> Please send me the a.out before stripping, and post it to the list if
> relatively small (say < 20k).

Attached. I gzipped it more for the CRC than the space saving. Speaking
of sizes:

$ ./a.out
Hello,world.
$ ls -l a.out
-rwxr-xr-x   1 dtucker  other       6352 Jul  7 23:01 a.out
$ binutils/strip-new a.out
BFD: strua4Jm: warning: allocated section `.interp' not in segment
$ ls -l a.out
-rwxr-xr-x   1 dtucker  other      67364 Jul  7 23:08 a.out
$ binutils/strip-new a.out
$ ls -l a.out
-rwxr-xr-x   1 dtucker  other       3876 Jul  7 23:09 a.out
$ ./a.out
Segmentation Fault (core dumped)

        Thanks,
                -Daz.

-- 
Darren Tucker (dtucker at zip.com.au)
GPG Fingerprint D9A3 86E9 7EEE AF4B B2D4  37C9 C982 80C7 8FF4 FA69
    Good judgement comes with experience. Unfortunately, the experience
usually comes from bad judgement.

Attachment: a.out.gz
Description: GNU Zip compressed data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]