diff options
author | Mike Frysinger <vapier@gentoo.org> | 2016-01-09 05:13:37 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2016-01-10 03:15:01 -0500 |
commit | 0dc73ef7c304e6ffc9ce43b2131c77553a74e1d4 (patch) | |
tree | 532fd8862224ef99d9af70eeb431e6b12f3e524a /sim/ppc/std-config.h | |
parent | 22be3fbeaccf50e3c0f58d0f7e9f7ed77effeaab (diff) | |
download | gdb-0dc73ef7c304e6ffc9ce43b2131c77553a74e1d4.zip gdb-0dc73ef7c304e6ffc9ce43b2131c77553a74e1d4.tar.gz gdb-0dc73ef7c304e6ffc9ce43b2131c77553a74e1d4.tar.bz2 |
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.
Diffstat (limited to 'sim/ppc/std-config.h')
-rw-r--r-- | sim/ppc/std-config.h | 34 |
1 files changed, 0 insertions, 34 deletions
diff --git a/sim/ppc/std-config.h b/sim/ppc/std-config.h index 04ba654..badce3d 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 |