comparison 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
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
54 builtin_define ("__hp9k8__"); \ 54 builtin_define ("__hp9k8__"); \
55 builtin_define ("__hpux"); \ 55 builtin_define ("__hpux"); \
56 builtin_define ("__hpux__"); \ 56 builtin_define ("__hpux__"); \
57 builtin_define ("__unix"); \ 57 builtin_define ("__unix"); \
58 builtin_define ("__unix__"); \ 58 builtin_define ("__unix__"); \
59 builtin_define ("__STDC_EXT__"); \
59 if (c_dialect_cxx ()) \ 60 if (c_dialect_cxx ()) \
60 { \ 61 { \
61 builtin_define ("_HPUX_SOURCE"); \ 62 builtin_define ("_HPUX_SOURCE"); \
62 builtin_define ("_INCLUDE_LONGLONG"); \ 63 builtin_define ("_INCLUDE_LONGLONG"); \
63 builtin_define ("__STDC_EXT__"); \
64 } \ 64 } \
65 else if (!flag_iso) \ 65 else if (!flag_iso) \
66 { \ 66 { \
67 builtin_define ("_HPUX_SOURCE"); \ 67 builtin_define ("_HPUX_SOURCE"); \
68 if (preprocessing_trad_p ()) \ 68 if (preprocessing_trad_p ()) \
74 builtin_define ("unix"); \ 74 builtin_define ("unix"); \
75 builtin_define ("__CLASSIC_C__"); \ 75 builtin_define ("__CLASSIC_C__"); \
76 builtin_define ("_PWB"); \ 76 builtin_define ("_PWB"); \
77 builtin_define ("PWB"); \ 77 builtin_define ("PWB"); \
78 } \ 78 } \
79 else \
80 builtin_define ("__STDC_EXT__"); \
81 } \ 79 } \
82 if (TARGET_SIO) \ 80 if (TARGET_SIO) \
83 builtin_define ("_SIO"); \ 81 builtin_define ("_SIO"); \
84 else \ 82 else \
85 { \ 83 { \
95 #define LIB_SPEC "%{!shared:%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}}" 93 #define LIB_SPEC "%{!shared:%{!p:%{!pg:-lc}}%{p: -L/lib/libp/ -lc}%{pg: -L/lib/libp/ -lc}}"
96 94
97 #undef LINK_SPEC 95 #undef LINK_SPEC
98 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_PA_11) 96 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_PA_11)
99 #define LINK_SPEC \ 97 #define LINK_SPEC \
100 "%<fwhole-program\ 98 "%{!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}"
101 %{!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}"
102 #else 99 #else
103 #define LINK_SPEC \ 100 #define LINK_SPEC \
104 "%<fwhole-program\ 101 "%{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}"
105 %{mlinker-opt:-O} %{!shared:-u main} %{static:-a archive} %{g*:-a archive} %{shared:-b}"
106 #endif 102 #endif
107 103
108 /* hpux8 and later have C++ compatible include files, so do not 104 /* hpux8 and later have C++ compatible include files, so do not
109 pretend they are `extern "C"'. */ 105 pretend they are `extern "C"'. */
110 #define NO_IMPLICIT_EXTERN_C 106 #define NO_IMPLICIT_EXTERN_C