aboutsummaryrefslogtreecommitdiff
path: root/lt~obsolete.m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2021-01-07 01:27:46 -0500
committerMike Frysinger <vapier@gentoo.org>2021-01-07 12:21:48 -0500
commita39487c6685ff8d2459f59eccc21acdda0517c84 (patch)
treef92f2bdb7b66e49edf91e070883809ef11637d1c /lt~obsolete.m4
parentbfc7d04afbeb56a3dc3caa71322a71fbb084d5dd (diff)
downloadgdb-a39487c6685ff8d2459f59eccc21acdda0517c84.zip
gdb-a39487c6685ff8d2459f59eccc21acdda0517c84.tar.gz
gdb-a39487c6685ff8d2459f59eccc21acdda0517c84.tar.bz2
sim: cris: use -sim with C tests for cris-elf targets
Building the C tests with a cris-elf toolchain (gcc-10.2 & newlib-4.1.0) currently fail due to warnings it emits: cris-elf-ld: libc.a(lib_a-closer.o): in function `_close_r': newlib/libc/reent/closer.c:47: warning: _close is not implemented and will always fail This is because the default target for cris-elf is bare metal, not the simulator. For that, we need -sim. So add it for elf targets. We don't add it for all targets as the simulator (and testsuite) run both libgloss programs as well as Linux userspace programs.
Diffstat (limited to 'lt~obsolete.m4')
0 files changed, 0 insertions, 0 deletions