binutils-gdb/sim/m4
Alan Modra e7ad52cde6 sim --enable-cgen-maint
I had reason yesterday to want to regenerate configury files which I
do with --enable-maintainer-mode, and added --enable-cgen-maint
accidentally.  The first problem I hit is that sim looks for cgen in a
different directory by default than opcodes, and I had my source
layout set up for opcodes rather than sim.  Fix that by making both
use ../cgen first, then ../../cgen relative to sim/ and opcodes/.  The
next problem was that various sim local.mk files expected generated
sources in the build dir rather than the source dir.  Fix that by
adding $(srcdir) to paths.  Finally, the generated iq2000 files had a
compile error, fixed by the cpu/iq2000.cpu patch.

cpu/
	* iq2000.cpu (syscall): Add pc arg.
opcodes/
	* configure.ac (cgendir): Default to ../../cgen, but use ../cgen
	if found there.
	* configure: Regenerate.
sim/m4/
	* sim_ac_option_cgen_maint.m4 (cgendir): Look in ../cgen too.
sim/
	* cris/local.mk: Add $(srcdir) to paths for regenerated source.
	* frv/local.mk: Likewise.
	* iq2000/local.mk: Likewise.
	* lm32/local.mk: Likewise.
	* m32r/local.mk: Likewise.
	* or1k/local.mk: Likewise.
	* Makefile.in: Regenerate.
	* configure: Regenerate.
2023-08-19 12:41:32 +09:30
..
sim_ac_option_alignment.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_assert.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_bitsize.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_cgen_maint.m4 sim --enable-cgen-maint 2023-08-19 12:41:32 +09:30
sim_ac_option_debug.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_endian.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_environment.m4 sim: drop mention of & support for subdir configure 2023-01-01 17:35:16 -05:00
sim_ac_option_float.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_hardware.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_inline.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_profile.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_reserved_bits.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_scache.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_smp.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_stdio.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_trace.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_warnings.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_option_xor_endian.m4 Update copyright year range in header of all files managed by GDB 2023-01-01 17:01:16 +04:00
sim_ac_platform.m4 sim: assume sys/stat.h always exists (via gnulib) 2023-01-16 04:42:47 -05:00
sim_ac_toolchain.m4 sim: build: stop probing system extensions (ourselves) 2023-01-16 04:22:10 -05:00