Skip to content

Commit a433607

Browse files
kito-chengcmuellner
authored andcommitted
Address Craig's comment
1 parent e0e93a4 commit a433607

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/toolchain-conventions.adoc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,10 @@ instructions to protect the program against control flow hijacking attacks.
398398
`-fcf-protection` is alias to `-fcf-protection=full`.
399399

400400
- `none`: Disable control flow protection.
401-
- `full`: Protect all control flow instructions, will enable branch protection
402-
and return protection if the `Zimop` extension is available.
403-
- `branch`: Protect branch instructions only by insert landing pad.
401+
- `full`: Protects all control flow instructions. Branch protection does not
402+
require the `Zimop` extension, but return protection will be enabled only if
403+
`Zimop` is available.
404+
- `branch`: Protect branch instructions only by inserting landing pad.
404405
- `return`: Protect return instructions only, this require `Zimop` extension.
405406

406407
=== `-mcf-branch-label-scheme=[unlabeled|func-sig]`

0 commit comments

Comments
 (0)