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: Joseph Myers <joseph at codesourcery dot com>
- To: "Maciej W. Rozycki" <macro at linux-mips dot org>
- 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:20:37 +0000
- 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>
On Thu, 6 Dec 2018, Maciej W. Rozycki wrote:
> On Thu, 6 Dec 2018, Joseph Myers wrote:
>
> > > I believe this file is used by the glibc build process to retrieve
> > > syscall numbers for glibc's own use as well for <sys/syscall.h>. Has the
> > > change been verified not to break this process?
> > >
> > > Cc-ing <libc-alpha@sourceware.org> for information and possible further
> > > input.
> >
> > I'm not sure what "this file" is. The glibc build uses the installed
> > <asm/unistd.h> (the results of #including it, not any other kind of
> > processing the file).
>
> 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).
--
Joseph S. Myers
joseph@codesourcery.com