source: trunk/libs/newlib/src/libgloss/i960/asm.h @ 498

Last change on this file since 498 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 262 bytes
Line 
1#ifndef ASM_H
2#define ASM_H
3
4#ifdef __STDC__
5# define _C_LABEL(x)    _ ## x
6#else
7# define _C_LABEL(x)    _/**/x
8#endif
9#define _ASM_LABEL(x)   x
10
11#define _ENTRY(name)    \
12        .text; .align 4; .globl name; name:
13
14#define ENTRY(name)     \
15        _ENTRY(_C_LABEL(name))
16
17#endif
Note: See TracBrowser for help on using the repository browser.