diff options
author | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-05-20 03:00:10 +0000 |
---|---|---|
committer | kenner <kenner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1996-05-20 03:00:10 +0000 |
commit | 296197d850ab8d17d112dba4b3734ab6b4f11788 (patch) | |
tree | 9a90451b9d61844b58f75f6f218f690952605204 /gcc/config/pa/pa-hpux.h | |
parent | ea450ccb496b602835cd59462c73f8a12089b600 (diff) | |
download | gcc-296197d850ab8d17d112dba4b3734ab6b4f11788.tar.gz |
No longer include pa.h.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12051 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/config/pa/pa-hpux.h')
-rw-r--r-- | gcc/config/pa/pa-hpux.h | 12 |
1 files changed, 7 insertions, 5 deletions
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"'. */ |