This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/54395] GCC should be able to put DWARF tables in a non-mapped/strippable section for debug-only use
- From: "jakub at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 29 Aug 2012 06:04:41 +0000
- Subject: [Bug debug/54395] GCC should be able to put DWARF tables in a non-mapped/strippable section for debug-only use
- Auto-submitted: auto-generated
- References: <bug-54395-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54395
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
CC| |jakub at gcc dot gnu.org
Resolution| |INVALID
--- Comment #5 from Jakub Jelinek <jakub at gcc dot gnu.org> 2012-08-29 06:04:41 UTC ---
If you for whatever crazy reason don't want .eh_frame emitted, just use
-fno-asynchronous-unwind-tables, and, if you have old binutils, also
-fno-dwarf2-cfi-asm (with recentish as which supports .cfi_sections, or very
old ones which don't support .cfi_* directives at all you don't need that
option).
Then with -g .debug_frame section is created instead of .eh_frame, the former
is non-allocated standard DWARF2+ section, the latter is an optimized version
thereof with GNU extensions for encoding addresses etc. and allocatable.