Mercurial > hg > CbC > CbC_gcc
diff gcc/config/pa/pa-hpux.h @ 55:77e2b8dfacca gcc-4.4.5
update it from 4.4.3 to 4.5.0
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Fri, 12 Feb 2010 23:39:51 +0900 |
parents | a06113de4d67 |
children | f6334be47118 |
line wrap: on
line diff
--- a/gcc/config/pa/pa-hpux.h Sun Feb 07 18:28:00 2010 +0900 +++ b/gcc/config/pa/pa-hpux.h Fri Feb 12 23:39:51 2010 +0900 @@ -56,11 +56,11 @@ builtin_define ("__hpux__"); \ builtin_define ("__unix"); \ builtin_define ("__unix__"); \ + builtin_define ("__STDC_EXT__"); \ if (c_dialect_cxx ()) \ { \ builtin_define ("_HPUX_SOURCE"); \ builtin_define ("_INCLUDE_LONGLONG"); \ - builtin_define ("__STDC_EXT__"); \ } \ else if (!flag_iso) \ { \ @@ -76,8 +76,6 @@ builtin_define ("_PWB"); \ builtin_define ("PWB"); \ } \ - else \ - builtin_define ("__STDC_EXT__"); \ } \ if (TARGET_SIO) \ builtin_define ("_SIO"); \ @@ -97,12 +95,10 @@ #undef LINK_SPEC #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_PA_11) #define LINK_SPEC \ - "%<fwhole-program\ - %{!mpa-risc-1-0:%{!march=1.0:%{static:-L/lib/pa1.1 -L/usr/lib/pa1.1 }}}%{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}" + "%{!mpa-risc-1-0:%{!march=1.0:%{static:-L/lib/pa1.1 -L/usr/lib/pa1.1 }}}%{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}" #else #define LINK_SPEC \ - "%<fwhole-program\ - %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}" + "%{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}" #endif /* hpux8 and later have C++ compatible include files, so do not