aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2022-03-20 17:39:15 +0000
committerOlivier Hainque <hainque@adacore.com>2022-09-29 14:58:58 +0000
commit64d6440ee7626f5082f24d4652086c90da34be38 (patch)
tree759baf66a2f647148e798c341c76084ef8105e8a
parent77ce3fbfc8cb6e383234b4a4f8ee142419ce341c (diff)
downloadgcc-64d6440ee7626f5082f24d4652086c90da34be38.zip
gcc-64d6440ee7626f5082f24d4652086c90da34be38.tar.gz
gcc-64d6440ee7626f5082f24d4652086c90da34be38.tar.bz2
Add an mcmodel=large multilib for aarch64-vxworks
This makes good sense in general anyway, and in particular with forthcoming support for shared shared libraries, which will work for mrtp alone but not yet for mrtp+mcmodel=large. 2022-09-29 Olivier Hainque <hainque@adacore.com> gcc/ * config/aarch64/t-aarch64-vxworks: Request multilib variants for mcmodel=large.
-rw-r--r--gcc/config/aarch64/t-aarch64-vxworks5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/config/aarch64/t-aarch64-vxworks b/gcc/config/aarch64/t-aarch64-vxworks
index f9f6ede..e672bb3 100644
--- a/gcc/config/aarch64/t-aarch64-vxworks
+++ b/gcc/config/aarch64/t-aarch64-vxworks
@@ -20,3 +20,8 @@
MULTILIB_OPTIONS += mrtp
MULTILIB_DIRNAMES += mrtp
+
+# Setup a separate multilib for mcmodel=large, for which
+# we may not have shared lib support unlike with -mrtp alone.
+MULTILIB_OPTIONS += mcmodel=large
+MULTILIB_DIRNAMES += large