This is the mail archive of the
mailing list for the binutils project.
Using linker script to mark .debug_frame allocatable
- From: Matt Fleming <matt at console-pimps dot org>
- To: binutils at sourceware dot org
- Date: Wed, 29 Jul 2009 15:00:01 +0100
- Subject: Using linker script to mark .debug_frame allocatable
I've had a look through the ld manual but so far have been unable to
find a way to mark the .debug_frame section of an ELF as allocatable. I
want to do this is because I'm writing a DWARF unwinder in the Linux
kernel. A DWARF unwinder is particularly useful for architectures, like
SH, that can't unwind their stacks using only a frame pointer.
Is it possible to do this with a linker script?