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