diff options
author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-13 18:57:31 +0000 |
---|---|---|
committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-10-13 18:57:31 +0000 |
commit | 382597e4e1587e7de04f81ba9903811a8a93d640 (patch) | |
tree | 3c1d073f5371ed3d1591b0a5f61b529b6c5b86af /gcc/objcp | |
parent | dc9e4762207f5086d6dabe37bea7c45119a85ea4 (diff) | |
download | gcc-382597e4e1587e7de04f81ba9903811a8a93d640.tar.gz |
Centralize knowledge of eh personality routines.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@165433 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objcp')
-rw-r--r-- | gcc/objcp/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objcp/objcp-lang.c | 6 |
2 files changed, 6 insertions, 5 deletions
diff --git a/gcc/objcp/ChangeLog b/gcc/objcp/ChangeLog index ab44899eea7..26e3c7a1e2d 100644 --- a/gcc/objcp/ChangeLog +++ b/gcc/objcp/ChangeLog @@ -1,3 +1,8 @@ +2010-10-13 Richard Henderson <rth@redhat.com> + + * objcp-lang.c (objcxx_eh_personality): Update call to + build_personality_function. + 2010-10-11 Andi Kleen <ak@linux.intel.com> * Make-lang.in (cc1objplus-checksum.c): Use correct temporary diff --git a/gcc/objcp/objcp-lang.c b/gcc/objcp/objcp-lang.c index fdb29767615..6a45404a96a 100644 --- a/gcc/objcp/objcp-lang.c +++ b/gcc/objcp/objcp-lang.c @@ -147,11 +147,7 @@ static tree objcxx_eh_personality (void) { if (!objcp_eh_personality_decl) - objcp_eh_personality_decl - = build_personality_function (targetm.except_unwind_info () == UI_SJLJ - ? "__gxx_personality_sj0" - : "__gxx_personality_v0"); - + objcp_eh_personality_decl = build_personality_function ("gxx"); return objcp_eh_personality_decl; } |