arch/sim: unify usage for SYMBOL macro
Signed-off-by: Petro Karashchenko <petro.karashchenko@gmail.com>
This commit is contained in:
parent
a0b19226a1
commit
85a46bf599
@ -29,10 +29,12 @@
|
||||
* Pre-processor Definitions
|
||||
***************************************************************************/
|
||||
|
||||
#if defined(CONFIG_HOST_MACOS)
|
||||
#define SYMBOL(x) _##x
|
||||
#ifdef __CYGWIN__
|
||||
# define SYMBOL(s) _##s
|
||||
#elif defined(__ELF__)
|
||||
# define SYMBOL(s) s
|
||||
#else
|
||||
#define SYMBOL(x) x
|
||||
# define SYMBOL(s) _##s
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -30,11 +30,11 @@
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
# define SYMBOL(s) _##s
|
||||
# define SYMBOL(s) _##s
|
||||
#elif defined(__ELF__)
|
||||
# define SYMBOL(s) s
|
||||
# define SYMBOL(s) s
|
||||
#else
|
||||
# define SYMBOL(s) _##s
|
||||
# define SYMBOL(s) _##s
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
|
@ -30,11 +30,11 @@
|
||||
************************************************************************************/
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
# define SYMBOL(s) _##s
|
||||
# define SYMBOL(s) _##s
|
||||
#elif defined(__ELF__)
|
||||
# define SYMBOL(s) s
|
||||
# define SYMBOL(s) s
|
||||
#else
|
||||
# define SYMBOL(s) _##s
|
||||
# define SYMBOL(s) _##s
|
||||
#endif
|
||||
|
||||
/************************************************************************************
|
||||
|
@ -29,10 +29,12 @@
|
||||
* Pre-processor Definitions
|
||||
****************************************************************************/
|
||||
|
||||
#if defined(CONFIG_HOST_MACOS)
|
||||
#define SYMBOL(x) _##x
|
||||
#ifdef __CYGWIN__
|
||||
# define SYMBOL(s) _##s
|
||||
#elif defined(__ELF__)
|
||||
# define SYMBOL(s) s
|
||||
#else
|
||||
#define SYMBOL(x) x
|
||||
# define SYMBOL(s) _##s
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
@ -29,11 +29,11 @@
|
||||
**************************************************************************/
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
# define SYMBOL(s) _##s
|
||||
# define SYMBOL(s) _##s
|
||||
#elif defined(__ELF__)
|
||||
# define SYMBOL(s) s
|
||||
# define SYMBOL(s) s
|
||||
#else
|
||||
# define SYMBOL(s) _##s
|
||||
# define SYMBOL(s) _##s
|
||||
#endif
|
||||
|
||||
/**************************************************************************
|
||||
|
@ -63,11 +63,11 @@
|
||||
#endif
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
# define SYMBOL(s) s
|
||||
# define SYMBOL(s) _##s
|
||||
#elif defined(__ELF__)
|
||||
# define SYMBOL(s) s
|
||||
# define SYMBOL(s) s
|
||||
#else
|
||||
# define SYMBOL(s) _##s
|
||||
# define SYMBOL(s) _##s
|
||||
#endif
|
||||
|
||||
/**************************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user