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