forked from Imagelibrary/binutils-gdb
Preliminary suport for xor-endian suport in core module.
This commit is contained in:
@@ -28,14 +28,18 @@
|
||||
#define CONCAT2(a,b) a##b
|
||||
#define CONCAT3(a,b,c) a##b##c
|
||||
#define CONCAT4(a,b,c,d) a##b##c##d
|
||||
#define STRINGX(s) #s
|
||||
#else
|
||||
#define CONCAT2(a,b) a/**/b
|
||||
#define CONCAT3(a,b,c) a/**/b/**/c
|
||||
#define CONCAT4(a,b,c,d) a/**/b/**/c/**/d
|
||||
#define STRINGX(s) "?"
|
||||
#endif
|
||||
|
||||
#define XCONCAT2(a,b) CONCAT2(a,b)
|
||||
#define XCONCAT3(a,b,c) CONCAT3(a,b,c)
|
||||
#define XCONCAT4(a,b,c,d) CONCAT4(a,b,c,d)
|
||||
|
||||
#define XSTRING(s) STRINGX(s)
|
||||
|
||||
#endif _SIM_XCAT_H_
|
||||
|
||||
Reference in New Issue
Block a user