[PATCH] abilist.awk: Handle unversioned defined symbols [BZ #33650]

Florian Weimer fweimer@redhat.com
Wed Nov 19 18:23:49 GMT 2025


* 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?

Thanks,
Florian



More information about the Libc-alpha mailing list