]> git.ipfire.org Git - thirdparty/gcc.git/commit - gcc/cfgexpand.c
re PR target/77957 (Undefined .LCTOC0 with -fstack-protector-strong -mminimal-toc...
authorJakub Jelinek <jakub@redhat.com>
Thu, 13 Oct 2016 08:29:03 +0000 (10:29 +0200)
committerJakub Jelinek <jakub@gcc.gnu.org>
Thu, 13 Oct 2016 08:29:03 +0000 (10:29 +0200)
commit1202f33e5e1e4236fec7a3c1d14c16b5f13c2aaa
tree685fcc683b155fa909df23b9901c4825e6a36a60
parent90bca4ed80de6437b4101a65eb29fb034b793981
re PR target/77957 (Undefined .LCTOC0 with -fstack-protector-strong -mminimal-toc -O0 on ppc64)

PR target/77957
* hooks.h (hook_tree_void_null): Declare.
* hooks.c (hook_tree_void_null): New function.
* langhooks.c (lhd_return_null_tree_v): Remove.
* langhooks-def.h (lhd_return_null_tree_v): Remove.
* cfgexpand.c (stack_protect_prologue): If guard_decl is NULL,
set y to const0_rtx.
* function.c (stack_protect_epilogue): Likewise.
* config/tilepro/tilepro.c (TARGET_STACK_PROTECT_GUARD): Redefine
if TARGET_THREAD_SSP_OFFSET is defined.
* config/s390/s390.c (TARGET_STACK_PROTECT_GUARD): Likewise.
* config/sparc/sparc.c (TARGET_STACK_PROTECT_GUARD): Likewise.
* config/tilegx/tilegx.c (TARGET_STACK_PROTECT_GUARD): Likewise.
* config/rs6000/rs6000.c (TARGET_STACK_PROTECT_GUARD): Likewise.
* config/i386/i386.c (TARGET_STACK_PROTECT_GUARD): Likewise.
(ix86_stack_protect_guard): New function.
c/
* c-objc-common.h (LANG_HOOKS_GETDECLS): Use hook_tree_void_null
instead of lhd_return_null_tree_v.
ada/
* gcc-interface/misc.c (LANG_HOOKS_GETDECLS): Use hook_tree_void_null
instead of lhd_return_null_tree_v.

From-SVN: r241087
17 files changed:
gcc/ChangeLog
gcc/ada/ChangeLog
gcc/ada/gcc-interface/misc.c
gcc/c/ChangeLog
gcc/c/c-objc-common.h
gcc/cfgexpand.c
gcc/config/i386/i386.c
gcc/config/rs6000/rs6000.c
gcc/config/s390/s390.c
gcc/config/sparc/sparc.c
gcc/config/tilegx/tilegx.c
gcc/config/tilepro/tilepro.c
gcc/function.c
gcc/hooks.c
gcc/hooks.h
gcc/langhooks-def.h
gcc/langhooks.c