OpenCores
URL https://opencores.org/ocsvn/openrisc_me/openrisc_me/trunk

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [newlib-1.17.0/] [newlib/] [libc/] [machine/] [xscale/] [xscale.h] - Blame information for rev 407

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 148 jeremybenn
#ifndef __XSCALE_MACH_H__
2
#define __XSCALE_MACH_H__
3
 
4
/* These are predefined by new versions of GNU cpp.  */
5
 
6
#ifndef __USER_LABEL_PREFIX__
7
#define __USER_LABEL_PREFIX__ _
8
#endif
9
 
10
#ifndef __REGISTER_PREFIX__
11
#define __REGISTER_PREFIX__
12
#endif
13
 
14
/* ANSI concatenation macros.  */
15
 
16
#define CONCAT1(a, b) CONCAT2(a, b)
17
#define CONCAT2(a, b) a##b
18
 
19
/* Use the right prefix for global labels.  */
20
 
21
#define SYM(x) CONCAT1(__USER_LABEL_PREFIX__, x)
22
 
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__ */
30
 
31
#endif /* !__XSCALE_MACH_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.