------- Additional Comments From nickc at redhat dot com 2007-02-22 18:56 ------- Hi Guys,
I think that I may have found the problem. When the BFD library is getting ready to write out the program headers it checks to see if it has a set already supplied to it. (Either from the input binary in the case of stripping an executable, or via a linker script). If it does have these headers it tries to use them unless it decides that something has changed between the time the headers were read in and the time that the sections are ready to write out. This check however was not taking into account the special nature of the INTERP header on Solaris, which has a slightly non-standard format. The solution, I think, is to always regenerate the program headers when creating Solaris binaries, although possibly this might break custom Solaris linker scripts. We shall see... In the meantime please could you try applying the uploaded patch to the current mainline binutils sources and then building a new version of strip. This should work. Alternatively please see if you can run the c-cc5-gnustrip.patched.mainline binary which I have also uploaded. This is a stripped version of c-cc5 binary that Simon sent to me. Cheers Nick -- http://sourceware.org/bugzilla/show_bug.cgi?id=3535 ------- 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 bug-binutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-binutils