inline syscalls in glibc

Alan Modra amodra at bigpond.net.au
Tue Nov 5 15:29:54 EST 2002


On Tue, Nov 05, 2002 at 02:19:42PM +1100, Anton Blanchard wrote:
>
> Hi,
>
> Paul just pointed out to me that glibc 2.3 wont work on 2.5 ppc32
> kernels because it has a broken inline syscall macro which doesnt
> treat a syscall as a function call.
>
> Steve: are we OK on the 64 bit port? In 2.5 Im looking at optimising
> the syscall entry/exit like ppc32 and its going to be painful if it
> will require an update to glibc just for that.

See sysdeps/unix/sysv/linux/powerpc/powerpc64/syscall.h.  There's
a small matter of turning #if 1 into #if 0.

--
Alan Modra
IBM OzLabs - Linux Technology Centre

** Sent via the linuxppc64-dev mail list. See http://lists.linuxppc.org/





More information about the Linuxppc64-dev mailing list