source:
trunk/libs/newlib/src/libgloss/i960/asm.h
@
592
Last change on this file since 592 was 444, checked in by , 6 years ago | |
---|---|
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.