diff options
author | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2015-11-10 17:04:54 +0300 |
---|---|---|
committer | Marcus Shawcroft <marcus.shawcroft@arm.com> | 2015-11-13 14:54:23 +0300 |
commit | 42de6f508515c927e51e0cafa41aeed7ba204f0b (patch) | |
tree | 5624f8289363611da2c83408fe00cc05c4450985 /newlib | |
parent | 2c8e31d6541db57423eceb149417a336ee7f3c79 (diff) |
[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')
-rw-r--r-- | newlib/ChangeLog | 7 | ||||
-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 |
4 files changed, 10 insertions, 3 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index fcc915457..7c2f38aa3 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,5 +1,12 @@ 2015-11-13 Marcus Shawcroft <marcus.shawcroft@arm.com> + * libc/machine/arm/Makefile.am: Rename strlen.c to strlen-stub.c + * libc/machine/arm/Makefile.in: Regenerate. + * libc/machine/arm/strlen.c: Rename to... + * libc/machine/arm/strlen-stub.c: ... this. + +2015-11-13 Marcus Shawcroft <marcus.shawcroft@arm.com> + * libc/machine/arm/Makefile.am: Drop STRLEN_SRC and STRLEN_OBJ. Adding strlen.c. * libc/machine/arm/configure.in (HAVE_THUMB1, OPT_SIZE): Remove. diff --git a/newlib/libc/machine/arm/Makefile.am b/newlib/libc/machine/arm/Makefile.am index d920e6ee6..212a3dc64 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 87a3591ae..b43c422a3 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 9fb47ba61..9fb47ba61 100644 --- a/newlib/libc/machine/arm/strlen.c +++ b/newlib/libc/machine/arm/strlen-stub.c |