bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/29226] gcc -fcf-protection option causes GCC 12 gccgo build to f


From: jason.vas.dias at gmail dot com
Subject: [Bug ld/29226] gcc -fcf-protection option causes GCC 12 gccgo build to fail : "failed to match split-stack sequence"
Date: Sun, 05 Jun 2022 16:08:02 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=29226

--- Comment #7 from Jason Vas Dias <jason.vas.dias at gmail dot com> ---
Aha! Am I right in thinking 'f3.0f.1e.fa' (hex byte string) specifies x86_64
instruction 'RDSSPD/RDSSPQ' ?  

I think so ! :

>From Intel Software Developer's Manual (SDM), Book 2, Instructions,
Chapter 3, Instruction Set Reference, page Vol-2B,4-553 (pp.1735)  :
"
 RDSSPD/RDSSPQ—Read Shadow Stack Pointer Opcode/ Op/ 64/32 CPUID 

 F3 0F 1E /1 (mod=11) R V/V CET_SS 

 Copy low 32 bits of shadow stack pointer (SSP) to r32. RDSSPD r32 
 F3 REX.W 0F 1E /1 (mod=11) R V/N.E. CET_SS 
 Copies shadow stack pointer (SSP) to r64. RDSSPQ r64
"

So, then maybe the code should take this as an indication that the
job has been done OK and so NOT to raise an error here ?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]