https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102952

--- Comment #43 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by H.J. Lu <h...@gcc.gnu.org>:

https://gcc.gnu.org/g:58a4e292e8507a2968bfd2b10631ba95d5440c97

commit r11-9577-g58a4e292e8507a2968bfd2b10631ba95d5440c97
Author: H.J. Lu <hjl.to...@gmail.com>
Date:   Wed Jan 5 16:33:16 2022 -0800

    x86: Rename -harden-sls=indirect-branch to -harden-sls=indirect-jmp

    Indirect branch also includes indirect call instructions.  Rename
    -harden-sls=indirect-branch to -harden-sls=indirect-jmp to match its
    intended behavior.

            PR target/102952
            * config/i386/i386-opts.h (harden_sls): Replace
            harden_sls_indirect_branch with harden_sls_indirect_jmp.
            * config/i386/i386.c (ix86_output_jmp_thunk_or_indirect):
            Likewise.
            (ix86_output_indirect_jmp): Likewise.
            (ix86_output_call_insn): Likewise.
            * config/i386/i386.opt: Replace indirect-branch with
            indirect-jmp.  Replace harden_sls_indirect_branch with
            harden_sls_indirect_jmp.
            * doc/invoke.texi (-harden-sls=): Replace indirect-branch with
            indirect-jmp.

    (cherry picked from commit ed8060950c64f2e449aaf90e438aa26d0d9d0b31)

Reply via email to