[arm] Rework multilib support
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 16 Jun 2017 21:06:14 +0000 (21:06 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 16 Jun 2017 21:06:14 +0000 (21:06 +0000)
commitbe5c4e06871958f2cbd7f091b6b123fb5ee94151
tree518a3bf84169c51c523bdf46c1f22b6eea84a76c
parente61a3cdd259de13884da900ecb5440a9cc466665
[arm] Rework multilib support

It looks like the fuchsia port relied on inheriting the multilib rules from
the bare-metal port (the t-arm-elf makefile fragment), but that has now been
rewritten on the assuption that the base architecture is ARMv4t; fuchsia
has a base architecture of ARMv7-a.

To account for this, I've cloned the original t-arm-elf rules into a
new makefile fragment t-fuchsia and arranged for that to be used when
targetting this system.

* config/arm/t-fuchsia: New file.
* config.gcc (arm*-*-fuchsia*): Use it.

From-SVN: r249305
gcc/ChangeLog
gcc/config.gcc
gcc/config/arm/t-fuchsia [new file with mode: 0644]