From 890b30850f08010e6461f2af573cb7b53a82ef36 Mon Sep 17 00:00:00 2001 From: obrien Date: Sat, 27 May 2000 02:25:28 +0000 Subject: Bring in bug fixes from the GCC anoncvs server's "gcc-2_95-branch" branch as of May 26th, 2000. [these are changes March 31 - May 24th] --- contrib/gcc/config/alpha/linux-elf.h | 2 +- contrib/gcc/config/elfos.h | 5 +++-- contrib/gcc/config/i386/freebsd.h | 2 +- contrib/gcc/config/i386/freebsd.h.fixed | 2 +- contrib/gcc/config/linux.h | 2 +- contrib/gcc/config/sparc/linux.h | 2 +- 6 files changed, 8 insertions(+), 7 deletions(-) (limited to 'contrib/gcc/config') diff --git a/contrib/gcc/config/alpha/linux-elf.h b/contrib/gcc/config/alpha/linux-elf.h index fc07127..50bf230 100644 --- a/contrib/gcc/config/alpha/linux-elf.h +++ b/contrib/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 1 +#define DEFAULT_VTABLE_THUNKS 2 #endif #ifndef USE_GNULIBC_1 diff --git a/contrib/gcc/config/elfos.h b/contrib/gcc/config/elfos.h index 6c10731..d482615 100644 --- a/contrib/gcc/config/elfos.h +++ b/contrib/gcc/config/elfos.h @@ -1,6 +1,6 @@ /* elfos.h -- operating system specific defines to be used when targeting GCC for some generic ELF system - Copyright (C) 1991, 1994, 1995, 1999 Free Software Foundation, Inc. + Copyright (C) 1991, 1994, 1995, 1999, 2000 Free Software Foundation, Inc. Based on svr4.h contributed by Ron Guilmette (rfg@netcom.com). This file is part of GNU CC. @@ -426,7 +426,8 @@ do { \ else \ data_section (); \ } \ - else if (TREE_CODE (DECL) == VAR_DECL) \ + else if (TREE_CODE (DECL) == VAR_DECL \ + || TREE_CODE (DECL) == CONSTRUCTOR) \ { \ if ((flag_pic && RELOC) \ || !TREE_READONLY (DECL) || TREE_SIDE_EFFECTS (DECL) \ diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h index e97d4ca..8c907bf 100644 --- a/contrib/gcc/config/i386/freebsd.h +++ b/contrib/gcc/config/i386/freebsd.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 1 +#define DEFAULT_VTABLE_THUNKS 2 /* Override the default comment-starter of "/". */ #undef ASM_COMMENT_START diff --git a/contrib/gcc/config/i386/freebsd.h.fixed b/contrib/gcc/config/i386/freebsd.h.fixed index e97d4ca..8c907bf 100644 --- a/contrib/gcc/config/i386/freebsd.h.fixed +++ b/contrib/gcc/config/i386/freebsd.h.fixed @@ -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 1 +#define DEFAULT_VTABLE_THUNKS 2 /* Override the default comment-starter of "/". */ #undef ASM_COMMENT_START diff --git a/contrib/gcc/config/linux.h b/contrib/gcc/config/linux.h index b619d01..46ce898 100644 --- a/contrib/gcc/config/linux.h +++ b/contrib/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 1 +#define DEFAULT_VTABLE_THUNKS 2 #endif #undef LIB_SPEC diff --git a/contrib/gcc/config/sparc/linux.h b/contrib/gcc/config/sparc/linux.h index d967b01..4069490 100644 --- a/contrib/gcc/config/sparc/linux.h +++ b/contrib/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 1 +#define DEFAULT_VTABLE_THUNKS 2 #endif /* Use stabs instead of DWARF debug format. */ -- cgit v1.1