]> sourceware.org Git - newlib-cygwin.git/commit
arm: Update strcpy.c to use UAL syntax.
authorIan Tessier via newlib <newlib@sourceware.org>
Wed, 19 Jul 2017 21:02:43 +0000 (14:02 -0700)
committerCorinna Vinschen <corinna@vinschen.de>
Thu, 20 Jul 2017 14:18:29 +0000 (16:18 +0200)
commit4bce7ecbe19c1c264e3b5b3eac9582c429f12caa
tree59a24ad29b8c3c15e4eda4ae644ef518d576988b
parentd2ae2f00b8459d47be8996b2e0f76cdc89aae37e
arm: Update strcpy.c to use UAL syntax.

With this change the arm platform can now be fully compiled with Clang.

Tested by comparing the output with GCC 4.8.2, and Clang 4.0, using a
variety of arches, big/little endianness, and arm/thumb mode to verify
the generated assembly output matches between GCC vs Clang with UAL, and
also GCC with UAL vs GCC with non-UAL, for all preprocessor code blocks.

The only difference found is an extra nop at the end of the function
when compiled with GCC using armv7-a/thumb/little-endian/-O2 compared to
Clang. The nop is not emitted when compiled in big-endian mode.
newlib/libc/machine/arm/strcpy.c
This page took 0.028557 seconds and 5 git commands to generate.