aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoel Brobecker <brobecker@gnat.com>2012-06-15 17:20:10 +0000
committerJoel Brobecker <brobecker@gnat.com>2012-06-15 17:20:10 +0000
commit5f3ef9d03542dc296b9f34b1d01711028c042f55 (patch)
treefb373035e84dcfb0ec698bffebe1a80aeb79a347
parent663b969e6822015e34d1ab00084501a600341ab2 (diff)
downloadfsf-binutils-gdb-5f3ef9d03542dc296b9f34b1d01711028c042f55.zip
fsf-binutils-gdb-5f3ef9d03542dc296b9f34b1d01711028c042f55.tar.gz
fsf-binutils-gdb-5f3ef9d03542dc296b9f34b1d01711028c042f55.tar.bz2
Define PACKAGE macro in all sims' config.h.
Some of the common includes in include/gdb such as callback.h include bfd.h. But there was a recent change in bfd-in.h to require that config.h be included before bfd.h can be included: /* PR 14072: Ensure that config.h is included first. */ #if !defined PACKAGE && !defined PACKAGE_VERSION #error config.h must be included before this header #endif PACKAGE_VERSION is always defined by default by the AC_INIT autoconf macro, but PACKAGE isn't. This patch updates the SIM_AC_COMMON macro to define it, and then regenerates all configure scripts and config.in files. sim/common/changeLog: * acinclude.m4 (SIM_AC_COMMON): Define PACKAGE. * config.in, configure: Regenerate. sim/ChangeLog: * configure: Regenerate. sim/arm/ChangeLog: * config.in, configure: Regenerate. sim/avr/ChangeLog: * config.in, configure: Regenerate. sim/bfin/ChangeLog: * config.in, configure: Regenerate. sim/cr16/ChangeLog: * config.in, configure: Regenerate. sim/cris/ChangeLog: * config.in, configure: Regenerate. sim/d10v/ChangeLog: * config.in, configure: Regenerate. sim/erc32/ChangeLog: * config.in, configure: Regenerate. sim/frv/ChangeLog: * config.in, configure: Regenerate. sim/h8300/ChangeLog: * config.in, configure: Regenerate. sim/iq2000/ChangeLog: * config.in, configure: Regenerate. sim/lm32/ChangeLog: * config.in, configure: Regenerate. sim/m32c/ChangeLog: * config.in, configure: Regenerate. sim/m32r/ChangeLog: * config.in, configure: Regenerate. sim/m68hc11/ChangeLog: * config.in, configure: Regenerate. sim/mcore/ChangeLog: * config.in, configure: Regenerate. sim/microblaze/ChangeLog: * config.in, configure: Regenerate. sim/mips/ChangeLog: * config.in, configure: Regenerate. sim/mn10300/ChangeLog: * config.in, configure: Regenerate. sim/moxie/ChangeLog: * config.in, configure: Regenerate. sim/ppc/ChangeLog: * configure: Regenerate. sim/rl78/ChangeLog: * config.in, configure: Regenerate. sim/rx/ChangeLog: * config.in, configure: Regenerate. sim/sh/ChangeLog: * config.in, configure: Regenerate. sim/sh64/ChangeLog: * config.in, configure: Regenerate. sim/v850/ChangeLog: * config.in, configure: Regenerate. sim/testsuite/ChangeLog: * configure: Regenerate.
-rw-r--r--sim/ChangeLog4
-rw-r--r--sim/arm/ChangeLog4
-rw-r--r--sim/arm/config.in3
-rwxr-xr-xsim/arm/configure12
-rw-r--r--sim/avr/ChangeLog4
-rw-r--r--sim/avr/config.in3
-rwxr-xr-xsim/avr/configure12
-rw-r--r--sim/bfin/ChangeLog4
-rw-r--r--sim/bfin/config.in3
-rwxr-xr-xsim/bfin/configure12
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/acinclude.m47
-rw-r--r--sim/common/config.in3
-rwxr-xr-xsim/common/configure12
-rwxr-xr-xsim/configure12
-rw-r--r--sim/cr16/ChangeLog4
-rw-r--r--sim/cr16/config.in3
-rw-r--r--sim/cr16/configure12
-rw-r--r--sim/cris/ChangeLog4
-rw-r--r--sim/cris/config.in3
-rwxr-xr-xsim/cris/configure12
-rw-r--r--sim/d10v/ChangeLog4
-rw-r--r--sim/d10v/config.in3
-rwxr-xr-xsim/d10v/configure12
-rw-r--r--sim/erc32/ChangeLog4
-rw-r--r--sim/erc32/config.in3
-rwxr-xr-xsim/erc32/configure12
-rw-r--r--sim/frv/ChangeLog4
-rw-r--r--sim/frv/config.in3
-rwxr-xr-xsim/frv/configure12
-rw-r--r--sim/h8300/ChangeLog4
-rw-r--r--sim/h8300/config.in3
-rwxr-xr-xsim/h8300/configure12
-rw-r--r--sim/iq2000/ChangeLog4
-rw-r--r--sim/iq2000/config.in3
-rwxr-xr-xsim/iq2000/configure12
-rwxr-xr-xsim/lm32/ChangeLog4
-rw-r--r--sim/lm32/config.in3
-rwxr-xr-xsim/lm32/configure12
-rw-r--r--sim/m32c/ChangeLog4
-rw-r--r--sim/m32c/config.in3
-rwxr-xr-xsim/m32c/configure12
-rw-r--r--sim/m32r/ChangeLog4
-rw-r--r--sim/m32r/config.in3
-rwxr-xr-xsim/m32r/configure12
-rw-r--r--sim/m68hc11/ChangeLog4
-rw-r--r--sim/m68hc11/config.in3
-rwxr-xr-xsim/m68hc11/configure12
-rw-r--r--sim/mcore/ChangeLog4
-rw-r--r--sim/mcore/config.in3
-rwxr-xr-xsim/mcore/configure12
-rw-r--r--sim/microblaze/ChangeLog4
-rw-r--r--sim/microblaze/config.in3
-rw-r--r--sim/microblaze/configure12
-rw-r--r--sim/mips/ChangeLog4
-rw-r--r--sim/mips/config.in3
-rwxr-xr-xsim/mips/configure12
-rw-r--r--sim/mn10300/ChangeLog4
-rw-r--r--sim/mn10300/config.in3
-rwxr-xr-xsim/mn10300/configure12
-rw-r--r--sim/moxie/ChangeLog4
-rw-r--r--sim/moxie/config.in3
-rw-r--r--sim/moxie/configure12
-rw-r--r--sim/ppc/ChangeLog4
-rwxr-xr-xsim/ppc/configure44
-rw-r--r--sim/rl78/ChangeLog4
-rw-r--r--sim/rl78/config.in3
-rwxr-xr-xsim/rl78/configure12
-rw-r--r--sim/rx/ChangeLog4
-rw-r--r--sim/rx/config.in3
-rwxr-xr-xsim/rx/configure12
-rw-r--r--sim/sh/ChangeLog4
-rw-r--r--sim/sh/config.in3
-rwxr-xr-xsim/sh/configure12
-rw-r--r--sim/sh64/ChangeLog4
-rw-r--r--sim/sh64/config.in3
-rwxr-xr-xsim/sh64/configure12
-rw-r--r--sim/testsuite/ChangeLog4
-rwxr-xr-xsim/testsuite/configure2
-rw-r--r--sim/v850/ChangeLog4
-rw-r--r--sim/v850/config.in3
-rwxr-xr-xsim/v850/configure12
82 files changed, 543 insertions, 10 deletions
diff --git a/sim/ChangeLog b/sim/ChangeLog
index db1fecb..638a5ce 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * configure: Regenerate.
+
2012-06-06 Michael Eager <eager@eagercon.com>
* microblaze/interp.c (config.h): Add #include.
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index b0af3dc..7757c8c 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-06-13 Nick Clifton <nickc@redhat.com>
* wrapper.c (sim_create_inferior): Treat WMMX2 binaries as iWMMXt
diff --git a/sim/arm/config.in b/sim/arm/config.in
index 76a9126..0db6f1e 100644
--- a/sim/arm/config.in
+++ b/sim/arm/config.in
@@ -73,6 +73,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/arm/configure b/sim/arm/configure
index bf7179e..48cfa9a 100755
--- a/sim/arm/configure
+++ b/sim/arm/configure
@@ -620,6 +620,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4051,6 +4052,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
index 7b38a16..15c2876 100644
--- a/sim/avr/ChangeLog
+++ b/sim/avr/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
diff --git a/sim/avr/config.in b/sim/avr/config.in
index 76a9126..0db6f1e 100644
--- a/sim/avr/config.in
+++ b/sim/avr/config.in
@@ -73,6 +73,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/avr/configure b/sim/avr/configure
index 464b555..a6af470 100755
--- a/sim/avr/configure
+++ b/sim/avr/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4050,6 +4051,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index d27f888..5d09b5a 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-04-09 Mike Frysinger <vapier@gentoo.org>
* configure.ac (SIM_AC_OPTION_HARDWARE): Add bfin_pint.
diff --git a/sim/bfin/config.in b/sim/bfin/config.in
index 80a9adb..04d1e5d 100644
--- a/sim/bfin/config.in
+++ b/sim/bfin/config.in
@@ -130,6 +130,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/bfin/configure b/sim/bfin/configure
index 286cda8..c36fa89 100755
--- a/sim/bfin/configure
+++ b/sim/bfin/configure
@@ -625,6 +625,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4090,6 +4091,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 54a5613..75afcc1 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+2012-06-16 Joel Brobecker <brobecker@adacore.com>
+
+ * acinclude.m4 (SIM_AC_COMMON): Define PACKAGE.
+ * config.in, configure: Regenerate.
+
2012-05-24 Pedro Alves <palves@redhat.com>
* sim-signal.h (sim_signal_to_target): Rename to ...
diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
index ef42775..fe0a5b7 100644
--- a/sim/common/acinclude.m4
+++ b/sim/common/acinclude.m4
@@ -47,6 +47,13 @@ AR=${AR-ar}
AC_SUBST(AR)
AC_PROG_RANLIB
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+AC_DEFINE_UNQUOTED(PACKAGE, "$PACKAGE", [Name of this package. ])
+AC_SUBST(PACKAGE)
+
# Dependency checking.
ZW_CREATE_DEPDIR
ZW_PROG_COMPILER_DEPENDENCIES([CC])
diff --git a/sim/common/config.in b/sim/common/config.in
index 040079c..db15bcc 100644
--- a/sim/common/config.in
+++ b/sim/common/config.in
@@ -139,6 +139,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/common/configure b/sim/common/configure
index a9d8925..d6ad959 100755
--- a/sim/common/configure
+++ b/sim/common/configure
@@ -620,6 +620,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -3854,6 +3855,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/configure b/sim/configure
index 8fb62cb..7fd0fd8 100755
--- a/sim/configure
+++ b/sim/configure
@@ -3768,17 +3768,17 @@ subdirs="$subdirs arm"
sim_testsuite=yes
;;
- rx-*-*)
+ rl78-*-*)
- sim_arch=rx
- subdirs="$subdirs rx"
+ sim_arch=rl78
+ subdirs="$subdirs rl78"
;;
- rl78-*-*)
+ rx-*-*)
- sim_arch=rl78
- subdirs="$subdirs rl78"
+ sim_arch=rx
+ subdirs="$subdirs rx"
;;
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog
index c7f1189..8c3c5a1 100644
--- a/sim/cr16/ChangeLog
+++ b/sim/cr16/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
diff --git a/sim/cr16/config.in b/sim/cr16/config.in
index 76a9126..0db6f1e 100644
--- a/sim/cr16/config.in
+++ b/sim/cr16/config.in
@@ -73,6 +73,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/cr16/configure b/sim/cr16/configure
index 8e69d60..cb3a339 100644
--- a/sim/cr16/configure
+++ b/sim/cr16/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4058,6 +4059,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index 3f538ec..a14285c 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-18 Nick Clifton <nickc@redhat.com>
PR 14072
diff --git a/sim/cris/config.in b/sim/cris/config.in
index 809fc79..a00564c 100644
--- a/sim/cris/config.in
+++ b/sim/cris/config.in
@@ -91,6 +91,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/cris/configure b/sim/cris/configure
index 9bfebd5..153be18 100755
--- a/sim/cris/configure
+++ b/sim/cris/configure
@@ -622,6 +622,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4077,6 +4078,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index 58b3411..1266ead 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
diff --git a/sim/d10v/config.in b/sim/d10v/config.in
index 76a9126..0db6f1e 100644
--- a/sim/d10v/config.in
+++ b/sim/d10v/config.in
@@ -73,6 +73,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/d10v/configure b/sim/d10v/configure
index 8e69d60..cb3a339 100755
--- a/sim/d10v/configure
+++ b/sim/d10v/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4058,6 +4059,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index 71181e1..3df021f 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
diff --git a/sim/erc32/config.in b/sim/erc32/config.in
index 76a9126..0db6f1e 100644
--- a/sim/erc32/config.in
+++ b/sim/erc32/config.in
@@ -73,6 +73,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/erc32/configure b/sim/erc32/configure
index 1ef137c..dfab09d 100755
--- a/sim/erc32/configure
+++ b/sim/erc32/configure
@@ -621,6 +621,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4052,6 +4053,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index dfc6928..c9af6e8 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/frv/config.in b/sim/frv/config.in
index 2f19ba3..8de933c 100644
--- a/sim/frv/config.in
+++ b/sim/frv/config.in
@@ -76,6 +76,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/frv/configure b/sim/frv/configure
index 1bbe75d..cc027a1 100755
--- a/sim/frv/configure
+++ b/sim/frv/configure
@@ -623,6 +623,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4070,6 +4071,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index 2aaf0fb..9317b17 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-18 Nick Clifton <nickc@redhat.com>
PR 14072
diff --git a/sim/h8300/config.in b/sim/h8300/config.in
index cbaba1a..23e3b04 100644
--- a/sim/h8300/config.in
+++ b/sim/h8300/config.in
@@ -76,6 +76,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/h8300/configure b/sim/h8300/configure
index 61dabac..7aa66b9 100755
--- a/sim/h8300/configure
+++ b/sim/h8300/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4050,6 +4051,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog
index 2fe8559..553c8ef 100644
--- a/sim/iq2000/ChangeLog
+++ b/sim/iq2000/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/iq2000/config.in b/sim/iq2000/config.in
index 2f19ba3..8de933c 100644
--- a/sim/iq2000/config.in
+++ b/sim/iq2000/config.in
@@ -76,6 +76,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/iq2000/configure b/sim/iq2000/configure
index c0cab54..13a8648 100755
--- a/sim/iq2000/configure
+++ b/sim/iq2000/configure
@@ -622,6 +622,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4069,6 +4070,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
index c691c7f..df256ec 100755
--- a/sim/lm32/ChangeLog
+++ b/sim/lm32/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/lm32/config.in b/sim/lm32/config.in
index 777d363..faafaf4 100644
--- a/sim/lm32/config.in
+++ b/sim/lm32/config.in
@@ -79,6 +79,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/lm32/configure b/sim/lm32/configure
index faf13ef..b4826ca 100755
--- a/sim/lm32/configure
+++ b/sim/lm32/configure
@@ -622,6 +622,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4069,6 +4070,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog
index 63d6b4a..3293da0 100644
--- a/sim/m32c/ChangeLog
+++ b/sim/m32c/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
diff --git a/sim/m32c/config.in b/sim/m32c/config.in
index 2f21832..5de3b5e 100644
--- a/sim/m32c/config.in
+++ b/sim/m32c/config.in
@@ -88,6 +88,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/m32c/configure b/sim/m32c/configure
index 4ea7421..1b01ae3 100755
--- a/sim/m32c/configure
+++ b/sim/m32c/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4050,6 +4051,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index d59b73c..e0cf491 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-03-25 Mike Frysinger <vapier@gentoo.org>
* traps-linux.c (sim_core_trans_addr): Delete prototype.
diff --git a/sim/m32r/config.in b/sim/m32r/config.in
index 2f19ba3..8de933c 100644
--- a/sim/m32r/config.in
+++ b/sim/m32r/config.in
@@ -76,6 +76,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/m32r/configure b/sim/m32r/configure
index 5a68f03..382a4b2 100755
--- a/sim/m32r/configure
+++ b/sim/m32r/configure
@@ -624,6 +624,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4071,6 +4072,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index 1c2dd96..645bd8b 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/m68hc11/config.in b/sim/m68hc11/config.in
index 777d363..faafaf4 100644
--- a/sim/m68hc11/config.in
+++ b/sim/m68hc11/config.in
@@ -79,6 +79,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure
index 667f0a0..c7eaea0 100755
--- a/sim/m68hc11/configure
+++ b/sim/m68hc11/configure
@@ -620,6 +620,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4067,6 +4068,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog
index 099b2a4..c81a80c 100644
--- a/sim/mcore/ChangeLog
+++ b/sim/mcore/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-20 Hans-Peter Nilsson <hp@axis.com>
PR 14072
diff --git a/sim/mcore/config.in b/sim/mcore/config.in
index 76a9126..0db6f1e 100644
--- a/sim/mcore/config.in
+++ b/sim/mcore/config.in
@@ -73,6 +73,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/mcore/configure b/sim/mcore/configure
index bb2d474..e9a1003 100755
--- a/sim/mcore/configure
+++ b/sim/mcore/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4050,6 +4051,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index 3cd0a98..b36edef 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/microblaze/config.in b/sim/microblaze/config.in
index 76a9126..0db6f1e 100644
--- a/sim/microblaze/config.in
+++ b/sim/microblaze/config.in
@@ -73,6 +73,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/microblaze/configure b/sim/microblaze/configure
index bb2d474..e9a1003 100644
--- a/sim/microblaze/configure
+++ b/sim/microblaze/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4050,6 +4051,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index c74038a..39830b1 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-18 Nick Clifton <nickc@redhat.com>
PR 14072
diff --git a/sim/mips/config.in b/sim/mips/config.in
index 064a530..9f71eb8 100644
--- a/sim/mips/config.in
+++ b/sim/mips/config.in
@@ -88,6 +88,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/mips/configure b/sim/mips/configure
index 991e42c..1986f33 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -631,6 +631,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4096,6 +4097,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index 91523db..e8640a7 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/mn10300/config.in b/sim/mn10300/config.in
index eb41f73..94d0403 100644
--- a/sim/mn10300/config.in
+++ b/sim/mn10300/config.in
@@ -100,6 +100,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/mn10300/configure b/sim/mn10300/configure
index 00fb879..1529ac3 100755
--- a/sim/mn10300/configure
+++ b/sim/mn10300/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4072,6 +4073,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog
index e5bb19b..1b35776 100644
--- a/sim/moxie/ChangeLog
+++ b/sim/moxie/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/moxie/config.in b/sim/moxie/config.in
index 2f19ba3..8de933c 100644
--- a/sim/moxie/config.in
+++ b/sim/moxie/config.in
@@ -76,6 +76,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/moxie/configure b/sim/moxie/configure
index 3860f11..5659a75 100644
--- a/sim/moxie/configure
+++ b/sim/moxie/configure
@@ -620,6 +620,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4061,6 +4062,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog
index b7ba20d..9d5be6f 100644
--- a/sim/ppc/ChangeLog
+++ b/sim/ppc/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * configure: Regenerate.
+
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
diff --git a/sim/ppc/configure b/sim/ppc/configure
index d0604d2..fd89cb6 100755
--- a/sim/ppc/configure
+++ b/sim/ppc/configure
@@ -2450,6 +2450,44 @@ ac_compiler_gnu=$ac_cv_c_compiler_gnu
+## -*- Autoconf -*-
+
+# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2007
+# Free Software Foundation, Inc.
+#
+# This file is free software; the Free Software Foundation
+# gives unlimited permission to copy and/or distribute it,
+# with or without modifications, as long as this notice is preserved.
+
+# serial 8
+
+# Based on depend.m4 from automake 1.9, modified for standalone use in
+# an environment where GNU make is required.
+
+# ZW_PROG_COMPILER_DEPENDENCIES
+# -----------------------------
+# Variant of _AM_DEPENDENCIES which just does the dependency probe and
+# sets fooDEPMODE accordingly. Cache-variable compatible with
+# original; not side-effect compatible. As the users of this macro
+# may require accurate dependencies for correct builds, it does *not*
+# honor --disable-dependency-checking, and failure to detect a usable
+# method is an error. depcomp is assumed to be located in
+# $ac_aux_dir.
+#
+# FIXME: Should use the Autoconf 2.5x language-selection mechanism.
+
+
+
+# AM_SET_DEPDIR
+# -------------
+# Choose a directory name for dependency files.
+
+
+# ZW_CREATE_DEPDIR
+# ----------------
+# As AM_SET_DEPDIR, but also create the directory at config.status time.
+
+
@@ -2625,9 +2663,9 @@ sim_inline="-DDEFAULT_INLINE=0"
# AC_PROG_CPP_WERROR
# Test for GNAT.
-# We require the gnatbind program, and a compiler driver that
-# understands Ada. We use the user's CC setting, already found,
-# and possibly add $1 to the command-line parameters.
+# We require the gnatbind & gnatmake programs, as well as a compiler driver
+# that understands Ada. We use the user's CC setting, already found, and
+# possibly add $1 to the command-line parameters.
#
# Sets the shell variable have_gnat to yes or no as appropriate, and
# substitutes GNATBIND and GNATMAKE.
diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog
index 893bfb3..b3bddf7 100644
--- a/sim/rl78/ChangeLog
+++ b/sim/rl78/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
diff --git a/sim/rl78/config.in b/sim/rl78/config.in
index e1d48bd..f7b31b1 100644
--- a/sim/rl78/config.in
+++ b/sim/rl78/config.in
@@ -76,6 +76,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/rl78/configure b/sim/rl78/configure
index 062648c..55cd484 100755
--- a/sim/rl78/configure
+++ b/sim/rl78/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4050,6 +4051,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog
index 52c291f..e5cb451 100644
--- a/sim/rx/ChangeLog
+++ b/sim/rx/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-24 Pedro Alves <palves@redhat.com>
PR gdb/7205
diff --git a/sim/rx/config.in b/sim/rx/config.in
index b640523..8af1fff 100644
--- a/sim/rx/config.in
+++ b/sim/rx/config.in
@@ -82,6 +82,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/rx/configure b/sim/rx/configure
index e233fd6..933f61d 100755
--- a/sim/rx/configure
+++ b/sim/rx/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4054,6 +4055,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog
index 4ac9054..44f3513 100644
--- a/sim/sh/ChangeLog
+++ b/sim/sh/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, config.in, configure: Regenerate.
diff --git a/sim/sh/config.in b/sim/sh/config.in
index 76a9126..0db6f1e 100644
--- a/sim/sh/config.in
+++ b/sim/sh/config.in
@@ -73,6 +73,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/sh/configure b/sim/sh/configure
index bb2d474..e9a1003 100755
--- a/sim/sh/configure
+++ b/sim/sh/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4050,6 +4051,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog
index 50e0c16..25751be 100644
--- a/sim/sh64/ChangeLog
+++ b/sim/sh64/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-05-18 Nick Clifton <nickc@redhat.com>
PR 14072
diff --git a/sim/sh64/config.in b/sim/sh64/config.in
index 2f19ba3..8de933c 100644
--- a/sim/sh64/config.in
+++ b/sim/sh64/config.in
@@ -76,6 +76,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/sh64/configure b/sim/sh64/configure
index df992ca..69e74f6 100755
--- a/sim/sh64/configure
+++ b/sim/sh64/configure
@@ -622,6 +622,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4069,6 +4070,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"
diff --git a/sim/testsuite/ChangeLog b/sim/testsuite/ChangeLog
index 4363332..4eae80d 100644
--- a/sim/testsuite/ChangeLog
+++ b/sim/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * configure: Regenerate.
+
2012-03-24 Mike Frysinger <vapier@gentoo.org>
* configure: Regenerate.
diff --git a/sim/testsuite/configure b/sim/testsuite/configure
index 6a582ab..f03443b 100755
--- a/sim/testsuite/configure
+++ b/sim/testsuite/configure
@@ -1907,7 +1907,7 @@ case "${target}" in
sim_arch=sh
sim_testsuite=yes
;;
- sparc-*-rtems*|sparc-*-elf*)
+ sparc-*-rtems*|sparc-*-elf*|erc32*-*-*)
sim_arch=erc32
sim_testsuite=yes
;;
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index e1430ee..5c4f25d 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,3 +1,7 @@
+2012-06-15 Joel Brobecker <brobecker@adacore.com>
+
+ * config.in, configure: Regenerate.
+
2012-03-28 Rathish C <rathish.c@kpitcummins.com>
* sim-main.h (struct _v850_regs): Add new fields mpu0_sregs,
diff --git a/sim/v850/config.in b/sim/v850/config.in
index 4c78de4..a3f18e9 100644
--- a/sim/v850/config.in
+++ b/sim/v850/config.in
@@ -97,6 +97,9 @@
/* Define to 1 if you have the `__setfpucw' function. */
#undef HAVE___SETFPUCW
+/* Name of this package. */
+#undef PACKAGE
+
/* Define to the address where bug reports for this package should be sent. */
#undef PACKAGE_BUGREPORT
diff --git a/sim/v850/configure b/sim/v850/configure
index 0764760..7a3142e 100755
--- a/sim/v850/configure
+++ b/sim/v850/configure
@@ -619,6 +619,7 @@ MAKE
CCDEPMODE
DEPDIR
am__leading_dot
+PACKAGE
RANLIB
AR
HDEFINES
@@ -4068,6 +4069,17 @@ else
fi
+# Some of the common include files depend on bfd.h, and bfd.h checks
+# that config.h is included first by testing that the PACKAGE macro
+# is defined.
+PACKAGE=sim
+
+cat >>confdefs.h <<_ACEOF
+#define PACKAGE "$PACKAGE"
+_ACEOF
+
+
+
# Dependency checking.
ac_config_commands="$ac_config_commands depdir"