[PATCH 1/4] alpha: treat STO_ALPHA_STD_GPLOAD as a function in abilist.awk

Matt Turner mattst88@gmail.com
Mon Sep 7 02:22:07 GMT 2026


On Sun, Sep 6, 2026 at 8:22 PM H.J. Lu <hjl.tools@gmail.com> wrote:
>
> On Mon, Sep 7, 2026 at 3:08 AM Matt Turner <mattst88@gmail.com> wrote:
> >
> > The Alpha ABI defines two st_other values for functions:
> >   0x80 (STO_ALPHA_NOPV)        - .prologue 0: runs on caller's GP
> >   0x88 (STO_ALPHA_STD_GPLOAD)  - .prologue 1: standard two-instruction GP load
> >
> > abilist.awk recognized 0x80 but not 0x88 when classifying a dynamic
> > symbol of object type as a function.  Symbols like strncat that are weak
> > aliases of .prologue 1 assembly functions appear as STT_NOTYPE with
> > st_other=0x88 in the dynamic symbol table and were incorrectly
>
> Why is the alias marked as STT_NOTYPE?

Great question -- I think this was papering over a bug in my earlier
series when I was exporting the alias from assembly without a .type
directive.

So this patch is garbage. It should be dropped from the series.


More information about the Libc-alpha mailing list