r152503 - in /branches/split: gcc/ChangeLog.spl...
ian@gcc.gnu.org
ian@gcc.gnu.org
Tue Oct 6 23:19:00 GMT 2009
Author: ian
Date: Tue Oct 6 23:19:19 2009
New Revision: 152503
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=152503
Log:
gcc/:
* varasm.c (saw_no_split_stack): New static variable.
(assemble_start_function): Check for no_split_stack attribute and
set saw_no_split_stack if we find it.
(file_end_indicate_split_stack): New function.
* output.h (file_end_indicate_split_stack): Declare.
* config/i386/i386.c (ix86_file_end): Call
file_end_indicate_split_stack.
(ix86_expand_split_stack_prologue): Use small test if <
SPLIT_STACK_AVAILABLE, not <=.
* config/i386/i386.md (split_stack_check_small): Use GEU.
(split_stack_check_large): Likewise.
libgcc/:
* config/i386/morestack.S: Add empty .note.GNU-split-stack and
.note.GNU-no-split-stack sections.
(__morestack_non_split): New entry point.
(__morestack): Get stack size from __generic_releasestack and use
it to calculate the new stack guard.
* generic-morestack.c (__generic_morestack): Fix stack bottom
calculation for downward stack.
(__generic_releasestack): Add pavailable parameter.
Modified:
branches/split/gcc/ChangeLog.split
branches/split/gcc/config/i386/i386.c
branches/split/gcc/config/i386/i386.md
branches/split/gcc/output.h
branches/split/gcc/varasm.c
branches/split/libgcc/ChangeLog.split
branches/split/libgcc/config/i386/morestack.S
branches/split/libgcc/generic-morestack.c
More information about the Gcc-cvs
mailing list