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