Hookize exception personality output.
authorrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Sep 2010 20:50:17 +0000 (20:50 +0000)
committerrth <rth@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 7 Sep 2010 20:50:17 +0000 (20:50 +0000)
commit379666996538e12cd735fe6e66ccf7b53583027e
tree41a92d71cf2cb5360f756b8179c661cc2aee74ec
parent8bb151fa06a4b2d39a8af22fea86c1ad76801718
Hookize exception personality output.

* target.def (TARGET_ASM_EMIT_EXCEPT_PERSONALITY): New hook.
* doc/tm.texi.in: Add doc marker.
* doc/tm.texi: Rebuild.
* except.c (switch_to_exception_section): Always build.
(output_one_function_exception_table): Move section switch,
personality output, and label output ...
(output_function_exception_table): ... here.  Use the new
personality hook.

* config/ia64/ia64.c (ia64_asm_emit_except_personality,
ia64_asm_init_sections, TARGET_ASM_EMIT_EXCEPT_PERSONALITY,
TARGET_ASM_INIT_SECTIONS): New.
(ia64_asm_unwind_emit): Rename from process_for_unwind_directive,
make static.
(TARGET_ASM_UNWIND_EMIT): Update to match.
* config/ia64/ia64-protos.h (process_for_unwind_directive): Remove.

* config/arm/arm.c (arm_asm_emit_except_personality): New.
(arm_asm_init_sections): New.
(TARGET_ASM_EMIT_EXCEPT_PERSONALITY, TARGET_ASM_INIT_SECTIONS): New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163968 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/config/arm/arm.c
gcc/config/ia64/ia64-protos.h
gcc/config/ia64/ia64.c
gcc/doc/tm.texi
gcc/doc/tm.texi.in
gcc/except.c
gcc/target.def