diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2015-11-10 14:04:54 +0000 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2015-11-13 11:54:23 +0000 |
commit | 42de6f508515c927e51e0cafa41aeed7ba204f0b (patch) | |
tree | 5624f8289363611da2c83408fe00cc05c4450985 /newlib/libc | |
parent | 2c8e31d6541db57423eceb149417a336ee7f3c79 (diff) | |
download | newlib-42de6f508515c927e51e0cafa41aeed7ba204f0b.zip newlib-42de6f508515c927e51e0cafa41aeed7ba204f0b.tar.gz newlib-42de6f508515c927e51e0cafa41aeed7ba204f0b.tar.bz2 |
[ARM] Rename strlen to strlen-stub.c
In order to maintain consistency both within machine/arm and between
machine/arm and machine/aarch64, rename the 'c' stub to -stub.c.
Tested by building newlib and comparing libc.a binaries before and
after for all permutations of:
Architectures:
armv4 armv4t armv5 armv5t armv5te armv6 armv6j armv6k
armv6z armv6kz armv6t2 armv6-m armv6s-m armv7 armv7-a
armv7ve armv7-r armv7-m armv7e-m armv8-a iwmmxt iwmmxt2
ISAs:
thumb arm
Optimization Levels:
Os O2
Excluding:
armv6s-m -mthumb
armv6-m -mthumb
armv6zk -mthumb
armv6z -mthumb
armv6k -mthumb
armv6j -mthumb
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/machine/arm/Makefile.am | 2 | ||||
-rw-r--r-- | newlib/libc/machine/arm/Makefile.in | 4 | ||||
-rw-r--r-- | newlib/libc/machine/arm/strlen-stub.c (renamed from newlib/libc/machine/arm/strlen.c) | 0 |
3 files changed, 3 insertions, 3 deletions
diff --git a/newlib/libc/machine/arm/Makefile.am b/newlib/libc/machine/arm/Makefile.am index d920e6e..212a3dc 100644 --- a/newlib/libc/machine/arm/Makefile.am +++ b/newlib/libc/machine/arm/Makefile.am @@ -16,7 +16,7 @@ lib_a_SOURCES += memchr-stub.c lib_a_SOURCES += memchr.S lib_a_SOURCES += memcpy-stub.c lib_a_SOURCES += memcpy.S -lib_a_SOURCES += strlen.c +lib_a_SOURCES += strlen-stub.c lib_a_CCASFLAGS=$(AM_CCASFLAGS) lib_a_CFLAGS = $(AM_CFLAGS) diff --git a/newlib/libc/machine/arm/Makefile.in b/newlib/libc/machine/arm/Makefile.in index 87a3591..b43c422 100644 --- a/newlib/libc/machine/arm/Makefile.in +++ b/newlib/libc/machine/arm/Makefile.in @@ -78,7 +78,7 @@ am_lib_a_OBJECTS = lib_a-setjmp.$(OBJEXT) lib_a-access.$(OBJEXT) \ lib_a-aeabi_memset.$(OBJEXT) lib_a-aeabi_memset-soft.$(OBJEXT) \ lib_a-aeabi_memclr.$(OBJEXT) lib_a-memchr-stub.$(OBJEXT) \ lib_a-memchr.$(OBJEXT) lib_a-memcpy-stub.$(OBJEXT) \ - lib_a-memcpy.$(OBJEXT) lib_a-strlen.$(OBJEXT) + lib_a-memcpy.$(OBJEXT) lib_a-strlen-stub.$(OBJEXT) lib_a_OBJECTS = $(am_lib_a_OBJECTS) DEFAULT_INCLUDES = -I.@am__isrc@ depcomp = @@ -209,7 +209,7 @@ lib_a_SOURCES = setjmp.S access.c strcmp.S strcpy.c strlen-armv7.S \ aeabi_memcpy.c aeabi_memcpy-armv7a.S aeabi_memmove.c \ aeabi_memmove-soft.S aeabi_memset.c aeabi_memset-soft.S \ aeabi_memclr.c memchr-stub.c memchr.S memcpy-stub.c memcpy.S \ - strlen.c + strlen-stub.c lib_a_CCASFLAGS = $(AM_CCASFLAGS) lib_a_CFLAGS = $(AM_CFLAGS) ACLOCAL_AMFLAGS = -I ../../.. -I ../../../.. diff --git a/newlib/libc/machine/arm/strlen.c b/newlib/libc/machine/arm/strlen-stub.c index 9fb47ba..9fb47ba 100644 --- a/newlib/libc/machine/arm/strlen.c +++ b/newlib/libc/machine/arm/strlen-stub.c |