From d18f1fc8a32d9703d81aecdb1b5541211cd77498 Mon Sep 17 00:00:00 2001 From: Marcus Shawcroft Date: Tue, 3 Nov 2015 14:17:56 +0000 Subject: Reorganize memchr selection. The patch cleans up the auto configury mechanism used to select different implementations of memchr for various architecture versions. The approach here is to remove the selection of memchr within automake and instead use complimentary logic in memchr-stub.c and memchr.S to choose between the gerneric memchr.c implementation or one of the architecture specific implementations. This patch also changes the selection criteria inline with the previous proposal here: https://sourceware.org/ml/newlib/2015/msg00752.html but using the ACLE predefines. Regressed for armv7-a armv5 armv8-a, correct selection of memcpy implementation by manual inspection of a test program built for these three architectures. --- newlib/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'newlib/ChangeLog') diff --git a/newlib/ChangeLog b/newlib/ChangeLog index fac2fdb04..c38588b4b 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,13 @@ +2015-11-06 Marcus Shawcroft + + * libc/machine/arm/Makefile.am: Drop MEMCHR_SRC and MEMCHR_OBJ. + * libc/machine/arm/Makefile.in: Regenerate. + * libc/machine/arm/memchr-stub.c: New. + * libc/machine/arm/memchr.S: Adjust comments. Include memchr.c and + acle-compat.h. Make .arch directive architecture dependent. + * libc/machine/arm/configure.in (HAVE_ARMV7): Remove. + * libc/machine/arm/configure: Regenerate. + 2015-11-06 Marcus Shawcroft * libc/machine/arm/Makefile.am: Drop MEMCPY_SRC and MEMCPY_OBJ. -- cgit v1.2.3