forked from Imagelibrary/rtems
2004-01-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
PR 561/rtems * asm.h: Add CONCAT0, EVAL. Let SYM and REG use CONCAT0 and EVAL.
This commit is contained in:
@@ -1,3 +1,8 @@
|
|||||||
|
2004-01-29 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
|
PR 561/rtems
|
||||||
|
* asm.h: Add CONCAT0, EVAL. Let SYM and REG use CONCAT0 and EVAL.
|
||||||
|
|
||||||
2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
2004-01-21 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||||
|
|
||||||
* configure.ac: Move RTEMS_TOP one subdir down.
|
* configure.ac: Move RTEMS_TOP one subdir down.
|
||||||
|
|||||||
@@ -56,13 +56,16 @@
|
|||||||
#define CONCAT1(a, b) CONCAT2(a, b)
|
#define CONCAT1(a, b) CONCAT2(a, b)
|
||||||
#define CONCAT2(a, b) a ## b
|
#define CONCAT2(a, b) a ## b
|
||||||
|
|
||||||
|
#define EVAL(x) x
|
||||||
|
#define CONCAT0(a, b) EVAL(a)EVAL(b)
|
||||||
|
|
||||||
/* Use the right prefix for global labels. */
|
/* Use the right prefix for global labels. */
|
||||||
|
|
||||||
#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
|
#define SYM(x) CONCAT0 (__USER_LABEL_PREFIX__, x)
|
||||||
|
|
||||||
/* Use the right prefix for registers. */
|
/* Use the right prefix for registers. */
|
||||||
|
|
||||||
#define REG(x) CONCAT1 (__REGISTER_PREFIX__, x)
|
#define REG(x) CONCAT0 (__REGISTER_PREFIX__, x)
|
||||||
|
|
||||||
#define d0 REG (d0)
|
#define d0 REG (d0)
|
||||||
#define d1 REG (d1)
|
#define d1 REG (d1)
|
||||||
@@ -140,5 +143,3 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
/* end of include file */
|
/* end of include file */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -56,13 +56,16 @@
|
|||||||
#define CONCAT1(a, b) CONCAT2(a, b)
|
#define CONCAT1(a, b) CONCAT2(a, b)
|
||||||
#define CONCAT2(a, b) a ## b
|
#define CONCAT2(a, b) a ## b
|
||||||
|
|
||||||
|
#define EVAL(x) x
|
||||||
|
#define CONCAT0(a, b) EVAL(a)EVAL(b)
|
||||||
|
|
||||||
/* Use the right prefix for global labels. */
|
/* Use the right prefix for global labels. */
|
||||||
|
|
||||||
#define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
|
#define SYM(x) CONCAT0 (__USER_LABEL_PREFIX__, x)
|
||||||
|
|
||||||
/* Use the right prefix for registers. */
|
/* Use the right prefix for registers. */
|
||||||
|
|
||||||
#define REG(x) CONCAT1 (__REGISTER_PREFIX__, x)
|
#define REG(x) CONCAT0 (__REGISTER_PREFIX__, x)
|
||||||
|
|
||||||
#define d0 REG (d0)
|
#define d0 REG (d0)
|
||||||
#define d1 REG (d1)
|
#define d1 REG (d1)
|
||||||
@@ -140,5 +143,3 @@
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
/* end of include file */
|
/* end of include file */
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user