From: Mike Frysinger Date: Thu, 7 Jan 2021 06:57:35 +0000 (-0500) Subject: sim: cris: disable test that crashes the linker X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e6c1dbbfe8bed2b9396f74e3594701c8abe875ad;p=binutils-gdb.git sim: cris: disable test that crashes the linker PR ld/13900 Linking this test crashes the linker, so disable it. The crash was reported about 9 years ago but haven't made progress, so lets avoid the failures in test runs. --- diff --git a/sim/testsuite/sim/cris/ChangeLog b/sim/testsuite/sim/cris/ChangeLog index 5ff077c486d..e9444bd18d8 100644 --- a/sim/testsuite/sim/cris/ChangeLog +++ b/sim/testsuite/sim/cris/ChangeLog @@ -1,3 +1,8 @@ +2021-01-07 Mike Frysinger + + PR ld/13900 + * c/helloaout.c: Disable test + 2021-01-07 Mike Frysinger * c/c.exp [cris*-*-elf] (CFLAGS_FOR_TARGET): Add -sim. diff --git a/sim/testsuite/sim/cris/c/helloaout.c b/sim/testsuite/sim/cris/c/helloaout.c index 0f774593121..c71a658c18c 100644 --- a/sim/testsuite/sim/cris/c/helloaout.c +++ b/sim/testsuite/sim/cris/c/helloaout.c @@ -4,7 +4,11 @@ doesn't help. Adjust as needed to get a.out which says "pass". If necessary, move to the asm subdir. By design, it doesn't work with CRIS v32.) -#target: cris-*-elf + +NB: We'd rely on kfail, but that doesn't skip compilation, and that's where +the crash in ld happens to break the testcase. +#target: disabled-cris-*-elf +#kfail: ld/13900 cris-*-elf #cc: ldflags=-Wl,-mcrisaout\ -sim\ -Ttext=0 */ #include "hello.c"