repo.or.cz
/
uclibc-ng.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
libdl: end must be bigger than start
[uclibc-ng.git]
/
libc
/
string
/
sparc
/
_glibc_inc.h
blob
e0aef52c23151ee0f8f156025f121cf7fe80a99d
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
/* Is alignment really needed? */
10
11
#if __WORDSIZE == 32
12
# define ENTRY_ALIGN 4
13
#else
14
# define ENTRY_ALIGN 2
15
#endif
16
17
#define ENTRY(sym) \
18
.global sym; \
19
.align ENTRY_ALIGN; \
20
.type sym,%function; \
21
sym:
22
23
#define LOC(sym) \
24
.L ## sym
25
26
#define END(sym) \
27
.size sym,.-sym;