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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib-1.10.0/] [newlib/] [libc/] [machine/] [xscale/] [xscale.h] - Rev 1773

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

#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__ */
 

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

powered by: WebSVN 2.1.0

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