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

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libgloss/i960/asm.h')
-rw-r--r--libgloss/i960/asm.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/libgloss/i960/asm.h b/libgloss/i960/asm.h
new file mode 100644
index 000000000..959569746
--- /dev/null
+++ b/libgloss/i960/asm.h
@@ -0,0 +1,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