diff options
author | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-14 16:19:58 +0200 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2017-07-14 16:19:58 +0200 |
commit | ec0810b91aba837f684ed15f0b8abfb03299f661 (patch) | |
tree | 42d8e318d5cb084d9103f569c442be6841305b5b /src/libc | |
parent | f31f7960bd260cb90ffdd766393d51bd85a547d1 (diff) | |
download | abaos-ec0810b91aba837f684ed15f0b8abfb03299f661.tar.gz abaos-ec0810b91aba837f684ed15f0b8abfb03299f661.tar.bz2 |
some linkage tweaking, the kernel is not linked against libssp (which
is using linux/glibc), we provide our own SSP guards leading to
kernel_panic (for now).
per default build the kernel with ld (as we need precise control how
we link it)
the libc tests are per default linked with the same compiler as
provided with $(CC)
using #include_next of gcc/clang to include the real stdint.h header
file in stdint.h stub
Diffstat (limited to 'src/libc')
-rw-r--r-- | src/libc/stdint.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/libc/stdint.h b/src/libc/stdint.h index e0f35b6..23dc370 100644 --- a/src/libc/stdint.h +++ b/src/libc/stdint.h @@ -10,6 +10,10 @@ typedef unsigned short uint16_t; typedef signed short int16_t; typedef unsigned char uint8_t; typedef signed char int8_t; +typedef uint32_t uintptr_t; +#else +// gcc and clang provide a stdint.h +#include_next <stdint.h> #endif #endif // STDINT_H |