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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-sparc/] [cprefix.h] - Blame information for rev 1633

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

Line No. Rev Author Line
1 1633 jcastillo
/* cprefix.h:  This file is included by assembly source which needs
2
 *             to know what the c-label prefixes are. The newer versions
3
 *             of cpp that come with gcc predefine such things to help
4
 *             us out. The reason this stuff is needed is to make
5
 *             solaris compiles of the kernel work.
6
 *
7
 * Copyright (C) 1995 David S. Miller (davem@caip.rutgers.edu)
8
 */
9
#ifndef __SPARC_CPREFIX_H
10
#define __SPARC_CPREFIX_H
11
 
12
#ifndef __svr4__
13
#define C_LABEL_PREFIX _
14
#else
15
#define C_LABEL_PREFIX
16
#endif
17
 
18
#define CONCAT(a, b) CONCAT2(a, b)
19
#define CONCAT2(a, b) a##b
20
 
21
#define C_LABEL(name) CONCAT(C_LABEL_PREFIX, name)
22
 
23
#endif /* !(__SPARC_CPREFIX_H) */

powered by: WebSVN 2.1.0

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