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 */
33 /* annotation for data we want in DCCM - if enabled in .config */
35 #ifdef CONFIG_ARC_HAS_DCCM
43 /* annotation for data we want in DCCM - if enabled in .config */
45 #ifdef CONFIG_ARC_HAS_ICCM
46 .section
.text
.arcfp
, "ax",@progbits
48 .section
.text
, "ax",@progbits
52 #define ENTRY_CFI(name) \
58 #define END_CFI(name) \
62 #else /* !__ASSEMBLY__ */
64 #ifdef CONFIG_ARC_HAS_ICCM
65 #define __arcfp_code __section(.text.arcfp)
67 #define __arcfp_code __section(.text)
70 #ifdef CONFIG_ARC_HAS_DCCM
71 #define __arcfp_data __section(.data.arcfp)
73 #define __arcfp_data __section(.data)
76 #endif /* __ASSEMBLY__ */