aboutsummaryrefslogtreecommitdiff
path: root/config/cc
diff options
context:
space:
mode:
Diffstat (limited to 'config/cc')
-rw-r--r--config/cc/gcc.in26
1 files changed, 23 insertions, 3 deletions
diff --git a/config/cc/gcc.in b/config/cc/gcc.in
index 037291fe..d5b19c79 100644
--- a/config/cc/gcc.in
+++ b/config/cc/gcc.in
@@ -5,6 +5,7 @@
## select CC_SUPPORT_JAVA if !GCC_7_or_later && OBSOLETE
## select CC_SUPPORT_ADA
## select CC_SUPPORT_D
+## select CC_SUPPORT_JIT
## select CC_SUPPORT_OBJC
## select CC_SUPPORT_OBJCXX
## select CC_SUPPORT_GOLANG
@@ -81,6 +82,7 @@ config CC_GCC_MULTILIB_LIST
string "List of multilib variants"
depends on MULTILIB
default "m2,m2e,m4,m4-single,m4-single-only,m2a,m2a-single" if GCC_11_or_later && ARCH_SH
+ default "aprofile,rmprofile" if ARCH_ARM && ARCH_32
help
Architecture-specific option of expanding or restricting the list of
the multilib variants to be built. Refer to GCC installation manual
@@ -196,6 +198,18 @@ config CC_GCC_LTO_ZSTD
#-----------------------------------------------------------------------------
comment "Settings for libraries running on target"
+config CC_GCC_ENABLE_DEFAULT_PIE
+ bool
+ prompt "Enable Position Independent Executable as default"
+ default y
+ depends on GCC_6_or_later && ! WINDOWS && ! ARCH_MIPS && ! ARCH_AVR && ! ARCH_PRU
+ depends on !(ARCH_RISCV && BARE_METAL)
+ help
+ Pass --enable-default-pie to crossgcc's configure.
+
+ This will let crossgcc compile executable as Position Independent
+ Executable by default.
+
config CC_GCC_ENABLE_TARGET_OPTSPACE
bool
prompt "Optimize gcc libs for size"
@@ -257,17 +271,24 @@ config CC_GCC_LIBQUADMATH
The default is 'N'. Say 'Y' if you need it, and report success/failure.
config CC_GCC_LIBSANITIZER
- bool
+ tristate
prompt "Compile libsanitizer"
depends on THREADS_NATIVE
depends on !LIBC_UCLIBC_NG && !LIBC_MUSL # Currently lacks required headers (like netrom.h)
+ depends on ARCH_SUPPORTS_LIBSANITIZER
help
libsanitizer is a library which provides run-time sanitising of either
or both of:
- memory access patterns (out-of-bonds, use-after-free)
- racy data accesses (in multi-threaded programs)
- The default is 'N'. Say 'Y' if you need it, and report success/failure.
+ Option | libsanitizer | Associated ./configure switch
+ ---------+--------------------+--------------------------------
+ Y | forcibly used | --enable-libsanitizer
+ M | auto | (none, ./configure decides)
+ N | forcibly not used | --disable-libsanitizer
+
+ The default is 'N'. Say 'Y' or 'M' if you need it, and report success/failure.
config CC_GCC_LIBMPX
bool
@@ -285,7 +306,6 @@ config CC_GCC_LIBSTDCXX_VERBOSE
default n if BARE_METAL
default m if !BARE_METAL
prompt "Verbose libstdc++"
- depends on GCC_4_8_or_later
depends on CC_LANG_CXX
help
Write descriptive error messages on certain events.