This is the mail archive of the newlib@sourceware.org mailing list for the newlib project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Use correct ARM architecture profile for optimized ARMv6t2/v7 memchr version.


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"


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]