about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-10-09 10:59:39 -0400
committerRich Felker <dalias@aerifal.cx>2018-10-09 10:59:39 -0400
commitb3389bbfb58697623621c70fade6e239952d0813 (patch)
tree6d42df90bd3e67e55fc6bc36cbcb65f9596f48db
parentd1395c43c019aec6b855cf3c656bf47c8a719e7f (diff)
downloadmusl-b3389bbfb58697623621c70fade6e239952d0813.tar.gz
musl-b3389bbfb58697623621c70fade6e239952d0813.tar.xz
musl-b3389bbfb58697623621c70fade6e239952d0813.zip
fix build regression on armhf in tlsdesc asm
when invoking the assembler, arm gcc does not always pass the right
flags to enable use of vfp instruction mnemonics. for C code it
produces, it emits the .fpu directive, but this does not help when
building asm source files, which tlsdesc needs to be. to fix, use an
explicit directive here.

commit 0beb9dfbecad38af9759b1e83eeb007e28b70abb introduced this
regression. it has not appeared in any release.
-rw-r--r--src/ldso/arm/tlsdesc.S1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ldso/arm/tlsdesc.S b/src/ldso/arm/tlsdesc.S
index b81f3111..4e67c3e2 100644
--- a/src/ldso/arm/tlsdesc.S
+++ b/src/ldso/arm/tlsdesc.S
@@ -51,6 +51,7 @@ __tlsdesc_dynamic:
 
 3:
 #if __ARM_PCS_VFP || !__SOFTFP__
+	.fpu vfp
 	vpush {d0-d7}
 #endif
 	push {r0-r3}