Update ChangeLog and version files for release
[official-gcc.git] / libobjc / ChangeLog
blob4491db4ebbab997b59f33f575cd8d3d7aa72c2da
1 2015-07-16  Release Manager
3         * GCC 5.2.0 released.
5 2015-04-22  Release Manager
7         * GCC 5.1.0 released.
9 2015-02-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
11         PR libobjc/63765
12         * thr.c (_XOPEN_SOURCE): Remove.
14 2015-01-27  Matthias Klose  <doko@ubuntu.com>
16         * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
18 2015-01-09  Dimitris Papavasiliou  <dpapavas@gmail.com>
20         PR libobjc/51891
21         * ivars.c: Add a check for classes without instance
22         variables, which have a NULL ivar list pointer.
24 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
26         Update copyright years.
28 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
30         PR bootstrap/63784
31         * configure: Regenerated.
33 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
35         PR target/63610
36         * configure: Regenerate.
38 2014-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
40         * thr.c (_XOPEN_SOURCE): Define as 600.
42 2014-07-27  Alan Modra  <amodra@gmail.com>
43             Matthias Klose  <doko@ubuntu.com>
45         PR libobjc/61920
47         * encoding.c: Define rs6000_special_adjust_field_align_p.
49 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
51         Update copyright years
53 2013-09-20  Alan Modra  <amodra@gmail.com>
55         * configure: Regenerate.
57 2013-07-21   Ondřej Bílka  <neleai@seznam.cz>
59         * class.c: Fix typos.
60         * encoding.c: Likewise.
61         * init.c: Likewise.
62         * objc-private/runtime.h: Likewise.
63         * objc/runtime.h: Likewise.
64         * objc-sync.c: Likewise.
66 2013-07-04  Kai Tietz  <ktietz@redhat.com>
68         * exception.c: Add check for SjLj to SEH blocks.
70 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
72         Update copyright years.
74 2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
76         * encoding.c (TARGET_VSX): Provide definitions based on the
77         current compilation options, and not based off the target options
78         structure.
79         (TARGET_ALTIVEC): Likewise.
80         (TARGET_64BIT): Likewise.
82 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
84         * configure: Regenerated.
86 2012-07-19  Tristan Gingold  <gingold@adacore.com>
87             Richard Henderson  <rth@redhat.com>
89         * exception.c (__gnu_objc_personality_seh0): New function.
91 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
93         * configure: Regenerated.
95 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
97         * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
98         * configure: Regenerate.
100         * thr.c (_XOPEN_SOURCE): Define unconditionally.
102 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
104         * configure: Regenerate.
106 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
108         * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
109         * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
110         * configure: Regenerate.
111         * config.h.in: Regenerate.
113 2011-10-17  Paul Brook  <paul@codesourcery.com>
114             Matthias Klose  <doko@ubuntu.com>
116         * exception.c (parse_lsda_header): hardcode ttype_encoding for older
117         ARM EABI toolchains.
118         (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
120 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
122         PR libobjc/49883
123         * init.c (__objc_exec_class): Work around a bug in clang's code
124         generation.  Clang sets the class->info field to values different
125         from 0x1 or 0x2 (the only allowed values in the traditional GNU
126         Objective-C runtime ABI) to store some additional information, but
127         this breaks backwards compatibility.  Wipe out all the bits in the
128         fields other than the first two upon loading a class.
130 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
132         * class.c (objc_lookup_class): Added back for compatibility with
133         clang which seems to emit calls to it.
135 2011-10-08  Richard Frith-Macdonald <rfm@gnu.org>
136             Nicola Pero  <nicola.pero@meta-innovation.com>
138         PR libobjc/50428
139         * sendmsg.c (__objc_send_initialize): If a class does not have an
140         +initialize method, search for an +initialize method in the
141         superclass and in the ancestor classes and execute the first one
142         that is found.  This makes the GNU runtime behave in the same way
143         as the Apple/NeXT runtime with respect to +initialize methods and
144         subclassing.
146 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
148         PR libobjc/50002
149         * class.c (__objc_update_classes_with_methods): Iterate over meta
150         classes as well as normal classes when refreshing the method
151         implementations.  This fixes replacing class methods.
153 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
155         * class.c (class_getSuperclass): Fixed to work with meta classes
156         still in construction too.
158 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
160         * class.c (class_getSuperclass): Fixed typo in comment.
161         
162 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
164         PR libobjc/49882
165         * class.c (class_getSuperclass): Return the superclass if the
166         class is in construction.
167         * objc/runtime.h (class_getSuperclass): Updated documentation.
169 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
171         * Makefile.in (INCLUDES): Search
172         $(srcdir)/$(MULTISRCTOP)../libgcc.
174 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
176         * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
178 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
180         * configure.ac (VERSION): Bumped to 4:0:0.
181         * configure (VERSION): Likewise.
183 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
185         * objc/README: Updated.
186         * objc-private/selector.h: Updated comments.
187         
188 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
190         * sendmsg.c (class_get_instance_method): Removed.
191         (class_get_class_method): Removed.
192         (objc_get_uninstalled_dtable): Removed.
194 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
196         * objc-private/module-abi-8.h (class_get_instance_size): Removed.
197         * objects.c (class_create_instance): Removed.
198         * error.c (__USE_FIXED_PROTOTYPES__): Removed.
199         * gc.c (__objc_generate_gc_type_description): Use
200         class_getInstanceSize() instead of class_get_instance_size().
201         * selector.c (sel_types_match): Made static.
202         (sel_get_typed_uid): Removed.
203         (sel_get_any_typed_uid): Removed.
204         (sel_get_name): Removed.
205         (sel_get_type): Removed.
206         (sel_register_name): Removed.
207         (sel_register_typed_name): Removed.
208         (sel_get_uid): Removed.
210 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
212         * encoding.c (method_get_number_of_arguments): Removed.
213         (method_get_sizeof_arguments): Removed.
215 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
217         * class.c (objc_next_class): Removed.
218         (class_pose_as): Removed.
219         (CLASSOF): Removed.
220         (class_table_replace): Removed.
221         (objc_lookup_class): Removed.
223 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
225         Removed the Traditional Objective-C runtime public API.
226         * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
227         (install-headers): Do not create the objc/deprecated directory and
228         do not install the deprecated headers.
229         (OBJC_H): Removed encoding.h and objc-api.h.
230         * Object.m: Removed all methods with the exception of -class and
231         -isEqual:.  Updated includes.  ([-class]): Use Modern API.
232         * objc/Object.h: Do not include deprecated/Object.h.
233         * objc/deprecated/Object.h: Removed.
234         * linking.m (__objc_linking): Call [Object class] instead of
235         [Object name].
236         * Protocol.m: Removed all methods with the exception of -isEqual:.
237         Updated includes.
238         * objc/Protocol.h: Do not include deprecated/Protocol.h.
239         * objc/deprecated/Protocol.h: Removed.
240         * objc/deprecated/struct_objc_symtab.h: Removed.
241         * objc/deprecated/struct_objc_module.h: Removed.
242         * objc/deprecated/struct_objc_ivar.h: Removed.
243         * objc/deprecated/struct_objc_ivar_list.h: Removed.
244         * objc/deprecated/struct_objc_method.h: Removed.
245         * objc/deprecated/struct_objc_method_list.h: Removed.
246         * objc/deprecated/struct_objc_protocol_list.h: Removed.
247         * objc/deprecated/struct_objc_category.h: Removed.
248         * objc/deprecated/MetaClass.h: Removed.
249         * objc/deprecated/objc_msg_sendv.h: Removed.  
250         * objc/deprecated/README: Removed.
251         * objc/deprecated/struct_objc_class.h: Removed.
252         * objc/deprecated/struct_objc_protocol.h: Removed.
253         * objc/deprecated/struct_objc_selector.h: Removed.
254         * objc/encoding.h: Removed.
255         * objc/message.h (struct objc_super): Removed the definition for
256         the Traditional Objective-C runtime API.
257         * objc/objc.h: Do not include objc/objc-decls.h.
258         deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
259         deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
260         and deprecated/objc_msg_sendv.h.  Uncommented new definition of
261         Protocol *.
262         * objc/objc-api.h: Removed.
263         * objc/runtime.h: Updated comments.  Removed check to detect
264         concurrent usage of Traditional and Modern APIs.
265         * objc-private/module-abi-8.h: Always define struct objc_class and
266         struct objc_protocol.  (struct objc_protocol_list): Changed type
267         of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
268         (class_get_instance_size): Added.
269         * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
270         'struct objc_protocol *' as argument, not a 'Protocol *'.
271         * objc-private/runtime.h: Updated comments.
272         * objc-private/selector.h (struct objc_selector, sel_eq): Added.
273         * class.c: Include objc-private/selector.h.
274         (objc_get_meta_class): Return a Class instead of a MetaClass.
275         * encoding.c (method_get_next_argument): Removed.
276         (method_get_first_argument): Removed.
277         (method_get_nth_argument): Removed.
278         * gc.c: Include objc/runtime.h instead of objc/encoding.h.
279         Include objc-private/module-abi-8.h and ctype.h.
280         * protocols.c (__objc_protocols_add_protocol): Take a 'struct
281         objc_protocl *' as argument, not a 'Protocol *'.
282         (class_addProtocol): Added casts to 'struct objc_protocol *' and
283         'Protocol *'.
284         (class_copyProtocolList): Likewise.
285         (protocol_conformsToProtocol): Likewise.
286         (protocol_copyProtocolList): Likewise.
287         * sarray.c: Include objc-private/module-abi-8.h.
288         * sendmsg.c (method_get_next_argument): Removed.
289         (method_get_first_argument): Removed.
290         (method_get_nth_argument): Removed.
291         (objc_msg_sendv): Removed.
292         (arglist_t, retval_t): New.  (class_get_class_method): Take a
293         'Class', not 'MetaClass', argument.
294         * thr.c: Include module-abi-8.h.
295         
296 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
298         * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
299         and objc_get_uninstalled_dtable.h.
300         * objc/deprecated/struct_objc_static_instances.h: Removed.
301         * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.       
302         * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
303         and deprecated/objc_get_uninstalled_dtable.h.
304         
305 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
307         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
308         * objc/deprecated/objc_object_alloc.h: Removed.
309         * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
310         * objects.c (_objc_object_alloc, _objc_object_dispose,
311         _objc_object_copy): Removed.
312         * libobjc.def (__objc_object_alloc, __objc_object_copy,
313         __objc_object_dispose): Removed.
314         
315 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
317         * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
318         * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
319         * objc/deprecated/METHOD_NULL.h: Removed.
320         
321 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
323         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
324         objc_malloc.h and objc_unexpected_exception.h.
325         (exception.lo): Do not use -Wno-deprecated-declarations.
326         (exception_gc.lo): Likewise.
327         * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
328         deprecated/objc_malloc.h and
329         deprecated/objc_unexpected_exception.h.
330         * objc/deprecated/objc_valloc.h: Removed.
331         * objc/deprecated/objc_malloc.h: Removed.
332         * objc/deprecated/objc_unexpected_exception.h: Removed.
333         * exception.c (_objc_unexpected_exception): Removed.
334         (objc_exception_throw): Do not check for
335         _objc_unexpected_exception.
336         * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
337         _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.        
338         * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
339         
340 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
342         * objc/objc.h: Do not include deprecated/STR.h.
343         * objc/deprecated/STR.h: Removed.
344         * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
345         
346 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
348         * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
349         (OBJC_DEPRECATED_H): Likewise.
350         * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
351         objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
352         objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
353         hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
354         sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
355         sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
356         * objc/sarray.h: Removed.
357         * objc/hash.h: Removed.
358         * objc/deprecated/sarray.h: Removed.
359         * objc/deprecated/hash.h: Removed.
360         * objc/Object.h: Do not include objc/deprecated/hash.h
361         * Object.m: Include string.h.
362         * objc/objc-api.h: Do not include objc/deprecated/hash.h.
363         * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
364         Removed.
366 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
368         * Object.m ([-forward::]): Removed.
369         * objc/deprecated/Object.h ([-forward::]): Removed.
370         * sendmsg.c (__objc_forward): Updated comments.
371         
372 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
374         * Makefile.in (OBJC_H): Removed objc-list.h.
375         (OBJC_DEPRECATED_H): Removed objc-list.h.
376         * objc/objc-list.h: File removed.
377         * objc/deprecated/objc-list.h: File removed.
379 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
381         * Makefile.in (OBJC_H): Removed typedstream.h.
382         (OBJC_DEPRECATED_H): Removed typedstream.h.
383         (C_SOURCE_FILES): Removed archive.c.
384         (Object.lo): Rule removed.
385         (Object_gc.lo): Likewise.
386         (archive.lo): Likewise.
387         (archive_gc.lo): Likewise.
388         * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
389         [-awake]): Removed.
390         Do not include deprecated/typedstream.h.
391         * Object.m: Removed the same methods.
392         * archive.c: File removed.
393         * objc/typedstream.h: File removed.
394         * objc/deprecated/typedstream.h: File removed.
395         * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
396         __objc_write_class, __objc_write_object, __objc_write_selector,
397         objc_close_typed_stream, objc_end_of_typed_stream,
398         objc_flush_typed_stream, objc_get_stream_class_version,
399         objc_open_typed_stream, objc_open_typed_stream_for_file,
400         objc_read_array, objc_read_char, objc_read_int, objc_read_long,
401         objc_read_object, objc_read_selector, objc_read_short,
402         objc_read_string, objc_read_type, objc_read_types,
403         objc_read_unsigned_char, objc_read_unsigned_int,
404         objc_read_unsigned_long, objc_read_unsigned_short,
405         objc_write_array, objc_write_char, objc_write_int,
406         objc_write_long, objc_write_object, objc_write_object_reference,
407         objc_write_root_object, objc_write_selector, objc_write_short,
408         objc_write_string, objc_write_string_atomic, objc_write_type,
409         objc_write_types, objc_write_unsigned_char,
410         objc_write_unsigned_int, objc_write_unsigned_long,
411         objc_write_unsigned_short): Removed.
412         
413 2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
415         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
416         * objc/deprecated/objc_error.h: Removed.
417         * objc/objc-api.h: Do not include deprecated/objc_error.h.
418         * libobjc.def (objc_error, objc_verror): Removed.
419         * error.c (_objc_error_handler, objc_error, objc_verror,
420         objc_set_error_handler): Removed.
421         * Object.m ([-error:], [-perform:], [-perform:with:],
422         [-perform:with:with], [-subclassResponsibility:],
423         [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
424         Removed.
425         * objc/deprecated/Object.h: Removed the same methods.
426         * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
427         method after trying to invoke the "doesNotRecognize:" method.
428         
429 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
431         * sendmsg.c: Reindented part of the file.  No non-trivial changes
432         in code.
434 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
436         * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
437         not objc_lookup_class.
439 2011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
440             David Ayers  <ayers@fsfe.org>
442         PR libobjc/38307
443         * sendmsg.c: Include objc/hash.h.
444         (get_implementation): New function, mostly with code from get_imp
445         updated to support the new +initialize dispatch table logic.
446         (get_imp): Use get_implementation.
447         (__objc_responds_to): Updated to support the new +initialize
448         dispatch table logic.
449         (class_respondsToSelector): Likewise.
450         (objc_msg_lookup): Use get_implementation.
451         (__objc_init_install_dtable): Removed.
452         (__objc_install_methods_in_dtable): Updated arguments.
453         (__objc_install_dispatch_table_for_class): Renamed to
454         __objc_install_dtable_for_class and updated to support the new
455         +initialize dispatch table logic.
456         (__objc_update_dispatch_table_for_class): Updated to support the
457         new +initialize dispatch table logic.
458         (__objc_forward): Call get_implementation instead of get_imp.
459         (prepared_dtable_table): New.
460         (__objc_prepare_dtable_for_class): New. 
461         (__objc_prepared_dtable_for_class): New.
462         (__objc_get_prepared_imp): New.
463         (__objc_install_prepared_dtable_for_class): New.
464         
465 2011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
467         PR libobjc/48177
468         * selector.c (__sel_register_typed_name): Use sel_types_match()
469         instead of strcmp() to compare selector types (Suggestion by
470         Richard Frith-Macdonald <rfm@gnu.org>).
472 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
474         PR libobjc/32037
475         * Makefile.in (OBJC_GCFLAGS): Move ...
476         * configure.ac (enable_objc_gc): ... here.
477         Add $(libsuffix) to OBJC_BOEHM_GC.
478         * configure: Regenerate.
480 2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>
481         
482         * selector.c (sel_getTypedSelector): Return NULL if there are
483         multiple selectors with conflicting types.
484         * objc/runtime.h (sel_getTypedSelector): Updated documentation.
485         
486 2011-02-28  Richard Frith-Macdonald <rfm@gnu.org>
488         PR libobjc/47922
489         * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
490         a hardcoded "!".
492 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
494         * configure: Regenerate.
496 2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>
498         * init.c (create_tree_of_subclasses_inherited_from): Use
499         class_superclass_of_class instead of assuming a class is
500         unresolved when it could be resolved.  Tidied up assignment and
501         check.
502         (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
503         (objc_tree_insert_class): Tidied up loop; return immediately upon
504         inserting a class.
505         (__objc_exec_class): Do not set __objc_class_tree_list.
506         
507 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
509         * selector.c (sel_getTypedSelector): Return NULL if given a NULL
510         argument.
511         (sel_registerTypedName): Same.
512         (sel_registerName): Same.
513         * objc/runtime.h: Updated documentation.
514         
515 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
517         * objc/runtime.h (class_addIvar): Updated documentation.  The
518         alignment is actually the log_2 of the alignment in bytes.
519         * ivars.c (class_addIvar): Corresponding change to the
520         implementation.
521         
522 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
524         * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
525         be consistent with method_getTypeEncoding and
526         ivar_getTypeEncoding.
527         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
528         * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
529         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
530         (sel_get_type): Updated call to sel_getType.
531         
532 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
534         * objc/runtime.h (class_conformsToProtocol,
535         class_copyProtocolList): Updated documentation.
537 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
539         * init.c (create_tree_of_subclasses_inherited_from): Updated
540         DEBUG_PRINTF messages.
541         (__objc_tree_insert_class): Same.
542         (__objc_send_load_using_method_list): Same.
543         (__objc_send_load): Same.
544         (__objc_exec_class): Same.  In particular, do not print the module
545         name since it is no longer used.
546         * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
547         tracking +initialize calls.
548         (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
549         tracking updates of dispatch tables.
550         (__objc_install_dispatch_table_for_class): Same.
551         
552 2010-12-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
554         * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
555         (libobjc_gc$(libsuffix).la): Likewise.
557 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
559         * sendmsg.c (class_addMethod): Return NO if the method already
560         exists in the class.
562 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
564         * init.c (duplicate_classes): New.
565         (__objc_exec_class): Initialize duplicate_classes.
566         (__objc_create_classes_tree): Ignore classes in the
567         duplicate_classes table.
568         (__objc_call_load_callback): Same.
569         (__objc_init_class): If a duplicate class is found, add it to
570         duplicate_classes instead of aborting.  Return YES if the class is
571         not a duplicate, and NO if it is.
572         * objc-private/runtime.h (__objc_init_class): Updated prototype.
574 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
576         * objc-private/objc-list.h: Reindented file.  No code changes.
577         * objc-private/sarray.h: Same change.
579 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
581         * objc-private/accessors.h: Removed 'extern "C"' guards.  This
582         file is never compiled with C++.
583         * objc-private/hash.h: Same change.
584         * objc-private/objc-list.h: Same change.
585         * objc-private/objc-sync.h: Same change.
586         * objc-private/protocols.h: Same change.
587         * objc-private/runtime.h: Same change.
588         * objc-private/sarray.h: Same change.
589         * objc-private/selector.h: Same change.
591 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
593         PR libobjc/18764
594         * class.c (__objc_add_class_to_hash): Return YES if the class was
595         added, and NO if it already existed.
596         * init.c (__objc_init_class): If __objc_add_class_to_hash returns
597         NO, then abort the program with an error message.
598         * objc-private/runtime.h (__objc_add_class_to_hash): Updated
599         declaration.
601 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>      
603         * init.c (_objc_load_callback): Initialize with 0.
604         (__objc_call_callback): Renamed to __objc_call_load_callback.
605         Check _objc_load_callback only once, and if it is not set, return
606         immediately.
607         (objc_send_load): Updated call to __objc_call_callback.
608         
609 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
611         PR libobjc/16110
612         * init.c (__objc_send_message_in_list): Renamed to
613         __objc_send_load_using_method_list.  Do not take an 'op' argument.
614         Register the 'load' selector if needed.
615         (__objc_send_load): Do not register the 'load' selector.  Updated
616         call to __objc_send_message_in_list.
617         (__objc_create_classes_tree): Add the class of any claimed
618         category that was loaded in the module to the list of classes for
619         which we try to execute +load.
620         
621 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
623         * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
624         Updated comments.
625         * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
626         a pointer using DEBUG_PRINTF.
627         
628 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
630         PR libobjc/45953
631         * selector.c (__sel_register_typed_name): When registering a new
632         selector with the same name as an existing one, reuse the existing
633         name string.  Also updated types, casts and comments in the whole
634         function.
636 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
638         * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
639         to be 'struct objc_selector *' and not 'SEL'.
640         * init.c (__objc_exec_class): Call
641         __objc_register_selectors_from_module instead of iterating over
642         each selector and calling __sel_register_typed_name for each.
643         * objc-private/selector.h: Declare
644         __objc_register_selectors_from_module instead of
645         __sel_register_typed_name.
646         * selector.c (__objc_register_selectors_from_module): New.
647         (__sel_register_typed_name): Made static.
648         
649 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
651         * linking.m: Do not include objc/NXConstStr.h.
653 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
654         
655         * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
656         * objc-private/common.h (DEBUG_PRINTF): To here.
657         * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
658         
659 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
661         * hash.c: Tidied up comments and indentation.  No code changes.
663 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
665         PR libobjc/47012
666         * accessors.m (objc_getProperty): If not atomic, do not
667         retain/autorelease the returned value.
669 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
671         * objc-private/runtime.h (__objc_selector_max_index,
672         __objc_init_selector_tables, __objc_register_selectors_from_class,
673         __objc_register_selectors_from_list,
674         __objc_register_selectors_from_description_list): Moved to ...
675         * objc-private/selector.h: ... here.
677 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
679         * objc-private/runtime.h (__objc_class_links_resolved): Removed.
680         (__objc_print_dtable_stats): Removed.
681         (__sel_register_typed_name): Removed.
682         * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
683         
684 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
686         * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
687         if appropriate, after loading the module.
689 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
691         * sendmsg.c (method_setImplementation): Do not declare.
693 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
695         * objc/message.h: Updated comments.
696         * objc/runtime.h: Updated comments.
697         
698 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
700         * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
701         * protocols.c: Updated all calls to objc_lookupClass to call
702         objc_lookUpClass instead.
703         * sendmsg.c (objc_lookupClass): Do not declare.
704         (get_imp): Update call to objc_lookupClass to call
705         objc_lookUpClass instead.
706         * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
708 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
710         * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
711         * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
712         define.  Updated comments.
713         
714 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
716         * objc/encoding.h: Updated comments.
717         * objc/runtime.h: Updated comments.
718         (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
719         (objc_sizeof_type): Same.
720         (objc_alignof_type): Same.
721         (objc_aligned_size): Same.
722         (objc_promoted_size): Same.
723         (objc_skip_type_qualifiers): Same.
724         (objc_skip_typespec): Same.
725         (objc_skip_offset): Same.
726         (objc_skip_argspec): Same.
727         (objc_get_type_qualifiers): Same.
728         (objc_layout_structure): Same.
729         (objc_layout_structure_next_member): Same.
730         (objc_layout_finish_structure): Same.
731         (objc_layout_structure_get_info): Same.
732         
733 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
735         * init.c: Updated comments.
736         * objc/objc-api.h: Updated comments.
737         * objc/runtime.h (_objc_load_callback): Declare.
738         
739 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
741         * objc/Object.h: Include deprecated/typedstream.h and
742         deprecated/hash.h instead of typedstream.h.  Updated comments.
744 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
746         * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
747         * objc/deprecated/objc_msg_sendv.h: New.
748         * objc/message.h: Do not define retval_t, apply_t, arglist,
749         arglist_t, objc_msg_sendv, now in
750         objc/deprecated/objc_msg_sendv.h.
751         * objc/objc.h: Do not include message.h; include
752         objc/deprecated/objc_msg_sendv.h instead.  Tidied up comments.
753         * sendmsg.c: Include objc/message.h.
754         * thr.c: Include objc/message.h.
755         
756 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
758         * objc/objc-exception.h: Include objc-decls.h.  Mark all
759         functions with objc_EXPORT.
760         * objc/objc-sync.h: Same change.
762 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
764         * Protocol.m: Moved all methods, with the exception of -isEqual:,
765         into the 'Deprecated' category.
766         * objc/Protocol.h: Removed all methods, moved to
767         objc/deprecated/Protocol.h.  Include objc/deprecated/Protocol.h.
768         * objc/deprecated/Protocol.h: New.
769         * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
770         
771 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
773         * init.c: Include objc-private/selector.h.  Do not declare
774         __sel_register_typed_name.
775         * objc-private/selector.h (__sel_register_typed_name): Declare.
776         * selector.c: Include objc-private/selector.h.
777         
778 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
780         * class.c: Tidied up comments and indentation.  No code changes.
781         * error.c: Same.
782         * exception.c: Same.
783         * init.c: Same.
784         * ivars.c: Same.
785         * memory.c: Same.
786         * objc-foreach.c: Same.
787         * objc-sync.c: Same.
788         * objects.c: Same.
789         * protocols.c: Same.
790         * sarray.c: Same.
791         * thr.c: Same.
793 2010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
795         * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
796         instead of objc/objc-api.h.
797         (init_check_module_version): Take a 'struct objc_module *'
798         argument instead of 'Module_t'.  Use 'struct objc_module *'
799         instead of 'Module_t'.
800         (__objc_created_classes_tree): Take a 'struct objc_module *'
801         argument instead of 'Module_t'; use 'struct objc_symtab *' instead
802         of 'Symtab_t'.
803         (__objc_call_callback): Take a 'struct objc_module *' argument
804         instead of 'Module_t'; use 'struct objc_symtab *' instead of
805         'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
806         (_objc_load_callback): Take a 'struct objc_category *' argument
807         instead of 'Category *'.
808         (class_superclass_of_class): Use objc_getClass() instead of
809         objc_lookup_class().
810         (create_tree_of_subclasses_inherited_from): Same change (also, use
811         an explicit 'if' instead of '?').
812         (objc_init_statics): Same change.
813         (objc_send_load): Same change.
814         (__objc_init_protocol): same change.
815         (__objc_send_message_in_list): Take a 'struct objc_method_list *'
816         argument instead of 'MethodList_t'.  Use 'struct objc_method *'
817         instead of 'Method_t'.
818         (__objc_send_load): Use 'struct objc_method_list *' instead of
819         'MethodList_t'.  Use sel_registerName() instead of
820         sel_register_name().
821         (__objc_exec_class): Take a 'struct objc_module *' argument
822         instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
823         'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
824         Use 'struct objc_category *' instead of 'Category_t'.
825         
826 2010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
828         * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
829         Include objc-private/module-abi-8.h and objc-private/selector.h
830         instead of objc/encoding.h.
831         (objc_msg_lookup_super): Use super->super_class instead of
832         super->class.
833         (method_get_first_argument, method_get_next_argument): Declare
834         locally.
835         (class_get_instance_method): Declare before using.
836         (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
837         (__objc_init_dispatch_tables, __objc_send_initialize): Use
838         sel_registerName() instead of sel_register_name().
839         (__objc_forward): Use sel_getName() instead of sel_get_name().
840         (objc_get_uninstalled_dtable): Use 'void' as argument.
841         * objc-private/selector.h: New.
843 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
845         * objc/message.h (objc_super): When using the modern API, do not
846         define Super and Super_t, and always use 'super_class' for the
847         super class field.      
848         (objc_msg_lookup_super): Updated prototype to use 'struct
849         objc_super *' instead of 'Super_t'.
850         * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
851         'struct objc_super *' instead of 'Super_t'.
853 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
855         * objc/message.h: Update comments, reindented code and moved
856         deprecated types and functions at the end of the file.  No code
857         changes.
859 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
861         * ivars.c (class_addIvar): Use the 'size' argument instead of
862         trying to calculate it using objc_sizeof_type().
863         * objc/runtime.h (class_addIvar): Updated comments.
864         
865 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
867         * sendmsg.c: Reindented some code and tidied up comments.  No
868         actual code changes.
869         
870 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
872         * objc/Object.h: Moved all the methods, with the exception of
873         -class and -isEqual:, into ...
874         * objc/deprecated/Object.h: here.
875         * Object.m: Moved all the methods, with the exception of -class
876         and -isEqual: into the 'Deprecated' category.
878 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
880         * objects.c (object_copy): Do not #undef as we are no longer
881         including objc/objc-api.h.
882         * selector.c: Include objc/runtime.h and
883         objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
884         objc/encoding.h.  Updated
885         (__objc_register_selectors_from_class): Use struct
886         objc_method_list * instead of MethodList_t.
887         (__objc_register_selectors_from_list): Use Method instead of
888         Method_t.
889         (struct objc_method_description_list): Do not define here.
890         (__objc_register_instance_methods_to_class): Use struct
891         objc_method_list * instead of MethodList_t and Method instead of
892         Method_t.
893         
894 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
896         * selector.c: Reindented some code and tidied up comments.  No
897         actual code changes.
899 2010-12-13  Iain Sandoe  <iains@gcc.gnu.org>
901         * encoding.c (_darwin_rs6000_special_round_type_align): New.
902         (darwin_rs6000_special_round_type_align): Adjust to use new routine.
904 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
906         * sendmsg.c (selector_resolveClassMethod): New.
907         (selector_resolveInstanceMethod): New.
908         (__objc_resolve_class_method): New.
909         (__objc_resolve_instance_method): New.
910         (get_imp): Call __objc_resolve_class_method or
911         __objc_resolve_instance_method at the appropriate time.
912         (objc_msg_lookup): Same.
913         (class_getClassMethod): Same.   
914         (class_getInstanceMethod): Same.
915         (__objc_init_dispatch_tables): Initialize
916         selector_resolveClassMethod and selector_resolveInstanceMethod.
917         * objc/runtime.h: Updated documentation of class_getClassMethod,
918         class_getInstanceMethod and class_getMethodImplementation.
919         
920 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
922         * objc-private/module-abi-8.h (struct objc_symtab): Updated
923         description of sel_ref_cnt and refs.
924         * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
925         
926 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
928         PR target/40125
929         PR lto/46695
930         * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
931         * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
932         * aclocal.m4: Regenerate.
933         * configure: Regenerate.
935 2010-12-03  Matthias Klose  <doko@ubuntu.com> 
937         * configure.ac (VERSION): Bump the version to 3:0:0.
938         * configure: Regenerate.
940 2010-11-23  Richard Frith-Macdonald <rfm@gnu.org>
942         * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
943         pass nil as the receiver since we don't know the receiver at this
944         point.
945         
946 2010-11-18  Nicola Pero  <nicola.pero@meta-innovation.com>
948         * ivars.c: Include stdlib.h.
949         * protocols.c: Same change.
951 2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
953         * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
954         * accessors.m: New.
955         * init.c: Include objc-private/accessors.h.
956         (__objc_exec_class): Call __objc_accessors_init.
957         * objc-private/accessors.h: New.
959 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
961         * objc/message.h: Moved initial includes outside of extern "C".
962         * objc/runtime.h: Add extern "C" for Objective-C++.
964 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
966         * init.c (objc_send_load): Do not wait for NXConstantString to be
967         registered before executing +load.  There is no point if
968         -fconstant-string-class=xxx is used when compiling all modules,
969         as is the case for almost all users.
970         * linking.m (__objc_linking): Do not try to forcefully link in
971         NXConstantString.
973 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
975         * objc/runtime.h: Updated comments.
976         (class_addMethod): New.
977         (class_addIvar): New.
978         (class_replaceMethod): New.
979         (objc_allocateClassPair): New.
980         (objc_registerClassPair): New.
981         (objc_disposeClassPair): New.
982         * class.c (objc_allocateClassPair): New.
983         (objc_registerClassPair): New.
984         (objc_disposeClassPair): New.
985         (class_getSuperclass): Return Nil if a class is in construction.
986         * init.c (__objc_exec_class): Call __objc_init_class.
987         (__objc_init_class): New.
988         * ivars.c (class_copyIvarList): Return NULL if class is in
989         construction.  Do not lock the runtime mutex.
990         (class_getInstanceVariable): Return NULL if class is in
991         construction.  Do not lock the runtime mutex.
992         (class_addIvar): New.
993         * sendmsg.c (class_addMethod): New.
994         (class_replaceMethod): New.
995         * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
996         (_CLS_IN_CONSTRUCTION): New.
997         (CLS_IS_IN_CONSTRUCTION): New.
998         (CLS_SET_IN_CONSTRUCTION): New.
999         (CLS_SET_NOT_IN_CONSTRUCTION): New.
1000         * objc-private/runtime.h (__objc_init_class): New.
1002 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1004         * class.c (class_getSuperclass): Call __objc_resolve_class_links
1005         if the class is not resolved yet.
1006         * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
1007         
1008 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1010         * objc/runtime.h (class_getIvarLayout): New.
1011         (class_getWeakIvarLayout): New.
1012         (class_setIvarLayout): New.
1013         (class_setWeakIvarLayout): New.
1014         * ivars.c (class_getIvarLayout): New.
1015         (class_getWeakIvarLayout): New.
1016         (class_setIvarLayout): New.
1017         (class_setWeakIvarLayout): New. 
1019 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1020         
1021         * objc/runtime.h (class_copyPropertyList): New.
1022         (class_getProperty): New.
1023         (property_getAttributes): New.
1024         (property_getName): New.
1025         * ivars.c (class_copyPropertyList): New.
1026         (class_getProperty): New.
1027         (property_getAttributes): New.
1028         (property_getName): New.
1029         
1030 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1032         * objc-private/runtime.h (__objc_update_classes_with_methods): New.
1033         * class.c (__objc_update_classes_with_methods): New.
1034         (objc_getClassList): Do not lock the class lock.
1035         * methods.c (method_exchangeImplementations): New.
1036         (method_setImplementation): New.
1037         * objc/runtime.h (method_setImplementation): New.
1038         (method_exchangeImplementations): New.
1039         
1040 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1042         * Protocol.m: Include objc/runtime.h and
1043         objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
1044         repeat Protocol's instance variables.
1045         (struct objc_method_description_list): Do not define here.
1046         ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1047         ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1048         selectors directly instead of getting names and then using strcmp.
1049         ([descriptionForClassMethod:]): Same change.
1050         ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1051         * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1052         to compare selectors directly instead of getting names and then
1053         using strcmp.
1054         * objc/Protocol.h: Updated comments.
1055         
1056 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1058         * init.c (__objc_init_protocol): New function which fixes up a
1059         protocol's class pointer, registers it with the runtime, register
1060         all protocol selectors and registers associated protocols too.
1061         (objc_init_statics): Detect if we are initializing protocols, and
1062         if so, use __objc_init_protocol instead of only fixing up the
1063         class pointer.
1064         (__objc_init_protocls): Use __objc_init_protocol.
1065         * objc-private/module-abi-8.h: Updated comments.
1066         * objc-private/runtime.h
1067         (__objc_register_selectors_from_description_list): New.
1068         * selector.c (__objc_register_selectors_from_description_list):
1069         New.  (struct objc_method_description_list): Declare.
1070         * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1071         when accessing the name of a method, which is now correctly a SEL.
1072         ([-descriptionForClassMethod:]): Same change.
1073         * protocols.c (protocol_getMethodDescription): Same change.
1074         * objc/runtime.h: Updated comments.
1075         (sel_registerTypedName): Fixed typo in function name.
1076         
1077 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1079         PR libobjc/23214
1080         * init.c (objc_init_statics): Do not skip the initialization of a
1081         statics list if the first object has already been initialized; in
1082         the case of Protocols, while the first one may have been
1083         initialized, some others may not have been initialized yet.
1085 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1087         * Makefile.in (OBJC_DEPRECATED_H): Added
1088         objc_get_uninstalled_dtable, objc_object_alloc.h and
1089         struct_objc_static_instances.h.
1091 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1093         * encoding.c (method_copyReturnType): New.
1094         (method_copyArgumentType): New.
1095         (method_getReturnType): New.
1096         (method_getArgumentType): New.
1097         * methods.c (method_getDescription): New.
1098         * objc/runtime.h (method_copyReturnType): New.
1099         (method_copyArgumentType): New.
1100         (method_getReturnType): New.
1101         (method_getArgumentType): New.
1102         (method_getDescription): New.
1103         
1104 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1106         * encoding.c: Tidied up comments.
1107         (objc_skip_variable_name): New static inline function.
1108         (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1109         the same code over and over.
1110         (objc_alignof_type): Same.
1111         (objc_aligned_size): Same.
1112         (objc_promoted_size): Same.
1113         (objc_skip_typespec): Same.
1114         (objc_layout_structure_next_member): Same.
1115         (objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
1116         historical bug where objc_skip_offset would skip one byte even if
1117         there is no offset: check that the first offset digit is actually
1118         a digit before skipping it.
1119         (objc_skip_type_qualifiers): Mark as inline.
1120         (objc_skip_typespec): Mark as inline.   
1121         
1122 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1124         * Makefile.in (C_SOURCE_FILES): Added methods.c.
1125         * encoding.c (method_getNumberOfArguments): New.
1126         (method_get_number_of_arguments): Call
1127         method_getNumberOfArguments.
1128         * ivars.c (ivar_getName): Check for NULL variable argument.
1129         (ivar_getOffset): Check for NULL variable argument.
1130         (ivar_getTypeEncoding): Check for NULL variable argument.
1131         (class_copyIvarList): New.
1132         * methods.c: New.
1133         * protocols.c (class_copyProtocolList): Check for Nil class_
1134         argument.
1135         * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1136         'struct objc_method_list *' instead of MethodList_t.
1137         (class_getMethodImplementation): New.
1138         (class_respondsToSelector): New.
1139         (class_getInstanceMethod): New.
1140         (class_getClassMethod): New.
1141         * objc/runtime.h: Updated comments.
1142         (class_copyIvarList): New.
1143         (class_getInstanceMethod): New.
1144         (class_getClassMethod): New.
1145         (class_getMethodImplementation): New.
1146         (class_respondsToSelector): New.
1147         (method_getName): New.
1148         (method_getImplementation): New.
1149         (method_getTypeEncoding): New.
1150         (class_copyMethodList): New.
1151         (method_getNumberOfArguments): New.
1152         
1153 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1155         * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1156         instead of objc/objc-api.h.
1157         (objc_get_unknown_class_handler): Do not define.
1158         (class_isMetaClass): New.
1159         (class_getSuperclass): New.
1160         (class_getVersion): New.
1161         (class_setVersion): New.
1162         (class_getInstanceSize): New.
1163         * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1164         (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1165         objc_get_super_class.
1166         (get_ttype_entry): Use objc_getRequiredClass instead of
1167         objc_get_class.
1168         * ivars.c (class_getClassVariable): New.
1169         * objects.c: Include objc/runtime.h, objc/thr.h and
1170         objc-private/module-abi-8.h instead of objc/objc-api.h
1171         * objc/runtime.h (class_getClassVariable): New.
1172         (class_isMetaClass): New.
1173         (class_getSuperclass): New.
1174         (class_getVersion): New.
1175         (class_setVersion): New.
1176         (class_getInstanceSize): New.
1177         * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1178         objc/objc-api.h)
1179         (__CLS_INFO): Same.
1180         (__CLS_ISINFO): Same.
1181         (__CLS_SETINFO): Same.
1182         (CLS_ISMETA): Same.
1183         (CLS_ISCLASS): Same.
1184         (CLS_ISRESOLV): Same.
1185         (CLS_SETRESOLV): Same.
1186         (CLS_ISINITIALIZED): Same.
1187         (CLS_SETINITIALIZED): Same.
1188         (CLS_GETNUMBER): Same.
1189         (CLS_SETNUMBER): Same.
1191 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1193         * archive.c: Do not include objc/objc.h.
1194         * class.c: Do not include objc/objc.h.
1195         * encoding.c: Include objc/runtime.h, ctype.h and
1196         objc-private/module-abi-8.h instead of objc/objc-api.h and
1197         objc/encoding.h.
1198         * error.c: Do not include objc/objc.h.
1199         * gc.c: Include tconfig.h and objc/encoding.h only if
1200         OBJC_WITH_GC.
1201         * hash.c: Include objc/runtime.h and objc/thr.h instead of
1202         objc/objc-api.h.  Do not include objc/objc.h.
1203         * init.c: Do not include objc/objc.h.
1204         * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1205         objc/thr.h instead of objc/objc-api.h.  Do not include
1206         objc/objc.h.
1207         * linking.m: Tidied comment.
1208         * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1209         Do not include objc/objc.h.
1210         * objects.c: Do not include objc/objc.h.
1211         * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1212         * protocols.c: Do not include objc/objc.h.
1213         * sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
1214         not include objc/objc.h.
1215         * selector.c: Do not include objc/objc.h.
1216         * sendmsg.c: Do not include objc/objc.h.        
1217         * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1218         Do not include objc/objc.h.
1219         * objc/objc-decls.h: Reindented code.
1220         * objc/runtime.h Include objc-decls.h.  Updated comments.
1221         (objc_malloc): New.
1222         (objc_atomic_malloc): New.
1223         (objc_calloc): New.
1224         (objc_realloc): New.
1225         (objc_free): New.
1226         * objc-private/runtime.h: Updated comments.
1227         
1228 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1230         * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1231         * objc-private/protocols.h: New.
1232         * protocols.c: New.
1233         * init.c: Include objc-private/protocols.h.
1234         (__objc_exec_class): Call __objc_protocols_init on startup.
1235         (__objc_init_protocols): Call __objc_protocols_add_protocol.
1236         * objc-private/runtime.h: Use (struct objc_method_list *) instead
1237         of MethodList_t, and (struct objc_method *) instead of Method_t.
1238         * objc/deprecated/struct_objc_class.h: Define
1239         __objc_STRUCT_OBJC_CLASS_defined.
1240         * objc-private/module-abi-8.h (struct
1241         objc_method_description_list): New.
1242         (struct objc_class): Only define if
1243         __objc_STRUCT_OBJC_CLASS_defined is undefined.
1244         * objc/runtime.h (class_getName): New.
1245         (objc_getProtocol): New.
1246         (objc_copyProtocolList): New.
1247         (class_addProtocol): New.
1248         (class_conformsToProtocol): New.
1249         (class_copyProtocolList): New.
1250         (protocol_conformsToProtocol): New.
1251         (protocol_isEqual): New.
1252         (protocol_getName): New.
1253         (protocol_getMethodDescription): New.
1254         (protocol_copyMethodDescriptionList): New.
1255         (protocol_getProperty): New.
1256         (protocol_copyPropertyList): New.
1257         (protocol_copyProtocolList): New.
1258         * class.c (class_getName): New.
1259         * selector.c (sel_isEqual): New.
1260         
1261 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1263         * selector.c (sel_getName): Return "<null selector>" for a NULL
1264         argument.
1265         (sel_get_name): Return 0 for a NULL argument.
1266         * objc/runtime.h (sel_getName): Updated documentation.
1268         * objc-private/hash.h (class_hash_table): Unused declaration
1269         removed.
1270         (module_hash_table): Same.
1271         * objc/deprecated/hash.h: Same changes.
1272         
1273 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1275         * class.c (objc_getClassList): New.
1276         (objc_getRequiredClass): New.
1277         (objc_getMetaClass): New.
1278         (objc_lookupClass): New.
1279         (objc_getClass): New.
1280         (__objc_get_unknown_class_handler): New.
1281         (objc_setGetUnknownClassHandler): New.
1282         (objc_get_class): Use __objc_get_unknown_class_handler.
1283         (objc_lookup_class): Call objc_getClass.
1284         * objc/objc-api.h: Updated comment and copyright notice.
1285         * objc/runtime.h: Updated comments.
1286         (objc_getClass): New.
1287         (objc_lookupClass): New.
1288         (objc_getMetaClass): New.
1289         (objc_getRequiredClass): New.
1290         (objc_getClassList): New.
1291         (objc_setGetUnknownClassHandler): New.
1292         (objc_get_unknown_class_handler): New.
1293         * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1294         instead of __objc_runtime_INCLUDE_GNU as include guard.
1295         * objc-private/error.h (_objc_abort): Mark as noreturn.
1296         
1297 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1299         * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1300         * ivars.c: New.
1301         * objc/objc.h: Updated comments.
1302         * objc/runtime.h (object_getClass): New.
1303         (object_getClassName): New.
1304         (object_setClass): New.
1305         (class_getInstanceVariable): New.
1306         (object_getIndexedIvars): New.
1307         (object_getInstanceVariable): New.
1308         (object_setInstanceVariable): New.
1309         (object_getIvar): New.
1310         (object_setIvar): New.  
1311         (ivar_getName): New.
1312         (ivar_getOffset): New.
1313         (ivar_getTypeEncoding): New.
1314         * objc-private/module-abi-8.h (struct objc_class): Added.
1315         * objects.c (object_getClassName): New.
1316         (object_setClass): New.
1317         
1318 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1320         * objc/objc.h: Updated comments.
1321         * objc/objc-api.h: (object_copy): Added one argument; use a
1322         #define to maintain backwards-compatibility.  Moved
1323         _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1324         objc_get_uninstalled_dtable into
1325         objc/deprecated/objc_get_uninstalled_dtable.h and
1326         objc/deprecated/objc_object_alloc.h.  Include these files.
1327         * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1328         * objc/deprecated/objc_object_alloc.h: New.
1329         * objc/runtime.h (set_getName): New.
1330         (sel_getType): New.
1331         (sel_getUid): New.
1332         (sel_registerName): New.
1333         (sel_registerTypedName): New.
1334         (sel_isEqual): New.
1335         (class_createInstance): New.
1336         (object_copy): New.
1337         (object_dispose): New.
1338         * objects.c: Do not include tconfig.h.  Include gc_typed.h if
1339         building the garbage collection version.
1340         (__objc_object_alloc): Removed.
1341         (__objc_object_copy): Removed.
1342         (__objc_object_dispose): Removed.
1343         (class_createInstance): New from code in class_create_instance.
1344         Cast second argument of GC_malloc_explicitly_typed.  Use
1345         objc_calloc.  Do not call _objc_object_alloc.
1346         (class_create_instance): Call class_createInstance.
1347         (object_copy): Added extraBytes argument.  Do not call
1348         _objc_object_copy.
1349         (object_dispose): Do not call _objc_object_dispose.
1350         * memory.c (objc_free): When using garbage collection, mark the
1351         argument as unused.
1352         * selector.c (sel_getName): New.
1353         (sel_get_name): Call sel_getName.
1354         (sel_getType): New.
1355         (sel_get_type): Call sel_getType.
1356         (sel_registerName): New.
1357         (sel_register_name): Call sel_registerName.
1358         (sel_registerTypedName): New.
1359         (sel_register_typed_name): Call sel_registerTypedName.
1360         (sel_getUid): New.
1361         (sel_get_uid): Call sel_getUid.
1362         
1363 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1365         * objc/objc-api.h: Define Method, Method_t, Category and
1366         Category_t.  Prevent including this file at the same time as
1367         objc/runtime.h.  Updated comments.
1368         * objc/deprecated/struct_objc_method.h: Do not define Method,
1369         Method_t.
1370         * objc/deprecated/struct_objc_category.h: Do not define Category,
1371         Category_t.
1372         * objc-private/module-abi-8.h: New file containing a copy of all
1373         the structure definitions.  Not used yet.
1374         * objc/encoding.h (objc_aligned_size): Removed duplicate
1375         declaration.  Updated comments.
1376         * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1377         Category, struct objc_method_description, _C_ID and similar,
1378         _C_CONST and similar and _F_CONST and similar.  Added
1379         objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1380         objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1381         objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1382         struct objc_struct_layout, objc_layout_structure,
1383         objc_layout_structure_next_member, objc_layout_finish_structure,
1384         objc_layout_structure_get_info.  Prevent including this file at
1385         the same time as objc/objc-api.h.
1386         
1387 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1389         * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1390         struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1391         struct_objc_method_list.h, struct_objc_module.h,
1392         struct_objc_protocol_list.h, struct_objc_symtab.h.
1393         * objc/deprecated/struct_objc_category.h: New.
1394         * objc/deprecated/struct_objc_ivar.h: New.
1395         * objc/deprecated/struct_objc_ivar_list.h: New.
1396         * objc/deprecated/struct_objc_method.h: New.
1397         * objc/deprecated/struct_objc_method_list.h: New.
1398         * objc/deprecated/struct_objc_module.h: New.
1399         * objc/deprecated/struct_objc_protocol_list.h: New.
1400         * objc/deprecated/struct_objc_symtab.h: New.
1401         * objc/deprecated/struct_objc_static_instances.h: New.
1402         * objc/objc-api.h: Definitions of deprecated structures moved into
1403         the above header fragment files in objc/deprecated/.  Include the
1404         files instead of definition the structures here.  Updated
1405         comments.
1406         * objc/runtime.h: Updated comments.  Do not include objc-api.h.
1407         (objc_set_enumeration_mutation_handler): Renamed to
1408         objc_setEnumerationMutationHandler.
1409         * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1410         to objc_setEnumerationMutationHandler.
1411         * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1412         objc_setExceptionMatcher.
1413         (objc_set_uncaught_exception_handler): Renamed to
1414         objc_setUncaughtExceptionHandler.
1415         * exception.c: Same changes.
1417 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1419         * objc-sync.c: Include objc-private/common.h.
1421 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1423         * objc-foreach.c: Include objc-private/common.h.
1424         * objc/deprecated/METHOD_NULL.h: New file.
1425         * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1426         defining METHOD_NULL here.
1427         * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1428         * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1429         METHOD_NULL.
1430         ([-respondsTo:]): Same change.
1431         * objc/objc-api.h (method_get_imp): Converted it into a normal
1432         function so that we can hide the internals of struct objc_method.
1433         * sendmsg.c (method_get_imp): Implemented.
1435 2010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
1437         * objc/objc-api.h (struct objc_super, Super, Super_t,
1438         objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1439         objc_msg_forward2): Declarations moved to objc/message.h.  Include
1440         message.h here.
1441         * objc/message.h: Added such declarations; updated comments.
1443 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1445         Implemented fast enumeration for Objective-C.
1446         * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1447         (OBJC_H): Added runtime.h
1448         * objc-foreach.c: New file.
1449         * objc/runtime.h: New file.
1450         
1451 2010-09-30  Kai Tietz  <kai.tietz@onevision.com>
1453         * objc/deprecated/struct_objc_class.h: Add padding
1454         to avoid warning with -Wpadded.
1456 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1458         * encoding.c (objc_sizeof_type): Added support for vector type and
1459         for double long types.  
1460         (objc_alignof_type): Same change.
1461         (objc_skip_typespec): Same change.
1462         * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1463         instead of '!' since '!' is already used for _C_VECTOR.
1464         * objc/objc-api.h (_C_LNG_DBL): Added.
1465         
1466 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1468         * libobjc_entry.c: File removed.
1470 2010-09-26  Kai Tietz  <kai.tietz@onevision.com>
1472         * sendmsg.c (objc_msg_lookup): Remove inline.
1473         (objc_get_uninstalled_dtable): Likewise.
1474         * encoding.c (objc_skip_type_qualifiers): Likewise.
1475         (objc_skip_offset): Likewise.
1476         * archive.c (__objc_write_object): Likewise
1477         (__objc_write_class):
1478         (__objc_write_selector):
1479         (objc_read_char):
1480         (objc_read_unsigned_char):
1481         (objc_read_short):
1482         (objc_read_unsigned_short):
1483         (objc_read_int):
1484         (objc_read_long):
1485         (__objc_read_nbyte_uint):
1486         (objc_read_unsigned_int):
1487         (objc_read_unsigned_long):
1488         * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1489         (objc_EXPORT): Likewise.
1490         * objc/message.h (objc-decls.h): Add include.
1491         * objc/objc-api.h: Mark API by objc_EXPORT.
1492         * libobjc.def (__objc_responds_to): Removed.
1494 2010-09-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1496         * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1498         * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1499         objc/sarray.h replaced with a placeholder including the file from
1500         the deprecated/ directory.
1501         * objc-private/sarray.h: New file (private copy of sarray.h).
1502         * hash.c: Include <assert.h> instead of "assert.h"
1503         * sarray.c: Include <assert.h> instead of "assert.h".  Include
1504         objc-private/sarray.h instead of objc/sarray.h.
1505         * selector.c: Include objc-private/sarray.h instead of
1506         objc/sarray.h.
1507         * sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
1508         instead of objc/sarray.h.
1509         * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.      
1511 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1513         * objc-private/objc-list.h (list_remove_elem): Unused function
1514         removed.  (list_nth): Unused function removed.  (list_find):
1515         Unused function removed.  (list_lenght): Unused function removed.
1516         
1517 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1519         * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1520         replaced with a placeholder including the file from the
1521         deprecated/ directory.
1522         * objc/objc-api.h: Updated includes.
1523         * objc/typedstream.h: Updated includes.
1524         * objc-private/hash.h: New file (private copy of hash.h).
1525         * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1526         objc/objc-list.h replaced with a placeholder including the file
1527         from the deprecated/ directory.
1528         * objc-private/objc-list.h: New file (private copy of objc-list.h).
1529         * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1530         instead of objc/hash.h and objc/objc-list.h.
1531         * selector.c: Same change.
1532         * class.c: Added include <string.h>, which used to be implicitly included
1533         when hash.h was included.
1534         * exception.c: Same change.
1535         * objects.c: Same change.
1536         * sarray.c: Same change.
1537         * sendmsg.c: Same change.
1538         * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1540 2010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1542         Implemented objc_sync_enter() and objc_sync_exit(), which are
1543         required by @synchronized() to work.
1544         * objc-sync.c: New file.
1545         * objc/objc-sync.h: New file.
1546         * objc-private/objc-sync.h: New file.
1547         * init.c (__objc_exec_class): Call __objc_sync_init() during the
1548         Objective-C runtime startup.
1549         * Makefile.in: Added objc-sync.c and objc-sync.h.
1550         * configure.ac: Added GCC_CHECK_TLS.
1551         * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1552         * configure: Regenerated.
1553         * config.h.in: Regenerated.
1554         
1555 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1557         * Makefile.in (%_gc.lo): New pattern rules to build the
1558         garbage-collected version of the library.  Removed rules for
1559         specific files that are no longer needed.  Standardized all rules.
1560         (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1561         (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1562         OBJC_SOURCE_FILES.
1563         (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1565 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1566         
1567         * memory.c (objc_calloc): Fixed call to GC_malloc when building
1568         with Garbage Colletion.
1569         
1570 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1572         * memory.c: Do not include objc-private/runtime.h.
1574 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1575         
1576         * objc/deprecated/objc_malloc.h: New file.
1577         * objc/deprecated/objc_valloc.h: New file.
1578         * objc/objc-api.h: Include the files instead of defining
1579         objc_valloc, _objc_malloc() and similar.
1580         * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1581         objc_malloc.h.
1582         * memory.c: Removed the extra layer of indirection of _objc_malloc
1583         and similar.
1584         (objc_calloc): Use GC_malloc in the garbage-collected
1585         implementation as GC_malloc returns memory that is already freed.
1586         (objc_valloc): Deprecated.      
1587         
1588 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1590         * objc/deprecated/objc_error.h: New file.
1591         * objc/objc-api.h: Include deprecated/objc_error.h instead of
1592         defining objc_error and related.
1593         * error.c: New file.  Added _objc_abort function which replaces
1594         objc_error.  No change in functionality as they both print an
1595         error and abort.
1596         * misc.c: File removed.  Code moved into memory.c and error.c.
1597         * memory.c: New file.
1598         * objc-private/error.h: New file.
1599         * archive.c: Include objc-private/error.h and use _objc_abort
1600         instead of objc_error everywhere.
1601         * class.c: Same change.
1602         * encoding.c: Same change.
1603         * init.c: Same change, and simplified init_check_module_version.
1604         * memory.c: Same change.
1605         * sendmsg.c:  Same change.
1606         * thr.c: Same change.
1607         * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1608         (OBJ_H): Reordered list.
1609         (OBJS): Removed misc.lo, added memory.lo and error.lo.
1610         (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1611         (misc_gc.lo): Rule removed.
1612         (error_gc.lo): Rule added.
1613         (memory_gc.lo): Rule added.
1614         
1615 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1617         * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1618         to check the API version.  Added some comments.
1620         * objc-private/common.h: New file.
1621         * NXConstStr.m: Include objc-private/common.h.
1622         * Object.m: Same change.
1623         * Protocol.m: Same change.
1624         * archive.c: Same change.
1625         * class.c: Same change.
1626         * encoding.c: Same change.
1627         * exception.c: Same change.
1628         * gc.c: Same change.
1629         * hash.c: Same change.
1630         * init.c: Same change.
1631         * libobjc_entry.c: Same change.
1632         * linking.m: Same change.
1633         * misc.c: Same change (and added a comment).
1634         * nil_method.c: Same change.
1635         * objects.c: Same change.
1636         * sarray.c: Same change.
1637         * selector.c: Same change.
1638         * sendmsg.c: Same change.
1639         * thr.c: Same change.
1641 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1643         * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1645 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1647         * archive.c: Removed not needed includes.
1648         * class.c: Same change.
1649         * hash.c: Same change.
1650         * misc.c: Same change.
1651         * nil_method.c: Same change.
1652         * objects.c: Same change.
1653         * sarray.c: Same change.
1654         * sendmsg.c: Same change.
1655         * thr.c: Same change.
1657 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1659         * objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
1660         all the objc/*.h files.
1661         * objc-private/runtime.h: New file.
1662         * archive.c: Include objc-private/runtime.h (and required objc/*.h
1663         files) instead of objc/runtime.h.
1664         * class.c: Same change.
1665         * hash.c: Same change.
1666         * init.c: Same change.
1667         * misc.c: Same change.
1668         * nil_method.c: Same change.
1669         * objects.c: Same change.
1670         * sarray.c: Same change.
1671         * selector.c: Same change.
1672         * sendmsg.c: Same change.
1673         * thr.c: Same change.
1674         
1675 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1677         * objc/deprecated/struct_objc_selector.h: New file.  Definition of
1678         'struct objc_selector' and 'sel_eq' moved here.
1679         * objc/deprecated/struct_objc_protocol.h: New file.  Definition of
1680         'struct objc_procotol' moved here.
1681         * objc/deprecated/struct_objc_class.h: New file.  Definition of
1682         'struct objc_class' moved here.
1683         * objc/deprecated/MetaClass.h: New file.  Definition of MetClass
1684         moved here.
1685         * objc/deprecated/STR.h: New file.  Definition of STR moved here.       
1686         * objc/message.h: New file.  Definitions for relval_t, apply_t,
1687         arglist, arglist_t and objc_msg_lookup were moved here.
1688         * objc/objc.h: Include the above files instead of defining the
1689         corresponding structs, types and functions here.  Added new opaque
1690         definitions for SEL and Class.  Use Class and not 'struct
1691         objc_class *' in the definition of 'struct objc_object'.
1692         Commented all types defined in the file.  Removed special
1693         definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1694         there as well.
1695         * objc/deprecated/objc-unexpected-exception.h: Renamed to
1696         objc_unexpected_exception.h.
1697         * objc/objc-api.h: Updated include of
1698         objc-unexpetected-exception.h
1699         * objc/objc-exception.h: Updated comments.
1700         * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1701         files.  Reindented list of files.
1702         
1703 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1705         * objc/objc-api.h (objc_trace): Unused variable removed.
1707 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1709         * objc/deprecated: New directory.
1710         * objc/deprecated/README: New file.
1711         * objc/README: New file.
1712         * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1713         objc/typedstream.h replaced with a placeholder including the file
1714         from the deprecated/ directory.
1715         * objc/deprecated/objc-unexpected-exception.h: New file with the
1716         definition of _objc_unexpected_exception.       
1717         * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1718         instead of defining _objc_unexpected_exception.
1719         * objc/deprecated/Object.h: New file with the deprecated Object
1720         methods in a 'Deprecated' category.
1721         * objc/Object.h Include deprecated/Object.h instead of defining
1722         the deprecated methods.
1723         * Object.m: Moved deprecated methods into 'Deprecated' category.
1724         * objc-private: New directory.
1725         * objc-private/README: New file.
1726         * Makefile.in (OBJC_DEPRECATED_H): New variable.
1727         (install-headers): Create installation directory for
1728         OBJC_DEPRECATED_H headers, and install them.
1730 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1732         * objc/objc-exception.h: Fixed include of objc.h.
1733         
1734 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1736         * objc/objc-exception.h: New file.
1737         * exception.c (objc_set_uncaught_exception_handler): Implemented.
1738         (objc_set_exception_matcher): Implemented.
1739         (objc_exception_throw): Use the uncaught exception handler if set.
1740         (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1741         hardcoded isKindOf.
1742         (isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
1743         up.  Removed segmentation fault when value is 'nil'.
1744         * objc/objc-api.h (_objc_unexpected_exception): Mark as
1745         deprecated.
1746         * Makefile.in (exception.lo, exception_gc.lo): Use
1747         -Wno-deprecated-declarations when compiling.
1748         (OBJC_H): Added objc-exception.h
1750 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1752         * objc/typedstream.h: Deprecate all functions in the file.  This
1753         file is obsolete.
1754         * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1755         [-awake]): Documented that these methods are deprecated.  Added a
1756         brief description of the Object class and its relationship to the
1757         NSObject class.
1758         * Makefile.in: Compile archive.c and Object.m with
1759         -Wno-deprecated-declarations.
1761 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1763         Removed obsolete intermediate threading layer.
1764         * thr.c: Use __gthread_objc_xxx functions directly instead of
1765         __objc_thread_xxx ones.
1766         * objc/thr.h: Removed prototypes of no longer existing
1767         __objc_thread_xxx functions.
1768         * Makefile.in: Removed thr-objc.lo.
1769         * thr-dce.c: File removed.
1770         * thr-decosf1.c: File removed.
1771         * thr-irix.c: File removed.
1772         * thr-mach.c: File removed.
1773         * thr-objc.c: File removed.
1774         * thr-os2.c: File removed.
1775         * thr-posix.c: File removed.
1776         * thr-pthreads.c: File removed.
1777         * thr-rtems.c: File removed.
1778         * thr-single.c: File removed.
1779         * thr-solaris.c: File removed.
1780         * thr-vxworks.c: File removed.
1781         * thr-win32.c: File removed.
1782         * README.threads: File removed.
1783         * THREADS.MACH: File removed.
1784         * THREADS: Updated.
1786 2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
1788         * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1790 2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
1792         * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1793         Add a comment as to why, update FIXME comments.
1795 2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1797         * makefile.dos: Obsolete file removed.
1798         
1799 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1801         * aclocal.m4: Regenerate.
1803 2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
1805         PR libobjc/30445
1806         * configure.ac (extra_ldflags_libobjc): Define appropriately for
1807         Cygwin and MinGW hosts.
1808         * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1809         (libobjc.dll): Likewise.
1810         * configure: Regenerate.
1812 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1814         * configure: Regenerate.
1816 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
1818         * sarray.c (sarray_free): Use old_buckets variable.
1819         * encoding.c (objc_layout_structure_next_member): Remove unused
1820         bfld_type_size variable.
1822 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1824         * configure.ac (AC_PREREQ): Bump to 2.64.
1826 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1828         * aclocal.m4: Regenerate.
1829         * configure: Regenerate.
1830         * config.h.in: Regenerate.
1832 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1834         * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
1836 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1838         * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
1839         New variables.
1840         ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
1842 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1844         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
1846 2009-04-09  Nick Clifton  <nickc@redhat.com>
1848         * sendmsg.c: Change copyright header to refer to version 3 of
1849         the GNU General Public License with version 3.1 of the GCC
1850         Runtime Library Exception and to point readers at the COPYING3
1851         and COPYING3.RUNTIME files and the FSF's license web page.
1852         * NXConstStr.m: Likewise.
1853         * Object.m: Likewise.
1854         * Protocol.m: Likewise.
1855         * archive.c: Likewise.
1856         * class.c: Likewise.
1857         * encoding.c: Likewise.
1858         * exception.c: Likewise.
1859         * gc.c: Likewise.
1860         * hash.c: Likewise.
1861         * init.c: Likewise.
1862         * libobjc_entry.c: Likewise.
1863         * linking.m: Likewise.
1864         * misc.c: Likewise.
1865         * nil_method.c: Likewise.
1866         * objc/NXConstStr.h: Likewise.
1867         * objc/Object.h: Likewise.
1868         * objc/Protocol.h: Likewise.
1869         * objc/encoding.h: Likewise.
1870         * objc/hash.h: Likewise.
1871         * objc/objc-api.h: Likewise.
1872         * objc/objc-decls.h: Likewise.
1873         * objc/objc-list.h: Likewise.
1874         * objc/objc.h: Likewise.
1875         * objc/runtime.h: Likewise.
1876         * objc/sarray.h: Likewise.
1877         * objc/thr.h: Likewise.
1878         * objc/typedstream.h: Likewise.
1879         * objects.c: Likewise.
1880         * sarray.c: Likewise.
1881         * selector.c: Likewise.
1882         * thr-dce.c: Likewise.
1883         * thr-decosf1.c: Likewise.
1884         * thr-irix.c: Likewise.
1885         * thr-mach.c: Likewise.
1886         * thr-objc.c: Likewise.
1887         * thr-os2.c: Likewise.
1888         * thr-posix.c: Likewise.
1889         * thr-pthreads.c: Likewise.
1890         * thr-rtems.c: Likewise.
1891         * thr-single.c: Likewise.
1892         * thr-solaris.c: Likewise.
1893         * thr-vxworks.c: Likewise.
1894         * thr-win32.c: Likewise.
1895         * thr.c: Likewise.
1896         * libobjc.def: Change copyright header to refer to version 3 of
1897         the GNU General Public License and to point readers at the COPYING3
1898         file and the FSF's license web page.
1899         * makefile.dos: Likewise.
1901 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
1903         * Makefile.in: Change copyright header to refer to version
1904         3 of the GNU General Public License and to point readers at the
1905         COPYING3 file and the FSF's license web page.
1906         * configure.ac: Likewise.
1908 2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
1909             David Ayers  <ayers@fsfe.org>
1911         PR libobjc/27466
1912         * objc/objc-api.h (_objc_unexpected_exception): Declare
1913         new hook.  Update copyright dates.
1914         * exception.c (objc_exception_throw): Use hook.  Update
1915         copyright dates.
1916         * libobjc.def (_objc_unexpected_exception): Export hook.
1917         Update copyright dates.
1918         
1919 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1921         * configure: Regenerate.
1923 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1925         * configure: Regenerate.
1927 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
1929         *  Object.m (errno): Replaced by errno.h include.
1930         (compare): Cast self to id to prevent warning on comparison.
1931         * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
1932         already there.
1933         * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
1934         * thr-win32.c (__objc_thread_detach): Remove type warning.
1935         (__objc_thread_id): Likewise.
1936         * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
1937         for noreturn.
1939 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
1940             Steve Ellcey  <sje@cup.hp.com>
1942         * configure: Regenerate for new libtool.
1943         * config.h.in: Regenerate for new libtool.
1945 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
1947         * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 
1949 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
1951         * Makefile.in: Include ../boehm-gc/threads.mk. 
1952         (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
1954 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1956         * Makefile.in (install-info): New stub target.
1958 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1960         * configure: Regenerate.
1962 2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
1964         * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
1965         if HAVE_GETIPINFO is not defined.
1967 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
1969         * Object.m (compare): Add type id.
1970         * objc/Object.h: Likewise.
1971         * archive.c (objc_read_class): Use size_t to extend version to be
1972         size of pointer scalar width.
1973         * sendmsg.c (rtx): Undefine it before redefinition.
1974         (__objc_print_dtable_stats): Cast arguments to long as intended.
1976 2008-05-30  Julian Brown  <julian@codesourcery.com>
1978         * exception.c (__objc_exception_class): Initialise as constant
1979         array for ARM EABI. Change macro to static const for non-ARM EABI.
1980         (ObjcException): Add note about structure layout. Remove landingPad
1981         and handlerSwitchValue for ARM EABI.
1982         (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
1983         of function.
1984         (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
1985         (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
1986         ARM EABI unwinding support.
1987         (objc_exception_throw): Use memcpy to initialise exception class.
1989 2008-05-25  Alan Modra  <amodra@bigpond.net.au>
1991         * encoding.c (strip_array_types): Rename from get_inner_array_type.
1992         (rs6000_special_round_type_align): Update.
1994 2008-05-09  Julian Brown  <julian@codesourcery.com>
1996         * Makefile.in (LTLDFLAGS): New.
1997         (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
1999 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
2001         PR bootstrap/35457
2002         * aclocal.m4: Regenerate.
2003         * configure: Regenerate.
2005 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
2007         * configure: Regenerate.
2009 2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2011         * configure.ac: Don't run config-ml.in directly.
2012         (multilib_arg): New.
2013         * configure: Regenerated.
2015 2007-08-06  Andrew Pinski  <pinskia@gmail.com>
2017         PR libobjc/30731
2018         * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
2019         of _Unwind_Word for variables which are used in
2020         read_uleb128/read_sleb128.
2021         (PERSONALITY_FUNCTION): Likewise.
2023 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2025         * aclocal.m4: Regenerated.
2027 2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2029         * configure.ac: Fix a typo in *-*-darwin clause.
2030         * configure: Regenerated.
2032 2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2034         * configure.ac: Fix a typo.
2035         * configure: Regenerated.
2037 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
2039         * configure: Regenerate.
2041 2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2043         * Makefile.in: Replace all uses of libext with libsuffix.
2044         * configure.ac: Likewise.
2045         * configure: Regenerate.
2047         Revert:
2048         * Makefile.in: Remove all uses of $(libext).
2050 2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2052         * Makefile.in: Remove all uses of $(libext).
2054 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
2056         * configure: Regenerate.
2057         * aclocal.m4: Regenerate.
2059 2007-04-21  Andrew Ruder  <andy@aeruder.net>
2061         * sendmsg.c (__objc_get_forward_imp): Call
2062         __objc_msg_forward2 for real.
2064 2007-04-09  Andrew Ruder  <andy@aeruder.net>
2066         * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2067         external libraries to provide a function that returns the real
2068         forwarding function based on both the selector and the receiver.
2069         * objc/objc-api.h: Define __objc_msg_forward2.
2071 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2073         * Makefile.in: Add dummy install-pdf target.
2075 2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2077         * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2078         unused warning.
2079         
2080 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
2082         * encoding.c (darwin_rs6000_special_round_type_align): New.
2084 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
2086         * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2087         * configure.ac: Use multi.m4 from aclocal rather than custom
2088         code.  Use multi_basedir instead of toplevel_srcdir.
2089         * aclocal.m4: Regenerate.
2090         * configure: Regenerate.
2092 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
2094         * Makefile.in: Added empty "pdf" target.
2096 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2098         * configure: Regenerate.
2100 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
2102         * Makefile.in: Add install-html target. Add install-html to .PHONY
2104 2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2106         PR libobjc/26309
2107         * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2109 2006-01-24  David Ayers  <d.ayers@inode.at>
2111         PR libobjc/9751
2112         * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2113         and insure the new strings are '\0' termintated.
2115 2006-01-24  David Ayers  <d.ayers@inode.at>
2117         PR libobjc/13946
2118         * configure.ac: Add include directives for --enable-objc-gc.
2119         * Makefile.in: Ditto.
2120         * configure: Regenerate.
2122         * gc.c (__objc_class_structure_encoding): Increment the used bytes
2123         instead of the local pointer to them.
2125 2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
2127         PR objc/25360
2128         * objc/objc-api.c (_C_COMPLEX): New define.
2129         * encoding.c (objc_sizeof_type): Handle _C_Complex.
2130         (objc_alignof_type): Likewise.
2131         (objc_skip_typespec): Likewise.
2133 2005-12-15  David Ayers  <d.ayers@inode.at>
2135         PR libobjc/14382
2136         * README (+load,+initialize): Fix documentation to reflect
2137         intended and implemented semantics for +load and +initialize.
2138         
2139 2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
2141         * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2142         the name.
2143         (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2144         (rs6000_special_round_type_align): Update for the ABI fix.
2145         (objc_layout_finish_structure): Correct the encoding which is passed to
2146         ROUND_TYPE_ALIGN.
2148 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2150         PR libobjc/25347
2151         * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2152         but use the struct layout functions.
2153         (objc_alignof_type): Likewise.
2154         (objc_layout_structure): Handle _C_UNION_B also.
2155         (objc_layout_structure_next_member): Likewise.
2156         (objc_layout_finish_structure): Likewise.
2158 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2160         PR libobjc/25346
2161         * objc/objc-api.h (_C_BOOL): New define.
2162         * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2163         (objc_alignof_type): Likewise.
2164         (objc_skip_typespec): Likewise.
2166 2005-11-20  David Ayers  <d.ayers@inode.at>
2168         PR libobjc/19024
2169         * objc/hash.h: Remove deprecated hash API.
2170         * hash_compat.c: Remove.
2171         * Makefile.in: Remove reference to hash_compat.c.
2173         * configure.ac (VERSION): Bump library version to 2:0:0.
2174         * configure: Regenerate.
2176 2005-11-09  Alexandre Oliva  <aoliva@redhat.com>
2178         PR other/4372
2179         * thr-objc.c (_XOPEN_SOURCE): Define.
2181 2005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
2183         PR libobjc/23612
2184         * objc/objc-api.h (struct objc_ivar): Move definition to
2185         global scope.
2187 2005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
2188             Rasmus Hahn  <rassahah@neofonie.de>
2190         PR libobjc/23108
2191         * archive.c (objc_write_type): Correct the element offset.
2192         (objc_read_type): Likewise.
2194 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2196         * All files: Update FSF address.
2198 2005-08-13  Marcin Koziej  <creep@desk.pl>
2199             Andrew Pinski  <pinskia@physics.uc.edu>
2201         PR libobjc/22492
2202         * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2204 2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2206         * Makefile.in (extra_ldflags_libobjc): New.
2207         (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2208         (libobjc_gc$(libext).la): Likewise.
2209         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2210         "-Wl,-single_module".
2211         * configure: Regenerate.
2212         * linking.m (_objcInit): Remove.
2214 2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
2216         PR libobjc/22606
2217         * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2219 2005-06-08  David Ayers  <d.ayers@inode.at>
2221         * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2222         objc/encoding.h, objc/hash.h, objc/objc-api.h,
2223         objc/runtime.h, objc/sarray.h, objc/thr.h, 
2224         objc/typedstream.h: Do not include Objective-C headers as
2225         system headers.
2227 2005-06-07  David Ayers  <d.ayers@inode.at>
2229         * archive.c, init.c, selector.c: Include hash.h.
2230         * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2231         init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2232         sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2233         thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2234         thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2235         Include Objective-C headers with quotes and objc/ directory
2236         prefix.
2238 2005-05-19  Richard Henderson  <rth@redhat.com>
2240         * exception.c: Revert last change.
2242 2005-05-19  David Ayers  <d.ayers@inode.at>
2244         * exception.c: Include tsystem.h for unwind.h.
2246 2005-05-09  Mike Stump  <mrs@apple.com>
2248         * configure: Regenerate.
2250 2005-04-12  Mike Stump  <mrs@apple.com>
2252         * configure: Regenerate.
2254 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2256         * Makefile.in: Set gcc_version here.
2257         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
2258         in definition of toolexeclibdir so that $(gcc_version) is expanded
2259         by the Makefile.
2260         * aclocal.m4, configure: Regenerate.
2262 2005-03-03  David Ayers  <d.ayers@inode.at>
2264         * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2265         version reference.  Correct typo.
2267 2005-03-02  David Ayers  <d.ayers@inode.at>
2269         PR libobjc/19024
2270         * Makefile.in (OBJS): Add hash_compat.lo.
2271         (OBJS_GC): Add hash_compat_gc.lo.
2272         (hash_compat_gc.lo): New target and rule.
2273         * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2274         (hash_next, hash_value_for_key, hash_is_key_in_hash)
2275         (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2276         with objc_.  Add deprecated non prefixed inlined versions.
2277         (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2278         declarations.
2279         * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2280         (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2281         update callers.
2282         * hash_compat.c: New file.
2283         * archive.c: Update callers.
2284         * init.c: Likewise.
2285         * selector.c: Likewise.
2286         * libobjc.def: Add objc_ versions of hash functions.
2288 2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
2290         PR libobjc/20252
2291         * Makefile.in (GTHREAD_FLAGS): Remove.
2292         (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2293         * thr-objc.c: Include config.h.
2294         * configure.ac: Instead of looking at GCC's makefile, figure out if
2295         GTHREAD_FLAGS should be defined by looking at the `thread model'
2296         of the current gcc.
2297         * configure: Regenerate.
2298         * config.h.in: Regenerate.
2300 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2302         PR bootstrap/17383
2303         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2304         (Determine CFLAGS for gthread): Use $host_subdir.
2305         * configure: Regenerate.
2306         * Makefile.in (host_subdir): New.
2307         (INCLUDES): Use it.
2309 2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
2311         PR libobjc/12035
2312         * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2313         they are not used.
2314         Include limits.h and stdlib.h.
2315         Define BITS_PER_WORD.
2317 2004-12-12  Alexander Malmberg  <alexander@malmberg.org>
2319         * selector.c (__objc_init_selector_tables): Add missing void to
2320         definition.
2322 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
2324         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2325         * configure, aclocal.m4: Regenerate.
2327 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2329         * configure: Regenerate for libtool change.
2331 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2333         * configure: Regenerate for libtool reversion.
2335 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2337         * configure: Regenerate for libtool change.
2339 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2341         * aclocal.m4, config.h.in: Regenerate.
2343 2004-10-08  Mike Stump  <mrs@apple.com>
2344             Andrew Pinski  <pinskia@physics.uc.edu>
2346         * aclocal.m4: Rename to ...
2347         * acinclude.m4: here and also use m4_include instead of sinclude.
2348         * aclocal.m4: Regenerate.
2349         * configure: Regenerate.
2350         * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2351         * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2353 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
2355         * archive.c: Fix all the warnings about passing unsigned char*
2356         to char* and the other way too.
2358 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
2360         PR libobjc/16448
2361         * exception.c: Include config.h
2362         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2363         SJLJ_EXCEPTIONS.
2364         * configure.ac: Find out what exception handling code we use.
2365         * configure: Regenerate.
2366         * config.h.in: New file, regenerate.
2368 2004-09-16  Andrew Pinski  <apinski@apple.com>
2370         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2372 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
2374         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2375         ACX_NONCANONICAL_TARGET.
2376         * configure: Regenerate.
2378 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
2380         * objc/sarray.h: Hoist include of assert.h near the top of file,
2381         and mark the remainder of the file 'extern "C"'.
2383 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2385         * objc/Object.h: Move includes out of extern "C" blocks.
2386         * objc/encoding.h: Likewise.
2387         * objc/hash.h: Likewise.
2388         * objc/objc-api.h: Likewise.
2389         * objc/runtime.h: Likewise.
2390         * objc/sarray.h: Likewise.
2391         * objc/typedstream.h: Likewise.
2393 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
2395         * objc/NXConstStr.h: Update copyright date; bracket with
2396         'extern "C"' for C++ use; make include syntax consistent
2397         by using <...> instead of "..."; hoist <objc/...> includes
2398         above the 'extern "C"' block.
2399         * objc/Object.h: Likewise.
2400         * objc/Protocol.h: Likewise.
2401         * objc/encoding.h: Likewise.
2402         * objc/hash.h: Likewise.
2403         * objc/runtime.h: Likewise.
2404         * objc/sarray.h: Likewise.
2405         * objc/thr.h: Likewise.
2406         * objc/typedstream.h: Likewise.
2407         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2408         (objc_static_instances): For C++ case, do away with
2409         zero-sized array.
2410         (objc_method): Hoist definition to file scope.
2411         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2412         class_get_instance_method, class_create_instance,
2413         class_get_class_name, class_get_instance_size,
2414         class_get_meta_class, class_get_super_class, class_get_version,
2415         class_is_class, class_is_meta_class, class_set_version,
2416         class_get_gc_object_type, class_ivar_set_gcinvisible,
2417         get_imp): Rename 'class' parameter to '_class'.
2418         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2419         * objc/objc.h: Update copyright date.
2420         (arglist_t): Provide a union tag.
2422 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
2424         * thr.c (__objc_thread_detach_function): Do not mark as volatile
2425         but instead use the attribute noreturn.
2427 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
2429         * encoding.c: Rename target_flags with a #define to avoid
2430         conflict with a prior declaration.
2432 2004-06-24  Andrew Pinski  <apinski@apple.com>
2434         * objc/encoding.h: Wrap the functions with extern "C" for C++
2435         mode.
2436         * objc/hash.h: Likewise.
2437         * objc/objc-api.h: Likewise.
2438         * objc/objc-list.h: Likewise.
2439         * objc/runtime.h: Likewise.
2440         * objc/sarray.h: Likewise.
2441         * objc/thr.h: Likewise.
2442         * objc/typedstream.h: Likewise.
2445 2004-06-21  Nick Clifton  <nickc@redhat.com>
2447         * encoding.c (BITS_PER_UNIT): Define if a definition is not
2448         provided.
2450 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2452         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2453         (exception_gc.lo): New.
2454         (OBJS_GC): Add exception_gc.lo.
2456 2004-06-17  Richard Henderson  <rth@redhat.com>
2458         * exception.c: New file.
2459         * Makefile.in (exception.lo): New.
2460         (OBJS): Add it.
2462 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
2464         * linking.m (_objcInit): New empty function
2465         for Darwin only.
2467 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2469         * configure.ac: Support --enable-shared=libobjc.
2470         * configure: Regenerate.
2472         PR libobjc/15901
2473         * configure.ac: Do not disable shared by default.
2474         * configure: Regenerate.
2476 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
2478         * Protocol.m ([-isEqual:]): Small optimizations returning
2479         immediately if the argument is equal to self, and accessing
2480         the argument's name directly if it's a protocol.
2482 2004-06-03  David Ayers  <d.ayers@inode.at>
2484         * Protocol.m ([-isEqual:]): Test the class of the argument.
2486 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2488         * configure.ac (includedir): Rename to ...
2489         (includedirname).
2490         * Makefile.in: s/includedir/includedirname/.
2492         PR target/11572
2493         * configure.ac (includedir): Set to "include"
2494         except for Darwin.
2495         (libext) Set to empty except for Darwin.
2496         * configure: Regenerate
2497         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2498         s/include/$(includedir)/g.
2500 2004-05-25  Daniel Jacobowitz  <drow@false.org>
2502         * Makefile.in: Add .NOEXPORT.
2504 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2506         Merge from the libobjc-branch
2507         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
2509                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2511         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2513                 * Makefile.in (OBJC_H): Add objc-deps.h.
2515         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
2517                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2518                 ([-hash], [-isEqual:]): New methods.
2520         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
2522                 * sarray.c (sarray_free): Add a better comment.
2524         2004-01-27  Adam Fedor  <fedor@gnu.org>
2526                 * hash.c (hash_add): Cast cachep to int.
2527                 * selector.c (__sel_register_typed_name): Cast
2528                 soffset_decode to int.
2530         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
2532                 * selector.c: Rename register_selectors_from_list to
2533                 __objc_register_selectors_from_list. Update caller.
2534                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2535                 while registering selectors. Use __sel_register_typed_name instead
2536                 of sel_register_typed_name. Check for NULL method_name:s.
2537                 (pool_alloc_selector): New function.
2538                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2539                 selector structures.
2540                 * sendmsg.c (class_add_method_list): Use
2541                 __objc_register_selectors_from_list.
2542                 * objc/runtime.h: Add __objc_register_selectors_from_list.
2544         2004-01-25  Adam Fedor  <fedor@gnu.org>
2545                     Nicola Pero  <n.pero@mi.flashnet.it>
2546                     Andrew Pinski  <pinskia@physics.uc.edu>
2548                 * objc/objc-decls.h: New file.
2549                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2550                 (_objc_load_callback): Likewise.
2551                 (_objc_object_alloc): Likewise.
2552                 (_objc_object_copy): Likewise.
2553                 (_objc_object_dispose): Likewise.
2555         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
2557                 * archive.c: s/__inline__/inline
2558                 * sendmsg.c: Likewise.
2560                 * encoding.c: Remove FIXME about the warning
2561                 about unused variable.
2562                 * sendmsg.c: Add a FIXME comment saying that
2563                 this should be using libffi.
2565                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2568 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
2570         * archive.c (objc_read_class): Initialize class_name.
2571         (objc_read_selector): Initialize selector_name.
2573 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
2575         * Makefile.in (toolexecdir): Remove trailing space.
2577 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2579         PR libobjc/14948
2580         * configure.ac: De-precious CC so multilibs work.
2581         * configure: Regenerate.
2583 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2585         * configure.ac: Restore toolexecdir.
2586         * Makefile.in: Restore toolexecdir.
2587         * configure: Regenerate.
2589 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2591         * configure.ac: Remove (unused) glibcpp_prefixdir.
2592         * configure: Regenerate.
2594         * configure.in: Rename to configure.ac.
2595         * Makefile.in: Update to match.
2597         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2598         Replace glibcpp_toolexeclibdir with toolexeclibdir.
2599         * configure.in: Remove glibcpp_toolexecdir (unused).
2600         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
2601         config.h or stamp-h (unused).  Move one comment to the right place.
2602         * configure: Regenerate.
2603         * config.h.in: Remove (unused).
2605         * config.h.in: Regenerate with autoheader.
2607         * Makefile.in: Remove (unused) gcc_version_trigger.
2608         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
2609         gcc_version_trigger.
2610         * configure: Regenerate.
2612         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2613         Sort file into sections.  Remove dnl where appropriate.  Fix
2614         other style issues.
2615         * configure: Regenerate.
2617         * configure.in: Replace old AC_PROG_CC hack with new one.
2618         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2619         are no subdirectory output files, so this is fine).  Change prereq
2620         to autoconf 2.59.
2621         * aclocal.m4: Include ../config/no-executables.m4.
2622         * configure: Regenerate with autoconf 2.59.
2624         * configure.in: Improve comments on gthread_cflags.  Improve m4
2625         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2626         * configure: Regenerate.
2628         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
2629         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
2630         redundant checks for values of RANLIB, AR, INSTALL.
2631         * configure: Regenerate.
2633         * configure.in: Clean up handling of
2634         --enable-version-specific-runtime-libs and related variables;
2635         replace 'if test' with 'case' where reasonable.  Fix comments.
2636         Remove useless libstdcxx_interface.
2637         * configure: Regenerate.
2639         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2640         Replace uses of target_alias with target_noncanonical.
2641         * aclocal.m4: Include ../config/acx.m4.
2642         * configure: Regenerate.
2643         * Makefile.in: Replace uses of target_alias with target_noncanonical.
2644         Fix copyright statement.
2646         * configure.in: Hand-inline bulky, confusing macros from
2647         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
2648         Update copyright notice.  Remove stuff for automake, which isn't
2649         used in this directory.  Remove emacs local variables.
2650         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
2651         * configure: Regenerate.
2653 2004-03-16  Manfred Hollstein  <mh@suse.com>
2655         * Makefile.in, configure.in, configure: Update copyright years.
2657 2004-03-15  Manfred Hollstein  <mh@suse.com>
2659         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2660         definition from configure.in.
2661         * configure.in (PACKAGE): Add definition.
2662         (VERSION): Add definition; substitute it in output files.
2663         * configure: Re-generate.
2665 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
2667         * objc/hash.h (hash_string, compare_strings):
2668         Add type-casts to make Objective-C++ happy.
2669         * objc/typedstream.h (objc_get_stream_class_version):
2670         Rename parameter from 'class' to 'class_name' to make
2671         Objective-C++ happy.
2673 2004-03-01  Michael Matz  <matz@suse.de>
2675         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2677 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
2679         * objc/objc-api.h (objc_super): The 'class' field shall
2680         be named 'super_class' #ifdef __cplusplus.
2682 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
2684         PR target/10781
2685         * encoding.c (rs6000_special_round_type_align): Define.
2687 2004-01-14  Adam Fedor  <fedor@gnu.org>
2689         PR libobjc/12155
2690         * selector.c (__objc_register_instance_methods_to_class): Free
2691         new_list if not used.
2693 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
2695         PR libobjc/11904
2696         * sarray.c (sarray_free): Free array->is_copy_of latter.
2698 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
2700         PR 11433
2701         * Protocol.m (descriptionForInstanceMethod): Don't dereference
2702         instance_methods if it's NULL.
2703         (descriptionForClassMethod): Likewise for class_methods.
2705 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2707         * Makefile.in (runtime-info.h): Remove -Wp.
2709 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2711         * Makefile.in (CC1OBJ): Remove.
2712         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2713         correctly.
2714         Use .m extension for temporary file.
2715         Remove assembler temp file.
2717 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2719         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2721 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2723         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2725 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2727         * configure: Regenerate.
2729 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
2731         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2732         (libdir)/gcc-lib/ when installing.
2733         * configure: Regenerate.
2735 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
2737         libobjc/9969
2738         * sendmsg.c (get_imp): Fixed rare threading problem.
2739         (__objc_responds_to): Similar fixes.
2740         (objc_msg_lookup): Similar fixes.
2741         (__objc_init_install_dtable): Lock the runtime before checking if the
2742         table is installed.
2744 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2746         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2747         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2748         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2749         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2750         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2751         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2752         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2753         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2754         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2755         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2756         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2758 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
2759                           Nicola Pero  <n.pero@mi.flashnet.it>
2761         libobjc/10742
2762         * init.c (class_superclass_of_class): New function.
2763         (create_tree_of_subclasses_inherited_from): Use it.
2764         (__objc_tree_insert_class): Likewise.
2765         (class_is_subclass_of_class): Likewise.
2767 2003-04-11  David Chad  <davidc@freebsd.org>
2768             Loren J. Rittle  <ljrittle@acm.org>
2770         libobjc/8562
2771         * objc/hash.h (hash_string): Constify correctly.
2772         (compare_ptrs): Use direct compare.
2773         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2774         * objc/sarray.h: Global rename index to indx to avoid shadow.
2776 2003-03-12  Andreas Schwab  <schwab@suse.de>
2778         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2779         glibcpp_toolexeclibdir.
2780         * configure: Rebuilt.
2782 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2784         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2785         config.status.
2786         * configure: Rebuilt.
2788 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2790         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2791         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2792         version_specific_libs is enabled.
2793         * configure: Rebuilt.
2795 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2797         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2798         (install-libs, install-headers): Prepend $(DESTDIR) to
2799         destination paths in all (un)installation commands.
2801 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
2803         * thr-objc.c: Include coretypes.h and tm.h.
2805 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
2807         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2809 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
2811         * configure.in: Remove skip-this-dir support.
2812         * configure: Regenerate.
2814 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2816         * Makefile.in (all): Fix multilib parallel build.
2818 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2820         * sendmsg.c (nil_method): Declare not to take a variable number of
2821         args.
2822         (objc_msg_lookup): Cast nil_method to IMP before returning it.
2823         (objc_msg_lookup_super): The same.
2825 2002-09-10  Jan Hubicka  <jh@suse.cz>
2827         * nil_method.c (nil_method): No longer defined with variable
2828         arguments.
2830 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
2832         * objc/encoding.h: Fix formatting.
2833         * objc/hash.h: Likewise.
2834         * objc/objc-api.h: Likewise.
2835         * objc/runtime.h: Likewise.
2836         * objc/thr.h: Likewise.
2837         * archive.c: Likewise.
2838         * class.c: Likewise.
2839         * encoding.c: Likewise.
2840         * gc.c: Likewise.
2841         * hash.c: Likewise.
2842         * init.c: Likewise.
2843         * misc.c: Likewise.
2844         * nil_method.c: Likewise.
2845         * objects.c: Likewise.
2846         * sarray.c: Likewise.
2847         * selector.c: Likewise.
2848         * sendmsg.c: Likewise.
2849         * thr-mach.c: Likewise.
2850         * thr.c: Likewise.
2852 2002-06-25  DJ Delorie  <dj@redhat.com>
2854         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
2855         GLIBCPP_TOPREL_CONFIGURE.
2856         * configure.in: Call it before AC_CANONICAL_SYSTEM.
2857         * configure: Regenerate.
2859 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2861         * Object.m (forward, read, write): Fix unused parameter warnings.
2862         * encoding.c: Include <stdlib.h>.
2863         (target_flags): Mark with attribute unused.
2864         (atoi): Delete.
2865         * runtime.h (__objc_selector_max_index): Change to unsigned int.
2866         (__objc_generate_gc_type_description): Prototype.
2867         * selector.c (__objc_selector_max_index): Change to unsigned int.
2869 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2871         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
2872         we always have a return value: if __objc_msg_forward does not
2873         supply a forwarding implementation, return the default
2874         __builtin_apply based one.
2876 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2878         * Object.m: Fix signed/unsigned warning.
2879         * Protocol.m: Likewise.
2880         * archive.c: Always include stdlib.h.
2881         (objc_read_short, objc_read_unsigned_short, objc_read_int,
2882         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
2883         Fix signed/unsigned warning.
2884         (objc_write_type, objc_read_type, objc_write_types,
2885         objc_read_types): Ensure ctype 8-bit safety.
2886         (__objc_no_write, __objc_no_read): Mark unused parameters.
2887         * class.c (class_table_setup): Specify void arg.
2888         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
2889         objc_skip_typespec, objc_skip_offset,
2890         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
2891         (objc_layout_structure_next_member): Ensure variables are
2892         initialized.
2893         * gc.c (__objc_generate_gc_type_description,
2894         class_ivar_set_gcinvisible): Mark unused parameters.
2895         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
2896         unused parameters.
2897         (__objc_init_protocols) Fix signed/unsigned warning.
2898         * nil_method.c (nil_method): Mark unused parameters.
2899         * thr.h (objc_thread_callback): Specify void arg.
2900         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
2901         signed/unsigned warning.
2902         (sarray_free): Fix formatting.
2903         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
2904         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
2906 2002-06-09  Andreas Jaeger  <aj@suse.de>
2908         * encoding.c (objc_layout_structure_next_member): Remove unused
2909         variable.
2911 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2913         * Makefile.in (SHELL): Set to @SHELL@.
2914         (WARN_CFLAGS): New.
2915         (ALL_CFLAGS): Add $(WARN_CFLAGS).
2917 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2919         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
2920         * configure: Regenerate.
2922 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
2924         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2925         script entry, and set LD to it when configuring multilibs.
2926         * configure: Rebuilt.
2928 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
2930         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
2932 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
2934         PR objc/6107
2935         * objc/objc-api.h (struct objc_protocol_list): Change type of
2936         member count from int to size_t.
2938 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2940         PR libobjc/4039
2941         * aclocal.m4: Replace with version copied from libstdc++-v3.
2942         * configure.in: Update for changes to aclocal and Makefile.
2943         * configure: Regenerate.
2944         * Makefile.in: Correct install of multilibs and shared libs, use
2945         INSTALL_DATA for include files.
2947 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
2949         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
2950         categories - when an unclaimed category was found, the loop was
2951         doing two steps forward instead of one, so that in certain cases
2952         it was failing to properly load all the categories.  (Reported
2953         with fix by Alexander Malmberg <alexander@malmberg.org>).
2955 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
2957         * encoding.c: Add target_flags.
2959 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
2961          * objc/objc-api.h (_C_VECTOR): New.
2963          * encoding.c (VECTOR_TYPE): New.
2965 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2967         * class.c: Rewritten the class table to use optimized, lock-free
2968         lookup.  This more than doubles the speed of class method
2969         invocations.  (class_table_setup), (class_table_insert),
2970         (class_table_replace), (class_table_get_safe),
2971         (class_table_next), (class_table_print),
2972         (class_table_print_histogram): New functions.
2973         (__objc_init_class_tables): Use class_table_setup.
2974         (__objc_add_class_to_hash): Use class_table_get_safe and
2975         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
2976         assert the existence of the table; do not lock the runtime; use
2977         class_table_get_safe.  (objc_next_class): Use class_table_next.
2978         (__objc_resolve_class_links): Use class_table_next.
2979         (class_pose_as): Use class_table_replace.
2981 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
2983         * gc.c: Removed the DEBUG declaration.
2985 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2987         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
2988         rather than through objc_thread_id, to save a function call.
2989         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
2990         Ditto.
2992 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2994         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
2995         to cast an id to a Class, which can not be done.  Make the check
2996         by using CLS_ISMETA on the class pointer instead.
2997         (object_is_meta_class): Similar fix.
2999 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
3001         * configure.in (AC_EXEEXT): Work around in case it expands to
3002         nothing, as in autoconf 2.50.
3003         * acinclude.m4: Likewise.
3004         * configure: Rebuilt.
3006 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
3008         * THREADS: Explain that when we compile libobjc inside GCC, we
3009         always use thr-objc.c as a backend, which uses GCC's thread code.
3011 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
3013         * init.c (__objc_send_message_in_list): When setting a new entry
3014         in __objc_load_methods use the method IMP as key, but check to see
3015         if the method is in the hashtable by looking at the IMP also.
3016         Also ... call the method after adding it to the hashtable rather
3017         than before ... thus preventing an obscure possibility of infinite
3018         recursion if a +load method itself loads a subclass.
3020 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
3022         * init.c (__objc_send_message_in_list): When setting a new entry
3023         in __objc_load_methods use the method name as key, not the method
3024         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
3026 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3028         * objc-features.texi: Move to ../gcc/objc.texi.
3029         * fdl.texi: Remove.
3030         * Makefile.in: Don't generate documentation from
3031         objc-features.texi.
3033 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
3035         * fdl.texi: New file.
3036         * objc-features.texi: Simplify.
3037         * Makefile.in: Adjust accordingly.
3039 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3041         * objc-features.texi: Use the GFDL.
3043 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
3045         * encoding.c (REAL_TYPE): Define.
3047 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
3049         * encoding.c (TYPE_MODE): Define.
3051 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
3053         * thr.c (objc_thread_add): New function.
3054         (objc_thread_remove): Ditto.
3055         * objc/thr.h: Declare them.
3056         * libobjc.def: Mention them.
3058 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
3060         * objc-features.texi: Document the @compatibility_alias compiler
3061         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3063 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3065         * sendmsg.c (__objc_forward): Delete strlen() declaration.
3067 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
3069         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3070         we're not interested in the result and they might fail.
3071         * configure: Regenerated.
3073 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3075         * objc-features.texi: Use @email.
3077 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3079         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3080         printf.
3082 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
3084         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3085         determines the value dynamically.
3087 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
3089         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3090         libraries to provide a function that returns the real forwarding
3091         function. This can alleviate problems __builtin_apply() and
3092         friends have on various platforms. (Solution suggested by Helge
3093         Hess.)
3095         * objc/objc-api.h: Define __objc_msg_forward.
3097         * sendmsg.c: Define gen_rtx_REG.
3099 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3101         * thr-rtems.c: New file. Stub to compile.
3103 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3105         * configure: Rebuilt with new libtool.m4.
3107 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3109         * configure.in: Create a config.h file. Check for <sched.h>.
3110         * configure: Regenerate.
3112         * config.h.in: Check for <sched.h>.
3114 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
3116         * configure: Regenerate after change to ../libtool.m4.
3118 2000-08-14  Andreas Schwab  <schwab@suse.de>
3120         * objc-features.texi (Top): Move @menu at end of node.
3122 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
3124         * objc-features.texi: Move @node Top before @menu.
3126 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3128         * objc-features.texi: Documented the new -fconstant-string-class
3129         option.
3131 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3133         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3134         improve the Posix thread support for Objective-C.
3136 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3138         * aclocal.m4: Replace copy of ../libtool.m4 with
3139         sinclude(../libtool.m4).
3141 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
3143         * configure.in: Added libtool support; build shared libraries
3144         if --enable-shared was passed on command line.
3145         * Makefile.in: Modified most compilation commands to use libtool.
3146         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3147         libtool distribution.
3149 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3151         * sarray.c, Object.m: Removed the explicit prototypes for strlen
3152         and memcpy on 64-bit platforms (Suggested by Rodney Brown
3153         <rdb@cup.hp.com>).
3155 2000-05-12  H.J. Lu  (hjl@gnu.org)
3157         * Makefile.in (GTHREAD_FLAGS): New.
3158         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3159         (OBJC_THREAD_FILE): Changed to thr-objc.
3161         * configure.in (GTHREAD_FLAGS): New, check and replace it for
3162         Makefile.
3163         (OBJC_THREAD_FILE): Removed.
3165         * thr-objc.c: New.
3167 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3169         * objc/hash.h: Include string.h.
3171 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3173         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3175 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3177         * Object.m (strlen): Provide prototype on all 64bit platforms,
3178         not only alpha.
3179         * sarray.c (memcpy): Likewise.
3180         * encoding.c (objc_layout_finish_structure): Don't use
3181         ROUND_TYPE_ALIGN on sparc.
3183         * encoding.c (objc_layout_structure_next_member): Do the whole
3184         procedure even for the first member, so that we get correct
3185         alignment.
3187 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3189         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3190         comments.
3192 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3194         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3196 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
3198         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3200 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
3202         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3203         the compiler when building C code.
3205 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
3207         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3208         libdir, libsubdir and tooldir.
3210 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
3212         * init.c (__objc_force_linking): Make global.
3214 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
3216         * configure.in (AC_EXEEXT): Remove call.
3217         (compiler_name): Explicitly check with no extension and .exe
3218         extension.
3219         * configure: Regenerate.
3221 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3223         * Makefile.in (CC1OBJ): Define in terms of CC.
3224         (runtime-info.h): Use.
3226 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3228         * objc-features.texi: Updated the URL to Boehm's GC page.
3230 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3232         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3233         the char as being signed (patch from Daniel Jacobowitz
3234         <drow@false.org>).
3236 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3238         * configure.in (AC_PREREQ): Update to 2.13.
3239         (AC_EXEEXT): Call to find possible file extension.
3240         (compiler_name): Use.
3241         * configure: Regenerate.
3243 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
3245         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3247 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
3249         * configure.in (thread_file): Correct and simplify code to find
3250         the thread file.
3251         * configure: Rebuilt.
3253 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
3255         * configure.in (compiler_name): Add check to detect if this
3256         language's compiler has been built.
3257         * configure: Regenerate.
3259 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3261         *  configure.in: Use AC_PREREQ(2.12.1).
3263 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
3265         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3267 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3269         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3271 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3273         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3275 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
3277         * objc-features.texi (Top): Changed the email address.
3278         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3280 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
3282         * encoding.c: Redefine get_inner_array_type to get the first entry
3283         in the structure.
3285 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
3287         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3288         (objc_get_type_qualifiers): Similarly.
3289         * objc/encoding.h (_C_BYREF): Define.
3290         (_F_BYREF): Define.
3292 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
3294         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3295         works out on 64-bit systems.
3297 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
3299         * Makefile.in (INCLUDES): Make it multilib-friendly.
3301 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
3303         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3305 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
3306                          Jeffrey A Law  (law@cygnus.com)
3308         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3309         (FLAGS_TO_PASS): Added.
3310         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3312         * archive.c: Change config.h to tconfig.h.
3314         * configure.in: Find gcc's object directory even for multilibs.
3316 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
3318         * configure.in: Escape ^ in grep string.
3319         * configure: Rebuilt.
3321 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
3323         * All .h files pushed down into the objc/ subdirectory.
3324         * Makefile.in (copy_headers): Corresponding changes.
3325         * configure.in (AC_INIT): Corresponding changes.
3326         * configure: Rebuilt.
3328 1998-09-30  Ben Elliston  <bje@cygnus.com>
3329             Jeff Law      <law@cygnus.com>
3331         * Makefile.in: Rewrite.
3333         * configure.in: Likewise.
3335         * configure: Regenerate.
3337         * All .c files.  Remove "objc" prefix when including objc header
3338         files.  Include tconfig.h, not ../tconfig.h.
3340 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
3342         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3343         (get_inner_array_type): Define.
3345 1998-09-21  Ben Elliston  <bje@cygnus.com>
3347         * New directory.  Moved files from ../gcc/objc.