Update the arm-*-vxworks* support
authorJerome Lambourg <lambourg@adacore.com>
Thu, 14 Nov 2019 16:11:30 +0000 (16:11 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Thu, 14 Nov 2019 16:11:30 +0000 (16:11 +0000)
commit27204060db51ed0637e394dff387c66c6b944726
treeed26512bbc98d251f21922b5a76f51784fd65d14
parent071ef254a8a9ad947e72b37cd4aa695b57e5b031
Update the arm-*-vxworks* support

2019-11-13  Jerome Lambourg  <lambourg@adacore.com>
            Doug Rupp <rupp@adacore.com>
            Olivier Hainque  <hainque@adacore.com>

gcc/
* config.gcc: Collapse the arm-vxworks entries into
a single arm-wrs-vxworks7* one, bpabi based.  Update
the default cpu from arm8 to armv7-a
* config/arm/vxworks.h (CC1_SPEC): Simplify, knowing that
we always use ARM_UNWIND_INFO.
(DWARF2_UNWIND_INFO): Remove redefinition.
(ARM_TARGET2_DWARF_FORMAT): Likewise.
(VXWORKS_PERSONALITY): Define, to "llvm".
(VXWORKS_EXTRA_LIBS_RTP): Define, to "-lllvm".

libgcc/
* config.host: Collapse the arm-vxworks entries into
a single arm-wrs-vxworks7* one.
* config/arm/unwind-arm-vxworks.c: Update comments.  Provide
__gnu_Unwind_Find_exidx and a weak dummy __cxa_type_match for
kernel modules, to be overriden by libstdc++ when we link with
it.  Rely on externally provided __exidx_start/end.

Co-Authored-By: Doug Rupp <rupp@adacore.com>
Co-Authored-By: Olivier Hainque <hainque@adacore.com>
From-SVN: r278253
gcc/ChangeLog
gcc/config.gcc
gcc/config/arm/t-vxworks
gcc/config/arm/vxworks.h
libgcc/ChangeLog
libgcc/config.host
libgcc/config/arm/unwind-arm-vxworks.c