arc: Merge ARCv2 string routines in generic ARC .S files
commit26cc89d99cc9d783859eb9d38e067fad5d6bbb60
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Thu, 17 Aug 2017 22:25:25 +0000 (18 01:25 +0300)
committerWaldemar Brodkorb <wbx@uclibc-ng.org>
Sun, 20 Aug 2017 10:53:17 +0000 (20 12:53 +0200)
treebb2f9a637c0f492eeb66465e975aa26f6207eb3c
parentd9f7022736fd429c6c62c93441804dc87900ed6f
arc: Merge ARCv2 string routines in generic ARC .S files

In cde74b83f9b2 "ARC: remove special CFLAGS/LDFLAGS handling" we
got rid of CONFIG_ARC_CPU_HS which was used to select ARCv2-specific
implementation of optimized string routines. So now ARCv2-tuned
memset/memcpy/strcmp are not used, instead those for ARC700 used for
both ARC700 and ARCHS.

Without uClibc config option we may only tell which CPU type we're
targeting by built-in defines of GCC. I.e. no more conditional file
inclusion in Makefiles. That leaves us only one option - merge both
implementations in 1 file and use ifdefs.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
extra/Configs/Config.in
libc/string/arc/arcv2/strcmp.S [deleted file]
libc/string/arc/memcpy.S [moved from libc/string/arc/arcv2/memcpy.S with 76% similarity]
libc/string/arc/memset.S [moved from libc/string/arc/arcv2/memset.S with 69% similarity]
libc/string/arc/strcmp.S