summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/sparc/_math_inc.h
blob: 7c81459d4ed028887a3298516b466ce52fd5bb11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
/*
 * Setup some glibc defines so we can just drop in the
 * asm files from glibc without any modification.
 */

#include <features.h>

#define __ASSEMBLY__
#include <asm/traps.h>

/* Is alignment really needed? */

#define ENTRY_ALIGN 4

#define ENTRY(sym) \
	.global sym; \
	.align  ENTRY_ALIGN; \
	.type   sym,%function; \
	sym:

#define LOC(sym) \
	.L ## sym

#define END(sym) \
	.size sym,.-sym;