This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH,i386] Add -mstack-protector-guard= for i386


On Mon, Apr 15, 2013 at 8:30 AM, Andrew Hsieh <andrewhsieh@google.com> wrote:
> Sure.  Put back Init(SSP_TLS) and rebase to r197955.
> If no further feedback, please merge.

Committed with slightly changed ChangeLog entry:

2013-04-15  Andrew Hsieh  <andrewhsieh.google.com>

    * config/i386/i386.opt: New option mstack-protector-guard=.
    * config/i386/i386-opts.h: Add enum stack_protector_guard.
    * config/i386/i386.h: Define TARGET_SSP_GLOBAL_GUARD and
    TARGET_SSP_TLS_GUARD.
    * config/i386/i386.c (ix86_option_override_internal): Set
    ix86_stack_protector_guard.
    * config/i386/i386.md (stack_protect_set): Enable for
    TARGET_SSP_TLS_GUARD only.
    (stack_protect_set_<mode>): Ditto.
    (stack_protect_test): Ditto.
    (stack_protect_test_<mode>): Ditto.
    * doc/invoke.texi (i386 Option): Document.

Thanks,
Uros.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]