Hookize exception personality output.
authorRichard Henderson <rth@redhat.com>
Tue, 7 Sep 2010 20:50:17 +0000 (13:50 -0700)
committerRichard Henderson <rth@gcc.gnu.org>
Tue, 7 Sep 2010 20:50:17 +0000 (13:50 -0700)
commita68b5e5247b3b8047aa104e39b61a7d8f6cfa57b
tree41a92d71cf2cb5360f756b8179c661cc2aee74ec
parent9b3a7a26767441121e77c66cf0d04b0d35c77282
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.

From-SVN: r163968
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