OSDN Git Service

* doc/tm.texi.in (HANDLE_SYSV_PRAGMA,
[pf3gnuchains/gcc-fork.git] / gcc / config / pa / pa-hpux.h
index 937f8b9..69a9d19 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler, for HP-UX.
-   Copyright (C) 1991, 1995, 1996, 2002, 2003, 2004, 2007, 2008
+   Copyright (C) 1991, 1995, 1996, 2002, 2003, 2004, 2007, 2008, 2009, 2010
    Free Software Foundation, Inc.
 
 This file is part of GCC.
@@ -56,11 +56,11 @@ along with GCC; see the file COPYING3.  If not see
        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 @@ along with GCC; see the file COPYING3.  If not see
                builtin_define ("_PWB");                        \
                builtin_define ("PWB");                         \
              }                                                 \
-           else                                                \
-             builtin_define ("__STDC_EXT__");                  \
          }                                                     \
        if (TARGET_SIO)                                         \
          builtin_define ("_SIO");                              \
@@ -97,12 +95,10 @@ along with GCC; see the file COPYING3.  If not see
 #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
@@ -118,12 +114,4 @@ along with GCC; see the file COPYING3.  If not see
 #undef TARGET_HPUX_UNWIND_LIBRARY
 #define TARGET_HPUX_UNWIND_LIBRARY 1
 
-/* Handle #pragma weak and #pragma pack.  */
-#undef HANDLE_SYSV_PRAGMA
-#define HANDLE_SYSV_PRAGMA
-
-/* Define this so we can compile MS code for use with WINE.  */
-#undef HANDLE_PRAGMA_PACK_PUSH_POP
-#define HANDLE_PRAGMA_PACK_PUSH_POP
-
 #define MD_UNWIND_SUPPORT "config/pa/hpux-unwind.h"