Hi,

if possible, yes, it would be preferable to backport this patch.

On 26-08-11 11:30:08, Avinash Jayakar wrote:
> Hi,
> 
> In the bug it was mentioned that this issue is present on 14,15 and
> 16. Does this need backports?
> 
> Regards,
> Avinash Jayakar
> 
> On Wed, 2026-07-29 at 12:50 +0200, Gerald Pfeifer wrote:
> > On Fri, 24 Jul 2026, Michael Meissner wrote:
> > > > libgcc/ChangeLog:
> > > > 
> > > >         PR target/125803
> > > >         * config/rs6000/freebsd-unwind.h (TOC_SAVE_SLOT): New
> > > > macro,
> > > >         defined according to _CALL_ELF.
> > > >         (frob_update_context): Use TOC_SAVE_SLOT instead of the
> > > >         hard-coded ELFv1 offset 40 when checking for and
> > > > locating the
> > > >         saved TOC, so that r2 is restored correctly under
> > > > ELFv2.  Guard
> > > >         the ELFv1-only PLT stub and function pointer call
> > > > sequences
> > > >         with _CALL_ELF != 2, mirroring linux-unwind.h.
> > > I approve this to be applied to the master branch and back ported
> > > to
> > > GCC 16 if it is needed.  I assume you will fix any freebsd errors
> > > that
> > > come up to this patch if it is needed.
> > 
> > Thank you for the review, Michael.
> > 
> > Piotr, I pushed this to trunk for you.
> > 
> > Gerald
> > 

Attachment: signature.asc
Description: PGP signature

Reply via email to