X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2Fconfig%2Fsol2.h;h=7e42ddb6a4be722dc7003869e25b41c4462df731;hp=aace5247609b0304453070fbaaabeb1278bcf138;hb=05caec57fee5b8aa249b286d35b4775f764ab7d6;hpb=256aa63814d5044ee93c44d574dbcf15a8a41e74 diff --git a/gcc/config/sol2.h b/gcc/config/sol2.h index aace5247609..7e42ddb6a4b 100644 --- a/gcc/config/sol2.h +++ b/gcc/config/sol2.h @@ -1,6 +1,6 @@ /* Operating system specific defines to be used when targeting GCC for any Solaris 2 system. - Copyright 2002, 2003, 2004, 2007, 2008, 2009, 2010 + Copyright 2002, 2003, 2004, 2007, 2008, 2009, 2010, 2011 Free Software Foundation, Inc. This file is part of GCC. @@ -80,7 +80,6 @@ along with GCC; see the file COPYING3. If not see #undef CPP_SUBTARGET_SPEC #define CPP_SUBTARGET_SPEC "\ %{pthreads|pthread:-D_REENTRANT -D_PTHREADS} \ -%{!pthreads:%{!pthread:%{threads:-D_REENTRANT -D_SOLARIS_THREADS}}} \ %{compat-bsd:-iwithprefixbefore ucbinclude -I/usr/ucbinclude} \ " @@ -111,8 +110,7 @@ along with GCC; see the file COPYING3. If not see /* The system headers under Solaris 2 are C++-aware since 2.0. */ #define NO_IMPLICIT_EXTERN_C -/* The sun bundled assembler doesn't accept -Yd, (and neither does gas). - It's safe to pass -s always, even if -g is not used. */ +/* It's safe to pass -s always, even if -g is not used. */ #undef ASM_SPEC #define ASM_SPEC "\ %{v:-V} %{Qy:} %{!Qn:-Qy} %{Ym,*} -s \ @@ -135,8 +133,6 @@ along with GCC; see the file COPYING3. If not see %{!symbolic:\ %{pthreads|pthread:" \ LIB_THREAD_LDFLAGS_SPEC " -lpthread " LIB_TLS_SPEC "} \ - %{!pthreads:%{!pthread:%{threads:" \ - LIB_THREAD_LDFLAGS_SPEC " -lthread}}} \ %{p|pg:-ldl} -lc}" #undef ENDFILE_SPEC @@ -258,8 +254,8 @@ __enable_execute_stack (void *addr) \ /* #pragma init and #pragma fini are implemented on top of init and fini attributes. */ #define SOLARIS_ATTRIBUTE_TABLE \ - { "init", 0, 0, true, false, false, NULL }, \ - { "fini", 0, 0, true, false, false, NULL } + { "init", 0, 0, true, false, false, NULL, false }, \ + { "fini", 0, 0, true, false, false, NULL, false } /* Solaris/x86 as and gas support the common ELF .section/.pushsection syntax. */