Welcome to mirror list, hosted at ThFree Co, Russian Federation.

asm.h « i960 « libgloss - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 9595697461188fdf5f33f29b27a69661738d5650 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef ASM_H
#define ASM_H

#ifdef __STDC__
# define _C_LABEL(x)    _ ## x
#else
# define _C_LABEL(x)    _/**/x
#endif
#define _ASM_LABEL(x)   x

#define _ENTRY(name)	\
	.text; .align 4; .globl name; name:

#define ENTRY(name)	\
	_ENTRY(_C_LABEL(name))

#endif