* x86-vxworks7 and x86_64-vxworks7 support, "config" files
@ 2017-06-27 13:06 Olivier Hainque
0 siblings, 0 replies; only message in thread
From: Olivier Hainque @ 2017-06-27 13:06 UTC (permalink / raw)
To: GCC Patches
Cc: Olivier Hainque, Douglas B Rupp, Jerome Lambourg, Nathan Sidwell
[-- Attachment #1: Type: text/plain, Size: 527 bytes --]
Hello,
The "config" files bits for the x86 families of targets
for which VxWorks 7 support is being introduced.
Just accept the triplets on the libgcc end and handle the
common need of x86-64.h for x86_64 on the gcc front.
Tested together with the previous patches of the vxworks7
series. Committing to mainline.
With Kind Regards,
Olivier
2017-06-27 Jerome Lambourg <lambourg@adacore.com>
gcc/
* config.gcc: Handle i*86-vxworks7 and x86_64-vxworks7.
libgcc/
* config.host: Likewise.
[-- Attachment #2: 0006-support-for-x86-and-x86_64-VxWorks-7-config-files.patch --]
[-- Type: application/octet-stream, Size: 1183 bytes --]
--- a/gcc/config.gcc
+++ b/gcc/config.gcc
@@ -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"
diff --git a/libgcc/config.host b/libgcc/config.host
index 2da578e..cf62e0e 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -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"
--
1.7.10.4
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2017-06-27 13:06 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-27 13:06 x86-vxworks7 and x86_64-vxworks7 support, "config" files Olivier Hainque
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).