This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug go/47656] libgo.so has writable executable stack
- From: "ian at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 27 Jan 2012 22:25:06 +0000
- Subject: [Bug go/47656] libgo.so has writable executable stack
- Auto-submitted: auto-generated
- References: <bug-47656-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47656
--- Comment #1 from ian at gcc dot gnu.org <ian at gcc dot gnu.org> 2012-01-27 22:25:06 UTC ---
Author: ian
Date: Fri Jan 27 22:25:02 2012
New Revision: 183650
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=183650
Log:
compiler: Use new __builtin_init_heap_trampoline.
PR go/47656
* builtins.def (BUILT_IN_INIT_HEAP_TRAMPOLINE): Define.
* builtins.c (expand_builtin_init_trampoline): Add onstack
parameter. Change caller.
(expand_builtin): Handle BUILT_IN_INIT_HEAP_TRAMPOLINE.
* tree.c (build_common_builtin_nodes): Declare
__builtin_init_heap_trampoline.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/builtins.c
trunk/gcc/builtins.def
trunk/gcc/go/gofrontend/gogo-tree.cc
trunk/gcc/tree.c