[Ada] Map gnatlib-shared to gnatlib-shared-dual for aarch64-vx7r2
authorOlivier Hainque <hainque@adacore.com>
Fri, 18 Feb 2022 22:57:42 +0000 (22:57 +0000)
committerPierre-Marie de Rodat <derodat@adacore.com>
Mon, 16 May 2022 08:42:02 +0000 (08:42 +0000)
commitd12b8e951c3c13e24b41f4c59157aa0643fd1d44
tree765b0832cc958618be1568023e75790e435409c5
parent2878027c64d62b29091f5a816d95b4ad8830210d
[Ada] Map gnatlib-shared to gnatlib-shared-dual for aarch64-vx7r2

This is an incremental change towards supporting shared libraries
for VxWorks on aarch64.

The aarch64-vx7r2 compiler supports compilation with -fpic/PIC.  This
change adds aarch64 to the list of CPUs for which GNATLIB_SHARED maps to
gnatlib-shared-dual for vxworks7r2, so "make gnatlib-shared" actually
builds a shared lib.

While other adjustments will be needed to get the runtime tests to pass,
this one is a necessary step and doesn't impair the rest.

gcc/ada/

* Makefile.rtl: Add aarch64 to the list of CPUs for which
GNATLIB_SHARED maps to gnatlib-shared-dual for vxworks7r2.
gcc/ada/Makefile.rtl