This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [PowerPC 64]r12 is not updated to GEP when control transferred from virtual thunk function .
- From: Segher Boessenkool <segher at kernel dot crashing dot org>
- To: Eric Botcazou <ebotcazou at adacore dot com>
- Cc: Umesh Kalappa <umesh dot kalappa0 at gmail dot com>, gcc at gcc dot gnu dot org
- Date: Wed, 15 May 2019 18:52:33 -0500
- Subject: Re: [PowerPC 64]r12 is not updated to GEP when control transferred from virtual thunk function .
- References: <CAGfacvQc=X8vcxoVqbjbimTPLctQzKbzex1odEggRsjrphnurw@mail.gmail.com> <3290120.NdSNzDBL4k@polaris> <CAGfacvTwafpM7vzdv0x-rvx4KZh_uwhZ==MVjYP4qEfiQM9HJQ@mail.gmail.com> <1938670.JyHVrHFxKJ@polaris>
On Wed, May 15, 2019 at 08:31:27PM +0200, Eric Botcazou wrote:
> > Thank you Eric for the suggestion and say that we support in the loader
> > part ,can you please point on elfv2 reference that says implementation for
> > this specific case.
>
> I don't think there is a reference to this specific case in the ABI, only the
> general stuff about local and global entry points.
Yes, it is just a normal jump to a local function.
> We have had this patch in
> our tree for some time and it works well, so let me submit it for inclusion in
> the official tree.
Can't you get the loader fixed, instead?
Segher