Update ChangeLog and version files for release
[official-gcc.git] / libobjc / ChangeLog
blob78121927ba01fabf3702774293dc94391e78a9bf
1 2018-01-25  Release Manager
3         * GCC 7.3.0 released.
5 2017-08-14  Release Manager
7         * GCC 7.2.0 released.
9 2017-05-02  Release Manager
11         * GCC 7.1.0 released.
13 2017-02-07  Richard Biener  <rguenther@suse.de>
15         PR tree-optimization/79256
16         PR middle-end/79278
17         * encoding.c (objc_layout_structure_next_member): Adjust
18         ADJUST_FIELD_ALIGN usage.
20 2017-01-18  Matthias Klose  <doko@ubuntu.com>
22         PR libobjc/78697
23         * configure.ac: Allow default for --with-target-bdw-gc-include.
24         * configure: Regenerate.
26         PR libobjc/78698
27         * configure.ac: Use the libgc.la file when available.
28         * configure: Regenerate.
30 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
32         PR other/79046
33         * configure: Regenerated.
34         * configure.ac: Add GCC_BASE_VER.
35         * Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
36         get version from BASE-VER file.
37         * configure: Regenerated.
39 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
41         Update copyright years.
43 2016-12-01  Matthias Klose  <doko@ubuntu.com>
45         * configure.ac: Don't use pkg-config to check for bdw-gc.
46         * configure: Regenerate.
48 2016-11-30  Matthias Klose  <doko@ubuntu.com>
50         * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking
51         for the existence of the pkg-config modules.
52         * Regenerate.
54 2016-11-30  Jakub Jelinek  <jakub@redhat.com>
56         * configure.ac (--enable-objc-gc): If not given, default to
57         enable_objc_gc=no.
58         * configure: Regenerated.
60 2016-11-30  Matthias Klose  <doko@ubuntu.com>
62         * configure.ac (--enable-objc-gc): Allow to configure with a
63         system provided boehm-gc.
64         * configure: Regenerate.
65         * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
66         * gc.c: Include system bdw-gc headers.
67         * memory.c: Likewise.
68         * objects.c: Likewise.
70 2016-11-15  Matthias Klose  <doko@ubuntu.com>
72         * aclocal.m4: Regenerate.
73         * configure: Likewise.
75 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
77         Update copyright years.
79 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
81         PR libobjc/24775
82         * encoding.c (_darwin_rs6000_special_round_type_align): Use
83         __CHAR_BIT__ instead of BITS_PER_UNIT.
84         (objc_sizeof_type): Likewise.
85         (objc_layout_structure): Likewise.
86         (objc_layout_structure_next_member): Likewise.
87         (objc_layout_finish_structure): Likewise.
88         (objc_layout_structure_get_info): Likewise.
90 2015-11-03  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
92         PR libobjc/24775
93         * encoding.c (objc_layout_finish_structure): Remove usage of
94         ROUND_TYPE_SIZE.
96 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
98         PR libobjc/24775
99         * sendmsg.c (tm.h): Remove include.
101 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
103         PR libobjc/24775
104         * sendmsg.c (gen_rtx): Remove macro.
105         (gen_rtx_MEM): Likewise.
106         (gen_rtx_REG): Likewise.
107         (rtx): Likewise.
109 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
111         PR libobjc/24775
112         * sendmsg.c: Remove check of STRUCT_VALUE macro.
114 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
116         * configure.ac: Remove manual SJLJ check.
117         * config.h.in: Regenerate.
118         * configure: Likewise.
119         * exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
121 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
123         * aclocal.m4: Regenerated with automake-1.11.6.
125 2015-05-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
127         * configure: Regenerate.
129 2015-05-01  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
131         * acinclude.m4: Include bitfields.m4.
132         * config.h.in: Regenerate.
133         * configure: Likewise.
134         * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
135         * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
137 2015-04-29  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
139         * encoding.c (objc_layout_structure_next_member): Check the value of
140         PCC_BITFIELD_TYPE_MATTERS not if it is defined.
142 2015-02-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
144         PR libobjc/63765
145         * thr.c (_XOPEN_SOURCE): Remove.
147 2015-01-27  Matthias Klose  <doko@ubuntu.com>
149         * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
151 2015-01-09  Dimitris Papavasiliou  <dpapavas@gmail.com>
153         PR libobjc/51891
154         * ivars.c: Add a check for classes without instance
155         variables, which have a NULL ivar list pointer.
157 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
159         Update copyright years.
161 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
163         PR bootstrap/63784
164         * configure: Regenerated.
166 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
168         PR target/63610
169         * configure: Regenerate.
171 2014-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
173         * thr.c (_XOPEN_SOURCE): Define as 600.
175 2014-07-27  Alan Modra  <amodra@gmail.com>
176             Matthias Klose  <doko@ubuntu.com>
178         PR libobjc/61920
180         * encoding.c: Define rs6000_special_adjust_field_align_p.
182 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
184         Update copyright years
186 2013-09-20  Alan Modra  <amodra@gmail.com>
188         * configure: Regenerate.
190 2013-07-21   Ondřej Bílka  <neleai@seznam.cz>
192         * class.c: Fix typos.
193         * encoding.c: Likewise.
194         * init.c: Likewise.
195         * objc-private/runtime.h: Likewise.
196         * objc/runtime.h: Likewise.
197         * objc-sync.c: Likewise.
199 2013-07-04  Kai Tietz  <ktietz@redhat.com>
201         * exception.c: Add check for SjLj to SEH blocks.
203 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
205         Update copyright years.
207 2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
209         * encoding.c (TARGET_VSX): Provide definitions based on the
210         current compilation options, and not based off the target options
211         structure.
212         (TARGET_ALTIVEC): Likewise.
213         (TARGET_64BIT): Likewise.
215 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
217         * configure: Regenerated.
219 2012-07-19  Tristan Gingold  <gingold@adacore.com>
220             Richard Henderson  <rth@redhat.com>
222         * exception.c (__gnu_objc_personality_seh0): New function.
224 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
226         * configure: Regenerated.
228 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
230         * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
231         * configure: Regenerate.
233         * thr.c (_XOPEN_SOURCE): Define unconditionally.
235 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
237         * configure: Regenerate.
239 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
241         * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
242         * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
243         * configure: Regenerate.
244         * config.h.in: Regenerate.
246 2011-10-17  Paul Brook  <paul@codesourcery.com>
247             Matthias Klose  <doko@ubuntu.com>
249         * exception.c (parse_lsda_header): hardcode ttype_encoding for older
250         ARM EABI toolchains.
251         (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
253 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
255         PR libobjc/49883
256         * init.c (__objc_exec_class): Work around a bug in clang's code
257         generation.  Clang sets the class->info field to values different
258         from 0x1 or 0x2 (the only allowed values in the traditional GNU
259         Objective-C runtime ABI) to store some additional information, but
260         this breaks backwards compatibility.  Wipe out all the bits in the
261         fields other than the first two upon loading a class.
263 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
265         * class.c (objc_lookup_class): Added back for compatibility with
266         clang which seems to emit calls to it.
268 2011-10-08  Richard Frith-Macdonald <rfm@gnu.org>
269             Nicola Pero  <nicola.pero@meta-innovation.com>
271         PR libobjc/50428
272         * sendmsg.c (__objc_send_initialize): If a class does not have an
273         +initialize method, search for an +initialize method in the
274         superclass and in the ancestor classes and execute the first one
275         that is found.  This makes the GNU runtime behave in the same way
276         as the Apple/NeXT runtime with respect to +initialize methods and
277         subclassing.
279 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
281         PR libobjc/50002
282         * class.c (__objc_update_classes_with_methods): Iterate over meta
283         classes as well as normal classes when refreshing the method
284         implementations.  This fixes replacing class methods.
286 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
288         * class.c (class_getSuperclass): Fixed to work with meta classes
289         still in construction too.
291 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
293         * class.c (class_getSuperclass): Fixed typo in comment.
294         
295 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
297         PR libobjc/49882
298         * class.c (class_getSuperclass): Return the superclass if the
299         class is in construction.
300         * objc/runtime.h (class_getSuperclass): Updated documentation.
302 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
304         * Makefile.in (INCLUDES): Search
305         $(srcdir)/$(MULTISRCTOP)../libgcc.
307 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
309         * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
311 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
313         * configure.ac (VERSION): Bumped to 4:0:0.
314         * configure (VERSION): Likewise.
316 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
318         * objc/README: Updated.
319         * objc-private/selector.h: Updated comments.
320         
321 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
323         * sendmsg.c (class_get_instance_method): Removed.
324         (class_get_class_method): Removed.
325         (objc_get_uninstalled_dtable): Removed.
327 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
329         * objc-private/module-abi-8.h (class_get_instance_size): Removed.
330         * objects.c (class_create_instance): Removed.
331         * error.c (__USE_FIXED_PROTOTYPES__): Removed.
332         * gc.c (__objc_generate_gc_type_description): Use
333         class_getInstanceSize() instead of class_get_instance_size().
334         * selector.c (sel_types_match): Made static.
335         (sel_get_typed_uid): Removed.
336         (sel_get_any_typed_uid): Removed.
337         (sel_get_name): Removed.
338         (sel_get_type): Removed.
339         (sel_register_name): Removed.
340         (sel_register_typed_name): Removed.
341         (sel_get_uid): Removed.
343 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
345         * encoding.c (method_get_number_of_arguments): Removed.
346         (method_get_sizeof_arguments): Removed.
348 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
350         * class.c (objc_next_class): Removed.
351         (class_pose_as): Removed.
352         (CLASSOF): Removed.
353         (class_table_replace): Removed.
354         (objc_lookup_class): Removed.
356 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
358         Removed the Traditional Objective-C runtime public API.
359         * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
360         (install-headers): Do not create the objc/deprecated directory and
361         do not install the deprecated headers.
362         (OBJC_H): Removed encoding.h and objc-api.h.
363         * Object.m: Removed all methods with the exception of -class and
364         -isEqual:.  Updated includes.  ([-class]): Use Modern API.
365         * objc/Object.h: Do not include deprecated/Object.h.
366         * objc/deprecated/Object.h: Removed.
367         * linking.m (__objc_linking): Call [Object class] instead of
368         [Object name].
369         * Protocol.m: Removed all methods with the exception of -isEqual:.
370         Updated includes.
371         * objc/Protocol.h: Do not include deprecated/Protocol.h.
372         * objc/deprecated/Protocol.h: Removed.
373         * objc/deprecated/struct_objc_symtab.h: Removed.
374         * objc/deprecated/struct_objc_module.h: Removed.
375         * objc/deprecated/struct_objc_ivar.h: Removed.
376         * objc/deprecated/struct_objc_ivar_list.h: Removed.
377         * objc/deprecated/struct_objc_method.h: Removed.
378         * objc/deprecated/struct_objc_method_list.h: Removed.
379         * objc/deprecated/struct_objc_protocol_list.h: Removed.
380         * objc/deprecated/struct_objc_category.h: Removed.
381         * objc/deprecated/MetaClass.h: Removed.
382         * objc/deprecated/objc_msg_sendv.h: Removed.  
383         * objc/deprecated/README: Removed.
384         * objc/deprecated/struct_objc_class.h: Removed.
385         * objc/deprecated/struct_objc_protocol.h: Removed.
386         * objc/deprecated/struct_objc_selector.h: Removed.
387         * objc/encoding.h: Removed.
388         * objc/message.h (struct objc_super): Removed the definition for
389         the Traditional Objective-C runtime API.
390         * objc/objc.h: Do not include objc/objc-decls.h.
391         deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
392         deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
393         and deprecated/objc_msg_sendv.h.  Uncommented new definition of
394         Protocol *.
395         * objc/objc-api.h: Removed.
396         * objc/runtime.h: Updated comments.  Removed check to detect
397         concurrent usage of Traditional and Modern APIs.
398         * objc-private/module-abi-8.h: Always define struct objc_class and
399         struct objc_protocol.  (struct objc_protocol_list): Changed type
400         of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
401         (class_get_instance_size): Added.
402         * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
403         'struct objc_protocol *' as argument, not a 'Protocol *'.
404         * objc-private/runtime.h: Updated comments.
405         * objc-private/selector.h (struct objc_selector, sel_eq): Added.
406         * class.c: Include objc-private/selector.h.
407         (objc_get_meta_class): Return a Class instead of a MetaClass.
408         * encoding.c (method_get_next_argument): Removed.
409         (method_get_first_argument): Removed.
410         (method_get_nth_argument): Removed.
411         * gc.c: Include objc/runtime.h instead of objc/encoding.h.
412         Include objc-private/module-abi-8.h and ctype.h.
413         * protocols.c (__objc_protocols_add_protocol): Take a 'struct
414         objc_protocl *' as argument, not a 'Protocol *'.
415         (class_addProtocol): Added casts to 'struct objc_protocol *' and
416         'Protocol *'.
417         (class_copyProtocolList): Likewise.
418         (protocol_conformsToProtocol): Likewise.
419         (protocol_copyProtocolList): Likewise.
420         * sarray.c: Include objc-private/module-abi-8.h.
421         * sendmsg.c (method_get_next_argument): Removed.
422         (method_get_first_argument): Removed.
423         (method_get_nth_argument): Removed.
424         (objc_msg_sendv): Removed.
425         (arglist_t, retval_t): New.  (class_get_class_method): Take a
426         'Class', not 'MetaClass', argument.
427         * thr.c: Include module-abi-8.h.
428         
429 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
431         * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
432         and objc_get_uninstalled_dtable.h.
433         * objc/deprecated/struct_objc_static_instances.h: Removed.
434         * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.       
435         * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
436         and deprecated/objc_get_uninstalled_dtable.h.
437         
438 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
440         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
441         * objc/deprecated/objc_object_alloc.h: Removed.
442         * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
443         * objects.c (_objc_object_alloc, _objc_object_dispose,
444         _objc_object_copy): Removed.
445         * libobjc.def (__objc_object_alloc, __objc_object_copy,
446         __objc_object_dispose): Removed.
447         
448 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
450         * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
451         * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
452         * objc/deprecated/METHOD_NULL.h: Removed.
453         
454 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
456         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
457         objc_malloc.h and objc_unexpected_exception.h.
458         (exception.lo): Do not use -Wno-deprecated-declarations.
459         (exception_gc.lo): Likewise.
460         * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
461         deprecated/objc_malloc.h and
462         deprecated/objc_unexpected_exception.h.
463         * objc/deprecated/objc_valloc.h: Removed.
464         * objc/deprecated/objc_malloc.h: Removed.
465         * objc/deprecated/objc_unexpected_exception.h: Removed.
466         * exception.c (_objc_unexpected_exception): Removed.
467         (objc_exception_throw): Do not check for
468         _objc_unexpected_exception.
469         * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
470         _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.        
471         * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
472         
473 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
475         * objc/objc.h: Do not include deprecated/STR.h.
476         * objc/deprecated/STR.h: Removed.
477         * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
478         
479 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
481         * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
482         (OBJC_DEPRECATED_H): Likewise.
483         * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
484         objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
485         objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
486         hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
487         sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
488         sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
489         * objc/sarray.h: Removed.
490         * objc/hash.h: Removed.
491         * objc/deprecated/sarray.h: Removed.
492         * objc/deprecated/hash.h: Removed.
493         * objc/Object.h: Do not include objc/deprecated/hash.h
494         * Object.m: Include string.h.
495         * objc/objc-api.h: Do not include objc/deprecated/hash.h.
496         * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
497         Removed.
499 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
501         * Object.m ([-forward::]): Removed.
502         * objc/deprecated/Object.h ([-forward::]): Removed.
503         * sendmsg.c (__objc_forward): Updated comments.
504         
505 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
507         * Makefile.in (OBJC_H): Removed objc-list.h.
508         (OBJC_DEPRECATED_H): Removed objc-list.h.
509         * objc/objc-list.h: File removed.
510         * objc/deprecated/objc-list.h: File removed.
512 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
514         * Makefile.in (OBJC_H): Removed typedstream.h.
515         (OBJC_DEPRECATED_H): Removed typedstream.h.
516         (C_SOURCE_FILES): Removed archive.c.
517         (Object.lo): Rule removed.
518         (Object_gc.lo): Likewise.
519         (archive.lo): Likewise.
520         (archive_gc.lo): Likewise.
521         * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
522         [-awake]): Removed.
523         Do not include deprecated/typedstream.h.
524         * Object.m: Removed the same methods.
525         * archive.c: File removed.
526         * objc/typedstream.h: File removed.
527         * objc/deprecated/typedstream.h: File removed.
528         * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
529         __objc_write_class, __objc_write_object, __objc_write_selector,
530         objc_close_typed_stream, objc_end_of_typed_stream,
531         objc_flush_typed_stream, objc_get_stream_class_version,
532         objc_open_typed_stream, objc_open_typed_stream_for_file,
533         objc_read_array, objc_read_char, objc_read_int, objc_read_long,
534         objc_read_object, objc_read_selector, objc_read_short,
535         objc_read_string, objc_read_type, objc_read_types,
536         objc_read_unsigned_char, objc_read_unsigned_int,
537         objc_read_unsigned_long, objc_read_unsigned_short,
538         objc_write_array, objc_write_char, objc_write_int,
539         objc_write_long, objc_write_object, objc_write_object_reference,
540         objc_write_root_object, objc_write_selector, objc_write_short,
541         objc_write_string, objc_write_string_atomic, objc_write_type,
542         objc_write_types, objc_write_unsigned_char,
543         objc_write_unsigned_int, objc_write_unsigned_long,
544         objc_write_unsigned_short): Removed.
545         
546 2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
548         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
549         * objc/deprecated/objc_error.h: Removed.
550         * objc/objc-api.h: Do not include deprecated/objc_error.h.
551         * libobjc.def (objc_error, objc_verror): Removed.
552         * error.c (_objc_error_handler, objc_error, objc_verror,
553         objc_set_error_handler): Removed.
554         * Object.m ([-error:], [-perform:], [-perform:with:],
555         [-perform:with:with], [-subclassResponsibility:],
556         [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
557         Removed.
558         * objc/deprecated/Object.h: Removed the same methods.
559         * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
560         method after trying to invoke the "doesNotRecognize:" method.
561         
562 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
564         * sendmsg.c: Reindented part of the file.  No non-trivial changes
565         in code.
567 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
569         * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
570         not objc_lookup_class.
572 2011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
573             David Ayers  <ayers@fsfe.org>
575         PR libobjc/38307
576         * sendmsg.c: Include objc/hash.h.
577         (get_implementation): New function, mostly with code from get_imp
578         updated to support the new +initialize dispatch table logic.
579         (get_imp): Use get_implementation.
580         (__objc_responds_to): Updated to support the new +initialize
581         dispatch table logic.
582         (class_respondsToSelector): Likewise.
583         (objc_msg_lookup): Use get_implementation.
584         (__objc_init_install_dtable): Removed.
585         (__objc_install_methods_in_dtable): Updated arguments.
586         (__objc_install_dispatch_table_for_class): Renamed to
587         __objc_install_dtable_for_class and updated to support the new
588         +initialize dispatch table logic.
589         (__objc_update_dispatch_table_for_class): Updated to support the
590         new +initialize dispatch table logic.
591         (__objc_forward): Call get_implementation instead of get_imp.
592         (prepared_dtable_table): New.
593         (__objc_prepare_dtable_for_class): New. 
594         (__objc_prepared_dtable_for_class): New.
595         (__objc_get_prepared_imp): New.
596         (__objc_install_prepared_dtable_for_class): New.
597         
598 2011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
600         PR libobjc/48177
601         * selector.c (__sel_register_typed_name): Use sel_types_match()
602         instead of strcmp() to compare selector types (Suggestion by
603         Richard Frith-Macdonald <rfm@gnu.org>).
605 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
607         PR libobjc/32037
608         * Makefile.in (OBJC_GCFLAGS): Move ...
609         * configure.ac (enable_objc_gc): ... here.
610         Add $(libsuffix) to OBJC_BOEHM_GC.
611         * configure: Regenerate.
613 2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>
614         
615         * selector.c (sel_getTypedSelector): Return NULL if there are
616         multiple selectors with conflicting types.
617         * objc/runtime.h (sel_getTypedSelector): Updated documentation.
618         
619 2011-02-28  Richard Frith-Macdonald <rfm@gnu.org>
621         PR libobjc/47922
622         * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
623         a hardcoded "!".
625 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
627         * configure: Regenerate.
629 2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>
631         * init.c (create_tree_of_subclasses_inherited_from): Use
632         class_superclass_of_class instead of assuming a class is
633         unresolved when it could be resolved.  Tidied up assignment and
634         check.
635         (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
636         (objc_tree_insert_class): Tidied up loop; return immediately upon
637         inserting a class.
638         (__objc_exec_class): Do not set __objc_class_tree_list.
639         
640 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
642         * selector.c (sel_getTypedSelector): Return NULL if given a NULL
643         argument.
644         (sel_registerTypedName): Same.
645         (sel_registerName): Same.
646         * objc/runtime.h: Updated documentation.
647         
648 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
650         * objc/runtime.h (class_addIvar): Updated documentation.  The
651         alignment is actually the log_2 of the alignment in bytes.
652         * ivars.c (class_addIvar): Corresponding change to the
653         implementation.
654         
655 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
657         * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
658         be consistent with method_getTypeEncoding and
659         ivar_getTypeEncoding.
660         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
661         * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
662         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
663         (sel_get_type): Updated call to sel_getType.
664         
665 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
667         * objc/runtime.h (class_conformsToProtocol,
668         class_copyProtocolList): Updated documentation.
670 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
672         * init.c (create_tree_of_subclasses_inherited_from): Updated
673         DEBUG_PRINTF messages.
674         (__objc_tree_insert_class): Same.
675         (__objc_send_load_using_method_list): Same.
676         (__objc_send_load): Same.
677         (__objc_exec_class): Same.  In particular, do not print the module
678         name since it is no longer used.
679         * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
680         tracking +initialize calls.
681         (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
682         tracking updates of dispatch tables.
683         (__objc_install_dispatch_table_for_class): Same.
684         
685 2010-12-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
687         * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
688         (libobjc_gc$(libsuffix).la): Likewise.
690 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
692         * sendmsg.c (class_addMethod): Return NO if the method already
693         exists in the class.
695 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
697         * init.c (duplicate_classes): New.
698         (__objc_exec_class): Initialize duplicate_classes.
699         (__objc_create_classes_tree): Ignore classes in the
700         duplicate_classes table.
701         (__objc_call_load_callback): Same.
702         (__objc_init_class): If a duplicate class is found, add it to
703         duplicate_classes instead of aborting.  Return YES if the class is
704         not a duplicate, and NO if it is.
705         * objc-private/runtime.h (__objc_init_class): Updated prototype.
707 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
709         * objc-private/objc-list.h: Reindented file.  No code changes.
710         * objc-private/sarray.h: Same change.
712 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
714         * objc-private/accessors.h: Removed 'extern "C"' guards.  This
715         file is never compiled with C++.
716         * objc-private/hash.h: Same change.
717         * objc-private/objc-list.h: Same change.
718         * objc-private/objc-sync.h: Same change.
719         * objc-private/protocols.h: Same change.
720         * objc-private/runtime.h: Same change.
721         * objc-private/sarray.h: Same change.
722         * objc-private/selector.h: Same change.
724 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
726         PR libobjc/18764
727         * class.c (__objc_add_class_to_hash): Return YES if the class was
728         added, and NO if it already existed.
729         * init.c (__objc_init_class): If __objc_add_class_to_hash returns
730         NO, then abort the program with an error message.
731         * objc-private/runtime.h (__objc_add_class_to_hash): Updated
732         declaration.
734 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>      
736         * init.c (_objc_load_callback): Initialize with 0.
737         (__objc_call_callback): Renamed to __objc_call_load_callback.
738         Check _objc_load_callback only once, and if it is not set, return
739         immediately.
740         (objc_send_load): Updated call to __objc_call_callback.
741         
742 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
744         PR libobjc/16110
745         * init.c (__objc_send_message_in_list): Renamed to
746         __objc_send_load_using_method_list.  Do not take an 'op' argument.
747         Register the 'load' selector if needed.
748         (__objc_send_load): Do not register the 'load' selector.  Updated
749         call to __objc_send_message_in_list.
750         (__objc_create_classes_tree): Add the class of any claimed
751         category that was loaded in the module to the list of classes for
752         which we try to execute +load.
753         
754 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
756         * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
757         Updated comments.
758         * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
759         a pointer using DEBUG_PRINTF.
760         
761 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
763         PR libobjc/45953
764         * selector.c (__sel_register_typed_name): When registering a new
765         selector with the same name as an existing one, reuse the existing
766         name string.  Also updated types, casts and comments in the whole
767         function.
769 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
771         * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
772         to be 'struct objc_selector *' and not 'SEL'.
773         * init.c (__objc_exec_class): Call
774         __objc_register_selectors_from_module instead of iterating over
775         each selector and calling __sel_register_typed_name for each.
776         * objc-private/selector.h: Declare
777         __objc_register_selectors_from_module instead of
778         __sel_register_typed_name.
779         * selector.c (__objc_register_selectors_from_module): New.
780         (__sel_register_typed_name): Made static.
781         
782 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
784         * linking.m: Do not include objc/NXConstStr.h.
786 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
787         
788         * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
789         * objc-private/common.h (DEBUG_PRINTF): To here.
790         * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
791         
792 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
794         * hash.c: Tidied up comments and indentation.  No code changes.
796 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
798         PR libobjc/47012
799         * accessors.m (objc_getProperty): If not atomic, do not
800         retain/autorelease the returned value.
802 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
804         * objc-private/runtime.h (__objc_selector_max_index,
805         __objc_init_selector_tables, __objc_register_selectors_from_class,
806         __objc_register_selectors_from_list,
807         __objc_register_selectors_from_description_list): Moved to ...
808         * objc-private/selector.h: ... here.
810 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
812         * objc-private/runtime.h (__objc_class_links_resolved): Removed.
813         (__objc_print_dtable_stats): Removed.
814         (__sel_register_typed_name): Removed.
815         * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
816         
817 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
819         * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
820         if appropriate, after loading the module.
822 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
824         * sendmsg.c (method_setImplementation): Do not declare.
826 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
828         * objc/message.h: Updated comments.
829         * objc/runtime.h: Updated comments.
830         
831 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
833         * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
834         * protocols.c: Updated all calls to objc_lookupClass to call
835         objc_lookUpClass instead.
836         * sendmsg.c (objc_lookupClass): Do not declare.
837         (get_imp): Update call to objc_lookupClass to call
838         objc_lookUpClass instead.
839         * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
841 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
843         * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
844         * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
845         define.  Updated comments.
846         
847 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
849         * objc/encoding.h: Updated comments.
850         * objc/runtime.h: Updated comments.
851         (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
852         (objc_sizeof_type): Same.
853         (objc_alignof_type): Same.
854         (objc_aligned_size): Same.
855         (objc_promoted_size): Same.
856         (objc_skip_type_qualifiers): Same.
857         (objc_skip_typespec): Same.
858         (objc_skip_offset): Same.
859         (objc_skip_argspec): Same.
860         (objc_get_type_qualifiers): Same.
861         (objc_layout_structure): Same.
862         (objc_layout_structure_next_member): Same.
863         (objc_layout_finish_structure): Same.
864         (objc_layout_structure_get_info): Same.
865         
866 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
868         * init.c: Updated comments.
869         * objc/objc-api.h: Updated comments.
870         * objc/runtime.h (_objc_load_callback): Declare.
871         
872 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
874         * objc/Object.h: Include deprecated/typedstream.h and
875         deprecated/hash.h instead of typedstream.h.  Updated comments.
877 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
879         * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
880         * objc/deprecated/objc_msg_sendv.h: New.
881         * objc/message.h: Do not define retval_t, apply_t, arglist,
882         arglist_t, objc_msg_sendv, now in
883         objc/deprecated/objc_msg_sendv.h.
884         * objc/objc.h: Do not include message.h; include
885         objc/deprecated/objc_msg_sendv.h instead.  Tidied up comments.
886         * sendmsg.c: Include objc/message.h.
887         * thr.c: Include objc/message.h.
888         
889 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
891         * objc/objc-exception.h: Include objc-decls.h.  Mark all
892         functions with objc_EXPORT.
893         * objc/objc-sync.h: Same change.
895 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
897         * Protocol.m: Moved all methods, with the exception of -isEqual:,
898         into the 'Deprecated' category.
899         * objc/Protocol.h: Removed all methods, moved to
900         objc/deprecated/Protocol.h.  Include objc/deprecated/Protocol.h.
901         * objc/deprecated/Protocol.h: New.
902         * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
903         
904 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
906         * init.c: Include objc-private/selector.h.  Do not declare
907         __sel_register_typed_name.
908         * objc-private/selector.h (__sel_register_typed_name): Declare.
909         * selector.c: Include objc-private/selector.h.
910         
911 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
913         * class.c: Tidied up comments and indentation.  No code changes.
914         * error.c: Same.
915         * exception.c: Same.
916         * init.c: Same.
917         * ivars.c: Same.
918         * memory.c: Same.
919         * objc-foreach.c: Same.
920         * objc-sync.c: Same.
921         * objects.c: Same.
922         * protocols.c: Same.
923         * sarray.c: Same.
924         * thr.c: Same.
926 2010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
928         * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
929         instead of objc/objc-api.h.
930         (init_check_module_version): Take a 'struct objc_module *'
931         argument instead of 'Module_t'.  Use 'struct objc_module *'
932         instead of 'Module_t'.
933         (__objc_created_classes_tree): Take a 'struct objc_module *'
934         argument instead of 'Module_t'; use 'struct objc_symtab *' instead
935         of 'Symtab_t'.
936         (__objc_call_callback): Take a 'struct objc_module *' argument
937         instead of 'Module_t'; use 'struct objc_symtab *' instead of
938         'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
939         (_objc_load_callback): Take a 'struct objc_category *' argument
940         instead of 'Category *'.
941         (class_superclass_of_class): Use objc_getClass() instead of
942         objc_lookup_class().
943         (create_tree_of_subclasses_inherited_from): Same change (also, use
944         an explicit 'if' instead of '?').
945         (objc_init_statics): Same change.
946         (objc_send_load): Same change.
947         (__objc_init_protocol): same change.
948         (__objc_send_message_in_list): Take a 'struct objc_method_list *'
949         argument instead of 'MethodList_t'.  Use 'struct objc_method *'
950         instead of 'Method_t'.
951         (__objc_send_load): Use 'struct objc_method_list *' instead of
952         'MethodList_t'.  Use sel_registerName() instead of
953         sel_register_name().
954         (__objc_exec_class): Take a 'struct objc_module *' argument
955         instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
956         'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
957         Use 'struct objc_category *' instead of 'Category_t'.
958         
959 2010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
961         * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
962         Include objc-private/module-abi-8.h and objc-private/selector.h
963         instead of objc/encoding.h.
964         (objc_msg_lookup_super): Use super->super_class instead of
965         super->class.
966         (method_get_first_argument, method_get_next_argument): Declare
967         locally.
968         (class_get_instance_method): Declare before using.
969         (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
970         (__objc_init_dispatch_tables, __objc_send_initialize): Use
971         sel_registerName() instead of sel_register_name().
972         (__objc_forward): Use sel_getName() instead of sel_get_name().
973         (objc_get_uninstalled_dtable): Use 'void' as argument.
974         * objc-private/selector.h: New.
976 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
978         * objc/message.h (objc_super): When using the modern API, do not
979         define Super and Super_t, and always use 'super_class' for the
980         super class field.      
981         (objc_msg_lookup_super): Updated prototype to use 'struct
982         objc_super *' instead of 'Super_t'.
983         * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
984         'struct objc_super *' instead of 'Super_t'.
986 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
988         * objc/message.h: Update comments, reindented code and moved
989         deprecated types and functions at the end of the file.  No code
990         changes.
992 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
994         * ivars.c (class_addIvar): Use the 'size' argument instead of
995         trying to calculate it using objc_sizeof_type().
996         * objc/runtime.h (class_addIvar): Updated comments.
997         
998 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1000         * sendmsg.c: Reindented some code and tidied up comments.  No
1001         actual code changes.
1002         
1003 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1005         * objc/Object.h: Moved all the methods, with the exception of
1006         -class and -isEqual:, into ...
1007         * objc/deprecated/Object.h: here.
1008         * Object.m: Moved all the methods, with the exception of -class
1009         and -isEqual: into the 'Deprecated' category.
1011 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1013         * objects.c (object_copy): Do not #undef as we are no longer
1014         including objc/objc-api.h.
1015         * selector.c: Include objc/runtime.h and
1016         objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
1017         objc/encoding.h.  Updated
1018         (__objc_register_selectors_from_class): Use struct
1019         objc_method_list * instead of MethodList_t.
1020         (__objc_register_selectors_from_list): Use Method instead of
1021         Method_t.
1022         (struct objc_method_description_list): Do not define here.
1023         (__objc_register_instance_methods_to_class): Use struct
1024         objc_method_list * instead of MethodList_t and Method instead of
1025         Method_t.
1026         
1027 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1029         * selector.c: Reindented some code and tidied up comments.  No
1030         actual code changes.
1032 2010-12-13  Iain Sandoe  <iains@gcc.gnu.org>
1034         * encoding.c (_darwin_rs6000_special_round_type_align): New.
1035         (darwin_rs6000_special_round_type_align): Adjust to use new routine.
1037 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1039         * sendmsg.c (selector_resolveClassMethod): New.
1040         (selector_resolveInstanceMethod): New.
1041         (__objc_resolve_class_method): New.
1042         (__objc_resolve_instance_method): New.
1043         (get_imp): Call __objc_resolve_class_method or
1044         __objc_resolve_instance_method at the appropriate time.
1045         (objc_msg_lookup): Same.
1046         (class_getClassMethod): Same.   
1047         (class_getInstanceMethod): Same.
1048         (__objc_init_dispatch_tables): Initialize
1049         selector_resolveClassMethod and selector_resolveInstanceMethod.
1050         * objc/runtime.h: Updated documentation of class_getClassMethod,
1051         class_getInstanceMethod and class_getMethodImplementation.
1052         
1053 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1055         * objc-private/module-abi-8.h (struct objc_symtab): Updated
1056         description of sel_ref_cnt and refs.
1057         * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
1058         
1059 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
1061         PR target/40125
1062         PR lto/46695
1063         * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
1064         * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
1065         * aclocal.m4: Regenerate.
1066         * configure: Regenerate.
1068 2010-12-03  Matthias Klose  <doko@ubuntu.com> 
1070         * configure.ac (VERSION): Bump the version to 3:0:0.
1071         * configure: Regenerate.
1073 2010-11-23  Richard Frith-Macdonald <rfm@gnu.org>
1075         * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
1076         pass nil as the receiver since we don't know the receiver at this
1077         point.
1078         
1079 2010-11-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1081         * ivars.c: Include stdlib.h.
1082         * protocols.c: Same change.
1084 2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
1086         * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
1087         * accessors.m: New.
1088         * init.c: Include objc-private/accessors.h.
1089         (__objc_exec_class): Call __objc_accessors_init.
1090         * objc-private/accessors.h: New.
1092 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1094         * objc/message.h: Moved initial includes outside of extern "C".
1095         * objc/runtime.h: Add extern "C" for Objective-C++.
1097 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1099         * init.c (objc_send_load): Do not wait for NXConstantString to be
1100         registered before executing +load.  There is no point if
1101         -fconstant-string-class=xxx is used when compiling all modules,
1102         as is the case for almost all users.
1103         * linking.m (__objc_linking): Do not try to forcefully link in
1104         NXConstantString.
1106 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1108         * objc/runtime.h: Updated comments.
1109         (class_addMethod): New.
1110         (class_addIvar): New.
1111         (class_replaceMethod): New.
1112         (objc_allocateClassPair): New.
1113         (objc_registerClassPair): New.
1114         (objc_disposeClassPair): New.
1115         * class.c (objc_allocateClassPair): New.
1116         (objc_registerClassPair): New.
1117         (objc_disposeClassPair): New.
1118         (class_getSuperclass): Return Nil if a class is in construction.
1119         * init.c (__objc_exec_class): Call __objc_init_class.
1120         (__objc_init_class): New.
1121         * ivars.c (class_copyIvarList): Return NULL if class is in
1122         construction.  Do not lock the runtime mutex.
1123         (class_getInstanceVariable): Return NULL if class is in
1124         construction.  Do not lock the runtime mutex.
1125         (class_addIvar): New.
1126         * sendmsg.c (class_addMethod): New.
1127         (class_replaceMethod): New.
1128         * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
1129         (_CLS_IN_CONSTRUCTION): New.
1130         (CLS_IS_IN_CONSTRUCTION): New.
1131         (CLS_SET_IN_CONSTRUCTION): New.
1132         (CLS_SET_NOT_IN_CONSTRUCTION): New.
1133         * objc-private/runtime.h (__objc_init_class): New.
1135 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1137         * class.c (class_getSuperclass): Call __objc_resolve_class_links
1138         if the class is not resolved yet.
1139         * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
1140         
1141 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1143         * objc/runtime.h (class_getIvarLayout): New.
1144         (class_getWeakIvarLayout): New.
1145         (class_setIvarLayout): New.
1146         (class_setWeakIvarLayout): New.
1147         * ivars.c (class_getIvarLayout): New.
1148         (class_getWeakIvarLayout): New.
1149         (class_setIvarLayout): New.
1150         (class_setWeakIvarLayout): New. 
1152 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1153         
1154         * objc/runtime.h (class_copyPropertyList): New.
1155         (class_getProperty): New.
1156         (property_getAttributes): New.
1157         (property_getName): New.
1158         * ivars.c (class_copyPropertyList): New.
1159         (class_getProperty): New.
1160         (property_getAttributes): New.
1161         (property_getName): New.
1162         
1163 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1165         * objc-private/runtime.h (__objc_update_classes_with_methods): New.
1166         * class.c (__objc_update_classes_with_methods): New.
1167         (objc_getClassList): Do not lock the class lock.
1168         * methods.c (method_exchangeImplementations): New.
1169         (method_setImplementation): New.
1170         * objc/runtime.h (method_setImplementation): New.
1171         (method_exchangeImplementations): New.
1172         
1173 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1175         * Protocol.m: Include objc/runtime.h and
1176         objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
1177         repeat Protocol's instance variables.
1178         (struct objc_method_description_list): Do not define here.
1179         ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1180         ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1181         selectors directly instead of getting names and then using strcmp.
1182         ([descriptionForClassMethod:]): Same change.
1183         ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1184         * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1185         to compare selectors directly instead of getting names and then
1186         using strcmp.
1187         * objc/Protocol.h: Updated comments.
1188         
1189 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1191         * init.c (__objc_init_protocol): New function which fixes up a
1192         protocol's class pointer, registers it with the runtime, register
1193         all protocol selectors and registers associated protocols too.
1194         (objc_init_statics): Detect if we are initializing protocols, and
1195         if so, use __objc_init_protocol instead of only fixing up the
1196         class pointer.
1197         (__objc_init_protocls): Use __objc_init_protocol.
1198         * objc-private/module-abi-8.h: Updated comments.
1199         * objc-private/runtime.h
1200         (__objc_register_selectors_from_description_list): New.
1201         * selector.c (__objc_register_selectors_from_description_list):
1202         New.  (struct objc_method_description_list): Declare.
1203         * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1204         when accessing the name of a method, which is now correctly a SEL.
1205         ([-descriptionForClassMethod:]): Same change.
1206         * protocols.c (protocol_getMethodDescription): Same change.
1207         * objc/runtime.h: Updated comments.
1208         (sel_registerTypedName): Fixed typo in function name.
1209         
1210 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1212         PR libobjc/23214
1213         * init.c (objc_init_statics): Do not skip the initialization of a
1214         statics list if the first object has already been initialized; in
1215         the case of Protocols, while the first one may have been
1216         initialized, some others may not have been initialized yet.
1218 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1220         * Makefile.in (OBJC_DEPRECATED_H): Added
1221         objc_get_uninstalled_dtable, objc_object_alloc.h and
1222         struct_objc_static_instances.h.
1224 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1226         * encoding.c (method_copyReturnType): New.
1227         (method_copyArgumentType): New.
1228         (method_getReturnType): New.
1229         (method_getArgumentType): New.
1230         * methods.c (method_getDescription): New.
1231         * objc/runtime.h (method_copyReturnType): New.
1232         (method_copyArgumentType): New.
1233         (method_getReturnType): New.
1234         (method_getArgumentType): New.
1235         (method_getDescription): New.
1236         
1237 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1239         * encoding.c: Tidied up comments.
1240         (objc_skip_variable_name): New static inline function.
1241         (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1242         the same code over and over.
1243         (objc_alignof_type): Same.
1244         (objc_aligned_size): Same.
1245         (objc_promoted_size): Same.
1246         (objc_skip_typespec): Same.
1247         (objc_layout_structure_next_member): Same.
1248         (objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
1249         historical bug where objc_skip_offset would skip one byte even if
1250         there is no offset: check that the first offset digit is actually
1251         a digit before skipping it.
1252         (objc_skip_type_qualifiers): Mark as inline.
1253         (objc_skip_typespec): Mark as inline.   
1254         
1255 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1257         * Makefile.in (C_SOURCE_FILES): Added methods.c.
1258         * encoding.c (method_getNumberOfArguments): New.
1259         (method_get_number_of_arguments): Call
1260         method_getNumberOfArguments.
1261         * ivars.c (ivar_getName): Check for NULL variable argument.
1262         (ivar_getOffset): Check for NULL variable argument.
1263         (ivar_getTypeEncoding): Check for NULL variable argument.
1264         (class_copyIvarList): New.
1265         * methods.c: New.
1266         * protocols.c (class_copyProtocolList): Check for Nil class_
1267         argument.
1268         * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1269         'struct objc_method_list *' instead of MethodList_t.
1270         (class_getMethodImplementation): New.
1271         (class_respondsToSelector): New.
1272         (class_getInstanceMethod): New.
1273         (class_getClassMethod): New.
1274         * objc/runtime.h: Updated comments.
1275         (class_copyIvarList): New.
1276         (class_getInstanceMethod): New.
1277         (class_getClassMethod): New.
1278         (class_getMethodImplementation): New.
1279         (class_respondsToSelector): New.
1280         (method_getName): New.
1281         (method_getImplementation): New.
1282         (method_getTypeEncoding): New.
1283         (class_copyMethodList): New.
1284         (method_getNumberOfArguments): New.
1285         
1286 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1288         * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1289         instead of objc/objc-api.h.
1290         (objc_get_unknown_class_handler): Do not define.
1291         (class_isMetaClass): New.
1292         (class_getSuperclass): New.
1293         (class_getVersion): New.
1294         (class_setVersion): New.
1295         (class_getInstanceSize): New.
1296         * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1297         (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1298         objc_get_super_class.
1299         (get_ttype_entry): Use objc_getRequiredClass instead of
1300         objc_get_class.
1301         * ivars.c (class_getClassVariable): New.
1302         * objects.c: Include objc/runtime.h, objc/thr.h and
1303         objc-private/module-abi-8.h instead of objc/objc-api.h
1304         * objc/runtime.h (class_getClassVariable): New.
1305         (class_isMetaClass): New.
1306         (class_getSuperclass): New.
1307         (class_getVersion): New.
1308         (class_setVersion): New.
1309         (class_getInstanceSize): New.
1310         * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1311         objc/objc-api.h)
1312         (__CLS_INFO): Same.
1313         (__CLS_ISINFO): Same.
1314         (__CLS_SETINFO): Same.
1315         (CLS_ISMETA): Same.
1316         (CLS_ISCLASS): Same.
1317         (CLS_ISRESOLV): Same.
1318         (CLS_SETRESOLV): Same.
1319         (CLS_ISINITIALIZED): Same.
1320         (CLS_SETINITIALIZED): Same.
1321         (CLS_GETNUMBER): Same.
1322         (CLS_SETNUMBER): Same.
1324 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1326         * archive.c: Do not include objc/objc.h.
1327         * class.c: Do not include objc/objc.h.
1328         * encoding.c: Include objc/runtime.h, ctype.h and
1329         objc-private/module-abi-8.h instead of objc/objc-api.h and
1330         objc/encoding.h.
1331         * error.c: Do not include objc/objc.h.
1332         * gc.c: Include tconfig.h and objc/encoding.h only if
1333         OBJC_WITH_GC.
1334         * hash.c: Include objc/runtime.h and objc/thr.h instead of
1335         objc/objc-api.h.  Do not include objc/objc.h.
1336         * init.c: Do not include objc/objc.h.
1337         * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1338         objc/thr.h instead of objc/objc-api.h.  Do not include
1339         objc/objc.h.
1340         * linking.m: Tidied comment.
1341         * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1342         Do not include objc/objc.h.
1343         * objects.c: Do not include objc/objc.h.
1344         * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1345         * protocols.c: Do not include objc/objc.h.
1346         * sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
1347         not include objc/objc.h.
1348         * selector.c: Do not include objc/objc.h.
1349         * sendmsg.c: Do not include objc/objc.h.        
1350         * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1351         Do not include objc/objc.h.
1352         * objc/objc-decls.h: Reindented code.
1353         * objc/runtime.h Include objc-decls.h.  Updated comments.
1354         (objc_malloc): New.
1355         (objc_atomic_malloc): New.
1356         (objc_calloc): New.
1357         (objc_realloc): New.
1358         (objc_free): New.
1359         * objc-private/runtime.h: Updated comments.
1360         
1361 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1363         * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1364         * objc-private/protocols.h: New.
1365         * protocols.c: New.
1366         * init.c: Include objc-private/protocols.h.
1367         (__objc_exec_class): Call __objc_protocols_init on startup.
1368         (__objc_init_protocols): Call __objc_protocols_add_protocol.
1369         * objc-private/runtime.h: Use (struct objc_method_list *) instead
1370         of MethodList_t, and (struct objc_method *) instead of Method_t.
1371         * objc/deprecated/struct_objc_class.h: Define
1372         __objc_STRUCT_OBJC_CLASS_defined.
1373         * objc-private/module-abi-8.h (struct
1374         objc_method_description_list): New.
1375         (struct objc_class): Only define if
1376         __objc_STRUCT_OBJC_CLASS_defined is undefined.
1377         * objc/runtime.h (class_getName): New.
1378         (objc_getProtocol): New.
1379         (objc_copyProtocolList): New.
1380         (class_addProtocol): New.
1381         (class_conformsToProtocol): New.
1382         (class_copyProtocolList): New.
1383         (protocol_conformsToProtocol): New.
1384         (protocol_isEqual): New.
1385         (protocol_getName): New.
1386         (protocol_getMethodDescription): New.
1387         (protocol_copyMethodDescriptionList): New.
1388         (protocol_getProperty): New.
1389         (protocol_copyPropertyList): New.
1390         (protocol_copyProtocolList): New.
1391         * class.c (class_getName): New.
1392         * selector.c (sel_isEqual): New.
1393         
1394 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1396         * selector.c (sel_getName): Return "<null selector>" for a NULL
1397         argument.
1398         (sel_get_name): Return 0 for a NULL argument.
1399         * objc/runtime.h (sel_getName): Updated documentation.
1401         * objc-private/hash.h (class_hash_table): Unused declaration
1402         removed.
1403         (module_hash_table): Same.
1404         * objc/deprecated/hash.h: Same changes.
1405         
1406 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1408         * class.c (objc_getClassList): New.
1409         (objc_getRequiredClass): New.
1410         (objc_getMetaClass): New.
1411         (objc_lookupClass): New.
1412         (objc_getClass): New.
1413         (__objc_get_unknown_class_handler): New.
1414         (objc_setGetUnknownClassHandler): New.
1415         (objc_get_class): Use __objc_get_unknown_class_handler.
1416         (objc_lookup_class): Call objc_getClass.
1417         * objc/objc-api.h: Updated comment and copyright notice.
1418         * objc/runtime.h: Updated comments.
1419         (objc_getClass): New.
1420         (objc_lookupClass): New.
1421         (objc_getMetaClass): New.
1422         (objc_getRequiredClass): New.
1423         (objc_getClassList): New.
1424         (objc_setGetUnknownClassHandler): New.
1425         (objc_get_unknown_class_handler): New.
1426         * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1427         instead of __objc_runtime_INCLUDE_GNU as include guard.
1428         * objc-private/error.h (_objc_abort): Mark as noreturn.
1429         
1430 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1432         * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1433         * ivars.c: New.
1434         * objc/objc.h: Updated comments.
1435         * objc/runtime.h (object_getClass): New.
1436         (object_getClassName): New.
1437         (object_setClass): New.
1438         (class_getInstanceVariable): New.
1439         (object_getIndexedIvars): New.
1440         (object_getInstanceVariable): New.
1441         (object_setInstanceVariable): New.
1442         (object_getIvar): New.
1443         (object_setIvar): New.  
1444         (ivar_getName): New.
1445         (ivar_getOffset): New.
1446         (ivar_getTypeEncoding): New.
1447         * objc-private/module-abi-8.h (struct objc_class): Added.
1448         * objects.c (object_getClassName): New.
1449         (object_setClass): New.
1450         
1451 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1453         * objc/objc.h: Updated comments.
1454         * objc/objc-api.h: (object_copy): Added one argument; use a
1455         #define to maintain backwards-compatibility.  Moved
1456         _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1457         objc_get_uninstalled_dtable into
1458         objc/deprecated/objc_get_uninstalled_dtable.h and
1459         objc/deprecated/objc_object_alloc.h.  Include these files.
1460         * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1461         * objc/deprecated/objc_object_alloc.h: New.
1462         * objc/runtime.h (set_getName): New.
1463         (sel_getType): New.
1464         (sel_getUid): New.
1465         (sel_registerName): New.
1466         (sel_registerTypedName): New.
1467         (sel_isEqual): New.
1468         (class_createInstance): New.
1469         (object_copy): New.
1470         (object_dispose): New.
1471         * objects.c: Do not include tconfig.h.  Include gc_typed.h if
1472         building the garbage collection version.
1473         (__objc_object_alloc): Removed.
1474         (__objc_object_copy): Removed.
1475         (__objc_object_dispose): Removed.
1476         (class_createInstance): New from code in class_create_instance.
1477         Cast second argument of GC_malloc_explicitly_typed.  Use
1478         objc_calloc.  Do not call _objc_object_alloc.
1479         (class_create_instance): Call class_createInstance.
1480         (object_copy): Added extraBytes argument.  Do not call
1481         _objc_object_copy.
1482         (object_dispose): Do not call _objc_object_dispose.
1483         * memory.c (objc_free): When using garbage collection, mark the
1484         argument as unused.
1485         * selector.c (sel_getName): New.
1486         (sel_get_name): Call sel_getName.
1487         (sel_getType): New.
1488         (sel_get_type): Call sel_getType.
1489         (sel_registerName): New.
1490         (sel_register_name): Call sel_registerName.
1491         (sel_registerTypedName): New.
1492         (sel_register_typed_name): Call sel_registerTypedName.
1493         (sel_getUid): New.
1494         (sel_get_uid): Call sel_getUid.
1495         
1496 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1498         * objc/objc-api.h: Define Method, Method_t, Category and
1499         Category_t.  Prevent including this file at the same time as
1500         objc/runtime.h.  Updated comments.
1501         * objc/deprecated/struct_objc_method.h: Do not define Method,
1502         Method_t.
1503         * objc/deprecated/struct_objc_category.h: Do not define Category,
1504         Category_t.
1505         * objc-private/module-abi-8.h: New file containing a copy of all
1506         the structure definitions.  Not used yet.
1507         * objc/encoding.h (objc_aligned_size): Removed duplicate
1508         declaration.  Updated comments.
1509         * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1510         Category, struct objc_method_description, _C_ID and similar,
1511         _C_CONST and similar and _F_CONST and similar.  Added
1512         objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1513         objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1514         objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1515         struct objc_struct_layout, objc_layout_structure,
1516         objc_layout_structure_next_member, objc_layout_finish_structure,
1517         objc_layout_structure_get_info.  Prevent including this file at
1518         the same time as objc/objc-api.h.
1519         
1520 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1522         * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1523         struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1524         struct_objc_method_list.h, struct_objc_module.h,
1525         struct_objc_protocol_list.h, struct_objc_symtab.h.
1526         * objc/deprecated/struct_objc_category.h: New.
1527         * objc/deprecated/struct_objc_ivar.h: New.
1528         * objc/deprecated/struct_objc_ivar_list.h: New.
1529         * objc/deprecated/struct_objc_method.h: New.
1530         * objc/deprecated/struct_objc_method_list.h: New.
1531         * objc/deprecated/struct_objc_module.h: New.
1532         * objc/deprecated/struct_objc_protocol_list.h: New.
1533         * objc/deprecated/struct_objc_symtab.h: New.
1534         * objc/deprecated/struct_objc_static_instances.h: New.
1535         * objc/objc-api.h: Definitions of deprecated structures moved into
1536         the above header fragment files in objc/deprecated/.  Include the
1537         files instead of definition the structures here.  Updated
1538         comments.
1539         * objc/runtime.h: Updated comments.  Do not include objc-api.h.
1540         (objc_set_enumeration_mutation_handler): Renamed to
1541         objc_setEnumerationMutationHandler.
1542         * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1543         to objc_setEnumerationMutationHandler.
1544         * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1545         objc_setExceptionMatcher.
1546         (objc_set_uncaught_exception_handler): Renamed to
1547         objc_setUncaughtExceptionHandler.
1548         * exception.c: Same changes.
1550 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1552         * objc-sync.c: Include objc-private/common.h.
1554 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1556         * objc-foreach.c: Include objc-private/common.h.
1557         * objc/deprecated/METHOD_NULL.h: New file.
1558         * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1559         defining METHOD_NULL here.
1560         * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1561         * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1562         METHOD_NULL.
1563         ([-respondsTo:]): Same change.
1564         * objc/objc-api.h (method_get_imp): Converted it into a normal
1565         function so that we can hide the internals of struct objc_method.
1566         * sendmsg.c (method_get_imp): Implemented.
1568 2010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
1570         * objc/objc-api.h (struct objc_super, Super, Super_t,
1571         objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1572         objc_msg_forward2): Declarations moved to objc/message.h.  Include
1573         message.h here.
1574         * objc/message.h: Added such declarations; updated comments.
1576 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1578         Implemented fast enumeration for Objective-C.
1579         * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1580         (OBJC_H): Added runtime.h
1581         * objc-foreach.c: New file.
1582         * objc/runtime.h: New file.
1583         
1584 2010-09-30  Kai Tietz  <kai.tietz@onevision.com>
1586         * objc/deprecated/struct_objc_class.h: Add padding
1587         to avoid warning with -Wpadded.
1589 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1591         * encoding.c (objc_sizeof_type): Added support for vector type and
1592         for double long types.  
1593         (objc_alignof_type): Same change.
1594         (objc_skip_typespec): Same change.
1595         * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1596         instead of '!' since '!' is already used for _C_VECTOR.
1597         * objc/objc-api.h (_C_LNG_DBL): Added.
1598         
1599 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1601         * libobjc_entry.c: File removed.
1603 2010-09-26  Kai Tietz  <kai.tietz@onevision.com>
1605         * sendmsg.c (objc_msg_lookup): Remove inline.
1606         (objc_get_uninstalled_dtable): Likewise.
1607         * encoding.c (objc_skip_type_qualifiers): Likewise.
1608         (objc_skip_offset): Likewise.
1609         * archive.c (__objc_write_object): Likewise
1610         (__objc_write_class):
1611         (__objc_write_selector):
1612         (objc_read_char):
1613         (objc_read_unsigned_char):
1614         (objc_read_short):
1615         (objc_read_unsigned_short):
1616         (objc_read_int):
1617         (objc_read_long):
1618         (__objc_read_nbyte_uint):
1619         (objc_read_unsigned_int):
1620         (objc_read_unsigned_long):
1621         * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1622         (objc_EXPORT): Likewise.
1623         * objc/message.h (objc-decls.h): Add include.
1624         * objc/objc-api.h: Mark API by objc_EXPORT.
1625         * libobjc.def (__objc_responds_to): Removed.
1627 2010-09-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1629         * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1631         * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1632         objc/sarray.h replaced with a placeholder including the file from
1633         the deprecated/ directory.
1634         * objc-private/sarray.h: New file (private copy of sarray.h).
1635         * hash.c: Include <assert.h> instead of "assert.h"
1636         * sarray.c: Include <assert.h> instead of "assert.h".  Include
1637         objc-private/sarray.h instead of objc/sarray.h.
1638         * selector.c: Include objc-private/sarray.h instead of
1639         objc/sarray.h.
1640         * sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
1641         instead of objc/sarray.h.
1642         * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.      
1644 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1646         * objc-private/objc-list.h (list_remove_elem): Unused function
1647         removed.  (list_nth): Unused function removed.  (list_find):
1648         Unused function removed.  (list_lenght): Unused function removed.
1649         
1650 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1652         * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1653         replaced with a placeholder including the file from the
1654         deprecated/ directory.
1655         * objc/objc-api.h: Updated includes.
1656         * objc/typedstream.h: Updated includes.
1657         * objc-private/hash.h: New file (private copy of hash.h).
1658         * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1659         objc/objc-list.h replaced with a placeholder including the file
1660         from the deprecated/ directory.
1661         * objc-private/objc-list.h: New file (private copy of objc-list.h).
1662         * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1663         instead of objc/hash.h and objc/objc-list.h.
1664         * selector.c: Same change.
1665         * class.c: Added include <string.h>, which used to be implicitly included
1666         when hash.h was included.
1667         * exception.c: Same change.
1668         * objects.c: Same change.
1669         * sarray.c: Same change.
1670         * sendmsg.c: Same change.
1671         * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1673 2010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1675         Implemented objc_sync_enter() and objc_sync_exit(), which are
1676         required by @synchronized() to work.
1677         * objc-sync.c: New file.
1678         * objc/objc-sync.h: New file.
1679         * objc-private/objc-sync.h: New file.
1680         * init.c (__objc_exec_class): Call __objc_sync_init() during the
1681         Objective-C runtime startup.
1682         * Makefile.in: Added objc-sync.c and objc-sync.h.
1683         * configure.ac: Added GCC_CHECK_TLS.
1684         * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1685         * configure: Regenerated.
1686         * config.h.in: Regenerated.
1687         
1688 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1690         * Makefile.in (%_gc.lo): New pattern rules to build the
1691         garbage-collected version of the library.  Removed rules for
1692         specific files that are no longer needed.  Standardized all rules.
1693         (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1694         (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1695         OBJC_SOURCE_FILES.
1696         (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1698 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1699         
1700         * memory.c (objc_calloc): Fixed call to GC_malloc when building
1701         with Garbage Colletion.
1702         
1703 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1705         * memory.c: Do not include objc-private/runtime.h.
1707 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1708         
1709         * objc/deprecated/objc_malloc.h: New file.
1710         * objc/deprecated/objc_valloc.h: New file.
1711         * objc/objc-api.h: Include the files instead of defining
1712         objc_valloc, _objc_malloc() and similar.
1713         * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1714         objc_malloc.h.
1715         * memory.c: Removed the extra layer of indirection of _objc_malloc
1716         and similar.
1717         (objc_calloc): Use GC_malloc in the garbage-collected
1718         implementation as GC_malloc returns memory that is already freed.
1719         (objc_valloc): Deprecated.      
1720         
1721 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1723         * objc/deprecated/objc_error.h: New file.
1724         * objc/objc-api.h: Include deprecated/objc_error.h instead of
1725         defining objc_error and related.
1726         * error.c: New file.  Added _objc_abort function which replaces
1727         objc_error.  No change in functionality as they both print an
1728         error and abort.
1729         * misc.c: File removed.  Code moved into memory.c and error.c.
1730         * memory.c: New file.
1731         * objc-private/error.h: New file.
1732         * archive.c: Include objc-private/error.h and use _objc_abort
1733         instead of objc_error everywhere.
1734         * class.c: Same change.
1735         * encoding.c: Same change.
1736         * init.c: Same change, and simplified init_check_module_version.
1737         * memory.c: Same change.
1738         * sendmsg.c:  Same change.
1739         * thr.c: Same change.
1740         * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1741         (OBJ_H): Reordered list.
1742         (OBJS): Removed misc.lo, added memory.lo and error.lo.
1743         (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1744         (misc_gc.lo): Rule removed.
1745         (error_gc.lo): Rule added.
1746         (memory_gc.lo): Rule added.
1747         
1748 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1750         * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1751         to check the API version.  Added some comments.
1753         * objc-private/common.h: New file.
1754         * NXConstStr.m: Include objc-private/common.h.
1755         * Object.m: Same change.
1756         * Protocol.m: Same change.
1757         * archive.c: Same change.
1758         * class.c: Same change.
1759         * encoding.c: Same change.
1760         * exception.c: Same change.
1761         * gc.c: Same change.
1762         * hash.c: Same change.
1763         * init.c: Same change.
1764         * libobjc_entry.c: Same change.
1765         * linking.m: Same change.
1766         * misc.c: Same change (and added a comment).
1767         * nil_method.c: Same change.
1768         * objects.c: Same change.
1769         * sarray.c: Same change.
1770         * selector.c: Same change.
1771         * sendmsg.c: Same change.
1772         * thr.c: Same change.
1774 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1776         * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1778 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1780         * archive.c: Removed not needed includes.
1781         * class.c: Same change.
1782         * hash.c: Same change.
1783         * misc.c: Same change.
1784         * nil_method.c: Same change.
1785         * objects.c: Same change.
1786         * sarray.c: Same change.
1787         * sendmsg.c: Same change.
1788         * thr.c: Same change.
1790 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1792         * objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
1793         all the objc/*.h files.
1794         * objc-private/runtime.h: New file.
1795         * archive.c: Include objc-private/runtime.h (and required objc/*.h
1796         files) instead of objc/runtime.h.
1797         * class.c: Same change.
1798         * hash.c: Same change.
1799         * init.c: Same change.
1800         * misc.c: Same change.
1801         * nil_method.c: Same change.
1802         * objects.c: Same change.
1803         * sarray.c: Same change.
1804         * selector.c: Same change.
1805         * sendmsg.c: Same change.
1806         * thr.c: Same change.
1807         
1808 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1810         * objc/deprecated/struct_objc_selector.h: New file.  Definition of
1811         'struct objc_selector' and 'sel_eq' moved here.
1812         * objc/deprecated/struct_objc_protocol.h: New file.  Definition of
1813         'struct objc_procotol' moved here.
1814         * objc/deprecated/struct_objc_class.h: New file.  Definition of
1815         'struct objc_class' moved here.
1816         * objc/deprecated/MetaClass.h: New file.  Definition of MetClass
1817         moved here.
1818         * objc/deprecated/STR.h: New file.  Definition of STR moved here.       
1819         * objc/message.h: New file.  Definitions for relval_t, apply_t,
1820         arglist, arglist_t and objc_msg_lookup were moved here.
1821         * objc/objc.h: Include the above files instead of defining the
1822         corresponding structs, types and functions here.  Added new opaque
1823         definitions for SEL and Class.  Use Class and not 'struct
1824         objc_class *' in the definition of 'struct objc_object'.
1825         Commented all types defined in the file.  Removed special
1826         definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1827         there as well.
1828         * objc/deprecated/objc-unexpected-exception.h: Renamed to
1829         objc_unexpected_exception.h.
1830         * objc/objc-api.h: Updated include of
1831         objc-unexpetected-exception.h
1832         * objc/objc-exception.h: Updated comments.
1833         * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1834         files.  Reindented list of files.
1835         
1836 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1838         * objc/objc-api.h (objc_trace): Unused variable removed.
1840 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1842         * objc/deprecated: New directory.
1843         * objc/deprecated/README: New file.
1844         * objc/README: New file.
1845         * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1846         objc/typedstream.h replaced with a placeholder including the file
1847         from the deprecated/ directory.
1848         * objc/deprecated/objc-unexpected-exception.h: New file with the
1849         definition of _objc_unexpected_exception.       
1850         * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1851         instead of defining _objc_unexpected_exception.
1852         * objc/deprecated/Object.h: New file with the deprecated Object
1853         methods in a 'Deprecated' category.
1854         * objc/Object.h Include deprecated/Object.h instead of defining
1855         the deprecated methods.
1856         * Object.m: Moved deprecated methods into 'Deprecated' category.
1857         * objc-private: New directory.
1858         * objc-private/README: New file.
1859         * Makefile.in (OBJC_DEPRECATED_H): New variable.
1860         (install-headers): Create installation directory for
1861         OBJC_DEPRECATED_H headers, and install them.
1863 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1865         * objc/objc-exception.h: Fixed include of objc.h.
1866         
1867 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1869         * objc/objc-exception.h: New file.
1870         * exception.c (objc_set_uncaught_exception_handler): Implemented.
1871         (objc_set_exception_matcher): Implemented.
1872         (objc_exception_throw): Use the uncaught exception handler if set.
1873         (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1874         hardcoded isKindOf.
1875         (isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
1876         up.  Removed segmentation fault when value is 'nil'.
1877         * objc/objc-api.h (_objc_unexpected_exception): Mark as
1878         deprecated.
1879         * Makefile.in (exception.lo, exception_gc.lo): Use
1880         -Wno-deprecated-declarations when compiling.
1881         (OBJC_H): Added objc-exception.h
1883 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1885         * objc/typedstream.h: Deprecate all functions in the file.  This
1886         file is obsolete.
1887         * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1888         [-awake]): Documented that these methods are deprecated.  Added a
1889         brief description of the Object class and its relationship to the
1890         NSObject class.
1891         * Makefile.in: Compile archive.c and Object.m with
1892         -Wno-deprecated-declarations.
1894 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1896         Removed obsolete intermediate threading layer.
1897         * thr.c: Use __gthread_objc_xxx functions directly instead of
1898         __objc_thread_xxx ones.
1899         * objc/thr.h: Removed prototypes of no longer existing
1900         __objc_thread_xxx functions.
1901         * Makefile.in: Removed thr-objc.lo.
1902         * thr-dce.c: File removed.
1903         * thr-decosf1.c: File removed.
1904         * thr-irix.c: File removed.
1905         * thr-mach.c: File removed.
1906         * thr-objc.c: File removed.
1907         * thr-os2.c: File removed.
1908         * thr-posix.c: File removed.
1909         * thr-pthreads.c: File removed.
1910         * thr-rtems.c: File removed.
1911         * thr-single.c: File removed.
1912         * thr-solaris.c: File removed.
1913         * thr-vxworks.c: File removed.
1914         * thr-win32.c: File removed.
1915         * README.threads: File removed.
1916         * THREADS.MACH: File removed.
1917         * THREADS: Updated.
1919 2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
1921         * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1923 2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
1925         * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1926         Add a comment as to why, update FIXME comments.
1928 2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1930         * makefile.dos: Obsolete file removed.
1931         
1932 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1934         * aclocal.m4: Regenerate.
1936 2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
1938         PR libobjc/30445
1939         * configure.ac (extra_ldflags_libobjc): Define appropriately for
1940         Cygwin and MinGW hosts.
1941         * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1942         (libobjc.dll): Likewise.
1943         * configure: Regenerate.
1945 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1947         * configure: Regenerate.
1949 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
1951         * sarray.c (sarray_free): Use old_buckets variable.
1952         * encoding.c (objc_layout_structure_next_member): Remove unused
1953         bfld_type_size variable.
1955 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1957         * configure.ac (AC_PREREQ): Bump to 2.64.
1959 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1961         * aclocal.m4: Regenerate.
1962         * configure: Regenerate.
1963         * config.h.in: Regenerate.
1965 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1967         * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
1969 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1971         * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
1972         New variables.
1973         ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
1975 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1977         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
1979 2009-04-09  Nick Clifton  <nickc@redhat.com>
1981         * sendmsg.c: Change copyright header to refer to version 3 of
1982         the GNU General Public License with version 3.1 of the GCC
1983         Runtime Library Exception and to point readers at the COPYING3
1984         and COPYING3.RUNTIME files and the FSF's license web page.
1985         * NXConstStr.m: Likewise.
1986         * Object.m: Likewise.
1987         * Protocol.m: Likewise.
1988         * archive.c: Likewise.
1989         * class.c: Likewise.
1990         * encoding.c: Likewise.
1991         * exception.c: Likewise.
1992         * gc.c: Likewise.
1993         * hash.c: Likewise.
1994         * init.c: Likewise.
1995         * libobjc_entry.c: Likewise.
1996         * linking.m: Likewise.
1997         * misc.c: Likewise.
1998         * nil_method.c: Likewise.
1999         * objc/NXConstStr.h: Likewise.
2000         * objc/Object.h: Likewise.
2001         * objc/Protocol.h: Likewise.
2002         * objc/encoding.h: Likewise.
2003         * objc/hash.h: Likewise.
2004         * objc/objc-api.h: Likewise.
2005         * objc/objc-decls.h: Likewise.
2006         * objc/objc-list.h: Likewise.
2007         * objc/objc.h: Likewise.
2008         * objc/runtime.h: Likewise.
2009         * objc/sarray.h: Likewise.
2010         * objc/thr.h: Likewise.
2011         * objc/typedstream.h: Likewise.
2012         * objects.c: Likewise.
2013         * sarray.c: Likewise.
2014         * selector.c: Likewise.
2015         * thr-dce.c: Likewise.
2016         * thr-decosf1.c: Likewise.
2017         * thr-irix.c: Likewise.
2018         * thr-mach.c: Likewise.
2019         * thr-objc.c: Likewise.
2020         * thr-os2.c: Likewise.
2021         * thr-posix.c: Likewise.
2022         * thr-pthreads.c: Likewise.
2023         * thr-rtems.c: Likewise.
2024         * thr-single.c: Likewise.
2025         * thr-solaris.c: Likewise.
2026         * thr-vxworks.c: Likewise.
2027         * thr-win32.c: Likewise.
2028         * thr.c: Likewise.
2029         * libobjc.def: Change copyright header to refer to version 3 of
2030         the GNU General Public License and to point readers at the COPYING3
2031         file and the FSF's license web page.
2032         * makefile.dos: Likewise.
2034 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
2036         * Makefile.in: Change copyright header to refer to version
2037         3 of the GNU General Public License and to point readers at the
2038         COPYING3 file and the FSF's license web page.
2039         * configure.ac: Likewise.
2041 2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
2042             David Ayers  <ayers@fsfe.org>
2044         PR libobjc/27466
2045         * objc/objc-api.h (_objc_unexpected_exception): Declare
2046         new hook.  Update copyright dates.
2047         * exception.c (objc_exception_throw): Use hook.  Update
2048         copyright dates.
2049         * libobjc.def (_objc_unexpected_exception): Export hook.
2050         Update copyright dates.
2051         
2052 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2054         * configure: Regenerate.
2056 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2058         * configure: Regenerate.
2060 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
2062         *  Object.m (errno): Replaced by errno.h include.
2063         (compare): Cast self to id to prevent warning on comparison.
2064         * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
2065         already there.
2066         * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
2067         * thr-win32.c (__objc_thread_detach): Remove type warning.
2068         (__objc_thread_id): Likewise.
2069         * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
2070         for noreturn.
2072 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
2073             Steve Ellcey  <sje@cup.hp.com>
2075         * configure: Regenerate for new libtool.
2076         * config.h.in: Regenerate for new libtool.
2078 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
2080         * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 
2082 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
2084         * Makefile.in: Include ../boehm-gc/threads.mk. 
2085         (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
2087 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2089         * Makefile.in (install-info): New stub target.
2091 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2093         * configure: Regenerate.
2095 2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
2097         * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
2098         if HAVE_GETIPINFO is not defined.
2100 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
2102         * Object.m (compare): Add type id.
2103         * objc/Object.h: Likewise.
2104         * archive.c (objc_read_class): Use size_t to extend version to be
2105         size of pointer scalar width.
2106         * sendmsg.c (rtx): Undefine it before redefinition.
2107         (__objc_print_dtable_stats): Cast arguments to long as intended.
2109 2008-05-30  Julian Brown  <julian@codesourcery.com>
2111         * exception.c (__objc_exception_class): Initialise as constant
2112         array for ARM EABI. Change macro to static const for non-ARM EABI.
2113         (ObjcException): Add note about structure layout. Remove landingPad
2114         and handlerSwitchValue for ARM EABI.
2115         (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
2116         of function.
2117         (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
2118         (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
2119         ARM EABI unwinding support.
2120         (objc_exception_throw): Use memcpy to initialise exception class.
2122 2008-05-25  Alan Modra  <amodra@bigpond.net.au>
2124         * encoding.c (strip_array_types): Rename from get_inner_array_type.
2125         (rs6000_special_round_type_align): Update.
2127 2008-05-09  Julian Brown  <julian@codesourcery.com>
2129         * Makefile.in (LTLDFLAGS): New.
2130         (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
2132 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
2134         PR bootstrap/35457
2135         * aclocal.m4: Regenerate.
2136         * configure: Regenerate.
2138 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
2140         * configure: Regenerate.
2142 2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2144         * configure.ac: Don't run config-ml.in directly.
2145         (multilib_arg): New.
2146         * configure: Regenerated.
2148 2007-08-06  Andrew Pinski  <pinskia@gmail.com>
2150         PR libobjc/30731
2151         * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
2152         of _Unwind_Word for variables which are used in
2153         read_uleb128/read_sleb128.
2154         (PERSONALITY_FUNCTION): Likewise.
2156 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2158         * aclocal.m4: Regenerated.
2160 2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2162         * configure.ac: Fix a typo in *-*-darwin clause.
2163         * configure: Regenerated.
2165 2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2167         * configure.ac: Fix a typo.
2168         * configure: Regenerated.
2170 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
2172         * configure: Regenerate.
2174 2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2176         * Makefile.in: Replace all uses of libext with libsuffix.
2177         * configure.ac: Likewise.
2178         * configure: Regenerate.
2180         Revert:
2181         * Makefile.in: Remove all uses of $(libext).
2183 2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2185         * Makefile.in: Remove all uses of $(libext).
2187 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
2189         * configure: Regenerate.
2190         * aclocal.m4: Regenerate.
2192 2007-04-21  Andrew Ruder  <andy@aeruder.net>
2194         * sendmsg.c (__objc_get_forward_imp): Call
2195         __objc_msg_forward2 for real.
2197 2007-04-09  Andrew Ruder  <andy@aeruder.net>
2199         * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2200         external libraries to provide a function that returns the real
2201         forwarding function based on both the selector and the receiver.
2202         * objc/objc-api.h: Define __objc_msg_forward2.
2204 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2206         * Makefile.in: Add dummy install-pdf target.
2208 2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2210         * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2211         unused warning.
2212         
2213 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
2215         * encoding.c (darwin_rs6000_special_round_type_align): New.
2217 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
2219         * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2220         * configure.ac: Use multi.m4 from aclocal rather than custom
2221         code.  Use multi_basedir instead of toplevel_srcdir.
2222         * aclocal.m4: Regenerate.
2223         * configure: Regenerate.
2225 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
2227         * Makefile.in: Added empty "pdf" target.
2229 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2231         * configure: Regenerate.
2233 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
2235         * Makefile.in: Add install-html target. Add install-html to .PHONY
2237 2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2239         PR libobjc/26309
2240         * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2242 2006-01-24  David Ayers  <d.ayers@inode.at>
2244         PR libobjc/9751
2245         * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2246         and insure the new strings are '\0' termintated.
2248 2006-01-24  David Ayers  <d.ayers@inode.at>
2250         PR libobjc/13946
2251         * configure.ac: Add include directives for --enable-objc-gc.
2252         * Makefile.in: Ditto.
2253         * configure: Regenerate.
2255         * gc.c (__objc_class_structure_encoding): Increment the used bytes
2256         instead of the local pointer to them.
2258 2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
2260         PR objc/25360
2261         * objc/objc-api.c (_C_COMPLEX): New define.
2262         * encoding.c (objc_sizeof_type): Handle _C_Complex.
2263         (objc_alignof_type): Likewise.
2264         (objc_skip_typespec): Likewise.
2266 2005-12-15  David Ayers  <d.ayers@inode.at>
2268         PR libobjc/14382
2269         * README (+load,+initialize): Fix documentation to reflect
2270         intended and implemented semantics for +load and +initialize.
2271         
2272 2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
2274         * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2275         the name.
2276         (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2277         (rs6000_special_round_type_align): Update for the ABI fix.
2278         (objc_layout_finish_structure): Correct the encoding which is passed to
2279         ROUND_TYPE_ALIGN.
2281 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2283         PR libobjc/25347
2284         * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2285         but use the struct layout functions.
2286         (objc_alignof_type): Likewise.
2287         (objc_layout_structure): Handle _C_UNION_B also.
2288         (objc_layout_structure_next_member): Likewise.
2289         (objc_layout_finish_structure): Likewise.
2291 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2293         PR libobjc/25346
2294         * objc/objc-api.h (_C_BOOL): New define.
2295         * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2296         (objc_alignof_type): Likewise.
2297         (objc_skip_typespec): Likewise.
2299 2005-11-20  David Ayers  <d.ayers@inode.at>
2301         PR libobjc/19024
2302         * objc/hash.h: Remove deprecated hash API.
2303         * hash_compat.c: Remove.
2304         * Makefile.in: Remove reference to hash_compat.c.
2306         * configure.ac (VERSION): Bump library version to 2:0:0.
2307         * configure: Regenerate.
2309 2005-11-09  Alexandre Oliva  <aoliva@redhat.com>
2311         PR other/4372
2312         * thr-objc.c (_XOPEN_SOURCE): Define.
2314 2005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
2316         PR libobjc/23612
2317         * objc/objc-api.h (struct objc_ivar): Move definition to
2318         global scope.
2320 2005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
2321             Rasmus Hahn  <rassahah@neofonie.de>
2323         PR libobjc/23108
2324         * archive.c (objc_write_type): Correct the element offset.
2325         (objc_read_type): Likewise.
2327 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2329         * All files: Update FSF address.
2331 2005-08-13  Marcin Koziej  <creep@desk.pl>
2332             Andrew Pinski  <pinskia@physics.uc.edu>
2334         PR libobjc/22492
2335         * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2337 2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2339         * Makefile.in (extra_ldflags_libobjc): New.
2340         (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2341         (libobjc_gc$(libext).la): Likewise.
2342         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2343         "-Wl,-single_module".
2344         * configure: Regenerate.
2345         * linking.m (_objcInit): Remove.
2347 2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
2349         PR libobjc/22606
2350         * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2352 2005-06-08  David Ayers  <d.ayers@inode.at>
2354         * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2355         objc/encoding.h, objc/hash.h, objc/objc-api.h,
2356         objc/runtime.h, objc/sarray.h, objc/thr.h, 
2357         objc/typedstream.h: Do not include Objective-C headers as
2358         system headers.
2360 2005-06-07  David Ayers  <d.ayers@inode.at>
2362         * archive.c, init.c, selector.c: Include hash.h.
2363         * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2364         init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2365         sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2366         thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2367         thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2368         Include Objective-C headers with quotes and objc/ directory
2369         prefix.
2371 2005-05-19  Richard Henderson  <rth@redhat.com>
2373         * exception.c: Revert last change.
2375 2005-05-19  David Ayers  <d.ayers@inode.at>
2377         * exception.c: Include tsystem.h for unwind.h.
2379 2005-05-09  Mike Stump  <mrs@apple.com>
2381         * configure: Regenerate.
2383 2005-04-12  Mike Stump  <mrs@apple.com>
2385         * configure: Regenerate.
2387 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2389         * Makefile.in: Set gcc_version here.
2390         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
2391         in definition of toolexeclibdir so that $(gcc_version) is expanded
2392         by the Makefile.
2393         * aclocal.m4, configure: Regenerate.
2395 2005-03-03  David Ayers  <d.ayers@inode.at>
2397         * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2398         version reference.  Correct typo.
2400 2005-03-02  David Ayers  <d.ayers@inode.at>
2402         PR libobjc/19024
2403         * Makefile.in (OBJS): Add hash_compat.lo.
2404         (OBJS_GC): Add hash_compat_gc.lo.
2405         (hash_compat_gc.lo): New target and rule.
2406         * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2407         (hash_next, hash_value_for_key, hash_is_key_in_hash)
2408         (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2409         with objc_.  Add deprecated non prefixed inlined versions.
2410         (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2411         declarations.
2412         * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2413         (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2414         update callers.
2415         * hash_compat.c: New file.
2416         * archive.c: Update callers.
2417         * init.c: Likewise.
2418         * selector.c: Likewise.
2419         * libobjc.def: Add objc_ versions of hash functions.
2421 2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
2423         PR libobjc/20252
2424         * Makefile.in (GTHREAD_FLAGS): Remove.
2425         (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2426         * thr-objc.c: Include config.h.
2427         * configure.ac: Instead of looking at GCC's makefile, figure out if
2428         GTHREAD_FLAGS should be defined by looking at the `thread model'
2429         of the current gcc.
2430         * configure: Regenerate.
2431         * config.h.in: Regenerate.
2433 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2435         PR bootstrap/17383
2436         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2437         (Determine CFLAGS for gthread): Use $host_subdir.
2438         * configure: Regenerate.
2439         * Makefile.in (host_subdir): New.
2440         (INCLUDES): Use it.
2442 2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
2444         PR libobjc/12035
2445         * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2446         they are not used.
2447         Include limits.h and stdlib.h.
2448         Define BITS_PER_WORD.
2450 2004-12-12  Alexander Malmberg  <alexander@malmberg.org>
2452         * selector.c (__objc_init_selector_tables): Add missing void to
2453         definition.
2455 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
2457         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2458         * configure, aclocal.m4: Regenerate.
2460 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2462         * configure: Regenerate for libtool change.
2464 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2466         * configure: Regenerate for libtool reversion.
2468 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2470         * configure: Regenerate for libtool change.
2472 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2474         * aclocal.m4, config.h.in: Regenerate.
2476 2004-10-08  Mike Stump  <mrs@apple.com>
2477             Andrew Pinski  <pinskia@physics.uc.edu>
2479         * aclocal.m4: Rename to ...
2480         * acinclude.m4: here and also use m4_include instead of sinclude.
2481         * aclocal.m4: Regenerate.
2482         * configure: Regenerate.
2483         * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2484         * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2486 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
2488         * archive.c: Fix all the warnings about passing unsigned char*
2489         to char* and the other way too.
2491 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
2493         PR libobjc/16448
2494         * exception.c: Include config.h
2495         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2496         SJLJ_EXCEPTIONS.
2497         * configure.ac: Find out what exception handling code we use.
2498         * configure: Regenerate.
2499         * config.h.in: New file, regenerate.
2501 2004-09-16  Andrew Pinski  <apinski@apple.com>
2503         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2505 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
2507         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2508         ACX_NONCANONICAL_TARGET.
2509         * configure: Regenerate.
2511 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
2513         * objc/sarray.h: Hoist include of assert.h near the top of file,
2514         and mark the remainder of the file 'extern "C"'.
2516 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2518         * objc/Object.h: Move includes out of extern "C" blocks.
2519         * objc/encoding.h: Likewise.
2520         * objc/hash.h: Likewise.
2521         * objc/objc-api.h: Likewise.
2522         * objc/runtime.h: Likewise.
2523         * objc/sarray.h: Likewise.
2524         * objc/typedstream.h: Likewise.
2526 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
2528         * objc/NXConstStr.h: Update copyright date; bracket with
2529         'extern "C"' for C++ use; make include syntax consistent
2530         by using <...> instead of "..."; hoist <objc/...> includes
2531         above the 'extern "C"' block.
2532         * objc/Object.h: Likewise.
2533         * objc/Protocol.h: Likewise.
2534         * objc/encoding.h: Likewise.
2535         * objc/hash.h: Likewise.
2536         * objc/runtime.h: Likewise.
2537         * objc/sarray.h: Likewise.
2538         * objc/thr.h: Likewise.
2539         * objc/typedstream.h: Likewise.
2540         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2541         (objc_static_instances): For C++ case, do away with
2542         zero-sized array.
2543         (objc_method): Hoist definition to file scope.
2544         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2545         class_get_instance_method, class_create_instance,
2546         class_get_class_name, class_get_instance_size,
2547         class_get_meta_class, class_get_super_class, class_get_version,
2548         class_is_class, class_is_meta_class, class_set_version,
2549         class_get_gc_object_type, class_ivar_set_gcinvisible,
2550         get_imp): Rename 'class' parameter to '_class'.
2551         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2552         * objc/objc.h: Update copyright date.
2553         (arglist_t): Provide a union tag.
2555 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
2557         * thr.c (__objc_thread_detach_function): Do not mark as volatile
2558         but instead use the attribute noreturn.
2560 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
2562         * encoding.c: Rename target_flags with a #define to avoid
2563         conflict with a prior declaration.
2565 2004-06-24  Andrew Pinski  <apinski@apple.com>
2567         * objc/encoding.h: Wrap the functions with extern "C" for C++
2568         mode.
2569         * objc/hash.h: Likewise.
2570         * objc/objc-api.h: Likewise.
2571         * objc/objc-list.h: Likewise.
2572         * objc/runtime.h: Likewise.
2573         * objc/sarray.h: Likewise.
2574         * objc/thr.h: Likewise.
2575         * objc/typedstream.h: Likewise.
2578 2004-06-21  Nick Clifton  <nickc@redhat.com>
2580         * encoding.c (BITS_PER_UNIT): Define if a definition is not
2581         provided.
2583 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2585         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2586         (exception_gc.lo): New.
2587         (OBJS_GC): Add exception_gc.lo.
2589 2004-06-17  Richard Henderson  <rth@redhat.com>
2591         * exception.c: New file.
2592         * Makefile.in (exception.lo): New.
2593         (OBJS): Add it.
2595 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
2597         * linking.m (_objcInit): New empty function
2598         for Darwin only.
2600 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2602         * configure.ac: Support --enable-shared=libobjc.
2603         * configure: Regenerate.
2605         PR libobjc/15901
2606         * configure.ac: Do not disable shared by default.
2607         * configure: Regenerate.
2609 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
2611         * Protocol.m ([-isEqual:]): Small optimizations returning
2612         immediately if the argument is equal to self, and accessing
2613         the argument's name directly if it's a protocol.
2615 2004-06-03  David Ayers  <d.ayers@inode.at>
2617         * Protocol.m ([-isEqual:]): Test the class of the argument.
2619 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2621         * configure.ac (includedir): Rename to ...
2622         (includedirname).
2623         * Makefile.in: s/includedir/includedirname/.
2625         PR target/11572
2626         * configure.ac (includedir): Set to "include"
2627         except for Darwin.
2628         (libext) Set to empty except for Darwin.
2629         * configure: Regenerate
2630         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2631         s/include/$(includedir)/g.
2633 2004-05-25  Daniel Jacobowitz  <drow@false.org>
2635         * Makefile.in: Add .NOEXPORT.
2637 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2639         Merge from the libobjc-branch
2640         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
2642                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2644         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2646                 * Makefile.in (OBJC_H): Add objc-deps.h.
2648         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
2650                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2651                 ([-hash], [-isEqual:]): New methods.
2653         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
2655                 * sarray.c (sarray_free): Add a better comment.
2657         2004-01-27  Adam Fedor  <fedor@gnu.org>
2659                 * hash.c (hash_add): Cast cachep to int.
2660                 * selector.c (__sel_register_typed_name): Cast
2661                 soffset_decode to int.
2663         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
2665                 * selector.c: Rename register_selectors_from_list to
2666                 __objc_register_selectors_from_list. Update caller.
2667                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2668                 while registering selectors. Use __sel_register_typed_name instead
2669                 of sel_register_typed_name. Check for NULL method_name:s.
2670                 (pool_alloc_selector): New function.
2671                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2672                 selector structures.
2673                 * sendmsg.c (class_add_method_list): Use
2674                 __objc_register_selectors_from_list.
2675                 * objc/runtime.h: Add __objc_register_selectors_from_list.
2677         2004-01-25  Adam Fedor  <fedor@gnu.org>
2678                     Nicola Pero  <n.pero@mi.flashnet.it>
2679                     Andrew Pinski  <pinskia@physics.uc.edu>
2681                 * objc/objc-decls.h: New file.
2682                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2683                 (_objc_load_callback): Likewise.
2684                 (_objc_object_alloc): Likewise.
2685                 (_objc_object_copy): Likewise.
2686                 (_objc_object_dispose): Likewise.
2688         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
2690                 * archive.c: s/__inline__/inline
2691                 * sendmsg.c: Likewise.
2693                 * encoding.c: Remove FIXME about the warning
2694                 about unused variable.
2695                 * sendmsg.c: Add a FIXME comment saying that
2696                 this should be using libffi.
2698                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2701 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
2703         * archive.c (objc_read_class): Initialize class_name.
2704         (objc_read_selector): Initialize selector_name.
2706 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
2708         * Makefile.in (toolexecdir): Remove trailing space.
2710 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2712         PR libobjc/14948
2713         * configure.ac: De-precious CC so multilibs work.
2714         * configure: Regenerate.
2716 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2718         * configure.ac: Restore toolexecdir.
2719         * Makefile.in: Restore toolexecdir.
2720         * configure: Regenerate.
2722 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2724         * configure.ac: Remove (unused) glibcpp_prefixdir.
2725         * configure: Regenerate.
2727         * configure.in: Rename to configure.ac.
2728         * Makefile.in: Update to match.
2730         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2731         Replace glibcpp_toolexeclibdir with toolexeclibdir.
2732         * configure.in: Remove glibcpp_toolexecdir (unused).
2733         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
2734         config.h or stamp-h (unused).  Move one comment to the right place.
2735         * configure: Regenerate.
2736         * config.h.in: Remove (unused).
2738         * config.h.in: Regenerate with autoheader.
2740         * Makefile.in: Remove (unused) gcc_version_trigger.
2741         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
2742         gcc_version_trigger.
2743         * configure: Regenerate.
2745         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2746         Sort file into sections.  Remove dnl where appropriate.  Fix
2747         other style issues.
2748         * configure: Regenerate.
2750         * configure.in: Replace old AC_PROG_CC hack with new one.
2751         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2752         are no subdirectory output files, so this is fine).  Change prereq
2753         to autoconf 2.59.
2754         * aclocal.m4: Include ../config/no-executables.m4.
2755         * configure: Regenerate with autoconf 2.59.
2757         * configure.in: Improve comments on gthread_cflags.  Improve m4
2758         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2759         * configure: Regenerate.
2761         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
2762         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
2763         redundant checks for values of RANLIB, AR, INSTALL.
2764         * configure: Regenerate.
2766         * configure.in: Clean up handling of
2767         --enable-version-specific-runtime-libs and related variables;
2768         replace 'if test' with 'case' where reasonable.  Fix comments.
2769         Remove useless libstdcxx_interface.
2770         * configure: Regenerate.
2772         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2773         Replace uses of target_alias with target_noncanonical.
2774         * aclocal.m4: Include ../config/acx.m4.
2775         * configure: Regenerate.
2776         * Makefile.in: Replace uses of target_alias with target_noncanonical.
2777         Fix copyright statement.
2779         * configure.in: Hand-inline bulky, confusing macros from
2780         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
2781         Update copyright notice.  Remove stuff for automake, which isn't
2782         used in this directory.  Remove emacs local variables.
2783         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
2784         * configure: Regenerate.
2786 2004-03-16  Manfred Hollstein  <mh@suse.com>
2788         * Makefile.in, configure.in, configure: Update copyright years.
2790 2004-03-15  Manfred Hollstein  <mh@suse.com>
2792         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2793         definition from configure.in.
2794         * configure.in (PACKAGE): Add definition.
2795         (VERSION): Add definition; substitute it in output files.
2796         * configure: Re-generate.
2798 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
2800         * objc/hash.h (hash_string, compare_strings):
2801         Add type-casts to make Objective-C++ happy.
2802         * objc/typedstream.h (objc_get_stream_class_version):
2803         Rename parameter from 'class' to 'class_name' to make
2804         Objective-C++ happy.
2806 2004-03-01  Michael Matz  <matz@suse.de>
2808         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2810 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
2812         * objc/objc-api.h (objc_super): The 'class' field shall
2813         be named 'super_class' #ifdef __cplusplus.
2815 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
2817         PR target/10781
2818         * encoding.c (rs6000_special_round_type_align): Define.
2820 2004-01-14  Adam Fedor  <fedor@gnu.org>
2822         PR libobjc/12155
2823         * selector.c (__objc_register_instance_methods_to_class): Free
2824         new_list if not used.
2826 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
2828         PR libobjc/11904
2829         * sarray.c (sarray_free): Free array->is_copy_of latter.
2831 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
2833         PR 11433
2834         * Protocol.m (descriptionForInstanceMethod): Don't dereference
2835         instance_methods if it's NULL.
2836         (descriptionForClassMethod): Likewise for class_methods.
2838 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2840         * Makefile.in (runtime-info.h): Remove -Wp.
2842 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2844         * Makefile.in (CC1OBJ): Remove.
2845         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2846         correctly.
2847         Use .m extension for temporary file.
2848         Remove assembler temp file.
2850 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2852         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2854 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2856         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2858 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2860         * configure: Regenerate.
2862 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
2864         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2865         (libdir)/gcc-lib/ when installing.
2866         * configure: Regenerate.
2868 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
2870         libobjc/9969
2871         * sendmsg.c (get_imp): Fixed rare threading problem.
2872         (__objc_responds_to): Similar fixes.
2873         (objc_msg_lookup): Similar fixes.
2874         (__objc_init_install_dtable): Lock the runtime before checking if the
2875         table is installed.
2877 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2879         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2880         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2881         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2882         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2883         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2884         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2885         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2886         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2887         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2888         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2889         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2891 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
2892                           Nicola Pero  <n.pero@mi.flashnet.it>
2894         libobjc/10742
2895         * init.c (class_superclass_of_class): New function.
2896         (create_tree_of_subclasses_inherited_from): Use it.
2897         (__objc_tree_insert_class): Likewise.
2898         (class_is_subclass_of_class): Likewise.
2900 2003-04-11  David Chad  <davidc@freebsd.org>
2901             Loren J. Rittle  <ljrittle@acm.org>
2903         libobjc/8562
2904         * objc/hash.h (hash_string): Constify correctly.
2905         (compare_ptrs): Use direct compare.
2906         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2907         * objc/sarray.h: Global rename index to indx to avoid shadow.
2909 2003-03-12  Andreas Schwab  <schwab@suse.de>
2911         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2912         glibcpp_toolexeclibdir.
2913         * configure: Rebuilt.
2915 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2917         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2918         config.status.
2919         * configure: Rebuilt.
2921 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2923         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2924         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2925         version_specific_libs is enabled.
2926         * configure: Rebuilt.
2928 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2930         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2931         (install-libs, install-headers): Prepend $(DESTDIR) to
2932         destination paths in all (un)installation commands.
2934 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
2936         * thr-objc.c: Include coretypes.h and tm.h.
2938 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
2940         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2942 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
2944         * configure.in: Remove skip-this-dir support.
2945         * configure: Regenerate.
2947 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2949         * Makefile.in (all): Fix multilib parallel build.
2951 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2953         * sendmsg.c (nil_method): Declare not to take a variable number of
2954         args.
2955         (objc_msg_lookup): Cast nil_method to IMP before returning it.
2956         (objc_msg_lookup_super): The same.
2958 2002-09-10  Jan Hubicka  <jh@suse.cz>
2960         * nil_method.c (nil_method): No longer defined with variable
2961         arguments.
2963 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
2965         * objc/encoding.h: Fix formatting.
2966         * objc/hash.h: Likewise.
2967         * objc/objc-api.h: Likewise.
2968         * objc/runtime.h: Likewise.
2969         * objc/thr.h: Likewise.
2970         * archive.c: Likewise.
2971         * class.c: Likewise.
2972         * encoding.c: Likewise.
2973         * gc.c: Likewise.
2974         * hash.c: Likewise.
2975         * init.c: Likewise.
2976         * misc.c: Likewise.
2977         * nil_method.c: Likewise.
2978         * objects.c: Likewise.
2979         * sarray.c: Likewise.
2980         * selector.c: Likewise.
2981         * sendmsg.c: Likewise.
2982         * thr-mach.c: Likewise.
2983         * thr.c: Likewise.
2985 2002-06-25  DJ Delorie  <dj@redhat.com>
2987         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
2988         GLIBCPP_TOPREL_CONFIGURE.
2989         * configure.in: Call it before AC_CANONICAL_SYSTEM.
2990         * configure: Regenerate.
2992 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2994         * Object.m (forward, read, write): Fix unused parameter warnings.
2995         * encoding.c: Include <stdlib.h>.
2996         (target_flags): Mark with attribute unused.
2997         (atoi): Delete.
2998         * runtime.h (__objc_selector_max_index): Change to unsigned int.
2999         (__objc_generate_gc_type_description): Prototype.
3000         * selector.c (__objc_selector_max_index): Change to unsigned int.
3002 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3004         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
3005         we always have a return value: if __objc_msg_forward does not
3006         supply a forwarding implementation, return the default
3007         __builtin_apply based one.
3009 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3011         * Object.m: Fix signed/unsigned warning.
3012         * Protocol.m: Likewise.
3013         * archive.c: Always include stdlib.h.
3014         (objc_read_short, objc_read_unsigned_short, objc_read_int,
3015         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
3016         Fix signed/unsigned warning.
3017         (objc_write_type, objc_read_type, objc_write_types,
3018         objc_read_types): Ensure ctype 8-bit safety.
3019         (__objc_no_write, __objc_no_read): Mark unused parameters.
3020         * class.c (class_table_setup): Specify void arg.
3021         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
3022         objc_skip_typespec, objc_skip_offset,
3023         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
3024         (objc_layout_structure_next_member): Ensure variables are
3025         initialized.
3026         * gc.c (__objc_generate_gc_type_description,
3027         class_ivar_set_gcinvisible): Mark unused parameters.
3028         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
3029         unused parameters.
3030         (__objc_init_protocols) Fix signed/unsigned warning.
3031         * nil_method.c (nil_method): Mark unused parameters.
3032         * thr.h (objc_thread_callback): Specify void arg.
3033         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
3034         signed/unsigned warning.
3035         (sarray_free): Fix formatting.
3036         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
3037         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
3039 2002-06-09  Andreas Jaeger  <aj@suse.de>
3041         * encoding.c (objc_layout_structure_next_member): Remove unused
3042         variable.
3044 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3046         * Makefile.in (SHELL): Set to @SHELL@.
3047         (WARN_CFLAGS): New.
3048         (ALL_CFLAGS): Add $(WARN_CFLAGS).
3050 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3052         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
3053         * configure: Regenerate.
3055 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
3057         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
3058         script entry, and set LD to it when configuring multilibs.
3059         * configure: Rebuilt.
3061 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
3063         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
3065 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
3067         PR objc/6107
3068         * objc/objc-api.h (struct objc_protocol_list): Change type of
3069         member count from int to size_t.
3071 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3073         PR libobjc/4039
3074         * aclocal.m4: Replace with version copied from libstdc++-v3.
3075         * configure.in: Update for changes to aclocal and Makefile.
3076         * configure: Regenerate.
3077         * Makefile.in: Correct install of multilibs and shared libs, use
3078         INSTALL_DATA for include files.
3080 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
3082         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
3083         categories - when an unclaimed category was found, the loop was
3084         doing two steps forward instead of one, so that in certain cases
3085         it was failing to properly load all the categories.  (Reported
3086         with fix by Alexander Malmberg <alexander@malmberg.org>).
3088 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
3090         * encoding.c: Add target_flags.
3092 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
3094          * objc/objc-api.h (_C_VECTOR): New.
3096          * encoding.c (VECTOR_TYPE): New.
3098 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3100         * class.c: Rewritten the class table to use optimized, lock-free
3101         lookup.  This more than doubles the speed of class method
3102         invocations.  (class_table_setup), (class_table_insert),
3103         (class_table_replace), (class_table_get_safe),
3104         (class_table_next), (class_table_print),
3105         (class_table_print_histogram): New functions.
3106         (__objc_init_class_tables): Use class_table_setup.
3107         (__objc_add_class_to_hash): Use class_table_get_safe and
3108         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
3109         assert the existence of the table; do not lock the runtime; use
3110         class_table_get_safe.  (objc_next_class): Use class_table_next.
3111         (__objc_resolve_class_links): Use class_table_next.
3112         (class_pose_as): Use class_table_replace.
3114 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
3116         * gc.c: Removed the DEBUG declaration.
3118 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3120         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
3121         rather than through objc_thread_id, to save a function call.
3122         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
3123         Ditto.
3125 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3127         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
3128         to cast an id to a Class, which can not be done.  Make the check
3129         by using CLS_ISMETA on the class pointer instead.
3130         (object_is_meta_class): Similar fix.
3132 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
3134         * configure.in (AC_EXEEXT): Work around in case it expands to
3135         nothing, as in autoconf 2.50.
3136         * acinclude.m4: Likewise.
3137         * configure: Rebuilt.
3139 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
3141         * THREADS: Explain that when we compile libobjc inside GCC, we
3142         always use thr-objc.c as a backend, which uses GCC's thread code.
3144 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
3146         * init.c (__objc_send_message_in_list): When setting a new entry
3147         in __objc_load_methods use the method IMP as key, but check to see
3148         if the method is in the hashtable by looking at the IMP also.
3149         Also ... call the method after adding it to the hashtable rather
3150         than before ... thus preventing an obscure possibility of infinite
3151         recursion if a +load method itself loads a subclass.
3153 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
3155         * init.c (__objc_send_message_in_list): When setting a new entry
3156         in __objc_load_methods use the method name as key, not the method
3157         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
3159 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3161         * objc-features.texi: Move to ../gcc/objc.texi.
3162         * fdl.texi: Remove.
3163         * Makefile.in: Don't generate documentation from
3164         objc-features.texi.
3166 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
3168         * fdl.texi: New file.
3169         * objc-features.texi: Simplify.
3170         * Makefile.in: Adjust accordingly.
3172 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3174         * objc-features.texi: Use the GFDL.
3176 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
3178         * encoding.c (REAL_TYPE): Define.
3180 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
3182         * encoding.c (TYPE_MODE): Define.
3184 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
3186         * thr.c (objc_thread_add): New function.
3187         (objc_thread_remove): Ditto.
3188         * objc/thr.h: Declare them.
3189         * libobjc.def: Mention them.
3191 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
3193         * objc-features.texi: Document the @compatibility_alias compiler
3194         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3196 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3198         * sendmsg.c (__objc_forward): Delete strlen() declaration.
3200 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
3202         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3203         we're not interested in the result and they might fail.
3204         * configure: Regenerated.
3206 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3208         * objc-features.texi: Use @email.
3210 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3212         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3213         printf.
3215 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
3217         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3218         determines the value dynamically.
3220 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
3222         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3223         libraries to provide a function that returns the real forwarding
3224         function. This can alleviate problems __builtin_apply() and
3225         friends have on various platforms. (Solution suggested by Helge
3226         Hess.)
3228         * objc/objc-api.h: Define __objc_msg_forward.
3230         * sendmsg.c: Define gen_rtx_REG.
3232 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3234         * thr-rtems.c: New file. Stub to compile.
3236 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3238         * configure: Rebuilt with new libtool.m4.
3240 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3242         * configure.in: Create a config.h file. Check for <sched.h>.
3243         * configure: Regenerate.
3245         * config.h.in: Check for <sched.h>.
3247 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
3249         * configure: Regenerate after change to ../libtool.m4.
3251 2000-08-14  Andreas Schwab  <schwab@suse.de>
3253         * objc-features.texi (Top): Move @menu at end of node.
3255 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
3257         * objc-features.texi: Move @node Top before @menu.
3259 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3261         * objc-features.texi: Documented the new -fconstant-string-class
3262         option.
3264 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3266         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3267         improve the Posix thread support for Objective-C.
3269 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3271         * aclocal.m4: Replace copy of ../libtool.m4 with
3272         sinclude(../libtool.m4).
3274 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
3276         * configure.in: Added libtool support; build shared libraries
3277         if --enable-shared was passed on command line.
3278         * Makefile.in: Modified most compilation commands to use libtool.
3279         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3280         libtool distribution.
3282 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3284         * sarray.c, Object.m: Removed the explicit prototypes for strlen
3285         and memcpy on 64-bit platforms (Suggested by Rodney Brown
3286         <rdb@cup.hp.com>).
3288 2000-05-12  H.J. Lu  (hjl@gnu.org)
3290         * Makefile.in (GTHREAD_FLAGS): New.
3291         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3292         (OBJC_THREAD_FILE): Changed to thr-objc.
3294         * configure.in (GTHREAD_FLAGS): New, check and replace it for
3295         Makefile.
3296         (OBJC_THREAD_FILE): Removed.
3298         * thr-objc.c: New.
3300 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3302         * objc/hash.h: Include string.h.
3304 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3306         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3308 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3310         * Object.m (strlen): Provide prototype on all 64bit platforms,
3311         not only alpha.
3312         * sarray.c (memcpy): Likewise.
3313         * encoding.c (objc_layout_finish_structure): Don't use
3314         ROUND_TYPE_ALIGN on sparc.
3316         * encoding.c (objc_layout_structure_next_member): Do the whole
3317         procedure even for the first member, so that we get correct
3318         alignment.
3320 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3322         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3323         comments.
3325 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3327         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3329 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
3331         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3333 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
3335         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3336         the compiler when building C code.
3338 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
3340         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3341         libdir, libsubdir and tooldir.
3343 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
3345         * init.c (__objc_force_linking): Make global.
3347 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
3349         * configure.in (AC_EXEEXT): Remove call.
3350         (compiler_name): Explicitly check with no extension and .exe
3351         extension.
3352         * configure: Regenerate.
3354 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3356         * Makefile.in (CC1OBJ): Define in terms of CC.
3357         (runtime-info.h): Use.
3359 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3361         * objc-features.texi: Updated the URL to Boehm's GC page.
3363 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3365         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3366         the char as being signed (patch from Daniel Jacobowitz
3367         <drow@false.org>).
3369 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3371         * configure.in (AC_PREREQ): Update to 2.13.
3372         (AC_EXEEXT): Call to find possible file extension.
3373         (compiler_name): Use.
3374         * configure: Regenerate.
3376 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
3378         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3380 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
3382         * configure.in (thread_file): Correct and simplify code to find
3383         the thread file.
3384         * configure: Rebuilt.
3386 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
3388         * configure.in (compiler_name): Add check to detect if this
3389         language's compiler has been built.
3390         * configure: Regenerate.
3392 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3394         *  configure.in: Use AC_PREREQ(2.12.1).
3396 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
3398         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3400 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3402         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3404 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3406         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3408 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
3410         * objc-features.texi (Top): Changed the email address.
3411         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3413 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
3415         * encoding.c: Redefine get_inner_array_type to get the first entry
3416         in the structure.
3418 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
3420         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3421         (objc_get_type_qualifiers): Similarly.
3422         * objc/encoding.h (_C_BYREF): Define.
3423         (_F_BYREF): Define.
3425 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
3427         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3428         works out on 64-bit systems.
3430 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
3432         * Makefile.in (INCLUDES): Make it multilib-friendly.
3434 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
3436         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3438 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
3439                          Jeffrey A Law  (law@cygnus.com)
3441         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3442         (FLAGS_TO_PASS): Added.
3443         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3445         * archive.c: Change config.h to tconfig.h.
3447         * configure.in: Find gcc's object directory even for multilibs.
3449 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
3451         * configure.in: Escape ^ in grep string.
3452         * configure: Rebuilt.
3454 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
3456         * All .h files pushed down into the objc/ subdirectory.
3457         * Makefile.in (copy_headers): Corresponding changes.
3458         * configure.in (AC_INIT): Corresponding changes.
3459         * configure: Rebuilt.
3461 1998-09-30  Ben Elliston  <bje@cygnus.com>
3462             Jeff Law      <law@cygnus.com>
3464         * Makefile.in: Rewrite.
3466         * configure.in: Likewise.
3468         * configure: Regenerate.
3470         * All .c files.  Remove "objc" prefix when including objc header
3471         files.  Include tconfig.h, not ../tconfig.h.
3473 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
3475         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3476         (get_inner_array_type): Define.
3478 1998-09-21  Ben Elliston  <bje@cygnus.com>
3480         * New directory.  Moved files from ../gcc/objc.
3482 Copyright (C) 1998-2017 Free Software Foundation, Inc.
3484 Copying and distribution of this file, with or without modification,
3485 are permitted in any medium without royalty provided the copyright
3486 notice and this notice are preserved.