Avoid duplicate printout of byte order and report ELF_VERSION
This commit is contained in:
parent
f5c4c28b98
commit
6275b43918
|
@ -1362,10 +1362,12 @@ int main(int argc, char *argv[]){
|
||||||
|
|
||||||
#if defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
#if defined(__BYTE_ORDER__) && __BYTE_ORDER__ == __ORDER_BIG_ENDIAN__
|
||||||
printf("__BYTE_ORDER__=__ORDER_BIG_ENDIAN__\n");
|
printf("__BYTE_ORDER__=__ORDER_BIG_ENDIAN__\n");
|
||||||
#endif
|
#elif defined(__BIG_ENDIAN__) && __BIG_ENDIAN__ > 0
|
||||||
#if defined(__BIG_ENDIAN__) && __BIG_ENDIAN__ > 0
|
|
||||||
printf("__BYTE_ORDER__=__ORDER_BIG_ENDIAN__\n");
|
printf("__BYTE_ORDER__=__ORDER_BIG_ENDIAN__\n");
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(_CALL_ELF) && (_CALL_ELF == 2)
|
||||||
|
printf("ELF_VERSION=2\n");
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef MAKE_NB_JOBS
|
#ifdef MAKE_NB_JOBS
|
||||||
#if MAKE_NB_JOBS > 0
|
#if MAKE_NB_JOBS > 0
|
||||||
|
|
Loading…
Reference in New Issue