Darwin, aarch64 : Ada fixes for hosted tools.
commitf8a1e0699328268e98e18eb100f5af37e92dab9f
authorIain Sandoe <iain@sandoe.co.uk>
Fri, 28 Aug 2020 18:09:45 +0000 (28 19:09 +0100)
committerIain Sandoe <iain@sandoe.co.uk>
Fri, 5 Nov 2021 20:58:36 +0000 (5 20:58 +0000)
treea448ab509c9af3a2194e9320ea9b1b541d4682be
parent834c8749ced550af3f17ebae4072fb7dfb90d271
Darwin, aarch64 : Ada fixes for hosted tools.

This will allow someone (with an existing Ada compiler on the
platform - which can be provided by the experimental aarch64-darwin
branch) - to build the host tools (gnatmake and friends) for a
non-native cross.

The existing provisions for iOS are OK for cross-compilation from
an x86-64-darwin platform, but we need some adjustments so that these
host tools can be built to run on aarch64-darwin.

Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
gcc/ada/

* gcc-interface/Make-lang.in: Use iOS signal trampoline code
for hosted Ada tools.
* sigtramp-ios.c: Wrap the declarations in extern "C" when
the code is built by a C++ compiler.
gcc/ada/gcc-interface/Make-lang.in
gcc/ada/sigtramp-ios.c