From 08547b1f1d3916ee5b79b3303078a807320678f3 Mon Sep 17 00:00:00 2001 From: Andrew Cagney Date: Mon, 15 Sep 1997 08:11:50 +0000 Subject: [PATCH] Determine ARCHITECTURE from program if possible. Rename common's generated config.h to cconfig.h. --- sim/common/ChangeLog | 12 ++++++++++++ sim/common/configure.in | 4 ++-- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index e900667d7e..62f8fc491d 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,15 @@ +Mon Sep 15 17:36:15 1997 Andrew Cagney + + * aclocal.m4 (SIM_AC_COMMON): Add optional config.h file argument. + configure.in: Output to cconfig.h instead of config.h. + + * configure: Regenerated to track ../common/aclocal.m4 changes. + +Mon Sep 15 15:39:28 1997 Andrew Cagney + + * sim-utils.c (sim_analyze_program): Set STATE_ARCHITECTURE from + BFD if known. + Tue Sep 9 21:46:46 1997 Felix Lee * callback.c (os_write): divert stdout and stderr to their diff --git a/sim/common/configure.in b/sim/common/configure.in index 833c919ed5..b8ea5382f5 100644 --- a/sim/common/configure.in +++ b/sim/common/configure.in @@ -3,7 +3,7 @@ AC_PREREQ(2.5)dnl AC_INIT(Makefile.in) # This is intended for use by the target specific directories, and by us. -SIM_AC_COMMON +SIM_AC_COMMON(cconfig.h) # Put a useful copy of CPP_FOR_TARGET in Makefile. # This is only used to build the target values header files. These files are @@ -37,4 +37,4 @@ AC_SUBST(TARGET_SUBDIR) AC_CHECK_HEADERS(stdlib.h string.h strings.h time.h sys/times.h) AC_OUTPUT(Makefile, -[case x$CONFIG_HEADERS in xconfig.h:config.in) echo > stamp-h ;; esac]) +[case x$CONFIG_HEADERS in xcconfig.h:config.in) echo > stamp-h ;; esac]) -- 2.34.1