summaryrefslogtreecommitdiff
path: root/boot
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1995-05-13 07:37:05 +0000
committerRoland McGrath <roland@gnu.org>1995-05-13 07:37:05 +0000
commitd0f5536de6506e7425d78b4dc222cb444d2d8bde (patch)
treeb0488de4ad9b9153e1b0bd027b3893cf32f10e87 /boot
parent0901c6a2fec314995c64b7617265de3bd1802a2d (diff)
Include i386/asm.h and use ENTRY and EXT macros, instead of explicit _s.
Diffstat (limited to 'boot')
-rw-r--r--boot/syscall.S10
1 files changed, 5 insertions, 5 deletions
diff --git a/boot/syscall.S b/boot/syscall.S
index 1f6b7307..29be2478 100644
--- a/boot/syscall.S
+++ b/boot/syscall.S
@@ -17,11 +17,11 @@ You should have received a copy of the GNU General Public License
along with the GNU Hurd; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */
- .globl _errno
+#include <i386/asm.h>
+
+ .globl EXT(errno)
.text
- .globl _syscall
- .align 4
-_syscall:
+ENTRY(syscall)
pop %ecx
pop %eax
push %ecx
@@ -29,6 +29,6 @@ _syscall:
jb error
ret
error:
- movl %eax,_errno
+ movl %eax,EXT(errno)
movl $-1,%eax
ret