2002-04-24 Roland McGrath <roland@frob.com>
* sysdeps/mach/alpha/syscall.S: Don't use .frame, ENTRY will have it; use END macro instead of our own .end directive. Use `callsys' insn mnemonic instead of `call_pal'.
This commit is contained in:
parent
2ee700db50
commit
486a12c226
|
@ -1,4 +1,4 @@
|
||||||
/* Copyright (C) 1994, 1997 Free Software Foundation, Inc.
|
/* Copyright (C) 1994,97,2002 Free Software Foundation, Inc.
|
||||||
This file is part of the GNU C Library.
|
This file is part of the GNU C Library.
|
||||||
|
|
||||||
The GNU C Library is free software; you can redistribute it and/or
|
The GNU C Library is free software; you can redistribute it and/or
|
||||||
|
@ -17,10 +17,8 @@
|
||||||
02111-1307 USA. */
|
02111-1307 USA. */
|
||||||
|
|
||||||
#include <sysdep.h>
|
#include <sysdep.h>
|
||||||
#include <mach/machine/alpha_instruction.h>
|
|
||||||
|
|
||||||
ENTRY (syscall)
|
ENTRY (syscall)
|
||||||
.frame sp,0,ra
|
|
||||||
mov a0, v0 /* Load system call number from first arg. */
|
mov a0, v0 /* Load system call number from first arg. */
|
||||||
mov a1, a0
|
mov a1, a0
|
||||||
mov a2, a1
|
mov a2, a1
|
||||||
|
@ -34,6 +32,6 @@ ENTRY (syscall)
|
||||||
ldq t2,24(sp)
|
ldq t2,24(sp)
|
||||||
ldq t3,32(sp)
|
ldq t3,32(sp)
|
||||||
ldq t4,40(sp)
|
ldq t4,40(sp)
|
||||||
call_pal op_chmk
|
callsys
|
||||||
RET
|
ret
|
||||||
.end syscall
|
END (syscall)
|
||||||
|
|
Loading…
Reference in a new issue