aboutsummaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
Diffstat (limited to 'sim')
-rw-r--r--sim/.gitignore1
-rw-r--r--sim/ChangeLog5
-rw-r--r--sim/README-HACKING8
-rw-r--r--sim/arm/ChangeLog6
-rw-r--r--sim/arm/config.in2
-rwxr-xr-xsim/arm/configure14
-rw-r--r--sim/arm/tconfig.h (renamed from sim/arm/tconfig.in)0
-rw-r--r--sim/avr/ChangeLog4
-rw-r--r--sim/avr/aclocal.m417
-rw-r--r--sim/avr/config.in2
-rwxr-xr-xsim/avr/configure18
-rw-r--r--sim/bfin/ChangeLog6
-rw-r--r--sim/bfin/aclocal.m417
-rw-r--r--sim/bfin/config.in2
-rwxr-xr-xsim/bfin/configure18
-rw-r--r--sim/bfin/tconfig.h (renamed from sim/bfin/tconfig.in)0
-rw-r--r--sim/common/ChangeLog9
-rw-r--r--sim/common/acinclude.m413
-rw-r--r--sim/common/config.in2
-rwxr-xr-xsim/common/configure14
-rw-r--r--sim/common/nrun.c1
-rw-r--r--sim/common/run.c1
-rw-r--r--sim/common/sim-basics.h5
-rw-r--r--sim/common/tconfig.h (renamed from sim/common/tconfig.in)0
-rw-r--r--sim/cr16/ChangeLog4
-rw-r--r--sim/cr16/config.in2
-rwxr-xr-xsim/cr16/configure14
-rw-r--r--sim/cris/ChangeLog7
-rw-r--r--sim/cris/aclocal.m417
-rw-r--r--sim/cris/config.in2
-rwxr-xr-xsim/cris/configure18
-rw-r--r--sim/cris/rvdummy.c1
-rw-r--r--sim/cris/tconfig.h (renamed from sim/cris/tconfig.in)0
-rw-r--r--sim/d10v/ChangeLog4
-rw-r--r--sim/d10v/config.in2
-rwxr-xr-xsim/d10v/configure14
-rw-r--r--sim/erc32/ChangeLog4
-rw-r--r--sim/erc32/config.in2
-rwxr-xr-xsim/erc32/configure14
-rw-r--r--sim/frv/ChangeLog6
-rw-r--r--sim/frv/aclocal.m417
-rw-r--r--sim/frv/config.in2
-rwxr-xr-xsim/frv/configure18
-rw-r--r--sim/frv/tconfig.h (renamed from sim/frv/tconfig.in)0
-rw-r--r--sim/h8300/ChangeLog6
-rw-r--r--sim/h8300/config.in2
-rwxr-xr-xsim/h8300/configure14
-rw-r--r--sim/h8300/tconfig.h (renamed from sim/h8300/tconfig.in)0
-rw-r--r--sim/iq2000/ChangeLog6
-rw-r--r--sim/iq2000/aclocal.m417
-rw-r--r--sim/iq2000/config.in2
-rwxr-xr-xsim/iq2000/configure18
-rw-r--r--sim/iq2000/tconfig.h (renamed from sim/iq2000/tconfig.in)0
-rw-r--r--sim/lm32/ChangeLog6
-rw-r--r--sim/lm32/aclocal.m417
-rw-r--r--sim/lm32/config.in2
-rwxr-xr-xsim/lm32/configure18
-rw-r--r--sim/lm32/tconfig.h (renamed from sim/lm32/tconfig.in)0
-rw-r--r--sim/m32c/ChangeLog4
-rw-r--r--sim/m32c/aclocal.m417
-rw-r--r--sim/m32c/config.in2
-rwxr-xr-xsim/m32c/configure18
-rw-r--r--sim/m32r/ChangeLog6
-rw-r--r--sim/m32r/aclocal.m417
-rw-r--r--sim/m32r/config.in2
-rwxr-xr-xsim/m32r/configure18
-rw-r--r--sim/m32r/tconfig.h (renamed from sim/m32r/tconfig.in)0
-rw-r--r--sim/m68hc11/ChangeLog4
-rw-r--r--sim/m68hc11/config.in2
-rwxr-xr-xsim/m68hc11/configure14
-rw-r--r--sim/mcore/ChangeLog4
-rw-r--r--sim/mcore/config.in2
-rwxr-xr-xsim/mcore/configure14
-rw-r--r--sim/microblaze/ChangeLog4
-rw-r--r--sim/microblaze/config.in2
-rwxr-xr-xsim/microblaze/configure14
-rw-r--r--sim/mips/ChangeLog6
-rw-r--r--sim/mips/config.in2
-rwxr-xr-xsim/mips/configure14
-rw-r--r--sim/mips/tconfig.h (renamed from sim/mips/tconfig.in)0
-rw-r--r--sim/mn10300/ChangeLog4
-rw-r--r--sim/mn10300/config.in2
-rwxr-xr-xsim/mn10300/configure14
-rw-r--r--sim/moxie/ChangeLog4
-rw-r--r--sim/moxie/config.in2
-rwxr-xr-xsim/moxie/configure14
-rw-r--r--sim/msp430/ChangeLog4
-rw-r--r--sim/msp430/config.in2
-rwxr-xr-xsim/msp430/configure14
-rw-r--r--sim/rl78/ChangeLog4
-rw-r--r--sim/rl78/aclocal.m417
-rw-r--r--sim/rl78/config.in2
-rwxr-xr-xsim/rl78/configure18
-rw-r--r--sim/rx/ChangeLog4
-rw-r--r--sim/rx/aclocal.m417
-rw-r--r--sim/rx/config.in2
-rwxr-xr-xsim/rx/configure18
-rw-r--r--sim/sh/ChangeLog6
-rw-r--r--sim/sh/config.in2
-rwxr-xr-xsim/sh/configure14
-rw-r--r--sim/sh/tconfig.h (renamed from sim/sh/tconfig.in)0
-rw-r--r--sim/sh64/ChangeLog6
-rw-r--r--sim/sh64/aclocal.m417
-rw-r--r--sim/sh64/config.in2
-rwxr-xr-xsim/sh64/configure18
-rw-r--r--sim/sh64/tconfig.h (renamed from sim/sh64/tconfig.in)0
-rw-r--r--sim/v850/ChangeLog4
-rw-r--r--sim/v850/config.in2
-rwxr-xr-xsim/v850/configure14
109 files changed, 410 insertions, 404 deletions
diff --git a/sim/.gitignore b/sim/.gitignore
index 9440b89..0dce65b 100644
--- a/sim/.gitignore
+++ b/sim/.gitignore
@@ -2,7 +2,6 @@
/*/run
/*/hw-config.h
/*/targ-*
-/*/tconfig.h
/*/version.c
/common/cconfig.h
diff --git a/sim/ChangeLog b/sim/ChangeLog
index 35d0920..37ee409 100644
--- a/sim/ChangeLog
+++ b/sim/ChangeLog
@@ -1,3 +1,8 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * .gitignore: Delete tconfig.h.
+ * README-HACKING: Change tconfig.in to tconfig.h.
+
2014-03-12 Nick Clifton <nickc@redhat.com>
* MAINTAINERS: Add myself as the maintainer for the MSP430.
diff --git a/sim/README-HACKING b/sim/README-HACKING
index 33b6ecb..0a6bbe2 100644
--- a/sim/README-HACKING
+++ b/sim/README-HACKING
@@ -7,7 +7,7 @@ Contents
- Common Makefile Support
- TAGS support
- Generating "configure" files
-- tconfig.in
+- tconfig.h
- C Language Assumptions
- "dump" commands under gdb
@@ -159,12 +159,12 @@ To add the entries to an alternative ChangeLog file, use:
$ make ChangeLog=MyChangeLog ....
-tconfig.in
+tconfig.h
==========
-File tconfig.in defines one or more target configuration macros
+File tconfig.h defines one or more target configuration macros
(e.g. a tm.h file). There are very few that need defining.
-For a list of all of them, see common/tconfig.in.
+For a list of all of them, see common/tconfig.h.
It contains them all, commented out.
The intent is that a new port can just copy this file and
define the ones it needs.
diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog
index bd4ddf2..94bd72f 100644
--- a/sim/arm/ChangeLog
+++ b/sim/arm/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CFLAGS): Add
diff --git a/sim/arm/config.in b/sim/arm/config.in
index 5fed8c1..5ded703 100644
--- a/sim/arm/config.in
+++ b/sim/arm/config.in
@@ -144,3 +144,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/arm/configure b/sim/arm/configure
index 9ee8a77..4e0221e 100755
--- a/sim/arm/configure
+++ b/sim/arm/configure
@@ -8271,6 +8271,8 @@ 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.
@@ -12353,7 +12355,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12356 "configure"
+#line 12358 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12459,7 +12461,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12462 "configure"
+#line 12464 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12940,14 +12942,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/arm/tconfig.in b/sim/arm/tconfig.h
index 04f702d..04f702d 100644
--- a/sim/arm/tconfig.in
+++ b/sim/arm/tconfig.h
diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog
index 9105e38..6f1e042 100644
--- a/sim/avr/ChangeLog
+++ b/sim/avr/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4, config.in, configure: Regenerate.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CFLAGS): Set to
diff --git a/sim/avr/aclocal.m4 b/sim/avr/aclocal.m4
index a24bbeb..517bc73 100644
--- a/sim/avr/aclocal.m4
+++ b/sim/avr/aclocal.m4
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -72,8 +71,8 @@ AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -93,7 +92,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -109,13 +108,13 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008 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 3
+# serial 2
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
@@ -124,7 +123,7 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
+# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
diff --git a/sim/avr/config.in b/sim/avr/config.in
index 5fed8c1..5ded703 100644
--- a/sim/avr/config.in
+++ b/sim/avr/config.in
@@ -144,3 +144,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/avr/configure b/sim/avr/configure
index 3f271cc..fa26277 100755
--- a/sim/avr/configure
+++ b/sim/avr/configure
@@ -8119,7 +8119,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8270,6 +8270,8 @@ 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.
@@ -10142,7 +10144,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12352,7 +12354,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12355 "configure"
+#line 12357 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12458,7 +12460,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12461 "configure"
+#line 12463 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12939,14 +12941,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index 4e2077d..13617de 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4, config.in, configure: Regenerate.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-15 Mike Frysinger <vapier@gentoo.org>
* tconfig.in: Delete includes.
diff --git a/sim/bfin/aclocal.m4 b/sim/bfin/aclocal.m4
index e93cce7..a1b18dc 100644
--- a/sim/bfin/aclocal.m4
+++ b/sim/bfin/aclocal.m4
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -287,8 +286,8 @@ AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -308,7 +307,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -324,13 +323,13 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008 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 3
+# serial 2
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
@@ -339,7 +338,7 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
+# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
diff --git a/sim/bfin/config.in b/sim/bfin/config.in
index 4e2f6d4..20a094e 100644
--- a/sim/bfin/config.in
+++ b/sim/bfin/config.in
@@ -213,3 +213,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/bfin/configure b/sim/bfin/configure
index 6654216..e77e98a 100755
--- a/sim/bfin/configure
+++ b/sim/bfin/configure
@@ -8161,7 +8161,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8312,6 +8312,8 @@ 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.
@@ -10184,7 +10186,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12394,7 +12396,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12397 "configure"
+#line 12399 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12500,7 +12502,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12503 "configure"
+#line 12505 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12981,14 +12983,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/bfin/tconfig.in b/sim/bfin/tconfig.h
index d28fd8d..d28fd8d 100644
--- a/sim/bfin/tconfig.in
+++ b/sim/bfin/tconfig.h
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 08d3b93..b756733 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,12 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * acinclude.m4 (SIM_AC_COMMON): Call AH_BOTTOM. Delete logic for
+ symlinking tconfig.h to tconfig.in.
+ * config.in, configure: Regenerate.
+ * nrun.c, run.c, sim-basics.h: Delete tconfig.h include.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-15 Mike Frysinger <vapier@gentoo.org>
* dv-socker.h (dv_sockser_install): Declare.
diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4
index f96ec35..2e1d31f 100644
--- a/sim/common/acinclude.m4
+++ b/sim/common/acinclude.m4
@@ -53,6 +53,9 @@ AR=${AR-ar}
AC_SUBST(AR)
AC_PROG_RANLIB
+dnl Pull in the target configuration file directly.
+AH_BOTTOM([#include "tconfig.h"])
+
# 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.
@@ -247,16 +250,6 @@ dnl These are available to append to as desired.
sim_link_files=
sim_link_links=
-dnl Create tconfig.h either from simulator's tconfig.in or default one
-dnl in common.
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/common/config.in b/sim/common/config.in
index 5b8ebd8..e0ca8ae 100644
--- a/sim/common/config.in
+++ b/sim/common/config.in
@@ -210,3 +210,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/common/configure b/sim/common/configure
index add4c0f..db5f661 100755
--- a/sim/common/configure
+++ b/sim/common/configure
@@ -6541,6 +6541,8 @@ 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.
@@ -10623,7 +10625,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10626 "configure"
+#line 10628 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -10729,7 +10731,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 10732 "configure"
+#line 10734 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -11210,14 +11212,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/common/nrun.c b/sim/common/nrun.c
index eccb0cb..e3f3c42 100644
--- a/sim/common/nrun.c
+++ b/sim/common/nrun.c
@@ -17,7 +17,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
/* Need to be before general includes, to pick up e.g. _GNU_SOURCE. */
#ifdef HAVE_CONFIG_H
#include "cconfig.h"
-#include "tconfig.h"
#endif
#include <signal.h>
diff --git a/sim/common/run.c b/sim/common/run.c
index e474661..3be10ab 100644
--- a/sim/common/run.c
+++ b/sim/common/run.c
@@ -19,7 +19,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. */
#ifdef HAVE_CONFIG_H
#include "cconfig.h"
-#include "tconfig.h"
#endif
#include <signal.h>
diff --git a/sim/common/sim-basics.h b/sim/common/sim-basics.h
index 2a410bb..2730569 100644
--- a/sim/common/sim-basics.h
+++ b/sim/common/sim-basics.h
@@ -126,11 +126,6 @@ typedef enum {
/* Basic definitions - ordered so that nothing calls what comes after it. */
-/* FIXME: conditionalizing tconfig.h on HAVE_CONFIG_H seems wrong. */
-#ifdef HAVE_CONFIG_H
-#include "tconfig.h"
-#endif
-
#include "ansidecl.h"
#include "gdb/callback.h"
#include "gdb/remote-sim.h"
diff --git a/sim/common/tconfig.in b/sim/common/tconfig.h
index fd8b5be..fd8b5be 100644
--- a/sim/common/tconfig.in
+++ b/sim/common/tconfig.h
diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog
index 3a81178..9669379 100644
--- a/sim/cr16/ChangeLog
+++ b/sim/cr16/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CFLAGS): Add
diff --git a/sim/cr16/config.in b/sim/cr16/config.in
index 5fed8c1..5ded703 100644
--- a/sim/cr16/config.in
+++ b/sim/cr16/config.in
@@ -144,3 +144,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/cr16/configure b/sim/cr16/configure
index b154ae0..c7e82ec 100755
--- a/sim/cr16/configure
+++ b/sim/cr16/configure
@@ -8278,6 +8278,8 @@ 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.
@@ -12360,7 +12362,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12363 "configure"
+#line 12365 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12466,7 +12468,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12469 "configure"
+#line 12471 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12947,14 +12949,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog
index 9432e32..d2f912d 100644
--- a/sim/cris/ChangeLog
+++ b/sim/cris/ChangeLog
@@ -1,3 +1,10 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4, config.in, configure: Regenerate.
+ * rvdummy.c: Delete tconfig.h include.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-15 Mike Frysinger <vapier@gentoo.org>
* tconfig.in: Delete most includes.
diff --git a/sim/cris/aclocal.m4 b/sim/cris/aclocal.m4
index a24bbeb..517bc73 100644
--- a/sim/cris/aclocal.m4
+++ b/sim/cris/aclocal.m4
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -72,8 +71,8 @@ AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -93,7 +92,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -109,13 +108,13 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008 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 3
+# serial 2
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
@@ -124,7 +123,7 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
+# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
diff --git a/sim/cris/config.in b/sim/cris/config.in
index 05c2fde..c333731 100644
--- a/sim/cris/config.in
+++ b/sim/cris/config.in
@@ -177,3 +177,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/cris/configure b/sim/cris/configure
index 610da55..7c9094e 100755
--- a/sim/cris/configure
+++ b/sim/cris/configure
@@ -8148,7 +8148,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8299,6 +8299,8 @@ 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.
@@ -10171,7 +10173,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12381,7 +12383,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12384 "configure"
+#line 12386 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12487,7 +12489,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12490 "configure"
+#line 12492 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12968,14 +12970,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/cris/rvdummy.c b/sim/cris/rvdummy.c
index 6e2e092..f788686 100644
--- a/sim/cris/rvdummy.c
+++ b/sim/cris/rvdummy.c
@@ -31,7 +31,6 @@ main (int argc, char *argv[])
#ifdef HAVE_CONFIG_H
#include "cconfig.h"
-#include "tconfig.h"
#endif
#include "getopt.h"
diff --git a/sim/cris/tconfig.in b/sim/cris/tconfig.h
index 8f82ac7..8f82ac7 100644
--- a/sim/cris/tconfig.in
+++ b/sim/cris/tconfig.h
diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog
index 728d5af..8bb2666 100644
--- a/sim/d10v/ChangeLog
+++ b/sim/d10v/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CFLAGS): Add
diff --git a/sim/d10v/config.in b/sim/d10v/config.in
index 5fed8c1..5ded703 100644
--- a/sim/d10v/config.in
+++ b/sim/d10v/config.in
@@ -144,3 +144,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/d10v/configure b/sim/d10v/configure
index b154ae0..c7e82ec 100755
--- a/sim/d10v/configure
+++ b/sim/d10v/configure
@@ -8278,6 +8278,8 @@ 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.
@@ -12360,7 +12362,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12363 "configure"
+#line 12365 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12466,7 +12468,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12469 "configure"
+#line 12471 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12947,14 +12949,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog
index 41c465e..8211b4a 100644
--- a/sim/erc32/ChangeLog
+++ b/sim/erc32/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2015-03-16 Jiri Gaisler <jiri@gaisler.se>
* Makefile.in (end, end.h): Remove target rules.
diff --git a/sim/erc32/config.in b/sim/erc32/config.in
index b367e14..6003e58 100644
--- a/sim/erc32/config.in
+++ b/sim/erc32/config.in
@@ -159,3 +159,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/erc32/configure b/sim/erc32/configure
index 4899feb..6b1f4bb 100755
--- a/sim/erc32/configure
+++ b/sim/erc32/configure
@@ -8274,6 +8274,8 @@ 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.
@@ -12356,7 +12358,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12359 "configure"
+#line 12361 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12462,7 +12464,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12465 "configure"
+#line 12467 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12943,14 +12945,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog
index d178047..5968f7e 100644
--- a/sim/frv/ChangeLog
+++ b/sim/frv/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4, config.in, configure: Regenerate.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-15 Mike Frysinger <vapier@gentoo.org>
* tconfig.in [HAVE_DV_SOCKSER]: Delete.
diff --git a/sim/frv/aclocal.m4 b/sim/frv/aclocal.m4
index a24bbeb..517bc73 100644
--- a/sim/frv/aclocal.m4
+++ b/sim/frv/aclocal.m4
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -72,8 +71,8 @@ AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -93,7 +92,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -109,13 +108,13 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008 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 3
+# serial 2
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
@@ -124,7 +123,7 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
+# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
diff --git a/sim/frv/config.in b/sim/frv/config.in
index 23fafed..bf39e2d 100644
--- a/sim/frv/config.in
+++ b/sim/frv/config.in
@@ -165,3 +165,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/frv/configure b/sim/frv/configure
index 78b5450..d312971 100755
--- a/sim/frv/configure
+++ b/sim/frv/configure
@@ -8143,7 +8143,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8294,6 +8294,8 @@ 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.
@@ -10166,7 +10168,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12376,7 +12378,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12379 "configure"
+#line 12381 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12482,7 +12484,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12485 "configure"
+#line 12487 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12963,14 +12965,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/frv/tconfig.in b/sim/frv/tconfig.h
index b31043c..b31043c 100644
--- a/sim/frv/tconfig.in
+++ b/sim/frv/tconfig.h
diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog
index ec21cbf..0ef2344 100644
--- a/sim/h8300/ChangeLog
+++ b/sim/h8300/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
diff --git a/sim/h8300/config.in b/sim/h8300/config.in
index e58e199..27216dc 100644
--- a/sim/h8300/config.in
+++ b/sim/h8300/config.in
@@ -147,3 +147,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/h8300/configure b/sim/h8300/configure
index 39185a1..37b2d87 100755
--- a/sim/h8300/configure
+++ b/sim/h8300/configure
@@ -8270,6 +8270,8 @@ 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.
@@ -12352,7 +12354,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12355 "configure"
+#line 12357 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12458,7 +12460,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12461 "configure"
+#line 12463 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12939,14 +12941,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/h8300/tconfig.in b/sim/h8300/tconfig.h
index d9599db..d9599db 100644
--- a/sim/h8300/tconfig.in
+++ b/sim/h8300/tconfig.h
diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog
index b682fac..884c21f 100644
--- a/sim/iq2000/ChangeLog
+++ b/sim/iq2000/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4, config.in, configure: Regenerate.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-15 Mike Frysinger <vapier@gentoo.org>
* tconfig.in [HAVE_DV_SOCKSER]: Delete.
diff --git a/sim/iq2000/aclocal.m4 b/sim/iq2000/aclocal.m4
index a24bbeb..517bc73 100644
--- a/sim/iq2000/aclocal.m4
+++ b/sim/iq2000/aclocal.m4
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -72,8 +71,8 @@ AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -93,7 +92,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -109,13 +108,13 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008 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 3
+# serial 2
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
@@ -124,7 +123,7 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
+# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
diff --git a/sim/iq2000/config.in b/sim/iq2000/config.in
index 23fafed..bf39e2d 100644
--- a/sim/iq2000/config.in
+++ b/sim/iq2000/config.in
@@ -165,3 +165,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/iq2000/configure b/sim/iq2000/configure
index 626fbdd..353ace0 100755
--- a/sim/iq2000/configure
+++ b/sim/iq2000/configure
@@ -8142,7 +8142,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8293,6 +8293,8 @@ 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.
@@ -10165,7 +10167,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12375,7 +12377,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12378 "configure"
+#line 12380 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12481,7 +12483,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12484 "configure"
+#line 12486 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12962,14 +12964,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/iq2000/tconfig.in b/sim/iq2000/tconfig.h
index 0081bb43..0081bb43 100644
--- a/sim/iq2000/tconfig.in
+++ b/sim/iq2000/tconfig.h
diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog
index 954cd83..a02609e 100644
--- a/sim/lm32/ChangeLog
+++ b/sim/lm32/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4, config.in, configure: Regenerate.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-15 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_OBJS): Add @SIM_DV_SOCKSER_O@.
diff --git a/sim/lm32/aclocal.m4 b/sim/lm32/aclocal.m4
index a24bbeb..517bc73 100644
--- a/sim/lm32/aclocal.m4
+++ b/sim/lm32/aclocal.m4
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -72,8 +71,8 @@ AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -93,7 +92,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -109,13 +108,13 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008 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 3
+# serial 2
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
@@ -124,7 +123,7 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
+# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
diff --git a/sim/lm32/config.in b/sim/lm32/config.in
index 23fafed..bf39e2d 100644
--- a/sim/lm32/config.in
+++ b/sim/lm32/config.in
@@ -165,3 +165,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/lm32/configure b/sim/lm32/configure
index b48cb20..22ed7d5 100755
--- a/sim/lm32/configure
+++ b/sim/lm32/configure
@@ -8140,7 +8140,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8291,6 +8291,8 @@ 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.
@@ -10163,7 +10165,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12373,7 +12375,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12376 "configure"
+#line 12378 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12479,7 +12481,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12482 "configure"
+#line 12484 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12960,14 +12962,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/lm32/tconfig.in b/sim/lm32/tconfig.h
index 0970c81..0970c81 100644
--- a/sim/lm32/tconfig.in
+++ b/sim/lm32/tconfig.h
diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog
index 9259ad7..9e2adcc 100644
--- a/sim/m32c/ChangeLog
+++ b/sim/m32c/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4, config.in, configure: Regenerate.
+
2014-08-19 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
diff --git a/sim/m32c/aclocal.m4 b/sim/m32c/aclocal.m4
index a24bbeb..517bc73 100644
--- a/sim/m32c/aclocal.m4
+++ b/sim/m32c/aclocal.m4
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -72,8 +71,8 @@ AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -93,7 +92,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -109,13 +108,13 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008 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 3
+# serial 2
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
@@ -124,7 +123,7 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
+# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
diff --git a/sim/m32c/config.in b/sim/m32c/config.in
index 88ae415..02a82ae 100644
--- a/sim/m32c/config.in
+++ b/sim/m32c/config.in
@@ -159,3 +159,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/m32c/configure b/sim/m32c/configure
index dcc8c2d..ca46b2b 100755
--- a/sim/m32c/configure
+++ b/sim/m32c/configure
@@ -8119,7 +8119,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8270,6 +8270,8 @@ 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.
@@ -10142,7 +10144,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12352,7 +12354,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12355 "configure"
+#line 12357 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12458,7 +12460,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12461 "configure"
+#line 12463 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12939,14 +12941,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog
index ee4d689..bc379a0 100644
--- a/sim/m32r/ChangeLog
+++ b/sim/m32r/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4, config.in, configure: Regenerate.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-15 Mike Frysinger <vapier@gentoo.org>
* tconfig.in [HAVE_DV_SOCKSER]: Delete.
diff --git a/sim/m32r/aclocal.m4 b/sim/m32r/aclocal.m4
index a24bbeb..517bc73 100644
--- a/sim/m32r/aclocal.m4
+++ b/sim/m32r/aclocal.m4
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -72,8 +71,8 @@ AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -93,7 +92,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -109,13 +108,13 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008 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 3
+# serial 2
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
@@ -124,7 +123,7 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
+# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
diff --git a/sim/m32r/config.in b/sim/m32r/config.in
index 23fafed..bf39e2d 100644
--- a/sim/m32r/config.in
+++ b/sim/m32r/config.in
@@ -165,3 +165,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/m32r/configure b/sim/m32r/configure
index dea90b7..0065621 100755
--- a/sim/m32r/configure
+++ b/sim/m32r/configure
@@ -8144,7 +8144,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8295,6 +8295,8 @@ 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.
@@ -10167,7 +10169,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12377,7 +12379,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12380 "configure"
+#line 12382 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12483,7 +12485,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12486 "configure"
+#line 12488 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12964,14 +12966,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/m32r/tconfig.in b/sim/m32r/tconfig.h
index a5c55d5..a5c55d5 100644
--- a/sim/m32r/tconfig.in
+++ b/sim/m32r/tconfig.h
diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog
index 6e10a38..712dcf9 100644
--- a/sim/m68hc11/ChangeLog
+++ b/sim/m68hc11/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
diff --git a/sim/m68hc11/config.in b/sim/m68hc11/config.in
index 23fafed..bf39e2d 100644
--- a/sim/m68hc11/config.in
+++ b/sim/m68hc11/config.in
@@ -165,3 +165,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure
index 47a7e64..5b85244 100755
--- a/sim/m68hc11/configure
+++ b/sim/m68hc11/configure
@@ -8289,6 +8289,8 @@ 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.
@@ -12371,7 +12373,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12374 "configure"
+#line 12376 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12477,7 +12479,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12480 "configure"
+#line 12482 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12958,14 +12960,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog
index 5d9fb6b..c3256f4 100644
--- a/sim/mcore/ChangeLog
+++ b/sim/mcore/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CLEAN): Delete.
diff --git a/sim/mcore/config.in b/sim/mcore/config.in
index 5fed8c1..5ded703 100644
--- a/sim/mcore/config.in
+++ b/sim/mcore/config.in
@@ -144,3 +144,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/mcore/configure b/sim/mcore/configure
index 3785c22..fa26277 100755
--- a/sim/mcore/configure
+++ b/sim/mcore/configure
@@ -8270,6 +8270,8 @@ 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.
@@ -12352,7 +12354,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12355 "configure"
+#line 12357 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12458,7 +12460,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12461 "configure"
+#line 12463 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12939,14 +12941,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog
index ceb1dd5..2c41a76 100644
--- a/sim/microblaze/ChangeLog
+++ b/sim/microblaze/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CFLAGS): Set to
diff --git a/sim/microblaze/config.in b/sim/microblaze/config.in
index 5fed8c1..5ded703 100644
--- a/sim/microblaze/config.in
+++ b/sim/microblaze/config.in
@@ -144,3 +144,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/microblaze/configure b/sim/microblaze/configure
index 3785c22..fa26277 100755
--- a/sim/microblaze/configure
+++ b/sim/microblaze/configure
@@ -8270,6 +8270,8 @@ 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.
@@ -12352,7 +12354,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12355 "configure"
+#line 12357 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12458,7 +12460,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12461 "configure"
+#line 12463 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12939,14 +12941,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog
index 2be47e0..f8c3494 100644
--- a/sim/mips/ChangeLog
+++ b/sim/mips/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-15 Mike Frysinger <vapier@gentoo.org>
* tconfig.in: Delete includes.
diff --git a/sim/mips/config.in b/sim/mips/config.in
index 83a39b5..f5a103d 100644
--- a/sim/mips/config.in
+++ b/sim/mips/config.in
@@ -174,3 +174,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/mips/configure b/sim/mips/configure
index b2e164d..39c20b9 100755
--- a/sim/mips/configure
+++ b/sim/mips/configure
@@ -8318,6 +8318,8 @@ 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.
@@ -12400,7 +12402,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12403 "configure"
+#line 12405 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12506,7 +12508,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12509 "configure"
+#line 12511 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12987,14 +12989,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/mips/tconfig.in b/sim/mips/tconfig.h
index 95e66b4..95e66b4 100644
--- a/sim/mips/tconfig.in
+++ b/sim/mips/tconfig.h
diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog
index aa9f5f1..bdf8b2c 100644
--- a/sim/mn10300/ChangeLog
+++ b/sim/mn10300/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2015-03-15 Mike Frysinger <vapier@gentoo.org>
* tconfig.in: Delete file.
diff --git a/sim/mn10300/config.in b/sim/mn10300/config.in
index 95f0aab..f6a87f1 100644
--- a/sim/mn10300/config.in
+++ b/sim/mn10300/config.in
@@ -186,3 +186,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/mn10300/configure b/sim/mn10300/configure
index 435db0d..9cba769 100755
--- a/sim/mn10300/configure
+++ b/sim/mn10300/configure
@@ -8294,6 +8294,8 @@ 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.
@@ -12376,7 +12378,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12379 "configure"
+#line 12381 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12482,7 +12484,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12485 "configure"
+#line 12487 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12963,14 +12965,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog
index bcdc1fa..f509fc0 100644
--- a/sim/moxie/ChangeLog
+++ b/sim/moxie/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CLEAN): Delete.
diff --git a/sim/moxie/config.in b/sim/moxie/config.in
index b367e14..6003e58 100644
--- a/sim/moxie/config.in
+++ b/sim/moxie/config.in
@@ -159,3 +159,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/moxie/configure b/sim/moxie/configure
index 1542765..ccfdb77 100755
--- a/sim/moxie/configure
+++ b/sim/moxie/configure
@@ -8281,6 +8281,8 @@ 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.
@@ -12363,7 +12365,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12366 "configure"
+#line 12368 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12469,7 +12471,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12472 "configure"
+#line 12474 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12950,14 +12952,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog
index d351d64..5bcab32 100644
--- a/sim/msp430/ChangeLog
+++ b/sim/msp430/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* aclocal.m4, configure: Regenerate.
diff --git a/sim/msp430/config.in b/sim/msp430/config.in
index 03f7d91..df5c0d3 100644
--- a/sim/msp430/config.in
+++ b/sim/msp430/config.in
@@ -147,3 +147,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/msp430/configure b/sim/msp430/configure
index 2ed3724..af8b6bf 100755
--- a/sim/msp430/configure
+++ b/sim/msp430/configure
@@ -8284,6 +8284,8 @@ 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.
@@ -12366,7 +12368,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12369 "configure"
+#line 12371 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12472,7 +12474,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12475 "configure"
+#line 12477 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12953,14 +12955,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog
index cd2914e..3c92412 100644
--- a/sim/rl78/ChangeLog
+++ b/sim/rl78/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4, config.in, configure: Regenerate.
+
2014-08-19 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
diff --git a/sim/rl78/aclocal.m4 b/sim/rl78/aclocal.m4
index a24bbeb..517bc73 100644
--- a/sim/rl78/aclocal.m4
+++ b/sim/rl78/aclocal.m4
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -72,8 +71,8 @@ AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -93,7 +92,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -109,13 +108,13 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008 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 3
+# serial 2
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
@@ -124,7 +123,7 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
+# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
diff --git a/sim/rl78/config.in b/sim/rl78/config.in
index 03f7d91..df5c0d3 100644
--- a/sim/rl78/config.in
+++ b/sim/rl78/config.in
@@ -147,3 +147,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/rl78/configure b/sim/rl78/configure
index 626b1eb..752cbcb 100755
--- a/sim/rl78/configure
+++ b/sim/rl78/configure
@@ -8119,7 +8119,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8270,6 +8270,8 @@ 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.
@@ -10142,7 +10144,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12352,7 +12354,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12355 "configure"
+#line 12357 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12458,7 +12460,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12461 "configure"
+#line 12463 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12939,14 +12941,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog
index 8d4c4ec..90a36e0 100644
--- a/sim/rx/ChangeLog
+++ b/sim/rx/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4, config.in, configure: Regenerate.
+
2015-12-15 Joel Brobecker <brobecker@adacore.com>
* gdb-if.c (open): Rename to...
diff --git a/sim/rx/aclocal.m4 b/sim/rx/aclocal.m4
index a24bbeb..517bc73 100644
--- a/sim/rx/aclocal.m4
+++ b/sim/rx/aclocal.m4
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -72,8 +71,8 @@ AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -93,7 +92,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -109,13 +108,13 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008 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 3
+# serial 2
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
@@ -124,7 +123,7 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
+# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
diff --git a/sim/rx/config.in b/sim/rx/config.in
index c510fbe..f7ccc45 100644
--- a/sim/rx/config.in
+++ b/sim/rx/config.in
@@ -153,3 +153,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/rx/configure b/sim/rx/configure
index 4023064..7f5e70a 100755
--- a/sim/rx/configure
+++ b/sim/rx/configure
@@ -8123,7 +8123,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8274,6 +8274,8 @@ 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.
@@ -10146,7 +10148,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12356,7 +12358,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12359 "configure"
+#line 12361 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12462,7 +12464,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12465 "configure"
+#line 12467 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12943,14 +12945,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog
index 8603da5..674a676 100644
--- a/sim/sh/ChangeLog
+++ b/sim/sh/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_EXTRA_CFLAGS): Set to
diff --git a/sim/sh/config.in b/sim/sh/config.in
index 5fed8c1..5ded703 100644
--- a/sim/sh/config.in
+++ b/sim/sh/config.in
@@ -144,3 +144,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/sh/configure b/sim/sh/configure
index 3785c22..fa26277 100755
--- a/sim/sh/configure
+++ b/sim/sh/configure
@@ -8270,6 +8270,8 @@ 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.
@@ -12352,7 +12354,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12355 "configure"
+#line 12357 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12458,7 +12460,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12461 "configure"
+#line 12463 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12939,14 +12941,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/sh/tconfig.in b/sim/sh/tconfig.h
index c5ec4fa..c5ec4fa 100644
--- a/sim/sh/tconfig.in
+++ b/sim/sh/tconfig.h
diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog
index 20da758..ca0dee6 100644
--- a/sim/sh64/ChangeLog
+++ b/sim/sh64/ChangeLog
@@ -1,3 +1,9 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4, config.in, configure: Regenerate.
+ * tconfig.in: Rename file ...
+ * tconfig.h: ... here.
+
2015-03-15 Mike Frysinger <vapier@gentoo.org>
* tconfig.in [HAVE_DV_SOCKSER]: Delete.
diff --git a/sim/sh64/aclocal.m4 b/sim/sh64/aclocal.m4
index a24bbeb..517bc73 100644
--- a/sim/sh64/aclocal.m4
+++ b/sim/sh64/aclocal.m4
@@ -1,8 +1,7 @@
-# generated automatically by aclocal 1.11.3 -*- Autoconf -*-
+# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
-# 2005, 2006, 2007, 2008, 2009, 2010, 2011 Free Software Foundation,
-# Inc.
+# 2005, 2006, 2007, 2008, 2009 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.
@@ -72,8 +71,8 @@ AC_SUBST([am__leading_dot])])
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
# From Jim Meyering
-# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008,
-# 2011 Free Software Foundation, Inc.
+# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
+# Free Software Foundation, Inc.
#
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
@@ -93,7 +92,7 @@ AC_DEFUN([AM_MAINTAINER_MODE],
[disable], [m4_define([am_maintainer_other], [enable])],
[m4_define([am_maintainer_other], [enable])
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
-AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
+AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
AC_ARG_ENABLE([maintainer-mode],
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
@@ -109,13 +108,13 @@ AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
-# Copyright (C) 2006, 2008, 2010 Free Software Foundation, Inc.
+# Copyright (C) 2006, 2008 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 3
+# serial 2
# _AM_SUBST_NOTMAKE(VARIABLE)
# ---------------------------
@@ -124,7 +123,7 @@ AU_DEFUN([jm_MAINTAINER_MODE], [AM_MAINTAINER_MODE])
AC_DEFUN([_AM_SUBST_NOTMAKE])
# AM_SUBST_NOTMAKE(VARIABLE)
-# --------------------------
+# ---------------------------
# Public sister of _AM_SUBST_NOTMAKE.
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
diff --git a/sim/sh64/config.in b/sim/sh64/config.in
index 23fafed..bf39e2d 100644
--- a/sim/sh64/config.in
+++ b/sim/sh64/config.in
@@ -165,3 +165,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/sh64/configure b/sim/sh64/configure
index 18f98fb..c298280 100755
--- a/sim/sh64/configure
+++ b/sim/sh64/configure
@@ -8142,7 +8142,7 @@ $as_echo "$lt_cv_ld_force_load" >&6; }
case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10.0,*86*-darwin8*|10.0,*-darwin[91]*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
- 10.[012]*)
+ 10.[012][,.]*)
_lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10.*)
_lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
@@ -8293,6 +8293,8 @@ 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.
@@ -10165,7 +10167,7 @@ _LT_EOF
if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
&& test "$tmp_diet" = no
then
- tmp_addflag=
+ tmp_addflag=' $pic_flag'
tmp_sharedflag='-shared'
case $cc_basename,$host_cpu in
pgcc*) # Portland Group C compiler
@@ -12375,7 +12377,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12378 "configure"
+#line 12380 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12481,7 +12483,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12484 "configure"
+#line 12486 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12962,14 +12964,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;
diff --git a/sim/sh64/tconfig.in b/sim/sh64/tconfig.h
index 9d64be9..9d64be9 100644
--- a/sim/sh64/tconfig.in
+++ b/sim/sh64/tconfig.h
diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog
index 8578b8a..853f9f7 100644
--- a/sim/v850/ChangeLog
+++ b/sim/v850/ChangeLog
@@ -1,3 +1,7 @@
+2015-03-16 Mike Frysinger <vapier@gentoo.org>
+
+ * config.in, configure: Regenerate.
+
2015-03-14 Mike Frysinger <vapier@gentoo.org>
* Makefile.in (SIM_RUN_OBJS): Delete.
diff --git a/sim/v850/config.in b/sim/v850/config.in
index b65100e..f65e5c3 100644
--- a/sim/v850/config.in
+++ b/sim/v850/config.in
@@ -180,3 +180,5 @@
/* Define to 1 if you need to in order for `stat' and other things to work. */
#undef _POSIX_SOURCE
+
+#include "tconfig.h"
diff --git a/sim/v850/configure b/sim/v850/configure
index 7dce6d7..3c89c7f 100755
--- a/sim/v850/configure
+++ b/sim/v850/configure
@@ -8288,6 +8288,8 @@ 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.
@@ -12370,7 +12372,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12373 "configure"
+#line 12375 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12476,7 +12478,7 @@ else
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 12479 "configure"
+#line 12481 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
@@ -12957,14 +12959,6 @@ _ACEOF
sim_link_files=
sim_link_links=
-sim_link_links=tconfig.h
-if test -f ${srcdir}/tconfig.in
-then
- sim_link_files=tconfig.in
-else
- sim_link_files=../common/tconfig.in
-fi
-
# targ-vals.def points to the libc macro description file.
case "${target}" in
*-*-*) TARG_VALS_DEF=../common/nltvals.def ;;