]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Add an mcmodel=large multilib for aarch64-vxworks
authorOlivier Hainque <hainque@adacore.com>
Sun, 20 Mar 2022 17:39:15 +0000 (17:39 +0000)
committerOlivier Hainque <hainque@adacore.com>
Thu, 29 Sep 2022 14:58:58 +0000 (14:58 +0000)
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.

gcc/config/aarch64/t-aarch64-vxworks

index f9f6ede5baf98c1b490186c87f07eae41fb7b418..e672bb313ac0addf6768c90c075f579cc39fb740 100644 (file)
@@ -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