* config/epiphany/epiphany.h (ASM_DECLARE_FUNCTION_SIZE): Redefine,
commit83debce37b04bed177d54ddcc7eacb7a1b4feb89
authoramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Feb 2012 02:28:06 +0000 (7 02:28 +0000)
committeramylaar <amylaar@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Feb 2012 02:28:06 +0000 (7 02:28 +0000)
treee276fcf92c6b5974ac19a30c894e2084e1bb3684
parent55fc45140a6ac4792813df170bdbfd3e007a9f3b
    * config/epiphany/epiphany.h (ASM_DECLARE_FUNCTION_SIZE): Redefine,
        adding __forwarder_dst__ prefix if a forwarder_section attribute is
        present.
        (epiphany_function_type): Replace types for specific interrupts with
        EPIPHANY_FUNCTION_INTERRUPT.
        (EPIPHANY_INTERRUPT_P): Update.
        * config/epiphany/epiphany.c (epiphany_handle_forwarder_attribute):
        New static function.
        (epiphany_attribute_table) <interrupt>: min_len is 0, max_len is 9.
        <disinterrupt>: Affects type identity.
        (epiphany_handle_interrupt_attribute): Handle variable number of
        arguments.
        (epiphany_compute_function_type): Update for new
        epiphany_function_type definition.
        (epiphany_expand_prologue): Don't save (reg:DI GPR_0) for interrupt
        handlers with a longcall forwarder.
        (epiphany_start_function): Handle multiple interrupt arguments and/or
        forwarder_section attribute.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183953 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/epiphany/epiphany.c
gcc/config/epiphany/epiphany.h