Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20261019210325.GK3542221@port70.net>
Date: Mon, 19 Oct 2026 23:03:25 +0200
From: Szabolcs Nagy <nsz@...t70.net>
To: Rich Felker <dalias@...c.org>
Cc: musl@...ts.openwall.com
Subject: Re: [PATCH v2] aarch64: workaround for syscalls with sve

* Rich Felker <dalias@...c.org> [2026-10-19 14:44:23 -0400]:
> > +.global __syscall6_asm
> > +.type __syscall6_asm,%function
> > +__syscall6_asm:
> > +	mov x8, x6
> > +	svc 0
> > +	ret
> > +#endif
> 
> One more thing: the __syscallN_asm should all be declared hidden. It
> probably doesn't make a lot of difference on aarch64 as long as the
> --dynamic-list gets used, but it may help to know the calls will
> always be direct, and it helps ensure nothing tries to use these
> symbols from libc.so.

added .hidden to asm and hidden declaration in c.
the symbols are no longer in dynsym, so .text is a bit smaller.

View attachment "v5-0001-aarch64-workaround-for-syscalls-with-sve.patch" of type "text/x-diff" (5127 bytes)

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.