binutils-gdb/sim/testsuite/cris/c/helloaout.c
Mike Frysinger 1368b914e9 sim: testsuite: flatten tree
Now that all port tests live under testsuite/sim/*/, and none live
in testsuite/ directly, flatten the structure by moving all of the
dirs under testsuite/sim/ to testsuite/ directly.

We need to stop passing --tool to dejagnu so that it searches all
dirs and not just ones that start with "sim".  Since we have no
other dirs in this tree, and no plans to add any, should be fine.
2021-01-15 19:18:34 -05:00

15 lines
602 B
C

/* Make sure we don't just assume ELF all over. (We have to jump
through hoops to get runnable a.out out of the ELF setup, and
having problems with a.out and discontinous section arrangements
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.)
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"