2d6f9f9727
A music editing program, in the grand tradition of amiga tracker programs.
60 lines
1.2 KiB
Plaintext
60 lines
1.2 KiB
Plaintext
$OpenBSD: patch-app_mixers_integer32_asm_S,v 1.1.1.1 2002/02/05 18:04:10 espie Exp $
|
|
--- app/mixers/integer32-asm.S.orig Sun Sep 24 14:26:09 2000
|
|
+++ app/mixers/integer32-asm.S Thu Jan 31 08:55:03 2002
|
|
@@ -28,14 +28,23 @@
|
|
--------------------------------------------------------------------------
|
|
*/
|
|
|
|
+#ifndef _C_LABEL
|
|
+# ifdef __ELF__
|
|
+# define _C_LABEL(x) x
|
|
+# else
|
|
+# define _C_LABEL(x) _ ## x
|
|
+# endif
|
|
+#endif
|
|
+#undef GLOBAL
|
|
+#define GLOBAL(x) .globl _C_LABEL(x); _C_LABEL(x):
|
|
+
|
|
#if defined(__i386__)
|
|
|
|
#define ACCURACY 12
|
|
|
|
.text
|
|
|
|
-.globl mixerasm_stereo_16_scopes
|
|
-mixerasm_stereo_16_scopes:
|
|
+GLOBAL(mixerasm_stereo_16_scopes)
|
|
pushl %ebp
|
|
movl %esp,%ebp
|
|
|
|
@@ -89,8 +98,7 @@ mixerasm_stereo_16_scopes:
|
|
leave
|
|
ret
|
|
|
|
-.globl mixerasm_mono_16_scopes
|
|
-mixerasm_mono_16_scopes:
|
|
+GLOBAL(mixerasm_mono_16_scopes)
|
|
pushl %ebp
|
|
movl %esp,%ebp
|
|
|
|
@@ -136,8 +144,7 @@ mixerasm_mono_16_scopes:
|
|
leave
|
|
ret
|
|
|
|
-.globl mixerasm_stereo_16
|
|
-mixerasm_stereo_16:
|
|
+GLOBAL(mixerasm_stereo_16)
|
|
pushl %ebp
|
|
movl %esp,%ebp
|
|
|
|
@@ -183,8 +190,7 @@ mixerasm_stereo_16:
|
|
leave
|
|
ret
|
|
|
|
-.globl mixerasm_mono_16
|
|
-mixerasm_mono_16:
|
|
+GLOBAL(mixerasm_mono_16)
|
|
pushl %ebp
|
|
movl %esp,%ebp
|
|
|