This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [RFC]: .eh_frame section in mingw32 executables
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Dave Korn <dave dot korn dot cygwin at googlemail dot com>
- Cc: Tristan Gingold <gingold at adacore dot com>, Binutils <binutils at sourceware dot org>, Kai Tietz <ktietz70 at googlemail dot com>
- Date: Wed, 24 Jun 2009 11:11:13 +0930
- Subject: Re: [RFC]: .eh_frame section in mingw32 executables
- References: <F8629577-8DFF-404C-8D50-8D9AFEC422D6@adacore.com> <4A4108F8.4090508@gmail.com>
On Tue, Jun 23, 2009 at 05:55:20PM +0100, Dave Korn wrote:
> Tristan Gingold wrote:
> > Hi,
> >
> > is there something wrong with the following patch ? We'd like to have
> > an .eh_frame section
> > in win32/win64 executables so that gdb could print backtraces even for
> > files not compiled with -g.
>
> Can you explain what it does, how it does it and why in a bit more detail
> please? You're changing the behaviour of relocatable links to keep the
> .eh_data in its own section instead of merging it into .rdata, yes?
No, final linking. $RELOCATING is set for a final link, not ld -r.
--
Alan Modra
Australia Development Lab, IBM