From: ceriel Date: Mon, 22 Jan 1990 14:39:47 +0000 (+0000) Subject: Use .limhp X-Git-Tag: release-5-5~1888 X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=9ecf2ad8f802924e144e4fac00badd974f62f21b;p=ack.git Use .limhp --- diff --git a/mach/m68k2/libsys/_brk.s b/mach/m68k2/libsys/_brk.s index 88c0d38f6..8de7b95d5 100644 --- a/mach/m68k2/libsys/_brk.s +++ b/mach/m68k2/libsys/_brk.s @@ -1,30 +1,27 @@ -.define _brk +.define __brk .define __sbrk .sect .text .sect .rom .sect .data .sect .bss -.extern _brk +.extern __brk .extern __sbrk .sect .text -__sbrk: move.l nd,a0 +__sbrk: move.l .limhp,a0 add.w 4(sp),a0 move.w #0x11,d0 trap #0 - bcs lcerror - move.l nd,d0 + bcs Icerror + move.l .limhp,d0 move.l d0,a0 add.w 4(sp),a0 - move.l a0,nd + move.l a0,.limhp rts -lcerror: jmp cerror -_brk: move.w #0x11,d0 +Icerror: jmp cerror +__brk: move.w #0x11,d0 move.l 4(sp),a0 trap #0 - bcs lcerror - move.l 4(sp),nd + bcs Icerror + move.l 4(sp),.limhp clr.l d0 rts -.sect .data -nd: .data4 endbss -.sect .text diff --git a/mach/m68k2/libsys/brk.s b/mach/m68k2/libsys/brk.s index 9f2115082..c1f7b48e4 100644 --- a/mach/m68k2/libsys/brk.s +++ b/mach/m68k2/libsys/brk.s @@ -7,24 +7,21 @@ .extern _brk .extern _sbrk .sect .text -_sbrk: move.l nd,a0 +_sbrk: move.l .limhp,a0 add.w 4(sp),a0 move.w #0x11,d0 trap #0 - bcs lcerror - move.l nd,d0 + bcs Icerror + move.l .limhp,d0 move.l d0,a0 add.w 4(sp),a0 - move.l a0,nd + move.l a0,.limhp rts -lcerror: jmp cerror +Icerror: jmp cerror _brk: move.w #0x11,d0 move.l 4(sp),a0 trap #0 - bcs lcerror - move.l 4(sp),nd + bcs Icerror + move.l 4(sp),.limhp clr.l d0 rts -.sect .data -nd: .data4 endbss -.sect .text diff --git a/mach/m68k4/libsys/_brk.s b/mach/m68k4/libsys/_brk.s index 5b69a92da..2f18abe34 100644 --- a/mach/m68k4/libsys/_brk.s +++ b/mach/m68k4/libsys/_brk.s @@ -7,25 +7,21 @@ .sect .data .sect .bss .sect .text -__sbrk: move.l nd,a0 +__sbrk: move.l .limhp,a0 add.l 4(sp),a0 move.w #0x11,d0 trap #0 bcs lcerror - move.l nd,d0 + move.l .limhp,d0 move.l d0,a0 add.l 4(sp),a0 - move.l a0,nd + move.l a0,.limhp rts lcerror: jmp cerror __brk: move.w #0x11,d0 move.l 4(sp),a0 trap #0 bcs lcerror - move.l 4(sp),nd + move.l 4(sp),.limhp clr.l d0 rts -.sect .data -nd: - .data4 endbss -.sect .text diff --git a/mach/m68k4/libsys/brk.s b/mach/m68k4/libsys/brk.s index 2901c9a96..02bc78582 100644 --- a/mach/m68k4/libsys/brk.s +++ b/mach/m68k4/libsys/brk.s @@ -7,25 +7,21 @@ .sect .data .sect .bss .sect .text -_sbrk: move.l nd,a0 +_sbrk: move.l .limhp,a0 add.l 4(sp),a0 move.w #0x11,d0 trap #0 bcs lcerror - move.l nd,d0 + move.l .limhp,d0 move.l d0,a0 add.l 4(sp),a0 - move.l a0,nd + move.l a0,.limhp rts lcerror: jmp cerror _brk: move.w #0x11,d0 move.l 4(sp),a0 trap #0 bcs lcerror - move.l 4(sp),nd + move.l 4(sp),.limhp clr.l d0 rts -.sect .data -nd: - .data4 endbss -.sect .text