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
13 #define ASM_NL ` /* use '`' to mark new line in macro */
15 /* annotation for data we want in DCCM - if enabled in .config */
17 #ifdef CONFIG_ARC_HAS_DCCM
25 /* annotation for data we want in DCCM - if enabled in .config */
27 #ifdef CONFIG_ARC_HAS_ICCM
28 .section .text.arcfp, "ax",@progbits
30 .section .text, "ax",@progbits
34 #define ENTRY_CFI(name) \
40 #define END_CFI(name) \
44 #else /* !__ASSEMBLY__ */
46 #ifdef CONFIG_ARC_HAS_ICCM
47 #define __arcfp_code __attribute__((__section__(".text.arcfp")))
49 #define __arcfp_code __attribute__((__section__(".text")))
52 #ifdef CONFIG_ARC_HAS_DCCM
53 #define __arcfp_data __attribute__((__section__(".data.arcfp")))
55 #define __arcfp_data __attribute__((__section__(".data")))
58 #endif /* __ASSEMBLY__ */