comparison gcc/config/pa/pa-hpux11.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
35 builtin_define ("__hp9000s800__"); \ 35 builtin_define ("__hp9000s800__"); \
36 builtin_define ("__hpux"); \ 36 builtin_define ("__hpux"); \
37 builtin_define ("__hpux__"); \ 37 builtin_define ("__hpux__"); \
38 builtin_define ("__unix"); \ 38 builtin_define ("__unix"); \
39 builtin_define ("__unix__"); \ 39 builtin_define ("__unix__"); \
40 builtin_define ("__STDC_EXT__"); \
40 if (c_dialect_cxx ()) \ 41 if (c_dialect_cxx ()) \
41 { \ 42 { \
42 builtin_define ("_HPUX_SOURCE"); \ 43 builtin_define ("_HPUX_SOURCE"); \
43 builtin_define ("_INCLUDE_LONGLONG"); \ 44 builtin_define ("_INCLUDE_LONGLONG"); \
44 builtin_define ("__STDC_EXT__"); \
45 builtin_define ("__STDCPP__"); \ 45 builtin_define ("__STDCPP__"); \
46 } \ 46 } \
47 else \ 47 else \
48 { \ 48 { \
49 if (!flag_iso) \ 49 if (!flag_iso) \
57 builtin_define ("unix"); \ 57 builtin_define ("unix"); \
58 builtin_define ("__CLASSIC_C__"); \ 58 builtin_define ("__CLASSIC_C__"); \
59 builtin_define ("_PWB"); \ 59 builtin_define ("_PWB"); \
60 builtin_define ("PWB"); \ 60 builtin_define ("PWB"); \
61 } \ 61 } \
62 else \
63 builtin_define ("__STDC_EXT__"); \
64 } \ 62 } \
65 } \ 63 } \
66 if (!TARGET_64BIT) \ 64 if (!TARGET_64BIT) \
67 builtin_define ("_ILP32"); \ 65 builtin_define ("_ILP32"); \
68 if (flag_pa_unix >= 1995 && !flag_iso) \ 66 if (flag_pa_unix >= 1995 && !flag_iso) \
104 102
105 /* We can debug dynamically linked executables on hpux11; we also 103 /* We can debug dynamically linked executables on hpux11; we also
106 want dereferencing of a NULL pointer to cause a SEGV. */ 104 want dereferencing of a NULL pointer to cause a SEGV. */
107 #undef LINK_SPEC 105 #undef LINK_SPEC
108 #define LINK_SPEC \ 106 #define LINK_SPEC \
109 "%<fwhole-program\ 107 "%{!shared:%{p:-L/lib/libp -L/usr/lib/libp %{!static:\
110 %{!shared:%{p:-L/lib/libp -L/usr/lib/libp %{!static:\
111 %nWarning: consider linking with `-static' as system libraries with\n\ 108 %nWarning: consider linking with `-static' as system libraries with\n\
112 %n profiling support are only provided in archive format}}}\ 109 %n profiling support are only provided in archive format}}}\
113 %{!shared:%{pg:-L/lib/libp -L/usr/lib/libp %{!static:\ 110 %{!shared:%{pg:-L/lib/libp -L/usr/lib/libp %{!static:\
114 %nWarning: consider linking with `-static' as system libraries with\n\ 111 %nWarning: consider linking with `-static' as system libraries with\n\
115 %n profiling support are only provided in archive format}}}\ 112 %n profiling support are only provided in archive format}}}\
113 %{!shared:%{!static:%{rdynamic:-E}}}\
116 -z %{mlinker-opt:-O} %{!shared:-u main -u __gcc_plt_call}\ 114 -z %{mlinker-opt:-O} %{!shared:-u main -u __gcc_plt_call}\
117 %{static:-a archive} %{shared:-b}" 115 %{static:-a archive} %{shared:-b}"
118 116
119 /* HP-UX 11 has posix threads. HP libc contains pthread stubs so that 117 /* HP-UX 11 has posix threads. HP libc contains pthread stubs so that
120 non-threaded applications can be linked with a thread-safe libc 118 non-threaded applications can be linked with a thread-safe libc