diff options
author | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-12 13:54:33 +0000 |
---|---|---|
committer | iains <iains@138bc75d-0d04-0410-961f-82ee72b054a4> | 2011-11-12 13:54:33 +0000 |
commit | 1583f3afdb4374b59a6ad6d3df27bd1ddcaf6a29 (patch) | |
tree | 7ebc7391ba31f00fe659e152c0f2af4e78abfa3c /gcc/objc | |
parent | 892b92689b720b66531e5d4be51717c7af6b10a9 (diff) | |
download | gcc-1583f3afdb4374b59a6ad6d3df27bd1ddcaf6a29.tar.gz |
gcc/obj:
* objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality
for Objective-C m32.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@181312 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/objc')
-rw-r--r-- | gcc/objc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/objc/objc-next-runtime-abi-01.c | 5 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gcc/objc/ChangeLog b/gcc/objc/ChangeLog index 26b98983ea1..3c176e823b4 100644 --- a/gcc/objc/ChangeLog +++ b/gcc/objc/ChangeLog @@ -1,3 +1,8 @@ +2011-11-12 Iain Sandoe <iains@gcc.gnu.org> + + * objc-next-runtime-abi-01.c (objc_eh_personality): Use gcc personality + for Objective-C m32. + 2011-10-29 Iain Sandoe <iains@gcc.gnu.org> PR target/47997 diff --git a/gcc/objc/objc-next-runtime-abi-01.c b/gcc/objc/objc-next-runtime-abi-01.c index c1e60b392d5..7d6a2125632 100644 --- a/gcc/objc/objc-next-runtime-abi-01.c +++ b/gcc/objc/objc-next-runtime-abi-01.c @@ -2872,12 +2872,15 @@ make_err_class: return eh_id; } +/* For NeXT ABI 0 and 1, the personality routines are just those of the + underlying language. */ + static tree objc_eh_personality (void) { if (!objc_eh_personality_decl) #ifndef OBJCPLUS - objc_eh_personality_decl = build_personality_function ("objc"); + objc_eh_personality_decl = build_personality_function ("gcc"); #else objc_eh_personality_decl = build_personality_function ("gxx"); #endif |