[Bug binutils/14416] .eh_frame section not copied correctly by --only-keep-debug

2012-07-29 Thread sch...@linux-m68k.org
http://sourceware.org/bugzilla/show_bug.cgi?id=14416

--- Comment #1 from Andreas Schwab sch...@linux-m68k.org 2012-07-29 11:56:31 
UTC ---
.eh_frame is not a debug section.  It is a loaded section so it will never be
stripped from the original object.

-- 
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/14416] .eh_frame section not copied correctly by --only-keep-debug

2012-07-29 Thread rene at gollent dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14416

--- Comment #2 from Rene Gollent rene at gollent dot com 2012-07-29 12:01:31 
UTC ---
(In reply to comment #1)
 .eh_frame is not a debug section.  It is a loaded section so it will never be
 stripped from the original object.

1) Then why does it appear in the resulting .debug file at all?

and

2) This still leaves the problem that on e.g. gcc 4.6.2, -g only outputs
.eh_frame. I've looked through the bug database and this appears to be
deliberate since the contents carry so much overlap with .debug_frame.
Therefore, if .debug_frame isn't going to be output, then .eh_frame needs to be
correctly copied, else there is no way for the debugger to unwind the call
frame.

-- 
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/14416] .eh_frame section not copied correctly by --only-keep-debug

2012-07-29 Thread sch...@linux-m68k.org
http://sourceware.org/bugzilla/show_bug.cgi?id=14416

--- Comment #3 from Andreas Schwab sch...@linux-m68k.org 2012-07-29 13:10:21 
UTC ---
.eh_frame is handled like all other non-debug sections.

-- 
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/14416] .eh_frame section not copied correctly by --only-keep-debug

2012-07-29 Thread amodra at gmail dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=14416

Alan Modra amodra at gmail dot com changed:

   What|Removed |Added

 Status|NEW |RESOLVED
 CC||amodra at gmail dot com
 Resolution||INVALID

--- Comment #4 from Alan Modra amodra at gmail dot com 2012-07-29 23:49:34 
UTC ---
Not a bug

-- 
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