diff options
author | Torbjorn Granlund <tege@gnu.org> | 1992-11-09 17:33:01 +0000 |
---|---|---|
committer | Torbjorn Granlund <tege@gnu.org> | 1992-11-09 17:33:01 +0000 |
commit | 04fdca4a0a6b47dec2640f69c21eefafb6f58ee5 (patch) | |
tree | 03e4cc13af028d01c876509d611b70a15f45e95a | |
parent | 2eee08f737c299c696367c0066a735b4a508548f (diff) | |
download | gcc-04fdca4a0a6b47dec2640f69c21eefafb6f58ee5.zip gcc-04fdca4a0a6b47dec2640f69c21eefafb6f58ee5.tar.gz gcc-04fdca4a0a6b47dec2640f69c21eefafb6f58ee5.tar.bz2 |
Move definition of TARGET_DEFAULT to before inclusion of other pa*h files.
Only define TARGET_DEFAULT if not already defined.
Get rid of hpux8 conditionals.
From-SVN: r2721
-rw-r--r-- | gcc/config/pa/pa-hpux.h | 28 | ||||
-rw-r--r-- | gcc/config/pa/pa1.h | 7 |
2 files changed, 26 insertions, 9 deletions
diff --git a/gcc/config/pa/pa-hpux.h b/gcc/config/pa/pa-hpux.h index 52ab59b..579bbfd 100644 --- a/gcc/config/pa/pa-hpux.h +++ b/gcc/config/pa/pa-hpux.h @@ -1,3 +1,26 @@ +/* Definitions of target machine for GNU compiler, for HP-UX. + Copyright (C) 1991 Free Software Foundation, Inc. + +This file is part of GNU CC. + +GNU CC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2, or (at your option) +any later version. + +GNU CC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with GNU CC; see the file COPYING. If not, write to +the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ + +#ifndef TARGET_DEFAULT +#define TARGET_DEFAULT 8 /* TARGET_SHARED_LIBS */ +#endif + #include "pa.h" /* Make GCC agree with types.h. */ @@ -26,10 +49,5 @@ #undef CPP_PREDEFINES #define CPP_PREDEFINES "-Dhppa -Dhp9000s800 -D__hp9000s800 -Dhp9k8 -DPWB -Dhpux -Dunix -D_HPUX_SOURCE" -/* Link against shared libraries */ -#ifdef hpux8 -#undef TARGET_DEFAULT -#define TARGET_DEFAULT 8 #undef LINK_SPEC #define LINK_SPEC "-u main %{g*:-a archive} %{p:-a archive} %{pg:-a archive}" -#endif diff --git a/gcc/config/pa/pa1.h b/gcc/config/pa/pa1.h index d5934b2..767101f9 100644 --- a/gcc/config/pa/pa1.h +++ b/gcc/config/pa/pa1.h @@ -18,10 +18,9 @@ You should have received a copy of the GNU General Public License along with GNU CC; see the file COPYING. If not, write to the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA. */ -/* This is the same as hppa.h, except that we generate snake code by +#define TARGET_DEFAULT 1 /* TARGET_SNAKE */ + +/* This is the same as pa.h, except that we generate snake code by default. */ #include "pa.h" - -#undef TARGET_DEFAULT -#define TARGET_DEFAULT 1 |