This is the mail archive of the gcc-bugs@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]

[Bug target/81708] The x86 stack canary location should be customizable


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

--- Comment #12 from uros at gcc dot gnu.org ---
Author: uros
Date: Thu Aug 10 20:59:10 2017
New Revision: 251040

URL: https://gcc.gnu.org/viewcvs?rev=251040&root=gcc&view=rev
Log:
        PR target/81708
        * config/i386/i386.opt (mstack-protector-guard-symbol=): New option
        * config/i386/i386.c (ix86_stack_protect_guard): Use
        ix86_stack_protect_guard_symbol_str to generate varible declaration.
        * doc/invoke.texi (x86 Options): Document
        -mstack-protector-guard-symbol= option.

testsuite/ChangeLog:

        PR target/81708
        * gcc.target/i386/stack-prot-sym.c: New test.


Added:
    trunk/gcc/testsuite/gcc.target/i386/stack-prot-sym.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/config/i386/i386.c
    trunk/gcc/config/i386/i386.opt
    trunk/gcc/doc/invoke.texi
    trunk/gcc/testsuite/ChangeLog

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