fixes for host gcc 4.6.1
[zpugcc/jano.git] / toolchain / gcc / newlib / libc / machine / xscale / xscale.h
blobc127e6653c349e215968f58b18780fef5f7a9e6d
1 #ifndef __XSCALE_MACH_H__
2 #define __XSCALE_MACH_H__
4 /* These are predefined by new versions of GNU cpp. */
6 #ifndef __USER_LABEL_PREFIX__
7 #define __USER_LABEL_PREFIX__ _
8 #endif
10 #ifndef __REGISTER_PREFIX__
11 #define __REGISTER_PREFIX__
12 #endif
14 /* ANSI concatenation macros. */
16 #define CONCAT1(a, b) CONCAT2(a, b)
17 #define CONCAT2(a, b) a##b
19 /* Use the right prefix for global labels. */
21 #define SYM(x) CONCAT1(__USER_LABEL_PREFIX__, x)
23 #ifdef __XSCALE__
24 #define PRELOAD(X) pld [X]
25 #define PRELOADSTR(X) " pld [" X "]"
26 #else
27 #define PRELOAD(X)
28 #define PRELOADSTR(X) ""
29 #endif /* __XSCALE__ */
31 #endif /* !__XSCALE_MACH_H__ */