Welcome to mirror list, hosted at ThFree Co, Russian Federation.

xscale.h « xscale « machine « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: c127e6653c349e215968f58b18780fef5f7a9e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef __XSCALE_MACH_H__
#define __XSCALE_MACH_H__

/* These are predefined by new versions of GNU cpp.  */

#ifndef __USER_LABEL_PREFIX__
#define __USER_LABEL_PREFIX__ _
#endif

#ifndef __REGISTER_PREFIX__
#define __REGISTER_PREFIX__
#endif

/* ANSI concatenation macros.  */

#define CONCAT1(a, b) CONCAT2(a, b)
#define CONCAT2(a, b) a##b

/* Use the right prefix for global labels.  */

#define SYM(x) CONCAT1(__USER_LABEL_PREFIX__, x)

#ifdef __XSCALE__
#define PRELOAD(X) pld	[X]
#define PRELOADSTR(X) "	pld	[" X "]"
#else
#define PRELOAD(X)
#define PRELOADSTR(X) ""
#endif /* __XSCALE__ */

#endif /* !__XSCALE_MACH_H__ */