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