summaryrefslogtreecommitdiff
path: root/mit-pthreads/machdep/syscall-hppa-hpux-9.03.S
diff options
context:
space:
mode:
Diffstat (limited to 'mit-pthreads/machdep/syscall-hppa-hpux-9.03.S')
-rw-r--r--mit-pthreads/machdep/syscall-hppa-hpux-9.03.S23
1 files changed, 23 insertions, 0 deletions
diff --git a/mit-pthreads/machdep/syscall-hppa-hpux-9.03.S b/mit-pthreads/machdep/syscall-hppa-hpux-9.03.S
new file mode 100644
index 00000000000..c63d845bae5
--- /dev/null
+++ b/mit-pthreads/machdep/syscall-hppa-hpux-9.03.S
@@ -0,0 +1,23 @@
+ .CODE
+
+machdep_error
+ sub %r0,%r28,%r28
+ bv,n %r0(%r2)
+
+machdep_sys_fork
+
+ .PROC
+ .CALLINFO NO_CALLS,FRAME=0
+
+ ldil -0x80000,%r1
+ ble 4(%sr7,%r1)
+ ldi 2 ,%r22
+ or,= %r0,%r22,%r0
+ b,n machdep_error
+ or,= %r29,%r0,%r0
+ copy %r0,%r28
+ bv,n %r0(%r2)
+
+ .PROCEND
+ .EXPORT machdep_sys_fork,ENTRY
+