libiberty sync

Alan Modra amodra@gmail.com
Sun Mar 8 23:45:42 GMT 2026


On Sun, Mar 08, 2026 at 03:46:01PM -0700, Andrew Pinski wrote:
> On Sun, Mar 8, 2026 at 3:44 PM Alan Modra <amodra@gmail.com> wrote:
> >
> > I've synced up binutils libiberty with gcc.
> 
> Thanks for doing this. I was going to handle the demangler patch but I
> kept on forgetting.
> Will close https://sourceware.org/bugzilla/show_bug.cgi?id=33878 as
> fixed now too.

Thanks.

If anyone is interested, the way I did the sync was:
In gcc
git log libiberty
   to identify the missing patches
git format-patch -p -k -o patches --minimal --no-signature --relative=libiberty  adaeecb1f57c6aa0b1c59143089d4d9e2c3f7adb^
   populate a "patches" directory with (in this case 613) patches, all
   empty except for those that touch libiberty/ (--relative=libiberty
   does that)
In binutils
   git am --empty=drop --directory=libiberty ~/src/gcc/patches/*
Finaly, squash the "Daily bump" patches

It was an iterative process since first time around I didn't pick up
the daily bump for "2026-02-05  Matthieu Longo".

-- 
Alan Modra


More information about the Binutils mailing list