浏览代码

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.
Rich Felker 6 年之前
父节点
当前提交
b3389bbfb5
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      src/ldso/arm/tlsdesc.S

+ 1 - 0
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}