aboutsummaryrefslogtreecommitdiff
path: root/unix/as.sunos/zz.s
diff options
context:
space:
mode:
authorJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
committerJoe Hunkeler <jhunkeler@gmail.com>2015-08-11 16:51:37 -0400
commit40e5a5811c6ffce9b0974e93cdd927cbcf60c157 (patch)
tree4464880c571602d54f6ae114729bf62a89518057 /unix/as.sunos/zz.s
downloadiraf-osx-40e5a5811c6ffce9b0974e93cdd927cbcf60c157.tar.gz
Repatch (from linux) of OSX IRAF
Diffstat (limited to 'unix/as.sunos/zz.s')
-rw-r--r--unix/as.sunos/zz.s27
1 files changed, 27 insertions, 0 deletions
diff --git a/unix/as.sunos/zz.s b/unix/as.sunos/zz.s
new file mode 100644
index 00000000..1265b86d
--- /dev/null
+++ b/unix/as.sunos/zz.s
@@ -0,0 +1,27 @@
+ .file "zz.c"
+ .version "01.01"
+gcc2_compiled.:
+.text
+ .align 4
+.globl zsvjmp_
+ .type zsvjmp_,@function
+zsvjmp_:
+ pushl %ebp
+ movl %esp,%ebp
+ movl 12(%ebp),%eax
+ movl $0,(%eax)
+ movl 8(%ebp),%eax
+ movl 12(%ebp),%edx
+ movl (%edx),%ecx
+ movl %ecx,(%eax)
+ movl 8(%ebp),%eax
+ addl $4,%eax
+ pushl %eax
+ call setjmp
+ addl $4,%esp
+.L1:
+ leave
+ ret
+.Lfe1:
+ .size zsvjmp_,.Lfe1-zsvjmp_
+ .ident "GCC: (GNU) 2.7.2.3"