lkml.org 
[lkml]   [2018]   [Dec]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH v3 0/6] mips: system call table generation support
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

\
 
 \ /
  Last update: 2018-12-06 18:21    [W:0.062 / U:1.588 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site