bug-binutils
[Top][All Lists]
Advanced

[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

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 ---
address@hidden 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
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
file
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]