[arm] PR target/85733 Restore be8 linking behaviour for ARMv6-M and products deriving...
authorRichard Earnshaw <rearnsha@arm.com>
Fri, 11 May 2018 13:29:41 +0000 (13:29 +0000)
committerRichard Earnshaw <rearnsha@gcc.gnu.org>
Fri, 11 May 2018 13:29:41 +0000 (13:29 +0000)
commitb901c875c96ede54470887bc40d21ba128257951
tree0924ac02d8c48745b128fac0ba2b74b2ec730745
parent55f31ed10fd38c50560114c47698ed0aa2b302c8
[arm] PR target/85733 Restore be8 linking behaviour for ARMv6-M and products deriving from its capabilities

My patch last year to automate passing the be8 flag to the linker had
a nasty flaw in that I forgot entirely that the ARMv6-M architecture
did not derive its capabilities directly from the ARMv6 capability
list, but was a new group of capabilities (since it needs to leave out
the ARM -- notm -- feature bit).  The feature list defined was thus
missing the be8 bit.  Furthermore, any product derived from that
feature group consequently lacked the be8 feature as well and this
included all ARMv7 and ARMv8 parts.

The fix is embarrassingly simple...

PR target/85733
* config/arm/arm-cpus.in (fgroup ARMv6m): Add be8 feature.

From-SVN: r260162
gcc/ChangeLog
gcc/config/arm/arm-cpus.in