diff options
author | Florian Weimer <fweimer@redhat.com> | 2017-08-28 11:31:23 +0200 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2017-08-28 11:58:52 +0200 |
commit | 2dba5ce7b8115d6a2789bf279892263621088e74 (patch) | |
tree | 14d4eea70f46985b3fdcfd0d20d5263b128402e2 /soft-fp/eqtf2.c | |
parent | 5f3b183d198b39ca993a41aadb02bddd9fde078d (diff) | |
download | glibc-2dba5ce7b8115d6a2789bf279892263621088e74.tar.gz glibc-2dba5ce7b8115d6a2789bf279892263621088e74.tar.xz glibc-2dba5ce7b8115d6a2789bf279892263621088e74.zip |
<bits/syscall.h>: Use an arch-independent system call list on Linux
This commit changes the way the list of SYS_* system call macros is created on Linux. glibc now contains a list of all known system calls, and the generated <bits/syscall.h> file defines the SYS_ macro only if the correspnding __NR_ macro is defined by the kernel headers. As a result, glibc does not have to be rebuilt to pick up system calls if the glibc sources already know about them. This means that glibc can be built with older kernel headers, and if the installed kernel headers are upgraded afterwards, additional SYS_ macros become available as long as glibc has a record for those system calls.
Diffstat (limited to 'soft-fp/eqtf2.c')
0 files changed, 0 insertions, 0 deletions