You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Oct 13, 2019. It is now read-only.
The solution is quite a simple: Use __PIC__ macro or define syscall codes as functions.
Defining functions is the easiest way to solve the problem, but it may be a bit slower than using inline assembly code if the calling convention is different from the ordinary one.
The inline assembly codes not in functions for syscall causes some problems.
syscall.h92e42b3#diff-94205e61f849a62cdd2430c5371978b1R7
The solution is quite a simple: Use
__PIC__macro or define syscall codes as functions.Defining functions is the easiest way to solve the problem, but it may be a bit slower than using inline assembly code if the calling convention is different from the ordinary one.