1/* 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#if defined(__svr4__) || defined(__ELF__) 13#define C_LABEL_PREFIX 14#define C_LABEL_STR(name) #name 15#else 16#define C_LABEL_PREFIX _ 17#define C_LABEL_STR(name) "_" #name 18#endif 19 20#define CONCAT(a, b) CONCAT2(a, b) 21#define CONCAT2(a, b) a##b 22 23#define C_LABEL(name) CONCAT(C_LABEL_PREFIX, name) 24 25#endif /* !(__SPARC_CPREFIX_H) */ 26

