mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 11:12:27 +00:00
Validate privileged code relationships
- Work towards improving non-optimized build support - Introduce MODE=zero which is -O0 without ASAN/UBSAN - Use system GCC when ~/.cosmo.mk has USE_SYSTEM_TOOLCHAIN=1 - Have package.com check .privileged code doesn't call non-privileged
This commit is contained in:
parent
01fd655097
commit
daf4454a06
82 changed files with 808 additions and 850 deletions
12
libc/dce.h
12
libc/dce.h
|
@ -36,12 +36,6 @@
|
|||
#define IsModeDbg() 0
|
||||
#endif
|
||||
|
||||
#ifdef __MFENTRY__
|
||||
#define HaveFentry() 1
|
||||
#else
|
||||
#define HaveFentry() 0
|
||||
#endif
|
||||
|
||||
#ifdef TRUSTWORTHY
|
||||
#define IsTrustworthy() 1
|
||||
#else
|
||||
|
@ -72,12 +66,6 @@
|
|||
#define IsXnuSilicon() 0
|
||||
#endif
|
||||
|
||||
#if defined(__PIE__) || defined(__PIC__)
|
||||
#define IsPositionIndependent() 1
|
||||
#else
|
||||
#define IsPositionIndependent() 0
|
||||
#endif
|
||||
|
||||
#define SupportsLinux() ((SUPPORT_VECTOR & _HOSTLINUX) == _HOSTLINUX)
|
||||
#define SupportsMetal() ((SUPPORT_VECTOR & _HOSTMETAL) == _HOSTMETAL)
|
||||
#define SupportsWindows() ((SUPPORT_VECTOR & _HOSTWINDOWS) == _HOSTWINDOWS)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue