libdl: end must be bigger than start
[uclibc-ng.git] / libc / string / sparc / _glibc_inc.h
blobe0aef52c23151ee0f8f156025f121cf7fe80a99d
1 /*
2 * Setup some glibc defines so we can just drop in the
3 * asm files from glibc without any modification.
4 */
6 #include <features.h>
7 #include <bits/wordsize.h>
9 /* Is alignment really needed? */
11 #if __WORDSIZE == 32
12 # define ENTRY_ALIGN 4
13 #else
14 # define ENTRY_ALIGN 2
15 #endif
17 #define ENTRY(sym) \
18 .global sym; \
19 .align ENTRY_ALIGN; \
20 .type sym,%function; \
21 sym:
23 #define LOC(sym) \
24 .L ## sym
26 #define END(sym) \
27 .size sym,.-sym;