arm: Fix rmprofile multilibs when architecture includes +mp or +sec (PR target/93188)
commitd5bc18085c8b0344e7b53febc3cd3cc681a98ea3
authorRichard Earnshaw <rearnsha@arm.com>
Wed, 8 Jan 2020 09:29:02 +0000 (8 09:29 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Wed, 8 Jan 2020 09:29:02 +0000 (8 09:29 +0000)
tree062bb27ce4d50748909a6f61c238e45b508437a7
parent54b0c0f0e9786d66a4a3202aa389d92680f02614
arm: Fix rmprofile multilibs when architecture includes +mp or +sec (PR target/93188)

When only the rmprofile multilibs are built, compiling for armv7-a
should select the generic v7 multilibs.  This used to work before +sec
and +mp were added to the architecture options but it was broken by
that update.  This patch fixes those variants and adds some tests to
ensure that they remain fixed ;-)

PR target/93188
* config/arm/t-multilib (MULTILIB_MATCHES): Add rules to match
armv7-a{+mp,+sec,+mp+sec} to appropriate armv7 multilib variants
when only building rm-profile multilibs.

* gcc.target/arm/multilib.exp: Add new tests for rm-profile only.

From-SVN: r279993
gcc/ChangeLog
gcc/config/arm/t-multilib
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/multilib.exp