From 61c67a3a15ff026a2a31152eadefd5612f96d6a4 Mon Sep 17 00:00:00 2001 From: Franz Sirl Date: Mon, 18 Dec 2000 14:05:59 +0000 Subject: [PATCH] Switch back to old vtable thunks From-SVN: r38344 --- gcc/ChangeLog | 9 +++++++++ gcc/config/alpha/linux-elf.h | 2 +- gcc/config/arm/linux-elf.h | 2 +- gcc/config/i386/freebsd-elf.h | 2 +- gcc/config/linux.h | 2 +- gcc/config/rs6000/linux.h | 2 +- gcc/config/sparc/linux.h | 2 +- 7 files changed, 15 insertions(+), 6 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e4b1b84d13d..8243b4d34ed3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,12 @@ +2000-12-18 Franz Sirl + + * linux.h (DEFAULT_VTABLE_THUNKS): Switch back to version 1. + * alpha/linux-elf.h (DEFAULT_VTABLE_THUNKS): Likewise. + * arm/linux-elf (DEFAULT_VTABLE_THUNKS): Likewise. + * i386/freebsd-elf.h (DEFAULT_VTABLE_THUNKS): Likewise. + * rs6000/linux.h (DEFAULT_VTABLE_THUNKS): Likewise. + * sparc/linux.h (DEFAULT_VTABLE_THUNKS): Likewise. + 2000-12-05 Bernd Schmidt * version.c: Bump. diff --git a/gcc/config/alpha/linux-elf.h b/gcc/config/alpha/linux-elf.h index 50bf2307d5b1..fc07127d757e 100644 --- a/gcc/config/alpha/linux-elf.h +++ b/gcc/config/alpha/linux-elf.h @@ -38,7 +38,7 @@ Boston, MA 02111-1307, USA. */ #ifndef USE_GNULIBC_1 #undef DEFAULT_VTABLE_THUNKS -#define DEFAULT_VTABLE_THUNKS 2 +#define DEFAULT_VTABLE_THUNKS 1 #endif #ifndef USE_GNULIBC_1 diff --git a/gcc/config/arm/linux-elf.h b/gcc/config/arm/linux-elf.h index 956ecba53482..e5b4de1c13b3 100644 --- a/gcc/config/arm/linux-elf.h +++ b/gcc/config/arm/linux-elf.h @@ -39,7 +39,7 @@ Boston, MA 02111-1307, USA. */ /* This was defined in linux.h. Define it here also. */ #undef DEFAULT_VTABLE_THUNKS -#define DEFAULT_VTABLE_THUNKS 2 +#define DEFAULT_VTABLE_THUNKS 1 /* Handle #pragma weak and #pragma pack. */ #define HANDLE_SYSV_PRAGMA diff --git a/gcc/config/i386/freebsd-elf.h b/gcc/config/i386/freebsd-elf.h index 8c907bf9d1e4..e97d4ca07bb2 100644 --- a/gcc/config/i386/freebsd-elf.h +++ b/gcc/config/i386/freebsd-elf.h @@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA. */ /* Use more efficient ``thunks'' to implement C++ vtables. */ #undef DEFAULT_VTABLE_THUNKS -#define DEFAULT_VTABLE_THUNKS 2 +#define DEFAULT_VTABLE_THUNKS 1 /* Override the default comment-starter of "/". */ #undef ASM_COMMENT_START diff --git a/gcc/config/linux.h b/gcc/config/linux.h index 46ce8988223e..b619d01cdf5e 100644 --- a/gcc/config/linux.h +++ b/gcc/config/linux.h @@ -89,7 +89,7 @@ Boston, MA 02111-1307, USA. */ #ifndef USE_GNULIBC_1 #undef DEFAULT_VTABLE_THUNKS -#define DEFAULT_VTABLE_THUNKS 2 +#define DEFAULT_VTABLE_THUNKS 1 #endif #undef LIB_SPEC diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h index 8210076245a4..c2a04fa85b17 100644 --- a/gcc/config/rs6000/linux.h +++ b/gcc/config/rs6000/linux.h @@ -69,7 +69,7 @@ Boston, MA 02111-1307, USA. */ #undef DEFAULT_VTABLE_THUNKS #ifndef USE_GNULIBC_1 -#define DEFAULT_VTABLE_THUNKS 2 +#define DEFAULT_VTABLE_THUNKS 1 #endif #undef JUMP_TABLES_IN_TEXT_SECTION diff --git a/gcc/config/sparc/linux.h b/gcc/config/sparc/linux.h index 40694908b68d..d967b01ebe33 100644 --- a/gcc/config/sparc/linux.h +++ b/gcc/config/sparc/linux.h @@ -37,7 +37,7 @@ Boston, MA 02111-1307, USA. */ #ifndef USE_GNULIBC_1 #undef DEFAULT_VTABLE_THUNKS -#define DEFAULT_VTABLE_THUNKS 2 +#define DEFAULT_VTABLE_THUNKS 1 #endif /* Use stabs instead of DWARF debug format. */ -- 2.47.2