diff options
author | Matheus Castanho <msc@linux.ibm.com> | 2021-04-09 14:47:27 -0300 |
---|---|---|
committer | Matheus Castanho <msc@linux.ibm.com> | 2021-06-10 16:23:25 -0300 |
commit | ebae2f5a6f971a8f0b6c99e00f9c45ef7433924a (patch) | |
tree | 285a7fe55a04da03c9d2b2e6844174951eacc6a3 /manual/install.texi | |
parent | acc85ea1eb046eee9296fbc4803b82cb485ced07 (diff) | |
download | glibc-ebae2f5a6f971a8f0b6c99e00f9c45ef7433924a.tar.gz glibc-ebae2f5a6f971a8f0b6c99e00f9c45ef7433924a.tar.xz glibc-ebae2f5a6f971a8f0b6c99e00f9c45ef7433924a.zip |
Add build option to disable usage of scv on powerpc
Commit 68ab82f56690ada86ac1e0c46bad06ba189a10ef added support for the scv syscall ABI on powerpc. Since then systems that have kernel and processor support started using scv. However adding the proper support for a new syscall ABI requires changes to several other projects (e.g. qemu, valgrind, strace, kernel), which are gradually receiving support. Meanwhile, having a way to disable scv on glibc at build time can be useful for distros that may encounter conflicts with projects that still do not support the scv ABI, buying time until proper support is added. This commit adds a --disable-scv option that disables scv support and uses sc for all syscalls, like before commit 68ab82f56690ada86ac1e0c46bad06ba189a10ef. Reviewed-by: Raphael M Zinsly <rzinsly@linux.ibm.com>
Diffstat (limited to 'manual/install.texi')
-rw-r--r-- | manual/install.texi | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/manual/install.texi b/manual/install.texi index f1d858fb78..254a8a9a79 100644 --- a/manual/install.texi +++ b/manual/install.texi @@ -282,6 +282,10 @@ this cache can be disabled on a per-application basis using tunables (set glibc.malloc.tcache_count to zero), this option can be used to remove it from the build completely. +@item --disable-scv +Disable using @code{scv} instruction for syscalls. All syscalls will use +@code{sc} instead, even if the kernel supports @code{scv}. PowerPC only. + @item --build=@var{build-system} @itemx --host=@var{host-system} These options are for cross-compiling. If you specify both options and |