Message ID | mcrsjzwsqgc.fsf@google.com |
---|---|
State | New |
Headers | show |
diff -r 11f82bc24788 go/go-lang.c --- a/go/go-lang.c Fri Oct 22 15:48:09 2010 -0700 +++ b/go/go-lang.c Sat Oct 23 11:38:20 2010 -0700 @@ -292,10 +292,7 @@ static tree personality_decl; if (personality_decl == NULL_TREE) { - const char* name = (targetm.except_unwind_info () == UI_SJLJ - ? "__gccgo_personality_sj0" - : "__gccgo_personality_v0"); - personality_decl = build_personality_function (name); + personality_decl = build_personality_function ("gccgo"); go_preserve_from_gc (personality_decl); } return personality_decl;