This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [RFC PATCH 0/9] CFG aware dwarf2 cfi generation
- From: Jan Hubicka <hubicka at ucw dot cz>
- To: Richard Henderson <rth at redhat dot com>
- Cc: Jan Hubicka <hubicka at ucw dot cz>, bernds at codesourcery dot com, gcc-patches at gcc dot gnu dot org
- Date: Wed, 3 Aug 2011 22:32:48 +0200
- Subject: Re: [RFC PATCH 0/9] CFG aware dwarf2 cfi generation
- References: <1310684876-6244-1-git-send-email-rth@redhat.com> <4E2B357C.6030601@redhat.com> <20110803202403.GA22893@atrey.karlin.mff.cuni.cz> <4E39AEDB.1080902@redhat.com>
> On 08/03/2011 01:24 PM, Jan Hubicka wrote:
> > Cool, will this also help to handle alternate entry points, so we can move ahead
> > on this area we got stuck years ago? (i.e. add support for alternate entry points on
> > i386 skipping IP pointer load in PIC mode/using register passing conventions)
>
> I honestly don't remember what happened with the alternate entry points.
> But if it was unwind info, then yes, this will help.
Well, as I remember, the basic infrastructure that allowed to introduce alternate entry points
late in the compilation (i.e. during prologue/epilogue generation) is in. We just got stuck precisely
on making it working with the unwind info. (as I recall years back, Ihad patches that allowed us
to skip the IP load in PIC mode and planned to follow with the register calling conventions).
This is the -fPIC patch.
http://web.archiveorange.com/archive/v/iv9U0XRCHosZ5bDh6Z6Q
and this is apparently where we got stuck back then.
http://web.archiveorange.com/archive/v/iv9U0byrEj0gzOKGqTtx
Honza
>
>
> r~