mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-23 22:52:23 +00:00
f5e0d33ab4
libsanitizer is only supported on selected architectures. Add ARCH_SUPPORTS_LIBSANITIZER and have architectures select this option based on the list of supported configurations from GCC's libsanitizer/configure.tgt. Support for mips64 was added in GCC12 so this is an additional condition for the mips architecture. Fixes #1733 Signed-off-by: Chris Packham <judge.packham@gmail.com>
54 lines
1.1 KiB
Plaintext
54 lines
1.1 KiB
Plaintext
# MIPS specific config options
|
|
|
|
## no-package
|
|
## select ARCH_SUPPORTS_32
|
|
## select ARCH_SUPPORTS_64
|
|
## select ARCH_DEFAULT_32
|
|
## select ARCH_USE_MMU
|
|
## select ARCH_SUPPORTS_EITHER_ENDIAN
|
|
## select ARCH_DEFAULT_BE
|
|
## select ARCH_SUPPORTS_WITH_ARCH
|
|
## select ARCH_SUPPORTS_WITH_TUNE
|
|
## select ARCH_SUPPORTS_WITH_FLOAT
|
|
## select ARCH_SUPPORTS_LIBSANITIZER if (!ARCH_64 || GCC_12_or_later)
|
|
|
|
## help The MIPS architecture, as defined by:
|
|
## help http://www.mips.com/
|
|
|
|
choice
|
|
bool
|
|
prompt "ABI"
|
|
|
|
config ARCH_mips_o32
|
|
bool
|
|
prompt "o32"
|
|
depends on (ARCH_32 || MULTILIB)
|
|
help
|
|
This is the -mabi=32 gcc option.
|
|
|
|
config ARCH_mips_n32
|
|
bool
|
|
prompt "n32"
|
|
depends on ARCH_64
|
|
help
|
|
This is the -mabi=n32 gcc option.
|
|
|
|
config ARCH_mips_n64
|
|
bool
|
|
prompt "n64"
|
|
depends on ARCH_64
|
|
help
|
|
This is the -mabi=64 gcc option.
|
|
|
|
# Not supported on Linux:
|
|
# o64 : seems related to *BSD
|
|
# eabi : seems related to bare-metal
|
|
|
|
endchoice
|
|
|
|
config ARCH_mips_ABI
|
|
string
|
|
default "32" if ARCH_mips_o32
|
|
default "n32" if ARCH_mips_n32
|
|
default "64" if ARCH_mips_n64
|