From: Richard Kenner Date: Mon, 20 May 1996 03:00:10 +0000 (-0400) Subject: No longer include pa.h. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6ac7dac196d5331091421f96e8a31efdafbef104;p=gcc.git No longer include pa.h. From-SVN: r12051 --- diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h index e080377cadf..ef8257aaf83 100644 --- a/gcc/config/pa/pa-hpux.h +++ b/gcc/config/pa/pa-hpux.h @@ -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"'. */