In libobjc/:
authornicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Dec 2010 22:49:37 +0000 (22:49 +0000)
committernicola <nicola@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 21 Dec 2010 22:49:37 +0000 (22:49 +0000)
commit7d026d14fe10ddd8779c2b171097c4e8b4cdf9ea
tree7b230e110e8855f7e0345ca7c88cdfb6276368f2
parentce31fa3fe8776af79a61af8858b7d5bb14f22bd6
In libobjc/:
2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>

PR libobjc/18764
* class.c (__objc_add_class_to_hash): Return YES if the class was
added, and NO if it already existed.
* init.c (__objc_init_class): If __objc_add_class_to_hash returns
NO, then abort the program with an error message.
* objc-private/runtime.h (__objc_add_class_to_hash): Updated
declaration.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@168139 138bc75d-0d04-0410-961f-82ee72b054a4
libobjc/ChangeLog
libobjc/class.c
libobjc/init.c
libobjc/objc-private/runtime.h