binutils-gdb/sim/testsuite/ChangeLog
Dimitar Dimitrov 0d315c88a7 sim: Add bfd include path for common testsuite tools
On a host without installed libbfd, this patch fixes the following
"make check-sim" errors for both pru cross target, and native x86_64:

In file included from ../../../binutils/sim/common/sim-basics.h:131,
                 from testsuite/common/bits32m0.c:13:../../../binutils/sim/../include/gdb/callback.h:55:10: fatal error: bfd.h: No such file or directory
   55 | #include "bfd.h"
      |          ^~~~~~~

Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu>
2021-05-07 21:02:34 +03:00

471 lines
13 KiB
Plaintext

2021-05-07 Dimitar Dimitrov <dimitar@dinux.eu>
* local.mk (%C%_CPPFLAGS): Add ../bfd include path.
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* lib/sim-defs.exp (run_sim_test): Set status to unsupported if
$return_code is 77.
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* lib/sim-defs.exp (run_sim_test): Return if sim_tool_path does not
exist.
2021-04-08 Mike Frysinger <vapier@gentoo.org>
* lib/sim-defs.exp (sim_tool_path): New function.
(sim_run): Set sim to [sim_tool_path].
2021-04-03 Mike Frysinger <vapier@gentoo.org>
* lib/sim-defs.exp (run_sim_test): Convert examples to binaries.
2021-04-03 Mike Frysinger <vapier@gentoo.org>
* local.mk: Include %D%/common/local.mk.
* common/Makefile.in: Removed.
* common/local.mk: New file.
2021-03-07 Mike Frysinger <vapier@gentoo.org>
* Makefile.in: Removed.
* lib/sim-defs.exp (sim): Update default path.
* local.mk: New file based on Makefile.in.
2021-02-13 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (arch): Delete.
(site.exp): Do not output $arch.
2021-02-04 Mike Frysinger <vapier@gentoo.org>
* riscv/: New directory.
2021-01-15 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (site.exp): Delete tool setting.
* sim/*/: Move subdirs up a directory.
2021-01-15 Mike Frysinger <vapier@gentoo.org>
* configure, configure.ac: Delete.
* Makefile.in (Makefile, config.status): Switch to ../config.status.
2021-01-15 Mike Frysinger <vapier@gentoo.org>
* configure.ac (target): Delete d10v-*-elf case.
* configure: Regenerate.
* d10v-elf/: Move directory ...
* sim/d10v/: ... here.
2021-01-15 Mike Frysinger <vapier@gentoo.org>
* configure.ac (target): Delete mips64el-*-elf case.
* configure: Regenerate.
* mips64el-elf/: Delete directory.
2021-01-15 Mike Frysinger <vapier@gentoo.org>
* configure.ac (target): Delete frv-*-elf case.
* configure: Regenerate.
* frv-elf/: Delete directory.
2021-01-15 Mike Frysinger <vapier@gentoo.org>
* configure.ac (target): Delete m32r-*-elf case.
* configure: Regenerate.
* m32r-elf/: Delete directory.
2021-01-15 Mike Frysinger <vapier@gentoo.org>
* lib/sim-defs.exp (sim_run): Delete status and return return_code.
(run_sim_test): Define status option. Change sim_run return to
return_code. Define status. Log return_code.
2021-01-11 Mike Frysinger <vapier@gentoo.org>
* common/alu-tst.c: Include stdlib.h.
(PACKAGE): Define.
(print_hex): Change printf to use %llx.
* common/bits-gen.c: Include stdlib.h, string.h, and unistd.h.
(gen_struct): Change long long to unsigned64.
(gen_bit): Change bit cast to bit mask. Change printf to use %llx.
(gen_mask): Likewise.
(usage): Delete default case.
(main): Change WITH_HOST_WORD_BITSIZE printf from %d to %zu. Emit
PACKAGE define and stdlib.h & string.h includes.
* common/bits-tst.c (calc): Change printf to use %llx.
(check_sext, check_rot, check_extract, check_bits): Likewise.
2021-01-09 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
* sim/sh64/: Delete.
2021-01-05 Mike Frysinger <vapier@gentoo.org>
* sim/fr30/: Delete.
2021-01-05 Mike Frysinger <vapier@gentoo.org>
* common/Make-common.in: Delete.
2021-01-04 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2020-10-06 Andrew Burgess <andrew.burgess@embecosm.com>
* configure: Regnerate.
* configure.ac (AC_CONFIG_AUX_DIR): Update.
2020-08-04 David Faust <david.faust@oracle.com>
Jose E. Marchesi <jose.marchesi@oracle.com>
* configure: Regenerate.
* sim/bpf: New directory.
2020-07-29 Simon Marchi <simon.marchi@efficios.com>
* configure: Re-generate.
2019-12-19 Tom Tromey <tromey@adacore.com>
PR build/24572:
* Makefile.in (install-strip): New target.
2019-09-23 Dimitar Dimitrov <dimitar@dinux.eu>
* configure: Regenerate.
2017-12-12 Stafford Horne <shorne@gmail.com>
Peter Gavin <pgavin@gmail.com>
* configure: Regenerated.
2016-01-10 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2016-01-02 Mike Frysinger <vapier@gentoo.org>
* common/bits-gen.c (main): Change BIG_ENDIAN to BFD_ENDIAN_BIG and
LITTLE_ENDIAN and BFD_ENDIAN_LITTLE.
2015-11-24 Nick Clifton <nickc@redhat.com>
* configure: Regenerate.
* sim/aarch64: New directory.
2015-11-14 Mike Frysinger <vapier@gentoo.org>
* lib/sim-defs.exp (slurp_options): Pull in global subdir/srcdir.
Replace $srcdir and $subdir in the read option.
2015-04-13 Hans-Peter Nilsson <hp@axis.com>
* lib/sim-defs.exp (sim_init): Unset target ldscript here.
2015-03-30 Mike Frysinger <vapier@gentoo.org>
* configure.ac: Add d10v-*-elf.
* configure: Regenerate.
2015-03-29 Mike Frysinger <vapier@gentoo.org>
* lib/sim-defs.exp (run_sim_test): Declare seen_output as 0. When
the test has an output keyword, set it to 1. Set default output only
when seen_output is 0.
2015-03-29 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2015-03-28 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2015-03-28 James Bowman <james.bowman@ftdichip.com>
* configure: Regenerate.
2014-03-10 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2014-03-04 Mike Frysinger <vapier@gentoo.org>
* common/bits-gen.c (main): Change to new style prototype.
2013-09-23 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
2012-06-15 Joel Brobecker <brobecker@adacore.com>
* configure: Regenerate.
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
2012-03-18 Mike Frysinger <vapier@gentoo.org>
* .gitignore: New file.
2011-10-17 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate after bfin testsuite update.
2011-05-16 Mike Frysinger <vapier@gentoo.org>
* lib/sim-defs.exp: Support cc tag in test files.
(run_sim_test): Support global_cc_options in boards files. Convert
assembler options into compiler options (c_as_options) with -Wa.
Convert linker options into compiler options (c_ld_options) with -Wl.
Compile .c and .S files into .x programs.
2011-05-04 Joseph Myers <joseph@codesourcery.com>
* configure: Regenerate.
2010-04-26 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (arch): Set to @sim_arch@.
* configure.ac: Delete arch logic and include ../configure.tgt.
* configure: Regenerated.
* lib/sim-defs.exp (sim_run): Default sim to ../arch/run.
2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* configure: Regenerate.
2009-01-18 Hans-Peter Nilsson <hp@axis.com>
* lib/sim-defs.exp (run_sim_test): New option progopts.
2005-01-11 Andrew Cagney <cagney@localhost.localdomain>
* configure: Regenerated to track ../common/aclocal.m4 changes.
2005-01-07 Andrew Cagney <cagney@gnu.org>
* configure.ac: Rename configure.in, require autoconf 2.59.
* configure: Re-generate.
* configure.in: Pass literal subdirectories to AC_CONFIG_SUBDIRS.
* configure: Re-generate.
* fr30-elf, d30v-elf: Delete directory.
2004-11-16 Hans-Peter Nilsson <hp@axis.com>
* lib/sim-defs.exp (run_sim_test): Make multiple "output"
specifications concatenate, not override.
Support "xfail" and "kfail".
2004-10-26 Nick Clifton <nickc@redhat.com>
* lib/sim-defs.exp (sim_run): Add support for the "rawsid"
protocol.
2004-09-13 DJ Delorie <dj@redhat.com>
* lib/sim-defs.exp (run_sim_test): Add global_as_options,
global_ld_options, and global_sim_options to all test cases, if
defined.
2004-05-12 Ben Elliston <bje@au.ibm.com>
* lib/sim-defs.exp: Remove stray semicolons.
2004-01-26 Chris Demetriou <cgd@broadcom.com>
* sim/mips: New directory. Tests for the MIPS simulator.
2004-01-23 Ben Elliston <bje@wasabisystems.com>
* lib/sim-defs.exp (run_sim_test): Delete the .o and .x files if a
test passes.
2003-08-20 Michael Snyder <msnyder@redhat.com>
On behalf of Dave Brolley
* sim/frv: New testsuite.
* frv-elf: New testsuite.
2003-07-09 Michael Snyder <msnyder@redhat.com>
* sim/sh: New directory. Tests for Renesas sh family.
2003-04-13 Michael Snyder <msnyder@redhat.com>
* sim/h8300: New directory. Tests for Renesas h8/300 family.
2002-06-16 Andrew Cagney <ac131313@redhat.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
2001-07-31 Ben Elliston <bje@redhat.com>
* lib/sim-defs.exp (run_sim_test): Include a description such as
"assembling" or "linking" that identifies the phase a test fails
in, for easier analysis of failures.
2000-11-01 Dave Brolley <brolley@cygnus.com>
* lib/sim-defs.exp (run_sm_test): Correct comment. "output" and
"xerror" options do not use a list of machines. Clear options from
previous test case. Use "$cpu_option" to identify the machine to the
assembler, if specified.
Tue May 23 21:39:23 2000 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
1999-09-15 Doug Evans <devans@casey.cygnus.com>
* sim/arm/b.cgs: New testcase.
* sim/arm/bic.cgs: New testcase.
* sim/arm/bl.cgs: New testcase.
Thu Sep 2 18:15:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
* configure: Regenerated to track ../common/aclocal.m4 changes.
1999-08-30 Doug Evans <devans@casey.cygnus.com>
* lib/sim-defs.exp (run_sim_test): Rename all_machs arg to
requested_machs, now is list of machs to run tests for.
Delete locals AS,ASFLAGS,LD,LDFLAGS. Use target_assemble
and target_link instead.
Fri Feb 5 12:41:11 1999 Doug Evans <devans@canuck.cygnus.com>
* lib/sim-defs.exp (sim_run): Print simulator arguments log message.
1999-01-05 Doug Evans <devans@casey.cygnus.com>
* lib/sim-defs.exp (run_sim_test): New arg all_machs.
1998-12-14 Doug Evans <devans@casey.cygnus.com>
* lib/sim-defs.exp (run_sim_test): New option xerror, for expected
errors. Translate \n sequences in expected output to newline char.
(slurp_options): Make parentheses optional.
(sim_run): Look for board_info sim,options.
Wed Nov 18 10:50:19 1998 Andrew Cagney <cagney@b1.cygnus.com>
* common/bits-gen.c (main): Add BYTE_ORDER so that it matches
recent sim/common/sim-basics.h changes.
* common/Makefile.in: Update.
Fri Oct 30 00:37:31 1998 Felix Lee <flee@cygnus.com>
* lib/sim-defs.exp (sim_run): download target program to remote
host, if necessary. for unix-driven win32 testing.
Fri Jul 31 17:49:13 1998 Felix Lee <flee@cygnus.com>
* lib/sim-defs.exp (sim_run): remote_spawn, use writeto instead of
writeonly.
Fri Jul 24 09:40:34 1998 Doug Evans <devans@canuck.cygnus.com>
* Makefile.in (clean,mostlyclean): Change leading spaces to a tab.
Tue Jun 16 15:44:01 1998 Jillian Ye <jillian@cygnus.com>
* lib/sim-defs.exp: Print out timeout setting info when "-v" is used.
Thu Jun 11 15:24:53 1998 Doug Evans <devans@canuck.cygnus.com>
* lib/sim-defs.exp (sim_run): Argument env_vals renamed to options,
which is now a list of options controlling the behaviour of sim_run.
Mon Jun 1 18:54:22 1998 Frank Ch. Eigler <fche@cygnus.com>
* lib/sim-defs.exp (sim_run): Add possible environment variable
list to simulator run.
Thu May 28 14:59:46 1998 Jillian Ye <jillian@cygnus.com>
* Makefile.in: Take RUNTEST out of FLAG_TO_PASS
so that make check can be invoked recursively.
Thu May 14 11:48:35 1998 Doug Evans <devans@canuck.cygnus.com>
* config/default.exp (CC,SIM): Delete.
* lib/sim-defs.exp (sim_run): Fix handling of output redirection.
New arg prog_opts. All callers updated.
Fri May 8 18:10:28 1998 Jillian Ye <jillian@cygnus.com>
* Makefile.in: Made "check" the target of two
dependencies (test1, test2) so that test2 get a chance to
run even when test1 failed if "make -k check" is used.
Fri May 8 14:41:28 1998 Doug Evans <devans@canuck.cygnus.com>
* lib/sim-defs.exp (sim_version): Simplify.
(sim_run): Implement.
(run_sim_test): Use sim_run.
(sim_compile): New proc.
Mon May 4 17:59:11 1998 Frank Ch. Eigler <fche@cygnus.com>
* config/default.exp: Added C compiler settings.
Wed Apr 22 12:26:28 1998 Doug Evans <devans@canuck.cygnus.com>
* Makefile.in (TARGET_FLAGS_TO_PASS): Delete LIBS, LDFLAGS.
Tue Apr 21 10:49:03 1998 Doug Evans <devans@canuck.cygnus.com>
* lib/sim-defs.exp (run_sim_test): Don't exit early if one mach fails,
try all machs.
Wed Feb 25 11:01:17 1998 Doug Evans <devans@canuck.cygnus.com>
* Makefile.in (RUNTEST): Fix path to runtest.
Tue Feb 17 12:46:05 1998 Doug Evans <devans@seba.cygnus.com>
* config/default.exp: New file.
* lib/sim-defs.exp: New file.
* Makefile.in (build_alias): Define.
(arch): Define.
(RUNTEST_FOR_TARGET): Delete.
(RUNTEST): Fix.
(check): Depend on site.exp. Run dejagnu.
(site.exp): New target.
* configure.in (arch): Define from target_cpu.
* configure: Regenerate.
Wed Sep 17 10:21:26 1997 Andrew Cagney <cagney@b1.cygnus.com>
* common/bits-gen.c (gen_bit): Pass in the full name of the macro.
(gen_mask): Ditto.
* common/bits-tst.c (main): Add tests for LSSEXT, MSSEXT.
(calc): Add support for 8 bit version of macros.
(main): Add tests for 8 bit versions of macros.
(check_sext): Check SEXT of zero clears bits.
* common/bits-gen.c (main): Generate tests for 8 bit versions of
macros.
Thu Sep 11 13:04:40 1997 Andrew Cagney <cagney@b1.cygnus.com>
* common/Make-common.in: New file, provide generic rules for
running checks.
Mon Sep 1 16:43:55 1997 Andrew Cagney <cagney@b1.cygnus.com>
* configure.in (configdirs): Test for the target directory instead
of matching on a target.