--- dietlibc/dietfeatures.h 2012/07/09 14:08:16 1.71 +++ dietlibc/dietfeatures.h 2012/07/10 14:18:31 1.72 @@ -145,6 +145,12 @@ /* stop uncommenting here ;-) */ + +/* Several 'syscalls' on x86_64 need vdso set... */ +#if defined(__x86_64__) && ! defined(WANT_STACKGAP) +#define WANT_STACKGAP +#endif + #if defined(WANT_SSP) || defined(WANT_STACKGAP) || defined(WANT_TLS) #define CALL_IN_STARTCODE stackgap #else @@ -173,9 +179,4 @@ #endif #endif -// Several 'syscalls' on x86_64 need vdso set... -#if defined(__x86_64__) && ! defined(WANT_STACKGAP) -#define WANT_STACKGAP -#endif - #endif