|
| From: | hjl.tools at gmail dot com |
| Subject: | [Bug ld/13947] Strip applied twice corrupts binaries compiled with --emit-relocs |
| Date: | Tue, 10 Apr 2012 21:49:59 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=13947
H.J. Lu <hjl.tools at gmail dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Component|binutils |ld
--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2012-04-10 21:49:59
UTC ---
(In reply to comment #4)
> (In reply to comment #3)
> > Created attachment 6333 [details]
> > A patch
>
> I just tried this patch and it doesn't seem to fix anything. I rebuilt all of
> binutils after applying it, rebuild a binary with --emit-relocs using ld from
> the newly rebuilt binutils and then used the new strip binary.
strip is OK. It is a linker bug. You need to use the new linker to
create the executable.
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
| [Prev in Thread] | Current Thread | [Next in Thread] |