PR79114 use decayed type in std::throw_with_nested assertion
[official-gcc.git] / libobjc / ChangeLog
blobc3d1ba259da24615088b30277372920eb3388e65
1 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
3         PR other/79046
4         * configure: Regenerated.
5         * configure.ac: Add GCC_BASE_VER.
6         * Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
7         get version from BASE-VER file.
8         * configure: Regenerated.
10 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
12         Update copyright years.
14 2016-12-01  Matthias Klose  <doko@ubuntu.com>
16         * configure.ac: Don't use pkg-config to check for bdw-gc.
17         * configure: Regenerate.
19 2016-11-30  Matthias Klose  <doko@ubuntu.com>
21         * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking
22         for the existence of the pkg-config modules.
23         * Regenerate.
25 2016-11-30  Jakub Jelinek  <jakub@redhat.com>
27         * configure.ac (--enable-objc-gc): If not given, default to
28         enable_objc_gc=no.
29         * configure: Regenerated.
31 2016-11-30  Matthias Klose  <doko@ubuntu.com>
33         * configure.ac (--enable-objc-gc): Allow to configure with a
34         system provided boehm-gc.
35         * configure: Regenerate.
36         * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
37         * gc.c: Include system bdw-gc headers.
38         * memory.c: Likewise.
39         * objects.c: Likewise.
41 2016-11-15  Matthias Klose  <doko@ubuntu.com>
43         * aclocal.m4: Regenerate.
44         * configure: Likewise.
46 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
48         Update copyright years.
50 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
52         PR libobjc/24775
53         * encoding.c (_darwin_rs6000_special_round_type_align): Use
54         __CHAR_BIT__ instead of BITS_PER_UNIT.
55         (objc_sizeof_type): Likewise.
56         (objc_layout_structure): Likewise.
57         (objc_layout_structure_next_member): Likewise.
58         (objc_layout_finish_structure): Likewise.
59         (objc_layout_structure_get_info): Likewise.
61 2015-11-03  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
63         PR libobjc/24775
64         * encoding.c (objc_layout_finish_structure): Remove usage of
65         ROUND_TYPE_SIZE.
67 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
69         PR libobjc/24775
70         * sendmsg.c (tm.h): Remove include.
72 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
74         PR libobjc/24775
75         * sendmsg.c (gen_rtx): Remove macro.
76         (gen_rtx_MEM): Likewise.
77         (gen_rtx_REG): Likewise.
78         (rtx): Likewise.
80 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
82         PR libobjc/24775
83         * sendmsg.c: Remove check of STRUCT_VALUE macro.
85 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
87         * configure.ac: Remove manual SJLJ check.
88         * config.h.in: Regenerate.
89         * configure: Likewise.
90         * exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
92 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
94         * aclocal.m4: Regenerated with automake-1.11.6.
96 2015-05-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
98         * configure: Regenerate.
100 2015-05-01  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
102         * acinclude.m4: Include bitfields.m4.
103         * config.h.in: Regenerate.
104         * configure: Likewise.
105         * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
106         * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
108 2015-04-29  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
110         * encoding.c (objc_layout_structure_next_member): Check the value of
111         PCC_BITFIELD_TYPE_MATTERS not if it is defined.
113 2015-02-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
115         PR libobjc/63765
116         * thr.c (_XOPEN_SOURCE): Remove.
118 2015-01-27  Matthias Klose  <doko@ubuntu.com>
120         * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
122 2015-01-09  Dimitris Papavasiliou  <dpapavas@gmail.com>
124         PR libobjc/51891
125         * ivars.c: Add a check for classes without instance
126         variables, which have a NULL ivar list pointer.
128 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
130         Update copyright years.
132 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
134         PR bootstrap/63784
135         * configure: Regenerated.
137 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
139         PR target/63610
140         * configure: Regenerate.
142 2014-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
144         * thr.c (_XOPEN_SOURCE): Define as 600.
146 2014-07-27  Alan Modra  <amodra@gmail.com>
147             Matthias Klose  <doko@ubuntu.com>
149         PR libobjc/61920
151         * encoding.c: Define rs6000_special_adjust_field_align_p.
153 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
155         Update copyright years
157 2013-09-20  Alan Modra  <amodra@gmail.com>
159         * configure: Regenerate.
161 2013-07-21   Ondřej Bílka  <neleai@seznam.cz>
163         * class.c: Fix typos.
164         * encoding.c: Likewise.
165         * init.c: Likewise.
166         * objc-private/runtime.h: Likewise.
167         * objc/runtime.h: Likewise.
168         * objc-sync.c: Likewise.
170 2013-07-04  Kai Tietz  <ktietz@redhat.com>
172         * exception.c: Add check for SjLj to SEH blocks.
174 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
176         Update copyright years.
178 2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
180         * encoding.c (TARGET_VSX): Provide definitions based on the
181         current compilation options, and not based off the target options
182         structure.
183         (TARGET_ALTIVEC): Likewise.
184         (TARGET_64BIT): Likewise.
186 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
188         * configure: Regenerated.
190 2012-07-19  Tristan Gingold  <gingold@adacore.com>
191             Richard Henderson  <rth@redhat.com>
193         * exception.c (__gnu_objc_personality_seh0): New function.
195 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
197         * configure: Regenerated.
199 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
201         * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
202         * configure: Regenerate.
204         * thr.c (_XOPEN_SOURCE): Define unconditionally.
206 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
208         * configure: Regenerate.
210 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
212         * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
213         * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
214         * configure: Regenerate.
215         * config.h.in: Regenerate.
217 2011-10-17  Paul Brook  <paul@codesourcery.com>
218             Matthias Klose  <doko@ubuntu.com>
220         * exception.c (parse_lsda_header): hardcode ttype_encoding for older
221         ARM EABI toolchains.
222         (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
224 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
226         PR libobjc/49883
227         * init.c (__objc_exec_class): Work around a bug in clang's code
228         generation.  Clang sets the class->info field to values different
229         from 0x1 or 0x2 (the only allowed values in the traditional GNU
230         Objective-C runtime ABI) to store some additional information, but
231         this breaks backwards compatibility.  Wipe out all the bits in the
232         fields other than the first two upon loading a class.
234 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
236         * class.c (objc_lookup_class): Added back for compatibility with
237         clang which seems to emit calls to it.
239 2011-10-08  Richard Frith-Macdonald <rfm@gnu.org>
240             Nicola Pero  <nicola.pero@meta-innovation.com>
242         PR libobjc/50428
243         * sendmsg.c (__objc_send_initialize): If a class does not have an
244         +initialize method, search for an +initialize method in the
245         superclass and in the ancestor classes and execute the first one
246         that is found.  This makes the GNU runtime behave in the same way
247         as the Apple/NeXT runtime with respect to +initialize methods and
248         subclassing.
250 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
252         PR libobjc/50002
253         * class.c (__objc_update_classes_with_methods): Iterate over meta
254         classes as well as normal classes when refreshing the method
255         implementations.  This fixes replacing class methods.
257 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
259         * class.c (class_getSuperclass): Fixed to work with meta classes
260         still in construction too.
262 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
264         * class.c (class_getSuperclass): Fixed typo in comment.
265         
266 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
268         PR libobjc/49882
269         * class.c (class_getSuperclass): Return the superclass if the
270         class is in construction.
271         * objc/runtime.h (class_getSuperclass): Updated documentation.
273 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
275         * Makefile.in (INCLUDES): Search
276         $(srcdir)/$(MULTISRCTOP)../libgcc.
278 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
280         * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
282 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
284         * configure.ac (VERSION): Bumped to 4:0:0.
285         * configure (VERSION): Likewise.
287 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
289         * objc/README: Updated.
290         * objc-private/selector.h: Updated comments.
291         
292 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
294         * sendmsg.c (class_get_instance_method): Removed.
295         (class_get_class_method): Removed.
296         (objc_get_uninstalled_dtable): Removed.
298 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
300         * objc-private/module-abi-8.h (class_get_instance_size): Removed.
301         * objects.c (class_create_instance): Removed.
302         * error.c (__USE_FIXED_PROTOTYPES__): Removed.
303         * gc.c (__objc_generate_gc_type_description): Use
304         class_getInstanceSize() instead of class_get_instance_size().
305         * selector.c (sel_types_match): Made static.
306         (sel_get_typed_uid): Removed.
307         (sel_get_any_typed_uid): Removed.
308         (sel_get_name): Removed.
309         (sel_get_type): Removed.
310         (sel_register_name): Removed.
311         (sel_register_typed_name): Removed.
312         (sel_get_uid): Removed.
314 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
316         * encoding.c (method_get_number_of_arguments): Removed.
317         (method_get_sizeof_arguments): Removed.
319 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
321         * class.c (objc_next_class): Removed.
322         (class_pose_as): Removed.
323         (CLASSOF): Removed.
324         (class_table_replace): Removed.
325         (objc_lookup_class): Removed.
327 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
329         Removed the Traditional Objective-C runtime public API.
330         * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
331         (install-headers): Do not create the objc/deprecated directory and
332         do not install the deprecated headers.
333         (OBJC_H): Removed encoding.h and objc-api.h.
334         * Object.m: Removed all methods with the exception of -class and
335         -isEqual:.  Updated includes.  ([-class]): Use Modern API.
336         * objc/Object.h: Do not include deprecated/Object.h.
337         * objc/deprecated/Object.h: Removed.
338         * linking.m (__objc_linking): Call [Object class] instead of
339         [Object name].
340         * Protocol.m: Removed all methods with the exception of -isEqual:.
341         Updated includes.
342         * objc/Protocol.h: Do not include deprecated/Protocol.h.
343         * objc/deprecated/Protocol.h: Removed.
344         * objc/deprecated/struct_objc_symtab.h: Removed.
345         * objc/deprecated/struct_objc_module.h: Removed.
346         * objc/deprecated/struct_objc_ivar.h: Removed.
347         * objc/deprecated/struct_objc_ivar_list.h: Removed.
348         * objc/deprecated/struct_objc_method.h: Removed.
349         * objc/deprecated/struct_objc_method_list.h: Removed.
350         * objc/deprecated/struct_objc_protocol_list.h: Removed.
351         * objc/deprecated/struct_objc_category.h: Removed.
352         * objc/deprecated/MetaClass.h: Removed.
353         * objc/deprecated/objc_msg_sendv.h: Removed.  
354         * objc/deprecated/README: Removed.
355         * objc/deprecated/struct_objc_class.h: Removed.
356         * objc/deprecated/struct_objc_protocol.h: Removed.
357         * objc/deprecated/struct_objc_selector.h: Removed.
358         * objc/encoding.h: Removed.
359         * objc/message.h (struct objc_super): Removed the definition for
360         the Traditional Objective-C runtime API.
361         * objc/objc.h: Do not include objc/objc-decls.h.
362         deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
363         deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
364         and deprecated/objc_msg_sendv.h.  Uncommented new definition of
365         Protocol *.
366         * objc/objc-api.h: Removed.
367         * objc/runtime.h: Updated comments.  Removed check to detect
368         concurrent usage of Traditional and Modern APIs.
369         * objc-private/module-abi-8.h: Always define struct objc_class and
370         struct objc_protocol.  (struct objc_protocol_list): Changed type
371         of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
372         (class_get_instance_size): Added.
373         * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
374         'struct objc_protocol *' as argument, not a 'Protocol *'.
375         * objc-private/runtime.h: Updated comments.
376         * objc-private/selector.h (struct objc_selector, sel_eq): Added.
377         * class.c: Include objc-private/selector.h.
378         (objc_get_meta_class): Return a Class instead of a MetaClass.
379         * encoding.c (method_get_next_argument): Removed.
380         (method_get_first_argument): Removed.
381         (method_get_nth_argument): Removed.
382         * gc.c: Include objc/runtime.h instead of objc/encoding.h.
383         Include objc-private/module-abi-8.h and ctype.h.
384         * protocols.c (__objc_protocols_add_protocol): Take a 'struct
385         objc_protocl *' as argument, not a 'Protocol *'.
386         (class_addProtocol): Added casts to 'struct objc_protocol *' and
387         'Protocol *'.
388         (class_copyProtocolList): Likewise.
389         (protocol_conformsToProtocol): Likewise.
390         (protocol_copyProtocolList): Likewise.
391         * sarray.c: Include objc-private/module-abi-8.h.
392         * sendmsg.c (method_get_next_argument): Removed.
393         (method_get_first_argument): Removed.
394         (method_get_nth_argument): Removed.
395         (objc_msg_sendv): Removed.
396         (arglist_t, retval_t): New.  (class_get_class_method): Take a
397         'Class', not 'MetaClass', argument.
398         * thr.c: Include module-abi-8.h.
399         
400 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
402         * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
403         and objc_get_uninstalled_dtable.h.
404         * objc/deprecated/struct_objc_static_instances.h: Removed.
405         * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.       
406         * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
407         and deprecated/objc_get_uninstalled_dtable.h.
408         
409 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
411         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
412         * objc/deprecated/objc_object_alloc.h: Removed.
413         * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
414         * objects.c (_objc_object_alloc, _objc_object_dispose,
415         _objc_object_copy): Removed.
416         * libobjc.def (__objc_object_alloc, __objc_object_copy,
417         __objc_object_dispose): Removed.
418         
419 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
421         * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
422         * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
423         * objc/deprecated/METHOD_NULL.h: Removed.
424         
425 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
427         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
428         objc_malloc.h and objc_unexpected_exception.h.
429         (exception.lo): Do not use -Wno-deprecated-declarations.
430         (exception_gc.lo): Likewise.
431         * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
432         deprecated/objc_malloc.h and
433         deprecated/objc_unexpected_exception.h.
434         * objc/deprecated/objc_valloc.h: Removed.
435         * objc/deprecated/objc_malloc.h: Removed.
436         * objc/deprecated/objc_unexpected_exception.h: Removed.
437         * exception.c (_objc_unexpected_exception): Removed.
438         (objc_exception_throw): Do not check for
439         _objc_unexpected_exception.
440         * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
441         _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.        
442         * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
443         
444 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
446         * objc/objc.h: Do not include deprecated/STR.h.
447         * objc/deprecated/STR.h: Removed.
448         * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
449         
450 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
452         * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
453         (OBJC_DEPRECATED_H): Likewise.
454         * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
455         objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
456         objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
457         hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
458         sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
459         sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
460         * objc/sarray.h: Removed.
461         * objc/hash.h: Removed.
462         * objc/deprecated/sarray.h: Removed.
463         * objc/deprecated/hash.h: Removed.
464         * objc/Object.h: Do not include objc/deprecated/hash.h
465         * Object.m: Include string.h.
466         * objc/objc-api.h: Do not include objc/deprecated/hash.h.
467         * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
468         Removed.
470 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
472         * Object.m ([-forward::]): Removed.
473         * objc/deprecated/Object.h ([-forward::]): Removed.
474         * sendmsg.c (__objc_forward): Updated comments.
475         
476 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
478         * Makefile.in (OBJC_H): Removed objc-list.h.
479         (OBJC_DEPRECATED_H): Removed objc-list.h.
480         * objc/objc-list.h: File removed.
481         * objc/deprecated/objc-list.h: File removed.
483 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
485         * Makefile.in (OBJC_H): Removed typedstream.h.
486         (OBJC_DEPRECATED_H): Removed typedstream.h.
487         (C_SOURCE_FILES): Removed archive.c.
488         (Object.lo): Rule removed.
489         (Object_gc.lo): Likewise.
490         (archive.lo): Likewise.
491         (archive_gc.lo): Likewise.
492         * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
493         [-awake]): Removed.
494         Do not include deprecated/typedstream.h.
495         * Object.m: Removed the same methods.
496         * archive.c: File removed.
497         * objc/typedstream.h: File removed.
498         * objc/deprecated/typedstream.h: File removed.
499         * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
500         __objc_write_class, __objc_write_object, __objc_write_selector,
501         objc_close_typed_stream, objc_end_of_typed_stream,
502         objc_flush_typed_stream, objc_get_stream_class_version,
503         objc_open_typed_stream, objc_open_typed_stream_for_file,
504         objc_read_array, objc_read_char, objc_read_int, objc_read_long,
505         objc_read_object, objc_read_selector, objc_read_short,
506         objc_read_string, objc_read_type, objc_read_types,
507         objc_read_unsigned_char, objc_read_unsigned_int,
508         objc_read_unsigned_long, objc_read_unsigned_short,
509         objc_write_array, objc_write_char, objc_write_int,
510         objc_write_long, objc_write_object, objc_write_object_reference,
511         objc_write_root_object, objc_write_selector, objc_write_short,
512         objc_write_string, objc_write_string_atomic, objc_write_type,
513         objc_write_types, objc_write_unsigned_char,
514         objc_write_unsigned_int, objc_write_unsigned_long,
515         objc_write_unsigned_short): Removed.
516         
517 2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
519         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
520         * objc/deprecated/objc_error.h: Removed.
521         * objc/objc-api.h: Do not include deprecated/objc_error.h.
522         * libobjc.def (objc_error, objc_verror): Removed.
523         * error.c (_objc_error_handler, objc_error, objc_verror,
524         objc_set_error_handler): Removed.
525         * Object.m ([-error:], [-perform:], [-perform:with:],
526         [-perform:with:with], [-subclassResponsibility:],
527         [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
528         Removed.
529         * objc/deprecated/Object.h: Removed the same methods.
530         * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
531         method after trying to invoke the "doesNotRecognize:" method.
532         
533 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
535         * sendmsg.c: Reindented part of the file.  No non-trivial changes
536         in code.
538 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
540         * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
541         not objc_lookup_class.
543 2011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
544             David Ayers  <ayers@fsfe.org>
546         PR libobjc/38307
547         * sendmsg.c: Include objc/hash.h.
548         (get_implementation): New function, mostly with code from get_imp
549         updated to support the new +initialize dispatch table logic.
550         (get_imp): Use get_implementation.
551         (__objc_responds_to): Updated to support the new +initialize
552         dispatch table logic.
553         (class_respondsToSelector): Likewise.
554         (objc_msg_lookup): Use get_implementation.
555         (__objc_init_install_dtable): Removed.
556         (__objc_install_methods_in_dtable): Updated arguments.
557         (__objc_install_dispatch_table_for_class): Renamed to
558         __objc_install_dtable_for_class and updated to support the new
559         +initialize dispatch table logic.
560         (__objc_update_dispatch_table_for_class): Updated to support the
561         new +initialize dispatch table logic.
562         (__objc_forward): Call get_implementation instead of get_imp.
563         (prepared_dtable_table): New.
564         (__objc_prepare_dtable_for_class): New. 
565         (__objc_prepared_dtable_for_class): New.
566         (__objc_get_prepared_imp): New.
567         (__objc_install_prepared_dtable_for_class): New.
568         
569 2011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
571         PR libobjc/48177
572         * selector.c (__sel_register_typed_name): Use sel_types_match()
573         instead of strcmp() to compare selector types (Suggestion by
574         Richard Frith-Macdonald <rfm@gnu.org>).
576 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
578         PR libobjc/32037
579         * Makefile.in (OBJC_GCFLAGS): Move ...
580         * configure.ac (enable_objc_gc): ... here.
581         Add $(libsuffix) to OBJC_BOEHM_GC.
582         * configure: Regenerate.
584 2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>
585         
586         * selector.c (sel_getTypedSelector): Return NULL if there are
587         multiple selectors with conflicting types.
588         * objc/runtime.h (sel_getTypedSelector): Updated documentation.
589         
590 2011-02-28  Richard Frith-Macdonald <rfm@gnu.org>
592         PR libobjc/47922
593         * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
594         a hardcoded "!".
596 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
598         * configure: Regenerate.
600 2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>
602         * init.c (create_tree_of_subclasses_inherited_from): Use
603         class_superclass_of_class instead of assuming a class is
604         unresolved when it could be resolved.  Tidied up assignment and
605         check.
606         (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
607         (objc_tree_insert_class): Tidied up loop; return immediately upon
608         inserting a class.
609         (__objc_exec_class): Do not set __objc_class_tree_list.
610         
611 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
613         * selector.c (sel_getTypedSelector): Return NULL if given a NULL
614         argument.
615         (sel_registerTypedName): Same.
616         (sel_registerName): Same.
617         * objc/runtime.h: Updated documentation.
618         
619 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
621         * objc/runtime.h (class_addIvar): Updated documentation.  The
622         alignment is actually the log_2 of the alignment in bytes.
623         * ivars.c (class_addIvar): Corresponding change to the
624         implementation.
625         
626 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
628         * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
629         be consistent with method_getTypeEncoding and
630         ivar_getTypeEncoding.
631         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
632         * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
633         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
634         (sel_get_type): Updated call to sel_getType.
635         
636 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
638         * objc/runtime.h (class_conformsToProtocol,
639         class_copyProtocolList): Updated documentation.
641 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
643         * init.c (create_tree_of_subclasses_inherited_from): Updated
644         DEBUG_PRINTF messages.
645         (__objc_tree_insert_class): Same.
646         (__objc_send_load_using_method_list): Same.
647         (__objc_send_load): Same.
648         (__objc_exec_class): Same.  In particular, do not print the module
649         name since it is no longer used.
650         * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
651         tracking +initialize calls.
652         (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
653         tracking updates of dispatch tables.
654         (__objc_install_dispatch_table_for_class): Same.
655         
656 2010-12-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
658         * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
659         (libobjc_gc$(libsuffix).la): Likewise.
661 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
663         * sendmsg.c (class_addMethod): Return NO if the method already
664         exists in the class.
666 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
668         * init.c (duplicate_classes): New.
669         (__objc_exec_class): Initialize duplicate_classes.
670         (__objc_create_classes_tree): Ignore classes in the
671         duplicate_classes table.
672         (__objc_call_load_callback): Same.
673         (__objc_init_class): If a duplicate class is found, add it to
674         duplicate_classes instead of aborting.  Return YES if the class is
675         not a duplicate, and NO if it is.
676         * objc-private/runtime.h (__objc_init_class): Updated prototype.
678 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
680         * objc-private/objc-list.h: Reindented file.  No code changes.
681         * objc-private/sarray.h: Same change.
683 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
685         * objc-private/accessors.h: Removed 'extern "C"' guards.  This
686         file is never compiled with C++.
687         * objc-private/hash.h: Same change.
688         * objc-private/objc-list.h: Same change.
689         * objc-private/objc-sync.h: Same change.
690         * objc-private/protocols.h: Same change.
691         * objc-private/runtime.h: Same change.
692         * objc-private/sarray.h: Same change.
693         * objc-private/selector.h: Same change.
695 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
697         PR libobjc/18764
698         * class.c (__objc_add_class_to_hash): Return YES if the class was
699         added, and NO if it already existed.
700         * init.c (__objc_init_class): If __objc_add_class_to_hash returns
701         NO, then abort the program with an error message.
702         * objc-private/runtime.h (__objc_add_class_to_hash): Updated
703         declaration.
705 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>      
707         * init.c (_objc_load_callback): Initialize with 0.
708         (__objc_call_callback): Renamed to __objc_call_load_callback.
709         Check _objc_load_callback only once, and if it is not set, return
710         immediately.
711         (objc_send_load): Updated call to __objc_call_callback.
712         
713 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
715         PR libobjc/16110
716         * init.c (__objc_send_message_in_list): Renamed to
717         __objc_send_load_using_method_list.  Do not take an 'op' argument.
718         Register the 'load' selector if needed.
719         (__objc_send_load): Do not register the 'load' selector.  Updated
720         call to __objc_send_message_in_list.
721         (__objc_create_classes_tree): Add the class of any claimed
722         category that was loaded in the module to the list of classes for
723         which we try to execute +load.
724         
725 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
727         * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
728         Updated comments.
729         * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
730         a pointer using DEBUG_PRINTF.
731         
732 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
734         PR libobjc/45953
735         * selector.c (__sel_register_typed_name): When registering a new
736         selector with the same name as an existing one, reuse the existing
737         name string.  Also updated types, casts and comments in the whole
738         function.
740 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
742         * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
743         to be 'struct objc_selector *' and not 'SEL'.
744         * init.c (__objc_exec_class): Call
745         __objc_register_selectors_from_module instead of iterating over
746         each selector and calling __sel_register_typed_name for each.
747         * objc-private/selector.h: Declare
748         __objc_register_selectors_from_module instead of
749         __sel_register_typed_name.
750         * selector.c (__objc_register_selectors_from_module): New.
751         (__sel_register_typed_name): Made static.
752         
753 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
755         * linking.m: Do not include objc/NXConstStr.h.
757 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
758         
759         * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
760         * objc-private/common.h (DEBUG_PRINTF): To here.
761         * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
762         
763 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
765         * hash.c: Tidied up comments and indentation.  No code changes.
767 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
769         PR libobjc/47012
770         * accessors.m (objc_getProperty): If not atomic, do not
771         retain/autorelease the returned value.
773 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
775         * objc-private/runtime.h (__objc_selector_max_index,
776         __objc_init_selector_tables, __objc_register_selectors_from_class,
777         __objc_register_selectors_from_list,
778         __objc_register_selectors_from_description_list): Moved to ...
779         * objc-private/selector.h: ... here.
781 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
783         * objc-private/runtime.h (__objc_class_links_resolved): Removed.
784         (__objc_print_dtable_stats): Removed.
785         (__sel_register_typed_name): Removed.
786         * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
787         
788 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
790         * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
791         if appropriate, after loading the module.
793 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
795         * sendmsg.c (method_setImplementation): Do not declare.
797 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
799         * objc/message.h: Updated comments.
800         * objc/runtime.h: Updated comments.
801         
802 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
804         * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
805         * protocols.c: Updated all calls to objc_lookupClass to call
806         objc_lookUpClass instead.
807         * sendmsg.c (objc_lookupClass): Do not declare.
808         (get_imp): Update call to objc_lookupClass to call
809         objc_lookUpClass instead.
810         * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
812 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
814         * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
815         * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
816         define.  Updated comments.
817         
818 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
820         * objc/encoding.h: Updated comments.
821         * objc/runtime.h: Updated comments.
822         (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
823         (objc_sizeof_type): Same.
824         (objc_alignof_type): Same.
825         (objc_aligned_size): Same.
826         (objc_promoted_size): Same.
827         (objc_skip_type_qualifiers): Same.
828         (objc_skip_typespec): Same.
829         (objc_skip_offset): Same.
830         (objc_skip_argspec): Same.
831         (objc_get_type_qualifiers): Same.
832         (objc_layout_structure): Same.
833         (objc_layout_structure_next_member): Same.
834         (objc_layout_finish_structure): Same.
835         (objc_layout_structure_get_info): Same.
836         
837 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
839         * init.c: Updated comments.
840         * objc/objc-api.h: Updated comments.
841         * objc/runtime.h (_objc_load_callback): Declare.
842         
843 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
845         * objc/Object.h: Include deprecated/typedstream.h and
846         deprecated/hash.h instead of typedstream.h.  Updated comments.
848 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
850         * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
851         * objc/deprecated/objc_msg_sendv.h: New.
852         * objc/message.h: Do not define retval_t, apply_t, arglist,
853         arglist_t, objc_msg_sendv, now in
854         objc/deprecated/objc_msg_sendv.h.
855         * objc/objc.h: Do not include message.h; include
856         objc/deprecated/objc_msg_sendv.h instead.  Tidied up comments.
857         * sendmsg.c: Include objc/message.h.
858         * thr.c: Include objc/message.h.
859         
860 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
862         * objc/objc-exception.h: Include objc-decls.h.  Mark all
863         functions with objc_EXPORT.
864         * objc/objc-sync.h: Same change.
866 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
868         * Protocol.m: Moved all methods, with the exception of -isEqual:,
869         into the 'Deprecated' category.
870         * objc/Protocol.h: Removed all methods, moved to
871         objc/deprecated/Protocol.h.  Include objc/deprecated/Protocol.h.
872         * objc/deprecated/Protocol.h: New.
873         * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
874         
875 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
877         * init.c: Include objc-private/selector.h.  Do not declare
878         __sel_register_typed_name.
879         * objc-private/selector.h (__sel_register_typed_name): Declare.
880         * selector.c: Include objc-private/selector.h.
881         
882 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
884         * class.c: Tidied up comments and indentation.  No code changes.
885         * error.c: Same.
886         * exception.c: Same.
887         * init.c: Same.
888         * ivars.c: Same.
889         * memory.c: Same.
890         * objc-foreach.c: Same.
891         * objc-sync.c: Same.
892         * objects.c: Same.
893         * protocols.c: Same.
894         * sarray.c: Same.
895         * thr.c: Same.
897 2010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
899         * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
900         instead of objc/objc-api.h.
901         (init_check_module_version): Take a 'struct objc_module *'
902         argument instead of 'Module_t'.  Use 'struct objc_module *'
903         instead of 'Module_t'.
904         (__objc_created_classes_tree): Take a 'struct objc_module *'
905         argument instead of 'Module_t'; use 'struct objc_symtab *' instead
906         of 'Symtab_t'.
907         (__objc_call_callback): Take a 'struct objc_module *' argument
908         instead of 'Module_t'; use 'struct objc_symtab *' instead of
909         'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
910         (_objc_load_callback): Take a 'struct objc_category *' argument
911         instead of 'Category *'.
912         (class_superclass_of_class): Use objc_getClass() instead of
913         objc_lookup_class().
914         (create_tree_of_subclasses_inherited_from): Same change (also, use
915         an explicit 'if' instead of '?').
916         (objc_init_statics): Same change.
917         (objc_send_load): Same change.
918         (__objc_init_protocol): same change.
919         (__objc_send_message_in_list): Take a 'struct objc_method_list *'
920         argument instead of 'MethodList_t'.  Use 'struct objc_method *'
921         instead of 'Method_t'.
922         (__objc_send_load): Use 'struct objc_method_list *' instead of
923         'MethodList_t'.  Use sel_registerName() instead of
924         sel_register_name().
925         (__objc_exec_class): Take a 'struct objc_module *' argument
926         instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
927         'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
928         Use 'struct objc_category *' instead of 'Category_t'.
929         
930 2010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
932         * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
933         Include objc-private/module-abi-8.h and objc-private/selector.h
934         instead of objc/encoding.h.
935         (objc_msg_lookup_super): Use super->super_class instead of
936         super->class.
937         (method_get_first_argument, method_get_next_argument): Declare
938         locally.
939         (class_get_instance_method): Declare before using.
940         (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
941         (__objc_init_dispatch_tables, __objc_send_initialize): Use
942         sel_registerName() instead of sel_register_name().
943         (__objc_forward): Use sel_getName() instead of sel_get_name().
944         (objc_get_uninstalled_dtable): Use 'void' as argument.
945         * objc-private/selector.h: New.
947 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
949         * objc/message.h (objc_super): When using the modern API, do not
950         define Super and Super_t, and always use 'super_class' for the
951         super class field.      
952         (objc_msg_lookup_super): Updated prototype to use 'struct
953         objc_super *' instead of 'Super_t'.
954         * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
955         'struct objc_super *' instead of 'Super_t'.
957 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
959         * objc/message.h: Update comments, reindented code and moved
960         deprecated types and functions at the end of the file.  No code
961         changes.
963 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
965         * ivars.c (class_addIvar): Use the 'size' argument instead of
966         trying to calculate it using objc_sizeof_type().
967         * objc/runtime.h (class_addIvar): Updated comments.
968         
969 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
971         * sendmsg.c: Reindented some code and tidied up comments.  No
972         actual code changes.
973         
974 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
976         * objc/Object.h: Moved all the methods, with the exception of
977         -class and -isEqual:, into ...
978         * objc/deprecated/Object.h: here.
979         * Object.m: Moved all the methods, with the exception of -class
980         and -isEqual: into the 'Deprecated' category.
982 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
984         * objects.c (object_copy): Do not #undef as we are no longer
985         including objc/objc-api.h.
986         * selector.c: Include objc/runtime.h and
987         objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
988         objc/encoding.h.  Updated
989         (__objc_register_selectors_from_class): Use struct
990         objc_method_list * instead of MethodList_t.
991         (__objc_register_selectors_from_list): Use Method instead of
992         Method_t.
993         (struct objc_method_description_list): Do not define here.
994         (__objc_register_instance_methods_to_class): Use struct
995         objc_method_list * instead of MethodList_t and Method instead of
996         Method_t.
997         
998 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1000         * selector.c: Reindented some code and tidied up comments.  No
1001         actual code changes.
1003 2010-12-13  Iain Sandoe  <iains@gcc.gnu.org>
1005         * encoding.c (_darwin_rs6000_special_round_type_align): New.
1006         (darwin_rs6000_special_round_type_align): Adjust to use new routine.
1008 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1010         * sendmsg.c (selector_resolveClassMethod): New.
1011         (selector_resolveInstanceMethod): New.
1012         (__objc_resolve_class_method): New.
1013         (__objc_resolve_instance_method): New.
1014         (get_imp): Call __objc_resolve_class_method or
1015         __objc_resolve_instance_method at the appropriate time.
1016         (objc_msg_lookup): Same.
1017         (class_getClassMethod): Same.   
1018         (class_getInstanceMethod): Same.
1019         (__objc_init_dispatch_tables): Initialize
1020         selector_resolveClassMethod and selector_resolveInstanceMethod.
1021         * objc/runtime.h: Updated documentation of class_getClassMethod,
1022         class_getInstanceMethod and class_getMethodImplementation.
1023         
1024 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1026         * objc-private/module-abi-8.h (struct objc_symtab): Updated
1027         description of sel_ref_cnt and refs.
1028         * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
1029         
1030 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
1032         PR target/40125
1033         PR lto/46695
1034         * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
1035         * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
1036         * aclocal.m4: Regenerate.
1037         * configure: Regenerate.
1039 2010-12-03  Matthias Klose  <doko@ubuntu.com> 
1041         * configure.ac (VERSION): Bump the version to 3:0:0.
1042         * configure: Regenerate.
1044 2010-11-23  Richard Frith-Macdonald <rfm@gnu.org>
1046         * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
1047         pass nil as the receiver since we don't know the receiver at this
1048         point.
1049         
1050 2010-11-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1052         * ivars.c: Include stdlib.h.
1053         * protocols.c: Same change.
1055 2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
1057         * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
1058         * accessors.m: New.
1059         * init.c: Include objc-private/accessors.h.
1060         (__objc_exec_class): Call __objc_accessors_init.
1061         * objc-private/accessors.h: New.
1063 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1065         * objc/message.h: Moved initial includes outside of extern "C".
1066         * objc/runtime.h: Add extern "C" for Objective-C++.
1068 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1070         * init.c (objc_send_load): Do not wait for NXConstantString to be
1071         registered before executing +load.  There is no point if
1072         -fconstant-string-class=xxx is used when compiling all modules,
1073         as is the case for almost all users.
1074         * linking.m (__objc_linking): Do not try to forcefully link in
1075         NXConstantString.
1077 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1079         * objc/runtime.h: Updated comments.
1080         (class_addMethod): New.
1081         (class_addIvar): New.
1082         (class_replaceMethod): New.
1083         (objc_allocateClassPair): New.
1084         (objc_registerClassPair): New.
1085         (objc_disposeClassPair): New.
1086         * class.c (objc_allocateClassPair): New.
1087         (objc_registerClassPair): New.
1088         (objc_disposeClassPair): New.
1089         (class_getSuperclass): Return Nil if a class is in construction.
1090         * init.c (__objc_exec_class): Call __objc_init_class.
1091         (__objc_init_class): New.
1092         * ivars.c (class_copyIvarList): Return NULL if class is in
1093         construction.  Do not lock the runtime mutex.
1094         (class_getInstanceVariable): Return NULL if class is in
1095         construction.  Do not lock the runtime mutex.
1096         (class_addIvar): New.
1097         * sendmsg.c (class_addMethod): New.
1098         (class_replaceMethod): New.
1099         * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
1100         (_CLS_IN_CONSTRUCTION): New.
1101         (CLS_IS_IN_CONSTRUCTION): New.
1102         (CLS_SET_IN_CONSTRUCTION): New.
1103         (CLS_SET_NOT_IN_CONSTRUCTION): New.
1104         * objc-private/runtime.h (__objc_init_class): New.
1106 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1108         * class.c (class_getSuperclass): Call __objc_resolve_class_links
1109         if the class is not resolved yet.
1110         * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
1111         
1112 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1114         * objc/runtime.h (class_getIvarLayout): New.
1115         (class_getWeakIvarLayout): New.
1116         (class_setIvarLayout): New.
1117         (class_setWeakIvarLayout): New.
1118         * ivars.c (class_getIvarLayout): New.
1119         (class_getWeakIvarLayout): New.
1120         (class_setIvarLayout): New.
1121         (class_setWeakIvarLayout): New. 
1123 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1124         
1125         * objc/runtime.h (class_copyPropertyList): New.
1126         (class_getProperty): New.
1127         (property_getAttributes): New.
1128         (property_getName): New.
1129         * ivars.c (class_copyPropertyList): New.
1130         (class_getProperty): New.
1131         (property_getAttributes): New.
1132         (property_getName): New.
1133         
1134 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1136         * objc-private/runtime.h (__objc_update_classes_with_methods): New.
1137         * class.c (__objc_update_classes_with_methods): New.
1138         (objc_getClassList): Do not lock the class lock.
1139         * methods.c (method_exchangeImplementations): New.
1140         (method_setImplementation): New.
1141         * objc/runtime.h (method_setImplementation): New.
1142         (method_exchangeImplementations): New.
1143         
1144 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1146         * Protocol.m: Include objc/runtime.h and
1147         objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
1148         repeat Protocol's instance variables.
1149         (struct objc_method_description_list): Do not define here.
1150         ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1151         ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1152         selectors directly instead of getting names and then using strcmp.
1153         ([descriptionForClassMethod:]): Same change.
1154         ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1155         * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1156         to compare selectors directly instead of getting names and then
1157         using strcmp.
1158         * objc/Protocol.h: Updated comments.
1159         
1160 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1162         * init.c (__objc_init_protocol): New function which fixes up a
1163         protocol's class pointer, registers it with the runtime, register
1164         all protocol selectors and registers associated protocols too.
1165         (objc_init_statics): Detect if we are initializing protocols, and
1166         if so, use __objc_init_protocol instead of only fixing up the
1167         class pointer.
1168         (__objc_init_protocls): Use __objc_init_protocol.
1169         * objc-private/module-abi-8.h: Updated comments.
1170         * objc-private/runtime.h
1171         (__objc_register_selectors_from_description_list): New.
1172         * selector.c (__objc_register_selectors_from_description_list):
1173         New.  (struct objc_method_description_list): Declare.
1174         * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1175         when accessing the name of a method, which is now correctly a SEL.
1176         ([-descriptionForClassMethod:]): Same change.
1177         * protocols.c (protocol_getMethodDescription): Same change.
1178         * objc/runtime.h: Updated comments.
1179         (sel_registerTypedName): Fixed typo in function name.
1180         
1181 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1183         PR libobjc/23214
1184         * init.c (objc_init_statics): Do not skip the initialization of a
1185         statics list if the first object has already been initialized; in
1186         the case of Protocols, while the first one may have been
1187         initialized, some others may not have been initialized yet.
1189 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1191         * Makefile.in (OBJC_DEPRECATED_H): Added
1192         objc_get_uninstalled_dtable, objc_object_alloc.h and
1193         struct_objc_static_instances.h.
1195 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1197         * encoding.c (method_copyReturnType): New.
1198         (method_copyArgumentType): New.
1199         (method_getReturnType): New.
1200         (method_getArgumentType): New.
1201         * methods.c (method_getDescription): New.
1202         * objc/runtime.h (method_copyReturnType): New.
1203         (method_copyArgumentType): New.
1204         (method_getReturnType): New.
1205         (method_getArgumentType): New.
1206         (method_getDescription): New.
1207         
1208 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1210         * encoding.c: Tidied up comments.
1211         (objc_skip_variable_name): New static inline function.
1212         (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1213         the same code over and over.
1214         (objc_alignof_type): Same.
1215         (objc_aligned_size): Same.
1216         (objc_promoted_size): Same.
1217         (objc_skip_typespec): Same.
1218         (objc_layout_structure_next_member): Same.
1219         (objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
1220         historical bug where objc_skip_offset would skip one byte even if
1221         there is no offset: check that the first offset digit is actually
1222         a digit before skipping it.
1223         (objc_skip_type_qualifiers): Mark as inline.
1224         (objc_skip_typespec): Mark as inline.   
1225         
1226 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1228         * Makefile.in (C_SOURCE_FILES): Added methods.c.
1229         * encoding.c (method_getNumberOfArguments): New.
1230         (method_get_number_of_arguments): Call
1231         method_getNumberOfArguments.
1232         * ivars.c (ivar_getName): Check for NULL variable argument.
1233         (ivar_getOffset): Check for NULL variable argument.
1234         (ivar_getTypeEncoding): Check for NULL variable argument.
1235         (class_copyIvarList): New.
1236         * methods.c: New.
1237         * protocols.c (class_copyProtocolList): Check for Nil class_
1238         argument.
1239         * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1240         'struct objc_method_list *' instead of MethodList_t.
1241         (class_getMethodImplementation): New.
1242         (class_respondsToSelector): New.
1243         (class_getInstanceMethod): New.
1244         (class_getClassMethod): New.
1245         * objc/runtime.h: Updated comments.
1246         (class_copyIvarList): New.
1247         (class_getInstanceMethod): New.
1248         (class_getClassMethod): New.
1249         (class_getMethodImplementation): New.
1250         (class_respondsToSelector): New.
1251         (method_getName): New.
1252         (method_getImplementation): New.
1253         (method_getTypeEncoding): New.
1254         (class_copyMethodList): New.
1255         (method_getNumberOfArguments): New.
1256         
1257 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1259         * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1260         instead of objc/objc-api.h.
1261         (objc_get_unknown_class_handler): Do not define.
1262         (class_isMetaClass): New.
1263         (class_getSuperclass): New.
1264         (class_getVersion): New.
1265         (class_setVersion): New.
1266         (class_getInstanceSize): New.
1267         * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1268         (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1269         objc_get_super_class.
1270         (get_ttype_entry): Use objc_getRequiredClass instead of
1271         objc_get_class.
1272         * ivars.c (class_getClassVariable): New.
1273         * objects.c: Include objc/runtime.h, objc/thr.h and
1274         objc-private/module-abi-8.h instead of objc/objc-api.h
1275         * objc/runtime.h (class_getClassVariable): New.
1276         (class_isMetaClass): New.
1277         (class_getSuperclass): New.
1278         (class_getVersion): New.
1279         (class_setVersion): New.
1280         (class_getInstanceSize): New.
1281         * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1282         objc/objc-api.h)
1283         (__CLS_INFO): Same.
1284         (__CLS_ISINFO): Same.
1285         (__CLS_SETINFO): Same.
1286         (CLS_ISMETA): Same.
1287         (CLS_ISCLASS): Same.
1288         (CLS_ISRESOLV): Same.
1289         (CLS_SETRESOLV): Same.
1290         (CLS_ISINITIALIZED): Same.
1291         (CLS_SETINITIALIZED): Same.
1292         (CLS_GETNUMBER): Same.
1293         (CLS_SETNUMBER): Same.
1295 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1297         * archive.c: Do not include objc/objc.h.
1298         * class.c: Do not include objc/objc.h.
1299         * encoding.c: Include objc/runtime.h, ctype.h and
1300         objc-private/module-abi-8.h instead of objc/objc-api.h and
1301         objc/encoding.h.
1302         * error.c: Do not include objc/objc.h.
1303         * gc.c: Include tconfig.h and objc/encoding.h only if
1304         OBJC_WITH_GC.
1305         * hash.c: Include objc/runtime.h and objc/thr.h instead of
1306         objc/objc-api.h.  Do not include objc/objc.h.
1307         * init.c: Do not include objc/objc.h.
1308         * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1309         objc/thr.h instead of objc/objc-api.h.  Do not include
1310         objc/objc.h.
1311         * linking.m: Tidied comment.
1312         * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1313         Do not include objc/objc.h.
1314         * objects.c: Do not include objc/objc.h.
1315         * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1316         * protocols.c: Do not include objc/objc.h.
1317         * sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
1318         not include objc/objc.h.
1319         * selector.c: Do not include objc/objc.h.
1320         * sendmsg.c: Do not include objc/objc.h.        
1321         * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1322         Do not include objc/objc.h.
1323         * objc/objc-decls.h: Reindented code.
1324         * objc/runtime.h Include objc-decls.h.  Updated comments.
1325         (objc_malloc): New.
1326         (objc_atomic_malloc): New.
1327         (objc_calloc): New.
1328         (objc_realloc): New.
1329         (objc_free): New.
1330         * objc-private/runtime.h: Updated comments.
1331         
1332 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1334         * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1335         * objc-private/protocols.h: New.
1336         * protocols.c: New.
1337         * init.c: Include objc-private/protocols.h.
1338         (__objc_exec_class): Call __objc_protocols_init on startup.
1339         (__objc_init_protocols): Call __objc_protocols_add_protocol.
1340         * objc-private/runtime.h: Use (struct objc_method_list *) instead
1341         of MethodList_t, and (struct objc_method *) instead of Method_t.
1342         * objc/deprecated/struct_objc_class.h: Define
1343         __objc_STRUCT_OBJC_CLASS_defined.
1344         * objc-private/module-abi-8.h (struct
1345         objc_method_description_list): New.
1346         (struct objc_class): Only define if
1347         __objc_STRUCT_OBJC_CLASS_defined is undefined.
1348         * objc/runtime.h (class_getName): New.
1349         (objc_getProtocol): New.
1350         (objc_copyProtocolList): New.
1351         (class_addProtocol): New.
1352         (class_conformsToProtocol): New.
1353         (class_copyProtocolList): New.
1354         (protocol_conformsToProtocol): New.
1355         (protocol_isEqual): New.
1356         (protocol_getName): New.
1357         (protocol_getMethodDescription): New.
1358         (protocol_copyMethodDescriptionList): New.
1359         (protocol_getProperty): New.
1360         (protocol_copyPropertyList): New.
1361         (protocol_copyProtocolList): New.
1362         * class.c (class_getName): New.
1363         * selector.c (sel_isEqual): New.
1364         
1365 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1367         * selector.c (sel_getName): Return "<null selector>" for a NULL
1368         argument.
1369         (sel_get_name): Return 0 for a NULL argument.
1370         * objc/runtime.h (sel_getName): Updated documentation.
1372         * objc-private/hash.h (class_hash_table): Unused declaration
1373         removed.
1374         (module_hash_table): Same.
1375         * objc/deprecated/hash.h: Same changes.
1376         
1377 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1379         * class.c (objc_getClassList): New.
1380         (objc_getRequiredClass): New.
1381         (objc_getMetaClass): New.
1382         (objc_lookupClass): New.
1383         (objc_getClass): New.
1384         (__objc_get_unknown_class_handler): New.
1385         (objc_setGetUnknownClassHandler): New.
1386         (objc_get_class): Use __objc_get_unknown_class_handler.
1387         (objc_lookup_class): Call objc_getClass.
1388         * objc/objc-api.h: Updated comment and copyright notice.
1389         * objc/runtime.h: Updated comments.
1390         (objc_getClass): New.
1391         (objc_lookupClass): New.
1392         (objc_getMetaClass): New.
1393         (objc_getRequiredClass): New.
1394         (objc_getClassList): New.
1395         (objc_setGetUnknownClassHandler): New.
1396         (objc_get_unknown_class_handler): New.
1397         * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1398         instead of __objc_runtime_INCLUDE_GNU as include guard.
1399         * objc-private/error.h (_objc_abort): Mark as noreturn.
1400         
1401 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1403         * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1404         * ivars.c: New.
1405         * objc/objc.h: Updated comments.
1406         * objc/runtime.h (object_getClass): New.
1407         (object_getClassName): New.
1408         (object_setClass): New.
1409         (class_getInstanceVariable): New.
1410         (object_getIndexedIvars): New.
1411         (object_getInstanceVariable): New.
1412         (object_setInstanceVariable): New.
1413         (object_getIvar): New.
1414         (object_setIvar): New.  
1415         (ivar_getName): New.
1416         (ivar_getOffset): New.
1417         (ivar_getTypeEncoding): New.
1418         * objc-private/module-abi-8.h (struct objc_class): Added.
1419         * objects.c (object_getClassName): New.
1420         (object_setClass): New.
1421         
1422 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1424         * objc/objc.h: Updated comments.
1425         * objc/objc-api.h: (object_copy): Added one argument; use a
1426         #define to maintain backwards-compatibility.  Moved
1427         _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1428         objc_get_uninstalled_dtable into
1429         objc/deprecated/objc_get_uninstalled_dtable.h and
1430         objc/deprecated/objc_object_alloc.h.  Include these files.
1431         * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1432         * objc/deprecated/objc_object_alloc.h: New.
1433         * objc/runtime.h (set_getName): New.
1434         (sel_getType): New.
1435         (sel_getUid): New.
1436         (sel_registerName): New.
1437         (sel_registerTypedName): New.
1438         (sel_isEqual): New.
1439         (class_createInstance): New.
1440         (object_copy): New.
1441         (object_dispose): New.
1442         * objects.c: Do not include tconfig.h.  Include gc_typed.h if
1443         building the garbage collection version.
1444         (__objc_object_alloc): Removed.
1445         (__objc_object_copy): Removed.
1446         (__objc_object_dispose): Removed.
1447         (class_createInstance): New from code in class_create_instance.
1448         Cast second argument of GC_malloc_explicitly_typed.  Use
1449         objc_calloc.  Do not call _objc_object_alloc.
1450         (class_create_instance): Call class_createInstance.
1451         (object_copy): Added extraBytes argument.  Do not call
1452         _objc_object_copy.
1453         (object_dispose): Do not call _objc_object_dispose.
1454         * memory.c (objc_free): When using garbage collection, mark the
1455         argument as unused.
1456         * selector.c (sel_getName): New.
1457         (sel_get_name): Call sel_getName.
1458         (sel_getType): New.
1459         (sel_get_type): Call sel_getType.
1460         (sel_registerName): New.
1461         (sel_register_name): Call sel_registerName.
1462         (sel_registerTypedName): New.
1463         (sel_register_typed_name): Call sel_registerTypedName.
1464         (sel_getUid): New.
1465         (sel_get_uid): Call sel_getUid.
1466         
1467 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1469         * objc/objc-api.h: Define Method, Method_t, Category and
1470         Category_t.  Prevent including this file at the same time as
1471         objc/runtime.h.  Updated comments.
1472         * objc/deprecated/struct_objc_method.h: Do not define Method,
1473         Method_t.
1474         * objc/deprecated/struct_objc_category.h: Do not define Category,
1475         Category_t.
1476         * objc-private/module-abi-8.h: New file containing a copy of all
1477         the structure definitions.  Not used yet.
1478         * objc/encoding.h (objc_aligned_size): Removed duplicate
1479         declaration.  Updated comments.
1480         * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1481         Category, struct objc_method_description, _C_ID and similar,
1482         _C_CONST and similar and _F_CONST and similar.  Added
1483         objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1484         objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1485         objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1486         struct objc_struct_layout, objc_layout_structure,
1487         objc_layout_structure_next_member, objc_layout_finish_structure,
1488         objc_layout_structure_get_info.  Prevent including this file at
1489         the same time as objc/objc-api.h.
1490         
1491 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1493         * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1494         struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1495         struct_objc_method_list.h, struct_objc_module.h,
1496         struct_objc_protocol_list.h, struct_objc_symtab.h.
1497         * objc/deprecated/struct_objc_category.h: New.
1498         * objc/deprecated/struct_objc_ivar.h: New.
1499         * objc/deprecated/struct_objc_ivar_list.h: New.
1500         * objc/deprecated/struct_objc_method.h: New.
1501         * objc/deprecated/struct_objc_method_list.h: New.
1502         * objc/deprecated/struct_objc_module.h: New.
1503         * objc/deprecated/struct_objc_protocol_list.h: New.
1504         * objc/deprecated/struct_objc_symtab.h: New.
1505         * objc/deprecated/struct_objc_static_instances.h: New.
1506         * objc/objc-api.h: Definitions of deprecated structures moved into
1507         the above header fragment files in objc/deprecated/.  Include the
1508         files instead of definition the structures here.  Updated
1509         comments.
1510         * objc/runtime.h: Updated comments.  Do not include objc-api.h.
1511         (objc_set_enumeration_mutation_handler): Renamed to
1512         objc_setEnumerationMutationHandler.
1513         * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1514         to objc_setEnumerationMutationHandler.
1515         * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1516         objc_setExceptionMatcher.
1517         (objc_set_uncaught_exception_handler): Renamed to
1518         objc_setUncaughtExceptionHandler.
1519         * exception.c: Same changes.
1521 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1523         * objc-sync.c: Include objc-private/common.h.
1525 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1527         * objc-foreach.c: Include objc-private/common.h.
1528         * objc/deprecated/METHOD_NULL.h: New file.
1529         * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1530         defining METHOD_NULL here.
1531         * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1532         * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1533         METHOD_NULL.
1534         ([-respondsTo:]): Same change.
1535         * objc/objc-api.h (method_get_imp): Converted it into a normal
1536         function so that we can hide the internals of struct objc_method.
1537         * sendmsg.c (method_get_imp): Implemented.
1539 2010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
1541         * objc/objc-api.h (struct objc_super, Super, Super_t,
1542         objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1543         objc_msg_forward2): Declarations moved to objc/message.h.  Include
1544         message.h here.
1545         * objc/message.h: Added such declarations; updated comments.
1547 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1549         Implemented fast enumeration for Objective-C.
1550         * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1551         (OBJC_H): Added runtime.h
1552         * objc-foreach.c: New file.
1553         * objc/runtime.h: New file.
1554         
1555 2010-09-30  Kai Tietz  <kai.tietz@onevision.com>
1557         * objc/deprecated/struct_objc_class.h: Add padding
1558         to avoid warning with -Wpadded.
1560 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1562         * encoding.c (objc_sizeof_type): Added support for vector type and
1563         for double long types.  
1564         (objc_alignof_type): Same change.
1565         (objc_skip_typespec): Same change.
1566         * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1567         instead of '!' since '!' is already used for _C_VECTOR.
1568         * objc/objc-api.h (_C_LNG_DBL): Added.
1569         
1570 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1572         * libobjc_entry.c: File removed.
1574 2010-09-26  Kai Tietz  <kai.tietz@onevision.com>
1576         * sendmsg.c (objc_msg_lookup): Remove inline.
1577         (objc_get_uninstalled_dtable): Likewise.
1578         * encoding.c (objc_skip_type_qualifiers): Likewise.
1579         (objc_skip_offset): Likewise.
1580         * archive.c (__objc_write_object): Likewise
1581         (__objc_write_class):
1582         (__objc_write_selector):
1583         (objc_read_char):
1584         (objc_read_unsigned_char):
1585         (objc_read_short):
1586         (objc_read_unsigned_short):
1587         (objc_read_int):
1588         (objc_read_long):
1589         (__objc_read_nbyte_uint):
1590         (objc_read_unsigned_int):
1591         (objc_read_unsigned_long):
1592         * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1593         (objc_EXPORT): Likewise.
1594         * objc/message.h (objc-decls.h): Add include.
1595         * objc/objc-api.h: Mark API by objc_EXPORT.
1596         * libobjc.def (__objc_responds_to): Removed.
1598 2010-09-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1600         * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1602         * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1603         objc/sarray.h replaced with a placeholder including the file from
1604         the deprecated/ directory.
1605         * objc-private/sarray.h: New file (private copy of sarray.h).
1606         * hash.c: Include <assert.h> instead of "assert.h"
1607         * sarray.c: Include <assert.h> instead of "assert.h".  Include
1608         objc-private/sarray.h instead of objc/sarray.h.
1609         * selector.c: Include objc-private/sarray.h instead of
1610         objc/sarray.h.
1611         * sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
1612         instead of objc/sarray.h.
1613         * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.      
1615 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1617         * objc-private/objc-list.h (list_remove_elem): Unused function
1618         removed.  (list_nth): Unused function removed.  (list_find):
1619         Unused function removed.  (list_lenght): Unused function removed.
1620         
1621 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1623         * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1624         replaced with a placeholder including the file from the
1625         deprecated/ directory.
1626         * objc/objc-api.h: Updated includes.
1627         * objc/typedstream.h: Updated includes.
1628         * objc-private/hash.h: New file (private copy of hash.h).
1629         * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1630         objc/objc-list.h replaced with a placeholder including the file
1631         from the deprecated/ directory.
1632         * objc-private/objc-list.h: New file (private copy of objc-list.h).
1633         * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1634         instead of objc/hash.h and objc/objc-list.h.
1635         * selector.c: Same change.
1636         * class.c: Added include <string.h>, which used to be implicitly included
1637         when hash.h was included.
1638         * exception.c: Same change.
1639         * objects.c: Same change.
1640         * sarray.c: Same change.
1641         * sendmsg.c: Same change.
1642         * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1644 2010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1646         Implemented objc_sync_enter() and objc_sync_exit(), which are
1647         required by @synchronized() to work.
1648         * objc-sync.c: New file.
1649         * objc/objc-sync.h: New file.
1650         * objc-private/objc-sync.h: New file.
1651         * init.c (__objc_exec_class): Call __objc_sync_init() during the
1652         Objective-C runtime startup.
1653         * Makefile.in: Added objc-sync.c and objc-sync.h.
1654         * configure.ac: Added GCC_CHECK_TLS.
1655         * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1656         * configure: Regenerated.
1657         * config.h.in: Regenerated.
1658         
1659 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1661         * Makefile.in (%_gc.lo): New pattern rules to build the
1662         garbage-collected version of the library.  Removed rules for
1663         specific files that are no longer needed.  Standardized all rules.
1664         (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1665         (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1666         OBJC_SOURCE_FILES.
1667         (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1669 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1670         
1671         * memory.c (objc_calloc): Fixed call to GC_malloc when building
1672         with Garbage Colletion.
1673         
1674 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1676         * memory.c: Do not include objc-private/runtime.h.
1678 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1679         
1680         * objc/deprecated/objc_malloc.h: New file.
1681         * objc/deprecated/objc_valloc.h: New file.
1682         * objc/objc-api.h: Include the files instead of defining
1683         objc_valloc, _objc_malloc() and similar.
1684         * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1685         objc_malloc.h.
1686         * memory.c: Removed the extra layer of indirection of _objc_malloc
1687         and similar.
1688         (objc_calloc): Use GC_malloc in the garbage-collected
1689         implementation as GC_malloc returns memory that is already freed.
1690         (objc_valloc): Deprecated.      
1691         
1692 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1694         * objc/deprecated/objc_error.h: New file.
1695         * objc/objc-api.h: Include deprecated/objc_error.h instead of
1696         defining objc_error and related.
1697         * error.c: New file.  Added _objc_abort function which replaces
1698         objc_error.  No change in functionality as they both print an
1699         error and abort.
1700         * misc.c: File removed.  Code moved into memory.c and error.c.
1701         * memory.c: New file.
1702         * objc-private/error.h: New file.
1703         * archive.c: Include objc-private/error.h and use _objc_abort
1704         instead of objc_error everywhere.
1705         * class.c: Same change.
1706         * encoding.c: Same change.
1707         * init.c: Same change, and simplified init_check_module_version.
1708         * memory.c: Same change.
1709         * sendmsg.c:  Same change.
1710         * thr.c: Same change.
1711         * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1712         (OBJ_H): Reordered list.
1713         (OBJS): Removed misc.lo, added memory.lo and error.lo.
1714         (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1715         (misc_gc.lo): Rule removed.
1716         (error_gc.lo): Rule added.
1717         (memory_gc.lo): Rule added.
1718         
1719 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1721         * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1722         to check the API version.  Added some comments.
1724         * objc-private/common.h: New file.
1725         * NXConstStr.m: Include objc-private/common.h.
1726         * Object.m: Same change.
1727         * Protocol.m: Same change.
1728         * archive.c: Same change.
1729         * class.c: Same change.
1730         * encoding.c: Same change.
1731         * exception.c: Same change.
1732         * gc.c: Same change.
1733         * hash.c: Same change.
1734         * init.c: Same change.
1735         * libobjc_entry.c: Same change.
1736         * linking.m: Same change.
1737         * misc.c: Same change (and added a comment).
1738         * nil_method.c: Same change.
1739         * objects.c: Same change.
1740         * sarray.c: Same change.
1741         * selector.c: Same change.
1742         * sendmsg.c: Same change.
1743         * thr.c: Same change.
1745 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1747         * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1749 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1751         * archive.c: Removed not needed includes.
1752         * class.c: Same change.
1753         * hash.c: Same change.
1754         * misc.c: Same change.
1755         * nil_method.c: Same change.
1756         * objects.c: Same change.
1757         * sarray.c: Same change.
1758         * sendmsg.c: Same change.
1759         * thr.c: Same change.
1761 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1763         * objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
1764         all the objc/*.h files.
1765         * objc-private/runtime.h: New file.
1766         * archive.c: Include objc-private/runtime.h (and required objc/*.h
1767         files) instead of objc/runtime.h.
1768         * class.c: Same change.
1769         * hash.c: Same change.
1770         * init.c: Same change.
1771         * misc.c: Same change.
1772         * nil_method.c: Same change.
1773         * objects.c: Same change.
1774         * sarray.c: Same change.
1775         * selector.c: Same change.
1776         * sendmsg.c: Same change.
1777         * thr.c: Same change.
1778         
1779 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1781         * objc/deprecated/struct_objc_selector.h: New file.  Definition of
1782         'struct objc_selector' and 'sel_eq' moved here.
1783         * objc/deprecated/struct_objc_protocol.h: New file.  Definition of
1784         'struct objc_procotol' moved here.
1785         * objc/deprecated/struct_objc_class.h: New file.  Definition of
1786         'struct objc_class' moved here.
1787         * objc/deprecated/MetaClass.h: New file.  Definition of MetClass
1788         moved here.
1789         * objc/deprecated/STR.h: New file.  Definition of STR moved here.       
1790         * objc/message.h: New file.  Definitions for relval_t, apply_t,
1791         arglist, arglist_t and objc_msg_lookup were moved here.
1792         * objc/objc.h: Include the above files instead of defining the
1793         corresponding structs, types and functions here.  Added new opaque
1794         definitions for SEL and Class.  Use Class and not 'struct
1795         objc_class *' in the definition of 'struct objc_object'.
1796         Commented all types defined in the file.  Removed special
1797         definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1798         there as well.
1799         * objc/deprecated/objc-unexpected-exception.h: Renamed to
1800         objc_unexpected_exception.h.
1801         * objc/objc-api.h: Updated include of
1802         objc-unexpetected-exception.h
1803         * objc/objc-exception.h: Updated comments.
1804         * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1805         files.  Reindented list of files.
1806         
1807 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1809         * objc/objc-api.h (objc_trace): Unused variable removed.
1811 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1813         * objc/deprecated: New directory.
1814         * objc/deprecated/README: New file.
1815         * objc/README: New file.
1816         * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1817         objc/typedstream.h replaced with a placeholder including the file
1818         from the deprecated/ directory.
1819         * objc/deprecated/objc-unexpected-exception.h: New file with the
1820         definition of _objc_unexpected_exception.       
1821         * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1822         instead of defining _objc_unexpected_exception.
1823         * objc/deprecated/Object.h: New file with the deprecated Object
1824         methods in a 'Deprecated' category.
1825         * objc/Object.h Include deprecated/Object.h instead of defining
1826         the deprecated methods.
1827         * Object.m: Moved deprecated methods into 'Deprecated' category.
1828         * objc-private: New directory.
1829         * objc-private/README: New file.
1830         * Makefile.in (OBJC_DEPRECATED_H): New variable.
1831         (install-headers): Create installation directory for
1832         OBJC_DEPRECATED_H headers, and install them.
1834 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1836         * objc/objc-exception.h: Fixed include of objc.h.
1837         
1838 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1840         * objc/objc-exception.h: New file.
1841         * exception.c (objc_set_uncaught_exception_handler): Implemented.
1842         (objc_set_exception_matcher): Implemented.
1843         (objc_exception_throw): Use the uncaught exception handler if set.
1844         (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1845         hardcoded isKindOf.
1846         (isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
1847         up.  Removed segmentation fault when value is 'nil'.
1848         * objc/objc-api.h (_objc_unexpected_exception): Mark as
1849         deprecated.
1850         * Makefile.in (exception.lo, exception_gc.lo): Use
1851         -Wno-deprecated-declarations when compiling.
1852         (OBJC_H): Added objc-exception.h
1854 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1856         * objc/typedstream.h: Deprecate all functions in the file.  This
1857         file is obsolete.
1858         * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1859         [-awake]): Documented that these methods are deprecated.  Added a
1860         brief description of the Object class and its relationship to the
1861         NSObject class.
1862         * Makefile.in: Compile archive.c and Object.m with
1863         -Wno-deprecated-declarations.
1865 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1867         Removed obsolete intermediate threading layer.
1868         * thr.c: Use __gthread_objc_xxx functions directly instead of
1869         __objc_thread_xxx ones.
1870         * objc/thr.h: Removed prototypes of no longer existing
1871         __objc_thread_xxx functions.
1872         * Makefile.in: Removed thr-objc.lo.
1873         * thr-dce.c: File removed.
1874         * thr-decosf1.c: File removed.
1875         * thr-irix.c: File removed.
1876         * thr-mach.c: File removed.
1877         * thr-objc.c: File removed.
1878         * thr-os2.c: File removed.
1879         * thr-posix.c: File removed.
1880         * thr-pthreads.c: File removed.
1881         * thr-rtems.c: File removed.
1882         * thr-single.c: File removed.
1883         * thr-solaris.c: File removed.
1884         * thr-vxworks.c: File removed.
1885         * thr-win32.c: File removed.
1886         * README.threads: File removed.
1887         * THREADS.MACH: File removed.
1888         * THREADS: Updated.
1890 2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
1892         * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1894 2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
1896         * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1897         Add a comment as to why, update FIXME comments.
1899 2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1901         * makefile.dos: Obsolete file removed.
1902         
1903 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1905         * aclocal.m4: Regenerate.
1907 2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
1909         PR libobjc/30445
1910         * configure.ac (extra_ldflags_libobjc): Define appropriately for
1911         Cygwin and MinGW hosts.
1912         * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1913         (libobjc.dll): Likewise.
1914         * configure: Regenerate.
1916 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1918         * configure: Regenerate.
1920 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
1922         * sarray.c (sarray_free): Use old_buckets variable.
1923         * encoding.c (objc_layout_structure_next_member): Remove unused
1924         bfld_type_size variable.
1926 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1928         * configure.ac (AC_PREREQ): Bump to 2.64.
1930 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1932         * aclocal.m4: Regenerate.
1933         * configure: Regenerate.
1934         * config.h.in: Regenerate.
1936 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1938         * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
1940 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1942         * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
1943         New variables.
1944         ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
1946 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1948         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
1950 2009-04-09  Nick Clifton  <nickc@redhat.com>
1952         * sendmsg.c: Change copyright header to refer to version 3 of
1953         the GNU General Public License with version 3.1 of the GCC
1954         Runtime Library Exception and to point readers at the COPYING3
1955         and COPYING3.RUNTIME files and the FSF's license web page.
1956         * NXConstStr.m: Likewise.
1957         * Object.m: Likewise.
1958         * Protocol.m: Likewise.
1959         * archive.c: Likewise.
1960         * class.c: Likewise.
1961         * encoding.c: Likewise.
1962         * exception.c: Likewise.
1963         * gc.c: Likewise.
1964         * hash.c: Likewise.
1965         * init.c: Likewise.
1966         * libobjc_entry.c: Likewise.
1967         * linking.m: Likewise.
1968         * misc.c: Likewise.
1969         * nil_method.c: Likewise.
1970         * objc/NXConstStr.h: Likewise.
1971         * objc/Object.h: Likewise.
1972         * objc/Protocol.h: Likewise.
1973         * objc/encoding.h: Likewise.
1974         * objc/hash.h: Likewise.
1975         * objc/objc-api.h: Likewise.
1976         * objc/objc-decls.h: Likewise.
1977         * objc/objc-list.h: Likewise.
1978         * objc/objc.h: Likewise.
1979         * objc/runtime.h: Likewise.
1980         * objc/sarray.h: Likewise.
1981         * objc/thr.h: Likewise.
1982         * objc/typedstream.h: Likewise.
1983         * objects.c: Likewise.
1984         * sarray.c: Likewise.
1985         * selector.c: Likewise.
1986         * thr-dce.c: Likewise.
1987         * thr-decosf1.c: Likewise.
1988         * thr-irix.c: Likewise.
1989         * thr-mach.c: Likewise.
1990         * thr-objc.c: Likewise.
1991         * thr-os2.c: Likewise.
1992         * thr-posix.c: Likewise.
1993         * thr-pthreads.c: Likewise.
1994         * thr-rtems.c: Likewise.
1995         * thr-single.c: Likewise.
1996         * thr-solaris.c: Likewise.
1997         * thr-vxworks.c: Likewise.
1998         * thr-win32.c: Likewise.
1999         * thr.c: Likewise.
2000         * libobjc.def: Change copyright header to refer to version 3 of
2001         the GNU General Public License and to point readers at the COPYING3
2002         file and the FSF's license web page.
2003         * makefile.dos: Likewise.
2005 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
2007         * Makefile.in: Change copyright header to refer to version
2008         3 of the GNU General Public License and to point readers at the
2009         COPYING3 file and the FSF's license web page.
2010         * configure.ac: Likewise.
2012 2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
2013             David Ayers  <ayers@fsfe.org>
2015         PR libobjc/27466
2016         * objc/objc-api.h (_objc_unexpected_exception): Declare
2017         new hook.  Update copyright dates.
2018         * exception.c (objc_exception_throw): Use hook.  Update
2019         copyright dates.
2020         * libobjc.def (_objc_unexpected_exception): Export hook.
2021         Update copyright dates.
2022         
2023 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2025         * configure: Regenerate.
2027 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2029         * configure: Regenerate.
2031 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
2033         *  Object.m (errno): Replaced by errno.h include.
2034         (compare): Cast self to id to prevent warning on comparison.
2035         * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
2036         already there.
2037         * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
2038         * thr-win32.c (__objc_thread_detach): Remove type warning.
2039         (__objc_thread_id): Likewise.
2040         * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
2041         for noreturn.
2043 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
2044             Steve Ellcey  <sje@cup.hp.com>
2046         * configure: Regenerate for new libtool.
2047         * config.h.in: Regenerate for new libtool.
2049 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
2051         * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 
2053 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
2055         * Makefile.in: Include ../boehm-gc/threads.mk. 
2056         (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
2058 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2060         * Makefile.in (install-info): New stub target.
2062 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2064         * configure: Regenerate.
2066 2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
2068         * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
2069         if HAVE_GETIPINFO is not defined.
2071 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
2073         * Object.m (compare): Add type id.
2074         * objc/Object.h: Likewise.
2075         * archive.c (objc_read_class): Use size_t to extend version to be
2076         size of pointer scalar width.
2077         * sendmsg.c (rtx): Undefine it before redefinition.
2078         (__objc_print_dtable_stats): Cast arguments to long as intended.
2080 2008-05-30  Julian Brown  <julian@codesourcery.com>
2082         * exception.c (__objc_exception_class): Initialise as constant
2083         array for ARM EABI. Change macro to static const for non-ARM EABI.
2084         (ObjcException): Add note about structure layout. Remove landingPad
2085         and handlerSwitchValue for ARM EABI.
2086         (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
2087         of function.
2088         (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
2089         (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
2090         ARM EABI unwinding support.
2091         (objc_exception_throw): Use memcpy to initialise exception class.
2093 2008-05-25  Alan Modra  <amodra@bigpond.net.au>
2095         * encoding.c (strip_array_types): Rename from get_inner_array_type.
2096         (rs6000_special_round_type_align): Update.
2098 2008-05-09  Julian Brown  <julian@codesourcery.com>
2100         * Makefile.in (LTLDFLAGS): New.
2101         (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
2103 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
2105         PR bootstrap/35457
2106         * aclocal.m4: Regenerate.
2107         * configure: Regenerate.
2109 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
2111         * configure: Regenerate.
2113 2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2115         * configure.ac: Don't run config-ml.in directly.
2116         (multilib_arg): New.
2117         * configure: Regenerated.
2119 2007-08-06  Andrew Pinski  <pinskia@gmail.com>
2121         PR libobjc/30731
2122         * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
2123         of _Unwind_Word for variables which are used in
2124         read_uleb128/read_sleb128.
2125         (PERSONALITY_FUNCTION): Likewise.
2127 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2129         * aclocal.m4: Regenerated.
2131 2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2133         * configure.ac: Fix a typo in *-*-darwin clause.
2134         * configure: Regenerated.
2136 2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2138         * configure.ac: Fix a typo.
2139         * configure: Regenerated.
2141 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
2143         * configure: Regenerate.
2145 2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2147         * Makefile.in: Replace all uses of libext with libsuffix.
2148         * configure.ac: Likewise.
2149         * configure: Regenerate.
2151         Revert:
2152         * Makefile.in: Remove all uses of $(libext).
2154 2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2156         * Makefile.in: Remove all uses of $(libext).
2158 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
2160         * configure: Regenerate.
2161         * aclocal.m4: Regenerate.
2163 2007-04-21  Andrew Ruder  <andy@aeruder.net>
2165         * sendmsg.c (__objc_get_forward_imp): Call
2166         __objc_msg_forward2 for real.
2168 2007-04-09  Andrew Ruder  <andy@aeruder.net>
2170         * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2171         external libraries to provide a function that returns the real
2172         forwarding function based on both the selector and the receiver.
2173         * objc/objc-api.h: Define __objc_msg_forward2.
2175 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2177         * Makefile.in: Add dummy install-pdf target.
2179 2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2181         * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2182         unused warning.
2183         
2184 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
2186         * encoding.c (darwin_rs6000_special_round_type_align): New.
2188 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
2190         * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2191         * configure.ac: Use multi.m4 from aclocal rather than custom
2192         code.  Use multi_basedir instead of toplevel_srcdir.
2193         * aclocal.m4: Regenerate.
2194         * configure: Regenerate.
2196 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
2198         * Makefile.in: Added empty "pdf" target.
2200 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2202         * configure: Regenerate.
2204 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
2206         * Makefile.in: Add install-html target. Add install-html to .PHONY
2208 2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2210         PR libobjc/26309
2211         * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2213 2006-01-24  David Ayers  <d.ayers@inode.at>
2215         PR libobjc/9751
2216         * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2217         and insure the new strings are '\0' termintated.
2219 2006-01-24  David Ayers  <d.ayers@inode.at>
2221         PR libobjc/13946
2222         * configure.ac: Add include directives for --enable-objc-gc.
2223         * Makefile.in: Ditto.
2224         * configure: Regenerate.
2226         * gc.c (__objc_class_structure_encoding): Increment the used bytes
2227         instead of the local pointer to them.
2229 2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
2231         PR objc/25360
2232         * objc/objc-api.c (_C_COMPLEX): New define.
2233         * encoding.c (objc_sizeof_type): Handle _C_Complex.
2234         (objc_alignof_type): Likewise.
2235         (objc_skip_typespec): Likewise.
2237 2005-12-15  David Ayers  <d.ayers@inode.at>
2239         PR libobjc/14382
2240         * README (+load,+initialize): Fix documentation to reflect
2241         intended and implemented semantics for +load and +initialize.
2242         
2243 2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
2245         * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2246         the name.
2247         (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2248         (rs6000_special_round_type_align): Update for the ABI fix.
2249         (objc_layout_finish_structure): Correct the encoding which is passed to
2250         ROUND_TYPE_ALIGN.
2252 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2254         PR libobjc/25347
2255         * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2256         but use the struct layout functions.
2257         (objc_alignof_type): Likewise.
2258         (objc_layout_structure): Handle _C_UNION_B also.
2259         (objc_layout_structure_next_member): Likewise.
2260         (objc_layout_finish_structure): Likewise.
2262 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2264         PR libobjc/25346
2265         * objc/objc-api.h (_C_BOOL): New define.
2266         * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2267         (objc_alignof_type): Likewise.
2268         (objc_skip_typespec): Likewise.
2270 2005-11-20  David Ayers  <d.ayers@inode.at>
2272         PR libobjc/19024
2273         * objc/hash.h: Remove deprecated hash API.
2274         * hash_compat.c: Remove.
2275         * Makefile.in: Remove reference to hash_compat.c.
2277         * configure.ac (VERSION): Bump library version to 2:0:0.
2278         * configure: Regenerate.
2280 2005-11-09  Alexandre Oliva  <aoliva@redhat.com>
2282         PR other/4372
2283         * thr-objc.c (_XOPEN_SOURCE): Define.
2285 2005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
2287         PR libobjc/23612
2288         * objc/objc-api.h (struct objc_ivar): Move definition to
2289         global scope.
2291 2005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
2292             Rasmus Hahn  <rassahah@neofonie.de>
2294         PR libobjc/23108
2295         * archive.c (objc_write_type): Correct the element offset.
2296         (objc_read_type): Likewise.
2298 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2300         * All files: Update FSF address.
2302 2005-08-13  Marcin Koziej  <creep@desk.pl>
2303             Andrew Pinski  <pinskia@physics.uc.edu>
2305         PR libobjc/22492
2306         * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2308 2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2310         * Makefile.in (extra_ldflags_libobjc): New.
2311         (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2312         (libobjc_gc$(libext).la): Likewise.
2313         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2314         "-Wl,-single_module".
2315         * configure: Regenerate.
2316         * linking.m (_objcInit): Remove.
2318 2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
2320         PR libobjc/22606
2321         * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2323 2005-06-08  David Ayers  <d.ayers@inode.at>
2325         * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2326         objc/encoding.h, objc/hash.h, objc/objc-api.h,
2327         objc/runtime.h, objc/sarray.h, objc/thr.h, 
2328         objc/typedstream.h: Do not include Objective-C headers as
2329         system headers.
2331 2005-06-07  David Ayers  <d.ayers@inode.at>
2333         * archive.c, init.c, selector.c: Include hash.h.
2334         * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2335         init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2336         sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2337         thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2338         thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2339         Include Objective-C headers with quotes and objc/ directory
2340         prefix.
2342 2005-05-19  Richard Henderson  <rth@redhat.com>
2344         * exception.c: Revert last change.
2346 2005-05-19  David Ayers  <d.ayers@inode.at>
2348         * exception.c: Include tsystem.h for unwind.h.
2350 2005-05-09  Mike Stump  <mrs@apple.com>
2352         * configure: Regenerate.
2354 2005-04-12  Mike Stump  <mrs@apple.com>
2356         * configure: Regenerate.
2358 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2360         * Makefile.in: Set gcc_version here.
2361         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
2362         in definition of toolexeclibdir so that $(gcc_version) is expanded
2363         by the Makefile.
2364         * aclocal.m4, configure: Regenerate.
2366 2005-03-03  David Ayers  <d.ayers@inode.at>
2368         * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2369         version reference.  Correct typo.
2371 2005-03-02  David Ayers  <d.ayers@inode.at>
2373         PR libobjc/19024
2374         * Makefile.in (OBJS): Add hash_compat.lo.
2375         (OBJS_GC): Add hash_compat_gc.lo.
2376         (hash_compat_gc.lo): New target and rule.
2377         * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2378         (hash_next, hash_value_for_key, hash_is_key_in_hash)
2379         (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2380         with objc_.  Add deprecated non prefixed inlined versions.
2381         (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2382         declarations.
2383         * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2384         (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2385         update callers.
2386         * hash_compat.c: New file.
2387         * archive.c: Update callers.
2388         * init.c: Likewise.
2389         * selector.c: Likewise.
2390         * libobjc.def: Add objc_ versions of hash functions.
2392 2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
2394         PR libobjc/20252
2395         * Makefile.in (GTHREAD_FLAGS): Remove.
2396         (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2397         * thr-objc.c: Include config.h.
2398         * configure.ac: Instead of looking at GCC's makefile, figure out if
2399         GTHREAD_FLAGS should be defined by looking at the `thread model'
2400         of the current gcc.
2401         * configure: Regenerate.
2402         * config.h.in: Regenerate.
2404 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2406         PR bootstrap/17383
2407         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2408         (Determine CFLAGS for gthread): Use $host_subdir.
2409         * configure: Regenerate.
2410         * Makefile.in (host_subdir): New.
2411         (INCLUDES): Use it.
2413 2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
2415         PR libobjc/12035
2416         * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2417         they are not used.
2418         Include limits.h and stdlib.h.
2419         Define BITS_PER_WORD.
2421 2004-12-12  Alexander Malmberg  <alexander@malmberg.org>
2423         * selector.c (__objc_init_selector_tables): Add missing void to
2424         definition.
2426 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
2428         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2429         * configure, aclocal.m4: Regenerate.
2431 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2433         * configure: Regenerate for libtool change.
2435 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2437         * configure: Regenerate for libtool reversion.
2439 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2441         * configure: Regenerate for libtool change.
2443 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2445         * aclocal.m4, config.h.in: Regenerate.
2447 2004-10-08  Mike Stump  <mrs@apple.com>
2448             Andrew Pinski  <pinskia@physics.uc.edu>
2450         * aclocal.m4: Rename to ...
2451         * acinclude.m4: here and also use m4_include instead of sinclude.
2452         * aclocal.m4: Regenerate.
2453         * configure: Regenerate.
2454         * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2455         * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2457 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
2459         * archive.c: Fix all the warnings about passing unsigned char*
2460         to char* and the other way too.
2462 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
2464         PR libobjc/16448
2465         * exception.c: Include config.h
2466         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2467         SJLJ_EXCEPTIONS.
2468         * configure.ac: Find out what exception handling code we use.
2469         * configure: Regenerate.
2470         * config.h.in: New file, regenerate.
2472 2004-09-16  Andrew Pinski  <apinski@apple.com>
2474         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2476 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
2478         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2479         ACX_NONCANONICAL_TARGET.
2480         * configure: Regenerate.
2482 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
2484         * objc/sarray.h: Hoist include of assert.h near the top of file,
2485         and mark the remainder of the file 'extern "C"'.
2487 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2489         * objc/Object.h: Move includes out of extern "C" blocks.
2490         * objc/encoding.h: Likewise.
2491         * objc/hash.h: Likewise.
2492         * objc/objc-api.h: Likewise.
2493         * objc/runtime.h: Likewise.
2494         * objc/sarray.h: Likewise.
2495         * objc/typedstream.h: Likewise.
2497 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
2499         * objc/NXConstStr.h: Update copyright date; bracket with
2500         'extern "C"' for C++ use; make include syntax consistent
2501         by using <...> instead of "..."; hoist <objc/...> includes
2502         above the 'extern "C"' block.
2503         * objc/Object.h: Likewise.
2504         * objc/Protocol.h: Likewise.
2505         * objc/encoding.h: Likewise.
2506         * objc/hash.h: Likewise.
2507         * objc/runtime.h: Likewise.
2508         * objc/sarray.h: Likewise.
2509         * objc/thr.h: Likewise.
2510         * objc/typedstream.h: Likewise.
2511         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2512         (objc_static_instances): For C++ case, do away with
2513         zero-sized array.
2514         (objc_method): Hoist definition to file scope.
2515         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2516         class_get_instance_method, class_create_instance,
2517         class_get_class_name, class_get_instance_size,
2518         class_get_meta_class, class_get_super_class, class_get_version,
2519         class_is_class, class_is_meta_class, class_set_version,
2520         class_get_gc_object_type, class_ivar_set_gcinvisible,
2521         get_imp): Rename 'class' parameter to '_class'.
2522         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2523         * objc/objc.h: Update copyright date.
2524         (arglist_t): Provide a union tag.
2526 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
2528         * thr.c (__objc_thread_detach_function): Do not mark as volatile
2529         but instead use the attribute noreturn.
2531 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
2533         * encoding.c: Rename target_flags with a #define to avoid
2534         conflict with a prior declaration.
2536 2004-06-24  Andrew Pinski  <apinski@apple.com>
2538         * objc/encoding.h: Wrap the functions with extern "C" for C++
2539         mode.
2540         * objc/hash.h: Likewise.
2541         * objc/objc-api.h: Likewise.
2542         * objc/objc-list.h: Likewise.
2543         * objc/runtime.h: Likewise.
2544         * objc/sarray.h: Likewise.
2545         * objc/thr.h: Likewise.
2546         * objc/typedstream.h: Likewise.
2549 2004-06-21  Nick Clifton  <nickc@redhat.com>
2551         * encoding.c (BITS_PER_UNIT): Define if a definition is not
2552         provided.
2554 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2556         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2557         (exception_gc.lo): New.
2558         (OBJS_GC): Add exception_gc.lo.
2560 2004-06-17  Richard Henderson  <rth@redhat.com>
2562         * exception.c: New file.
2563         * Makefile.in (exception.lo): New.
2564         (OBJS): Add it.
2566 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
2568         * linking.m (_objcInit): New empty function
2569         for Darwin only.
2571 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2573         * configure.ac: Support --enable-shared=libobjc.
2574         * configure: Regenerate.
2576         PR libobjc/15901
2577         * configure.ac: Do not disable shared by default.
2578         * configure: Regenerate.
2580 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
2582         * Protocol.m ([-isEqual:]): Small optimizations returning
2583         immediately if the argument is equal to self, and accessing
2584         the argument's name directly if it's a protocol.
2586 2004-06-03  David Ayers  <d.ayers@inode.at>
2588         * Protocol.m ([-isEqual:]): Test the class of the argument.
2590 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2592         * configure.ac (includedir): Rename to ...
2593         (includedirname).
2594         * Makefile.in: s/includedir/includedirname/.
2596         PR target/11572
2597         * configure.ac (includedir): Set to "include"
2598         except for Darwin.
2599         (libext) Set to empty except for Darwin.
2600         * configure: Regenerate
2601         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2602         s/include/$(includedir)/g.
2604 2004-05-25  Daniel Jacobowitz  <drow@false.org>
2606         * Makefile.in: Add .NOEXPORT.
2608 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2610         Merge from the libobjc-branch
2611         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
2613                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2615         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2617                 * Makefile.in (OBJC_H): Add objc-deps.h.
2619         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
2621                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2622                 ([-hash], [-isEqual:]): New methods.
2624         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
2626                 * sarray.c (sarray_free): Add a better comment.
2628         2004-01-27  Adam Fedor  <fedor@gnu.org>
2630                 * hash.c (hash_add): Cast cachep to int.
2631                 * selector.c (__sel_register_typed_name): Cast
2632                 soffset_decode to int.
2634         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
2636                 * selector.c: Rename register_selectors_from_list to
2637                 __objc_register_selectors_from_list. Update caller.
2638                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2639                 while registering selectors. Use __sel_register_typed_name instead
2640                 of sel_register_typed_name. Check for NULL method_name:s.
2641                 (pool_alloc_selector): New function.
2642                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2643                 selector structures.
2644                 * sendmsg.c (class_add_method_list): Use
2645                 __objc_register_selectors_from_list.
2646                 * objc/runtime.h: Add __objc_register_selectors_from_list.
2648         2004-01-25  Adam Fedor  <fedor@gnu.org>
2649                     Nicola Pero  <n.pero@mi.flashnet.it>
2650                     Andrew Pinski  <pinskia@physics.uc.edu>
2652                 * objc/objc-decls.h: New file.
2653                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2654                 (_objc_load_callback): Likewise.
2655                 (_objc_object_alloc): Likewise.
2656                 (_objc_object_copy): Likewise.
2657                 (_objc_object_dispose): Likewise.
2659         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
2661                 * archive.c: s/__inline__/inline
2662                 * sendmsg.c: Likewise.
2664                 * encoding.c: Remove FIXME about the warning
2665                 about unused variable.
2666                 * sendmsg.c: Add a FIXME comment saying that
2667                 this should be using libffi.
2669                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2672 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
2674         * archive.c (objc_read_class): Initialize class_name.
2675         (objc_read_selector): Initialize selector_name.
2677 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
2679         * Makefile.in (toolexecdir): Remove trailing space.
2681 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2683         PR libobjc/14948
2684         * configure.ac: De-precious CC so multilibs work.
2685         * configure: Regenerate.
2687 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2689         * configure.ac: Restore toolexecdir.
2690         * Makefile.in: Restore toolexecdir.
2691         * configure: Regenerate.
2693 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2695         * configure.ac: Remove (unused) glibcpp_prefixdir.
2696         * configure: Regenerate.
2698         * configure.in: Rename to configure.ac.
2699         * Makefile.in: Update to match.
2701         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2702         Replace glibcpp_toolexeclibdir with toolexeclibdir.
2703         * configure.in: Remove glibcpp_toolexecdir (unused).
2704         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
2705         config.h or stamp-h (unused).  Move one comment to the right place.
2706         * configure: Regenerate.
2707         * config.h.in: Remove (unused).
2709         * config.h.in: Regenerate with autoheader.
2711         * Makefile.in: Remove (unused) gcc_version_trigger.
2712         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
2713         gcc_version_trigger.
2714         * configure: Regenerate.
2716         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2717         Sort file into sections.  Remove dnl where appropriate.  Fix
2718         other style issues.
2719         * configure: Regenerate.
2721         * configure.in: Replace old AC_PROG_CC hack with new one.
2722         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2723         are no subdirectory output files, so this is fine).  Change prereq
2724         to autoconf 2.59.
2725         * aclocal.m4: Include ../config/no-executables.m4.
2726         * configure: Regenerate with autoconf 2.59.
2728         * configure.in: Improve comments on gthread_cflags.  Improve m4
2729         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2730         * configure: Regenerate.
2732         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
2733         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
2734         redundant checks for values of RANLIB, AR, INSTALL.
2735         * configure: Regenerate.
2737         * configure.in: Clean up handling of
2738         --enable-version-specific-runtime-libs and related variables;
2739         replace 'if test' with 'case' where reasonable.  Fix comments.
2740         Remove useless libstdcxx_interface.
2741         * configure: Regenerate.
2743         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2744         Replace uses of target_alias with target_noncanonical.
2745         * aclocal.m4: Include ../config/acx.m4.
2746         * configure: Regenerate.
2747         * Makefile.in: Replace uses of target_alias with target_noncanonical.
2748         Fix copyright statement.
2750         * configure.in: Hand-inline bulky, confusing macros from
2751         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
2752         Update copyright notice.  Remove stuff for automake, which isn't
2753         used in this directory.  Remove emacs local variables.
2754         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
2755         * configure: Regenerate.
2757 2004-03-16  Manfred Hollstein  <mh@suse.com>
2759         * Makefile.in, configure.in, configure: Update copyright years.
2761 2004-03-15  Manfred Hollstein  <mh@suse.com>
2763         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2764         definition from configure.in.
2765         * configure.in (PACKAGE): Add definition.
2766         (VERSION): Add definition; substitute it in output files.
2767         * configure: Re-generate.
2769 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
2771         * objc/hash.h (hash_string, compare_strings):
2772         Add type-casts to make Objective-C++ happy.
2773         * objc/typedstream.h (objc_get_stream_class_version):
2774         Rename parameter from 'class' to 'class_name' to make
2775         Objective-C++ happy.
2777 2004-03-01  Michael Matz  <matz@suse.de>
2779         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2781 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
2783         * objc/objc-api.h (objc_super): The 'class' field shall
2784         be named 'super_class' #ifdef __cplusplus.
2786 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
2788         PR target/10781
2789         * encoding.c (rs6000_special_round_type_align): Define.
2791 2004-01-14  Adam Fedor  <fedor@gnu.org>
2793         PR libobjc/12155
2794         * selector.c (__objc_register_instance_methods_to_class): Free
2795         new_list if not used.
2797 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
2799         PR libobjc/11904
2800         * sarray.c (sarray_free): Free array->is_copy_of latter.
2802 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
2804         PR 11433
2805         * Protocol.m (descriptionForInstanceMethod): Don't dereference
2806         instance_methods if it's NULL.
2807         (descriptionForClassMethod): Likewise for class_methods.
2809 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2811         * Makefile.in (runtime-info.h): Remove -Wp.
2813 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2815         * Makefile.in (CC1OBJ): Remove.
2816         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2817         correctly.
2818         Use .m extension for temporary file.
2819         Remove assembler temp file.
2821 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2823         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2825 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2827         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2829 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2831         * configure: Regenerate.
2833 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
2835         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2836         (libdir)/gcc-lib/ when installing.
2837         * configure: Regenerate.
2839 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
2841         libobjc/9969
2842         * sendmsg.c (get_imp): Fixed rare threading problem.
2843         (__objc_responds_to): Similar fixes.
2844         (objc_msg_lookup): Similar fixes.
2845         (__objc_init_install_dtable): Lock the runtime before checking if the
2846         table is installed.
2848 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2850         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2851         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2852         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2853         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2854         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2855         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2856         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2857         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2858         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2859         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2860         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2862 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
2863                           Nicola Pero  <n.pero@mi.flashnet.it>
2865         libobjc/10742
2866         * init.c (class_superclass_of_class): New function.
2867         (create_tree_of_subclasses_inherited_from): Use it.
2868         (__objc_tree_insert_class): Likewise.
2869         (class_is_subclass_of_class): Likewise.
2871 2003-04-11  David Chad  <davidc@freebsd.org>
2872             Loren J. Rittle  <ljrittle@acm.org>
2874         libobjc/8562
2875         * objc/hash.h (hash_string): Constify correctly.
2876         (compare_ptrs): Use direct compare.
2877         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2878         * objc/sarray.h: Global rename index to indx to avoid shadow.
2880 2003-03-12  Andreas Schwab  <schwab@suse.de>
2882         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2883         glibcpp_toolexeclibdir.
2884         * configure: Rebuilt.
2886 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2888         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2889         config.status.
2890         * configure: Rebuilt.
2892 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2894         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2895         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2896         version_specific_libs is enabled.
2897         * configure: Rebuilt.
2899 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2901         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2902         (install-libs, install-headers): Prepend $(DESTDIR) to
2903         destination paths in all (un)installation commands.
2905 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
2907         * thr-objc.c: Include coretypes.h and tm.h.
2909 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
2911         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2913 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
2915         * configure.in: Remove skip-this-dir support.
2916         * configure: Regenerate.
2918 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2920         * Makefile.in (all): Fix multilib parallel build.
2922 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2924         * sendmsg.c (nil_method): Declare not to take a variable number of
2925         args.
2926         (objc_msg_lookup): Cast nil_method to IMP before returning it.
2927         (objc_msg_lookup_super): The same.
2929 2002-09-10  Jan Hubicka  <jh@suse.cz>
2931         * nil_method.c (nil_method): No longer defined with variable
2932         arguments.
2934 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
2936         * objc/encoding.h: Fix formatting.
2937         * objc/hash.h: Likewise.
2938         * objc/objc-api.h: Likewise.
2939         * objc/runtime.h: Likewise.
2940         * objc/thr.h: Likewise.
2941         * archive.c: Likewise.
2942         * class.c: Likewise.
2943         * encoding.c: Likewise.
2944         * gc.c: Likewise.
2945         * hash.c: Likewise.
2946         * init.c: Likewise.
2947         * misc.c: Likewise.
2948         * nil_method.c: Likewise.
2949         * objects.c: Likewise.
2950         * sarray.c: Likewise.
2951         * selector.c: Likewise.
2952         * sendmsg.c: Likewise.
2953         * thr-mach.c: Likewise.
2954         * thr.c: Likewise.
2956 2002-06-25  DJ Delorie  <dj@redhat.com>
2958         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
2959         GLIBCPP_TOPREL_CONFIGURE.
2960         * configure.in: Call it before AC_CANONICAL_SYSTEM.
2961         * configure: Regenerate.
2963 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2965         * Object.m (forward, read, write): Fix unused parameter warnings.
2966         * encoding.c: Include <stdlib.h>.
2967         (target_flags): Mark with attribute unused.
2968         (atoi): Delete.
2969         * runtime.h (__objc_selector_max_index): Change to unsigned int.
2970         (__objc_generate_gc_type_description): Prototype.
2971         * selector.c (__objc_selector_max_index): Change to unsigned int.
2973 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2975         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
2976         we always have a return value: if __objc_msg_forward does not
2977         supply a forwarding implementation, return the default
2978         __builtin_apply based one.
2980 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2982         * Object.m: Fix signed/unsigned warning.
2983         * Protocol.m: Likewise.
2984         * archive.c: Always include stdlib.h.
2985         (objc_read_short, objc_read_unsigned_short, objc_read_int,
2986         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
2987         Fix signed/unsigned warning.
2988         (objc_write_type, objc_read_type, objc_write_types,
2989         objc_read_types): Ensure ctype 8-bit safety.
2990         (__objc_no_write, __objc_no_read): Mark unused parameters.
2991         * class.c (class_table_setup): Specify void arg.
2992         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
2993         objc_skip_typespec, objc_skip_offset,
2994         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
2995         (objc_layout_structure_next_member): Ensure variables are
2996         initialized.
2997         * gc.c (__objc_generate_gc_type_description,
2998         class_ivar_set_gcinvisible): Mark unused parameters.
2999         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
3000         unused parameters.
3001         (__objc_init_protocols) Fix signed/unsigned warning.
3002         * nil_method.c (nil_method): Mark unused parameters.
3003         * thr.h (objc_thread_callback): Specify void arg.
3004         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
3005         signed/unsigned warning.
3006         (sarray_free): Fix formatting.
3007         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
3008         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
3010 2002-06-09  Andreas Jaeger  <aj@suse.de>
3012         * encoding.c (objc_layout_structure_next_member): Remove unused
3013         variable.
3015 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3017         * Makefile.in (SHELL): Set to @SHELL@.
3018         (WARN_CFLAGS): New.
3019         (ALL_CFLAGS): Add $(WARN_CFLAGS).
3021 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3023         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
3024         * configure: Regenerate.
3026 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
3028         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
3029         script entry, and set LD to it when configuring multilibs.
3030         * configure: Rebuilt.
3032 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
3034         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
3036 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
3038         PR objc/6107
3039         * objc/objc-api.h (struct objc_protocol_list): Change type of
3040         member count from int to size_t.
3042 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3044         PR libobjc/4039
3045         * aclocal.m4: Replace with version copied from libstdc++-v3.
3046         * configure.in: Update for changes to aclocal and Makefile.
3047         * configure: Regenerate.
3048         * Makefile.in: Correct install of multilibs and shared libs, use
3049         INSTALL_DATA for include files.
3051 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
3053         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
3054         categories - when an unclaimed category was found, the loop was
3055         doing two steps forward instead of one, so that in certain cases
3056         it was failing to properly load all the categories.  (Reported
3057         with fix by Alexander Malmberg <alexander@malmberg.org>).
3059 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
3061         * encoding.c: Add target_flags.
3063 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
3065          * objc/objc-api.h (_C_VECTOR): New.
3067          * encoding.c (VECTOR_TYPE): New.
3069 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3071         * class.c: Rewritten the class table to use optimized, lock-free
3072         lookup.  This more than doubles the speed of class method
3073         invocations.  (class_table_setup), (class_table_insert),
3074         (class_table_replace), (class_table_get_safe),
3075         (class_table_next), (class_table_print),
3076         (class_table_print_histogram): New functions.
3077         (__objc_init_class_tables): Use class_table_setup.
3078         (__objc_add_class_to_hash): Use class_table_get_safe and
3079         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
3080         assert the existence of the table; do not lock the runtime; use
3081         class_table_get_safe.  (objc_next_class): Use class_table_next.
3082         (__objc_resolve_class_links): Use class_table_next.
3083         (class_pose_as): Use class_table_replace.
3085 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
3087         * gc.c: Removed the DEBUG declaration.
3089 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3091         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
3092         rather than through objc_thread_id, to save a function call.
3093         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
3094         Ditto.
3096 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3098         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
3099         to cast an id to a Class, which can not be done.  Make the check
3100         by using CLS_ISMETA on the class pointer instead.
3101         (object_is_meta_class): Similar fix.
3103 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
3105         * configure.in (AC_EXEEXT): Work around in case it expands to
3106         nothing, as in autoconf 2.50.
3107         * acinclude.m4: Likewise.
3108         * configure: Rebuilt.
3110 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
3112         * THREADS: Explain that when we compile libobjc inside GCC, we
3113         always use thr-objc.c as a backend, which uses GCC's thread code.
3115 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
3117         * init.c (__objc_send_message_in_list): When setting a new entry
3118         in __objc_load_methods use the method IMP as key, but check to see
3119         if the method is in the hashtable by looking at the IMP also.
3120         Also ... call the method after adding it to the hashtable rather
3121         than before ... thus preventing an obscure possibility of infinite
3122         recursion if a +load method itself loads a subclass.
3124 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
3126         * init.c (__objc_send_message_in_list): When setting a new entry
3127         in __objc_load_methods use the method name as key, not the method
3128         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
3130 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3132         * objc-features.texi: Move to ../gcc/objc.texi.
3133         * fdl.texi: Remove.
3134         * Makefile.in: Don't generate documentation from
3135         objc-features.texi.
3137 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
3139         * fdl.texi: New file.
3140         * objc-features.texi: Simplify.
3141         * Makefile.in: Adjust accordingly.
3143 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3145         * objc-features.texi: Use the GFDL.
3147 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
3149         * encoding.c (REAL_TYPE): Define.
3151 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
3153         * encoding.c (TYPE_MODE): Define.
3155 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
3157         * thr.c (objc_thread_add): New function.
3158         (objc_thread_remove): Ditto.
3159         * objc/thr.h: Declare them.
3160         * libobjc.def: Mention them.
3162 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
3164         * objc-features.texi: Document the @compatibility_alias compiler
3165         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3167 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3169         * sendmsg.c (__objc_forward): Delete strlen() declaration.
3171 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
3173         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3174         we're not interested in the result and they might fail.
3175         * configure: Regenerated.
3177 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3179         * objc-features.texi: Use @email.
3181 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3183         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3184         printf.
3186 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
3188         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3189         determines the value dynamically.
3191 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
3193         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3194         libraries to provide a function that returns the real forwarding
3195         function. This can alleviate problems __builtin_apply() and
3196         friends have on various platforms. (Solution suggested by Helge
3197         Hess.)
3199         * objc/objc-api.h: Define __objc_msg_forward.
3201         * sendmsg.c: Define gen_rtx_REG.
3203 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3205         * thr-rtems.c: New file. Stub to compile.
3207 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3209         * configure: Rebuilt with new libtool.m4.
3211 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3213         * configure.in: Create a config.h file. Check for <sched.h>.
3214         * configure: Regenerate.
3216         * config.h.in: Check for <sched.h>.
3218 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
3220         * configure: Regenerate after change to ../libtool.m4.
3222 2000-08-14  Andreas Schwab  <schwab@suse.de>
3224         * objc-features.texi (Top): Move @menu at end of node.
3226 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
3228         * objc-features.texi: Move @node Top before @menu.
3230 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3232         * objc-features.texi: Documented the new -fconstant-string-class
3233         option.
3235 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3237         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3238         improve the Posix thread support for Objective-C.
3240 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3242         * aclocal.m4: Replace copy of ../libtool.m4 with
3243         sinclude(../libtool.m4).
3245 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
3247         * configure.in: Added libtool support; build shared libraries
3248         if --enable-shared was passed on command line.
3249         * Makefile.in: Modified most compilation commands to use libtool.
3250         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3251         libtool distribution.
3253 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3255         * sarray.c, Object.m: Removed the explicit prototypes for strlen
3256         and memcpy on 64-bit platforms (Suggested by Rodney Brown
3257         <rdb@cup.hp.com>).
3259 2000-05-12  H.J. Lu  (hjl@gnu.org)
3261         * Makefile.in (GTHREAD_FLAGS): New.
3262         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3263         (OBJC_THREAD_FILE): Changed to thr-objc.
3265         * configure.in (GTHREAD_FLAGS): New, check and replace it for
3266         Makefile.
3267         (OBJC_THREAD_FILE): Removed.
3269         * thr-objc.c: New.
3271 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3273         * objc/hash.h: Include string.h.
3275 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3277         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3279 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3281         * Object.m (strlen): Provide prototype on all 64bit platforms,
3282         not only alpha.
3283         * sarray.c (memcpy): Likewise.
3284         * encoding.c (objc_layout_finish_structure): Don't use
3285         ROUND_TYPE_ALIGN on sparc.
3287         * encoding.c (objc_layout_structure_next_member): Do the whole
3288         procedure even for the first member, so that we get correct
3289         alignment.
3291 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3293         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3294         comments.
3296 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3298         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3300 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
3302         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3304 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
3306         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3307         the compiler when building C code.
3309 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
3311         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3312         libdir, libsubdir and tooldir.
3314 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
3316         * init.c (__objc_force_linking): Make global.
3318 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
3320         * configure.in (AC_EXEEXT): Remove call.
3321         (compiler_name): Explicitly check with no extension and .exe
3322         extension.
3323         * configure: Regenerate.
3325 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3327         * Makefile.in (CC1OBJ): Define in terms of CC.
3328         (runtime-info.h): Use.
3330 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3332         * objc-features.texi: Updated the URL to Boehm's GC page.
3334 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3336         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3337         the char as being signed (patch from Daniel Jacobowitz
3338         <drow@false.org>).
3340 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3342         * configure.in (AC_PREREQ): Update to 2.13.
3343         (AC_EXEEXT): Call to find possible file extension.
3344         (compiler_name): Use.
3345         * configure: Regenerate.
3347 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
3349         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3351 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
3353         * configure.in (thread_file): Correct and simplify code to find
3354         the thread file.
3355         * configure: Rebuilt.
3357 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
3359         * configure.in (compiler_name): Add check to detect if this
3360         language's compiler has been built.
3361         * configure: Regenerate.
3363 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3365         *  configure.in: Use AC_PREREQ(2.12.1).
3367 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
3369         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3371 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3373         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3375 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3377         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3379 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
3381         * objc-features.texi (Top): Changed the email address.
3382         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3384 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
3386         * encoding.c: Redefine get_inner_array_type to get the first entry
3387         in the structure.
3389 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
3391         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3392         (objc_get_type_qualifiers): Similarly.
3393         * objc/encoding.h (_C_BYREF): Define.
3394         (_F_BYREF): Define.
3396 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
3398         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3399         works out on 64-bit systems.
3401 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
3403         * Makefile.in (INCLUDES): Make it multilib-friendly.
3405 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
3407         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3409 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
3410                          Jeffrey A Law  (law@cygnus.com)
3412         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3413         (FLAGS_TO_PASS): Added.
3414         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3416         * archive.c: Change config.h to tconfig.h.
3418         * configure.in: Find gcc's object directory even for multilibs.
3420 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
3422         * configure.in: Escape ^ in grep string.
3423         * configure: Rebuilt.
3425 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
3427         * All .h files pushed down into the objc/ subdirectory.
3428         * Makefile.in (copy_headers): Corresponding changes.
3429         * configure.in (AC_INIT): Corresponding changes.
3430         * configure: Rebuilt.
3432 1998-09-30  Ben Elliston  <bje@cygnus.com>
3433             Jeff Law      <law@cygnus.com>
3435         * Makefile.in: Rewrite.
3437         * configure.in: Likewise.
3439         * configure: Regenerate.
3441         * All .c files.  Remove "objc" prefix when including objc header
3442         files.  Include tconfig.h, not ../tconfig.h.
3444 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
3446         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3447         (get_inner_array_type): Define.
3449 1998-09-21  Ben Elliston  <bje@cygnus.com>
3451         * New directory.  Moved files from ../gcc/objc.
3453 Copyright (C) 1998-2017 Free Software Foundation, Inc.
3455 Copying and distribution of this file, with or without modification,
3456 are permitted in any medium without royalty provided the copyright
3457 notice and this notice are preserved.