On Mon, May 25, 2020 at 12:05:44PM +0200, Martin Husemann wrote: > On Mon, May 25, 2020 at 03:09:09PM +0530, Apurva Nandan wrote: > > I meant that I can't create a __weak_alias ppoll(2) to pollts(2) in libc as > > pollts(2) has its definition in sys/sys. But yes the resulting weak alias > > symbol works from everywhere. > > The syscall stabs are generated code, but we have full controll over the > generator, so adding a variant with an aliased name should be simple.
I don't see any reason to micro-optimize a tail call here. Joerg