[Bug binutils/13180] strip -g -> objdump: bad value
http://sourceware.org/bugzilla/show_bug.cgi?id=13180 --- Comment #8 from cvs-commit at gcc dot gnu.org 2011-09-16 04:23:31 UTC --- CVSROOT:/cvs/src Module name:src Changes by:h...@sourceware.org2011-09-16 04:23:19 Modified files: binutils : ChangeLog objcopy.c binutils/testsuite: ChangeLog binutils/testsuite/binutils-all: objcopy.exp Added files: binutils/testsuite/binutils-all: group-6.d group-6.s Log message: Remove the group section if all members are removed. binutils/ 2011-09-15 H.J. Lu PR binutils/13180 * objcopy.c (is_strip_section_1): New. (is_strip_section): Use it. Remove the group section if all members are removed. binutils/testsuite/ 2011-09-15 H.J. Lu PR binutils/13180 * binutils-all/group-6.d: New. * binutils-all/group-6.s: Likewise. * binutils-all/objcopy.exp: Run group-6 for ELF targrts. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/ChangeLog.diff?cvsroot=src&r1=1.1826&r2=1.1827 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/objcopy.c.diff?cvsroot=src&r1=1.152&r2=1.153 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/testsuite/ChangeLog.diff?cvsroot=src&r1=1.240&r2=1.241 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/testsuite/binutils-all/group-6.d.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/testsuite/binutils-all/group-6.s.diff?cvsroot=src&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/binutils/testsuite/binutils-all/objcopy.exp.diff?cvsroot=src&r1=1.74&r2=1.75 -- 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. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13180] strip -g -> objdump: bad value
http://sourceware.org/bugzilla/show_bug.cgi?id=13180 H.J. Lu changed: What|Removed |Added Status|NEW |RESOLVED Resolution||FIXED --- Comment #9 from H.J. Lu 2011-09-16 04:24:13 UTC --- Fixed. -- 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. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13180] strip -g -> objdump: bad value
http://sourceware.org/bugzilla/show_bug.cgi?id=13180 --- Comment #7 from Pawel Sikora 2011-09-13 19:36:37 UTC --- (In reply to comment #3) > Which compiler did you use to generate SAX.o? gcc-4.5.4-svn with binutils-2.21.51.0.9. -- 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. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13180] strip -g -> objdump: bad value
http://sourceware.org/bugzilla/show_bug.cgi?id=13180 H.J. Lu changed: What|Removed |Added URL||http://sourceware.org/ml/bi ||nutils/2011-09/msg00057.htm ||l Version|2.21|2.22 (HEAD) --- Comment #6 from H.J. Lu 2011-09-12 21:52:07 UTC --- A patch is posted at http://sourceware.org/ml/binutils/2011-09/msg00057.html -- 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. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13180] strip -g -> objdump: bad value
http://sourceware.org/bugzilla/show_bug.cgi?id=13180 H.J. Lu changed: What|Removed |Added Status|WAITING |NEW --- Comment #5 from H.J. Lu 2011-09-12 19:41:12 UTC --- [hjl@gnu-6 pr13180]$ cat foo.s .text .globlfoo .typefoo, @function foo: .byte0 .sizefoo, .-foo .section.debug_types,"G",%progbits,foo,comdat .byte0 [hjl@gnu-6 pr13180]$ gcc -c foo.s [hjl@gnu-6 pr13180]$ objdump -s -j .text foo.o foo.o: file format elf64-x86-64 Contents of section .text: 00 . [hjl@gnu-6 pr13180]$ strip -g foo.o -o x.o [hjl@gnu-6 pr13180]$ objdump -s -j .text x.o objdump: x.o: Bad value objdump: section '.text' mentioned in a -j option, but not found in any input file [hjl@gnu-6 pr13180]$ -- 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. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13180] strip -g -> objdump: bad value
http://sourceware.org/bugzilla/show_bug.cgi?id=13180 --- Comment #4 from H.J. Lu 2011-09-12 19:35:09 UTC --- The problem is the empty group section: COMDAT group section [3] `.group' [wt.409600c5ba931f69] contains 0 sections: [Index]Name -- 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. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13180] strip -g -> objdump: bad value
http://sourceware.org/bugzilla/show_bug.cgi?id=13180 H.J. Lu changed: What|Removed |Added Status|NEW |WAITING --- Comment #3 from H.J. Lu 2011-09-12 19:16:54 UTC --- Which compiler did you use to generate SAX.o? -- 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. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13180] strip -g -> objdump: bad value
http://sourceware.org/bugzilla/show_bug.cgi?id=13180 H.J. Lu changed: What|Removed |Added CC||hjl.tools at gmail dot com -- 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. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13180] strip -g -> objdump: bad value
http://sourceware.org/bugzilla/show_bug.cgi?id=13180 --- Comment #2 from Pawel Sikora 2011-09-12 14:46:50 UTC --- Created attachment 5928 --> http://sourceware.org/bugzilla/attachment.cgi?id=5928 broken output. -- 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. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils
[Bug binutils/13180] strip -g -> objdump: bad value
http://sourceware.org/bugzilla/show_bug.cgi?id=13180 --- Comment #1 from Pawel Sikora 2011-09-12 14:46:07 UTC --- Created attachment 5927 --> http://sourceware.org/bugzilla/attachment.cgi?id=5927 input. -- 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. ___ bug-binutils mailing list bug-binutils@gnu.org https://lists.gnu.org/mailman/listinfo/bug-binutils