[PATCH] abilist.awk: Handle unversioned defined symbols [BZ #33650]
H.J. Lu
hjl.tools@gmail.com
Thu Nov 20 23:25:24 GMT 2025
On Thu, Nov 20, 2025 at 2:23 AM Florian Weimer <fweimer@redhat.com> wrote:
>
> * H. J. Lu:
>
> > After binutils commit:
> >
> > commit f685e3953f9a38a41bbd0a597f9882870cee13d5
> > Author: H.J. Lu <hjl.tools@gmail.com>
> > Date: Wed Oct 29 09:49:57 2025 +0800
> >
> > elf: Don't set its DT_VERSYM entry for unversioned symbol
> >
> > ld no longer assigns version index 1 to unversioned defined symbol.
> > For libmachuser.so, "objdump --dynamic-syms" reports:
> >
> > 0000dd30 w DF .text 000000f8 processor_start
> >
> > instead of
> >
> > 0000dd30 w DF .text 000000f8 (Base) processor_start
> >
> > As the result, abilist.awk reports:
> >
> > ERROR: Unable to interpret this line: 0000dd30 w DF .text 000000f8
> >
> > Update abilist.awk to handle unversioned symbol definitions.
>
> Why doesn't this require any libmachuser.abilist update? If there's a
> defined symbol, shouldn't it end up in the abilist file?
>
sysdeps/mach/libmachuser.abilist is empty since libmachuser is unversioned.
--
H.J.
More information about the Libc-alpha
mailing list