diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-28 20:44:58 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-09-28 20:44:58 +0000 |
commit | cc7d6aed6b7186313ada1a58107b9dbcaac2f435 (patch) | |
tree | abc0f2fe4784df2eb251f4c04a0493fec3eac91d /gcc/objc | |
parent | a336eb4b5042c9ebc2d044d29202649fd9fa2759 (diff) | |
download | gcc-cc7d6aed6b7186313ada1a58107b9dbcaac2f435.tar.gz |
Hookize TARGET_UNWIND_INFO et al.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@164701 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/objc/objc-act.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index d797283e51f..7aa91dc395d 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,7 @@ +2010-09-28 Richard Henderson <rth@redhat.com> + + * objc-act.c (objc_eh_personality): Use targetm.except_unwind_info. + 2010-09-28 Iain Sandoe <iains@gcc.gnu.org> * objc-act.c (objc_start_class_interface): Handle and ignore attributes. diff --git a/gcc/objc/objc-act.c b/gcc/objc/objc-act.c index 9401769b7d6..67e9b516d43 100644 --- a/gcc/objc/objc-act.c +++ b/gcc/objc/objc-act.c @@ -3638,7 +3638,7 @@ objc_eh_personality (void) if (!flag_objc_sjlj_exceptions && !objc_eh_personality_decl) objc_eh_personality_decl - = build_personality_function (USING_SJLJ_EXCEPTIONS + = build_personality_function (targetm.except_unwind_info () == UI_SJLJ ? "__gnu_objc_personality_sj0" : "__gnu_objc_personality_v0"); |