path: root/src/linux/x32/sysinfo.s
diff options
authorRich Felker <>2014-04-15 18:16:37 -0400
committerRich Felker <>2014-04-15 18:16:37 -0400
commitde20a8ffc5cf89134f035193ce1cdc2d76c88ee0 (patch)
tree2909fd33adee75e03788e11ac1c51a8efb562526 /src/linux/x32/sysinfo.s
parent6cf7d17f5349df9ee4a2d8c8c7c5d01c18385e08 (diff)
add namespace-protected name for sysinfo function
it will be needed to implement some things in sysconf, and the syscall can't easily be used directly because the x32 syscall uses the wrong structure layout. the l (uncreative, for "linux") prefix is used since the symbol name __sysinfo is already taken for AT_SYSINFO from the aux vector. the way the x32 override of this function works is also changed to be simpler and avoid the useless jump instruction.
Diffstat (limited to 'src/linux/x32/sysinfo.s')
1 files changed, 1 insertions, 5 deletions
diff --git a/src/linux/x32/sysinfo.s b/src/linux/x32/sysinfo.s
index 43c378c1..53d79db2 100644
--- a/src/linux/x32/sysinfo.s
+++ b/src/linux/x32/sysinfo.s
@@ -1,5 +1 @@
-.text sysinfo
-.type sysinfo,@function
- jmp __x32_sysinfo
+# see arch/x32/src/sysinfo.c