From 35683656e691069a3f0ece015cee509454d5320f Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Tue, 8 Jun 1993 01:18:40 +0000 Subject: [PATCH] Formerly unix/bsd/hp/m68k/__brk.S.~5~ --- sysdeps/unix/bsd/hp/m68k/brk.S | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/sysdeps/unix/bsd/hp/m68k/brk.S b/sysdeps/unix/bsd/hp/m68k/brk.S index 6de00b149b..fed4f8032d 100644 --- a/sysdeps/unix/bsd/hp/m68k/brk.S +++ b/sysdeps/unix/bsd/hp/m68k/brk.S @@ -1,4 +1,4 @@ -/* Copyright (C) 1991 Free Software Foundation, Inc. +/* Copyright (C) 1991, 1993 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -37,11 +37,8 @@ ENTRY (__brk) cmpl sp@(4), d0 ble 0f movel d0, sp@(4) -0: movel POUND(SYS_brk), d0 - trap POUND(0) - bcs 1f +0: DO_CALL (brk, 1) movel sp@(4), ___curbrk clrl d0 rts -1: - jmp syscall_error +error: jmp syscall_error