re PR bootstrap/40027 (i686-pc-solaris2.10 bootstrap fails using Sun ld)
PR bootstrap/40027 * config/i386/i386.c (USE_HIDDEN_LINKONCE): Only define if missing. * config/i386/sol2.h [!TARGET_GNU_LD] (USE_HIDDEN_LINKONCE): Define. From-SVN: r147846
This commit is contained in:
parent
bfcb949c93
commit
7fa170ec2b
|
@ -1,3 +1,9 @@
|
|||
2009-05-25 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
|
||||
|
||||
PR bootstrap/40027
|
||||
* config/i386/i386.c (USE_HIDDEN_LINKONCE): Only define if missing.
|
||||
* config/i386/sol2.h [!TARGET_GNU_LD] (USE_HIDDEN_LINKONCE): Define.
|
||||
|
||||
2009-05-24 Kaz Kojima <kkojima@gcc.gnu.org>
|
||||
|
||||
* gcc/config/sh/sh.c (sh_set_return_address): Mark store of
|
||||
|
|
|
@ -7304,10 +7304,12 @@ ix86_setup_frame_addresses (void)
|
|||
cfun->machine->accesses_prev_frame = 1;
|
||||
}
|
||||
|
||||
#if (defined(HAVE_GAS_HIDDEN) && (SUPPORTS_ONE_ONLY - 0)) || TARGET_MACHO
|
||||
# define USE_HIDDEN_LINKONCE 1
|
||||
#else
|
||||
# define USE_HIDDEN_LINKONCE 0
|
||||
#ifndef USE_HIDDEN_LINKONCE
|
||||
# if (defined(HAVE_GAS_HIDDEN) && (SUPPORTS_ONE_ONLY - 0)) || TARGET_MACHO
|
||||
# define USE_HIDDEN_LINKONCE 1
|
||||
# else
|
||||
# define USE_HIDDEN_LINKONCE 0
|
||||
# endif
|
||||
#endif
|
||||
|
||||
static int pic_labels_used;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/* Target definitions for GCC for Intel 80386 running Solaris 2
|
||||
Copyright (C) 1993, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003,
|
||||
2004, 2007, 2008 Free Software Foundation, Inc.
|
||||
2004, 2007, 2008, 2009 Free Software Foundation, Inc.
|
||||
Contributed by Fred Fish (fnf@cygnus.com).
|
||||
|
||||
This file is part of GCC.
|
||||
|
@ -112,3 +112,9 @@ along with GCC; see the file COPYING3. If not see
|
|||
/* We do not need NT_VERSION notes. */
|
||||
#undef X86_FILE_START_VERSION_DIRECTIVE
|
||||
#define X86_FILE_START_VERSION_DIRECTIVE false
|
||||
|
||||
/* Only recent versions of Solaris 11 ld properly support hidden .gnu.linkonce
|
||||
sections, so don't use them. */
|
||||
#ifndef TARGET_GNU_LD
|
||||
#define USE_HIDDEN_LINKONCE 0
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue