arm: unified syntax for libgcc when built with -Os [PR94220]
authorRichard Earnshaw <rearnsha@arm.com>
Tue, 24 Mar 2020 14:45:50 +0000 (14:45 +0000)
committerRichard Earnshaw <rearnsha@arm.com>
Thu, 26 Mar 2020 10:59:34 +0000 (10:59 +0000)
commite519d644999d04e0a341cb034f4d954963b1d2d2
tree5bbe0a2a3222befaa74d229212d89eab5876ddba
parent40cdcddf274e3944205ef2d03528bd14e48a9c76
arm: unified syntax for libgcc when built with -Os [PR94220]

The recent patch to convert all thumb1 code in libgcc to unified syntax
ommitted the conditional code that is used only when building the library
for minimal size.  This patch fixes this case.

I've also fixed the COND macro so that a single definition is always used
that is for unified syntax.  This eliminates a warning that is now being
seen from the assembler when compiling the ieee fp support code.

PR target/94220
* config/arm/lib1funcs.asm (COND): Use a single definition for
unified syntax.
(aeabi_uidivmod): Unified syntax when optimizing Thumb for size.
(aeabi_idivmod): Likewise.
(divsi3_skip_div0_test): Likewise.
gcc/ChangeLog
libgcc/config/arm/lib1funcs.S