Changeset c9aa5fc in rtems


Ignore:
Timestamp:
02/09/04 15:44:07 (18 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
55dfd4cd
Parents:
6436254a
Message:

2004-02-09 Ralf Corsepius <corsepiu@…>

PR 565/rtems

  • asm.h: Various hacks.
Location:
cpukit/score/cpu/i386
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/score/cpu/i386/ChangeLog

    r6436254a rc9aa5fc  
     12004-02-09      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
     2
     3        PR 565/rtems
     4        * asm.h: Various hacks.
     5
    162004-01-21      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    27
  • cpukit/score/cpu/i386/asm.h

    r6436254a rc9aa5fc  
    4444 */
    4545
     46#ifndef __USER_LABEL_PREFIX__
     47#define __USER_LABEL_PREFIX__
     48#endif
     49
    4650/*
    4751 *  Looks like there is a bug in gcc 2.6.2 where this is not
     
    6468#define CONCAT2(a, b) a ## b
    6569
     70#define EVAL(x) x
     71#define CONCAT0(a, b) EVAL(a)EVAL(b)
     72
    6673/* Use the right prefix for global labels.  */
    6774
    68 #define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
     75#define SYM(x) CONCAT0 (__USER_LABEL_PREFIX__, x)
    6976
    7077/* Use the right prefix for registers.  */
    7178
    72 #define REG(x) CONCAT1 (__REGISTER_PREFIX__, x)
     79#define REG(x) CONCAT0 (__REGISTER_PREFIX__, x)
    7380
    7481#define eax REG (eax)
     
    135142#endif
    136143/* end of include file */
    137 
    138 
  • cpukit/score/cpu/i386/rtems/asm.h

    r6436254a rc9aa5fc  
    4444 */
    4545
     46#ifndef __USER_LABEL_PREFIX__
     47#define __USER_LABEL_PREFIX__
     48#endif
     49
    4650/*
    4751 *  Looks like there is a bug in gcc 2.6.2 where this is not
     
    6468#define CONCAT2(a, b) a ## b
    6569
     70#define EVAL(x) x
     71#define CONCAT0(a, b) EVAL(a)EVAL(b)
     72
    6673/* Use the right prefix for global labels.  */
    6774
    68 #define SYM(x) CONCAT1 (__USER_LABEL_PREFIX__, x)
     75#define SYM(x) CONCAT0 (__USER_LABEL_PREFIX__, x)
    6976
    7077/* Use the right prefix for registers.  */
    7178
    72 #define REG(x) CONCAT1 (__REGISTER_PREFIX__, x)
     79#define REG(x) CONCAT0 (__REGISTER_PREFIX__, x)
    7380
    7481#define eax REG (eax)
     
    135142#endif
    136143/* end of include file */
    137 
    138 
Note: See TracChangeset for help on using the changeset viewer.