This is the mail archive of the gcc@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]

Re: [GCC 4.8.1] Which section to emit, .eh_frame or .debug_section?


On Thu, Feb 13, 2014 at 05:24:53PM +0530, Ramana wrote:
> For C++ applications, on PPC, gcc v4.8.1 is generating the call frame
> information in the .eh_frame section by default.
> 
> Could you please tell me why .eh_frame is being generated instead of
> .debug_frame?

Because .eh_frame is the same data .debug_frame contains, just more compact
and usable also for unwinding and backtrace purposes, not just debugging.
It doesn't make sense to emit both.

	Jakub


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