1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
6 #ifndef __ASM_LINKAGE_H
7 #define __ASM_LINKAGE_H
14 #ifdef CONFIG_ARC_HAS_LL64
23 #ifdef CONFIG_ARC_HAS_LL64
31 #define ASM_NL ` /* use '`' to mark new line in macro */
32 #define __ALIGN .align 4
33 #define __ALIGN_STR __stringify(__ALIGN)
35 /* annotation for data we want in DCCM - if enabled in .config */
37 #ifdef CONFIG_ARC_HAS_DCCM
45 /* annotation for data we want in DCCM - if enabled in .config */
47 #ifdef CONFIG_ARC_HAS_ICCM
48 .section
.text
.arcfp
, "ax",@progbits
50 .section
.text
, "ax",@progbits
54 #define ENTRY_CFI(name) \
60 #define END_CFI(name) \
64 #else /* !__ASSEMBLY__ */
66 #ifdef CONFIG_ARC_HAS_ICCM
67 #define __arcfp_code __section(".text.arcfp")
69 #define __arcfp_code __section(".text")
72 #ifdef CONFIG_ARC_HAS_DCCM
73 #define __arcfp_data __section(".data.arcfp")
75 #define __arcfp_data __section(".data")
78 #endif /* __ASSEMBLY__ */