[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug binutils/13180] strip -g -> objdump: bad value

From: hjl.tools at gmail dot com
Subject: [Bug binutils/13180] strip -g -> objdump: bad value
Date: Mon, 12 Sep 2011 19:41:12 +0000


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 ---
address@hidden pr13180]$ cat foo.s
    .globl    foo
    .type    foo, @function
    .byte    0
    .size    foo, .-foo
    .section        .debug_types,"G",%progbits,foo,comdat
    .byte    0
address@hidden pr13180]$ gcc -c foo.s
address@hidden pr13180]$ objdump -s -j .text foo.o

foo.o:     file format elf64-x86-64

Contents of section .text:
 0000 00                                   .               
address@hidden pr13180]$ strip -g foo.o -o x.o     
address@hidden 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
address@hidden 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.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]