Mercurial > hg > CbC > CbC_gcc
diff gcc/config/pa/pa-hpux10.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-hpux10.h Sun Feb 07 18:28:00 2010 +0900 +++ b/gcc/config/pa/pa-hpux10.h Fri Feb 12 23:39:51 2010 +0900 @@ -38,11 +38,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__"); \ builtin_define ("__STDCPP__"); \ } \ else if (!flag_iso) \ @@ -58,8 +58,6 @@ builtin_define ("_PWB"); \ builtin_define ("PWB"); \ } \ - else \ - builtin_define ("__STDC_EXT__"); \ } \ if (flag_pa_unix >= 1995) \ { \ @@ -84,25 +82,25 @@ #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 }}}\ + "%{!mpa-risc-1-0:%{!march=1.0:%{static:-L/lib/pa1.1 -L/usr/lib/pa1.1 }}}\ %{!shared:%{p:-L/lib/libp %{!static:\ %nWarning: consider linking with `-static' as system libraries with\n\ %n profiling support are only provided in archive format}}}\ %{!shared:%{pg:-L/lib/libp %{!static:\ %nWarning: consider linking with `-static' as system libraries with\n\ %n profiling support are only provided in archive format}}}\ + %{!shared:%{!static:%{rdynamic:-E}}}\ -z %{mlinker-opt:-O} %{!shared:-u main}\ %{static:-a archive} %{shared:-b}" #else #define LINK_SPEC \ - "%<fwhole-program\ - %{!shared:%{p:-L/lib/libp %{!static:\ + "%{!shared:%{p:-L/lib/libp %{!static:\ %nWarning: consider linking with `-static' as system libraries with\n\ %n profiling support are only provided in archive format}}}\ %{!shared:%{pg:-L/lib/libp %{!static:\ %nWarning: consider linking with `-static' as system libraries with\n\ %n profiling support are only provided in archive format}}}\ + %{!shared:%{!static:%{rdynamic:-E}}}\ -z %{mlinker-opt:-O} %{!shared:-u main}\ %{static:-a archive} %{shared:-b}" #endif