* target.h (struct gcc_target): Add asm_out.exception_section,
authorshebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Oct 2001 14:43:31 +0000 (14:43 +0000)
committershebs <shebs@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 22 Oct 2001 14:43:31 +0000 (14:43 +0000)
commit02c8b767b0d748f0090dfdb3211ea30c3347179a
tree6028234f9c01f45261eb56b926fa2cdb55368889
parent3cd64af9c7d2eb289d2eb55fef99a58554d5399c
    * target.h (struct gcc_target): Add asm_out.exception_section,
        asm_out.eh_frame_section.
        * target-def.h (TARGET_ASM_EXCEPTION_SECTION): New macro.
        (TARGET_ASM_EH_FRAME_SECTION): New.
        (TARGET_INITIALIZER): Update.
        * output.h (default_exception_section): Declare.
        (default_eh_frame_section): Declare.
        * dwarf2out.c: Include target.h.
        (output_call_frame_info): Call target hook for eh frames.
        (default_eh_frame_section): New function.
        * except.c: Include target.h.
        (output_function_exception_table): Call target hook for exception
        section.
        * varasm.c (default_exception_section): Rename from
        exception_section, remove EXCEPTION_SECTION macro.

        * config/darwin.h (darwin_eh_frame_section): New function.
        (EXCEPTION_SECTION): Remove.
        (TARGET_ASM_EXCEPTION_SECTION): Define.
        * config/nextstep.h (EH_FRAME_SECTION_ASM_OP): Remove.
        (nextstep_exception_section): New function.
        (nextstep_eh_frame_section): New function.
        (TARGET_ASM_EXCEPTION_SECTION): Define.
        (TARGET_ASM_EH_FRAME_SECTION): Define.

        * config/pa/som.h (EXCEPTION_SECTION): Remove.
        (TARGET_ASM_EXCEPTION_SECTION): Define.
        * config/rs6000/sysv4.h, config/rs6000/xcoff.h
        (EXCEPTION_SECTION): Remove.
        (TARGET_ASM_EXCEPTION_SECTION): Define.
        * config/stormy16/stormy16.h: Remove comments referencing
        EXCEPTION_SECTION and EH_FRAME_SECTION_ASM_OP.

        * doc/tm.texi: Document TARGET_ASM_EXCEPTION_SECTION and
        TARGET_ASM_EH_FRAME_SECTION.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46409 138bc75d-0d04-0410-961f-82ee72b054a4
14 files changed:
gcc/ChangeLog
gcc/config/darwin.h
gcc/config/nextstep.h
gcc/config/pa/som.h
gcc/config/rs6000/sysv4.h
gcc/config/rs6000/xcoff.h
gcc/config/stormy16/stormy16.h
gcc/doc/tm.texi
gcc/dwarf2out.c
gcc/except.c
gcc/output.h
gcc/target-def.h
gcc/target.h
gcc/varasm.c