Using linker script to mark .debug_frame allocatable

Daniel Jacobowitz drow@false.org
Wed Jul 29 15:22:00 GMT 2009


On Wed, Jul 29, 2009 at 03:18:06PM +0100, Matt Fleming wrote:
> Basically because the DWARF frame info is currently in the .debug_frame
> section and I assumed that if no .eh_frame section was generated during
> the partial link of the kernel source, I can move the .debug_frame input
> section into a .eh_frame output section and it still wouldn't be
> allocatable.
> 
> Is there a way to force all DWARF debug frame info to be output into a
> .eh_frame section?

Compile with unwind tables.  ARM's got an option to do this already
(though that does not result in .eh_frame - ARM is special - it would
on other platforms).

-- 
Daniel Jacobowitz
CodeSourcery



More information about the Binutils mailing list