ARM: add explicit .arch and .fpu directives to asm.S
authorMans Rullgard <mans@mansr.com>
Tue, 15 Nov 2011 01:15:52 +0000 (01:15 +0000)
committerMans Rullgard <mans@mansr.com>
Tue, 22 Nov 2011 12:13:02 +0000 (12:13 +0000)
commit8ee2b4672f6ad5cfd003e742f887cffcfea26021
tree7be70eeee84f5c88b383608be0b65b3f06669d54
parent0945eddec09d1c2b69643afc70377d86febc0591
ARM: add explicit .arch and .fpu directives to asm.S

This prevents build errors when compiler and assembler default
targets differ.  Ideally each file would declare the highest
level it requires.  This is however not easily possible as it
complicates assembling pre-armv6t2 code in Thumb-2 mode.

HAVE_NEON is used as indicator for ARMv7-A since no other
symbol exists for this and NEON is only available in this
variant.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavcodec/arm/asm.S