OSDN Git Service

* config.build (ia64-hp-*vms*): New target.
authorrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Aug 2009 07:05:11 +0000 (07:05 +0000)
committerrupp <rupp@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 9 Aug 2009 07:05:11 +0000 (07:05 +0000)
(alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
with ia64-hp-*vms*.
* config.gcc (ia64-hp-*vms*): New target.
(alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
with ia64-hp-*vms*.
* config.host (ia64-hp-*vms*): New target.
(alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
with ia64-hp-*vms*.
* libgcc/config.host (ia64-hp-*vms*): New target.
(alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
with ia64-hp-*vms*.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@150587 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/config.build
gcc/config.gcc
gcc/config.host
libgcc/ChangeLog
libgcc/config.host

index a33b337..b7fba0d 100644 (file)
@@ -1,3 +1,15 @@
+2009-08-09  Douglas B Rupp  <rupp@gnat.com>
+
+       * config.build (ia64-hp-*vms*): New target.
+       (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
+       with ia64-hp-*vms*.
+       * config.gcc (ia64-hp-*vms*): New target.
+       (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
+       with ia64-hp-*vms*.
+       * config.host (ia64-hp-*vms*): New target.
+       (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
+       with ia64-hp-*vms*.
+
 2009-08-08  Richard Guenther  <rguenther@suse.de>
 
        PR tree-optimization/40991
index d081434..0ed8754 100644 (file)
@@ -1,5 +1,5 @@
 # GCC build-specific configuration file.
-# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007, 2008
+# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2007, 2008, 2009
 # Free Software Foundation, Inc.
 
 #This file is part of GCC.
@@ -56,12 +56,19 @@ case $build in
     # a broken tar, so we use cpio instead.
     build_install_headers_dir=install-headers-cpio
     ;;
+  alpha64-dec-*vms*)
+    build_xm_file="vms/xm-vms.h vms/xm-vms64.h"
+    build_exeext=.exe
+    build_install_headers_dir=install-headers-cp
+    prefix=/gnu
+    local_prefix=/gnu/local
+    ;;
   alpha*-dec-*vms*)
-    build_xm_file=alpha/xm-vms.h
+    build_xm_file="vms/xm-vms.h"
     build_exeext=.exe
     build_install_headers_dir=install-headers-cp
     prefix=/gnu
-    local_prefix=/gnu
+    local_prefix=/gnu/local
     ;;
   hppa1.0-*-hpux1[01]* | \
   hppa*64*-*-hpux11* | \
@@ -111,6 +118,13 @@ case $build in
   i386-*-vsta) 
     # Intel 80386's running VSTa kernel
     ;;
+  ia64-hp-*vms*)
+    build_xm_file="vms/xm-vms.h vms/xm-vms64.h"
+    build_exeext=.exe
+    build_install_headers_dir=install-headers-cp
+    prefix=/gnu
+    local_prefix=/gnu/local
+    ;;
   m68000-hp-hpux* | m68k-hp-hpux*) 
     # HP 9000 series 300
     build_install_headers_dir=install-headers-cpio
index 2c8dd98..6e3a763 100644 (file)
@@ -669,17 +669,21 @@ alpha*-dec-osf[45]*)
        ;;
 alpha64-dec-*vms*)
        tm_file="${tm_file} alpha/vms.h alpha/vms64.h"
-       xm_file="alpha/xm-vms.h"
-       tmake_file="alpha/t-alpha alpha/t-vms alpha/t-vms64 alpha/t-ieee"
-       prefix=/gnu
-       local_prefix=/gnu
+       xm_file="alpha/xm-vms.h vms/xm-vms64.h"
+       tmake_file="alpha/t-alpha vms/t-vms vms/t-vms64 alpha/t-vms alpha/t-ieee"
+       xmake_file=vms/x-vms
+       exeext=.exe
+       install_headers_dir=install-headers-cp
+       extra_options="${extra_options} vms/vms.opt"
        ;;
 alpha*-dec-*vms*)
        tm_file="${tm_file} alpha/vms.h"
-       xm_file=alpha/xm-vms.h
-       tmake_file="alpha/t-alpha alpha/t-vms alpha/t-ieee"
-       prefix=/gnu
-       local_prefix=/gnu
+       xm_file="alpha/xm-vms.h"
+       tmake_file="alpha/t-alpha vms/t-vms alpha/t-vms alpha/t-ieee"
+       xmake_file=vms/x-vms
+       exeext=.exe
+       install_headers_dir=install-headers-cp
+       extra_options="${extra_options} vms/vms.opt"
        ;;
 arc-*-elf*)
        tm_file="dbxelf.h elfos.h svr4.h newlib-stdint.h ${tm_file}"
@@ -1416,6 +1420,20 @@ ia64*-*-hpux*)
        use_gcc_stdint=wrap
        tm_file="${tm_file} hpux-stdint.h"
        ;;
+ia64-hp-*vms*)
+       tm_file="${tm_file} elfos.h ia64/sysv4.h ia64/elf.h ia64/vms.h ia64/vms64.h"
+       xm_file="vms/xm-vms.h vms/xm-vms64.h"
+       tmake_file="vms/t-vms vms/t-vms64 ia64/t-vms"
+       xmake_file=vms/x-vms
+       target_cpu_default="0"
+       if test x$gas = xyes
+       then
+               target_cpu_default="${target_cpu_default}|MASK_GNU_AS"
+       fi
+       exeext=.exe
+       install_headers_dir=install-headers-cp
+       extra_options="${extra_options} vms/vms.opt"
+       ;;
 iq2000*-*-elf*)
         tm_file="svr4.h elfos.h newlib-stdint.h iq2000/iq2000.h"
         tmake_file=iq2000/t-iq2000
index b06d164..a8ec324 100644 (file)
@@ -1,5 +1,5 @@
 # GCC host-specific configuration file.
-# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2007, 2008
+# Copyright 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2006, 2007, 2008, 2009
 # Free Software Foundation, Inc.
 
 #This file is part of GCC.
@@ -155,17 +155,21 @@ esac
 
 # Machine-specific settings.
 case ${host} in
+  alpha64-dec-*vms*)
+    host_xm_file="vms/xm-vms.h vms/xm-vms64.h"
+    host_xmake_file=vms/x-vms
+    host_exeext=.exe
+    host_can_use_collect2=no
+    prefix=/gnu
+    local_prefix=/gnu/local
+    ;;
   alpha*-dec-*vms*)
-    host_xm_file=alpha/xm-vms.h
-    host_xmake_file="${host_xmake_file} alpha/x-vms"
-    extra_programs="ld.exe decc.exe"
+    host_xm_file="vms/xm-vms.h"
+    host_xmake_file=vms/x-vms
     host_exeext=.exe
     host_can_use_collect2=no
-    # This removes the cpu type and manufacturer components and
-    #  replaces "." with "_" in the operating system version.
-    target_noncanonical=`echo $host | sed 's/.*-.*-\(.*\)$/\1/' | sed 's/\./_/g'`
     prefix=/gnu
-    local_prefix=/gnu
+    local_prefix=/gnu/local
     ;;
   hppa1.0-*-hpux10* | hppa1.1-*-hpux10* | hppa2*-*-hpux10*)
     out_host_hook_obj=host-hpux.o
@@ -218,6 +222,14 @@ case ${host} in
     out_host_hook_obj="${out_host_hook_obj} host-i386-darwin.o"
     host_xmake_file="${host_xmake_file} i386/x-darwin"
     ;;
+  ia64-hp-*vms*)
+    host_xm_file="vms/xm-vms.h vms/xm-vms64.h"
+    host_xmake_file=vms/x-vms
+    host_exeext=.exe
+    host_can_use_collect2=no
+    prefix=/gnu
+    local_prefix=/gnu/local
+    ;;
   powerpc-*-beos*)
     host_can_use_collect2=no
     ;;
index 9c2f7ae..1216f8b 100644 (file)
@@ -1,3 +1,9 @@
+2009-08-09  Douglas B Rupp  <rupp@gnat.com>
+
+       * config.host (ia64-hp-*vms*): New target.
+       (alpha64-dec-*vms*,alpha*-dec-*vms*): Fix for config/vms and unify
+       with ia64-hp-*vms*.
+
 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        * configure.ac: Add snippet for maintainer-mode.
index 7d70f77..da46004 100644 (file)
@@ -189,8 +189,10 @@ alpha*-*-openbsd*)
 alpha*-dec-osf[45]*)
        ;;
 alpha64-dec-*vms*)
+       tmake_file="vms/t-vms vms/t-vms64 alpha/t-vms"
        ;;
 alpha*-dec-*vms*)
+       tmake_file="vms/t-vms alpha/t-vms"
        ;;
 arc-*-elf*)
        ;;
@@ -347,6 +349,9 @@ ia64*-*-linux*)
        ;;
 ia64*-*-hpux*)
        ;;
+ia64-hp-*vms*)
+       tmake_file="vms/t-vms vms/t-vms64 ia64/t-vms"
+       ;;
 iq2000*-*-elf*)
         ;;
 m32r-*-elf*|m32r-*-rtems*)