Commit 71bf534d authored by James Almer's avatar James Almer

Merge commit '59cee42d'

* commit '59cee42d':
  arm: Check for the .arch directive in configure
Merged-by: 's avatarJames Almer <jamrial@gmail.com>
parents 62d86c41 59cee42d
...@@ -2052,6 +2052,7 @@ SYSTEM_FUNCS=" ...@@ -2052,6 +2052,7 @@ SYSTEM_FUNCS="
" "
TOOLCHAIN_FEATURES=" TOOLCHAIN_FEATURES="
as_arch_directive
as_dn_directive as_dn_directive
as_fpu_directive as_fpu_directive
as_func as_func
...@@ -5523,6 +5524,9 @@ EOF ...@@ -5523,6 +5524,9 @@ EOF
check_inline_asm asm_mod_q '"add r0, %Q0, %R0" :: "r"((long long)0)' check_inline_asm asm_mod_q '"add r0, %Q0, %R0" :: "r"((long long)0)'
check_as <<EOF && enable as_arch_directive
.arch armv7-a
EOF
check_as <<EOF && enable as_dn_directive check_as <<EOF && enable as_dn_directive
ra .dn d0.i16 ra .dn d0.i16
.unreq ra .unreq ra
......
...@@ -46,6 +46,7 @@ ...@@ -46,6 +46,7 @@
# define FPU @ # define FPU @
#endif #endif
#if HAVE_AS_ARCH_DIRECTIVE
#if HAVE_NEON #if HAVE_NEON
.arch armv7-a .arch armv7-a
#elif HAVE_ARMV6T2 #elif HAVE_ARMV6T2
...@@ -55,6 +56,7 @@ ...@@ -55,6 +56,7 @@
#elif HAVE_ARMV5TE #elif HAVE_ARMV5TE
.arch armv5te .arch armv5te
#endif #endif
#endif
#if HAVE_AS_OBJECT_ARCH #if HAVE_AS_OBJECT_ARCH
ELF .object_arch armv4 ELF .object_arch armv4
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment