mirror of
https://github.com/gcc-mirror/gcc.git
synced 2024-11-21 13:40:47 +00:00
227b18f5d7
Library build options from --with-multilib-list used to be processed with *self_spec, which missed the driver's initial canonicalization. This caused limitations on CFLAGS override and the use of driver-only options like -m[no]-lsx. The problem is solved by promoting the injection rules of --with-multilib-list options to the first element of DRIVER_SELF_SPECS, to make them execute before the canonialization. The library-build options are also hard-coded in the driver and can be used conveniently by the builders of other non-gcc libraries via the use of -fmultiflags. Bootstrapped and tested on loongarch64-linux-gnu. ChangeLog: * config-ml.in: Remove unneeded loongarch clause. * configure.ac: Register custom makefile fragments mt-loongarch-* for loongarch targets. * configure: Regenerate. config/ChangeLog: * mt-loongarch-mlib: New file. Pass -fmultiflags when building target libraries (FLAGS_FOR_TARGET). * mt-loongarch-elf: New file. * mt-loongarch-gnu: New file. gcc/ChangeLog: * config.gcc: Pass the default ABI via TM_MULTILIB_CONFIG. * config/loongarch/loongarch-driver.h: Invoke MLIB_SELF_SPECS before the driver canonicalization routines. * config/loongarch/loongarch.h: Move definitions of CC1_SPEC etc. to loongarch-driver.h * config/loongarch/t-linux: Move multilib-related definitions to t-multilib. * config/loongarch/t-multilib: New file. Inject library build options obtained from --with-multilib-list. * config/loongarch/t-loongarch: Same. |
||
---|---|---|
.. | ||
acinclude.m4 | ||
acx.m4 | ||
asmcfi.m4 | ||
ax_check_define.m4 | ||
ax_count_cpus.m4 | ||
ax_cxx_compile_stdcxx.m4 | ||
ax_lib_socket_nsl.m4 | ||
ax_pthread.m4 | ||
bitfields.m4 | ||
bootstrap-asan.mk | ||
bootstrap-cet.mk | ||
bootstrap-debug-big.mk | ||
bootstrap-debug-ckovw.mk | ||
bootstrap-debug-lean.mk | ||
bootstrap-debug-lib.mk | ||
bootstrap-debug.mk | ||
bootstrap-hwasan.mk | ||
bootstrap-lto-lean.mk | ||
bootstrap-lto-noplugin.mk | ||
bootstrap-lto.mk | ||
bootstrap-O1.mk | ||
bootstrap-O3.mk | ||
bootstrap-Og.mk | ||
bootstrap-time.mk | ||
bootstrap-ubsan.mk | ||
cet.m4 | ||
ChangeLog | ||
codeset.m4 | ||
depstand.m4 | ||
dfp.m4 | ||
elf.m4 | ||
enable.m4 | ||
extensions.m4 | ||
futex.m4 | ||
gc++filt.m4 | ||
gcc-plugin.m4 | ||
gettext-sister.m4 | ||
gettext.m4 | ||
glibc21.m4 | ||
gthr.m4 | ||
gxx-include-dir.m4 | ||
hwcaps.m4 | ||
iconv.m4 | ||
intdiv0.m4 | ||
inttypes_h.m4 | ||
inttypes-pri.m4 | ||
inttypes.m4 | ||
isl.m4 | ||
largefile.m4 | ||
lcmessage.m4 | ||
ld-symbolic.m4 | ||
lead-dot.m4 | ||
lib-ld.m4 | ||
lib-link.m4 | ||
lib-prefix.m4 | ||
libstdc++-raw-cxx.m4 | ||
lthostflags.m4 | ||
math.m4 | ||
mh-alpha-linux | ||
mh-cygwin | ||
mh-darwin | ||
mh-djgpp | ||
mh-mingw | ||
mh-pa | ||
mh-ppc-aix | ||
mmap.m4 | ||
mt-alphaieee | ||
mt-android | ||
mt-d30v | ||
mt-gnu | ||
mt-loongarch-elf | ||
mt-loongarch-gnu | ||
mt-loongarch-mlib | ||
mt-mips16-compat | ||
mt-mips-elfoabi | ||
mt-mips-gnu | ||
mt-nios2-elf | ||
mt-ospace | ||
mt-sde | ||
mt-spu | ||
multi.m4 | ||
nls.m4 | ||
no-executables.m4 | ||
override.m4 | ||
picflag.m4 | ||
pkg.m4 | ||
plugins.m4 | ||
po.m4 | ||
proginstall.m4 | ||
progtest.m4 | ||
sjlj.m4 | ||
stdint_h.m4 | ||
stdint.m4 | ||
target-posix | ||
tcl.m4 | ||
tls.m4 | ||
toolexeclibdir.m4 | ||
uintmax_t.m4 | ||
ulonglong.m4 | ||
unwind_ipinfo.m4 | ||
warnings.m4 | ||
weakref.m4 | ||
zlib.m4 | ||
zstd.m4 |