Age | Commit message (Collapse) | Author | Files | Lines |
|
mount syscall takes 8 arguments
|
|
Related to 2d67d91ac08aa2f793d220ad8712541fefa0ba79
|
|
Copy from linux/x86_64.
Some work will be needed for kopensolaris/i386,
which can be safely copied from linux/i386.
(only take care of syscall args and return values)
See the history for linux (git log -p)
|
|
|
|
|
|
|
|
* use %fs instead of %gs, see [1]
* use -q suffix for assembler directives (amd64)
* use 17 for rolq/rorq (2 * sizeof(void*) + 1),
9 - for i386, see [2]
Note that part for defined NOT_IN_libc && defined IS_IN_rtld
is not present for kopensolaris-gnu/i386 too.
[1] http://www.akkadia.org/drepper/tls.pdf
[2] http://sourceware.org/ml/libc-alpha/2012-03/msg00603.html
|
|
|
|
it *must* be patched.
This commit is only to ease changes tracking
|