diff options
author | midipix <writeonce@midipix.org> | 2019-03-11 12:31:29 -0400 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2019-03-12 02:53:39 -0400 |
commit | 9725359a692a08edca255132b795cf0b102e5104 (patch) | |
tree | ad874dd04440f93171fce164c205d4dbbfa1e124 | |
parent | 5f10cda1cd800017cac6f3fd7b4c9d88d306bb2d (diff) | |
download | cbb-gcc-4.6.4-9725359a692a08edca255132b795cf0b102e5104.tar.bz2 cbb-gcc-4.6.4-9725359a692a08edca255132b795cf0b102e5104.tar.xz |
gcc/tree.c: support target-provided unwind interfaces.
-rw-r--r-- | gcc/tree.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/tree.c b/gcc/tree.c index 83a07117f..bd2f2cd98 100644 --- a/gcc/tree.c +++ b/gcc/tree.c @@ -9381,9 +9381,13 @@ build_common_builtin_nodes (void) ftype = build_function_type_list (void_type_node, ptr_type_node, NULL_TREE); local_define_builtin ("__builtin_unwind_resume", ftype, BUILT_IN_UNWIND_RESUME, +#ifdef TARGET_PERSONALITY_FUNCTION_MIDIPIX + "__unwind_resume", +#else ((targetm.except_unwind_info (&global_options) == UI_SJLJ) ? "_Unwind_SjLj_Resume" : "_Unwind_Resume"), +#endif ECF_NORETURN); if (built_in_decls[BUILT_IN_RETURN_ADDRESS] == NULL_TREE) |