Projet_SETI_RISC-V/riscv-gnu-toolchain/newlib/libgloss/i960/asm.h

18 lines
262 B
C
Raw Normal View History

2023-03-06 14:48:14 +01:00
#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