config.gcc (i*86-wrs-vxworks7): Handle new acceptable triplet.
authorJerome Lambourg <lambourg@adacore.com>
Tue, 27 Jun 2017 13:15:35 +0000 (13:15 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Tue, 27 Jun 2017 13:15:35 +0000 (13:15 +0000)
2017-06-27  Jerome Lambourg  <lambourg@adacore.com>

gcc/
* config.gcc (i*86-wrs-vxworks7): Handle new acceptable triplet.
(x86_64-wrs-vxworks7): Likewise.

libgcc/
* config.host (i*86-wrs)vxworks7): Handle new acceptable triplet.
(x86_64-wrs-vxworks7): Likewise.

From-SVN: r249689

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

index f9e00198bbfd352960685b5c72193570e232e68a..1eb860cce4cc7c9cf1722d75d3e9aea665d44bca 100644 (file)
@@ -1,3 +1,8 @@
+2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
+
+       * config.gcc (i*86-wrs-vxworks7): Handle new acceptable triplet.
+       (x86_64-wrs-vxworks7): Likewise.
+
 2017-06-27  Marek Polacek  <polacek@redhat.com>
 
        PR sanitizer/81223
index 291200984d90ab97e4a3d872c481e1e11e58971a..a97bbc856a4791fbe951f1a7d190882db97f7af7 100644 (file)
@@ -1680,8 +1680,15 @@ i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
                esac
        fi
        ;;
-i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
-       tm_file="${tm_file} i386/unix.h i386/att.h elfos.h vx-common.h"
+i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae|i[4567]86-wrs-vxworks7|x86_64-wrs-vxworks7)
+       tm_file="${tm_file} i386/unix.h i386/att.h elfos.h"
+       case ${target} in
+         x86_64-*)
+           need_64bit_isa=yes
+           tm_file="${tm_file} i386/x86-64.h"
+           ;;
+       esac
+       tm_file="${tm_file} vx-common.h"
        case ${target} in
          *-vxworksae*)
            tm_file="${tm_file} vxworksae.h i386/vxworks.h i386/vxworksae.h"
index 330d781a226d3e295bca3b0803859b9e2298cdcf..924543cd20657c417116bbd03c9fe4d375c13d96 100644 (file)
@@ -1,3 +1,8 @@
+2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
+
+       * config.host (i*86-wrs-vxworks7): Handle new acceptable triplet.
+       (x86_64-wrs-vxworks7): Likewise.
+
 2017-06-27  Olivier Hainque  <hainque@adacore.com>
 
        * config/t-vxworks7: New file.
index 2da578ed199254ab3e0229efd96d2a7684bb693f..cf62e0e54f75c24df57336f6789f890bc9172ec9 100644 (file)
@@ -675,7 +675,7 @@ i[34567]86-*-solaris2* | x86_64-*-solaris2.1[0-9]*)
        tm_file="${tm_file} i386/elf-lib.h"
        md_unwind_header=i386/sol2-unwind.h
        ;;
-i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae)
+i[4567]86-wrs-vxworks|i[4567]86-wrs-vxworksae|i[4567]86-wrs-vxworks7|x86_64-wrs-vxworks7)
        ;;
 i[34567]86-*-cygwin*)
        extra_parts="crtbegin.o crtbeginS.o crtend.o crtfastmath.o"