Add a .text and .align to SYSCALL().

This commit is contained in:
mycroft 1994-03-31 18:31:23 +00:00
parent 5edb523880
commit a3450ab6e8
1 changed files with 2 additions and 2 deletions

View File

@ -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