No longer include pa.h.
authorRichard Kenner <kenner@gcc.gnu.org>
Mon, 20 May 1996 03:00:10 +0000 (23:00 -0400)
committerRichard Kenner <kenner@gcc.gnu.org>
Mon, 20 May 1996 03:00:10 +0000 (23:00 -0400)
From-SVN: r12051

gcc/config/pa/pa-hpux.h

index e080377cadfacee0d9bb2d3edd2603e26b0f7eb1..ef8257aaf83b8228ccdb41d31c11a1a4105efeb1 100644 (file)
@@ -1,5 +1,5 @@
 /* Definitions of target machine for GNU compiler, for HP-UX.
-   Copyright (C) 1991, 1995 Free Software Foundation, Inc.
+   Copyright (C) 1991, 1995, 1996 Free Software Foundation, Inc.
 
 This file is part of GNU CC.
 
@@ -18,11 +18,8 @@ along with GNU CC; see the file COPYING.  If not, write to
 the Free Software Foundation, 59 Temple Place - Suite 330,
 Boston, MA 02111-1307, USA.  */
 
-#ifndef TARGET_DEFAULT
+#undef TARGET_DEFAULT
 #define TARGET_DEFAULT 0
-#endif
-
-#include "pa/pa.h"
 
 /* Make GCC agree with types.h.  */
 #undef SIZE_TYPE
@@ -44,8 +41,13 @@ Boston, MA 02111-1307, USA.  */
 #define CPP_PREDEFINES "-Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -Asystem(unix) -Asystem(hpux) -Acpu(hppa) -Amachine(hppa)"
 
 #undef LINK_SPEC
+#if ((TARGET_DEFAULT | TARGET_CPU_DEFAULT) & 1)
+#define LINK_SPEC \
+  "%{!mpa-risc-1-0:-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 \
   "%{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
    pretend they are `extern "C"'.  */