This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug debug/54395] GCC should be able to put DWARF tables in a non-mapped/strippable section for debug-only use


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]