mirror of
https://sourceware.org/git/glibc.git
synced 2025-12-20 01:12:17 +08:00
Add build option to disable usage of scv on powerpc
Commit68ab82f566added 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 commit68ab82f566. Reviewed-by: Raphael M Zinsly <rzinsly@linux.ibm.com>
This commit is contained in:
4
INSTALL
4
INSTALL
@@ -253,6 +253,10 @@ if 'CFLAGS' is specified it must enable optimization. For example:
|
||||
(set glibc.malloc.tcache_count to zero), this option can be used to
|
||||
remove it from the build completely.
|
||||
|
||||
'--disable-scv'
|
||||
Disable using 'scv' instruction for syscalls. All syscalls will
|
||||
use 'sc' instead, even if the kernel supports 'scv'. PowerPC only.
|
||||
|
||||
'--build=BUILD-SYSTEM'
|
||||
'--host=HOST-SYSTEM'
|
||||
These options are for cross-compiling. If you specify both options
|
||||
|
||||
Reference in New Issue
Block a user