mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
669d511534
Fixes a few issues: 1) If you use "-fsanitize=address,undefined" in CFLAGS, the Makefile attempt to trim off -fsanitize options left us with ",undefined". 2) ld_compile adds CFLAGS_FOR_TARGET itself, no need to pass it. 3) CFLAGS might be needed linking bootstrap test. * Makefile.am (CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Trim off all -fsanitize=*. * Makefile.in: Regenerate. * testsuite/ld-bootstrap/bootstrap.exp: Use CFLAGS when linking. * testsuite/ld-cdtest/cdtest.exp: Use CFLAGS_FOR_TARGET when linking. * testsuite/ld-auto-import/auto-import.exp: Don't pass CFLAGS_FOR_TARGET to ld_compile. * testsuite/ld-cygwin/exe-export.exp: Likewise. * testsuite/ld-elfvers/vers.exp: Likewise. * testsuite/ld-elfvsb/elfvsb.exp: Likewise. * testsuite/ld-elfweak/elfweak.exp: Likewise. * testsuite/ld-gc/gc.exp: Likewise. * testsuite/ld-pe/pe-compile.exp: Likewise. * testsuite/ld-pe/pe-run.exp: Likewise. * testsuite/ld-pe/pe-run2.exp: Likewise. * testsuite/ld-plugin/plugin.exp: Likewise. * testsuite/ld-shared/shared.exp: Likewise. * testsuite/ld-elfcomm/elfcomm.exp: Likewise, and don't allow nios2 testing to trash CFLAGS_FOR_TARGET. * testsuite/ld-scripts/crossref.exp: Don't pass options in CC_FOR_TARGET, do so in CFLAGS_FOR_TARGET instead. * testsuite/ld-srec/srec.exp: Likewise, and for CXX. |
||
---|---|---|
.. | ||
aligncomm-1.c | ||
aligncomm-2.c | ||
aligncomm-3.c | ||
aligncomm-4.c | ||
aligncomm.d | ||
basefile1.s | ||
cfi32.d | ||
cfi.d | ||
cfia.s | ||
cfib.s | ||
direct2_client.c | ||
direct2_dll.c | ||
direct2_dll.def | ||
direct_client.c | ||
direct_dll.c | ||
export_dynamic_warning.d | ||
export_dynamic_warning.s | ||
exports64.d | ||
exports.d | ||
exports.s | ||
image_size.d | ||
image_size.s | ||
image_size.t | ||
longsecn-1.d | ||
longsecn-2.d | ||
longsecn-3.d | ||
longsecn-4.d | ||
longsecn-5.d | ||
longsecn.d | ||
longsecn.s | ||
non-c-lang-syms.d | ||
non-c-lang-syms.s | ||
orphan_nu.d | ||
orphan.d | ||
orphana_nu.s | ||
orphana.s | ||
orphanb.s | ||
orphand.s | ||
orphane.s | ||
pe-compile.exp | ||
pe-run2.exp | ||
pe-run.exp | ||
pe.exp | ||
pr19803.d | ||
pr19803.e | ||
pr19803.s | ||
pr26659-weak-undef-sym.d | ||
pr26659-weak-undef-sym.s | ||
reloc.d | ||
reloc.s | ||
secrel1.s | ||
secrel2.s | ||
secrel_64.d | ||
secrel.d | ||
tlssec32.d | ||
tlssec64.d | ||
tlssec.s | ||
vers-script-1.d | ||
vers-script-1.ver | ||
vers-script-2.d | ||
vers-script-2.ver | ||
vers-script-3.d | ||
vers-script-3.ver | ||
vers-script-4.d | ||
vers-script-4.ver | ||
vers-script-dll.c | ||
weakdef-1.d | ||
weakdef-1.s |