From: Roland McGrath Date: Tue, 8 Jun 1993 01:18:40 +0000 (+0000) Subject: Formerly unix/bsd/hp/m68k/__brk.S.~5~ X-Git-Tag: upstream/2.30~10627^2~4261 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=35683656e691069a3f0ece015cee509454d5320f;p=external%2Fglibc.git Formerly unix/bsd/hp/m68k/__brk.S.~5~ --- diff --git a/sysdeps/unix/bsd/hp/m68k/brk.S b/sysdeps/unix/bsd/hp/m68k/brk.S index 6de00b1..fed4f80 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