ARM: Use '.object_arch' directive in NEON assembly file
authorSiarhei Siamashka <siarhei.siamashka@nokia.com>
Mon, 22 Mar 2010 09:54:51 +0000 (11:54 +0200)
committerSiarhei Siamashka <siarhei.siamashka@nokia.com>
Mon, 22 Mar 2010 10:12:03 +0000 (12:12 +0200)
commit68d8d83223b5a35e25d379c2ee9e2e3a1d242323
tree7237dbc5a437c990d844369d8bbf48579aa84c99
parent50713d9d0d9241597724551315f05d958ce7a283
ARM: Use '.object_arch' directive in NEON assembly file

This can be used to override the architecture recorded in the EABI object
attribute section. We set a minimum arch to 'armv4'. Binutils documentation
recommends to use this directive with the code performing runtime detection
of CPU features.

Additionally NEON/VFP EABI attributes are suppressed. And the instruction
set to use is explicitly set to '.arm'.

Configure test for NEON support is also updated to include a bunch of
these new directives (if any of these is unsupported by the assembler,
it is better to fail configure test than to fail library build).

All these changes are required to fix SIGILL problem on armv4t, reported in
http://lists.freedesktop.org/archives/pixman/2010-March/000123.html
configure.ac
pixman/pixman-arm-neon-asm.S