OSDN Git Service

gcc/
authorcarlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 May 2008 20:36:57 +0000 (20:36 +0000)
committercarlos <carlos@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 23 May 2008 20:36:57 +0000 (20:36 +0000)
commit658e203c9c9fb27b576911037bd432523335a93a
treefabe76f974542d0458d609ec4222651293549585
parent0ac9b10f0d143d299c2979bbc09038bf3dc6c9d8
gcc/

2008-05-23  Paul Brook  <paul@codesourcery.com>
    Carlos O'Donell  <carlos@codesourcery.com>

* doc/extend.texi: Clarify use of __attribute__((naked)).
* doc/tm.texi: Document TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS.
* target.h (gcc_target): Add allocate_stack_slots_for_args.
* function.c (use_register_for_decl): Use
targetm.calls.allocate_stack_slots_for_args.
* target-def.h (TARGET_CALLS): Add
TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS.
* config/arm/arm.c (arm_allocate_stack_slots_for_args):
New function.
(TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Define.

gcc/testsuite/

2008-05-23  Paul Brook  <paul@codesourcery.com>
    Carlos O'Donell  <carlos@codesourcery.com>

* gcc.target/arm/naked-1.c: New test.
* gcc.target/arm/naked-2.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@135831 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/doc/extend.texi
gcc/doc/tm.texi
gcc/function.c
gcc/target-def.h
gcc/target.h
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.target/arm/naked-1.c [new file with mode: 0644]
gcc/testsuite/gcc.target/arm/naked-2.c [new file with mode: 0644]