diff options
| author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-15 13:42:19 +0200 |
|---|---|---|
| committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-07-15 13:42:19 +0200 |
| commit | 9887f93eefbb384e3ebdbf767847934d2fd6c0ff (patch) | |
| tree | dd802644f3be53f5a179ac2a74ee1c2d78de78f1 | |
| parent | e9a25ac92495d8276669574e03d3b03e9846dd1c (diff) | |
| download | busybox-w32-9887f93eefbb384e3ebdbf767847934d2fd6c0ff.tar.gz busybox-w32-9887f93eefbb384e3ebdbf767847934d2fd6c0ff.tar.bz2 busybox-w32-9887f93eefbb384e3ebdbf767847934d2fd6c0ff.zip | |
tls: fix build problem on non-static i386
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| -rw-r--r-- | networking/tls.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/networking/tls.h b/networking/tls.h index d487f3810..b80cc6448 100644 --- a/networking/tls.h +++ b/networking/tls.h | |||
| @@ -26,8 +26,10 @@ | |||
| 26 | #undef USE_SEED | 26 | #undef USE_SEED |
| 27 | /* pstm: multiprecision numbers */ | 27 | /* pstm: multiprecision numbers */ |
| 28 | #undef DISABLE_PSTM | 28 | #undef DISABLE_PSTM |
| 29 | #if defined(__GNUC__) && defined(__i386__) | 29 | #if defined(__GNUC__) && defined(__i386__) && ENABLE_STATIC |
| 30 | /* PSTM_X86 works correctly. +25 bytes. */ | 30 | /* PSTM_X86 works correctly. +25 bytes. */ |
| 31 | /* Only enabled on static build since tls_pstm_mul_comba.c::MULADD | ||
| 32 | * and tls_pstm_sqr_comba.c::SQRADD2 need too many registers, choke when ebx is not available */ | ||
| 31 | # define PSTM_32BIT | 33 | # define PSTM_32BIT |
| 32 | # define PSTM_X86 | 34 | # define PSTM_X86 |
| 33 | #endif | 35 | #endif |
