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


On Wed, Jul 29, 2009 at 03:00:01PM +0100, Matt Fleming wrote:
> Hi,
> 
> 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?

No, it has to be in the object files.  Why not use .eh_frame instead?

-- 
Daniel Jacobowitz
CodeSourcery


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