This is the mail archive of the
newlib@sourceware.org
mailing list for the newlib project.
Re: [PATCH] Use correct ARM architecture profile for optimized ARMv6t2/v7 memchr version.
- From: Pavel Pisa <ppisa4lists at pikron dot com>
- To: newlib at sourceware dot org
- Cc: Richard Earnshaw <rearnsha at arm dot com>, Nicholas Clifton <nickc at redhat dot com>, Sebastian Huber <sebastian dot huber at embedded-brains dot de>
- Date: Sun, 6 Jul 2014 17:40:09 +0200
- Subject: Re: [PATCH] Use correct ARM architecture profile for optimized ARMv6t2/v7 memchr version.
- Authentication-results: sourceware.org; auth=none
- References: <201407030216 dot 43438 dot ppisa4lists at pikron dot com> <53B55151 dot 1050104 at arm dot com> <201407061730 dot 35574 dot ppisa4lists at pikron dot com>
This is result of check of build objects parameters.
The ARM specific version matches in profiles to C stub version.
On the other hand for bare ARM arch there is mismatch
Tag_CPU_name: "6T2" and Tag_CPU_name: "ARM7TDMI"
but for this case
newlib/libc/machine/arm/lib_a-memchr.o
is empty.
Next script is used to check attributes
for i in $(find -name 'lib_a-memchr.o') ; do echo File to check $i ; readelf -a $i | egrep 'File to check|Tag_CPU_name|Tag_CPU_arch_profile' ;
done | less
This is full list
File to check eb/thumb/armv7-r/newlib/libc/machine/arm/lib_a-memchr.o
Tag_CPU_name: "7-R"
Tag_CPU_arch_profile: Realtime
File to check eb/thumb/armv7-r/newlib/libc/string/lib_a-memchr.o
Tag_CPU_name: "7-R"
Tag_CPU_arch_profile: Realtime
File to check eb/thumb/armv7-r/vfpv3-d16/hard/newlib/libc/machine/arm/lib_a-memchr.o
Tag_CPU_name: "7-R"
Tag_CPU_arch_profile: Realtime
File to check eb/thumb/armv7-r/vfpv3-d16/hard/newlib/libc/string/lib_a-memchr.o
Tag_CPU_name: "7-R"
Tag_CPU_arch_profile: Realtime
File to check newlib/libc/machine/arm/lib_a-memchr.o
Tag_CPU_name: "6T2"
File to check newlib/libc/string/lib_a-memchr.o
Tag_CPU_name: "ARM7TDMI"
File to check thumb/armv6-m/newlib/libc/machine/arm/lib_a-memchr.o
Tag_CPU_name: "6T2"
File to check thumb/armv6-m/newlib/libc/string/lib_a-memchr.o
Tag_CPU_name: "6-M"
Tag_CPU_arch_profile: Microcontroller
File to check thumb/armv7-a/neon/hard/newlib/libc/machine/arm/lib_a-memchr.o
Tag_CPU_name: "7-A"
Tag_CPU_arch_profile: Application
File to check thumb/armv7-a/neon/hard/newlib/libc/string/lib_a-memchr.o
Tag_CPU_name: "7-A"
Tag_CPU_arch_profile: Application
File to check thumb/armv7-a/newlib/libc/machine/arm/lib_a-memchr.o
Tag_CPU_name: "7-A"
Tag_CPU_arch_profile: Application
File to check thumb/armv7-a/newlib/libc/string/lib_a-memchr.o
Tag_CPU_name: "7-A"
Tag_CPU_arch_profile: Application
File to check thumb/armv7-m/newlib/libc/machine/arm/lib_a-memchr.o
Tag_CPU_name: "6T2"
File to check thumb/armv7-m/newlib/libc/string/lib_a-memchr.o
Tag_CPU_name: "7-M"
Tag_CPU_arch_profile: Microcontroller
File to check thumb/armv7-r/newlib/libc/machine/arm/lib_a-memchr.o
Tag_CPU_name: "7-R"
Tag_CPU_arch_profile: Realtime
File to check thumb/armv7-r/newlib/libc/string/lib_a-memchr.o
Tag_CPU_name: "7-R"
Tag_CPU_arch_profile: Realtime
File to check thumb/armv7-r/vfpv3-d16/hard/newlib/libc/machine/arm/lib_a-memchr.o
Tag_CPU_name: "7-R"
Tag_CPU_arch_profile: Realtime
File to check thumb/armv7-r/vfpv3-d16/hard/newlib/libc/string/lib_a-memchr.o
Tag_CPU_name: "7-R"
Tag_CPU_arch_profile: Realtime
File to check thumb/newlib/libc/machine/arm/lib_a-memchr.o
Tag_CPU_name: "6T2"
File to check thumb/newlib/libc/string/lib_a-memchr.o
Tag_CPU_name: "ARM7TDMI"