summaryrefslogtreecommitdiff
path: root/lzo/asm/i386/src_gas/asminit.def
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-07-02 21:42:07 +0200
committerArne Schwabe <arne@rfc2549.org>2012-07-02 21:42:07 +0200
commit21c3e54010129b504891e1786bf425d89328c969 (patch)
tree2e3eba26f5f0fa454188e1b52c7cab3761c4f208 /lzo/asm/i386/src_gas/asminit.def
parentd4a1b52faa85df4446560a48c6bcc57f016e0c3c (diff)
parentb42eacfa8da0a642d629714f188cc0fc4c7e601a (diff)
Merge
Diffstat (limited to 'lzo/asm/i386/src_gas/asminit.def')
-rw-r--r--lzo/asm/i386/src_gas/asminit.def31
1 files changed, 21 insertions, 10 deletions
diff --git a/lzo/asm/i386/src_gas/asminit.def b/lzo/asm/i386/src_gas/asminit.def
index 942b7b3c..154b8a52 100644
--- a/lzo/asm/i386/src_gas/asminit.def
+++ b/lzo/asm/i386/src_gas/asminit.def
@@ -2,6 +2,9 @@
This file is part of the LZO real-time data compression library.
+ Copyright (C) 2011 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 2010 Markus Franz Xaver Johannes Oberhumer
+ Copyright (C) 2009 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2008 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2007 Markus Franz Xaver Johannes Oberhumer
Copyright (C) 2006 Markus Franz Xaver Johannes Oberhumer
@@ -35,26 +38,33 @@
Markus F.X.J. Oberhumer
<markus@oberhumer.com>
http://www.oberhumer.com/opensource/lzo/
-*/
+ */
-#ifndef F
-# define F(name) name
+#if defined(__MACH__) && defined(__APPLE__)
+# define NAME1(x) _ ## x
+#else
+# define NAME1(x) _ ## x
+# define NAME2(x) x
#endif
-#ifndef global
-# define global(x) .globl x
+
+#ifndef p2align
+# define p2align(x) .p2align x
+#endif
+#ifndef globalf
+# define globalf(x) .globl x
#endif
#ifndef typef
-# ifdef __ELF__
+# if defined(__ELF__)
# define typef(x) .type x,@function
# else
# define typef(x)
# endif
#endif
-#ifndef size
-# ifdef __ELF__
-# define size(x,s) .size x,s
+#ifndef sizef
+# if defined(__ELF__)
+# define sizef(x,s) .size x,s
# else
-# define size(x,s)
+# define sizef(x,s)
# endif
#endif
#ifndef db
@@ -65,3 +75,4 @@
.section .note.GNU-stack,"",@progbits
#endif
.text
+p2align(4)