2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
10 #define CPP_ASMLINKAGE extern "C"
12 #define CPP_ASMLINKAGE
15 #if defined __i386__ && (__GNUC__ > 2 || __GNUC_MINOR__ > 7)
16 #define asmlinkage CPP_ASMLINKAGE __attribute__((regparm(0)))
18 #define asmlinkage CPP_ASMLINKAGE
21 #define SYMBOL_NAME_STR(X) #X
22 #define SYMBOL_NAME(X) X
24 #define SYMBOL_NAME_LABEL(X) X##:
26 #define SYMBOL_NAME_LABEL(X) X/**/:
30 #define __ALIGN .align 0
31 #define __ALIGN_STR ".align 0"
34 #define __ALIGN .align 4
35 #define __ALIGN_STR ".align 4"
37 #if !defined(__i486__) && !defined(__i586__)
38 #define __ALIGN .align 4,0x90
39 #define __ALIGN_STR ".align 4,0x90"
40 #else /* __i486__/__i586__ */
41 #define __ALIGN .align 16,0x90
42 #define __ALIGN_STR ".align 16,0x90"
43 #endif /* __i486__/__i586__ */
44 #endif /* __mc68000__ */
50 #define ALIGN_STR __ALIGN_STR
53 .globl SYMBOL_NAME(name); \
55 SYMBOL_NAME_LABEL(name)