aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc/tm.texi.in
diff options
context:
space:
mode:
authorRichard Henderson <rth@redhat.com>2010-09-07 13:50:17 -0700
committerRichard Henderson <rth@gcc.gnu.org>2010-09-07 13:50:17 -0700
commita68b5e5247b3b8047aa104e39b61a7d8f6cfa57b (patch)
tree41a92d71cf2cb5360f756b8179c661cc2aee74ec /gcc/doc/tm.texi.in
parent9b3a7a26767441121e77c66cf0d04b0d35c77282 (diff)
downloadgcc-a68b5e5247b3b8047aa104e39b61a7d8f6cfa57b.zip
gcc-a68b5e5247b3b8047aa104e39b61a7d8f6cfa57b.tar.gz
gcc-a68b5e5247b3b8047aa104e39b61a7d8f6cfa57b.tar.bz2
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
Diffstat (limited to 'gcc/doc/tm.texi.in')
-rw-r--r--gcc/doc/tm.texi.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/doc/tm.texi.in b/gcc/doc/tm.texi.in
index 2efc1ae..17fcd4b 100644
--- a/gcc/doc/tm.texi.in
+++ b/gcc/doc/tm.texi.in
@@ -8734,6 +8734,8 @@ to be broken up according to function.
The default is that no label is emitted.
@end deftypefn
+@hook TARGET_ASM_EMIT_EXCEPT_PERSONALITY
+
@hook TARGET_ASM_UNWIND_EMIT
This target hook emits assembly directives required to unwind the
given instruction. This is only used when TARGET_UNWIND_INFO is set.