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
|
* Pre-processor Definitions
|
||||||
***************************************************************************/
|
***************************************************************************/
|
||||||
|
|
||||||
#if defined(CONFIG_HOST_MACOS)
|
#ifdef __CYGWIN__
|
||||||
#define SYMBOL(x) _##x
|
# define SYMBOL(s) _##s
|
||||||
|
#elif defined(__ELF__)
|
||||||
|
# define SYMBOL(s) s
|
||||||
#else
|
#else
|
||||||
#define SYMBOL(x) x
|
# define SYMBOL(s) _##s
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -30,11 +30,11 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
# define SYMBOL(s) _##s
|
# define SYMBOL(s) _##s
|
||||||
#elif defined(__ELF__)
|
#elif defined(__ELF__)
|
||||||
# define SYMBOL(s) s
|
# define SYMBOL(s) s
|
||||||
#else
|
#else
|
||||||
# define SYMBOL(s) _##s
|
# define SYMBOL(s) _##s
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
@ -30,11 +30,11 @@
|
|||||||
************************************************************************************/
|
************************************************************************************/
|
||||||
|
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
# define SYMBOL(s) _##s
|
# define SYMBOL(s) _##s
|
||||||
#elif defined(__ELF__)
|
#elif defined(__ELF__)
|
||||||
# define SYMBOL(s) s
|
# define SYMBOL(s) s
|
||||||
#else
|
#else
|
||||||
# define SYMBOL(s) _##s
|
# define SYMBOL(s) _##s
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/************************************************************************************
|
/************************************************************************************
|
||||||
|
@ -29,10 +29,12 @@
|
|||||||
* Pre-processor Definitions
|
* Pre-processor Definitions
|
||||||
****************************************************************************/
|
****************************************************************************/
|
||||||
|
|
||||||
#if defined(CONFIG_HOST_MACOS)
|
#ifdef __CYGWIN__
|
||||||
#define SYMBOL(x) _##x
|
# define SYMBOL(s) _##s
|
||||||
|
#elif defined(__ELF__)
|
||||||
|
# define SYMBOL(s) s
|
||||||
#else
|
#else
|
||||||
#define SYMBOL(x) x
|
# define SYMBOL(s) _##s
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/****************************************************************************
|
/****************************************************************************
|
||||||
|
@ -29,11 +29,11 @@
|
|||||||
**************************************************************************/
|
**************************************************************************/
|
||||||
|
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
# define SYMBOL(s) _##s
|
# define SYMBOL(s) _##s
|
||||||
#elif defined(__ELF__)
|
#elif defined(__ELF__)
|
||||||
# define SYMBOL(s) s
|
# define SYMBOL(s) s
|
||||||
#else
|
#else
|
||||||
# define SYMBOL(s) _##s
|
# define SYMBOL(s) _##s
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
@ -63,11 +63,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __CYGWIN__
|
#ifdef __CYGWIN__
|
||||||
# define SYMBOL(s) s
|
# define SYMBOL(s) _##s
|
||||||
#elif defined(__ELF__)
|
#elif defined(__ELF__)
|
||||||
# define SYMBOL(s) s
|
# define SYMBOL(s) s
|
||||||
#else
|
#else
|
||||||
# define SYMBOL(s) _##s
|
# define SYMBOL(s) _##s
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
|
Loading…
Reference in New Issue
Block a user