]> gcc.gnu.org Git - gcc.git/commitdiff
pa-gas.h: Delete file.
authorAlan Modra <amodra@one.net.au>
Fri, 13 Apr 2001 05:27:47 +0000 (05:27 +0000)
committerAlan Modra <amodra@gcc.gnu.org>
Fri, 13 Apr 2001 05:27:47 +0000 (14:57 +0930)
* pa-gas.h: Delete file.
* config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa.
Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*.  Update
hppa*-*-linux*.  For all pa targets, remove pa/gas.h from tm_file,
instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2.

From-SVN: r41325

gcc/ChangeLog
gcc/config.gcc
gcc/config/pa/pa-gas.h [deleted file]

index 329c90ecdb226680de2446d87dbc2a800034b2a7..c37c6fe3a94573c2e2c1bff47e864d129d740475 100644 (file)
@@ -1,5 +1,11 @@
 2001-04-13  Alan Modra  <amodra@one.net.au>
 
+       * pa-gas.h: Delete file.
+       * config.gcc: Match `parisc' as well as `hppa' for cpu_type=pa.
+       Add new targets hppa*64*-*-linux* and parisc*64*-*-linux*.  Update
+       hppa*-*-linux*.  For all pa targets, remove pa/gas.h from tm_file,
+       instead setting MASK_GAS | MASK_JUMP_IN_DELAY in target_cpu_default2.
+
        * config/pa/mill32.S: New file.
        * config/pa/mill64.S: New file.
        * config/pa/t-linux (LIBGCC1, CROSS_LIBGCC1, LIB1ASMFUNCS,
index c70dba3bf91d6a4a172dbccf93d2a9787d0c3eac..21ac388821f4ec61fbed2c35b6b6e23c40b43367 100644 (file)
@@ -222,7 +222,7 @@ c*-convex-*)
 i[34567]86-*-*)
        cpu_type=i386
        ;;
-hppa*-*-*)
+hppa*-*-* | parisc*-*-*)
        cpu_type=pa
        ;;
 m68000-*-*)
@@ -640,12 +640,21 @@ h8300-*-rtems*)
 h8300-*-*)
        float_format=i32
        ;;
-hppa*-*-linux*)
-       target_cpu_default="(MASK_PA_11 | MASK_GAS | MASK_JUMP_IN_DELAY)"
-       tm_file="${tm_file} pa/elf.h linux.h pa/pa-linux.h"
-       tmake_file="t-linux pa/t-linux"
-       extra_parts="crtbegin.o crtend.o"
-       xmake_file=
+hppa*64*-*-linux* | parisc*64*-*-linux*)
+       target_cpu_default="(MASK_PA_11 | MASK_PA_20)"
+       tm_file="pa/pa64-start.h ${tm_file} linux.h pa/pa-linux.h \
+                pa/pa64-regs.h pa/pa-64.h pa/pa64-linux.h"
+       tmake_file=pa/t-linux64
+       xmake_file=x-linux
+       gas=yes gnu_ld=yes
+       ;;
+hppa*-*-linux* | parisc*-*-linux*)
+       target_cpu_default="MASK_PA_11"
+       tm_file="${tm_file} linux.h pa/pa-linux.h \
+                pa/pa32-regs.h pa/pa32-linux.h"
+       tmake_file=pa/t-linux
+       xmake_file=x-linux
+       extra_parts="crtbegin.o crtbeginS.o crtend.o crtendS.o"
        gas=yes gnu_ld=yes
        if test x$enable_threads = xyes; then
                thread_file='posix'
@@ -694,10 +703,6 @@ hppa1.0-*-hpux7*)
        tm_file="pa/pa-oldas.h ${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux7.h"
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
-       if test x$gas = xyes
-       then
-               tm_file="${tm_file} pa/gas.h"
-       fi
        install_headers_dir=install-headers-cpio
        use_collect2=yes
        ;;
@@ -705,10 +710,8 @@ hppa1.0-*-hpux8.0[0-2]*)
        tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
-       if test x$gas = xyes
+       if test x$gas != xyes
        then
-               tm_file="${tm_file} pa/pa-gas.h"
-       else
                tm_file="pa/pa-oldas.h ${tm_file}"
        fi
        install_headers_dir=install-headers-cpio
@@ -719,10 +722,8 @@ hppa1.1-*-hpux8.0[0-2]*)
        tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
-       if test x$gas = xyes
+       if test x$gas != xyes
        then
-               tm_file="${tm_file} pa/pa-gas.h"
-       else
                tm_file="pa/pa-oldas.h ${tm_file}"
        fi
        install_headers_dir=install-headers-cpio
@@ -733,10 +734,6 @@ hppa1.1-*-hpux8*)
        tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
-       if test x$gas = xyes
-       then
-               tm_file="${tm_file} pa/pa-gas.h"
-       fi
        install_headers_dir=install-headers-cpio
        use_collect2=yes
        ;;
@@ -744,10 +741,6 @@ hppa1.0-*-hpux8*)
        tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h"
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
-       if test x$gas = xyes
-       then
-               tm_file="${tm_file} pa/pa-gas.h"
-       fi
        install_headers_dir=install-headers-cpio
        use_collect2=yes
        ;;
@@ -758,10 +751,6 @@ hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
        tmake_file=pa/t-pa
-       if test x$gas = xyes
-       then
-               tm_file="${tm_file} pa/pa-gas.h"
-       fi
        if test x$enable_threads = x; then
            enable_threads=$have_pthread_h
        fi
@@ -779,10 +768,6 @@ hppa1.0-*-hpux10*)
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
        tmake_file=pa/t-pa
-       if test x$gas = xyes
-       then
-               tm_file="${tm_file} pa/pa-gas.h"
-       fi
        if test x$enable_threads = x; then
            enable_threads=$have_pthread_h
        fi
@@ -803,10 +788,6 @@ hppa*64*-*-hpux11*)
        tmake_file=pa/t-pa64
        target_cpu_default="(MASK_PA_11|MASK_PA_20|MASK_GAS)"
 
-       if [ x$gas = xyes ]
-       then
-               tm_file="${tm_file} pa/pa-gas.h"
-       fi
 #      if [ x$enable_threads = x ]; then
 #          enable_threads=$have_pthread_h
 #      fi
@@ -824,10 +805,6 @@ hppa1.1-*-hpux11* | hppa2*-*-hpux11*)
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
        tmake_file=pa/t-pa
-       if test x$gas = xyes
-       then
-               tm_file="${tm_file} pa/pa-gas.h"
-       fi
 #      if test x$enable_threads = x; then
 #          enable_threads=$have_pthread_h
 #      fi
@@ -843,10 +820,6 @@ hppa1.0-*-hpux11*)
        float_format=i128
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
-       if test x$gas = xyes
-       then
-               tm_file="${tm_file} pa/pa-gas.h"
-       fi
 #      if test x$enable_threads = x; then
 #          enable_threads=$have_pthread_h
 #      fi
@@ -862,10 +835,6 @@ hppa1.1-*-hpux* | hppa2*-*-hpux*)
        tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
-       if test x$gas = xyes
-       then
-               tm_file="${tm_file} pa/pa-gas.h"
-       fi
        install_headers_dir=install-headers-cpio
        use_collect2=yes
        ;;
@@ -873,10 +842,6 @@ hppa1.0-*-hpux*)
        tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hpux9.h"
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
-       if test x$gas = xyes
-       then
-               tm_file="${tm_file} pa/pa-gas.h"
-       fi
        install_headers_dir=install-headers-cpio
        use_collect2=yes
        ;;
@@ -885,10 +850,6 @@ hppa1.1-*-hiux* | hppa2*-*-hiux*)
        tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
-       if test x$gas = xyes
-       then
-               tm_file="${tm_file} pa/pa-gas.h"
-       fi
        install_headers_dir=install-headers-cpio
        use_collect2=yes
        ;;
@@ -896,10 +857,6 @@ hppa1.0-*-hiux*)
        tm_file="${tm_file} pa/pa32-regs.h pa/som.h pa/pa-hpux.h pa/pa-hiux.h"
        xm_defines=USG
        xmake_file=pa/x-pa-hpux
-       if test x$gas = xyes
-       then
-               tm_file="${tm_file} pa/pa-gas.h"
-       fi
        install_headers_dir=install-headers-cpio
        use_collect2=yes
        ;;
@@ -912,6 +869,7 @@ hppa*-*-mpeix*)
        tm_file="${tm_file} pa/pa32-regs.h pa/long_double.h pa/som.h pa/pa-mpeix.h"
        xmake_file=pa/x-pa-mpeix 
        echo "You must use gas. Assuming it is already installed." 
+       gas=yes
        install_headers_dir=install-headers-tar
        use_collect2=yes 
        ;; 
@@ -3341,6 +3299,13 @@ arm*-*-*)
        esac
        ;;
 
+hppa*-*-* | parisc*-*-*)
+       if test x$gas = xyes
+       then
+               target_cpu_default2="MASK_GAS|MASK_JUMP_IN_DELAY"
+       fi
+       ;;
+
 mips*-*-ecoff* | mips*-*-elf*)
        if test x$gas = xyes
        then
diff --git a/gcc/config/pa/pa-gas.h b/gcc/config/pa/pa-gas.h
deleted file mode 100644 (file)
index cd2ddae..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-/* Definitions of target machine for GNU compiler, for HP-UX using GNU as.
-   Copyright (C) 1996 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, 59 Temple Place - Suite 330,
-Boston, MA 02111-1307, USA.  */
-
-#undef TARGET_DEFAULT
-#define TARGET_DEFAULT (MASK_GAS | MASK_JUMP_IN_DELAY)
This page took 0.085107 seconds and 5 git commands to generate.