-mprivileged
Purpose
When specified alongside the -mrop-protect option, the return-oriented programming (ROP) protection instructions enabled by -mrop-protect are the privileged versions of those instructions.
Note: This option is valid when the -mcpu option is set to target POWER8 processors, or higher.
Syntax
Defaults
-mprivileged is disabled by default
Usage
When -mprivileged is specified alongside -mrop-protect, the
hash store and hash check instructions are the privileged versions of those instructions. So, the
privileged version of the hash store instruction, which is hashstp will replace the
non-privileged version, which is hashst. Likewise, the privileged version of the
hash check instruction, which is hashchkp will replace the non-privileged version,
which is hashchk.
