提交 b1e2aae0 编写于 作者: A Andre McCurdy 提交者: Rich Felker

arm: avoid conditional branch to PLT in sigsetjmp

The R_ARM_THM_JUMP19 relocation type generated for the original code
when targeting Thumb 2 is not supported by the gold linker.
上级 c0b4a7b2
...@@ -6,9 +6,10 @@ ...@@ -6,9 +6,10 @@
sigsetjmp: sigsetjmp:
__sigsetjmp: __sigsetjmp:
tst r1,r1 tst r1,r1
beq setjmp bne 1f
b setjmp
str lr,[r0,#256] 1: str lr,[r0,#256]
str r4,[r0,#260+8] str r4,[r0,#260+8]
mov r4,r0 mov r4,r0
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册