comparison 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
comparison
equal deleted inserted replaced
52:c156f1bd5cd9 55:77e2b8dfacca
36 builtin_define ("__hp9000s800__"); \ 36 builtin_define ("__hp9000s800__"); \
37 builtin_define ("__hpux"); \ 37 builtin_define ("__hpux"); \
38 builtin_define ("__hpux__"); \ 38 builtin_define ("__hpux__"); \
39 builtin_define ("__unix"); \ 39 builtin_define ("__unix"); \
40 builtin_define ("__unix__"); \ 40 builtin_define ("__unix__"); \
41 builtin_define ("__STDC_EXT__"); \
41 if (c_dialect_cxx ()) \ 42 if (c_dialect_cxx ()) \
42 { \ 43 { \
43 builtin_define ("_HPUX_SOURCE"); \ 44 builtin_define ("_HPUX_SOURCE"); \
44 builtin_define ("_INCLUDE_LONGLONG"); \ 45 builtin_define ("_INCLUDE_LONGLONG"); \
45 builtin_define ("__STDC_EXT__"); \
46 builtin_define ("__STDCPP__"); \ 46 builtin_define ("__STDCPP__"); \
47 } \ 47 } \
48 else if (!flag_iso) \ 48 else if (!flag_iso) \
49 { \ 49 { \
50 builtin_define ("_HPUX_SOURCE"); \ 50 builtin_define ("_HPUX_SOURCE"); \
56 builtin_define ("unix"); \ 56 builtin_define ("unix"); \
57 builtin_define ("__CLASSIC_C__"); \ 57 builtin_define ("__CLASSIC_C__"); \
58 builtin_define ("_PWB"); \ 58 builtin_define ("_PWB"); \
59 builtin_define ("PWB"); \ 59 builtin_define ("PWB"); \
60 } \ 60 } \
61 else \
62 builtin_define ("__STDC_EXT__"); \
63 } \ 61 } \
64 if (flag_pa_unix >= 1995) \ 62 if (flag_pa_unix >= 1995) \
65 { \ 63 { \
66 builtin_define ("_XOPEN_UNIX"); \ 64 builtin_define ("_XOPEN_UNIX"); \
67 builtin_define ("_XOPEN_SOURCE_EXTENDED"); \ 65 builtin_define ("_XOPEN_SOURCE_EXTENDED"); \
82 /* We can debug dynamically linked executables on hpux9; we also want 80 /* We can debug dynamically linked executables on hpux9; we also want
83 dereferencing of a NULL pointer to cause a SEGV. */ 81 dereferencing of a NULL pointer to cause a SEGV. */
84 #undef LINK_SPEC 82 #undef LINK_SPEC
85 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_PA_11) 83 #if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & MASK_PA_11)
86 #define LINK_SPEC \ 84 #define LINK_SPEC \
87 "%<fwhole-program\ 85 "%{!mpa-risc-1-0:%{!march=1.0:%{static:-L/lib/pa1.1 -L/usr/lib/pa1.1 }}}\
88 %{!mpa-risc-1-0:%{!march=1.0:%{static:-L/lib/pa1.1 -L/usr/lib/pa1.1 }}}\
89 %{!shared:%{p:-L/lib/libp %{!static:\ 86 %{!shared:%{p:-L/lib/libp %{!static:\
90 %nWarning: consider linking with `-static' as system libraries with\n\ 87 %nWarning: consider linking with `-static' as system libraries with\n\
91 %n profiling support are only provided in archive format}}}\ 88 %n profiling support are only provided in archive format}}}\
92 %{!shared:%{pg:-L/lib/libp %{!static:\ 89 %{!shared:%{pg:-L/lib/libp %{!static:\
93 %nWarning: consider linking with `-static' as system libraries with\n\ 90 %nWarning: consider linking with `-static' as system libraries with\n\
94 %n profiling support are only provided in archive format}}}\ 91 %n profiling support are only provided in archive format}}}\
92 %{!shared:%{!static:%{rdynamic:-E}}}\
95 -z %{mlinker-opt:-O} %{!shared:-u main}\ 93 -z %{mlinker-opt:-O} %{!shared:-u main}\
96 %{static:-a archive} %{shared:-b}" 94 %{static:-a archive} %{shared:-b}"
97 #else 95 #else
98 #define LINK_SPEC \ 96 #define LINK_SPEC \
99 "%<fwhole-program\ 97 "%{!shared:%{p:-L/lib/libp %{!static:\
100 %{!shared:%{p:-L/lib/libp %{!static:\
101 %nWarning: consider linking with `-static' as system libraries with\n\ 98 %nWarning: consider linking with `-static' as system libraries with\n\
102 %n profiling support are only provided in archive format}}}\ 99 %n profiling support are only provided in archive format}}}\
103 %{!shared:%{pg:-L/lib/libp %{!static:\ 100 %{!shared:%{pg:-L/lib/libp %{!static:\
104 %nWarning: consider linking with `-static' as system libraries with\n\ 101 %nWarning: consider linking with `-static' as system libraries with\n\
105 %n profiling support are only provided in archive format}}}\ 102 %n profiling support are only provided in archive format}}}\
103 %{!shared:%{!static:%{rdynamic:-E}}}\
106 -z %{mlinker-opt:-O} %{!shared:-u main}\ 104 -z %{mlinker-opt:-O} %{!shared:-u main}\
107 %{static:-a archive} %{shared:-b}" 105 %{static:-a archive} %{shared:-b}"
108 #endif 106 #endif
109 107
110 /* Like the default, except no -lg. */ 108 /* Like the default, except no -lg. */