From: Olivier Hainque Date: Sun, 20 Mar 2022 17:39:15 +0000 (+0000) Subject: Add an mcmodel=large multilib for aarch64-vxworks X-Git-Tag: basepoints/gcc-14~4247 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=64d6440ee7626f5082f24d4652086c90da34be38;p=thirdparty%2Fgcc.git 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 gcc/ * config/aarch64/t-aarch64-vxworks: Request multilib variants for mcmodel=large. --- diff --git a/gcc/config/aarch64/t-aarch64-vxworks b/gcc/config/aarch64/t-aarch64-vxworks index f9f6ede5baf9..e672bb313ac0 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