diff --git a/mach/pmds4/libsys/sbrk.s b/mach/pmds4/libsys/sbrk.s index 8726f1e82..47d0032f9 100644 --- a/mach/pmds4/libsys/sbrk.s +++ b/mach/pmds4/libsys/sbrk.s @@ -10,7 +10,7 @@ _sbrk: tst.b -8(sp) move.l 4(sp),d0 beq 1f - add.l .reghp,d0 + add.l nd,d0 move.l d0,-(sp) clr.l -(sp) trap #0 @@ -19,15 +19,19 @@ _sbrk: tst.b -8(sp) bcc 1f jmp cerror 1: - move.l .reghp,d0 + move.l nd,d0 move.l 4(sp),d1 - add.l d1,.reghp + add.l d1,nd rts _brk: trap #0 .data2 0x11 bcc 1f jmp cerror 1: - move.l 4(sp),.reghp + move.l 4(sp),nd clr.l d0 rts +.sect .data +nd: + .data4 endbss +.sect .text