2014-04-15 Richard Biener <rguenther@suse.de>
[official-gcc.git] / libobjc / ChangeLog
blob2775444b062a8d36deefe5709cce5788eb8bf8eb
1 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
3         Update copyright years
5 2013-09-20  Alan Modra  <amodra@gmail.com>
7         * configure: Regenerate.
9 2013-07-21   Ondřej Bílka  <neleai@seznam.cz>
11         * class.c: Fix typos.
12         * encoding.c: Likewise.
13         * init.c: Likewise.
14         * objc-private/runtime.h: Likewise.
15         * objc/runtime.h: Likewise.
16         * objc-sync.c: Likewise.
18 2013-07-04  Kai Tietz  <ktietz@redhat.com>
20         * exception.c: Add check for SjLj to SEH blocks.
22 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
24         Update copyright years.
26 2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
28         * encoding.c (TARGET_VSX): Provide definitions based on the
29         current compilation options, and not based off the target options
30         structure.
31         (TARGET_ALTIVEC): Likewise.
32         (TARGET_64BIT): Likewise.
34 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
36         * configure: Regenerated.
38 2012-07-19  Tristan Gingold  <gingold@adacore.com>
39             Richard Henderson  <rth@redhat.com>
41         * exception.c (__gnu_objc_personality_seh0): New function.
43 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
45         * configure: Regenerated.
47 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
49         * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
50         * configure: Regenerate.
52         * thr.c (_XOPEN_SOURCE): Define unconditionally.
54 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
56         * configure: Regenerate.
58 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
60         * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
61         * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
62         * configure: Regenerate.
63         * config.h.in: Regenerate.
65 2011-10-17  Paul Brook  <paul@codesourcery.com>
66             Matthias Klose  <doko@ubuntu.com>
68         * exception.c (parse_lsda_header): hardcode ttype_encoding for older
69         ARM EABI toolchains.
70         (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
72 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
74         PR libobjc/49883
75         * init.c (__objc_exec_class): Work around a bug in clang's code
76         generation.  Clang sets the class->info field to values different
77         from 0x1 or 0x2 (the only allowed values in the traditional GNU
78         Objective-C runtime ABI) to store some additional information, but
79         this breaks backwards compatibility.  Wipe out all the bits in the
80         fields other than the first two upon loading a class.
82 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
84         * class.c (objc_lookup_class): Added back for compatibility with
85         clang which seems to emit calls to it.
87 2011-10-08  Richard Frith-Macdonald <rfm@gnu.org>
88             Nicola Pero  <nicola.pero@meta-innovation.com>
90         PR libobjc/50428
91         * sendmsg.c (__objc_send_initialize): If a class does not have an
92         +initialize method, search for an +initialize method in the
93         superclass and in the ancestor classes and execute the first one
94         that is found.  This makes the GNU runtime behave in the same way
95         as the Apple/NeXT runtime with respect to +initialize methods and
96         subclassing.
98 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
100         PR libobjc/50002
101         * class.c (__objc_update_classes_with_methods): Iterate over meta
102         classes as well as normal classes when refreshing the method
103         implementations.  This fixes replacing class methods.
105 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
107         * class.c (class_getSuperclass): Fixed to work with meta classes
108         still in construction too.
110 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
112         * class.c (class_getSuperclass): Fixed typo in comment.
113         
114 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
116         PR libobjc/49882
117         * class.c (class_getSuperclass): Return the superclass if the
118         class is in construction.
119         * objc/runtime.h (class_getSuperclass): Updated documentation.
121 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
123         * Makefile.in (INCLUDES): Search
124         $(srcdir)/$(MULTISRCTOP)../libgcc.
126 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
128         * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
130 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
132         * configure.ac (VERSION): Bumped to 4:0:0.
133         * configure (VERSION): Likewise.
135 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
137         * objc/README: Updated.
138         * objc-private/selector.h: Updated comments.
139         
140 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
142         * sendmsg.c (class_get_instance_method): Removed.
143         (class_get_class_method): Removed.
144         (objc_get_uninstalled_dtable): Removed.
146 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
148         * objc-private/module-abi-8.h (class_get_instance_size): Removed.
149         * objects.c (class_create_instance): Removed.
150         * error.c (__USE_FIXED_PROTOTYPES__): Removed.
151         * gc.c (__objc_generate_gc_type_description): Use
152         class_getInstanceSize() instead of class_get_instance_size().
153         * selector.c (sel_types_match): Made static.
154         (sel_get_typed_uid): Removed.
155         (sel_get_any_typed_uid): Removed.
156         (sel_get_name): Removed.
157         (sel_get_type): Removed.
158         (sel_register_name): Removed.
159         (sel_register_typed_name): Removed.
160         (sel_get_uid): Removed.
162 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
164         * encoding.c (method_get_number_of_arguments): Removed.
165         (method_get_sizeof_arguments): Removed.
167 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
169         * class.c (objc_next_class): Removed.
170         (class_pose_as): Removed.
171         (CLASSOF): Removed.
172         (class_table_replace): Removed.
173         (objc_lookup_class): Removed.
175 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
177         Removed the Traditional Objective-C runtime public API.
178         * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
179         (install-headers): Do not create the objc/deprecated directory and
180         do not install the deprecated headers.
181         (OBJC_H): Removed encoding.h and objc-api.h.
182         * Object.m: Removed all methods with the exception of -class and
183         -isEqual:.  Updated includes.  ([-class]): Use Modern API.
184         * objc/Object.h: Do not include deprecated/Object.h.
185         * objc/deprecated/Object.h: Removed.
186         * linking.m (__objc_linking): Call [Object class] instead of
187         [Object name].
188         * Protocol.m: Removed all methods with the exception of -isEqual:.
189         Updated includes.
190         * objc/Protocol.h: Do not include deprecated/Protocol.h.
191         * objc/deprecated/Protocol.h: Removed.
192         * objc/deprecated/struct_objc_symtab.h: Removed.
193         * objc/deprecated/struct_objc_module.h: Removed.
194         * objc/deprecated/struct_objc_ivar.h: Removed.
195         * objc/deprecated/struct_objc_ivar_list.h: Removed.
196         * objc/deprecated/struct_objc_method.h: Removed.
197         * objc/deprecated/struct_objc_method_list.h: Removed.
198         * objc/deprecated/struct_objc_protocol_list.h: Removed.
199         * objc/deprecated/struct_objc_category.h: Removed.
200         * objc/deprecated/MetaClass.h: Removed.
201         * objc/deprecated/objc_msg_sendv.h: Removed.  
202         * objc/deprecated/README: Removed.
203         * objc/deprecated/struct_objc_class.h: Removed.
204         * objc/deprecated/struct_objc_protocol.h: Removed.
205         * objc/deprecated/struct_objc_selector.h: Removed.
206         * objc/encoding.h: Removed.
207         * objc/message.h (struct objc_super): Removed the definition for
208         the Traditional Objective-C runtime API.
209         * objc/objc.h: Do not include objc/objc-decls.h.
210         deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
211         deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
212         and deprecated/objc_msg_sendv.h.  Uncommented new definition of
213         Protocol *.
214         * objc/objc-api.h: Removed.
215         * objc/runtime.h: Updated comments.  Removed check to detect
216         concurrent usage of Traditional and Modern APIs.
217         * objc-private/module-abi-8.h: Always define struct objc_class and
218         struct objc_protocol.  (struct objc_protocol_list): Changed type
219         of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
220         (class_get_instance_size): Added.
221         * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
222         'struct objc_protocol *' as argument, not a 'Protocol *'.
223         * objc-private/runtime.h: Updated comments.
224         * objc-private/selector.h (struct objc_selector, sel_eq): Added.
225         * class.c: Include objc-private/selector.h.
226         (objc_get_meta_class): Return a Class instead of a MetaClass.
227         * encoding.c (method_get_next_argument): Removed.
228         (method_get_first_argument): Removed.
229         (method_get_nth_argument): Removed.
230         * gc.c: Include objc/runtime.h instead of objc/encoding.h.
231         Include objc-private/module-abi-8.h and ctype.h.
232         * protocols.c (__objc_protocols_add_protocol): Take a 'struct
233         objc_protocl *' as argument, not a 'Protocol *'.
234         (class_addProtocol): Added casts to 'struct objc_protocol *' and
235         'Protocol *'.
236         (class_copyProtocolList): Likewise.
237         (protocol_conformsToProtocol): Likewise.
238         (protocol_copyProtocolList): Likewise.
239         * sarray.c: Include objc-private/module-abi-8.h.
240         * sendmsg.c (method_get_next_argument): Removed.
241         (method_get_first_argument): Removed.
242         (method_get_nth_argument): Removed.
243         (objc_msg_sendv): Removed.
244         (arglist_t, retval_t): New.  (class_get_class_method): Take a
245         'Class', not 'MetaClass', argument.
246         * thr.c: Include module-abi-8.h.
247         
248 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
250         * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
251         and objc_get_uninstalled_dtable.h.
252         * objc/deprecated/struct_objc_static_instances.h: Removed.
253         * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.       
254         * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
255         and deprecated/objc_get_uninstalled_dtable.h.
256         
257 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
259         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
260         * objc/deprecated/objc_object_alloc.h: Removed.
261         * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
262         * objects.c (_objc_object_alloc, _objc_object_dispose,
263         _objc_object_copy): Removed.
264         * libobjc.def (__objc_object_alloc, __objc_object_copy,
265         __objc_object_dispose): Removed.
266         
267 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
269         * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
270         * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
271         * objc/deprecated/METHOD_NULL.h: Removed.
272         
273 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
275         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
276         objc_malloc.h and objc_unexpected_exception.h.
277         (exception.lo): Do not use -Wno-deprecated-declarations.
278         (exception_gc.lo): Likewise.
279         * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
280         deprecated/objc_malloc.h and
281         deprecated/objc_unexpected_exception.h.
282         * objc/deprecated/objc_valloc.h: Removed.
283         * objc/deprecated/objc_malloc.h: Removed.
284         * objc/deprecated/objc_unexpected_exception.h: Removed.
285         * exception.c (_objc_unexpected_exception): Removed.
286         (objc_exception_throw): Do not check for
287         _objc_unexpected_exception.
288         * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
289         _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.        
290         * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
291         
292 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
294         * objc/objc.h: Do not include deprecated/STR.h.
295         * objc/deprecated/STR.h: Removed.
296         * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
297         
298 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
300         * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
301         (OBJC_DEPRECATED_H): Likewise.
302         * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
303         objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
304         objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
305         hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
306         sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
307         sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
308         * objc/sarray.h: Removed.
309         * objc/hash.h: Removed.
310         * objc/deprecated/sarray.h: Removed.
311         * objc/deprecated/hash.h: Removed.
312         * objc/Object.h: Do not include objc/deprecated/hash.h
313         * Object.m: Include string.h.
314         * objc/objc-api.h: Do not include objc/deprecated/hash.h.
315         * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
316         Removed.
318 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
320         * Object.m ([-forward::]): Removed.
321         * objc/deprecated/Object.h ([-forward::]): Removed.
322         * sendmsg.c (__objc_forward): Updated comments.
323         
324 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
326         * Makefile.in (OBJC_H): Removed objc-list.h.
327         (OBJC_DEPRECATED_H): Removed objc-list.h.
328         * objc/objc-list.h: File removed.
329         * objc/deprecated/objc-list.h: File removed.
331 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
333         * Makefile.in (OBJC_H): Removed typedstream.h.
334         (OBJC_DEPRECATED_H): Removed typedstream.h.
335         (C_SOURCE_FILES): Removed archive.c.
336         (Object.lo): Rule removed.
337         (Object_gc.lo): Likewise.
338         (archive.lo): Likewise.
339         (archive_gc.lo): Likewise.
340         * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
341         [-awake]): Removed.
342         Do not include deprecated/typedstream.h.
343         * Object.m: Removed the same methods.
344         * archive.c: File removed.
345         * objc/typedstream.h: File removed.
346         * objc/deprecated/typedstream.h: File removed.
347         * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
348         __objc_write_class, __objc_write_object, __objc_write_selector,
349         objc_close_typed_stream, objc_end_of_typed_stream,
350         objc_flush_typed_stream, objc_get_stream_class_version,
351         objc_open_typed_stream, objc_open_typed_stream_for_file,
352         objc_read_array, objc_read_char, objc_read_int, objc_read_long,
353         objc_read_object, objc_read_selector, objc_read_short,
354         objc_read_string, objc_read_type, objc_read_types,
355         objc_read_unsigned_char, objc_read_unsigned_int,
356         objc_read_unsigned_long, objc_read_unsigned_short,
357         objc_write_array, objc_write_char, objc_write_int,
358         objc_write_long, objc_write_object, objc_write_object_reference,
359         objc_write_root_object, objc_write_selector, objc_write_short,
360         objc_write_string, objc_write_string_atomic, objc_write_type,
361         objc_write_types, objc_write_unsigned_char,
362         objc_write_unsigned_int, objc_write_unsigned_long,
363         objc_write_unsigned_short): Removed.
364         
365 2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
367         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
368         * objc/deprecated/objc_error.h: Removed.
369         * objc/objc-api.h: Do not include deprecated/objc_error.h.
370         * libobjc.def (objc_error, objc_verror): Removed.
371         * error.c (_objc_error_handler, objc_error, objc_verror,
372         objc_set_error_handler): Removed.
373         * Object.m ([-error:], [-perform:], [-perform:with:],
374         [-perform:with:with], [-subclassResponsibility:],
375         [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
376         Removed.
377         * objc/deprecated/Object.h: Removed the same methods.
378         * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
379         method after trying to invoke the "doesNotRecognize:" method.
380         
381 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
383         * sendmsg.c: Reindented part of the file.  No non-trivial changes
384         in code.
386 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
388         * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
389         not objc_lookup_class.
391 2011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
392             David Ayers  <ayers@fsfe.org>
394         PR libobjc/38307
395         * sendmsg.c: Include objc/hash.h.
396         (get_implementation): New function, mostly with code from get_imp
397         updated to support the new +initialize dispatch table logic.
398         (get_imp): Use get_implementation.
399         (__objc_responds_to): Updated to support the new +initialize
400         dispatch table logic.
401         (class_respondsToSelector): Likewise.
402         (objc_msg_lookup): Use get_implementation.
403         (__objc_init_install_dtable): Removed.
404         (__objc_install_methods_in_dtable): Updated arguments.
405         (__objc_install_dispatch_table_for_class): Renamed to
406         __objc_install_dtable_for_class and updated to support the new
407         +initialize dispatch table logic.
408         (__objc_update_dispatch_table_for_class): Updated to support the
409         new +initialize dispatch table logic.
410         (__objc_forward): Call get_implementation instead of get_imp.
411         (prepared_dtable_table): New.
412         (__objc_prepare_dtable_for_class): New. 
413         (__objc_prepared_dtable_for_class): New.
414         (__objc_get_prepared_imp): New.
415         (__objc_install_prepared_dtable_for_class): New.
416         
417 2011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
419         PR libobjc/48177
420         * selector.c (__sel_register_typed_name): Use sel_types_match()
421         instead of strcmp() to compare selector types (Suggestion by
422         Richard Frith-Macdonald <rfm@gnu.org>).
424 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
426         PR libobjc/32037
427         * Makefile.in (OBJC_GCFLAGS): Move ...
428         * configure.ac (enable_objc_gc): ... here.
429         Add $(libsuffix) to OBJC_BOEHM_GC.
430         * configure: Regenerate.
432 2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>
433         
434         * selector.c (sel_getTypedSelector): Return NULL if there are
435         multiple selectors with conflicting types.
436         * objc/runtime.h (sel_getTypedSelector): Updated documentation.
437         
438 2011-02-28  Richard Frith-Macdonald <rfm@gnu.org>
440         PR libobjc/47922
441         * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
442         a hardcoded "!".
444 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
446         * configure: Regenerate.
448 2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>
450         * init.c (create_tree_of_subclasses_inherited_from): Use
451         class_superclass_of_class instead of assuming a class is
452         unresolved when it could be resolved.  Tidied up assignment and
453         check.
454         (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
455         (objc_tree_insert_class): Tidied up loop; return immediately upon
456         inserting a class.
457         (__objc_exec_class): Do not set __objc_class_tree_list.
458         
459 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
461         * selector.c (sel_getTypedSelector): Return NULL if given a NULL
462         argument.
463         (sel_registerTypedName): Same.
464         (sel_registerName): Same.
465         * objc/runtime.h: Updated documentation.
466         
467 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
469         * objc/runtime.h (class_addIvar): Updated documentation.  The
470         alignment is actually the log_2 of the alignment in bytes.
471         * ivars.c (class_addIvar): Corresponding change to the
472         implementation.
473         
474 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
476         * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
477         be consistent with method_getTypeEncoding and
478         ivar_getTypeEncoding.
479         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
480         * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
481         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
482         (sel_get_type): Updated call to sel_getType.
483         
484 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
486         * objc/runtime.h (class_conformsToProtocol,
487         class_copyProtocolList): Updated documentation.
489 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
491         * init.c (create_tree_of_subclasses_inherited_from): Updated
492         DEBUG_PRINTF messages.
493         (__objc_tree_insert_class): Same.
494         (__objc_send_load_using_method_list): Same.
495         (__objc_send_load): Same.
496         (__objc_exec_class): Same.  In particular, do not print the module
497         name since it is no longer used.
498         * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
499         tracking +initialize calls.
500         (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
501         tracking updates of dispatch tables.
502         (__objc_install_dispatch_table_for_class): Same.
503         
504 2010-12-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
506         * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
507         (libobjc_gc$(libsuffix).la): Likewise.
509 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
511         * sendmsg.c (class_addMethod): Return NO if the method already
512         exists in the class.
514 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
516         * init.c (duplicate_classes): New.
517         (__objc_exec_class): Initialize duplicate_classes.
518         (__objc_create_classes_tree): Ignore classes in the
519         duplicate_classes table.
520         (__objc_call_load_callback): Same.
521         (__objc_init_class): If a duplicate class is found, add it to
522         duplicate_classes instead of aborting.  Return YES if the class is
523         not a duplicate, and NO if it is.
524         * objc-private/runtime.h (__objc_init_class): Updated prototype.
526 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
528         * objc-private/objc-list.h: Reindented file.  No code changes.
529         * objc-private/sarray.h: Same change.
531 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
533         * objc-private/accessors.h: Removed 'extern "C"' guards.  This
534         file is never compiled with C++.
535         * objc-private/hash.h: Same change.
536         * objc-private/objc-list.h: Same change.
537         * objc-private/objc-sync.h: Same change.
538         * objc-private/protocols.h: Same change.
539         * objc-private/runtime.h: Same change.
540         * objc-private/sarray.h: Same change.
541         * objc-private/selector.h: Same change.
543 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
545         PR libobjc/18764
546         * class.c (__objc_add_class_to_hash): Return YES if the class was
547         added, and NO if it already existed.
548         * init.c (__objc_init_class): If __objc_add_class_to_hash returns
549         NO, then abort the program with an error message.
550         * objc-private/runtime.h (__objc_add_class_to_hash): Updated
551         declaration.
553 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>      
555         * init.c (_objc_load_callback): Initialize with 0.
556         (__objc_call_callback): Renamed to __objc_call_load_callback.
557         Check _objc_load_callback only once, and if it is not set, return
558         immediately.
559         (objc_send_load): Updated call to __objc_call_callback.
560         
561 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
563         PR libobjc/16110
564         * init.c (__objc_send_message_in_list): Renamed to
565         __objc_send_load_using_method_list.  Do not take an 'op' argument.
566         Register the 'load' selector if needed.
567         (__objc_send_load): Do not register the 'load' selector.  Updated
568         call to __objc_send_message_in_list.
569         (__objc_create_classes_tree): Add the class of any claimed
570         category that was loaded in the module to the list of classes for
571         which we try to execute +load.
572         
573 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
575         * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
576         Updated comments.
577         * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
578         a pointer using DEBUG_PRINTF.
579         
580 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
582         PR libobjc/45953
583         * selector.c (__sel_register_typed_name): When registering a new
584         selector with the same name as an existing one, reuse the existing
585         name string.  Also updated types, casts and comments in the whole
586         function.
588 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
590         * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
591         to be 'struct objc_selector *' and not 'SEL'.
592         * init.c (__objc_exec_class): Call
593         __objc_register_selectors_from_module instead of iterating over
594         each selector and calling __sel_register_typed_name for each.
595         * objc-private/selector.h: Declare
596         __objc_register_selectors_from_module instead of
597         __sel_register_typed_name.
598         * selector.c (__objc_register_selectors_from_module): New.
599         (__sel_register_typed_name): Made static.
600         
601 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
603         * linking.m: Do not include objc/NXConstStr.h.
605 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
606         
607         * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
608         * objc-private/common.h (DEBUG_PRINTF): To here.
609         * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
610         
611 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
613         * hash.c: Tidied up comments and indentation.  No code changes.
615 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
617         PR libobjc/47012
618         * accessors.m (objc_getProperty): If not atomic, do not
619         retain/autorelease the returned value.
621 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
623         * objc-private/runtime.h (__objc_selector_max_index,
624         __objc_init_selector_tables, __objc_register_selectors_from_class,
625         __objc_register_selectors_from_list,
626         __objc_register_selectors_from_description_list): Moved to ...
627         * objc-private/selector.h: ... here.
629 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
631         * objc-private/runtime.h (__objc_class_links_resolved): Removed.
632         (__objc_print_dtable_stats): Removed.
633         (__sel_register_typed_name): Removed.
634         * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
635         
636 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
638         * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
639         if appropriate, after loading the module.
641 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
643         * sendmsg.c (method_setImplementation): Do not declare.
645 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
647         * objc/message.h: Updated comments.
648         * objc/runtime.h: Updated comments.
649         
650 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
652         * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
653         * protocols.c: Updated all calls to objc_lookupClass to call
654         objc_lookUpClass instead.
655         * sendmsg.c (objc_lookupClass): Do not declare.
656         (get_imp): Update call to objc_lookupClass to call
657         objc_lookUpClass instead.
658         * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
660 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
662         * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
663         * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
664         define.  Updated comments.
665         
666 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
668         * objc/encoding.h: Updated comments.
669         * objc/runtime.h: Updated comments.
670         (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
671         (objc_sizeof_type): Same.
672         (objc_alignof_type): Same.
673         (objc_aligned_size): Same.
674         (objc_promoted_size): Same.
675         (objc_skip_type_qualifiers): Same.
676         (objc_skip_typespec): Same.
677         (objc_skip_offset): Same.
678         (objc_skip_argspec): Same.
679         (objc_get_type_qualifiers): Same.
680         (objc_layout_structure): Same.
681         (objc_layout_structure_next_member): Same.
682         (objc_layout_finish_structure): Same.
683         (objc_layout_structure_get_info): Same.
684         
685 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
687         * init.c: Updated comments.
688         * objc/objc-api.h: Updated comments.
689         * objc/runtime.h (_objc_load_callback): Declare.
690         
691 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
693         * objc/Object.h: Include deprecated/typedstream.h and
694         deprecated/hash.h instead of typedstream.h.  Updated comments.
696 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
698         * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
699         * objc/deprecated/objc_msg_sendv.h: New.
700         * objc/message.h: Do not define retval_t, apply_t, arglist,
701         arglist_t, objc_msg_sendv, now in
702         objc/deprecated/objc_msg_sendv.h.
703         * objc/objc.h: Do not include message.h; include
704         objc/deprecated/objc_msg_sendv.h instead.  Tidied up comments.
705         * sendmsg.c: Include objc/message.h.
706         * thr.c: Include objc/message.h.
707         
708 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
710         * objc/objc-exception.h: Include objc-decls.h.  Mark all
711         functions with objc_EXPORT.
712         * objc/objc-sync.h: Same change.
714 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
716         * Protocol.m: Moved all methods, with the exception of -isEqual:,
717         into the 'Deprecated' category.
718         * objc/Protocol.h: Removed all methods, moved to
719         objc/deprecated/Protocol.h.  Include objc/deprecated/Protocol.h.
720         * objc/deprecated/Protocol.h: New.
721         * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
722         
723 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
725         * init.c: Include objc-private/selector.h.  Do not declare
726         __sel_register_typed_name.
727         * objc-private/selector.h (__sel_register_typed_name): Declare.
728         * selector.c: Include objc-private/selector.h.
729         
730 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
732         * class.c: Tidied up comments and indentation.  No code changes.
733         * error.c: Same.
734         * exception.c: Same.
735         * init.c: Same.
736         * ivars.c: Same.
737         * memory.c: Same.
738         * objc-foreach.c: Same.
739         * objc-sync.c: Same.
740         * objects.c: Same.
741         * protocols.c: Same.
742         * sarray.c: Same.
743         * thr.c: Same.
745 2010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
747         * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
748         instead of objc/objc-api.h.
749         (init_check_module_version): Take a 'struct objc_module *'
750         argument instead of 'Module_t'.  Use 'struct objc_module *'
751         instead of 'Module_t'.
752         (__objc_created_classes_tree): Take a 'struct objc_module *'
753         argument instead of 'Module_t'; use 'struct objc_symtab *' instead
754         of 'Symtab_t'.
755         (__objc_call_callback): Take a 'struct objc_module *' argument
756         instead of 'Module_t'; use 'struct objc_symtab *' instead of
757         'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
758         (_objc_load_callback): Take a 'struct objc_category *' argument
759         instead of 'Category *'.
760         (class_superclass_of_class): Use objc_getClass() instead of
761         objc_lookup_class().
762         (create_tree_of_subclasses_inherited_from): Same change (also, use
763         an explicit 'if' instead of '?').
764         (objc_init_statics): Same change.
765         (objc_send_load): Same change.
766         (__objc_init_protocol): same change.
767         (__objc_send_message_in_list): Take a 'struct objc_method_list *'
768         argument instead of 'MethodList_t'.  Use 'struct objc_method *'
769         instead of 'Method_t'.
770         (__objc_send_load): Use 'struct objc_method_list *' instead of
771         'MethodList_t'.  Use sel_registerName() instead of
772         sel_register_name().
773         (__objc_exec_class): Take a 'struct objc_module *' argument
774         instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
775         'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
776         Use 'struct objc_category *' instead of 'Category_t'.
777         
778 2010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
780         * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
781         Include objc-private/module-abi-8.h and objc-private/selector.h
782         instead of objc/encoding.h.
783         (objc_msg_lookup_super): Use super->super_class instead of
784         super->class.
785         (method_get_first_argument, method_get_next_argument): Declare
786         locally.
787         (class_get_instance_method): Declare before using.
788         (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
789         (__objc_init_dispatch_tables, __objc_send_initialize): Use
790         sel_registerName() instead of sel_register_name().
791         (__objc_forward): Use sel_getName() instead of sel_get_name().
792         (objc_get_uninstalled_dtable): Use 'void' as argument.
793         * objc-private/selector.h: New.
795 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
797         * objc/message.h (objc_super): When using the modern API, do not
798         define Super and Super_t, and always use 'super_class' for the
799         super class field.      
800         (objc_msg_lookup_super): Updated prototype to use 'struct
801         objc_super *' instead of 'Super_t'.
802         * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
803         'struct objc_super *' instead of 'Super_t'.
805 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
807         * objc/message.h: Update comments, reindented code and moved
808         deprecated types and functions at the end of the file.  No code
809         changes.
811 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
813         * ivars.c (class_addIvar): Use the 'size' argument instead of
814         trying to calculate it using objc_sizeof_type().
815         * objc/runtime.h (class_addIvar): Updated comments.
816         
817 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
819         * sendmsg.c: Reindented some code and tidied up comments.  No
820         actual code changes.
821         
822 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
824         * objc/Object.h: Moved all the methods, with the exception of
825         -class and -isEqual:, into ...
826         * objc/deprecated/Object.h: here.
827         * Object.m: Moved all the methods, with the exception of -class
828         and -isEqual: into the 'Deprecated' category.
830 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
832         * objects.c (object_copy): Do not #undef as we are no longer
833         including objc/objc-api.h.
834         * selector.c: Include objc/runtime.h and
835         objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
836         objc/encoding.h.  Updated
837         (__objc_register_selectors_from_class): Use struct
838         objc_method_list * instead of MethodList_t.
839         (__objc_register_selectors_from_list): Use Method instead of
840         Method_t.
841         (struct objc_method_description_list): Do not define here.
842         (__objc_register_instance_methods_to_class): Use struct
843         objc_method_list * instead of MethodList_t and Method instead of
844         Method_t.
845         
846 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
848         * selector.c: Reindented some code and tidied up comments.  No
849         actual code changes.
851 2010-12-13  Iain Sandoe  <iains@gcc.gnu.org>
853         * encoding.c (_darwin_rs6000_special_round_type_align): New.
854         (darwin_rs6000_special_round_type_align): Adjust to use new routine.
856 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
858         * sendmsg.c (selector_resolveClassMethod): New.
859         (selector_resolveInstanceMethod): New.
860         (__objc_resolve_class_method): New.
861         (__objc_resolve_instance_method): New.
862         (get_imp): Call __objc_resolve_class_method or
863         __objc_resolve_instance_method at the appropriate time.
864         (objc_msg_lookup): Same.
865         (class_getClassMethod): Same.   
866         (class_getInstanceMethod): Same.
867         (__objc_init_dispatch_tables): Initialize
868         selector_resolveClassMethod and selector_resolveInstanceMethod.
869         * objc/runtime.h: Updated documentation of class_getClassMethod,
870         class_getInstanceMethod and class_getMethodImplementation.
871         
872 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
874         * objc-private/module-abi-8.h (struct objc_symtab): Updated
875         description of sel_ref_cnt and refs.
876         * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
877         
878 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
880         PR target/40125
881         PR lto/46695
882         * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
883         * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
884         * aclocal.m4: Regenerate.
885         * configure: Regenerate.
887 2010-12-03  Matthias Klose  <doko@ubuntu.com> 
889         * configure.ac (VERSION): Bump the version to 3:0:0.
890         * configure: Regenerate.
892 2010-11-23  Richard Frith-Macdonald <rfm@gnu.org>
894         * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
895         pass nil as the receiver since we don't know the receiver at this
896         point.
897         
898 2010-11-18  Nicola Pero  <nicola.pero@meta-innovation.com>
900         * ivars.c: Include stdlib.h.
901         * protocols.c: Same change.
903 2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
905         * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
906         * accessors.m: New.
907         * init.c: Include objc-private/accessors.h.
908         (__objc_exec_class): Call __objc_accessors_init.
909         * objc-private/accessors.h: New.
911 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
913         * objc/message.h: Moved initial includes outside of extern "C".
914         * objc/runtime.h: Add extern "C" for Objective-C++.
916 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
918         * init.c (objc_send_load): Do not wait for NXConstantString to be
919         registered before executing +load.  There is no point if
920         -fconstant-string-class=xxx is used when compiling all modules,
921         as is the case for almost all users.
922         * linking.m (__objc_linking): Do not try to forcefully link in
923         NXConstantString.
925 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
927         * objc/runtime.h: Updated comments.
928         (class_addMethod): New.
929         (class_addIvar): New.
930         (class_replaceMethod): New.
931         (objc_allocateClassPair): New.
932         (objc_registerClassPair): New.
933         (objc_disposeClassPair): New.
934         * class.c (objc_allocateClassPair): New.
935         (objc_registerClassPair): New.
936         (objc_disposeClassPair): New.
937         (class_getSuperclass): Return Nil if a class is in construction.
938         * init.c (__objc_exec_class): Call __objc_init_class.
939         (__objc_init_class): New.
940         * ivars.c (class_copyIvarList): Return NULL if class is in
941         construction.  Do not lock the runtime mutex.
942         (class_getInstanceVariable): Return NULL if class is in
943         construction.  Do not lock the runtime mutex.
944         (class_addIvar): New.
945         * sendmsg.c (class_addMethod): New.
946         (class_replaceMethod): New.
947         * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
948         (_CLS_IN_CONSTRUCTION): New.
949         (CLS_IS_IN_CONSTRUCTION): New.
950         (CLS_SET_IN_CONSTRUCTION): New.
951         (CLS_SET_NOT_IN_CONSTRUCTION): New.
952         * objc-private/runtime.h (__objc_init_class): New.
954 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
956         * class.c (class_getSuperclass): Call __objc_resolve_class_links
957         if the class is not resolved yet.
958         * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
959         
960 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
962         * objc/runtime.h (class_getIvarLayout): New.
963         (class_getWeakIvarLayout): New.
964         (class_setIvarLayout): New.
965         (class_setWeakIvarLayout): New.
966         * ivars.c (class_getIvarLayout): New.
967         (class_getWeakIvarLayout): New.
968         (class_setIvarLayout): New.
969         (class_setWeakIvarLayout): New. 
971 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
972         
973         * objc/runtime.h (class_copyPropertyList): New.
974         (class_getProperty): New.
975         (property_getAttributes): New.
976         (property_getName): New.
977         * ivars.c (class_copyPropertyList): New.
978         (class_getProperty): New.
979         (property_getAttributes): New.
980         (property_getName): New.
981         
982 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
984         * objc-private/runtime.h (__objc_update_classes_with_methods): New.
985         * class.c (__objc_update_classes_with_methods): New.
986         (objc_getClassList): Do not lock the class lock.
987         * methods.c (method_exchangeImplementations): New.
988         (method_setImplementation): New.
989         * objc/runtime.h (method_setImplementation): New.
990         (method_exchangeImplementations): New.
991         
992 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
994         * Protocol.m: Include objc/runtime.h and
995         objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
996         repeat Protocol's instance variables.
997         (struct objc_method_description_list): Do not define here.
998         ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
999         ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1000         selectors directly instead of getting names and then using strcmp.
1001         ([descriptionForClassMethod:]): Same change.
1002         ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1003         * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1004         to compare selectors directly instead of getting names and then
1005         using strcmp.
1006         * objc/Protocol.h: Updated comments.
1007         
1008 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1010         * init.c (__objc_init_protocol): New function which fixes up a
1011         protocol's class pointer, registers it with the runtime, register
1012         all protocol selectors and registers associated protocols too.
1013         (objc_init_statics): Detect if we are initializing protocols, and
1014         if so, use __objc_init_protocol instead of only fixing up the
1015         class pointer.
1016         (__objc_init_protocls): Use __objc_init_protocol.
1017         * objc-private/module-abi-8.h: Updated comments.
1018         * objc-private/runtime.h
1019         (__objc_register_selectors_from_description_list): New.
1020         * selector.c (__objc_register_selectors_from_description_list):
1021         New.  (struct objc_method_description_list): Declare.
1022         * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1023         when accessing the name of a method, which is now correctly a SEL.
1024         ([-descriptionForClassMethod:]): Same change.
1025         * protocols.c (protocol_getMethodDescription): Same change.
1026         * objc/runtime.h: Updated comments.
1027         (sel_registerTypedName): Fixed typo in function name.
1028         
1029 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1031         PR libobjc/23214
1032         * init.c (objc_init_statics): Do not skip the initialization of a
1033         statics list if the first object has already been initialized; in
1034         the case of Protocols, while the first one may have been
1035         initialized, some others may not have been initialized yet.
1037 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1039         * Makefile.in (OBJC_DEPRECATED_H): Added
1040         objc_get_uninstalled_dtable, objc_object_alloc.h and
1041         struct_objc_static_instances.h.
1043 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1045         * encoding.c (method_copyReturnType): New.
1046         (method_copyArgumentType): New.
1047         (method_getReturnType): New.
1048         (method_getArgumentType): New.
1049         * methods.c (method_getDescription): New.
1050         * objc/runtime.h (method_copyReturnType): New.
1051         (method_copyArgumentType): New.
1052         (method_getReturnType): New.
1053         (method_getArgumentType): New.
1054         (method_getDescription): New.
1055         
1056 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1058         * encoding.c: Tidied up comments.
1059         (objc_skip_variable_name): New static inline function.
1060         (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1061         the same code over and over.
1062         (objc_alignof_type): Same.
1063         (objc_aligned_size): Same.
1064         (objc_promoted_size): Same.
1065         (objc_skip_typespec): Same.
1066         (objc_layout_structure_next_member): Same.
1067         (objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
1068         historical bug where objc_skip_offset would skip one byte even if
1069         there is no offset: check that the first offset digit is actually
1070         a digit before skipping it.
1071         (objc_skip_type_qualifiers): Mark as inline.
1072         (objc_skip_typespec): Mark as inline.   
1073         
1074 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1076         * Makefile.in (C_SOURCE_FILES): Added methods.c.
1077         * encoding.c (method_getNumberOfArguments): New.
1078         (method_get_number_of_arguments): Call
1079         method_getNumberOfArguments.
1080         * ivars.c (ivar_getName): Check for NULL variable argument.
1081         (ivar_getOffset): Check for NULL variable argument.
1082         (ivar_getTypeEncoding): Check for NULL variable argument.
1083         (class_copyIvarList): New.
1084         * methods.c: New.
1085         * protocols.c (class_copyProtocolList): Check for Nil class_
1086         argument.
1087         * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1088         'struct objc_method_list *' instead of MethodList_t.
1089         (class_getMethodImplementation): New.
1090         (class_respondsToSelector): New.
1091         (class_getInstanceMethod): New.
1092         (class_getClassMethod): New.
1093         * objc/runtime.h: Updated comments.
1094         (class_copyIvarList): New.
1095         (class_getInstanceMethod): New.
1096         (class_getClassMethod): New.
1097         (class_getMethodImplementation): New.
1098         (class_respondsToSelector): New.
1099         (method_getName): New.
1100         (method_getImplementation): New.
1101         (method_getTypeEncoding): New.
1102         (class_copyMethodList): New.
1103         (method_getNumberOfArguments): New.
1104         
1105 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1107         * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1108         instead of objc/objc-api.h.
1109         (objc_get_unknown_class_handler): Do not define.
1110         (class_isMetaClass): New.
1111         (class_getSuperclass): New.
1112         (class_getVersion): New.
1113         (class_setVersion): New.
1114         (class_getInstanceSize): New.
1115         * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1116         (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1117         objc_get_super_class.
1118         (get_ttype_entry): Use objc_getRequiredClass instead of
1119         objc_get_class.
1120         * ivars.c (class_getClassVariable): New.
1121         * objects.c: Include objc/runtime.h, objc/thr.h and
1122         objc-private/module-abi-8.h instead of objc/objc-api.h
1123         * objc/runtime.h (class_getClassVariable): New.
1124         (class_isMetaClass): New.
1125         (class_getSuperclass): New.
1126         (class_getVersion): New.
1127         (class_setVersion): New.
1128         (class_getInstanceSize): New.
1129         * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1130         objc/objc-api.h)
1131         (__CLS_INFO): Same.
1132         (__CLS_ISINFO): Same.
1133         (__CLS_SETINFO): Same.
1134         (CLS_ISMETA): Same.
1135         (CLS_ISCLASS): Same.
1136         (CLS_ISRESOLV): Same.
1137         (CLS_SETRESOLV): Same.
1138         (CLS_ISINITIALIZED): Same.
1139         (CLS_SETINITIALIZED): Same.
1140         (CLS_GETNUMBER): Same.
1141         (CLS_SETNUMBER): Same.
1143 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1145         * archive.c: Do not include objc/objc.h.
1146         * class.c: Do not include objc/objc.h.
1147         * encoding.c: Include objc/runtime.h, ctype.h and
1148         objc-private/module-abi-8.h instead of objc/objc-api.h and
1149         objc/encoding.h.
1150         * error.c: Do not include objc/objc.h.
1151         * gc.c: Include tconfig.h and objc/encoding.h only if
1152         OBJC_WITH_GC.
1153         * hash.c: Include objc/runtime.h and objc/thr.h instead of
1154         objc/objc-api.h.  Do not include objc/objc.h.
1155         * init.c: Do not include objc/objc.h.
1156         * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1157         objc/thr.h instead of objc/objc-api.h.  Do not include
1158         objc/objc.h.
1159         * linking.m: Tidied comment.
1160         * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1161         Do not include objc/objc.h.
1162         * objects.c: Do not include objc/objc.h.
1163         * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1164         * protocols.c: Do not include objc/objc.h.
1165         * sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
1166         not include objc/objc.h.
1167         * selector.c: Do not include objc/objc.h.
1168         * sendmsg.c: Do not include objc/objc.h.        
1169         * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1170         Do not include objc/objc.h.
1171         * objc/objc-decls.h: Reindented code.
1172         * objc/runtime.h Include objc-decls.h.  Updated comments.
1173         (objc_malloc): New.
1174         (objc_atomic_malloc): New.
1175         (objc_calloc): New.
1176         (objc_realloc): New.
1177         (objc_free): New.
1178         * objc-private/runtime.h: Updated comments.
1179         
1180 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1182         * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1183         * objc-private/protocols.h: New.
1184         * protocols.c: New.
1185         * init.c: Include objc-private/protocols.h.
1186         (__objc_exec_class): Call __objc_protocols_init on startup.
1187         (__objc_init_protocols): Call __objc_protocols_add_protocol.
1188         * objc-private/runtime.h: Use (struct objc_method_list *) instead
1189         of MethodList_t, and (struct objc_method *) instead of Method_t.
1190         * objc/deprecated/struct_objc_class.h: Define
1191         __objc_STRUCT_OBJC_CLASS_defined.
1192         * objc-private/module-abi-8.h (struct
1193         objc_method_description_list): New.
1194         (struct objc_class): Only define if
1195         __objc_STRUCT_OBJC_CLASS_defined is undefined.
1196         * objc/runtime.h (class_getName): New.
1197         (objc_getProtocol): New.
1198         (objc_copyProtocolList): New.
1199         (class_addProtocol): New.
1200         (class_conformsToProtocol): New.
1201         (class_copyProtocolList): New.
1202         (protocol_conformsToProtocol): New.
1203         (protocol_isEqual): New.
1204         (protocol_getName): New.
1205         (protocol_getMethodDescription): New.
1206         (protocol_copyMethodDescriptionList): New.
1207         (protocol_getProperty): New.
1208         (protocol_copyPropertyList): New.
1209         (protocol_copyProtocolList): New.
1210         * class.c (class_getName): New.
1211         * selector.c (sel_isEqual): New.
1212         
1213 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1215         * selector.c (sel_getName): Return "<null selector>" for a NULL
1216         argument.
1217         (sel_get_name): Return 0 for a NULL argument.
1218         * objc/runtime.h (sel_getName): Updated documentation.
1220         * objc-private/hash.h (class_hash_table): Unused declaration
1221         removed.
1222         (module_hash_table): Same.
1223         * objc/deprecated/hash.h: Same changes.
1224         
1225 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1227         * class.c (objc_getClassList): New.
1228         (objc_getRequiredClass): New.
1229         (objc_getMetaClass): New.
1230         (objc_lookupClass): New.
1231         (objc_getClass): New.
1232         (__objc_get_unknown_class_handler): New.
1233         (objc_setGetUnknownClassHandler): New.
1234         (objc_get_class): Use __objc_get_unknown_class_handler.
1235         (objc_lookup_class): Call objc_getClass.
1236         * objc/objc-api.h: Updated comment and copyright notice.
1237         * objc/runtime.h: Updated comments.
1238         (objc_getClass): New.
1239         (objc_lookupClass): New.
1240         (objc_getMetaClass): New.
1241         (objc_getRequiredClass): New.
1242         (objc_getClassList): New.
1243         (objc_setGetUnknownClassHandler): New.
1244         (objc_get_unknown_class_handler): New.
1245         * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1246         instead of __objc_runtime_INCLUDE_GNU as include guard.
1247         * objc-private/error.h (_objc_abort): Mark as noreturn.
1248         
1249 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1251         * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1252         * ivars.c: New.
1253         * objc/objc.h: Updated comments.
1254         * objc/runtime.h (object_getClass): New.
1255         (object_getClassName): New.
1256         (object_setClass): New.
1257         (class_getInstanceVariable): New.
1258         (object_getIndexedIvars): New.
1259         (object_getInstanceVariable): New.
1260         (object_setInstanceVariable): New.
1261         (object_getIvar): New.
1262         (object_setIvar): New.  
1263         (ivar_getName): New.
1264         (ivar_getOffset): New.
1265         (ivar_getTypeEncoding): New.
1266         * objc-private/module-abi-8.h (struct objc_class): Added.
1267         * objects.c (object_getClassName): New.
1268         (object_setClass): New.
1269         
1270 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1272         * objc/objc.h: Updated comments.
1273         * objc/objc-api.h: (object_copy): Added one argument; use a
1274         #define to maintain backwards-compatibility.  Moved
1275         _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1276         objc_get_uninstalled_dtable into
1277         objc/deprecated/objc_get_uninstalled_dtable.h and
1278         objc/deprecated/objc_object_alloc.h.  Include these files.
1279         * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1280         * objc/deprecated/objc_object_alloc.h: New.
1281         * objc/runtime.h (set_getName): New.
1282         (sel_getType): New.
1283         (sel_getUid): New.
1284         (sel_registerName): New.
1285         (sel_registerTypedName): New.
1286         (sel_isEqual): New.
1287         (class_createInstance): New.
1288         (object_copy): New.
1289         (object_dispose): New.
1290         * objects.c: Do not include tconfig.h.  Include gc_typed.h if
1291         building the garbage collection version.
1292         (__objc_object_alloc): Removed.
1293         (__objc_object_copy): Removed.
1294         (__objc_object_dispose): Removed.
1295         (class_createInstance): New from code in class_create_instance.
1296         Cast second argument of GC_malloc_explicitly_typed.  Use
1297         objc_calloc.  Do not call _objc_object_alloc.
1298         (class_create_instance): Call class_createInstance.
1299         (object_copy): Added extraBytes argument.  Do not call
1300         _objc_object_copy.
1301         (object_dispose): Do not call _objc_object_dispose.
1302         * memory.c (objc_free): When using garbage collection, mark the
1303         argument as unused.
1304         * selector.c (sel_getName): New.
1305         (sel_get_name): Call sel_getName.
1306         (sel_getType): New.
1307         (sel_get_type): Call sel_getType.
1308         (sel_registerName): New.
1309         (sel_register_name): Call sel_registerName.
1310         (sel_registerTypedName): New.
1311         (sel_register_typed_name): Call sel_registerTypedName.
1312         (sel_getUid): New.
1313         (sel_get_uid): Call sel_getUid.
1314         
1315 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1317         * objc/objc-api.h: Define Method, Method_t, Category and
1318         Category_t.  Prevent including this file at the same time as
1319         objc/runtime.h.  Updated comments.
1320         * objc/deprecated/struct_objc_method.h: Do not define Method,
1321         Method_t.
1322         * objc/deprecated/struct_objc_category.h: Do not define Category,
1323         Category_t.
1324         * objc-private/module-abi-8.h: New file containing a copy of all
1325         the structure definitions.  Not used yet.
1326         * objc/encoding.h (objc_aligned_size): Removed duplicate
1327         declaration.  Updated comments.
1328         * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1329         Category, struct objc_method_description, _C_ID and similar,
1330         _C_CONST and similar and _F_CONST and similar.  Added
1331         objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1332         objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1333         objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1334         struct objc_struct_layout, objc_layout_structure,
1335         objc_layout_structure_next_member, objc_layout_finish_structure,
1336         objc_layout_structure_get_info.  Prevent including this file at
1337         the same time as objc/objc-api.h.
1338         
1339 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1341         * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1342         struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1343         struct_objc_method_list.h, struct_objc_module.h,
1344         struct_objc_protocol_list.h, struct_objc_symtab.h.
1345         * objc/deprecated/struct_objc_category.h: New.
1346         * objc/deprecated/struct_objc_ivar.h: New.
1347         * objc/deprecated/struct_objc_ivar_list.h: New.
1348         * objc/deprecated/struct_objc_method.h: New.
1349         * objc/deprecated/struct_objc_method_list.h: New.
1350         * objc/deprecated/struct_objc_module.h: New.
1351         * objc/deprecated/struct_objc_protocol_list.h: New.
1352         * objc/deprecated/struct_objc_symtab.h: New.
1353         * objc/deprecated/struct_objc_static_instances.h: New.
1354         * objc/objc-api.h: Definitions of deprecated structures moved into
1355         the above header fragment files in objc/deprecated/.  Include the
1356         files instead of definition the structures here.  Updated
1357         comments.
1358         * objc/runtime.h: Updated comments.  Do not include objc-api.h.
1359         (objc_set_enumeration_mutation_handler): Renamed to
1360         objc_setEnumerationMutationHandler.
1361         * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1362         to objc_setEnumerationMutationHandler.
1363         * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1364         objc_setExceptionMatcher.
1365         (objc_set_uncaught_exception_handler): Renamed to
1366         objc_setUncaughtExceptionHandler.
1367         * exception.c: Same changes.
1369 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1371         * objc-sync.c: Include objc-private/common.h.
1373 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1375         * objc-foreach.c: Include objc-private/common.h.
1376         * objc/deprecated/METHOD_NULL.h: New file.
1377         * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1378         defining METHOD_NULL here.
1379         * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1380         * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1381         METHOD_NULL.
1382         ([-respondsTo:]): Same change.
1383         * objc/objc-api.h (method_get_imp): Converted it into a normal
1384         function so that we can hide the internals of struct objc_method.
1385         * sendmsg.c (method_get_imp): Implemented.
1387 2010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
1389         * objc/objc-api.h (struct objc_super, Super, Super_t,
1390         objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1391         objc_msg_forward2): Declarations moved to objc/message.h.  Include
1392         message.h here.
1393         * objc/message.h: Added such declarations; updated comments.
1395 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1397         Implemented fast enumeration for Objective-C.
1398         * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1399         (OBJC_H): Added runtime.h
1400         * objc-foreach.c: New file.
1401         * objc/runtime.h: New file.
1402         
1403 2010-09-30  Kai Tietz  <kai.tietz@onevision.com>
1405         * objc/deprecated/struct_objc_class.h: Add padding
1406         to avoid warning with -Wpadded.
1408 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1410         * encoding.c (objc_sizeof_type): Added support for vector type and
1411         for double long types.  
1412         (objc_alignof_type): Same change.
1413         (objc_skip_typespec): Same change.
1414         * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1415         instead of '!' since '!' is already used for _C_VECTOR.
1416         * objc/objc-api.h (_C_LNG_DBL): Added.
1417         
1418 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1420         * libobjc_entry.c: File removed.
1422 2010-09-26  Kai Tietz  <kai.tietz@onevision.com>
1424         * sendmsg.c (objc_msg_lookup): Remove inline.
1425         (objc_get_uninstalled_dtable): Likewise.
1426         * encoding.c (objc_skip_type_qualifiers): Likewise.
1427         (objc_skip_offset): Likewise.
1428         * archive.c (__objc_write_object): Likewise
1429         (__objc_write_class):
1430         (__objc_write_selector):
1431         (objc_read_char):
1432         (objc_read_unsigned_char):
1433         (objc_read_short):
1434         (objc_read_unsigned_short):
1435         (objc_read_int):
1436         (objc_read_long):
1437         (__objc_read_nbyte_uint):
1438         (objc_read_unsigned_int):
1439         (objc_read_unsigned_long):
1440         * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1441         (objc_EXPORT): Likewise.
1442         * objc/message.h (objc-decls.h): Add include.
1443         * objc/objc-api.h: Mark API by objc_EXPORT.
1444         * libobjc.def (__objc_responds_to): Removed.
1446 2010-09-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1448         * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1450         * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1451         objc/sarray.h replaced with a placeholder including the file from
1452         the deprecated/ directory.
1453         * objc-private/sarray.h: New file (private copy of sarray.h).
1454         * hash.c: Include <assert.h> instead of "assert.h"
1455         * sarray.c: Include <assert.h> instead of "assert.h".  Include
1456         objc-private/sarray.h instead of objc/sarray.h.
1457         * selector.c: Include objc-private/sarray.h instead of
1458         objc/sarray.h.
1459         * sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
1460         instead of objc/sarray.h.
1461         * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.      
1463 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1465         * objc-private/objc-list.h (list_remove_elem): Unused function
1466         removed.  (list_nth): Unused function removed.  (list_find):
1467         Unused function removed.  (list_lenght): Unused function removed.
1468         
1469 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1471         * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1472         replaced with a placeholder including the file from the
1473         deprecated/ directory.
1474         * objc/objc-api.h: Updated includes.
1475         * objc/typedstream.h: Updated includes.
1476         * objc-private/hash.h: New file (private copy of hash.h).
1477         * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1478         objc/objc-list.h replaced with a placeholder including the file
1479         from the deprecated/ directory.
1480         * objc-private/objc-list.h: New file (private copy of objc-list.h).
1481         * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1482         instead of objc/hash.h and objc/objc-list.h.
1483         * selector.c: Same change.
1484         * class.c: Added include <string.h>, which used to be implicitly included
1485         when hash.h was included.
1486         * exception.c: Same change.
1487         * objects.c: Same change.
1488         * sarray.c: Same change.
1489         * sendmsg.c: Same change.
1490         * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1492 2010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1494         Implemented objc_sync_enter() and objc_sync_exit(), which are
1495         required by @synchronized() to work.
1496         * objc-sync.c: New file.
1497         * objc/objc-sync.h: New file.
1498         * objc-private/objc-sync.h: New file.
1499         * init.c (__objc_exec_class): Call __objc_sync_init() during the
1500         Objective-C runtime startup.
1501         * Makefile.in: Added objc-sync.c and objc-sync.h.
1502         * configure.ac: Added GCC_CHECK_TLS.
1503         * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1504         * configure: Regenerated.
1505         * config.h.in: Regenerated.
1506         
1507 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1509         * Makefile.in (%_gc.lo): New pattern rules to build the
1510         garbage-collected version of the library.  Removed rules for
1511         specific files that are no longer needed.  Standardized all rules.
1512         (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1513         (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1514         OBJC_SOURCE_FILES.
1515         (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1517 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1518         
1519         * memory.c (objc_calloc): Fixed call to GC_malloc when building
1520         with Garbage Colletion.
1521         
1522 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1524         * memory.c: Do not include objc-private/runtime.h.
1526 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1527         
1528         * objc/deprecated/objc_malloc.h: New file.
1529         * objc/deprecated/objc_valloc.h: New file.
1530         * objc/objc-api.h: Include the files instead of defining
1531         objc_valloc, _objc_malloc() and similar.
1532         * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1533         objc_malloc.h.
1534         * memory.c: Removed the extra layer of indirection of _objc_malloc
1535         and similar.
1536         (objc_calloc): Use GC_malloc in the garbage-collected
1537         implementation as GC_malloc returns memory that is already freed.
1538         (objc_valloc): Deprecated.      
1539         
1540 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1542         * objc/deprecated/objc_error.h: New file.
1543         * objc/objc-api.h: Include deprecated/objc_error.h instead of
1544         defining objc_error and related.
1545         * error.c: New file.  Added _objc_abort function which replaces
1546         objc_error.  No change in functionality as they both print an
1547         error and abort.
1548         * misc.c: File removed.  Code moved into memory.c and error.c.
1549         * memory.c: New file.
1550         * objc-private/error.h: New file.
1551         * archive.c: Include objc-private/error.h and use _objc_abort
1552         instead of objc_error everywhere.
1553         * class.c: Same change.
1554         * encoding.c: Same change.
1555         * init.c: Same change, and simplified init_check_module_version.
1556         * memory.c: Same change.
1557         * sendmsg.c:  Same change.
1558         * thr.c: Same change.
1559         * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1560         (OBJ_H): Reordered list.
1561         (OBJS): Removed misc.lo, added memory.lo and error.lo.
1562         (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1563         (misc_gc.lo): Rule removed.
1564         (error_gc.lo): Rule added.
1565         (memory_gc.lo): Rule added.
1566         
1567 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1569         * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1570         to check the API version.  Added some comments.
1572         * objc-private/common.h: New file.
1573         * NXConstStr.m: Include objc-private/common.h.
1574         * Object.m: Same change.
1575         * Protocol.m: Same change.
1576         * archive.c: Same change.
1577         * class.c: Same change.
1578         * encoding.c: Same change.
1579         * exception.c: Same change.
1580         * gc.c: Same change.
1581         * hash.c: Same change.
1582         * init.c: Same change.
1583         * libobjc_entry.c: Same change.
1584         * linking.m: Same change.
1585         * misc.c: Same change (and added a comment).
1586         * nil_method.c: Same change.
1587         * objects.c: Same change.
1588         * sarray.c: Same change.
1589         * selector.c: Same change.
1590         * sendmsg.c: Same change.
1591         * thr.c: Same change.
1593 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1595         * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1597 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1599         * archive.c: Removed not needed includes.
1600         * class.c: Same change.
1601         * hash.c: Same change.
1602         * misc.c: Same change.
1603         * nil_method.c: Same change.
1604         * objects.c: Same change.
1605         * sarray.c: Same change.
1606         * sendmsg.c: Same change.
1607         * thr.c: Same change.
1609 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1611         * objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
1612         all the objc/*.h files.
1613         * objc-private/runtime.h: New file.
1614         * archive.c: Include objc-private/runtime.h (and required objc/*.h
1615         files) instead of objc/runtime.h.
1616         * class.c: Same change.
1617         * hash.c: Same change.
1618         * init.c: Same change.
1619         * misc.c: Same change.
1620         * nil_method.c: Same change.
1621         * objects.c: Same change.
1622         * sarray.c: Same change.
1623         * selector.c: Same change.
1624         * sendmsg.c: Same change.
1625         * thr.c: Same change.
1626         
1627 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1629         * objc/deprecated/struct_objc_selector.h: New file.  Definition of
1630         'struct objc_selector' and 'sel_eq' moved here.
1631         * objc/deprecated/struct_objc_protocol.h: New file.  Definition of
1632         'struct objc_procotol' moved here.
1633         * objc/deprecated/struct_objc_class.h: New file.  Definition of
1634         'struct objc_class' moved here.
1635         * objc/deprecated/MetaClass.h: New file.  Definition of MetClass
1636         moved here.
1637         * objc/deprecated/STR.h: New file.  Definition of STR moved here.       
1638         * objc/message.h: New file.  Definitions for relval_t, apply_t,
1639         arglist, arglist_t and objc_msg_lookup were moved here.
1640         * objc/objc.h: Include the above files instead of defining the
1641         corresponding structs, types and functions here.  Added new opaque
1642         definitions for SEL and Class.  Use Class and not 'struct
1643         objc_class *' in the definition of 'struct objc_object'.
1644         Commented all types defined in the file.  Removed special
1645         definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1646         there as well.
1647         * objc/deprecated/objc-unexpected-exception.h: Renamed to
1648         objc_unexpected_exception.h.
1649         * objc/objc-api.h: Updated include of
1650         objc-unexpetected-exception.h
1651         * objc/objc-exception.h: Updated comments.
1652         * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1653         files.  Reindented list of files.
1654         
1655 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1657         * objc/objc-api.h (objc_trace): Unused variable removed.
1659 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1661         * objc/deprecated: New directory.
1662         * objc/deprecated/README: New file.
1663         * objc/README: New file.
1664         * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1665         objc/typedstream.h replaced with a placeholder including the file
1666         from the deprecated/ directory.
1667         * objc/deprecated/objc-unexpected-exception.h: New file with the
1668         definition of _objc_unexpected_exception.       
1669         * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1670         instead of defining _objc_unexpected_exception.
1671         * objc/deprecated/Object.h: New file with the deprecated Object
1672         methods in a 'Deprecated' category.
1673         * objc/Object.h Include deprecated/Object.h instead of defining
1674         the deprecated methods.
1675         * Object.m: Moved deprecated methods into 'Deprecated' category.
1676         * objc-private: New directory.
1677         * objc-private/README: New file.
1678         * Makefile.in (OBJC_DEPRECATED_H): New variable.
1679         (install-headers): Create installation directory for
1680         OBJC_DEPRECATED_H headers, and install them.
1682 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1684         * objc/objc-exception.h: Fixed include of objc.h.
1685         
1686 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1688         * objc/objc-exception.h: New file.
1689         * exception.c (objc_set_uncaught_exception_handler): Implemented.
1690         (objc_set_exception_matcher): Implemented.
1691         (objc_exception_throw): Use the uncaught exception handler if set.
1692         (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1693         hardcoded isKindOf.
1694         (isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
1695         up.  Removed segmentation fault when value is 'nil'.
1696         * objc/objc-api.h (_objc_unexpected_exception): Mark as
1697         deprecated.
1698         * Makefile.in (exception.lo, exception_gc.lo): Use
1699         -Wno-deprecated-declarations when compiling.
1700         (OBJC_H): Added objc-exception.h
1702 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1704         * objc/typedstream.h: Deprecate all functions in the file.  This
1705         file is obsolete.
1706         * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1707         [-awake]): Documented that these methods are deprecated.  Added a
1708         brief description of the Object class and its relationship to the
1709         NSObject class.
1710         * Makefile.in: Compile archive.c and Object.m with
1711         -Wno-deprecated-declarations.
1713 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1715         Removed obsolete intermediate threading layer.
1716         * thr.c: Use __gthread_objc_xxx functions directly instead of
1717         __objc_thread_xxx ones.
1718         * objc/thr.h: Removed prototypes of no longer existing
1719         __objc_thread_xxx functions.
1720         * Makefile.in: Removed thr-objc.lo.
1721         * thr-dce.c: File removed.
1722         * thr-decosf1.c: File removed.
1723         * thr-irix.c: File removed.
1724         * thr-mach.c: File removed.
1725         * thr-objc.c: File removed.
1726         * thr-os2.c: File removed.
1727         * thr-posix.c: File removed.
1728         * thr-pthreads.c: File removed.
1729         * thr-rtems.c: File removed.
1730         * thr-single.c: File removed.
1731         * thr-solaris.c: File removed.
1732         * thr-vxworks.c: File removed.
1733         * thr-win32.c: File removed.
1734         * README.threads: File removed.
1735         * THREADS.MACH: File removed.
1736         * THREADS: Updated.
1738 2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
1740         * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1742 2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
1744         * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1745         Add a comment as to why, update FIXME comments.
1747 2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1749         * makefile.dos: Obsolete file removed.
1750         
1751 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1753         * aclocal.m4: Regenerate.
1755 2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
1757         PR libobjc/30445
1758         * configure.ac (extra_ldflags_libobjc): Define appropriately for
1759         Cygwin and MinGW hosts.
1760         * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1761         (libobjc.dll): Likewise.
1762         * configure: Regenerate.
1764 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1766         * configure: Regenerate.
1768 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
1770         * sarray.c (sarray_free): Use old_buckets variable.
1771         * encoding.c (objc_layout_structure_next_member): Remove unused
1772         bfld_type_size variable.
1774 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1776         * configure.ac (AC_PREREQ): Bump to 2.64.
1778 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1780         * aclocal.m4: Regenerate.
1781         * configure: Regenerate.
1782         * config.h.in: Regenerate.
1784 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1786         * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
1788 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1790         * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
1791         New variables.
1792         ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
1794 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1796         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
1798 2009-04-09  Nick Clifton  <nickc@redhat.com>
1800         * sendmsg.c: Change copyright header to refer to version 3 of
1801         the GNU General Public License with version 3.1 of the GCC
1802         Runtime Library Exception and to point readers at the COPYING3
1803         and COPYING3.RUNTIME files and the FSF's license web page.
1804         * NXConstStr.m: Likewise.
1805         * Object.m: Likewise.
1806         * Protocol.m: Likewise.
1807         * archive.c: Likewise.
1808         * class.c: Likewise.
1809         * encoding.c: Likewise.
1810         * exception.c: Likewise.
1811         * gc.c: Likewise.
1812         * hash.c: Likewise.
1813         * init.c: Likewise.
1814         * libobjc_entry.c: Likewise.
1815         * linking.m: Likewise.
1816         * misc.c: Likewise.
1817         * nil_method.c: Likewise.
1818         * objc/NXConstStr.h: Likewise.
1819         * objc/Object.h: Likewise.
1820         * objc/Protocol.h: Likewise.
1821         * objc/encoding.h: Likewise.
1822         * objc/hash.h: Likewise.
1823         * objc/objc-api.h: Likewise.
1824         * objc/objc-decls.h: Likewise.
1825         * objc/objc-list.h: Likewise.
1826         * objc/objc.h: Likewise.
1827         * objc/runtime.h: Likewise.
1828         * objc/sarray.h: Likewise.
1829         * objc/thr.h: Likewise.
1830         * objc/typedstream.h: Likewise.
1831         * objects.c: Likewise.
1832         * sarray.c: Likewise.
1833         * selector.c: Likewise.
1834         * thr-dce.c: Likewise.
1835         * thr-decosf1.c: Likewise.
1836         * thr-irix.c: Likewise.
1837         * thr-mach.c: Likewise.
1838         * thr-objc.c: Likewise.
1839         * thr-os2.c: Likewise.
1840         * thr-posix.c: Likewise.
1841         * thr-pthreads.c: Likewise.
1842         * thr-rtems.c: Likewise.
1843         * thr-single.c: Likewise.
1844         * thr-solaris.c: Likewise.
1845         * thr-vxworks.c: Likewise.
1846         * thr-win32.c: Likewise.
1847         * thr.c: Likewise.
1848         * libobjc.def: Change copyright header to refer to version 3 of
1849         the GNU General Public License and to point readers at the COPYING3
1850         file and the FSF's license web page.
1851         * makefile.dos: Likewise.
1853 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
1855         * Makefile.in: Change copyright header to refer to version
1856         3 of the GNU General Public License and to point readers at the
1857         COPYING3 file and the FSF's license web page.
1858         * configure.ac: Likewise.
1860 2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
1861             David Ayers  <ayers@fsfe.org>
1863         PR libobjc/27466
1864         * objc/objc-api.h (_objc_unexpected_exception): Declare
1865         new hook.  Update copyright dates.
1866         * exception.c (objc_exception_throw): Use hook.  Update
1867         copyright dates.
1868         * libobjc.def (_objc_unexpected_exception): Export hook.
1869         Update copyright dates.
1870         
1871 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1873         * configure: Regenerate.
1875 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1877         * configure: Regenerate.
1879 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
1881         *  Object.m (errno): Replaced by errno.h include.
1882         (compare): Cast self to id to prevent warning on comparison.
1883         * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
1884         already there.
1885         * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
1886         * thr-win32.c (__objc_thread_detach): Remove type warning.
1887         (__objc_thread_id): Likewise.
1888         * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
1889         for noreturn.
1891 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
1892             Steve Ellcey  <sje@cup.hp.com>
1894         * configure: Regenerate for new libtool.
1895         * config.h.in: Regenerate for new libtool.
1897 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
1899         * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 
1901 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
1903         * Makefile.in: Include ../boehm-gc/threads.mk. 
1904         (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
1906 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1908         * Makefile.in (install-info): New stub target.
1910 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1912         * configure: Regenerate.
1914 2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
1916         * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
1917         if HAVE_GETIPINFO is not defined.
1919 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
1921         * Object.m (compare): Add type id.
1922         * objc/Object.h: Likewise.
1923         * archive.c (objc_read_class): Use size_t to extend version to be
1924         size of pointer scalar width.
1925         * sendmsg.c (rtx): Undefine it before redefinition.
1926         (__objc_print_dtable_stats): Cast arguments to long as intended.
1928 2008-05-30  Julian Brown  <julian@codesourcery.com>
1930         * exception.c (__objc_exception_class): Initialise as constant
1931         array for ARM EABI. Change macro to static const for non-ARM EABI.
1932         (ObjcException): Add note about structure layout. Remove landingPad
1933         and handlerSwitchValue for ARM EABI.
1934         (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
1935         of function.
1936         (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
1937         (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
1938         ARM EABI unwinding support.
1939         (objc_exception_throw): Use memcpy to initialise exception class.
1941 2008-05-25  Alan Modra  <amodra@bigpond.net.au>
1943         * encoding.c (strip_array_types): Rename from get_inner_array_type.
1944         (rs6000_special_round_type_align): Update.
1946 2008-05-09  Julian Brown  <julian@codesourcery.com>
1948         * Makefile.in (LTLDFLAGS): New.
1949         (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
1951 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
1953         PR bootstrap/35457
1954         * aclocal.m4: Regenerate.
1955         * configure: Regenerate.
1957 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
1959         * configure: Regenerate.
1961 2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1963         * configure.ac: Don't run config-ml.in directly.
1964         (multilib_arg): New.
1965         * configure: Regenerated.
1967 2007-08-06  Andrew Pinski  <pinskia@gmail.com>
1969         PR libobjc/30731
1970         * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
1971         of _Unwind_Word for variables which are used in
1972         read_uleb128/read_sleb128.
1973         (PERSONALITY_FUNCTION): Likewise.
1975 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1977         * aclocal.m4: Regenerated.
1979 2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1981         * configure.ac: Fix a typo in *-*-darwin clause.
1982         * configure: Regenerated.
1984 2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
1986         * configure.ac: Fix a typo.
1987         * configure: Regenerated.
1989 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
1991         * configure: Regenerate.
1993 2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1995         * Makefile.in: Replace all uses of libext with libsuffix.
1996         * configure.ac: Likewise.
1997         * configure: Regenerate.
1999         Revert:
2000         * Makefile.in: Remove all uses of $(libext).
2002 2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2004         * Makefile.in: Remove all uses of $(libext).
2006 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
2008         * configure: Regenerate.
2009         * aclocal.m4: Regenerate.
2011 2007-04-21  Andrew Ruder  <andy@aeruder.net>
2013         * sendmsg.c (__objc_get_forward_imp): Call
2014         __objc_msg_forward2 for real.
2016 2007-04-09  Andrew Ruder  <andy@aeruder.net>
2018         * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2019         external libraries to provide a function that returns the real
2020         forwarding function based on both the selector and the receiver.
2021         * objc/objc-api.h: Define __objc_msg_forward2.
2023 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2025         * Makefile.in: Add dummy install-pdf target.
2027 2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2029         * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2030         unused warning.
2031         
2032 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
2034         * encoding.c (darwin_rs6000_special_round_type_align): New.
2036 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
2038         * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2039         * configure.ac: Use multi.m4 from aclocal rather than custom
2040         code.  Use multi_basedir instead of toplevel_srcdir.
2041         * aclocal.m4: Regenerate.
2042         * configure: Regenerate.
2044 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
2046         * Makefile.in: Added empty "pdf" target.
2048 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2050         * configure: Regenerate.
2052 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
2054         * Makefile.in: Add install-html target. Add install-html to .PHONY
2056 2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2058         PR libobjc/26309
2059         * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2061 2006-01-24  David Ayers  <d.ayers@inode.at>
2063         PR libobjc/9751
2064         * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2065         and insure the new strings are '\0' termintated.
2067 2006-01-24  David Ayers  <d.ayers@inode.at>
2069         PR libobjc/13946
2070         * configure.ac: Add include directives for --enable-objc-gc.
2071         * Makefile.in: Ditto.
2072         * configure: Regenerate.
2074         * gc.c (__objc_class_structure_encoding): Increment the used bytes
2075         instead of the local pointer to them.
2077 2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
2079         PR objc/25360
2080         * objc/objc-api.c (_C_COMPLEX): New define.
2081         * encoding.c (objc_sizeof_type): Handle _C_Complex.
2082         (objc_alignof_type): Likewise.
2083         (objc_skip_typespec): Likewise.
2085 2005-12-15  David Ayers  <d.ayers@inode.at>
2087         PR libobjc/14382
2088         * README (+load,+initialize): Fix documentation to reflect
2089         intended and implemented semantics for +load and +initialize.
2090         
2091 2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
2093         * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2094         the name.
2095         (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2096         (rs6000_special_round_type_align): Update for the ABI fix.
2097         (objc_layout_finish_structure): Correct the encoding which is passed to
2098         ROUND_TYPE_ALIGN.
2100 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2102         PR libobjc/25347
2103         * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2104         but use the struct layout functions.
2105         (objc_alignof_type): Likewise.
2106         (objc_layout_structure): Handle _C_UNION_B also.
2107         (objc_layout_structure_next_member): Likewise.
2108         (objc_layout_finish_structure): Likewise.
2110 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2112         PR libobjc/25346
2113         * objc/objc-api.h (_C_BOOL): New define.
2114         * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2115         (objc_alignof_type): Likewise.
2116         (objc_skip_typespec): Likewise.
2118 2005-11-20  David Ayers  <d.ayers@inode.at>
2120         PR libobjc/19024
2121         * objc/hash.h: Remove deprecated hash API.
2122         * hash_compat.c: Remove.
2123         * Makefile.in: Remove reference to hash_compat.c.
2125         * configure.ac (VERSION): Bump library version to 2:0:0.
2126         * configure: Regenerate.
2128 2005-11-09  Alexandre Oliva  <aoliva@redhat.com>
2130         PR other/4372
2131         * thr-objc.c (_XOPEN_SOURCE): Define.
2133 2005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
2135         PR libobjc/23612
2136         * objc/objc-api.h (struct objc_ivar): Move definition to
2137         global scope.
2139 2005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
2140             Rasmus Hahn  <rassahah@neofonie.de>
2142         PR libobjc/23108
2143         * archive.c (objc_write_type): Correct the element offset.
2144         (objc_read_type): Likewise.
2146 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2148         * All files: Update FSF address.
2150 2005-08-13  Marcin Koziej  <creep@desk.pl>
2151             Andrew Pinski  <pinskia@physics.uc.edu>
2153         PR libobjc/22492
2154         * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2156 2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2158         * Makefile.in (extra_ldflags_libobjc): New.
2159         (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2160         (libobjc_gc$(libext).la): Likewise.
2161         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2162         "-Wl,-single_module".
2163         * configure: Regenerate.
2164         * linking.m (_objcInit): Remove.
2166 2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
2168         PR libobjc/22606
2169         * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2171 2005-06-08  David Ayers  <d.ayers@inode.at>
2173         * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2174         objc/encoding.h, objc/hash.h, objc/objc-api.h,
2175         objc/runtime.h, objc/sarray.h, objc/thr.h, 
2176         objc/typedstream.h: Do not include Objective-C headers as
2177         system headers.
2179 2005-06-07  David Ayers  <d.ayers@inode.at>
2181         * archive.c, init.c, selector.c: Include hash.h.
2182         * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2183         init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2184         sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2185         thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2186         thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2187         Include Objective-C headers with quotes and objc/ directory
2188         prefix.
2190 2005-05-19  Richard Henderson  <rth@redhat.com>
2192         * exception.c: Revert last change.
2194 2005-05-19  David Ayers  <d.ayers@inode.at>
2196         * exception.c: Include tsystem.h for unwind.h.
2198 2005-05-09  Mike Stump  <mrs@apple.com>
2200         * configure: Regenerate.
2202 2005-04-12  Mike Stump  <mrs@apple.com>
2204         * configure: Regenerate.
2206 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2208         * Makefile.in: Set gcc_version here.
2209         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
2210         in definition of toolexeclibdir so that $(gcc_version) is expanded
2211         by the Makefile.
2212         * aclocal.m4, configure: Regenerate.
2214 2005-03-03  David Ayers  <d.ayers@inode.at>
2216         * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2217         version reference.  Correct typo.
2219 2005-03-02  David Ayers  <d.ayers@inode.at>
2221         PR libobjc/19024
2222         * Makefile.in (OBJS): Add hash_compat.lo.
2223         (OBJS_GC): Add hash_compat_gc.lo.
2224         (hash_compat_gc.lo): New target and rule.
2225         * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2226         (hash_next, hash_value_for_key, hash_is_key_in_hash)
2227         (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2228         with objc_.  Add deprecated non prefixed inlined versions.
2229         (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2230         declarations.
2231         * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2232         (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2233         update callers.
2234         * hash_compat.c: New file.
2235         * archive.c: Update callers.
2236         * init.c: Likewise.
2237         * selector.c: Likewise.
2238         * libobjc.def: Add objc_ versions of hash functions.
2240 2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
2242         PR libobjc/20252
2243         * Makefile.in (GTHREAD_FLAGS): Remove.
2244         (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2245         * thr-objc.c: Include config.h.
2246         * configure.ac: Instead of looking at GCC's makefile, figure out if
2247         GTHREAD_FLAGS should be defined by looking at the `thread model'
2248         of the current gcc.
2249         * configure: Regenerate.
2250         * config.h.in: Regenerate.
2252 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2254         PR bootstrap/17383
2255         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2256         (Determine CFLAGS for gthread): Use $host_subdir.
2257         * configure: Regenerate.
2258         * Makefile.in (host_subdir): New.
2259         (INCLUDES): Use it.
2261 2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
2263         PR libobjc/12035
2264         * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2265         they are not used.
2266         Include limits.h and stdlib.h.
2267         Define BITS_PER_WORD.
2269 2004-12-12  Alexander Malmberg  <alexander@malmberg.org>
2271         * selector.c (__objc_init_selector_tables): Add missing void to
2272         definition.
2274 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
2276         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2277         * configure, aclocal.m4: Regenerate.
2279 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2281         * configure: Regenerate for libtool change.
2283 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2285         * configure: Regenerate for libtool reversion.
2287 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2289         * configure: Regenerate for libtool change.
2291 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2293         * aclocal.m4, config.h.in: Regenerate.
2295 2004-10-08  Mike Stump  <mrs@apple.com>
2296             Andrew Pinski  <pinskia@physics.uc.edu>
2298         * aclocal.m4: Rename to ...
2299         * acinclude.m4: here and also use m4_include instead of sinclude.
2300         * aclocal.m4: Regenerate.
2301         * configure: Regenerate.
2302         * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2303         * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2305 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
2307         * archive.c: Fix all the warnings about passing unsigned char*
2308         to char* and the other way too.
2310 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
2312         PR libobjc/16448
2313         * exception.c: Include config.h
2314         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2315         SJLJ_EXCEPTIONS.
2316         * configure.ac: Find out what exception handling code we use.
2317         * configure: Regenerate.
2318         * config.h.in: New file, regenerate.
2320 2004-09-16  Andrew Pinski  <apinski@apple.com>
2322         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2324 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
2326         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2327         ACX_NONCANONICAL_TARGET.
2328         * configure: Regenerate.
2330 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
2332         * objc/sarray.h: Hoist include of assert.h near the top of file,
2333         and mark the remainder of the file 'extern "C"'.
2335 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2337         * objc/Object.h: Move includes out of extern "C" blocks.
2338         * objc/encoding.h: Likewise.
2339         * objc/hash.h: Likewise.
2340         * objc/objc-api.h: Likewise.
2341         * objc/runtime.h: Likewise.
2342         * objc/sarray.h: Likewise.
2343         * objc/typedstream.h: Likewise.
2345 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
2347         * objc/NXConstStr.h: Update copyright date; bracket with
2348         'extern "C"' for C++ use; make include syntax consistent
2349         by using <...> instead of "..."; hoist <objc/...> includes
2350         above the 'extern "C"' block.
2351         * objc/Object.h: Likewise.
2352         * objc/Protocol.h: Likewise.
2353         * objc/encoding.h: Likewise.
2354         * objc/hash.h: Likewise.
2355         * objc/runtime.h: Likewise.
2356         * objc/sarray.h: Likewise.
2357         * objc/thr.h: Likewise.
2358         * objc/typedstream.h: Likewise.
2359         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2360         (objc_static_instances): For C++ case, do away with
2361         zero-sized array.
2362         (objc_method): Hoist definition to file scope.
2363         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2364         class_get_instance_method, class_create_instance,
2365         class_get_class_name, class_get_instance_size,
2366         class_get_meta_class, class_get_super_class, class_get_version,
2367         class_is_class, class_is_meta_class, class_set_version,
2368         class_get_gc_object_type, class_ivar_set_gcinvisible,
2369         get_imp): Rename 'class' parameter to '_class'.
2370         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2371         * objc/objc.h: Update copyright date.
2372         (arglist_t): Provide a union tag.
2374 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
2376         * thr.c (__objc_thread_detach_function): Do not mark as volatile
2377         but instead use the attribute noreturn.
2379 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
2381         * encoding.c: Rename target_flags with a #define to avoid
2382         conflict with a prior declaration.
2384 2004-06-24  Andrew Pinski  <apinski@apple.com>
2386         * objc/encoding.h: Wrap the functions with extern "C" for C++
2387         mode.
2388         * objc/hash.h: Likewise.
2389         * objc/objc-api.h: Likewise.
2390         * objc/objc-list.h: Likewise.
2391         * objc/runtime.h: Likewise.
2392         * objc/sarray.h: Likewise.
2393         * objc/thr.h: Likewise.
2394         * objc/typedstream.h: Likewise.
2397 2004-06-21  Nick Clifton  <nickc@redhat.com>
2399         * encoding.c (BITS_PER_UNIT): Define if a definition is not
2400         provided.
2402 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2404         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2405         (exception_gc.lo): New.
2406         (OBJS_GC): Add exception_gc.lo.
2408 2004-06-17  Richard Henderson  <rth@redhat.com>
2410         * exception.c: New file.
2411         * Makefile.in (exception.lo): New.
2412         (OBJS): Add it.
2414 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
2416         * linking.m (_objcInit): New empty function
2417         for Darwin only.
2419 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2421         * configure.ac: Support --enable-shared=libobjc.
2422         * configure: Regenerate.
2424         PR libobjc/15901
2425         * configure.ac: Do not disable shared by default.
2426         * configure: Regenerate.
2428 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
2430         * Protocol.m ([-isEqual:]): Small optimizations returning
2431         immediately if the argument is equal to self, and accessing
2432         the argument's name directly if it's a protocol.
2434 2004-06-03  David Ayers  <d.ayers@inode.at>
2436         * Protocol.m ([-isEqual:]): Test the class of the argument.
2438 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2440         * configure.ac (includedir): Rename to ...
2441         (includedirname).
2442         * Makefile.in: s/includedir/includedirname/.
2444         PR target/11572
2445         * configure.ac (includedir): Set to "include"
2446         except for Darwin.
2447         (libext) Set to empty except for Darwin.
2448         * configure: Regenerate
2449         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2450         s/include/$(includedir)/g.
2452 2004-05-25  Daniel Jacobowitz  <drow@false.org>
2454         * Makefile.in: Add .NOEXPORT.
2456 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2458         Merge from the libobjc-branch
2459         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
2461                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2463         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2465                 * Makefile.in (OBJC_H): Add objc-deps.h.
2467         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
2469                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2470                 ([-hash], [-isEqual:]): New methods.
2472         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
2474                 * sarray.c (sarray_free): Add a better comment.
2476         2004-01-27  Adam Fedor  <fedor@gnu.org>
2478                 * hash.c (hash_add): Cast cachep to int.
2479                 * selector.c (__sel_register_typed_name): Cast
2480                 soffset_decode to int.
2482         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
2484                 * selector.c: Rename register_selectors_from_list to
2485                 __objc_register_selectors_from_list. Update caller.
2486                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2487                 while registering selectors. Use __sel_register_typed_name instead
2488                 of sel_register_typed_name. Check for NULL method_name:s.
2489                 (pool_alloc_selector): New function.
2490                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2491                 selector structures.
2492                 * sendmsg.c (class_add_method_list): Use
2493                 __objc_register_selectors_from_list.
2494                 * objc/runtime.h: Add __objc_register_selectors_from_list.
2496         2004-01-25  Adam Fedor  <fedor@gnu.org>
2497                     Nicola Pero  <n.pero@mi.flashnet.it>
2498                     Andrew Pinski  <pinskia@physics.uc.edu>
2500                 * objc/objc-decls.h: New file.
2501                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2502                 (_objc_load_callback): Likewise.
2503                 (_objc_object_alloc): Likewise.
2504                 (_objc_object_copy): Likewise.
2505                 (_objc_object_dispose): Likewise.
2507         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
2509                 * archive.c: s/__inline__/inline
2510                 * sendmsg.c: Likewise.
2512                 * encoding.c: Remove FIXME about the warning
2513                 about unused variable.
2514                 * sendmsg.c: Add a FIXME comment saying that
2515                 this should be using libffi.
2517                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2520 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
2522         * archive.c (objc_read_class): Initialize class_name.
2523         (objc_read_selector): Initialize selector_name.
2525 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
2527         * Makefile.in (toolexecdir): Remove trailing space.
2529 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2531         PR libobjc/14948
2532         * configure.ac: De-precious CC so multilibs work.
2533         * configure: Regenerate.
2535 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2537         * configure.ac: Restore toolexecdir.
2538         * Makefile.in: Restore toolexecdir.
2539         * configure: Regenerate.
2541 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2543         * configure.ac: Remove (unused) glibcpp_prefixdir.
2544         * configure: Regenerate.
2546         * configure.in: Rename to configure.ac.
2547         * Makefile.in: Update to match.
2549         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2550         Replace glibcpp_toolexeclibdir with toolexeclibdir.
2551         * configure.in: Remove glibcpp_toolexecdir (unused).
2552         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
2553         config.h or stamp-h (unused).  Move one comment to the right place.
2554         * configure: Regenerate.
2555         * config.h.in: Remove (unused).
2557         * config.h.in: Regenerate with autoheader.
2559         * Makefile.in: Remove (unused) gcc_version_trigger.
2560         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
2561         gcc_version_trigger.
2562         * configure: Regenerate.
2564         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2565         Sort file into sections.  Remove dnl where appropriate.  Fix
2566         other style issues.
2567         * configure: Regenerate.
2569         * configure.in: Replace old AC_PROG_CC hack with new one.
2570         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2571         are no subdirectory output files, so this is fine).  Change prereq
2572         to autoconf 2.59.
2573         * aclocal.m4: Include ../config/no-executables.m4.
2574         * configure: Regenerate with autoconf 2.59.
2576         * configure.in: Improve comments on gthread_cflags.  Improve m4
2577         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2578         * configure: Regenerate.
2580         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
2581         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
2582         redundant checks for values of RANLIB, AR, INSTALL.
2583         * configure: Regenerate.
2585         * configure.in: Clean up handling of
2586         --enable-version-specific-runtime-libs and related variables;
2587         replace 'if test' with 'case' where reasonable.  Fix comments.
2588         Remove useless libstdcxx_interface.
2589         * configure: Regenerate.
2591         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2592         Replace uses of target_alias with target_noncanonical.
2593         * aclocal.m4: Include ../config/acx.m4.
2594         * configure: Regenerate.
2595         * Makefile.in: Replace uses of target_alias with target_noncanonical.
2596         Fix copyright statement.
2598         * configure.in: Hand-inline bulky, confusing macros from
2599         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
2600         Update copyright notice.  Remove stuff for automake, which isn't
2601         used in this directory.  Remove emacs local variables.
2602         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
2603         * configure: Regenerate.
2605 2004-03-16  Manfred Hollstein  <mh@suse.com>
2607         * Makefile.in, configure.in, configure: Update copyright years.
2609 2004-03-15  Manfred Hollstein  <mh@suse.com>
2611         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2612         definition from configure.in.
2613         * configure.in (PACKAGE): Add definition.
2614         (VERSION): Add definition; substitute it in output files.
2615         * configure: Re-generate.
2617 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
2619         * objc/hash.h (hash_string, compare_strings):
2620         Add type-casts to make Objective-C++ happy.
2621         * objc/typedstream.h (objc_get_stream_class_version):
2622         Rename parameter from 'class' to 'class_name' to make
2623         Objective-C++ happy.
2625 2004-03-01  Michael Matz  <matz@suse.de>
2627         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2629 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
2631         * objc/objc-api.h (objc_super): The 'class' field shall
2632         be named 'super_class' #ifdef __cplusplus.
2634 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
2636         PR target/10781
2637         * encoding.c (rs6000_special_round_type_align): Define.
2639 2004-01-14  Adam Fedor  <fedor@gnu.org>
2641         PR libobjc/12155
2642         * selector.c (__objc_register_instance_methods_to_class): Free
2643         new_list if not used.
2645 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
2647         PR libobjc/11904
2648         * sarray.c (sarray_free): Free array->is_copy_of latter.
2650 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
2652         PR 11433
2653         * Protocol.m (descriptionForInstanceMethod): Don't dereference
2654         instance_methods if it's NULL.
2655         (descriptionForClassMethod): Likewise for class_methods.
2657 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2659         * Makefile.in (runtime-info.h): Remove -Wp.
2661 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2663         * Makefile.in (CC1OBJ): Remove.
2664         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2665         correctly.
2666         Use .m extension for temporary file.
2667         Remove assembler temp file.
2669 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2671         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2673 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2675         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2677 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2679         * configure: Regenerate.
2681 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
2683         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2684         (libdir)/gcc-lib/ when installing.
2685         * configure: Regenerate.
2687 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
2689         libobjc/9969
2690         * sendmsg.c (get_imp): Fixed rare threading problem.
2691         (__objc_responds_to): Similar fixes.
2692         (objc_msg_lookup): Similar fixes.
2693         (__objc_init_install_dtable): Lock the runtime before checking if the
2694         table is installed.
2696 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2698         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2699         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2700         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2701         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2702         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2703         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2704         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2705         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2706         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2707         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2708         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2710 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
2711                           Nicola Pero  <n.pero@mi.flashnet.it>
2713         libobjc/10742
2714         * init.c (class_superclass_of_class): New function.
2715         (create_tree_of_subclasses_inherited_from): Use it.
2716         (__objc_tree_insert_class): Likewise.
2717         (class_is_subclass_of_class): Likewise.
2719 2003-04-11  David Chad  <davidc@freebsd.org>
2720             Loren J. Rittle  <ljrittle@acm.org>
2722         libobjc/8562
2723         * objc/hash.h (hash_string): Constify correctly.
2724         (compare_ptrs): Use direct compare.
2725         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2726         * objc/sarray.h: Global rename index to indx to avoid shadow.
2728 2003-03-12  Andreas Schwab  <schwab@suse.de>
2730         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2731         glibcpp_toolexeclibdir.
2732         * configure: Rebuilt.
2734 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2736         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2737         config.status.
2738         * configure: Rebuilt.
2740 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2742         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2743         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2744         version_specific_libs is enabled.
2745         * configure: Rebuilt.
2747 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2749         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2750         (install-libs, install-headers): Prepend $(DESTDIR) to
2751         destination paths in all (un)installation commands.
2753 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
2755         * thr-objc.c: Include coretypes.h and tm.h.
2757 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
2759         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2761 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
2763         * configure.in: Remove skip-this-dir support.
2764         * configure: Regenerate.
2766 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2768         * Makefile.in (all): Fix multilib parallel build.
2770 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2772         * sendmsg.c (nil_method): Declare not to take a variable number of
2773         args.
2774         (objc_msg_lookup): Cast nil_method to IMP before returning it.
2775         (objc_msg_lookup_super): The same.
2777 2002-09-10  Jan Hubicka  <jh@suse.cz>
2779         * nil_method.c (nil_method): No longer defined with variable
2780         arguments.
2782 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
2784         * objc/encoding.h: Fix formatting.
2785         * objc/hash.h: Likewise.
2786         * objc/objc-api.h: Likewise.
2787         * objc/runtime.h: Likewise.
2788         * objc/thr.h: Likewise.
2789         * archive.c: Likewise.
2790         * class.c: Likewise.
2791         * encoding.c: Likewise.
2792         * gc.c: Likewise.
2793         * hash.c: Likewise.
2794         * init.c: Likewise.
2795         * misc.c: Likewise.
2796         * nil_method.c: Likewise.
2797         * objects.c: Likewise.
2798         * sarray.c: Likewise.
2799         * selector.c: Likewise.
2800         * sendmsg.c: Likewise.
2801         * thr-mach.c: Likewise.
2802         * thr.c: Likewise.
2804 2002-06-25  DJ Delorie  <dj@redhat.com>
2806         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
2807         GLIBCPP_TOPREL_CONFIGURE.
2808         * configure.in: Call it before AC_CANONICAL_SYSTEM.
2809         * configure: Regenerate.
2811 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2813         * Object.m (forward, read, write): Fix unused parameter warnings.
2814         * encoding.c: Include <stdlib.h>.
2815         (target_flags): Mark with attribute unused.
2816         (atoi): Delete.
2817         * runtime.h (__objc_selector_max_index): Change to unsigned int.
2818         (__objc_generate_gc_type_description): Prototype.
2819         * selector.c (__objc_selector_max_index): Change to unsigned int.
2821 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2823         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
2824         we always have a return value: if __objc_msg_forward does not
2825         supply a forwarding implementation, return the default
2826         __builtin_apply based one.
2828 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2830         * Object.m: Fix signed/unsigned warning.
2831         * Protocol.m: Likewise.
2832         * archive.c: Always include stdlib.h.
2833         (objc_read_short, objc_read_unsigned_short, objc_read_int,
2834         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
2835         Fix signed/unsigned warning.
2836         (objc_write_type, objc_read_type, objc_write_types,
2837         objc_read_types): Ensure ctype 8-bit safety.
2838         (__objc_no_write, __objc_no_read): Mark unused parameters.
2839         * class.c (class_table_setup): Specify void arg.
2840         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
2841         objc_skip_typespec, objc_skip_offset,
2842         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
2843         (objc_layout_structure_next_member): Ensure variables are
2844         initialized.
2845         * gc.c (__objc_generate_gc_type_description,
2846         class_ivar_set_gcinvisible): Mark unused parameters.
2847         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
2848         unused parameters.
2849         (__objc_init_protocols) Fix signed/unsigned warning.
2850         * nil_method.c (nil_method): Mark unused parameters.
2851         * thr.h (objc_thread_callback): Specify void arg.
2852         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
2853         signed/unsigned warning.
2854         (sarray_free): Fix formatting.
2855         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
2856         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
2858 2002-06-09  Andreas Jaeger  <aj@suse.de>
2860         * encoding.c (objc_layout_structure_next_member): Remove unused
2861         variable.
2863 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2865         * Makefile.in (SHELL): Set to @SHELL@.
2866         (WARN_CFLAGS): New.
2867         (ALL_CFLAGS): Add $(WARN_CFLAGS).
2869 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2871         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
2872         * configure: Regenerate.
2874 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
2876         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2877         script entry, and set LD to it when configuring multilibs.
2878         * configure: Rebuilt.
2880 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
2882         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
2884 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
2886         PR objc/6107
2887         * objc/objc-api.h (struct objc_protocol_list): Change type of
2888         member count from int to size_t.
2890 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2892         PR libobjc/4039
2893         * aclocal.m4: Replace with version copied from libstdc++-v3.
2894         * configure.in: Update for changes to aclocal and Makefile.
2895         * configure: Regenerate.
2896         * Makefile.in: Correct install of multilibs and shared libs, use
2897         INSTALL_DATA for include files.
2899 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
2901         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
2902         categories - when an unclaimed category was found, the loop was
2903         doing two steps forward instead of one, so that in certain cases
2904         it was failing to properly load all the categories.  (Reported
2905         with fix by Alexander Malmberg <alexander@malmberg.org>).
2907 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
2909         * encoding.c: Add target_flags.
2911 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
2913          * objc/objc-api.h (_C_VECTOR): New.
2915          * encoding.c (VECTOR_TYPE): New.
2917 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2919         * class.c: Rewritten the class table to use optimized, lock-free
2920         lookup.  This more than doubles the speed of class method
2921         invocations.  (class_table_setup), (class_table_insert),
2922         (class_table_replace), (class_table_get_safe),
2923         (class_table_next), (class_table_print),
2924         (class_table_print_histogram): New functions.
2925         (__objc_init_class_tables): Use class_table_setup.
2926         (__objc_add_class_to_hash): Use class_table_get_safe and
2927         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
2928         assert the existence of the table; do not lock the runtime; use
2929         class_table_get_safe.  (objc_next_class): Use class_table_next.
2930         (__objc_resolve_class_links): Use class_table_next.
2931         (class_pose_as): Use class_table_replace.
2933 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
2935         * gc.c: Removed the DEBUG declaration.
2937 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2939         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
2940         rather than through objc_thread_id, to save a function call.
2941         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
2942         Ditto.
2944 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2946         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
2947         to cast an id to a Class, which can not be done.  Make the check
2948         by using CLS_ISMETA on the class pointer instead.
2949         (object_is_meta_class): Similar fix.
2951 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
2953         * configure.in (AC_EXEEXT): Work around in case it expands to
2954         nothing, as in autoconf 2.50.
2955         * acinclude.m4: Likewise.
2956         * configure: Rebuilt.
2958 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
2960         * THREADS: Explain that when we compile libobjc inside GCC, we
2961         always use thr-objc.c as a backend, which uses GCC's thread code.
2963 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
2965         * init.c (__objc_send_message_in_list): When setting a new entry
2966         in __objc_load_methods use the method IMP as key, but check to see
2967         if the method is in the hashtable by looking at the IMP also.
2968         Also ... call the method after adding it to the hashtable rather
2969         than before ... thus preventing an obscure possibility of infinite
2970         recursion if a +load method itself loads a subclass.
2972 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
2974         * init.c (__objc_send_message_in_list): When setting a new entry
2975         in __objc_load_methods use the method name as key, not the method
2976         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
2978 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
2980         * objc-features.texi: Move to ../gcc/objc.texi.
2981         * fdl.texi: Remove.
2982         * Makefile.in: Don't generate documentation from
2983         objc-features.texi.
2985 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
2987         * fdl.texi: New file.
2988         * objc-features.texi: Simplify.
2989         * Makefile.in: Adjust accordingly.
2991 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
2993         * objc-features.texi: Use the GFDL.
2995 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
2997         * encoding.c (REAL_TYPE): Define.
2999 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
3001         * encoding.c (TYPE_MODE): Define.
3003 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
3005         * thr.c (objc_thread_add): New function.
3006         (objc_thread_remove): Ditto.
3007         * objc/thr.h: Declare them.
3008         * libobjc.def: Mention them.
3010 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
3012         * objc-features.texi: Document the @compatibility_alias compiler
3013         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3015 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3017         * sendmsg.c (__objc_forward): Delete strlen() declaration.
3019 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
3021         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3022         we're not interested in the result and they might fail.
3023         * configure: Regenerated.
3025 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3027         * objc-features.texi: Use @email.
3029 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3031         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3032         printf.
3034 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
3036         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3037         determines the value dynamically.
3039 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
3041         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3042         libraries to provide a function that returns the real forwarding
3043         function. This can alleviate problems __builtin_apply() and
3044         friends have on various platforms. (Solution suggested by Helge
3045         Hess.)
3047         * objc/objc-api.h: Define __objc_msg_forward.
3049         * sendmsg.c: Define gen_rtx_REG.
3051 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3053         * thr-rtems.c: New file. Stub to compile.
3055 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3057         * configure: Rebuilt with new libtool.m4.
3059 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3061         * configure.in: Create a config.h file. Check for <sched.h>.
3062         * configure: Regenerate.
3064         * config.h.in: Check for <sched.h>.
3066 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
3068         * configure: Regenerate after change to ../libtool.m4.
3070 2000-08-14  Andreas Schwab  <schwab@suse.de>
3072         * objc-features.texi (Top): Move @menu at end of node.
3074 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
3076         * objc-features.texi: Move @node Top before @menu.
3078 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3080         * objc-features.texi: Documented the new -fconstant-string-class
3081         option.
3083 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3085         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3086         improve the Posix thread support for Objective-C.
3088 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3090         * aclocal.m4: Replace copy of ../libtool.m4 with
3091         sinclude(../libtool.m4).
3093 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
3095         * configure.in: Added libtool support; build shared libraries
3096         if --enable-shared was passed on command line.
3097         * Makefile.in: Modified most compilation commands to use libtool.
3098         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3099         libtool distribution.
3101 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3103         * sarray.c, Object.m: Removed the explicit prototypes for strlen
3104         and memcpy on 64-bit platforms (Suggested by Rodney Brown
3105         <rdb@cup.hp.com>).
3107 2000-05-12  H.J. Lu  (hjl@gnu.org)
3109         * Makefile.in (GTHREAD_FLAGS): New.
3110         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3111         (OBJC_THREAD_FILE): Changed to thr-objc.
3113         * configure.in (GTHREAD_FLAGS): New, check and replace it for
3114         Makefile.
3115         (OBJC_THREAD_FILE): Removed.
3117         * thr-objc.c: New.
3119 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3121         * objc/hash.h: Include string.h.
3123 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3125         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3127 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3129         * Object.m (strlen): Provide prototype on all 64bit platforms,
3130         not only alpha.
3131         * sarray.c (memcpy): Likewise.
3132         * encoding.c (objc_layout_finish_structure): Don't use
3133         ROUND_TYPE_ALIGN on sparc.
3135         * encoding.c (objc_layout_structure_next_member): Do the whole
3136         procedure even for the first member, so that we get correct
3137         alignment.
3139 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3141         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3142         comments.
3144 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3146         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3148 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
3150         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3152 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
3154         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3155         the compiler when building C code.
3157 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
3159         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3160         libdir, libsubdir and tooldir.
3162 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
3164         * init.c (__objc_force_linking): Make global.
3166 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
3168         * configure.in (AC_EXEEXT): Remove call.
3169         (compiler_name): Explicitly check with no extension and .exe
3170         extension.
3171         * configure: Regenerate.
3173 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3175         * Makefile.in (CC1OBJ): Define in terms of CC.
3176         (runtime-info.h): Use.
3178 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3180         * objc-features.texi: Updated the URL to Boehm's GC page.
3182 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3184         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3185         the char as being signed (patch from Daniel Jacobowitz
3186         <drow@false.org>).
3188 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3190         * configure.in (AC_PREREQ): Update to 2.13.
3191         (AC_EXEEXT): Call to find possible file extension.
3192         (compiler_name): Use.
3193         * configure: Regenerate.
3195 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
3197         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3199 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
3201         * configure.in (thread_file): Correct and simplify code to find
3202         the thread file.
3203         * configure: Rebuilt.
3205 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
3207         * configure.in (compiler_name): Add check to detect if this
3208         language's compiler has been built.
3209         * configure: Regenerate.
3211 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3213         *  configure.in: Use AC_PREREQ(2.12.1).
3215 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
3217         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3219 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3221         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3223 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3225         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3227 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
3229         * objc-features.texi (Top): Changed the email address.
3230         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3232 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
3234         * encoding.c: Redefine get_inner_array_type to get the first entry
3235         in the structure.
3237 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
3239         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3240         (objc_get_type_qualifiers): Similarly.
3241         * objc/encoding.h (_C_BYREF): Define.
3242         (_F_BYREF): Define.
3244 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
3246         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3247         works out on 64-bit systems.
3249 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
3251         * Makefile.in (INCLUDES): Make it multilib-friendly.
3253 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
3255         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3257 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
3258                          Jeffrey A Law  (law@cygnus.com)
3260         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3261         (FLAGS_TO_PASS): Added.
3262         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3264         * archive.c: Change config.h to tconfig.h.
3266         * configure.in: Find gcc's object directory even for multilibs.
3268 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
3270         * configure.in: Escape ^ in grep string.
3271         * configure: Rebuilt.
3273 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
3275         * All .h files pushed down into the objc/ subdirectory.
3276         * Makefile.in (copy_headers): Corresponding changes.
3277         * configure.in (AC_INIT): Corresponding changes.
3278         * configure: Rebuilt.
3280 1998-09-30  Ben Elliston  <bje@cygnus.com>
3281             Jeff Law      <law@cygnus.com>
3283         * Makefile.in: Rewrite.
3285         * configure.in: Likewise.
3287         * configure: Regenerate.
3289         * All .c files.  Remove "objc" prefix when including objc header
3290         files.  Include tconfig.h, not ../tconfig.h.
3292 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
3294         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3295         (get_inner_array_type): Define.
3297 1998-09-21  Ben Elliston  <bje@cygnus.com>
3299         * New directory.  Moved files from ../gcc/objc.