summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-09 16:46:11 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-09 16:46:11 +0000
commit8df26e4f7bba3fb0f4c84df7c166fd5d5e09cf7b (patch)
treef6df0ceecd34cab4b29cc51f3ff782d25a36119a /libc/sysdeps/linux
parentcfaa5a15ba9a4717cdd9ac7eda1a0fbe336b0333 (diff)
Workaround an old m68k-coff compiler problem
Diffstat (limited to 'libc/sysdeps/linux')
-rw-r--r--libc/sysdeps/linux/m68k/vfork.S2
1 files changed, 2 insertions, 0 deletions
diff --git a/libc/sysdeps/linux/m68k/vfork.S b/libc/sysdeps/linux/m68k/vfork.S
index ba3a67203..9aacf5916 100644
--- a/libc/sysdeps/linux/m68k/vfork.S
+++ b/libc/sysdeps/linux/m68k/vfork.S
@@ -11,7 +11,9 @@
.align 2
.globl errno
.globl vfork
+#if defined HAVE_ELF
.type vfork,@function
+#endif
vfork:
movl %sp@+, %a1 /* save the return address for later */
movl IMM __NR_vfork,%d0