Add a .text and .align to SYSCALL().
This commit is contained in:
parent
5edb523880
commit
a3450ab6e8
|
@ -34,13 +34,13 @@
|
|||
* SUCH DAMAGE.
|
||||
*
|
||||
* from: @(#)SYS.h 5.5 (Berkeley) 5/7/91
|
||||
* $Id: SYS.h,v 1.5 1994/01/27 06:53:25 mycroft Exp $
|
||||
* $Id: SYS.h,v 1.6 1994/03/31 18:31:23 mycroft Exp $
|
||||
*/
|
||||
|
||||
#include <machine/asm.h>
|
||||
#include <sys/syscall.h>
|
||||
|
||||
#define SYSCALL(x) 2: jmp PIC_PLT(cerror); ENTRY(x); movl $(SYS_/**/x),%eax; LCALL(7,0); jc 2b
|
||||
#define SYSCALL(x) .text; .align 2; 2: jmp PIC_PLT(cerror); ENTRY(x); movl $(SYS_/**/x),%eax; LCALL(7,0); jc 2b
|
||||
#define RSYSCALL(x) SYSCALL(x); ret
|
||||
#define PSEUDO(x,y) ENTRY(x); movl $(SYS_/**/y),%eax; LCALL(7,0); ret
|
||||
#define CALL(x,y) call PIC_PLT(_/**/y); addl $4*x,%esp
|
||||
|
|
Loading…
Reference in New Issue