This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Using linker script to mark .debug_frame allocatable
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