Use unsigned integer to unwind shadow stack by replacing jle with jbe and
jg with ja.
PR target/85489
* config/x86/sjlj.S (GTM_longjmp): Replace jle/jg with jbe/ja.
From-SVN: r259559
+2018-04-23 H.J. Lu <hongjiu.lu@intel.com>
+
+ PR target/85489
+ * config/x86/sjlj.S (GTM_longjmp): Replace jle/jg with jbe/ja.
+
2018-04-19 Jakub Jelinek <jakub@redhat.com>
* configure: Regenerated.
/* If # of frames is greater 255 then loop
and adjust. */
cmpq $255, %rcx
- jle .L3
+ jbe .L3
movl $255, %edi
.p2align 4,,10
.p2align 3
incsspq %rdi
subq $255, %rcx
cmpq $255, %rcx
- jg .L4
+ ja .L4
.L3:
incsspq %rcx
.L1:
/* If # of frames is greater 255 then loop
and adjust. */
cmpl $255, %ecx
- jle .L3
+ jbe .L3
pushl %eax
movl $255, %eax
.p2align 4,,10
incsspd %eax
subl $255, %ecx
cmpl $255, %ecx
- jg .L4
+ ja .L4
popl %eax
.L3:
incsspd %ecx