Use .limhp

This commit is contained in:
ceriel 1990-01-22 13:58:54 +00:00
parent bf95ea8fd9
commit 73bfa1d1ab
3 changed files with 11 additions and 14 deletions
mach/vax4/libsysV_2

View file

@ -6,7 +6,7 @@ break = 17
__sbrk: __sbrk:
.data2 0x0000 .data2 0x0000
movl Ind,r0 movl .limhp,r0
tstl 4(ap) tstl 4(ap)
jeql 3f jeql 3f
addl3 r0,4(ap),-(sp) addl3 r0,4(ap),-(sp)
@ -19,8 +19,8 @@ __sbrk:
1: 1:
jmp cerror jmp cerror
2: 2:
movl Ind,r0 movl .limhp,r0
addl2 4(r3),Ind addl2 4(r3),.limhp
3: 3:
ret ret
@ -30,9 +30,6 @@ __brk:
bcc 1f bcc 1f
jmp cerror jmp cerror
1: 1:
movl 4(ap),Ind movl 4(ap),.limhp
clrl r0 clrl r0
ret ret
.sect .data
Ind: .data4 endbss

View file

@ -6,6 +6,7 @@
.define hol0 .define hol0
.define .reghp .define .reghp
.define .limhp
.define .trppc .define .trppc
.define .trpim .define .trpim
@ -73,6 +74,8 @@ Im2:
.data4 0 .data4 0
.reghp: .reghp:
.data4 _end .data4 _end
.limhp:
.data4 _end
hol0: hol0:
.space 8 .space 8
.trppc: .trppc:

View file

@ -6,7 +6,7 @@ break = 17
_sbrk: _sbrk:
.data2 0x0000 .data2 0x0000
movl Ind,r0 movl .limhp,r0
tstl 4(ap) tstl 4(ap)
jeql 3f jeql 3f
addl3 r0,4(ap),-(sp) addl3 r0,4(ap),-(sp)
@ -19,8 +19,8 @@ _sbrk:
1: 1:
jmp cerror jmp cerror
2: 2:
movl Ind,r0 movl .limhp,r0
addl2 4(r3),Ind addl2 4(r3),.limhp
3: 3:
ret ret
@ -32,9 +32,6 @@ _brk:
bcc 1f bcc 1f
jmp cerror jmp cerror
1: 1:
movl 4(ap),Ind movl 4(ap),.limhp
clrl r0 clrl r0
ret ret
.sect .data
Ind: .data4 _end