tccgen.c: - allow cross-compiling 0.0L (cross-compile tcc with tcc) tccelf.c: - use alignment of TLS section for PT_TLS tccpp.c: - support long double constants on systems that do not support long doubles (i.e. mark them (VT_DOUBLE | VT_LONG)) tccdefs.h: #define __has_feature() for android remove _unaligned (why define a msvc extension under !_WIN32)
Showing the changes to include (1 of 5 files). Show all
Unified · Split
| @@ -18,7 +18,7 @@ · 17 unmodified lines | ||
| 18 | 18 | |
| 19 | 19 | #if __SIZEOF_POINTER__ == 4 |
| 20 | 20 | /* 32bit systems. */ |
| 21 | −#if defined TARGETOS_OpenBSD | |
| 21 | +#if defined __OpenBSD__ | |
| 22 | 22 | #define __SIZE_TYPE__ unsigned long |
| 23 | 23 | #define __PTRDIFF_TYPE__ long |
| 24 | 24 | #else |
| @@ -68,12 +68,6 @@ · 43 unmodified lines | ||
| 68 | 68 | #define __WINT_TYPE__ int |
| 69 | 69 | #endif |
| 70 | 70 | |
| 71 | −#if !defined _WIN32 | |
| 72 | − /* extension to generate different code on old cpu's (>20y ago) */ | |
| 73 | − #define _unaligned | |
| 74 | − #define __unaligned | |
| 75 | −#endif | |
| 76 | − | |
| 77 | 71 | #if __STDC_VERSION__ >= 201112L |
| 78 | 72 | # define __STDC_NO_ATOMICS__ 1 |
| 79 | 73 | # define __STDC_NO_COMPLEX__ 1 |
| @@ -135,6 +129,7 @@ · 55 unmodified lines | ||
| 135 | 129 | #define BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD |
| 136 | 130 | #define __PRETTY_FUNCTION__ __FUNCTION__ |
| 137 | 131 | #define __has_builtin(x) 0 |
| 132 | + #define __has_feature(x) 0 | |
| 138 | 133 | #define _Nonnull |
| 139 | 134 | #define _Nullable |
| 140 | 135 | |