openbsd-ports/sysutils/libretto-config/patches/patch-smi_S
2004-02-01 01:35:52 +00:00

29 lines
449 B
Plaintext

$OpenBSD: patch-smi_S,v 1.1 2004/02/01 01:35:52 millert Exp $
--- smi.S.orig Thu May 7 10:12:51 1998
+++ smi.S Sat Jan 31 18:11:24 2004
@@ -1,6 +1,6 @@
- .text
- .globl smi
-smi:
+#include <machine/asm.h>
+
+ENTRY(smi)
pushl %ebp
movl %esp,%ebp
pushl %ebx
@@ -17,8 +17,7 @@ smi:
popl %ebp
ret
- .globl smi2
-smi2:
+ENTRY(smi2)
pushl %ebp
movl %esp,%ebp
pushl %ebx
@@ -35,4 +34,3 @@ smi2:
movl %ebp,%esp
popl %ebp
ret
- .end