2 * Copyright (C) 2004, 2007-2010, 2011-2012 Synopsys, Inc. (www.synopsys.com)
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License version 2 as
6 * published by the Free Software Foundation.
9 #ifndef __ASM_LINKAGE_H
10 #define __ASM_LINKAGE_H
14 #define ASM_NL ` /* use '`' to mark new line in macro */
16 /* annotation for data we want in DCCM - if enabled in .config */
18 #ifdef CONFIG_ARC_HAS_DCCM
26 /* annotation for data we want in DCCM - if enabled in .config */
28 #ifdef CONFIG_ARC_HAS_ICCM
29 .section
.text
.arcfp
, "ax",@progbits
31 .section
.text
, "ax",@progbits
35 #else /* !__ASSEMBLY__ */
37 #ifdef CONFIG_ARC_HAS_ICCM
38 #define __arcfp_code __attribute__((__section__(".text.arcfp")))
40 #define __arcfp_code __attribute__((__section__(".text")))
43 #ifdef CONFIG_ARC_HAS_DCCM
44 #define __arcfp_data __attribute__((__section__(".data.arcfp")))
46 #define __arcfp_data __attribute__((__section__(".data")))
49 #endif /* __ASSEMBLY__ */