linkage.h 720 字节
Newer Older
1 2
#ifndef __ASM_PARISC_LINKAGE_H
#define __ASM_PARISC_LINKAGE_H
L
Linus Torvalds 已提交
3

4 5
#include <asm/dwarf.h>

6 7 8
#ifndef __ALIGN
#define __ALIGN         .align 4
#define __ALIGN_STR     ".align 4"
L
Linus Torvalds 已提交
9
#endif
10 11

/*
12
 * In parisc assembly a semicolon marks a comment while a
13
 * exclamation mark is used to separate independent lines.
14
 */
15 16
#define ASM_NL	!

17 18
#ifdef __ASSEMBLY__

19
#define ENTRY(name) \
20
	.export name !\
21 22 23
	ALIGN !\
name:

24 25 26 27 28 29 30 31 32
#ifdef CONFIG_64BIT
#define ENDPROC(name) \
	END(name)
#else
#define ENDPROC(name) \
	.type name, @function !\
	END(name)
#endif

33 34 35 36 37 38 39 40
#define ENTRY_CFI(name) \
	ENTRY(name)	ASM_NL\
	CFI_STARTPROC

#define ENDPROC_CFI(name) \
	ENDPROC(name)	ASM_NL\
	CFI_ENDPROC

41
#endif /* __ASSEMBLY__ */
42

43
#endif  /* __ASM_PARISC_LINKAGE_H */