This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH v3 0/6] mips: system call table generation support
- From: "Maciej W. Rozycki" <macro at linux-mips dot org>
- To: Joseph Myers <joseph at codesourcery dot com>
- Cc: Paul Burton <paul dot burton at mips dot com>, Firoz Khan <firoz dot khan at linaro dot org>, "open list:RALINK MIPS ARCHITECTURE" <linux-mips at linux-mips dot org>, Ralf Baechle <ralf at linux-mips dot org>, James Hogan <jhogan at kernel dot org>, Greg Kroah-Hartman <gregkh at linuxfoundation dot org>, Philippe Ombredanne <pombredanne at nexb dot com>, Thomas Gleixner <tglx at linutronix dot de>, Kate Stewart <kstewart at linuxfoundation dot org>, y2038 Mailman List <y2038 at lists dot linaro dot org>, Arnd Bergmann <arnd at arndb dot de>, Linux Kernel Mailing List <linux-kernel at vger dot kernel dot org>, Linux-Arch <linux-arch at vger dot kernel dot org>, Deepa Dinamani <deepa dot kernel at gmail dot com>, Marcin Juszkiewicz <marcin dot juszkiewicz at linaro dot org>, libc-alpha at sourceware dot org
- Date: Thu, 6 Dec 2018 17:43:27 +0000 (GMT)
- Subject: Re: [PATCH v3 0/6] mips: system call table generation support
- References: <1543481016-18500-1-git-send-email-firoz.khan@linaro.org> <CALxhOnjSEp++W5T3Sf0eX+8hPt08ER22M817M-Vhd24_96a_EQ@mail.gmail.com> <20181205063436.kzxgnvgexcgq572k@pburton-laptop> <alpine.LFD.2.21.1812061209220.7193@eddie.linux-mips.org> <alpine.DEB.2.21.1812061618110.12167@digraph.polyomino.org.uk> <alpine.LFD.2.21.1812061659210.4294@eddie.linux-mips.org> <alpine.DEB.2.21.1812061719180.12167@digraph.polyomino.org.uk>
On Thu, 6 Dec 2018, Joseph Myers wrote:
> > So how are `SYS_<name>' macros generated that land in <bits/syscall.h>?
>
> By gen-syscall-h.awk, which generates #ifdef conditionals for each
> possible __NR_* name (as listed in syscall-names.list in glibc).
I seem to remember having to take extra care with how the three MIPS ABIs
wire the syscalls to get it right in glibc, but I take it then this has
been now addressed reliably enough for the glibc not to care how exactly
<asm/unistd.h> has been arranged.
Given my current level of involvement with the MIPS architecture I take
your word for it and will not investigate it any further. Thanks for your
input.
Maciej