From 0dc73ef7c304e6ffc9ce43b2131c77553a74e1d4 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 9 Jan 2016 05:13:37 -0500 Subject: [PATCH] sim: drop --enable-sim-{regparm,stdcall} options These options were never exposed for most sims (just the ppc one), and they are really only useful on 32-bit x86 systems. Considering modern systems tend to be 64-bit x86_64 and how well modern compilers are at optimizing code, these have outlived their usefulness. --- sim/aarch64/ChangeLog | 4 + sim/aarch64/configure | 14 +-- sim/arm/ChangeLog | 4 + sim/arm/configure | 14 +-- sim/avr/ChangeLog | 4 + sim/avr/configure | 14 +-- sim/bfin/ChangeLog | 4 + sim/bfin/configure | 14 +-- sim/common/ChangeLog | 11 +++ sim/common/Make-common.in | 4 - sim/common/acinclude.m4 | 36 -------- sim/common/configure | 2 - sim/common/sim-config.h | 14 --- sim/common/sim-inline.h | 174 +++++++++----------------------------- sim/cr16/ChangeLog | 4 + sim/cr16/configure | 14 +-- sim/cris/ChangeLog | 4 + sim/cris/configure | 14 +-- sim/d10v/ChangeLog | 4 + sim/d10v/configure | 14 +-- sim/erc32/ChangeLog | 4 + sim/erc32/configure | 14 +-- sim/frv/ChangeLog | 4 + sim/frv/configure | 14 +-- sim/ft32/ChangeLog | 4 + sim/ft32/configure | 14 +-- sim/h8300/ChangeLog | 4 + sim/h8300/configure | 14 +-- sim/igen/ChangeLog | 4 + sim/igen/configure | 10 --- sim/iq2000/ChangeLog | 4 + sim/iq2000/configure | 14 +-- sim/lm32/ChangeLog | 4 + sim/lm32/configure | 14 +-- sim/m32c/ChangeLog | 4 + sim/m32c/configure | 14 +-- sim/m32r/ChangeLog | 4 + sim/m32r/configure | 14 +-- sim/m68hc11/ChangeLog | 4 + sim/m68hc11/configure | 14 +-- sim/mcore/ChangeLog | 4 + sim/mcore/configure | 14 +-- sim/microblaze/ChangeLog | 4 + sim/microblaze/configure | 14 +-- sim/mips/ChangeLog | 4 + sim/mips/configure | 14 +-- sim/mn10300/ChangeLog | 4 + sim/mn10300/configure | 14 +-- sim/moxie/ChangeLog | 4 + sim/moxie/configure | 14 +-- sim/msp430/ChangeLog | 4 + sim/msp430/configure | 14 +-- sim/ppc/ChangeLog | 12 +++ sim/ppc/Makefile.in | 4 - sim/ppc/configure | 48 ----------- sim/ppc/configure.ac | 28 ------ sim/ppc/inline.h | 36 ++++---- sim/ppc/options.c | 2 - sim/ppc/std-config.h | 34 -------- sim/rl78/ChangeLog | 4 + sim/rl78/configure | 14 +-- sim/rx/ChangeLog | 4 + sim/rx/configure | 14 +-- sim/sh/ChangeLog | 4 + sim/sh/configure | 14 +-- sim/sh64/ChangeLog | 4 + sim/sh64/configure | 14 +-- sim/v850/ChangeLog | 4 + sim/v850/configure | 14 +-- 69 files changed, 245 insertions(+), 660 deletions(-) diff --git a/sim/aarch64/ChangeLog b/sim/aarch64/ChangeLog index ea7208dca50..ebae1cd0324 100644 --- a/sim/aarch64/ChangeLog +++ b/sim/aarch64/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/aarch64/configure b/sim/aarch64/configure index d92fd061c1f..d733a5bff42 100755 --- a/sim/aarch64/configure +++ b/sim/aarch64/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4033,14 +4031,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12857,7 +12847,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12860 "configure" +#line 12850 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12963,7 +12953,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12966 "configure" +#line 12956 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/arm/ChangeLog b/sim/arm/ChangeLog index c92ad02d7bd..e80bff54c0a 100644 --- a/sim/arm/ChangeLog +++ b/sim/arm/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/arm/configure b/sim/arm/configure index 027cd011490..7e68943d49a 100755 --- a/sim/arm/configure +++ b/sim/arm/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4033,14 +4031,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12857,7 +12847,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12860 "configure" +#line 12850 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12963,7 +12953,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12966 "configure" +#line 12956 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/avr/ChangeLog b/sim/avr/ChangeLog index ae5250b6169..44538f231ed 100644 --- a/sim/avr/ChangeLog +++ b/sim/avr/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/avr/configure b/sim/avr/configure index 70910ca014b..b9b9b5303ae 100755 --- a/sim/avr/configure +++ b/sim/avr/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4033,14 +4031,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12857,7 +12847,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12860 "configure" +#line 12850 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12963,7 +12953,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12966 "configure" +#line 12956 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog index 356d9cac736..723bfcb6bc4 100644 --- a/sim/bfin/ChangeLog +++ b/sim/bfin/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/bfin/configure b/sim/bfin/configure index 3fc5195327b..e95b232314a 100755 --- a/sim/bfin/configure +++ b/sim/bfin/configure @@ -688,10 +688,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4056,14 +4054,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12880,7 +12870,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12883 "configure" +#line 12873 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12986,7 +12976,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12989 "configure" +#line 12979 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog index 27ca374493d..6f4f916206e 100644 --- a/sim/common/ChangeLog +++ b/sim/common/ChangeLog @@ -1,3 +1,14 @@ +2016-01-10 Mike Frysinger + + * acinclude.m4: Delete --enable-sim-regparm and sim_regparm, + and --enable-sim-stdcall and sim_stdcall. + * configure: Regenerate. + * Make-common.in (SIM_REGPARM, SIM_STDCALL): Delete. + (CONFIG_CFLAGS): Delete $(SIM_REGPARM) and $(SIM_STDCALL). + * sim-config.h (WITH_REGPARM, WITH_STDCALL): Delete. + * sim-inline.h (REGPARM_MODULE, REGPARM): Delete. + (REGPARM_*): Delete all regparm defines and their use. + 2016-01-10 Mike Frysinger * acinclude.m4: Delete --enable-sim-cflags and sim_cflags. diff --git a/sim/common/Make-common.in b/sim/common/Make-common.in index a90d3d80516..458bf4bf5ad 100644 --- a/sim/common/Make-common.in +++ b/sim/common/Make-common.in @@ -91,11 +91,9 @@ SIM_HW_OBJS = @sim_hw_objs@ SIM_HW = @sim_hw@ SIM_INLINE = @sim_inline@ SIM_PACKAGES = @sim_packages@ -SIM_REGPARM = @sim_regparm@ SIM_RESERVED_BITS = @sim_reserved_bits@ SIM_SCACHE = @sim_scache@ SIM_SMP = @sim_smp@ -SIM_STDCALL = @sim_stdcall@ SIM_XOR_ENDIAN = @sim_xor_endian@ WARN_CFLAGS = @WARN_CFLAGS@ WERROR_CFLAGS = @WERROR_CFLAGS@ @@ -240,11 +238,9 @@ CONFIG_CFLAGS = \ $(SIM_HW_CFLAGS) \ $(SIM_INLINE) \ $(SIM_PACKAGES) \ - $(SIM_REGPARM) \ $(SIM_RESERVED_BITS) \ $(SIM_SCACHE) \ $(SIM_SMP) \ - $(SIM_STDCALL) \ $(SIM_WARN_CFLAGS) \ $(SIM_WERROR_CFLAGS) \ $(SIM_XOR_ENDIAN) \ diff --git a/sim/common/acinclude.m4 b/sim/common/acinclude.m4 index e11e568a006..92eb265d481 100644 --- a/sim/common/acinclude.m4 +++ b/sim/common/acinclude.m4 @@ -694,24 +694,6 @@ fi])dnl AC_SUBST(sim_packages) -AC_DEFUN([SIM_AC_OPTION_REGPARM], -[ -AC_ARG_ENABLE(sim-regparm, -[AS_HELP_STRING([--enable-sim-regparm=nr-parm], - [Pass parameters in registers instead of on the stack - x86/GCC specific])], -[case "${enableval}" in - 0*|1*|2*|3*|4*|5*|6*|7*|8*|9*) sim_regparm="-DWITH_REGPARM=${enableval}";; - no) sim_regparm="" ;; - yes) sim_regparm="-DWITH_REGPARM=3";; - *) AC_MSG_ERROR("Unknown value $enableval for --enable-sim-regparm"); sim_regparm="";; -esac -if test x"$silent" != x"yes" && test x"$sim_regparm" != x""; then - echo "Setting regparm flags = $sim_regparm" 6>&1 -fi],[sim_regparm=""])dnl -]) -AC_SUBST(sim_regparm) - - AC_DEFUN([SIM_AC_OPTION_RESERVED_BITS], [ default_sim_reserved_bits="ifelse([$1],,1,[$1])" @@ -751,24 +733,6 @@ fi])dnl AC_SUBST(sim_smp) -AC_DEFUN([SIM_AC_OPTION_STDCALL], -[ -AC_ARG_ENABLE(sim-stdcall, -[AS_HELP_STRING([--enable-sim-stdcall=type], - [Use an alternative function call/return mechanism - x86/GCC specific])], -[case "${enableval}" in - no) sim_stdcall="" ;; - std*) sim_stdcall="-DWITH_STDCALL=1";; - yes) sim_stdcall="-DWITH_STDCALL=1";; - *) AC_MSG_ERROR("Unknown value $enableval for --enable-sim-stdcall"); sim_stdcall="";; -esac -if test x"$silent" != x"yes" && test x"$sim_stdcall" != x""; then - echo "Setting function call flags = $sim_stdcall" 6>&1 -fi],[sim_stdcall=""])dnl -]) -AC_SUBST(sim_stdcall) - - AC_DEFUN([SIM_AC_OPTION_XOR_ENDIAN], [ default_sim_xor_endian="ifelse([$1],,8,[$1])" diff --git a/sim/common/configure b/sim/common/configure index 3b11fbbda95..ccb6ce562c2 100755 --- a/sim/common/configure +++ b/sim/common/configure @@ -603,10 +603,8 @@ SHELL WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw diff --git a/sim/common/sim-config.h b/sim/common/sim-config.h index 4bfcdc9e248..1c653651988 100644 --- a/sim/common/sim-config.h +++ b/sim/common/sim-config.h @@ -355,20 +355,6 @@ extern int current_stdio; -/* Specify that configured calls pass parameters in registers when the - convention is that they are placed on the stack */ - -#ifndef WITH_REGPARM -#define WITH_REGPARM 0 -#endif - -/* Specify that configured calls use an alternative calling mechanism */ - -#ifndef WITH_STDCALL -#define WITH_STDCALL 0 -#endif - - /* Set the default state configuration, before parsing argv. */ extern void sim_config_default (SIM_DESC sd); diff --git a/sim/common/sim-inline.h b/sim/common/sim-inline.h index ed7451c2868..2c5406e8a4c 100644 --- a/sim/common/sim-inline.h +++ b/sim/common/sim-inline.h @@ -266,8 +266,6 @@ #define INLINE_GLOBALS 4 #define INLINE_LOCALS 8 -#define REGPARM_MODULE 32 - #define ALL_H_INLINE (H_REVEALS_MODULE | INLINE_GLOBALS | INLINE_LOCALS) #define ALL_C_INLINE (C_REVEALS_MODULE | INLINE_GLOBALS | INLINE_LOCALS) @@ -349,30 +347,6 @@ - -/* Your compilers nonstandard function call mechanism prefix */ - -#if !defined REGPARM -#if defined (__GNUC__) && (defined (__i386__) || defined (__i486__) || defined (__i586__) || defined (__i686__)) -#if (WITH_REGPARM && WITH_STDCALL) -#define REGPARM __attribute__((__regparm__(WITH_REGPARM),__stdcall__)) -#else -#if (WITH_REGPARM && !WITH_STDCALL) -#define REGPARM __attribute__((__regparm__(WITH_REGPARM))) -#else -#if (!WITH_REGPARM && WITH_STDCALL) -#define REGPARM __attribute__((__stdcall__)) -#endif -#endif -#endif -#endif -#endif - -#if !defined REGPARM -#define REGPARM -#endif - - /* ***** sim-bits and sim-endian are treated differently from the rest @@ -387,12 +361,6 @@ # define SIM_BITS_INLINE (ALL_H_INLINE) #endif -#if (SIM_BITS_INLINE & REGPARM_MODULE) -# define REGPARM_SIM_BITS REGPARM -#else -# define REGPARM_SIM_BITS -#endif - #if ((H_REVEALS_MODULE_P (SIM_BITS_INLINE) || defined (SIM_INLINE_C)) \ && !defined (SIM_BITS_C) \ && (REVEAL_MODULE_P (SIM_BITS_INLINE))) @@ -400,18 +368,18 @@ # define INLINE_SIM_BITS(TYPE) static INLINE TYPE UNUSED # define EXTERN_SIM_BITS_P 0 # else -# define INLINE_SIM_BITS(TYPE) static TYPE UNUSED REGPARM_SIM_BITS +# define INLINE_SIM_BITS(TYPE) static TYPE UNUSED # define EXTERN_SIM_BITS_P 0 # endif #else -# define INLINE_SIM_BITS(TYPE) TYPE REGPARM_SIM_BITS +# define INLINE_SIM_BITS(TYPE) TYPE # define EXTERN_SIM_BITS_P 1 #endif #if (SIM_BITS_INLINE & INLINE_LOCALS) # define STATIC_INLINE_SIM_BITS(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_SIM_BITS(TYPE) static TYPE REGPARM_SIM_BITS +# define STATIC_INLINE_SIM_BITS(TYPE) static TYPE #endif #define STATIC_SIM_BITS(TYPE) static TYPE @@ -424,12 +392,6 @@ # define SIM_CORE_INLINE ALL_C_INLINE #endif -#if (SIM_CORE_INLINE & REGPARM_MODULE) -# define REGPARM_SIM_CORE REGPARM -#else -# define REGPARM_SIM_CORE -#endif - #if ((H_REVEALS_MODULE_P (SIM_CORE_INLINE) || defined (SIM_INLINE_C)) \ && !defined (SIM_CORE_C) \ && (REVEAL_MODULE_P (SIM_CORE_INLINE))) @@ -437,18 +399,18 @@ # define INLINE_SIM_CORE(TYPE) static INLINE TYPE UNUSED # define EXTERN_SIM_CORE_P 0 #else -# define INLINE_SIM_CORE(TYPE) static TYPE UNUSED REGPARM_SIM_CORE +# define INLINE_SIM_CORE(TYPE) static TYPE UNUSED # define EXTERN_SIM_CORE_P 0 #endif #else -# define INLINE_SIM_CORE(TYPE) TYPE REGPARM_SIM_CORE +# define INLINE_SIM_CORE(TYPE) TYPE # define EXTERN_SIM_CORE_P 1 #endif #if (SIM_CORE_INLINE & INLINE_LOCALS) # define STATIC_INLINE_SIM_CORE(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_SIM_CORE(TYPE) static TYPE REGPARM_SIM_CORE +# define STATIC_INLINE_SIM_CORE(TYPE) static TYPE #endif #define STATIC_SIM_CORE(TYPE) static TYPE @@ -461,12 +423,6 @@ # define SIM_ENDIAN_INLINE ALL_H_INLINE #endif -#if (SIM_ENDIAN_INLINE & REGPARM_MODULE) -# define REGPARM_SIM_ENDIAN REGPARM -#else -# define REGPARM_SIM_ENDIAN -#endif - #if ((H_REVEALS_MODULE_P (SIM_ENDIAN_INLINE) || defined (SIM_INLINE_C)) \ && !defined (SIM_ENDIAN_C) \ && (REVEAL_MODULE_P (SIM_ENDIAN_INLINE))) @@ -474,18 +430,18 @@ # define INLINE_SIM_ENDIAN(TYPE) static INLINE TYPE UNUSED # define EXTERN_SIM_ENDIAN_P 0 # else -# define INLINE_SIM_ENDIAN(TYPE) static TYPE UNUSED REGPARM_SIM_ENDIAN +# define INLINE_SIM_ENDIAN(TYPE) static TYPE UNUSED # define EXTERN_SIM_ENDIAN_P 0 # endif #else -# define INLINE_SIM_ENDIAN(TYPE) TYPE REGPARM_SIM_ENDIAN +# define INLINE_SIM_ENDIAN(TYPE) TYPE # define EXTERN_SIM_ENDIAN_P 1 #endif #if (SIM_ENDIAN_INLINE & INLINE_LOCALS) # define STATIC_INLINE_SIM_ENDIAN(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_SIM_ENDIAN(TYPE) static TYPE REGPARM_SIM_ENDIAN +# define STATIC_INLINE_SIM_ENDIAN(TYPE) static TYPE #endif #define STATIC_SIM_ENDIAN(TYPE) static TYPE @@ -498,12 +454,6 @@ # define SIM_EVENTS_INLINE ALL_C_INLINE #endif -#if (SIM_EVENTS_INLINE & REGPARM_MODULE) -# define REGPARM_SIM_EVENTS REGPARM -#else -# define REGPARM_SIM_EVENTS -#endif - #if ((H_REVEALS_MODULE_P (SIM_EVENTS_INLINE) || defined (SIM_INLINE_C)) \ && !defined (SIM_EVENTS_C) \ && (REVEAL_MODULE_P (SIM_EVENTS_INLINE))) @@ -511,18 +461,18 @@ # define INLINE_SIM_EVENTS(TYPE) static INLINE TYPE UNUSED # define EXTERN_SIM_EVENTS_P 0 # else -# define INLINE_SIM_EVENTS(TYPE) static TYPE UNUSED REGPARM_SIM_EVENTS +# define INLINE_SIM_EVENTS(TYPE) static TYPE UNUSED # define EXTERN_SIM_EVENTS_P 0 # endif #else -# define INLINE_SIM_EVENTS(TYPE) TYPE REGPARM_SIM_EVENTS +# define INLINE_SIM_EVENTS(TYPE) TYPE # define EXTERN_SIM_EVENTS_P 1 #endif #if (SIM_EVENTS_INLINE & INLINE_LOCALS) # define STATIC_INLINE_SIM_EVENTS(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_SIM_EVENTS(TYPE) static TYPE REGPARM_SIM_EVENTS +# define STATIC_INLINE_SIM_EVENTS(TYPE) static TYPE #endif #define STATIC_SIM_EVENTS(TYPE) static TYPE @@ -535,12 +485,6 @@ # define SIM_FPU_INLINE ALL_C_INLINE #endif -#if (SIM_FPU_INLINE & REGPARM_MODULE) -# define REGPARM_SIM_FPU REGPARM -#else -# define REGPARM_SIM_FPU -#endif - #if ((H_REVEALS_MODULE_P (SIM_FPU_INLINE) || defined (SIM_INLINE_C)) \ && !defined (SIM_FPU_C) \ && (REVEAL_MODULE_P (SIM_FPU_INLINE))) @@ -548,18 +492,18 @@ # define INLINE_SIM_FPU(TYPE) static INLINE TYPE UNUSED # define EXTERN_SIM_FPU_P 0 # else -# define INLINE_SIM_FPU(TYPE) static TYPE UNUSED REGPARM_SIM_FPU +# define INLINE_SIM_FPU(TYPE) static TYPE UNUSED # define EXTERN_SIM_FPU_P 0 # endif #else -# define INLINE_SIM_FPU(TYPE) TYPE REGPARM_SIM_FPU +# define INLINE_SIM_FPU(TYPE) TYPE # define EXTERN_SIM_FPU_P 1 #endif #if (SIM_FPU_INLINE & INLINE_LOCALS) # define STATIC_INLINE_SIM_FPU(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_SIM_FPU(TYPE) static TYPE REGPARM_SIM_FPU +# define STATIC_INLINE_SIM_FPU(TYPE) static TYPE #endif #define STATIC_SIM_FPU(TYPE) static TYPE @@ -568,12 +512,6 @@ /* sim-types */ -#if (SIM_TYPES_INLINE & REGPARM_MODULE) -# define REGPARM_SIM_TYPES REGPARM -#else -# define REGPARM_SIM_TYPES -#endif - #if ((H_REVEALS_MODULE_P (SIM_TYPES_INLINE) || defined (SIM_INLINE_C)) \ && !defined (SIM_TYPES_C) \ && (REVEAL_MODULE_P (SIM_TYPES_INLINE))) @@ -581,18 +519,18 @@ # define INLINE_SIM_TYPES(TYPE) static INLINE TYPE UNUSED # define EXTERN_SIM_TYPES_P 0 # else -# define INLINE_SIM_TYPES(TYPE) static TYPE UNUSED REGPARM_SIM_TYPES +# define INLINE_SIM_TYPES(TYPE) static TYPE UNUSED # define EXTERN_SIM_TYPES_P 0 # endif #else -# define INLINE_SIM_TYPES(TYPE) TYPE REGPARM_SIM_TYPES +# define INLINE_SIM_TYPES(TYPE) TYPE # define EXTERN_SIM_TYPES_P 1 #endif #if (SIM_TYPES_INLINE & INLINE_LOCALS) # define STATIC_INLINE_SIM_TYPES(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_SIM_TYPES(TYPE) static TYPE REGPARM_SIM_TYPES +# define STATIC_INLINE_SIM_TYPES(TYPE) static TYPE #endif #define STATIC_SIM_TYPES(TYPE) static TYPE @@ -605,12 +543,6 @@ # define SIM_MAIN_INLINE (ALL_C_INLINE) #endif -#if (SIM_MAIN_INLINE & REGPARM_MODULE) -# define REGPARM_SIM_MAIN REGPARM -#else -# define REGPARM_SIM_MAIN -#endif - #if ((H_REVEALS_MODULE_P (SIM_MAIN_INLINE) || defined (SIM_INLINE_C)) \ && !defined (SIM_MAIN_C) \ && (REVEAL_MODULE_P (SIM_MAIN_INLINE))) @@ -618,30 +550,24 @@ # define INLINE_SIM_MAIN(TYPE) static INLINE TYPE UNUSED # define EXTERN_SIM_MAIN_P 0 # else -# define INLINE_SIM_MAIN(TYPE) static TYPE UNUSED REGPARM_SIM_MAIN +# define INLINE_SIM_MAIN(TYPE) static TYPE UNUSED # define EXTERN_SIM_MAIN_P 0 # endif #else -# define INLINE_SIM_MAIN(TYPE) TYPE REGPARM_SIM_MAIN +# define INLINE_SIM_MAIN(TYPE) TYPE # define EXTERN_SIM_MAIN_P 1 #endif #if (SIM_MAIN_INLINE & INLINE_LOCALS) # define STATIC_INLINE_SIM_MAIN(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_SIM_MAIN(TYPE) static TYPE REGPARM_SIM_MAIN +# define STATIC_INLINE_SIM_MAIN(TYPE) static TYPE #endif #define STATIC_SIM_MAIN(TYPE) static TYPE /* engine */ -#if (ENGINE_INLINE & REGPARM_MODULE) -# define REGPARM_ENGINE REGPARM -#else -# define REGPARM_ENGINE -#endif - #if ((H_REVEALS_MODULE_P (ENGINE_INLINE) || defined (SIM_INLINE_C)) \ && !defined (ENGINE_C) \ && (REVEAL_MODULE_P (ENGINE_INLINE))) @@ -649,18 +575,18 @@ # define INLINE_ENGINE(TYPE) static INLINE TYPE UNUSED # define EXTERN_ENGINE_P 0 # else -# define INLINE_ENGINE(TYPE) static TYPE UNUSED REGPARM_ENGINE +# define INLINE_ENGINE(TYPE) static TYPE UNUSED # define EXTERN_ENGINE_P 0 # endif #else -# define INLINE_ENGINE(TYPE) TYPE REGPARM_ENGINE +# define INLINE_ENGINE(TYPE) TYPE # define EXTERN_ENGINE_P 1 #endif #if (ENGINE_INLINE & INLINE_LOCALS) # define STATIC_INLINE_ENGINE(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_ENGINE(TYPE) static TYPE REGPARM_ENGINE +# define STATIC_INLINE_ENGINE(TYPE) static TYPE #endif #define STATIC_ENGINE(TYPE) static TYPE @@ -669,12 +595,6 @@ /* icache */ -#if (ICACHE_INLINE & REGPARM_MODULE) -# define REGPARM_ICACHE REGPARM -#else -# define REGPARM_ICACHE -#endif - #if ((H_REVEALS_MODULE_P (ICACHE_INLINE) || defined (SIM_INLINE_C)) \ && !defined (ICACHE_C) \ && (REVEAL_MODULE_P (ICACHE_INLINE))) @@ -682,18 +602,18 @@ # define INLINE_ICACHE(TYPE) static INLINE TYPE UNUSED # define EXTERN_ICACHE_P 0 #else -# define INLINE_ICACHE(TYPE) static TYPE UNUSED REGPARM_ICACHE +# define INLINE_ICACHE(TYPE) static TYPE UNUSED # define EXTERN_ICACHE_P 0 #endif #else -# define INLINE_ICACHE(TYPE) TYPE REGPARM_ICACHE +# define INLINE_ICACHE(TYPE) TYPE # define EXTERN_ICACHE_P 1 #endif #if (ICACHE_INLINE & INLINE_LOCALS) # define STATIC_INLINE_ICACHE(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_ICACHE(TYPE) static TYPE REGPARM_ICACHE +# define STATIC_INLINE_ICACHE(TYPE) static TYPE #endif #define STATIC_ICACHE(TYPE) static TYPE @@ -702,12 +622,6 @@ /* idecode */ -#if (IDECODE_INLINE & REGPARM_MODULE) -# define REGPARM_IDECODE REGPARM -#else -# define REGPARM_IDECODE -#endif - #if ((H_REVEALS_MODULE_P (IDECODE_INLINE) || defined (SIM_INLINE_C)) \ && !defined (IDECODE_C) \ && (REVEAL_MODULE_P (IDECODE_INLINE))) @@ -715,18 +629,18 @@ # define INLINE_IDECODE(TYPE) static INLINE TYPE UNUSED # define EXTERN_IDECODE_P 0 #else -# define INLINE_IDECODE(TYPE) static TYPE UNUSED REGPARM_IDECODE +# define INLINE_IDECODE(TYPE) static TYPE UNUSED # define EXTERN_IDECODE_P 0 #endif #else -# define INLINE_IDECODE(TYPE) TYPE REGPARM_IDECODE +# define INLINE_IDECODE(TYPE) TYPE # define EXTERN_IDECODE_P 1 #endif #if (IDECODE_INLINE & INLINE_LOCALS) # define STATIC_INLINE_IDECODE(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_IDECODE(TYPE) static TYPE REGPARM_IDECODE +# define STATIC_INLINE_IDECODE(TYPE) static TYPE #endif #define STATIC_IDECODE(TYPE) static TYPE @@ -735,12 +649,6 @@ /* semantics */ -#if (SEMANTICS_INLINE & REGPARM_MODULE) -# define REGPARM_SEMANTICS REGPARM -#else -# define REGPARM_SEMANTICS -#endif - #if ((H_REVEALS_MODULE_P (SEMANTICS_INLINE) || defined (SIM_INLINE_C)) \ && !defined (SEMANTICS_C) \ && (REVEAL_MODULE_P (SEMANTICS_INLINE))) @@ -748,24 +656,24 @@ # define INLINE_SEMANTICS(TYPE) static INLINE TYPE UNUSED # define EXTERN_SEMANTICS_P 0 #else -# define INLINE_SEMANTICS(TYPE) static TYPE UNUSED REGPARM_SEMANTICS +# define INLINE_SEMANTICS(TYPE) static TYPE UNUSED # define EXTERN_SEMANTICS_P 0 #endif #else -# define INLINE_SEMANTICS(TYPE) TYPE REGPARM_SEMANTICS +# define INLINE_SEMANTICS(TYPE) TYPE # define EXTERN_SEMANTICS_P 1 #endif #if EXTERN_SEMANTICS_P -# define EXTERN_SEMANTICS(TYPE) TYPE REGPARM_SEMANTICS +# define EXTERN_SEMANTICS(TYPE) TYPE #else -# define EXTERN_SEMANTICS(TYPE) static TYPE UNUSED REGPARM_SEMANTICS +# define EXTERN_SEMANTICS(TYPE) static TYPE UNUSED #endif #if (SEMANTICS_INLINE & INLINE_LOCALS) # define STATIC_INLINE_SEMANTICS(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_SEMANTICS(TYPE) static TYPE REGPARM_SEMANTICS +# define STATIC_INLINE_SEMANTICS(TYPE) static TYPE #endif #define STATIC_SEMANTICS(TYPE) static TYPE @@ -778,12 +686,6 @@ # define SUPPORT_INLINE ALL_C_INLINE #endif -#if (SUPPORT_INLINE & REGPARM_MODULE) -# define REGPARM_SUPPORT REGPARM -#else -# define REGPARM_SUPPORT -#endif - #if ((H_REVEALS_MODULE_P (SUPPORT_INLINE) || defined (SIM_INLINE_C)) \ && !defined (SUPPORT_C) \ && (REVEAL_MODULE_P (SUPPORT_INLINE))) @@ -791,18 +693,18 @@ # define INLINE_SUPPORT(TYPE) static INLINE TYPE UNUSED # define EXTERN_SUPPORT_P 0 #else -# define INLINE_SUPPORT(TYPE) static TYPE UNUSED REGPARM_SUPPORT +# define INLINE_SUPPORT(TYPE) static TYPE UNUSED # define EXTERN_SUPPORT_P 0 #endif #else -# define INLINE_SUPPORT(TYPE) TYPE REGPARM_SUPPORT +# define INLINE_SUPPORT(TYPE) TYPE # define EXTERN_SUPPORT_P 1 #endif #if (SUPPORT_INLINE & INLINE_LOCALS) # define STATIC_INLINE_SUPPORT(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_SUPPORT(TYPE) static TYPE REGPARM_SUPPORT +# define STATIC_INLINE_SUPPORT(TYPE) static TYPE #endif #define STATIC_SUPPORT(TYPE) static TYPE diff --git a/sim/cr16/ChangeLog b/sim/cr16/ChangeLog index d9ec562b4be..4d73a3799c6 100644 --- a/sim/cr16/ChangeLog +++ b/sim/cr16/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/cr16/configure b/sim/cr16/configure index 5e47cd44cd8..8ce80091e98 100755 --- a/sim/cr16/configure +++ b/sim/cr16/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4033,14 +4031,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12857,7 +12847,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12860 "configure" +#line 12850 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12963,7 +12953,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12966 "configure" +#line 12956 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/cris/ChangeLog b/sim/cris/ChangeLog index 3ffe1c7ee37..25f140ed564 100644 --- a/sim/cris/ChangeLog +++ b/sim/cris/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/cris/configure b/sim/cris/configure index e282c13659f..565ffeafac2 100755 --- a/sim/cris/configure +++ b/sim/cris/configure @@ -686,10 +686,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4047,14 +4045,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12871,7 +12861,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12874 "configure" +#line 12864 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12977,7 +12967,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12980 "configure" +#line 12970 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/d10v/ChangeLog b/sim/d10v/ChangeLog index 115ac0d4ce0..95ff51ef9b4 100644 --- a/sim/d10v/ChangeLog +++ b/sim/d10v/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/d10v/configure b/sim/d10v/configure index 027cd011490..7e68943d49a 100755 --- a/sim/d10v/configure +++ b/sim/d10v/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4033,14 +4031,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12857,7 +12847,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12860 "configure" +#line 12850 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12963,7 +12953,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12966 "configure" +#line 12956 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/erc32/ChangeLog b/sim/erc32/ChangeLog index 8330832d700..2d01898f87b 100644 --- a/sim/erc32/ChangeLog +++ b/sim/erc32/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/erc32/configure b/sim/erc32/configure index 726cbf0ca9d..a3af2ab77c1 100755 --- a/sim/erc32/configure +++ b/sim/erc32/configure @@ -685,10 +685,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4013,14 +4011,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12837,7 +12827,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12840 "configure" +#line 12830 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12943,7 +12933,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12946 "configure" +#line 12936 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/frv/ChangeLog b/sim/frv/ChangeLog index c06ec3da211..7e509be6025 100644 --- a/sim/frv/ChangeLog +++ b/sim/frv/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/frv/configure b/sim/frv/configure index 48c0bdb991a..748971a74ba 100755 --- a/sim/frv/configure +++ b/sim/frv/configure @@ -687,10 +687,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4039,14 +4037,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12863,7 +12853,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12866 "configure" +#line 12856 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12969,7 +12959,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12972 "configure" +#line 12962 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/ft32/ChangeLog b/sim/ft32/ChangeLog index 639f37b4f00..fb1210e1ff4 100644 --- a/sim/ft32/ChangeLog +++ b/sim/ft32/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/ft32/configure b/sim/ft32/configure index c8b28338064..e4d2bc79983 100755 --- a/sim/ft32/configure +++ b/sim/ft32/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4033,14 +4031,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12857,7 +12847,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12860 "configure" +#line 12850 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12963,7 +12953,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12966 "configure" +#line 12956 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/h8300/ChangeLog b/sim/h8300/ChangeLog index 75c4d8249c3..09f141a8ce9 100644 --- a/sim/h8300/ChangeLog +++ b/sim/h8300/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/h8300/configure b/sim/h8300/configure index dc75ac285e8..7895bd762ac 100755 --- a/sim/h8300/configure +++ b/sim/h8300/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4018,14 +4016,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12842,7 +12832,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12845 "configure" +#line 12835 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12948,7 +12938,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12951 "configure" +#line 12941 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/igen/ChangeLog b/sim/igen/ChangeLog index 15137f12964..2a47578be66 100644 --- a/sim/igen/ChangeLog +++ b/sim/igen/ChangeLog @@ -1,3 +1,7 @@ +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-04 Mike Frysinger * configure: Regenerate. diff --git a/sim/igen/configure b/sim/igen/configure index 92c520013af..14f405821e5 100755 --- a/sim/igen/configure +++ b/sim/igen/configure @@ -626,10 +626,8 @@ INSTALL_PROGRAM WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -3744,14 +3742,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - diff --git a/sim/iq2000/ChangeLog b/sim/iq2000/ChangeLog index f8582a4fe75..8bcf0db2af0 100644 --- a/sim/iq2000/ChangeLog +++ b/sim/iq2000/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/iq2000/configure b/sim/iq2000/configure index 071c452af06..92a2843b0f3 100755 --- a/sim/iq2000/configure +++ b/sim/iq2000/configure @@ -686,10 +686,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4039,14 +4037,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12863,7 +12853,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12866 "configure" +#line 12856 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12969,7 +12959,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12972 "configure" +#line 12962 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/lm32/ChangeLog b/sim/lm32/ChangeLog index 0b4fb4d9c6c..cf7ce4a9f93 100644 --- a/sim/lm32/ChangeLog +++ b/sim/lm32/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/lm32/configure b/sim/lm32/configure index 6c9c630d97b..46031796fce 100755 --- a/sim/lm32/configure +++ b/sim/lm32/configure @@ -686,10 +686,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4036,14 +4034,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12860,7 +12850,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12863 "configure" +#line 12853 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12966,7 +12956,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12969 "configure" +#line 12959 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/m32c/ChangeLog b/sim/m32c/ChangeLog index 28ea3189d53..1aeb75f663c 100644 --- a/sim/m32c/ChangeLog +++ b/sim/m32c/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/m32c/configure b/sim/m32c/configure index 4341010c326..c083a206459 100755 --- a/sim/m32c/configure +++ b/sim/m32c/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4019,14 +4017,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12843,7 +12833,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12846 "configure" +#line 12836 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12949,7 +12939,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12952 "configure" +#line 12942 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/m32r/ChangeLog b/sim/m32r/ChangeLog index a6771fdbaee..dc3530160c8 100644 --- a/sim/m32r/ChangeLog +++ b/sim/m32r/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/m32r/configure b/sim/m32r/configure index afae89d53fd..3f632efd2ee 100755 --- a/sim/m32r/configure +++ b/sim/m32r/configure @@ -688,10 +688,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4041,14 +4039,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12865,7 +12855,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12868 "configure" +#line 12858 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12971,7 +12961,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12974 "configure" +#line 12964 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/m68hc11/ChangeLog b/sim/m68hc11/ChangeLog index a61ff11b2e4..893867cb1ad 100644 --- a/sim/m68hc11/ChangeLog +++ b/sim/m68hc11/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/m68hc11/configure b/sim/m68hc11/configure index 5921c480554..aa9b7edcb68 100755 --- a/sim/m68hc11/configure +++ b/sim/m68hc11/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4032,14 +4030,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12856,7 +12846,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12859 "configure" +#line 12849 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12962,7 +12952,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12965 "configure" +#line 12955 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/mcore/ChangeLog b/sim/mcore/ChangeLog index db04072fa55..f4a2721ae5d 100644 --- a/sim/mcore/ChangeLog +++ b/sim/mcore/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/mcore/configure b/sim/mcore/configure index 027cd011490..7e68943d49a 100755 --- a/sim/mcore/configure +++ b/sim/mcore/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4033,14 +4031,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12857,7 +12847,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12860 "configure" +#line 12850 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12963,7 +12953,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12966 "configure" +#line 12956 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/microblaze/ChangeLog b/sim/microblaze/ChangeLog index 84c45e6234d..079ef0e8561 100644 --- a/sim/microblaze/ChangeLog +++ b/sim/microblaze/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/microblaze/configure b/sim/microblaze/configure index 027cd011490..7e68943d49a 100755 --- a/sim/microblaze/configure +++ b/sim/microblaze/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4033,14 +4031,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12857,7 +12847,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12860 "configure" +#line 12850 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12963,7 +12953,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12966 "configure" +#line 12956 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/mips/ChangeLog b/sim/mips/ChangeLog index 98bef9a940a..f7c5ae89797 100644 --- a/sim/mips/ChangeLog +++ b/sim/mips/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/mips/configure b/sim/mips/configure index 3b69a00c27f..16427de53ab 100755 --- a/sim/mips/configure +++ b/sim/mips/configure @@ -696,10 +696,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4065,14 +4063,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12889,7 +12879,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12892 "configure" +#line 12882 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12995,7 +12985,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12998 "configure" +#line 12988 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/mn10300/ChangeLog b/sim/mn10300/ChangeLog index 591ca58d029..c1cc6c0c420 100644 --- a/sim/mn10300/ChangeLog +++ b/sim/mn10300/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/mn10300/configure b/sim/mn10300/configure index 4f0f45ca56a..0fa36177e82 100755 --- a/sim/mn10300/configure +++ b/sim/mn10300/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4038,14 +4036,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12862,7 +12852,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12865 "configure" +#line 12855 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12968,7 +12958,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12971 "configure" +#line 12961 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/moxie/ChangeLog b/sim/moxie/ChangeLog index beaff022dd3..d7cd6636f1a 100644 --- a/sim/moxie/ChangeLog +++ b/sim/moxie/ChangeLog @@ -1,3 +1,7 @@ +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-10 Mike Frysinger * configure: Regenerate. diff --git a/sim/moxie/configure b/sim/moxie/configure index 802f58952e5..161f2ab5dcd 100755 --- a/sim/moxie/configure +++ b/sim/moxie/configure @@ -684,10 +684,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4034,14 +4032,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12858,7 +12848,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12861 "configure" +#line 12851 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12964,7 +12954,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12967 "configure" +#line 12957 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/msp430/ChangeLog b/sim/msp430/ChangeLog index 15877a66224..c6431806e24 100644 --- a/sim/msp430/ChangeLog +++ b/sim/msp430/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/msp430/configure b/sim/msp430/configure index 4e3b2e71b49..85c89ca9efa 100755 --- a/sim/msp430/configure +++ b/sim/msp430/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4029,14 +4027,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12853,7 +12843,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12856 "configure" +#line 12846 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12959,7 +12949,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12962 "configure" +#line 12952 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/ppc/ChangeLog b/sim/ppc/ChangeLog index 25bdd6ccdeb..01b07c99159 100644 --- a/sim/ppc/ChangeLog +++ b/sim/ppc/ChangeLog @@ -1,3 +1,15 @@ +2016-01-10 Mike Frysinger + + * configure.ac: Delete --enable-sim-regparm and sim_regparm, + and --enable-sim-stdcall and sim_stdcall. + * configure: Regenerate. + * Makefile.in (REGPARM_CFLAGS, STDCALL_CFLAGS): Delete. + (CONFIG_CFLAGS): Delete $(REGPARM_CFLAGS) and $(STDCALL_CFLAGS). + * inline.h: Delete REGPARM everywhere. + * options.c (print_options): Delete WITH_REGPARM and + WITH_STDCALL. + * std-config.h (WITH_REGPARM, WITH_STDCALL, REGPARM): Delete. + 2016-01-10 Mike Frysinger * configure.ac: Delete --enable-sim-cflags and sim_cflags. diff --git a/sim/ppc/Makefile.in b/sim/ppc/Makefile.in index 139fc6c7038..7d30faec335 100644 --- a/sim/ppc/Makefile.in +++ b/sim/ppc/Makefile.in @@ -72,8 +72,6 @@ RANLIB = @RANLIB@ INLINE_CFLAGS = @sim_inline@ ENDIAN_CFLAGS = @sim_endian@ -REGPARM_CFLAGS = @sim_regparm@ -STDCALL_CFLAGS = @sim_stdcall@ HOSTENDIAN_CFLAGS = @sim_hostendian@ SMP_CFLAGS = @sim_smp@ XOR_ENDIAN_CFLAGS = @sim_xor_endian@ @@ -94,8 +92,6 @@ WARNING_CFLAGS = @sim_warnings@ DEVZERO_CFLAGS = @sim_devzero@ CONFIG_CFLAGS = \ $(ENDIAN_CFLAGS) \ - $(REGPARM_CFLAGS) \ - $(STDCALL_CFLAGS) \ $(HOSTENDIAN_CFLAGS) \ $(SMP_CFLAGS) \ $(XOR_ENDIAN_CFLAGS) \ diff --git a/sim/ppc/configure b/sim/ppc/configure index d552628d5d2..260aa54cd20 100755 --- a/sim/ppc/configure +++ b/sim/ppc/configure @@ -671,10 +671,8 @@ INSTALL_PROGRAM WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -752,10 +750,8 @@ enable_sim_model_issue enable_sim_monitor enable_sim_opcode enable_sim_packages -enable_sim_regparm enable_sim_reserved_bits enable_sim_smp -enable_sim_stdcall enable_sim_stdio enable_sim_switch enable_sim_timebase @@ -1417,10 +1413,8 @@ Optional Features: --enable-sim-monitor=mon Specify whether to enable monitoring events. --enable-sim-opcode=which Override default opcode lookup. --enable-sim-packages=list Specify the packages to be included in the build. - --enable-sim-regparm=nr-parm Pass parameters in registers instead of on the stack - x86/GCC specific. --enable-sim-reserved-bits Specify whether to check reserved bits in instruction. --enable-sim-smp=n Specify number of processors to configure for. - --enable-sim-stdcall=type Use an alternative function call/return mechanism - x86/GCC specific. --enable-sim-stdio Specify whether to use stdio for console input/output. --enable-sim-switch Use a switch instead of a table for instruction call. --enable-sim-timebase Specify whether the PPC timebase is supported. @@ -4082,14 +4076,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -6439,22 +6425,6 @@ fi fi -# Check whether --enable-sim-regparm was given. -if test "${enable_sim_regparm+set}" = set; then : - enableval=$enable_sim_regparm; case "${enableval}" in - 0*|1*|2*|3*|4*|5*|6*|7*|8*|9*) sim_regparm="-DWITH_REGPARM=${enableval}";; - no) sim_regparm="" ;; - yes) sim_regparm="-DWITH_REGPARM=3";; - *) as_fn_error "\"Unknown value $enableval for --enable-sim-regparm\"" "$LINENO" 5; sim_regparm="";; -esac -if test x"$silent" != x"yes" && test x"$sim_regparm" != x""; then - echo "Setting regparm flags = $sim_regparm" 6>&1 -fi -else - sim_regparm="" -fi - - # Check whether --enable-sim-reserved-bits was given. if test "${enable_sim_reserved_bits+set}" = set; then : enableval=$enable_sim_reserved_bits; case "${enableval}" in @@ -6488,22 +6458,6 @@ fi fi -# Check whether --enable-sim-stdcall was given. -if test "${enable_sim_stdcall+set}" = set; then : - enableval=$enable_sim_stdcall; case "${enableval}" in - no) sim_stdcall="" ;; - std*) sim_stdcall="-DWITH_STDCALL=1";; - yes) sim_stdcall="-DWITH_STDCALL=1";; - *) as_fn_error "\"Unknown value $enableval for --enable-sim-stdcall\"" "$LINENO" 5; sim_stdcall="";; -esac -if test x"$silent" != x"yes" && test x"$sim_stdcall" != x""; then - echo "Setting function call flags = $sim_stdcall" 6>&1 -fi -else - sim_stdcall="" -fi - - # Check whether --enable-sim-stdio was given. if test "${enable_sim_stdio+set}" = set; then : enableval=$enable_sim_stdio; case "${enableval}" in @@ -7897,8 +7851,6 @@ fi - - diff --git a/sim/ppc/configure.ac b/sim/ppc/configure.ac index 0b6f849bfc6..8ac9fd04677 100644 --- a/sim/ppc/configure.ac +++ b/sim/ppc/configure.ac @@ -506,19 +506,6 @@ if test x"$silent" != x"yes"; then fi])dnl -AC_ARG_ENABLE(sim-regparm, -[ --enable-sim-regparm=nr-parm Pass parameters in registers instead of on the stack - x86/GCC specific.], -[case "${enableval}" in - 0*|1*|2*|3*|4*|5*|6*|7*|8*|9*) sim_regparm="-DWITH_REGPARM=${enableval}";; - no) sim_regparm="" ;; - yes) sim_regparm="-DWITH_REGPARM=3";; - *) AC_MSG_ERROR("Unknown value $enableval for --enable-sim-regparm"); sim_regparm="";; -esac -if test x"$silent" != x"yes" && test x"$sim_regparm" != x""; then - echo "Setting regparm flags = $sim_regparm" 6>&1 -fi],[sim_regparm=""])dnl - - AC_ARG_ENABLE(sim-reserved-bits, [ --enable-sim-reserved-bits Specify whether to check reserved bits in instruction.], [case "${enableval}" in @@ -546,19 +533,6 @@ if test x"$silent" != x"yes"; then fi])dnl -AC_ARG_ENABLE(sim-stdcall, -[ --enable-sim-stdcall=type Use an alternative function call/return mechanism - x86/GCC specific.], -[case "${enableval}" in - no) sim_stdcall="" ;; - std*) sim_stdcall="-DWITH_STDCALL=1";; - yes) sim_stdcall="-DWITH_STDCALL=1";; - *) AC_MSG_ERROR("Unknown value $enableval for --enable-sim-stdcall"); sim_stdcall="";; -esac -if test x"$silent" != x"yes" && test x"$sim_stdcall" != x""; then - echo "Setting function call flags = $sim_stdcall" 6>&1 -fi],[sim_stdcall=""])dnl - - AC_ARG_ENABLE(sim-stdio, [ --enable-sim-stdio Specify whether to use stdio for console input/output.], [case "${enableval}" in @@ -878,8 +852,6 @@ AC_SUBST(sim_pk_src) AC_SUBST(sim_pk_obj) AC_SUBST(sim_inline) AC_SUBST(sim_endian) -AC_SUBST(sim_regparm) -AC_SUBST(sim_stdcall) AC_SUBST(sim_xor_endian) AC_SUBST(sim_hostendian) AC_SUBST(sim_smp) diff --git a/sim/ppc/inline.h b/sim/ppc/inline.h index 6c4d325f6f0..55de0bbfbed 100644 --- a/sim/ppc/inline.h +++ b/sim/ppc/inline.h @@ -316,21 +316,21 @@ #if defined(_INLINE_C_) && !defined(_SEMANTICS_C_) && (SEMANTICS_INLINE & INCLUDE_MODULE) # if (SEMANTICS_INLINE & INLINE_MODULE) # define PSIM_INLINE_SEMANTICS(TYPE) static INLINE TYPE UNUSED -# define PSIM_EXTERN_SEMANTICS(TYPE) static TYPE UNUSED REGPARM +# define PSIM_EXTERN_SEMANTICS(TYPE) static TYPE UNUSED #else -# define PSIM_INLINE_SEMANTICS(TYPE) static TYPE UNUSED REGPARM -# define PSIM_EXTERN_SEMANTICS(TYPE) static TYPE UNUSED REGPARM +# define PSIM_INLINE_SEMANTICS(TYPE) static TYPE UNUSED +# define PSIM_EXTERN_SEMANTICS(TYPE) static TYPE UNUSED #endif #else -# define PSIM_INLINE_SEMANTICS(TYPE) TYPE REGPARM -# define PSIM_EXTERN_SEMANTICS(TYPE) TYPE REGPARM +# define PSIM_INLINE_SEMANTICS(TYPE) TYPE +# define PSIM_EXTERN_SEMANTICS(TYPE) TYPE #endif #if 0 /* this isn't used */ #if (SEMANTICS_INLINE & PSIM_INLINE_LOCALS) # define STATIC_INLINE_SEMANTICS(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_SEMANTICS(TYPE) static TYPE REGPARM +# define STATIC_INLINE_SEMANTICS(TYPE) static TYPE #endif #endif @@ -340,21 +340,21 @@ #if defined(_INLINE_C_) && !defined(_IDECODE_C_) && (IDECODE_INLINE & INCLUDE_MODULE) # if (IDECODE_INLINE & INLINE_MODULE) # define PSIM_INLINE_IDECODE(TYPE) static INLINE TYPE UNUSED -# define EXTERN_IDECODE(TYPE) static TYPE UNUSED REGPARM +# define EXTERN_IDECODE(TYPE) static TYPE UNUSED #else -# define PSIM_INLINE_IDECODE(TYPE) static TYPE UNUSED REGPARM -# define EXTERN_IDECODE(TYPE) static TYPE UNUSED REGPARM +# define PSIM_INLINE_IDECODE(TYPE) static TYPE UNUSED +# define EXTERN_IDECODE(TYPE) static TYPE UNUSED #endif #else -# define PSIM_INLINE_IDECODE(TYPE) TYPE REGPARM -# define EXTERN_IDECODE(TYPE) TYPE REGPARM +# define PSIM_INLINE_IDECODE(TYPE) TYPE +# define EXTERN_IDECODE(TYPE) TYPE #endif #if 0 /* this isn't used */ #if (IDECODE_INLINE & PSIM_INLINE_LOCALS) # define STATIC_INLINE_IDECODE(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_IDECODE(TYPE) static TYPE REGPARM +# define STATIC_INLINE_IDECODE(TYPE) static TYPE #endif #endif @@ -364,21 +364,21 @@ #if defined(_INLINE_C_) && !defined(_ICACHE_C_) && (ICACHE_INLINE & INCLUDE_MODULE) # if (ICACHE_INLINE & INLINE_MODULE) # define PSIM_INLINE_ICACHE(TYPE) static INLINE TYPE UNUSED -# define EXTERN_ICACHE(TYPE) static TYPE UNUSED REGPARM +# define EXTERN_ICACHE(TYPE) static TYPE UNUSED #else -# define PSIM_INLINE_ICACHE(TYPE) static TYPE UNUSED REGPARM -# define EXTERN_ICACHE(TYPE) static TYPE UNUSED REGPARM +# define PSIM_INLINE_ICACHE(TYPE) static TYPE UNUSED +# define EXTERN_ICACHE(TYPE) static TYPE UNUSED #endif #else -# define PSIM_INLINE_ICACHE(TYPE) TYPE REGPARM -# define EXTERN_ICACHE(TYPE) TYPE REGPARM +# define PSIM_INLINE_ICACHE(TYPE) TYPE +# define EXTERN_ICACHE(TYPE) TYPE #endif #if 0 /* this isn't used */ #if (ICACHE_INLINE & PSIM_INLINE_LOCALS) # define STATIC_INLINE_ICACHE(TYPE) static INLINE TYPE #else -# define STATIC_INLINE_ICACHE(TYPE) static TYPE REGPARM +# define STATIC_INLINE_ICACHE(TYPE) static TYPE #endif #endif diff --git a/sim/ppc/options.c b/sim/ppc/options.c index b8f9f9c12af..169378ef93d 100644 --- a/sim/ppc/options.c +++ b/sim/ppc/options.c @@ -137,8 +137,6 @@ print_options (void) printf_filtered ("WITH_MODEL_ISSUE = %d\n", WITH_MODEL_ISSUE); printf_filtered ("WITH_RESERVED_BITS = %d\n", WITH_RESERVED_BITS); printf_filtered ("WITH_STDIO = %d\n", WITH_STDIO); - printf_filtered ("WITH_REGPARM = %d\n", WITH_REGPARM); - printf_filtered ("WITH_STDCALL = %d\n", WITH_STDCALL); printf_filtered ("DEFAULT_INLINE = %s\n", options_inline (DEFAULT_INLINE)); printf_filtered ("SIM_ENDIAN_INLINE = %s\n", options_inline (SIM_ENDIAN_INLINE)); printf_filtered ("BITS_INLINE = %s\n", options_inline (BITS_INLINE)); diff --git a/sim/ppc/std-config.h b/sim/ppc/std-config.h index 04ba654fc55..badce3ddd7a 100644 --- a/sim/ppc/std-config.h +++ b/sim/ppc/std-config.h @@ -453,40 +453,6 @@ extern int current_stdio; #endif -/* Your compilers pass parameters in registers reserved word */ - -#ifndef WITH_REGPARM -#define WITH_REGPARM 0 -#endif - -/* Your compilers use an alternative calling sequence reserved word */ - -#ifndef WITH_STDCALL -#define WITH_STDCALL 0 -#endif - -#if !defined REGPARM -#if defined(__GNUC__) && (defined(__i386__) || defined(__i486__) || defined(__i586__) || defined(__i686__)) -#if (WITH_REGPARM && WITH_STDCALL) -#define REGPARM __attribute__((__regparm__(WITH_REGPARM),__stdcall__)) -#else -#if (WITH_REGPARM && !WITH_STDCALL) -#define REGPARM __attribute__((__regparm__(WITH_REGPARM))) -#else -#if (!WITH_REGPARM && WITH_STDCALL) -#define REGPARM __attribute__((__stdcall__)) -#endif -#endif -#endif -#endif -#endif - -#if !defined REGPARM -#define REGPARM -#endif - - - /* Default prefix for static functions */ #ifndef STATIC_INLINE diff --git a/sim/rl78/ChangeLog b/sim/rl78/ChangeLog index 8eed2d61b63..49fc40eca68 100644 --- a/sim/rl78/ChangeLog +++ b/sim/rl78/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/rl78/configure b/sim/rl78/configure index 706484252d0..cad712ecee8 100755 --- a/sim/rl78/configure +++ b/sim/rl78/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4011,14 +4009,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12835,7 +12825,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12838 "configure" +#line 12828 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12941,7 +12931,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12944 "configure" +#line 12934 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/rx/ChangeLog b/sim/rx/ChangeLog index 913b5ccd442..d48d10bfc86 100644 --- a/sim/rx/ChangeLog +++ b/sim/rx/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/rx/configure b/sim/rx/configure index 9d12c407f37..824447a7649 100755 --- a/sim/rx/configure +++ b/sim/rx/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4016,14 +4014,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12840,7 +12830,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12843 "configure" +#line 12833 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12946,7 +12936,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12949 "configure" +#line 12939 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/sh/ChangeLog b/sim/sh/ChangeLog index ccc671a2f0b..104a36b11d9 100644 --- a/sim/sh/ChangeLog +++ b/sim/sh/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/sh/configure b/sim/sh/configure index 027cd011490..7e68943d49a 100755 --- a/sim/sh/configure +++ b/sim/sh/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4033,14 +4031,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12857,7 +12847,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12860 "configure" +#line 12850 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12963,7 +12953,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12966 "configure" +#line 12956 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/sh64/ChangeLog b/sim/sh64/ChangeLog index 7499506d5b4..0de22fc60b4 100644 --- a/sim/sh64/ChangeLog +++ b/sim/sh64/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/sh64/configure b/sim/sh64/configure index 3e0a8b21663..e236b7d33c8 100755 --- a/sim/sh64/configure +++ b/sim/sh64/configure @@ -686,10 +686,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4039,14 +4037,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12863,7 +12853,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12866 "configure" +#line 12856 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12969,7 +12959,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12972 "configure" +#line 12962 "configure" #include "confdefs.h" #if HAVE_DLFCN_H diff --git a/sim/v850/ChangeLog b/sim/v850/ChangeLog index b598fae2df1..7582b410990 100644 --- a/sim/v850/ChangeLog +++ b/sim/v850/ChangeLog @@ -2,6 +2,10 @@ * configure: Regenerate. +2016-01-10 Mike Frysinger + + * configure: Regenerate. + 2016-01-09 Mike Frysinger * config.in, configure: Regenerate. diff --git a/sim/v850/configure b/sim/v850/configure index 99f883aec96..e9f87c63f6d 100755 --- a/sim/v850/configure +++ b/sim/v850/configure @@ -683,10 +683,8 @@ CC WERROR_CFLAGS WARN_CFLAGS sim_xor_endian -sim_stdcall sim_smp sim_reserved_bits -sim_regparm sim_packages sim_inline sim_hw @@ -4032,14 +4030,6 @@ sim_inline="-DDEFAULT_INLINE=0" - - - - - - - - @@ -12856,7 +12846,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12859 "configure" +#line 12849 "configure" #include "confdefs.h" #if HAVE_DLFCN_H @@ -12962,7 +12952,7 @@ else lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 lt_status=$lt_dlunknown cat > conftest.$ac_ext <<_LT_EOF -#line 12965 "configure" +#line 12955 "configure" #include "confdefs.h" #if HAVE_DLFCN_H