[Bug ld/13947] Strip applied twice corrupts binaries compiled with --emit-relocs

2012-04-12 Thread cvs-commit at gcc dot gnu.org
http://sourceware.org/bugzilla/show_bug.cgi?id=13947 --- Comment #14 from cvs-commit at gcc dot gnu.org 2012-04-13 02:52:39 UTC --- CVSROOT:/cvs/src Module name:src Changes by:h...@sourceware.org2012-04-13 02:52:35 Modified files: binutils : ChangeLog objcopy.c bin

[Bug ld/13947] Strip applied twice corrupts binaries compiled with --emit-relocs

2012-04-12 Thread binutils-bugs at qult dot net
http://sourceware.org/bugzilla/show_bug.cgi?id=13947 --- Comment #13 from Ignacy Gawędzki 2012-04-12 10:22:55 UTC --- (In reply to comment #12) > Created attachment 6337 [details] > A patch > > This patch removes the empty relocation sections. I confirm that both patches together fix the bug.