mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-06 12:09:26 +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. |
||
---|---|---|
.. | ||
abi-note.d | ||
abi-note.s | ||
all-debug-sections.d | ||
all-debug-sections.s | ||
dummy.s | ||
gc.c | ||
gc.exp | ||
libpersonality.s | ||
noent.d | ||
noent.s | ||
personality.d | ||
personality.s | ||
pr11218-1.c | ||
pr11218-2.c | ||
pr11218.d | ||
pr13683.c | ||
pr13683.d | ||
pr14265.c | ||
pr14265.d | ||
pr14265.t | ||
pr18223.d | ||
pr18223.s | ||
pr19161-1.c | ||
pr19161-2.c | ||
pr19161.d | ||
pr19167.d | ||
pr19167a.s | ||
pr19167b.s | ||
pr20022.d | ||
pr20022a.s | ||
pr20022b.s | ||
pr20306.c | ||
pr20306.d | ||
pr20882.d | ||
pr20882a.s | ||
pr20882b.s | ||
pr20882c.s | ||
skip-map-discarded.d | ||
skip-map-discarded.map | ||
skip-map-discarded.s | ||
start2.d | ||
start2.s | ||
start3.d | ||
start3.s | ||
start4.d | ||
start4.s | ||
start.d | ||
start.s | ||
stop.d | ||
stop.s |