http://sourceware.org/bugzilla/show_bug.cgi?id=13180

H.J. Lu <hjl.tools at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |NEW

--- Comment #5 from H.J. Lu <hjl.tools at gmail dot com> 2011-09-12 19:41:12 
UTC ---
[hjl@gnu-6 pr13180]$ cat foo.s
    .text
    .globl    foo
    .type    foo, @function
foo:
    .byte    0
    .size    foo, .-foo
    .section        .debug_types,"G",%progbits,foo,comdat
    .byte    0
[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:
 0000 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

Reply via email to