OSDN Git Service

Replace FSF snail mail address with URLs
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / sparc / _math_inc.h
1 /*
2  * Setup some glibc defines so we can just drop in the
3  * asm files from glibc without any modification.
4  */
5
6 #include <features.h>
7 #include <bits/wordsize.h>
8
9 #define __ASSEMBLY__
10 #ifndef __sparc_v9__
11 #include <asm/traps.h>
12 #endif
13
14 /* Is alignment really needed? */
15
16 #if __WORDSIZE == 32
17 # define ENTRY_ALIGN 4
18 #else
19 # define ENTRY_ALIGN 2
20 #endif
21
22 #define ENTRY(sym) \
23         .global sym; \
24         .align  ENTRY_ALIGN; \
25         .type   sym,%function; \
26         sym:
27
28 #define LOC(sym) \
29         .L ## sym
30
31 #define END(sym) \
32         .size sym,.-sym;