introduce --enable-large-address-aware
[official-gcc.git] / libobjc / ChangeLog
blob0ca8b771d27338bd9093b5a4d119b3145b0be69b
1 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
3         * configure: Regenerated.
5 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
7         * configure: Regenerated.
9 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
11         PR jit/85384
12         * configure: Regenerate.
14 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
16         PR target/84148
17         * configure: Regenerate.
19 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
21         Update copyright years.
23 2017-11-23  Tom de Vries  <tom@codesourcery.com>
25         * class.c (CLASS_TABLE_HASH): Wrap in "do {} while (0)".
27 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
29         * Makefile.in: Regenerate.
30         * aclocal.m4: Likeiwse.
31         * configure: Likewise.
32         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
34 2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
35             Alan Hayward  <alan.hayward@arm.com>
36             David Sherwood  <david.sherwood@arm.com>
38         * encoding.c (_darwin_rs6000_special_round_type_align): Prefix mode
39         names with E_ in case statements.
41 2017-02-07  Richard Biener  <rguenther@suse.de>
43         PR tree-optimization/79256
44         PR middle-end/79278
45         * encoding.c (objc_layout_structure_next_member): Adjust
46         ADJUST_FIELD_ALIGN usage.
48 2017-01-18  Matthias Klose  <doko@ubuntu.com>
50         PR libobjc/78697
51         * configure.ac: Allow default for --with-target-bdw-gc-include.
52         * configure: Regenerate.
54         PR libobjc/78698
55         * configure.ac: Use the libgc.la file when available.
56         * configure: Regenerate.
58 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
60         PR other/79046
61         * configure: Regenerated.
62         * configure.ac: Add GCC_BASE_VER.
63         * Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
64         get version from BASE-VER file.
65         * configure: Regenerated.
67 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
69         Update copyright years.
71 2016-12-01  Matthias Klose  <doko@ubuntu.com>
73         * configure.ac: Don't use pkg-config to check for bdw-gc.
74         * configure: Regenerate.
76 2016-11-30  Matthias Klose  <doko@ubuntu.com>
78         * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking
79         for the existence of the pkg-config modules.
80         * Regenerate.
82 2016-11-30  Jakub Jelinek  <jakub@redhat.com>
84         * configure.ac (--enable-objc-gc): If not given, default to
85         enable_objc_gc=no.
86         * configure: Regenerated.
88 2016-11-30  Matthias Klose  <doko@ubuntu.com>
90         * configure.ac (--enable-objc-gc): Allow to configure with a
91         system provided boehm-gc.
92         * configure: Regenerate.
93         * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
94         * gc.c: Include system bdw-gc headers.
95         * memory.c: Likewise.
96         * objects.c: Likewise.
98 2016-11-15  Matthias Klose  <doko@ubuntu.com>
100         * aclocal.m4: Regenerate.
101         * configure: Likewise.
103 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
105         Update copyright years.
107 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
109         PR libobjc/24775
110         * encoding.c (_darwin_rs6000_special_round_type_align): Use
111         __CHAR_BIT__ instead of BITS_PER_UNIT.
112         (objc_sizeof_type): Likewise.
113         (objc_layout_structure): Likewise.
114         (objc_layout_structure_next_member): Likewise.
115         (objc_layout_finish_structure): Likewise.
116         (objc_layout_structure_get_info): Likewise.
118 2015-11-03  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
120         PR libobjc/24775
121         * encoding.c (objc_layout_finish_structure): Remove usage of
122         ROUND_TYPE_SIZE.
124 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
126         PR libobjc/24775
127         * sendmsg.c (tm.h): Remove include.
129 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
131         PR libobjc/24775
132         * sendmsg.c (gen_rtx): Remove macro.
133         (gen_rtx_MEM): Likewise.
134         (gen_rtx_REG): Likewise.
135         (rtx): Likewise.
137 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
139         PR libobjc/24775
140         * sendmsg.c: Remove check of STRUCT_VALUE macro.
142 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
144         * configure.ac: Remove manual SJLJ check.
145         * config.h.in: Regenerate.
146         * configure: Likewise.
147         * exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
149 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
151         * aclocal.m4: Regenerated with automake-1.11.6.
153 2015-05-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
155         * configure: Regenerate.
157 2015-05-01  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
159         * acinclude.m4: Include bitfields.m4.
160         * config.h.in: Regenerate.
161         * configure: Likewise.
162         * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
163         * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
165 2015-04-29  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
167         * encoding.c (objc_layout_structure_next_member): Check the value of
168         PCC_BITFIELD_TYPE_MATTERS not if it is defined.
170 2015-02-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
172         PR libobjc/63765
173         * thr.c (_XOPEN_SOURCE): Remove.
175 2015-01-27  Matthias Klose  <doko@ubuntu.com>
177         * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
179 2015-01-09  Dimitris Papavasiliou  <dpapavas@gmail.com>
181         PR libobjc/51891
182         * ivars.c: Add a check for classes without instance
183         variables, which have a NULL ivar list pointer.
185 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
187         Update copyright years.
189 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
191         PR bootstrap/63784
192         * configure: Regenerated.
194 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
196         PR target/63610
197         * configure: Regenerate.
199 2014-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
201         * thr.c (_XOPEN_SOURCE): Define as 600.
203 2014-07-27  Alan Modra  <amodra@gmail.com>
204             Matthias Klose  <doko@ubuntu.com>
206         PR libobjc/61920
208         * encoding.c: Define rs6000_special_adjust_field_align_p.
210 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
212         Update copyright years
214 2013-09-20  Alan Modra  <amodra@gmail.com>
216         * configure: Regenerate.
218 2013-07-21   Ondřej Bílka  <neleai@seznam.cz>
220         * class.c: Fix typos.
221         * encoding.c: Likewise.
222         * init.c: Likewise.
223         * objc-private/runtime.h: Likewise.
224         * objc/runtime.h: Likewise.
225         * objc-sync.c: Likewise.
227 2013-07-04  Kai Tietz  <ktietz@redhat.com>
229         * exception.c: Add check for SjLj to SEH blocks.
231 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
233         Update copyright years.
235 2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
237         * encoding.c (TARGET_VSX): Provide definitions based on the
238         current compilation options, and not based off the target options
239         structure.
240         (TARGET_ALTIVEC): Likewise.
241         (TARGET_64BIT): Likewise.
243 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
245         * configure: Regenerated.
247 2012-07-19  Tristan Gingold  <gingold@adacore.com>
248             Richard Henderson  <rth@redhat.com>
250         * exception.c (__gnu_objc_personality_seh0): New function.
252 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
254         * configure: Regenerated.
256 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
258         * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
259         * configure: Regenerate.
261         * thr.c (_XOPEN_SOURCE): Define unconditionally.
263 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
265         * configure: Regenerate.
267 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
269         * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
270         * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
271         * configure: Regenerate.
272         * config.h.in: Regenerate.
274 2011-10-17  Paul Brook  <paul@codesourcery.com>
275             Matthias Klose  <doko@ubuntu.com>
277         * exception.c (parse_lsda_header): hardcode ttype_encoding for older
278         ARM EABI toolchains.
279         (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
281 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
283         PR libobjc/49883
284         * init.c (__objc_exec_class): Work around a bug in clang's code
285         generation.  Clang sets the class->info field to values different
286         from 0x1 or 0x2 (the only allowed values in the traditional GNU
287         Objective-C runtime ABI) to store some additional information, but
288         this breaks backwards compatibility.  Wipe out all the bits in the
289         fields other than the first two upon loading a class.
291 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
293         * class.c (objc_lookup_class): Added back for compatibility with
294         clang which seems to emit calls to it.
296 2011-10-08  Richard Frith-Macdonald <rfm@gnu.org>
297             Nicola Pero  <nicola.pero@meta-innovation.com>
299         PR libobjc/50428
300         * sendmsg.c (__objc_send_initialize): If a class does not have an
301         +initialize method, search for an +initialize method in the
302         superclass and in the ancestor classes and execute the first one
303         that is found.  This makes the GNU runtime behave in the same way
304         as the Apple/NeXT runtime with respect to +initialize methods and
305         subclassing.
307 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
309         PR libobjc/50002
310         * class.c (__objc_update_classes_with_methods): Iterate over meta
311         classes as well as normal classes when refreshing the method
312         implementations.  This fixes replacing class methods.
314 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
316         * class.c (class_getSuperclass): Fixed to work with meta classes
317         still in construction too.
319 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
321         * class.c (class_getSuperclass): Fixed typo in comment.
322         
323 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
325         PR libobjc/49882
326         * class.c (class_getSuperclass): Return the superclass if the
327         class is in construction.
328         * objc/runtime.h (class_getSuperclass): Updated documentation.
330 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
332         * Makefile.in (INCLUDES): Search
333         $(srcdir)/$(MULTISRCTOP)../libgcc.
335 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
337         * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
339 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
341         * configure.ac (VERSION): Bumped to 4:0:0.
342         * configure (VERSION): Likewise.
344 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
346         * objc/README: Updated.
347         * objc-private/selector.h: Updated comments.
348         
349 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
351         * sendmsg.c (class_get_instance_method): Removed.
352         (class_get_class_method): Removed.
353         (objc_get_uninstalled_dtable): Removed.
355 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
357         * objc-private/module-abi-8.h (class_get_instance_size): Removed.
358         * objects.c (class_create_instance): Removed.
359         * error.c (__USE_FIXED_PROTOTYPES__): Removed.
360         * gc.c (__objc_generate_gc_type_description): Use
361         class_getInstanceSize() instead of class_get_instance_size().
362         * selector.c (sel_types_match): Made static.
363         (sel_get_typed_uid): Removed.
364         (sel_get_any_typed_uid): Removed.
365         (sel_get_name): Removed.
366         (sel_get_type): Removed.
367         (sel_register_name): Removed.
368         (sel_register_typed_name): Removed.
369         (sel_get_uid): Removed.
371 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
373         * encoding.c (method_get_number_of_arguments): Removed.
374         (method_get_sizeof_arguments): Removed.
376 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
378         * class.c (objc_next_class): Removed.
379         (class_pose_as): Removed.
380         (CLASSOF): Removed.
381         (class_table_replace): Removed.
382         (objc_lookup_class): Removed.
384 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
386         Removed the Traditional Objective-C runtime public API.
387         * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
388         (install-headers): Do not create the objc/deprecated directory and
389         do not install the deprecated headers.
390         (OBJC_H): Removed encoding.h and objc-api.h.
391         * Object.m: Removed all methods with the exception of -class and
392         -isEqual:.  Updated includes.  ([-class]): Use Modern API.
393         * objc/Object.h: Do not include deprecated/Object.h.
394         * objc/deprecated/Object.h: Removed.
395         * linking.m (__objc_linking): Call [Object class] instead of
396         [Object name].
397         * Protocol.m: Removed all methods with the exception of -isEqual:.
398         Updated includes.
399         * objc/Protocol.h: Do not include deprecated/Protocol.h.
400         * objc/deprecated/Protocol.h: Removed.
401         * objc/deprecated/struct_objc_symtab.h: Removed.
402         * objc/deprecated/struct_objc_module.h: Removed.
403         * objc/deprecated/struct_objc_ivar.h: Removed.
404         * objc/deprecated/struct_objc_ivar_list.h: Removed.
405         * objc/deprecated/struct_objc_method.h: Removed.
406         * objc/deprecated/struct_objc_method_list.h: Removed.
407         * objc/deprecated/struct_objc_protocol_list.h: Removed.
408         * objc/deprecated/struct_objc_category.h: Removed.
409         * objc/deprecated/MetaClass.h: Removed.
410         * objc/deprecated/objc_msg_sendv.h: Removed.  
411         * objc/deprecated/README: Removed.
412         * objc/deprecated/struct_objc_class.h: Removed.
413         * objc/deprecated/struct_objc_protocol.h: Removed.
414         * objc/deprecated/struct_objc_selector.h: Removed.
415         * objc/encoding.h: Removed.
416         * objc/message.h (struct objc_super): Removed the definition for
417         the Traditional Objective-C runtime API.
418         * objc/objc.h: Do not include objc/objc-decls.h.
419         deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
420         deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
421         and deprecated/objc_msg_sendv.h.  Uncommented new definition of
422         Protocol *.
423         * objc/objc-api.h: Removed.
424         * objc/runtime.h: Updated comments.  Removed check to detect
425         concurrent usage of Traditional and Modern APIs.
426         * objc-private/module-abi-8.h: Always define struct objc_class and
427         struct objc_protocol.  (struct objc_protocol_list): Changed type
428         of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
429         (class_get_instance_size): Added.
430         * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
431         'struct objc_protocol *' as argument, not a 'Protocol *'.
432         * objc-private/runtime.h: Updated comments.
433         * objc-private/selector.h (struct objc_selector, sel_eq): Added.
434         * class.c: Include objc-private/selector.h.
435         (objc_get_meta_class): Return a Class instead of a MetaClass.
436         * encoding.c (method_get_next_argument): Removed.
437         (method_get_first_argument): Removed.
438         (method_get_nth_argument): Removed.
439         * gc.c: Include objc/runtime.h instead of objc/encoding.h.
440         Include objc-private/module-abi-8.h and ctype.h.
441         * protocols.c (__objc_protocols_add_protocol): Take a 'struct
442         objc_protocl *' as argument, not a 'Protocol *'.
443         (class_addProtocol): Added casts to 'struct objc_protocol *' and
444         'Protocol *'.
445         (class_copyProtocolList): Likewise.
446         (protocol_conformsToProtocol): Likewise.
447         (protocol_copyProtocolList): Likewise.
448         * sarray.c: Include objc-private/module-abi-8.h.
449         * sendmsg.c (method_get_next_argument): Removed.
450         (method_get_first_argument): Removed.
451         (method_get_nth_argument): Removed.
452         (objc_msg_sendv): Removed.
453         (arglist_t, retval_t): New.  (class_get_class_method): Take a
454         'Class', not 'MetaClass', argument.
455         * thr.c: Include module-abi-8.h.
456         
457 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
459         * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
460         and objc_get_uninstalled_dtable.h.
461         * objc/deprecated/struct_objc_static_instances.h: Removed.
462         * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.       
463         * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
464         and deprecated/objc_get_uninstalled_dtable.h.
465         
466 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
468         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
469         * objc/deprecated/objc_object_alloc.h: Removed.
470         * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
471         * objects.c (_objc_object_alloc, _objc_object_dispose,
472         _objc_object_copy): Removed.
473         * libobjc.def (__objc_object_alloc, __objc_object_copy,
474         __objc_object_dispose): Removed.
475         
476 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
478         * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
479         * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
480         * objc/deprecated/METHOD_NULL.h: Removed.
481         
482 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
484         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
485         objc_malloc.h and objc_unexpected_exception.h.
486         (exception.lo): Do not use -Wno-deprecated-declarations.
487         (exception_gc.lo): Likewise.
488         * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
489         deprecated/objc_malloc.h and
490         deprecated/objc_unexpected_exception.h.
491         * objc/deprecated/objc_valloc.h: Removed.
492         * objc/deprecated/objc_malloc.h: Removed.
493         * objc/deprecated/objc_unexpected_exception.h: Removed.
494         * exception.c (_objc_unexpected_exception): Removed.
495         (objc_exception_throw): Do not check for
496         _objc_unexpected_exception.
497         * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
498         _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.        
499         * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
500         
501 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
503         * objc/objc.h: Do not include deprecated/STR.h.
504         * objc/deprecated/STR.h: Removed.
505         * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
506         
507 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
509         * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
510         (OBJC_DEPRECATED_H): Likewise.
511         * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
512         objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
513         objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
514         hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
515         sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
516         sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
517         * objc/sarray.h: Removed.
518         * objc/hash.h: Removed.
519         * objc/deprecated/sarray.h: Removed.
520         * objc/deprecated/hash.h: Removed.
521         * objc/Object.h: Do not include objc/deprecated/hash.h
522         * Object.m: Include string.h.
523         * objc/objc-api.h: Do not include objc/deprecated/hash.h.
524         * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
525         Removed.
527 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
529         * Object.m ([-forward::]): Removed.
530         * objc/deprecated/Object.h ([-forward::]): Removed.
531         * sendmsg.c (__objc_forward): Updated comments.
532         
533 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
535         * Makefile.in (OBJC_H): Removed objc-list.h.
536         (OBJC_DEPRECATED_H): Removed objc-list.h.
537         * objc/objc-list.h: File removed.
538         * objc/deprecated/objc-list.h: File removed.
540 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
542         * Makefile.in (OBJC_H): Removed typedstream.h.
543         (OBJC_DEPRECATED_H): Removed typedstream.h.
544         (C_SOURCE_FILES): Removed archive.c.
545         (Object.lo): Rule removed.
546         (Object_gc.lo): Likewise.
547         (archive.lo): Likewise.
548         (archive_gc.lo): Likewise.
549         * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
550         [-awake]): Removed.
551         Do not include deprecated/typedstream.h.
552         * Object.m: Removed the same methods.
553         * archive.c: File removed.
554         * objc/typedstream.h: File removed.
555         * objc/deprecated/typedstream.h: File removed.
556         * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
557         __objc_write_class, __objc_write_object, __objc_write_selector,
558         objc_close_typed_stream, objc_end_of_typed_stream,
559         objc_flush_typed_stream, objc_get_stream_class_version,
560         objc_open_typed_stream, objc_open_typed_stream_for_file,
561         objc_read_array, objc_read_char, objc_read_int, objc_read_long,
562         objc_read_object, objc_read_selector, objc_read_short,
563         objc_read_string, objc_read_type, objc_read_types,
564         objc_read_unsigned_char, objc_read_unsigned_int,
565         objc_read_unsigned_long, objc_read_unsigned_short,
566         objc_write_array, objc_write_char, objc_write_int,
567         objc_write_long, objc_write_object, objc_write_object_reference,
568         objc_write_root_object, objc_write_selector, objc_write_short,
569         objc_write_string, objc_write_string_atomic, objc_write_type,
570         objc_write_types, objc_write_unsigned_char,
571         objc_write_unsigned_int, objc_write_unsigned_long,
572         objc_write_unsigned_short): Removed.
573         
574 2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
576         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
577         * objc/deprecated/objc_error.h: Removed.
578         * objc/objc-api.h: Do not include deprecated/objc_error.h.
579         * libobjc.def (objc_error, objc_verror): Removed.
580         * error.c (_objc_error_handler, objc_error, objc_verror,
581         objc_set_error_handler): Removed.
582         * Object.m ([-error:], [-perform:], [-perform:with:],
583         [-perform:with:with], [-subclassResponsibility:],
584         [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
585         Removed.
586         * objc/deprecated/Object.h: Removed the same methods.
587         * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
588         method after trying to invoke the "doesNotRecognize:" method.
589         
590 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
592         * sendmsg.c: Reindented part of the file.  No non-trivial changes
593         in code.
595 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
597         * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
598         not objc_lookup_class.
600 2011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
601             David Ayers  <ayers@fsfe.org>
603         PR libobjc/38307
604         * sendmsg.c: Include objc/hash.h.
605         (get_implementation): New function, mostly with code from get_imp
606         updated to support the new +initialize dispatch table logic.
607         (get_imp): Use get_implementation.
608         (__objc_responds_to): Updated to support the new +initialize
609         dispatch table logic.
610         (class_respondsToSelector): Likewise.
611         (objc_msg_lookup): Use get_implementation.
612         (__objc_init_install_dtable): Removed.
613         (__objc_install_methods_in_dtable): Updated arguments.
614         (__objc_install_dispatch_table_for_class): Renamed to
615         __objc_install_dtable_for_class and updated to support the new
616         +initialize dispatch table logic.
617         (__objc_update_dispatch_table_for_class): Updated to support the
618         new +initialize dispatch table logic.
619         (__objc_forward): Call get_implementation instead of get_imp.
620         (prepared_dtable_table): New.
621         (__objc_prepare_dtable_for_class): New. 
622         (__objc_prepared_dtable_for_class): New.
623         (__objc_get_prepared_imp): New.
624         (__objc_install_prepared_dtable_for_class): New.
625         
626 2011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
628         PR libobjc/48177
629         * selector.c (__sel_register_typed_name): Use sel_types_match()
630         instead of strcmp() to compare selector types (Suggestion by
631         Richard Frith-Macdonald <rfm@gnu.org>).
633 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
635         PR libobjc/32037
636         * Makefile.in (OBJC_GCFLAGS): Move ...
637         * configure.ac (enable_objc_gc): ... here.
638         Add $(libsuffix) to OBJC_BOEHM_GC.
639         * configure: Regenerate.
641 2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>
642         
643         * selector.c (sel_getTypedSelector): Return NULL if there are
644         multiple selectors with conflicting types.
645         * objc/runtime.h (sel_getTypedSelector): Updated documentation.
646         
647 2011-02-28  Richard Frith-Macdonald <rfm@gnu.org>
649         PR libobjc/47922
650         * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
651         a hardcoded "!".
653 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
655         * configure: Regenerate.
657 2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>
659         * init.c (create_tree_of_subclasses_inherited_from): Use
660         class_superclass_of_class instead of assuming a class is
661         unresolved when it could be resolved.  Tidied up assignment and
662         check.
663         (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
664         (objc_tree_insert_class): Tidied up loop; return immediately upon
665         inserting a class.
666         (__objc_exec_class): Do not set __objc_class_tree_list.
667         
668 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
670         * selector.c (sel_getTypedSelector): Return NULL if given a NULL
671         argument.
672         (sel_registerTypedName): Same.
673         (sel_registerName): Same.
674         * objc/runtime.h: Updated documentation.
675         
676 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
678         * objc/runtime.h (class_addIvar): Updated documentation.  The
679         alignment is actually the log_2 of the alignment in bytes.
680         * ivars.c (class_addIvar): Corresponding change to the
681         implementation.
682         
683 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
685         * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
686         be consistent with method_getTypeEncoding and
687         ivar_getTypeEncoding.
688         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
689         * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
690         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
691         (sel_get_type): Updated call to sel_getType.
692         
693 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
695         * objc/runtime.h (class_conformsToProtocol,
696         class_copyProtocolList): Updated documentation.
698 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
700         * init.c (create_tree_of_subclasses_inherited_from): Updated
701         DEBUG_PRINTF messages.
702         (__objc_tree_insert_class): Same.
703         (__objc_send_load_using_method_list): Same.
704         (__objc_send_load): Same.
705         (__objc_exec_class): Same.  In particular, do not print the module
706         name since it is no longer used.
707         * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
708         tracking +initialize calls.
709         (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
710         tracking updates of dispatch tables.
711         (__objc_install_dispatch_table_for_class): Same.
712         
713 2010-12-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
715         * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
716         (libobjc_gc$(libsuffix).la): Likewise.
718 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
720         * sendmsg.c (class_addMethod): Return NO if the method already
721         exists in the class.
723 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
725         * init.c (duplicate_classes): New.
726         (__objc_exec_class): Initialize duplicate_classes.
727         (__objc_create_classes_tree): Ignore classes in the
728         duplicate_classes table.
729         (__objc_call_load_callback): Same.
730         (__objc_init_class): If a duplicate class is found, add it to
731         duplicate_classes instead of aborting.  Return YES if the class is
732         not a duplicate, and NO if it is.
733         * objc-private/runtime.h (__objc_init_class): Updated prototype.
735 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
737         * objc-private/objc-list.h: Reindented file.  No code changes.
738         * objc-private/sarray.h: Same change.
740 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
742         * objc-private/accessors.h: Removed 'extern "C"' guards.  This
743         file is never compiled with C++.
744         * objc-private/hash.h: Same change.
745         * objc-private/objc-list.h: Same change.
746         * objc-private/objc-sync.h: Same change.
747         * objc-private/protocols.h: Same change.
748         * objc-private/runtime.h: Same change.
749         * objc-private/sarray.h: Same change.
750         * objc-private/selector.h: Same change.
752 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
754         PR libobjc/18764
755         * class.c (__objc_add_class_to_hash): Return YES if the class was
756         added, and NO if it already existed.
757         * init.c (__objc_init_class): If __objc_add_class_to_hash returns
758         NO, then abort the program with an error message.
759         * objc-private/runtime.h (__objc_add_class_to_hash): Updated
760         declaration.
762 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>      
764         * init.c (_objc_load_callback): Initialize with 0.
765         (__objc_call_callback): Renamed to __objc_call_load_callback.
766         Check _objc_load_callback only once, and if it is not set, return
767         immediately.
768         (objc_send_load): Updated call to __objc_call_callback.
769         
770 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
772         PR libobjc/16110
773         * init.c (__objc_send_message_in_list): Renamed to
774         __objc_send_load_using_method_list.  Do not take an 'op' argument.
775         Register the 'load' selector if needed.
776         (__objc_send_load): Do not register the 'load' selector.  Updated
777         call to __objc_send_message_in_list.
778         (__objc_create_classes_tree): Add the class of any claimed
779         category that was loaded in the module to the list of classes for
780         which we try to execute +load.
781         
782 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
784         * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
785         Updated comments.
786         * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
787         a pointer using DEBUG_PRINTF.
788         
789 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
791         PR libobjc/45953
792         * selector.c (__sel_register_typed_name): When registering a new
793         selector with the same name as an existing one, reuse the existing
794         name string.  Also updated types, casts and comments in the whole
795         function.
797 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
799         * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
800         to be 'struct objc_selector *' and not 'SEL'.
801         * init.c (__objc_exec_class): Call
802         __objc_register_selectors_from_module instead of iterating over
803         each selector and calling __sel_register_typed_name for each.
804         * objc-private/selector.h: Declare
805         __objc_register_selectors_from_module instead of
806         __sel_register_typed_name.
807         * selector.c (__objc_register_selectors_from_module): New.
808         (__sel_register_typed_name): Made static.
809         
810 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
812         * linking.m: Do not include objc/NXConstStr.h.
814 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
815         
816         * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
817         * objc-private/common.h (DEBUG_PRINTF): To here.
818         * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
819         
820 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
822         * hash.c: Tidied up comments and indentation.  No code changes.
824 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
826         PR libobjc/47012
827         * accessors.m (objc_getProperty): If not atomic, do not
828         retain/autorelease the returned value.
830 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
832         * objc-private/runtime.h (__objc_selector_max_index,
833         __objc_init_selector_tables, __objc_register_selectors_from_class,
834         __objc_register_selectors_from_list,
835         __objc_register_selectors_from_description_list): Moved to ...
836         * objc-private/selector.h: ... here.
838 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
840         * objc-private/runtime.h (__objc_class_links_resolved): Removed.
841         (__objc_print_dtable_stats): Removed.
842         (__sel_register_typed_name): Removed.
843         * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
844         
845 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
847         * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
848         if appropriate, after loading the module.
850 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
852         * sendmsg.c (method_setImplementation): Do not declare.
854 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
856         * objc/message.h: Updated comments.
857         * objc/runtime.h: Updated comments.
858         
859 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
861         * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
862         * protocols.c: Updated all calls to objc_lookupClass to call
863         objc_lookUpClass instead.
864         * sendmsg.c (objc_lookupClass): Do not declare.
865         (get_imp): Update call to objc_lookupClass to call
866         objc_lookUpClass instead.
867         * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
869 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
871         * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
872         * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
873         define.  Updated comments.
874         
875 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
877         * objc/encoding.h: Updated comments.
878         * objc/runtime.h: Updated comments.
879         (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
880         (objc_sizeof_type): Same.
881         (objc_alignof_type): Same.
882         (objc_aligned_size): Same.
883         (objc_promoted_size): Same.
884         (objc_skip_type_qualifiers): Same.
885         (objc_skip_typespec): Same.
886         (objc_skip_offset): Same.
887         (objc_skip_argspec): Same.
888         (objc_get_type_qualifiers): Same.
889         (objc_layout_structure): Same.
890         (objc_layout_structure_next_member): Same.
891         (objc_layout_finish_structure): Same.
892         (objc_layout_structure_get_info): Same.
893         
894 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
896         * init.c: Updated comments.
897         * objc/objc-api.h: Updated comments.
898         * objc/runtime.h (_objc_load_callback): Declare.
899         
900 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
902         * objc/Object.h: Include deprecated/typedstream.h and
903         deprecated/hash.h instead of typedstream.h.  Updated comments.
905 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
907         * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
908         * objc/deprecated/objc_msg_sendv.h: New.
909         * objc/message.h: Do not define retval_t, apply_t, arglist,
910         arglist_t, objc_msg_sendv, now in
911         objc/deprecated/objc_msg_sendv.h.
912         * objc/objc.h: Do not include message.h; include
913         objc/deprecated/objc_msg_sendv.h instead.  Tidied up comments.
914         * sendmsg.c: Include objc/message.h.
915         * thr.c: Include objc/message.h.
916         
917 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
919         * objc/objc-exception.h: Include objc-decls.h.  Mark all
920         functions with objc_EXPORT.
921         * objc/objc-sync.h: Same change.
923 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
925         * Protocol.m: Moved all methods, with the exception of -isEqual:,
926         into the 'Deprecated' category.
927         * objc/Protocol.h: Removed all methods, moved to
928         objc/deprecated/Protocol.h.  Include objc/deprecated/Protocol.h.
929         * objc/deprecated/Protocol.h: New.
930         * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
931         
932 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
934         * init.c: Include objc-private/selector.h.  Do not declare
935         __sel_register_typed_name.
936         * objc-private/selector.h (__sel_register_typed_name): Declare.
937         * selector.c: Include objc-private/selector.h.
938         
939 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
941         * class.c: Tidied up comments and indentation.  No code changes.
942         * error.c: Same.
943         * exception.c: Same.
944         * init.c: Same.
945         * ivars.c: Same.
946         * memory.c: Same.
947         * objc-foreach.c: Same.
948         * objc-sync.c: Same.
949         * objects.c: Same.
950         * protocols.c: Same.
951         * sarray.c: Same.
952         * thr.c: Same.
954 2010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
956         * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
957         instead of objc/objc-api.h.
958         (init_check_module_version): Take a 'struct objc_module *'
959         argument instead of 'Module_t'.  Use 'struct objc_module *'
960         instead of 'Module_t'.
961         (__objc_created_classes_tree): Take a 'struct objc_module *'
962         argument instead of 'Module_t'; use 'struct objc_symtab *' instead
963         of 'Symtab_t'.
964         (__objc_call_callback): Take a 'struct objc_module *' argument
965         instead of 'Module_t'; use 'struct objc_symtab *' instead of
966         'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
967         (_objc_load_callback): Take a 'struct objc_category *' argument
968         instead of 'Category *'.
969         (class_superclass_of_class): Use objc_getClass() instead of
970         objc_lookup_class().
971         (create_tree_of_subclasses_inherited_from): Same change (also, use
972         an explicit 'if' instead of '?').
973         (objc_init_statics): Same change.
974         (objc_send_load): Same change.
975         (__objc_init_protocol): same change.
976         (__objc_send_message_in_list): Take a 'struct objc_method_list *'
977         argument instead of 'MethodList_t'.  Use 'struct objc_method *'
978         instead of 'Method_t'.
979         (__objc_send_load): Use 'struct objc_method_list *' instead of
980         'MethodList_t'.  Use sel_registerName() instead of
981         sel_register_name().
982         (__objc_exec_class): Take a 'struct objc_module *' argument
983         instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
984         'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
985         Use 'struct objc_category *' instead of 'Category_t'.
986         
987 2010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
989         * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
990         Include objc-private/module-abi-8.h and objc-private/selector.h
991         instead of objc/encoding.h.
992         (objc_msg_lookup_super): Use super->super_class instead of
993         super->class.
994         (method_get_first_argument, method_get_next_argument): Declare
995         locally.
996         (class_get_instance_method): Declare before using.
997         (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
998         (__objc_init_dispatch_tables, __objc_send_initialize): Use
999         sel_registerName() instead of sel_register_name().
1000         (__objc_forward): Use sel_getName() instead of sel_get_name().
1001         (objc_get_uninstalled_dtable): Use 'void' as argument.
1002         * objc-private/selector.h: New.
1004 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1006         * objc/message.h (objc_super): When using the modern API, do not
1007         define Super and Super_t, and always use 'super_class' for the
1008         super class field.      
1009         (objc_msg_lookup_super): Updated prototype to use 'struct
1010         objc_super *' instead of 'Super_t'.
1011         * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
1012         'struct objc_super *' instead of 'Super_t'.
1014 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1016         * objc/message.h: Update comments, reindented code and moved
1017         deprecated types and functions at the end of the file.  No code
1018         changes.
1020 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1022         * ivars.c (class_addIvar): Use the 'size' argument instead of
1023         trying to calculate it using objc_sizeof_type().
1024         * objc/runtime.h (class_addIvar): Updated comments.
1025         
1026 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1028         * sendmsg.c: Reindented some code and tidied up comments.  No
1029         actual code changes.
1030         
1031 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1033         * objc/Object.h: Moved all the methods, with the exception of
1034         -class and -isEqual:, into ...
1035         * objc/deprecated/Object.h: here.
1036         * Object.m: Moved all the methods, with the exception of -class
1037         and -isEqual: into the 'Deprecated' category.
1039 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1041         * objects.c (object_copy): Do not #undef as we are no longer
1042         including objc/objc-api.h.
1043         * selector.c: Include objc/runtime.h and
1044         objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
1045         objc/encoding.h.  Updated
1046         (__objc_register_selectors_from_class): Use struct
1047         objc_method_list * instead of MethodList_t.
1048         (__objc_register_selectors_from_list): Use Method instead of
1049         Method_t.
1050         (struct objc_method_description_list): Do not define here.
1051         (__objc_register_instance_methods_to_class): Use struct
1052         objc_method_list * instead of MethodList_t and Method instead of
1053         Method_t.
1054         
1055 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1057         * selector.c: Reindented some code and tidied up comments.  No
1058         actual code changes.
1060 2010-12-13  Iain Sandoe  <iains@gcc.gnu.org>
1062         * encoding.c (_darwin_rs6000_special_round_type_align): New.
1063         (darwin_rs6000_special_round_type_align): Adjust to use new routine.
1065 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1067         * sendmsg.c (selector_resolveClassMethod): New.
1068         (selector_resolveInstanceMethod): New.
1069         (__objc_resolve_class_method): New.
1070         (__objc_resolve_instance_method): New.
1071         (get_imp): Call __objc_resolve_class_method or
1072         __objc_resolve_instance_method at the appropriate time.
1073         (objc_msg_lookup): Same.
1074         (class_getClassMethod): Same.   
1075         (class_getInstanceMethod): Same.
1076         (__objc_init_dispatch_tables): Initialize
1077         selector_resolveClassMethod and selector_resolveInstanceMethod.
1078         * objc/runtime.h: Updated documentation of class_getClassMethod,
1079         class_getInstanceMethod and class_getMethodImplementation.
1080         
1081 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1083         * objc-private/module-abi-8.h (struct objc_symtab): Updated
1084         description of sel_ref_cnt and refs.
1085         * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
1086         
1087 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
1089         PR target/40125
1090         PR lto/46695
1091         * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
1092         * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
1093         * aclocal.m4: Regenerate.
1094         * configure: Regenerate.
1096 2010-12-03  Matthias Klose  <doko@ubuntu.com> 
1098         * configure.ac (VERSION): Bump the version to 3:0:0.
1099         * configure: Regenerate.
1101 2010-11-23  Richard Frith-Macdonald <rfm@gnu.org>
1103         * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
1104         pass nil as the receiver since we don't know the receiver at this
1105         point.
1106         
1107 2010-11-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1109         * ivars.c: Include stdlib.h.
1110         * protocols.c: Same change.
1112 2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
1114         * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
1115         * accessors.m: New.
1116         * init.c: Include objc-private/accessors.h.
1117         (__objc_exec_class): Call __objc_accessors_init.
1118         * objc-private/accessors.h: New.
1120 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1122         * objc/message.h: Moved initial includes outside of extern "C".
1123         * objc/runtime.h: Add extern "C" for Objective-C++.
1125 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1127         * init.c (objc_send_load): Do not wait for NXConstantString to be
1128         registered before executing +load.  There is no point if
1129         -fconstant-string-class=xxx is used when compiling all modules,
1130         as is the case for almost all users.
1131         * linking.m (__objc_linking): Do not try to forcefully link in
1132         NXConstantString.
1134 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1136         * objc/runtime.h: Updated comments.
1137         (class_addMethod): New.
1138         (class_addIvar): New.
1139         (class_replaceMethod): New.
1140         (objc_allocateClassPair): New.
1141         (objc_registerClassPair): New.
1142         (objc_disposeClassPair): New.
1143         * class.c (objc_allocateClassPair): New.
1144         (objc_registerClassPair): New.
1145         (objc_disposeClassPair): New.
1146         (class_getSuperclass): Return Nil if a class is in construction.
1147         * init.c (__objc_exec_class): Call __objc_init_class.
1148         (__objc_init_class): New.
1149         * ivars.c (class_copyIvarList): Return NULL if class is in
1150         construction.  Do not lock the runtime mutex.
1151         (class_getInstanceVariable): Return NULL if class is in
1152         construction.  Do not lock the runtime mutex.
1153         (class_addIvar): New.
1154         * sendmsg.c (class_addMethod): New.
1155         (class_replaceMethod): New.
1156         * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
1157         (_CLS_IN_CONSTRUCTION): New.
1158         (CLS_IS_IN_CONSTRUCTION): New.
1159         (CLS_SET_IN_CONSTRUCTION): New.
1160         (CLS_SET_NOT_IN_CONSTRUCTION): New.
1161         * objc-private/runtime.h (__objc_init_class): New.
1163 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1165         * class.c (class_getSuperclass): Call __objc_resolve_class_links
1166         if the class is not resolved yet.
1167         * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
1168         
1169 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1171         * objc/runtime.h (class_getIvarLayout): New.
1172         (class_getWeakIvarLayout): New.
1173         (class_setIvarLayout): New.
1174         (class_setWeakIvarLayout): New.
1175         * ivars.c (class_getIvarLayout): New.
1176         (class_getWeakIvarLayout): New.
1177         (class_setIvarLayout): New.
1178         (class_setWeakIvarLayout): New. 
1180 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1181         
1182         * objc/runtime.h (class_copyPropertyList): New.
1183         (class_getProperty): New.
1184         (property_getAttributes): New.
1185         (property_getName): New.
1186         * ivars.c (class_copyPropertyList): New.
1187         (class_getProperty): New.
1188         (property_getAttributes): New.
1189         (property_getName): New.
1190         
1191 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1193         * objc-private/runtime.h (__objc_update_classes_with_methods): New.
1194         * class.c (__objc_update_classes_with_methods): New.
1195         (objc_getClassList): Do not lock the class lock.
1196         * methods.c (method_exchangeImplementations): New.
1197         (method_setImplementation): New.
1198         * objc/runtime.h (method_setImplementation): New.
1199         (method_exchangeImplementations): New.
1200         
1201 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1203         * Protocol.m: Include objc/runtime.h and
1204         objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
1205         repeat Protocol's instance variables.
1206         (struct objc_method_description_list): Do not define here.
1207         ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1208         ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1209         selectors directly instead of getting names and then using strcmp.
1210         ([descriptionForClassMethod:]): Same change.
1211         ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1212         * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1213         to compare selectors directly instead of getting names and then
1214         using strcmp.
1215         * objc/Protocol.h: Updated comments.
1216         
1217 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1219         * init.c (__objc_init_protocol): New function which fixes up a
1220         protocol's class pointer, registers it with the runtime, register
1221         all protocol selectors and registers associated protocols too.
1222         (objc_init_statics): Detect if we are initializing protocols, and
1223         if so, use __objc_init_protocol instead of only fixing up the
1224         class pointer.
1225         (__objc_init_protocls): Use __objc_init_protocol.
1226         * objc-private/module-abi-8.h: Updated comments.
1227         * objc-private/runtime.h
1228         (__objc_register_selectors_from_description_list): New.
1229         * selector.c (__objc_register_selectors_from_description_list):
1230         New.  (struct objc_method_description_list): Declare.
1231         * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1232         when accessing the name of a method, which is now correctly a SEL.
1233         ([-descriptionForClassMethod:]): Same change.
1234         * protocols.c (protocol_getMethodDescription): Same change.
1235         * objc/runtime.h: Updated comments.
1236         (sel_registerTypedName): Fixed typo in function name.
1237         
1238 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1240         PR libobjc/23214
1241         * init.c (objc_init_statics): Do not skip the initialization of a
1242         statics list if the first object has already been initialized; in
1243         the case of Protocols, while the first one may have been
1244         initialized, some others may not have been initialized yet.
1246 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1248         * Makefile.in (OBJC_DEPRECATED_H): Added
1249         objc_get_uninstalled_dtable, objc_object_alloc.h and
1250         struct_objc_static_instances.h.
1252 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1254         * encoding.c (method_copyReturnType): New.
1255         (method_copyArgumentType): New.
1256         (method_getReturnType): New.
1257         (method_getArgumentType): New.
1258         * methods.c (method_getDescription): New.
1259         * objc/runtime.h (method_copyReturnType): New.
1260         (method_copyArgumentType): New.
1261         (method_getReturnType): New.
1262         (method_getArgumentType): New.
1263         (method_getDescription): New.
1264         
1265 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1267         * encoding.c: Tidied up comments.
1268         (objc_skip_variable_name): New static inline function.
1269         (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1270         the same code over and over.
1271         (objc_alignof_type): Same.
1272         (objc_aligned_size): Same.
1273         (objc_promoted_size): Same.
1274         (objc_skip_typespec): Same.
1275         (objc_layout_structure_next_member): Same.
1276         (objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
1277         historical bug where objc_skip_offset would skip one byte even if
1278         there is no offset: check that the first offset digit is actually
1279         a digit before skipping it.
1280         (objc_skip_type_qualifiers): Mark as inline.
1281         (objc_skip_typespec): Mark as inline.   
1282         
1283 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1285         * Makefile.in (C_SOURCE_FILES): Added methods.c.
1286         * encoding.c (method_getNumberOfArguments): New.
1287         (method_get_number_of_arguments): Call
1288         method_getNumberOfArguments.
1289         * ivars.c (ivar_getName): Check for NULL variable argument.
1290         (ivar_getOffset): Check for NULL variable argument.
1291         (ivar_getTypeEncoding): Check for NULL variable argument.
1292         (class_copyIvarList): New.
1293         * methods.c: New.
1294         * protocols.c (class_copyProtocolList): Check for Nil class_
1295         argument.
1296         * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1297         'struct objc_method_list *' instead of MethodList_t.
1298         (class_getMethodImplementation): New.
1299         (class_respondsToSelector): New.
1300         (class_getInstanceMethod): New.
1301         (class_getClassMethod): New.
1302         * objc/runtime.h: Updated comments.
1303         (class_copyIvarList): New.
1304         (class_getInstanceMethod): New.
1305         (class_getClassMethod): New.
1306         (class_getMethodImplementation): New.
1307         (class_respondsToSelector): New.
1308         (method_getName): New.
1309         (method_getImplementation): New.
1310         (method_getTypeEncoding): New.
1311         (class_copyMethodList): New.
1312         (method_getNumberOfArguments): New.
1313         
1314 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1316         * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1317         instead of objc/objc-api.h.
1318         (objc_get_unknown_class_handler): Do not define.
1319         (class_isMetaClass): New.
1320         (class_getSuperclass): New.
1321         (class_getVersion): New.
1322         (class_setVersion): New.
1323         (class_getInstanceSize): New.
1324         * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1325         (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1326         objc_get_super_class.
1327         (get_ttype_entry): Use objc_getRequiredClass instead of
1328         objc_get_class.
1329         * ivars.c (class_getClassVariable): New.
1330         * objects.c: Include objc/runtime.h, objc/thr.h and
1331         objc-private/module-abi-8.h instead of objc/objc-api.h
1332         * objc/runtime.h (class_getClassVariable): New.
1333         (class_isMetaClass): New.
1334         (class_getSuperclass): New.
1335         (class_getVersion): New.
1336         (class_setVersion): New.
1337         (class_getInstanceSize): New.
1338         * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1339         objc/objc-api.h)
1340         (__CLS_INFO): Same.
1341         (__CLS_ISINFO): Same.
1342         (__CLS_SETINFO): Same.
1343         (CLS_ISMETA): Same.
1344         (CLS_ISCLASS): Same.
1345         (CLS_ISRESOLV): Same.
1346         (CLS_SETRESOLV): Same.
1347         (CLS_ISINITIALIZED): Same.
1348         (CLS_SETINITIALIZED): Same.
1349         (CLS_GETNUMBER): Same.
1350         (CLS_SETNUMBER): Same.
1352 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1354         * archive.c: Do not include objc/objc.h.
1355         * class.c: Do not include objc/objc.h.
1356         * encoding.c: Include objc/runtime.h, ctype.h and
1357         objc-private/module-abi-8.h instead of objc/objc-api.h and
1358         objc/encoding.h.
1359         * error.c: Do not include objc/objc.h.
1360         * gc.c: Include tconfig.h and objc/encoding.h only if
1361         OBJC_WITH_GC.
1362         * hash.c: Include objc/runtime.h and objc/thr.h instead of
1363         objc/objc-api.h.  Do not include objc/objc.h.
1364         * init.c: Do not include objc/objc.h.
1365         * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1366         objc/thr.h instead of objc/objc-api.h.  Do not include
1367         objc/objc.h.
1368         * linking.m: Tidied comment.
1369         * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1370         Do not include objc/objc.h.
1371         * objects.c: Do not include objc/objc.h.
1372         * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1373         * protocols.c: Do not include objc/objc.h.
1374         * sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
1375         not include objc/objc.h.
1376         * selector.c: Do not include objc/objc.h.
1377         * sendmsg.c: Do not include objc/objc.h.        
1378         * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1379         Do not include objc/objc.h.
1380         * objc/objc-decls.h: Reindented code.
1381         * objc/runtime.h Include objc-decls.h.  Updated comments.
1382         (objc_malloc): New.
1383         (objc_atomic_malloc): New.
1384         (objc_calloc): New.
1385         (objc_realloc): New.
1386         (objc_free): New.
1387         * objc-private/runtime.h: Updated comments.
1388         
1389 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1391         * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1392         * objc-private/protocols.h: New.
1393         * protocols.c: New.
1394         * init.c: Include objc-private/protocols.h.
1395         (__objc_exec_class): Call __objc_protocols_init on startup.
1396         (__objc_init_protocols): Call __objc_protocols_add_protocol.
1397         * objc-private/runtime.h: Use (struct objc_method_list *) instead
1398         of MethodList_t, and (struct objc_method *) instead of Method_t.
1399         * objc/deprecated/struct_objc_class.h: Define
1400         __objc_STRUCT_OBJC_CLASS_defined.
1401         * objc-private/module-abi-8.h (struct
1402         objc_method_description_list): New.
1403         (struct objc_class): Only define if
1404         __objc_STRUCT_OBJC_CLASS_defined is undefined.
1405         * objc/runtime.h (class_getName): New.
1406         (objc_getProtocol): New.
1407         (objc_copyProtocolList): New.
1408         (class_addProtocol): New.
1409         (class_conformsToProtocol): New.
1410         (class_copyProtocolList): New.
1411         (protocol_conformsToProtocol): New.
1412         (protocol_isEqual): New.
1413         (protocol_getName): New.
1414         (protocol_getMethodDescription): New.
1415         (protocol_copyMethodDescriptionList): New.
1416         (protocol_getProperty): New.
1417         (protocol_copyPropertyList): New.
1418         (protocol_copyProtocolList): New.
1419         * class.c (class_getName): New.
1420         * selector.c (sel_isEqual): New.
1421         
1422 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1424         * selector.c (sel_getName): Return "<null selector>" for a NULL
1425         argument.
1426         (sel_get_name): Return 0 for a NULL argument.
1427         * objc/runtime.h (sel_getName): Updated documentation.
1429         * objc-private/hash.h (class_hash_table): Unused declaration
1430         removed.
1431         (module_hash_table): Same.
1432         * objc/deprecated/hash.h: Same changes.
1433         
1434 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1436         * class.c (objc_getClassList): New.
1437         (objc_getRequiredClass): New.
1438         (objc_getMetaClass): New.
1439         (objc_lookupClass): New.
1440         (objc_getClass): New.
1441         (__objc_get_unknown_class_handler): New.
1442         (objc_setGetUnknownClassHandler): New.
1443         (objc_get_class): Use __objc_get_unknown_class_handler.
1444         (objc_lookup_class): Call objc_getClass.
1445         * objc/objc-api.h: Updated comment and copyright notice.
1446         * objc/runtime.h: Updated comments.
1447         (objc_getClass): New.
1448         (objc_lookupClass): New.
1449         (objc_getMetaClass): New.
1450         (objc_getRequiredClass): New.
1451         (objc_getClassList): New.
1452         (objc_setGetUnknownClassHandler): New.
1453         (objc_get_unknown_class_handler): New.
1454         * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1455         instead of __objc_runtime_INCLUDE_GNU as include guard.
1456         * objc-private/error.h (_objc_abort): Mark as noreturn.
1457         
1458 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1460         * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1461         * ivars.c: New.
1462         * objc/objc.h: Updated comments.
1463         * objc/runtime.h (object_getClass): New.
1464         (object_getClassName): New.
1465         (object_setClass): New.
1466         (class_getInstanceVariable): New.
1467         (object_getIndexedIvars): New.
1468         (object_getInstanceVariable): New.
1469         (object_setInstanceVariable): New.
1470         (object_getIvar): New.
1471         (object_setIvar): New.  
1472         (ivar_getName): New.
1473         (ivar_getOffset): New.
1474         (ivar_getTypeEncoding): New.
1475         * objc-private/module-abi-8.h (struct objc_class): Added.
1476         * objects.c (object_getClassName): New.
1477         (object_setClass): New.
1478         
1479 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1481         * objc/objc.h: Updated comments.
1482         * objc/objc-api.h: (object_copy): Added one argument; use a
1483         #define to maintain backwards-compatibility.  Moved
1484         _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1485         objc_get_uninstalled_dtable into
1486         objc/deprecated/objc_get_uninstalled_dtable.h and
1487         objc/deprecated/objc_object_alloc.h.  Include these files.
1488         * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1489         * objc/deprecated/objc_object_alloc.h: New.
1490         * objc/runtime.h (set_getName): New.
1491         (sel_getType): New.
1492         (sel_getUid): New.
1493         (sel_registerName): New.
1494         (sel_registerTypedName): New.
1495         (sel_isEqual): New.
1496         (class_createInstance): New.
1497         (object_copy): New.
1498         (object_dispose): New.
1499         * objects.c: Do not include tconfig.h.  Include gc_typed.h if
1500         building the garbage collection version.
1501         (__objc_object_alloc): Removed.
1502         (__objc_object_copy): Removed.
1503         (__objc_object_dispose): Removed.
1504         (class_createInstance): New from code in class_create_instance.
1505         Cast second argument of GC_malloc_explicitly_typed.  Use
1506         objc_calloc.  Do not call _objc_object_alloc.
1507         (class_create_instance): Call class_createInstance.
1508         (object_copy): Added extraBytes argument.  Do not call
1509         _objc_object_copy.
1510         (object_dispose): Do not call _objc_object_dispose.
1511         * memory.c (objc_free): When using garbage collection, mark the
1512         argument as unused.
1513         * selector.c (sel_getName): New.
1514         (sel_get_name): Call sel_getName.
1515         (sel_getType): New.
1516         (sel_get_type): Call sel_getType.
1517         (sel_registerName): New.
1518         (sel_register_name): Call sel_registerName.
1519         (sel_registerTypedName): New.
1520         (sel_register_typed_name): Call sel_registerTypedName.
1521         (sel_getUid): New.
1522         (sel_get_uid): Call sel_getUid.
1523         
1524 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1526         * objc/objc-api.h: Define Method, Method_t, Category and
1527         Category_t.  Prevent including this file at the same time as
1528         objc/runtime.h.  Updated comments.
1529         * objc/deprecated/struct_objc_method.h: Do not define Method,
1530         Method_t.
1531         * objc/deprecated/struct_objc_category.h: Do not define Category,
1532         Category_t.
1533         * objc-private/module-abi-8.h: New file containing a copy of all
1534         the structure definitions.  Not used yet.
1535         * objc/encoding.h (objc_aligned_size): Removed duplicate
1536         declaration.  Updated comments.
1537         * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1538         Category, struct objc_method_description, _C_ID and similar,
1539         _C_CONST and similar and _F_CONST and similar.  Added
1540         objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1541         objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1542         objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1543         struct objc_struct_layout, objc_layout_structure,
1544         objc_layout_structure_next_member, objc_layout_finish_structure,
1545         objc_layout_structure_get_info.  Prevent including this file at
1546         the same time as objc/objc-api.h.
1547         
1548 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1550         * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1551         struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1552         struct_objc_method_list.h, struct_objc_module.h,
1553         struct_objc_protocol_list.h, struct_objc_symtab.h.
1554         * objc/deprecated/struct_objc_category.h: New.
1555         * objc/deprecated/struct_objc_ivar.h: New.
1556         * objc/deprecated/struct_objc_ivar_list.h: New.
1557         * objc/deprecated/struct_objc_method.h: New.
1558         * objc/deprecated/struct_objc_method_list.h: New.
1559         * objc/deprecated/struct_objc_module.h: New.
1560         * objc/deprecated/struct_objc_protocol_list.h: New.
1561         * objc/deprecated/struct_objc_symtab.h: New.
1562         * objc/deprecated/struct_objc_static_instances.h: New.
1563         * objc/objc-api.h: Definitions of deprecated structures moved into
1564         the above header fragment files in objc/deprecated/.  Include the
1565         files instead of definition the structures here.  Updated
1566         comments.
1567         * objc/runtime.h: Updated comments.  Do not include objc-api.h.
1568         (objc_set_enumeration_mutation_handler): Renamed to
1569         objc_setEnumerationMutationHandler.
1570         * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1571         to objc_setEnumerationMutationHandler.
1572         * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1573         objc_setExceptionMatcher.
1574         (objc_set_uncaught_exception_handler): Renamed to
1575         objc_setUncaughtExceptionHandler.
1576         * exception.c: Same changes.
1578 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1580         * objc-sync.c: Include objc-private/common.h.
1582 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1584         * objc-foreach.c: Include objc-private/common.h.
1585         * objc/deprecated/METHOD_NULL.h: New file.
1586         * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1587         defining METHOD_NULL here.
1588         * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1589         * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1590         METHOD_NULL.
1591         ([-respondsTo:]): Same change.
1592         * objc/objc-api.h (method_get_imp): Converted it into a normal
1593         function so that we can hide the internals of struct objc_method.
1594         * sendmsg.c (method_get_imp): Implemented.
1596 2010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
1598         * objc/objc-api.h (struct objc_super, Super, Super_t,
1599         objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1600         objc_msg_forward2): Declarations moved to objc/message.h.  Include
1601         message.h here.
1602         * objc/message.h: Added such declarations; updated comments.
1604 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1606         Implemented fast enumeration for Objective-C.
1607         * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1608         (OBJC_H): Added runtime.h
1609         * objc-foreach.c: New file.
1610         * objc/runtime.h: New file.
1611         
1612 2010-09-30  Kai Tietz  <kai.tietz@onevision.com>
1614         * objc/deprecated/struct_objc_class.h: Add padding
1615         to avoid warning with -Wpadded.
1617 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1619         * encoding.c (objc_sizeof_type): Added support for vector type and
1620         for double long types.  
1621         (objc_alignof_type): Same change.
1622         (objc_skip_typespec): Same change.
1623         * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1624         instead of '!' since '!' is already used for _C_VECTOR.
1625         * objc/objc-api.h (_C_LNG_DBL): Added.
1626         
1627 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1629         * libobjc_entry.c: File removed.
1631 2010-09-26  Kai Tietz  <kai.tietz@onevision.com>
1633         * sendmsg.c (objc_msg_lookup): Remove inline.
1634         (objc_get_uninstalled_dtable): Likewise.
1635         * encoding.c (objc_skip_type_qualifiers): Likewise.
1636         (objc_skip_offset): Likewise.
1637         * archive.c (__objc_write_object): Likewise
1638         (__objc_write_class):
1639         (__objc_write_selector):
1640         (objc_read_char):
1641         (objc_read_unsigned_char):
1642         (objc_read_short):
1643         (objc_read_unsigned_short):
1644         (objc_read_int):
1645         (objc_read_long):
1646         (__objc_read_nbyte_uint):
1647         (objc_read_unsigned_int):
1648         (objc_read_unsigned_long):
1649         * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1650         (objc_EXPORT): Likewise.
1651         * objc/message.h (objc-decls.h): Add include.
1652         * objc/objc-api.h: Mark API by objc_EXPORT.
1653         * libobjc.def (__objc_responds_to): Removed.
1655 2010-09-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1657         * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1659         * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1660         objc/sarray.h replaced with a placeholder including the file from
1661         the deprecated/ directory.
1662         * objc-private/sarray.h: New file (private copy of sarray.h).
1663         * hash.c: Include <assert.h> instead of "assert.h"
1664         * sarray.c: Include <assert.h> instead of "assert.h".  Include
1665         objc-private/sarray.h instead of objc/sarray.h.
1666         * selector.c: Include objc-private/sarray.h instead of
1667         objc/sarray.h.
1668         * sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
1669         instead of objc/sarray.h.
1670         * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.      
1672 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1674         * objc-private/objc-list.h (list_remove_elem): Unused function
1675         removed.  (list_nth): Unused function removed.  (list_find):
1676         Unused function removed.  (list_lenght): Unused function removed.
1677         
1678 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1680         * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1681         replaced with a placeholder including the file from the
1682         deprecated/ directory.
1683         * objc/objc-api.h: Updated includes.
1684         * objc/typedstream.h: Updated includes.
1685         * objc-private/hash.h: New file (private copy of hash.h).
1686         * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1687         objc/objc-list.h replaced with a placeholder including the file
1688         from the deprecated/ directory.
1689         * objc-private/objc-list.h: New file (private copy of objc-list.h).
1690         * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1691         instead of objc/hash.h and objc/objc-list.h.
1692         * selector.c: Same change.
1693         * class.c: Added include <string.h>, which used to be implicitly included
1694         when hash.h was included.
1695         * exception.c: Same change.
1696         * objects.c: Same change.
1697         * sarray.c: Same change.
1698         * sendmsg.c: Same change.
1699         * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1701 2010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1703         Implemented objc_sync_enter() and objc_sync_exit(), which are
1704         required by @synchronized() to work.
1705         * objc-sync.c: New file.
1706         * objc/objc-sync.h: New file.
1707         * objc-private/objc-sync.h: New file.
1708         * init.c (__objc_exec_class): Call __objc_sync_init() during the
1709         Objective-C runtime startup.
1710         * Makefile.in: Added objc-sync.c and objc-sync.h.
1711         * configure.ac: Added GCC_CHECK_TLS.
1712         * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1713         * configure: Regenerated.
1714         * config.h.in: Regenerated.
1715         
1716 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1718         * Makefile.in (%_gc.lo): New pattern rules to build the
1719         garbage-collected version of the library.  Removed rules for
1720         specific files that are no longer needed.  Standardized all rules.
1721         (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1722         (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1723         OBJC_SOURCE_FILES.
1724         (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1726 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1727         
1728         * memory.c (objc_calloc): Fixed call to GC_malloc when building
1729         with Garbage Colletion.
1730         
1731 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1733         * memory.c: Do not include objc-private/runtime.h.
1735 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1736         
1737         * objc/deprecated/objc_malloc.h: New file.
1738         * objc/deprecated/objc_valloc.h: New file.
1739         * objc/objc-api.h: Include the files instead of defining
1740         objc_valloc, _objc_malloc() and similar.
1741         * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1742         objc_malloc.h.
1743         * memory.c: Removed the extra layer of indirection of _objc_malloc
1744         and similar.
1745         (objc_calloc): Use GC_malloc in the garbage-collected
1746         implementation as GC_malloc returns memory that is already freed.
1747         (objc_valloc): Deprecated.      
1748         
1749 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1751         * objc/deprecated/objc_error.h: New file.
1752         * objc/objc-api.h: Include deprecated/objc_error.h instead of
1753         defining objc_error and related.
1754         * error.c: New file.  Added _objc_abort function which replaces
1755         objc_error.  No change in functionality as they both print an
1756         error and abort.
1757         * misc.c: File removed.  Code moved into memory.c and error.c.
1758         * memory.c: New file.
1759         * objc-private/error.h: New file.
1760         * archive.c: Include objc-private/error.h and use _objc_abort
1761         instead of objc_error everywhere.
1762         * class.c: Same change.
1763         * encoding.c: Same change.
1764         * init.c: Same change, and simplified init_check_module_version.
1765         * memory.c: Same change.
1766         * sendmsg.c:  Same change.
1767         * thr.c: Same change.
1768         * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1769         (OBJ_H): Reordered list.
1770         (OBJS): Removed misc.lo, added memory.lo and error.lo.
1771         (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1772         (misc_gc.lo): Rule removed.
1773         (error_gc.lo): Rule added.
1774         (memory_gc.lo): Rule added.
1775         
1776 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1778         * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1779         to check the API version.  Added some comments.
1781         * objc-private/common.h: New file.
1782         * NXConstStr.m: Include objc-private/common.h.
1783         * Object.m: Same change.
1784         * Protocol.m: Same change.
1785         * archive.c: Same change.
1786         * class.c: Same change.
1787         * encoding.c: Same change.
1788         * exception.c: Same change.
1789         * gc.c: Same change.
1790         * hash.c: Same change.
1791         * init.c: Same change.
1792         * libobjc_entry.c: Same change.
1793         * linking.m: Same change.
1794         * misc.c: Same change (and added a comment).
1795         * nil_method.c: Same change.
1796         * objects.c: Same change.
1797         * sarray.c: Same change.
1798         * selector.c: Same change.
1799         * sendmsg.c: Same change.
1800         * thr.c: Same change.
1802 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1804         * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1806 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1808         * archive.c: Removed not needed includes.
1809         * class.c: Same change.
1810         * hash.c: Same change.
1811         * misc.c: Same change.
1812         * nil_method.c: Same change.
1813         * objects.c: Same change.
1814         * sarray.c: Same change.
1815         * sendmsg.c: Same change.
1816         * thr.c: Same change.
1818 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1820         * objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
1821         all the objc/*.h files.
1822         * objc-private/runtime.h: New file.
1823         * archive.c: Include objc-private/runtime.h (and required objc/*.h
1824         files) instead of objc/runtime.h.
1825         * class.c: Same change.
1826         * hash.c: Same change.
1827         * init.c: Same change.
1828         * misc.c: Same change.
1829         * nil_method.c: Same change.
1830         * objects.c: Same change.
1831         * sarray.c: Same change.
1832         * selector.c: Same change.
1833         * sendmsg.c: Same change.
1834         * thr.c: Same change.
1835         
1836 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1838         * objc/deprecated/struct_objc_selector.h: New file.  Definition of
1839         'struct objc_selector' and 'sel_eq' moved here.
1840         * objc/deprecated/struct_objc_protocol.h: New file.  Definition of
1841         'struct objc_procotol' moved here.
1842         * objc/deprecated/struct_objc_class.h: New file.  Definition of
1843         'struct objc_class' moved here.
1844         * objc/deprecated/MetaClass.h: New file.  Definition of MetClass
1845         moved here.
1846         * objc/deprecated/STR.h: New file.  Definition of STR moved here.       
1847         * objc/message.h: New file.  Definitions for relval_t, apply_t,
1848         arglist, arglist_t and objc_msg_lookup were moved here.
1849         * objc/objc.h: Include the above files instead of defining the
1850         corresponding structs, types and functions here.  Added new opaque
1851         definitions for SEL and Class.  Use Class and not 'struct
1852         objc_class *' in the definition of 'struct objc_object'.
1853         Commented all types defined in the file.  Removed special
1854         definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1855         there as well.
1856         * objc/deprecated/objc-unexpected-exception.h: Renamed to
1857         objc_unexpected_exception.h.
1858         * objc/objc-api.h: Updated include of
1859         objc-unexpetected-exception.h
1860         * objc/objc-exception.h: Updated comments.
1861         * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1862         files.  Reindented list of files.
1863         
1864 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1866         * objc/objc-api.h (objc_trace): Unused variable removed.
1868 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1870         * objc/deprecated: New directory.
1871         * objc/deprecated/README: New file.
1872         * objc/README: New file.
1873         * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1874         objc/typedstream.h replaced with a placeholder including the file
1875         from the deprecated/ directory.
1876         * objc/deprecated/objc-unexpected-exception.h: New file with the
1877         definition of _objc_unexpected_exception.       
1878         * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1879         instead of defining _objc_unexpected_exception.
1880         * objc/deprecated/Object.h: New file with the deprecated Object
1881         methods in a 'Deprecated' category.
1882         * objc/Object.h Include deprecated/Object.h instead of defining
1883         the deprecated methods.
1884         * Object.m: Moved deprecated methods into 'Deprecated' category.
1885         * objc-private: New directory.
1886         * objc-private/README: New file.
1887         * Makefile.in (OBJC_DEPRECATED_H): New variable.
1888         (install-headers): Create installation directory for
1889         OBJC_DEPRECATED_H headers, and install them.
1891 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1893         * objc/objc-exception.h: Fixed include of objc.h.
1894         
1895 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1897         * objc/objc-exception.h: New file.
1898         * exception.c (objc_set_uncaught_exception_handler): Implemented.
1899         (objc_set_exception_matcher): Implemented.
1900         (objc_exception_throw): Use the uncaught exception handler if set.
1901         (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1902         hardcoded isKindOf.
1903         (isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
1904         up.  Removed segmentation fault when value is 'nil'.
1905         * objc/objc-api.h (_objc_unexpected_exception): Mark as
1906         deprecated.
1907         * Makefile.in (exception.lo, exception_gc.lo): Use
1908         -Wno-deprecated-declarations when compiling.
1909         (OBJC_H): Added objc-exception.h
1911 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1913         * objc/typedstream.h: Deprecate all functions in the file.  This
1914         file is obsolete.
1915         * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1916         [-awake]): Documented that these methods are deprecated.  Added a
1917         brief description of the Object class and its relationship to the
1918         NSObject class.
1919         * Makefile.in: Compile archive.c and Object.m with
1920         -Wno-deprecated-declarations.
1922 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1924         Removed obsolete intermediate threading layer.
1925         * thr.c: Use __gthread_objc_xxx functions directly instead of
1926         __objc_thread_xxx ones.
1927         * objc/thr.h: Removed prototypes of no longer existing
1928         __objc_thread_xxx functions.
1929         * Makefile.in: Removed thr-objc.lo.
1930         * thr-dce.c: File removed.
1931         * thr-decosf1.c: File removed.
1932         * thr-irix.c: File removed.
1933         * thr-mach.c: File removed.
1934         * thr-objc.c: File removed.
1935         * thr-os2.c: File removed.
1936         * thr-posix.c: File removed.
1937         * thr-pthreads.c: File removed.
1938         * thr-rtems.c: File removed.
1939         * thr-single.c: File removed.
1940         * thr-solaris.c: File removed.
1941         * thr-vxworks.c: File removed.
1942         * thr-win32.c: File removed.
1943         * README.threads: File removed.
1944         * THREADS.MACH: File removed.
1945         * THREADS: Updated.
1947 2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
1949         * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1951 2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
1953         * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1954         Add a comment as to why, update FIXME comments.
1956 2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1958         * makefile.dos: Obsolete file removed.
1959         
1960 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1962         * aclocal.m4: Regenerate.
1964 2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
1966         PR libobjc/30445
1967         * configure.ac (extra_ldflags_libobjc): Define appropriately for
1968         Cygwin and MinGW hosts.
1969         * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1970         (libobjc.dll): Likewise.
1971         * configure: Regenerate.
1973 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1975         * configure: Regenerate.
1977 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
1979         * sarray.c (sarray_free): Use old_buckets variable.
1980         * encoding.c (objc_layout_structure_next_member): Remove unused
1981         bfld_type_size variable.
1983 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1985         * configure.ac (AC_PREREQ): Bump to 2.64.
1987 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1989         * aclocal.m4: Regenerate.
1990         * configure: Regenerate.
1991         * config.h.in: Regenerate.
1993 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1995         * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
1997 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1999         * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
2000         New variables.
2001         ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
2003 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2005         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
2007 2009-04-09  Nick Clifton  <nickc@redhat.com>
2009         * sendmsg.c: Change copyright header to refer to version 3 of
2010         the GNU General Public License with version 3.1 of the GCC
2011         Runtime Library Exception and to point readers at the COPYING3
2012         and COPYING3.RUNTIME files and the FSF's license web page.
2013         * NXConstStr.m: Likewise.
2014         * Object.m: Likewise.
2015         * Protocol.m: Likewise.
2016         * archive.c: Likewise.
2017         * class.c: Likewise.
2018         * encoding.c: Likewise.
2019         * exception.c: Likewise.
2020         * gc.c: Likewise.
2021         * hash.c: Likewise.
2022         * init.c: Likewise.
2023         * libobjc_entry.c: Likewise.
2024         * linking.m: Likewise.
2025         * misc.c: Likewise.
2026         * nil_method.c: Likewise.
2027         * objc/NXConstStr.h: Likewise.
2028         * objc/Object.h: Likewise.
2029         * objc/Protocol.h: Likewise.
2030         * objc/encoding.h: Likewise.
2031         * objc/hash.h: Likewise.
2032         * objc/objc-api.h: Likewise.
2033         * objc/objc-decls.h: Likewise.
2034         * objc/objc-list.h: Likewise.
2035         * objc/objc.h: Likewise.
2036         * objc/runtime.h: Likewise.
2037         * objc/sarray.h: Likewise.
2038         * objc/thr.h: Likewise.
2039         * objc/typedstream.h: Likewise.
2040         * objects.c: Likewise.
2041         * sarray.c: Likewise.
2042         * selector.c: Likewise.
2043         * thr-dce.c: Likewise.
2044         * thr-decosf1.c: Likewise.
2045         * thr-irix.c: Likewise.
2046         * thr-mach.c: Likewise.
2047         * thr-objc.c: Likewise.
2048         * thr-os2.c: Likewise.
2049         * thr-posix.c: Likewise.
2050         * thr-pthreads.c: Likewise.
2051         * thr-rtems.c: Likewise.
2052         * thr-single.c: Likewise.
2053         * thr-solaris.c: Likewise.
2054         * thr-vxworks.c: Likewise.
2055         * thr-win32.c: Likewise.
2056         * thr.c: Likewise.
2057         * libobjc.def: Change copyright header to refer to version 3 of
2058         the GNU General Public License and to point readers at the COPYING3
2059         file and the FSF's license web page.
2060         * makefile.dos: Likewise.
2062 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
2064         * Makefile.in: Change copyright header to refer to version
2065         3 of the GNU General Public License and to point readers at the
2066         COPYING3 file and the FSF's license web page.
2067         * configure.ac: Likewise.
2069 2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
2070             David Ayers  <ayers@fsfe.org>
2072         PR libobjc/27466
2073         * objc/objc-api.h (_objc_unexpected_exception): Declare
2074         new hook.  Update copyright dates.
2075         * exception.c (objc_exception_throw): Use hook.  Update
2076         copyright dates.
2077         * libobjc.def (_objc_unexpected_exception): Export hook.
2078         Update copyright dates.
2079         
2080 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2082         * configure: Regenerate.
2084 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2086         * configure: Regenerate.
2088 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
2090         *  Object.m (errno): Replaced by errno.h include.
2091         (compare): Cast self to id to prevent warning on comparison.
2092         * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
2093         already there.
2094         * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
2095         * thr-win32.c (__objc_thread_detach): Remove type warning.
2096         (__objc_thread_id): Likewise.
2097         * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
2098         for noreturn.
2100 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
2101             Steve Ellcey  <sje@cup.hp.com>
2103         * configure: Regenerate for new libtool.
2104         * config.h.in: Regenerate for new libtool.
2106 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
2108         * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 
2110 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
2112         * Makefile.in: Include ../boehm-gc/threads.mk. 
2113         (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
2115 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2117         * Makefile.in (install-info): New stub target.
2119 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2121         * configure: Regenerate.
2123 2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
2125         * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
2126         if HAVE_GETIPINFO is not defined.
2128 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
2130         * Object.m (compare): Add type id.
2131         * objc/Object.h: Likewise.
2132         * archive.c (objc_read_class): Use size_t to extend version to be
2133         size of pointer scalar width.
2134         * sendmsg.c (rtx): Undefine it before redefinition.
2135         (__objc_print_dtable_stats): Cast arguments to long as intended.
2137 2008-05-30  Julian Brown  <julian@codesourcery.com>
2139         * exception.c (__objc_exception_class): Initialise as constant
2140         array for ARM EABI. Change macro to static const for non-ARM EABI.
2141         (ObjcException): Add note about structure layout. Remove landingPad
2142         and handlerSwitchValue for ARM EABI.
2143         (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
2144         of function.
2145         (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
2146         (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
2147         ARM EABI unwinding support.
2148         (objc_exception_throw): Use memcpy to initialise exception class.
2150 2008-05-25  Alan Modra  <amodra@bigpond.net.au>
2152         * encoding.c (strip_array_types): Rename from get_inner_array_type.
2153         (rs6000_special_round_type_align): Update.
2155 2008-05-09  Julian Brown  <julian@codesourcery.com>
2157         * Makefile.in (LTLDFLAGS): New.
2158         (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
2160 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
2162         PR bootstrap/35457
2163         * aclocal.m4: Regenerate.
2164         * configure: Regenerate.
2166 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
2168         * configure: Regenerate.
2170 2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2172         * configure.ac: Don't run config-ml.in directly.
2173         (multilib_arg): New.
2174         * configure: Regenerated.
2176 2007-08-06  Andrew Pinski  <pinskia@gmail.com>
2178         PR libobjc/30731
2179         * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
2180         of _Unwind_Word for variables which are used in
2181         read_uleb128/read_sleb128.
2182         (PERSONALITY_FUNCTION): Likewise.
2184 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2186         * aclocal.m4: Regenerated.
2188 2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2190         * configure.ac: Fix a typo in *-*-darwin clause.
2191         * configure: Regenerated.
2193 2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2195         * configure.ac: Fix a typo.
2196         * configure: Regenerated.
2198 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
2200         * configure: Regenerate.
2202 2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2204         * Makefile.in: Replace all uses of libext with libsuffix.
2205         * configure.ac: Likewise.
2206         * configure: Regenerate.
2208         Revert:
2209         * Makefile.in: Remove all uses of $(libext).
2211 2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2213         * Makefile.in: Remove all uses of $(libext).
2215 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
2217         * configure: Regenerate.
2218         * aclocal.m4: Regenerate.
2220 2007-04-21  Andrew Ruder  <andy@aeruder.net>
2222         * sendmsg.c (__objc_get_forward_imp): Call
2223         __objc_msg_forward2 for real.
2225 2007-04-09  Andrew Ruder  <andy@aeruder.net>
2227         * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2228         external libraries to provide a function that returns the real
2229         forwarding function based on both the selector and the receiver.
2230         * objc/objc-api.h: Define __objc_msg_forward2.
2232 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2234         * Makefile.in: Add dummy install-pdf target.
2236 2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2238         * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2239         unused warning.
2240         
2241 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
2243         * encoding.c (darwin_rs6000_special_round_type_align): New.
2245 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
2247         * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2248         * configure.ac: Use multi.m4 from aclocal rather than custom
2249         code.  Use multi_basedir instead of toplevel_srcdir.
2250         * aclocal.m4: Regenerate.
2251         * configure: Regenerate.
2253 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
2255         * Makefile.in: Added empty "pdf" target.
2257 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2259         * configure: Regenerate.
2261 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
2263         * Makefile.in: Add install-html target. Add install-html to .PHONY
2265 2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2267         PR libobjc/26309
2268         * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2270 2006-01-24  David Ayers  <d.ayers@inode.at>
2272         PR libobjc/9751
2273         * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2274         and insure the new strings are '\0' termintated.
2276 2006-01-24  David Ayers  <d.ayers@inode.at>
2278         PR libobjc/13946
2279         * configure.ac: Add include directives for --enable-objc-gc.
2280         * Makefile.in: Ditto.
2281         * configure: Regenerate.
2283         * gc.c (__objc_class_structure_encoding): Increment the used bytes
2284         instead of the local pointer to them.
2286 2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
2288         PR objc/25360
2289         * objc/objc-api.c (_C_COMPLEX): New define.
2290         * encoding.c (objc_sizeof_type): Handle _C_Complex.
2291         (objc_alignof_type): Likewise.
2292         (objc_skip_typespec): Likewise.
2294 2005-12-15  David Ayers  <d.ayers@inode.at>
2296         PR libobjc/14382
2297         * README (+load,+initialize): Fix documentation to reflect
2298         intended and implemented semantics for +load and +initialize.
2299         
2300 2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
2302         * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2303         the name.
2304         (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2305         (rs6000_special_round_type_align): Update for the ABI fix.
2306         (objc_layout_finish_structure): Correct the encoding which is passed to
2307         ROUND_TYPE_ALIGN.
2309 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2311         PR libobjc/25347
2312         * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2313         but use the struct layout functions.
2314         (objc_alignof_type): Likewise.
2315         (objc_layout_structure): Handle _C_UNION_B also.
2316         (objc_layout_structure_next_member): Likewise.
2317         (objc_layout_finish_structure): Likewise.
2319 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2321         PR libobjc/25346
2322         * objc/objc-api.h (_C_BOOL): New define.
2323         * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2324         (objc_alignof_type): Likewise.
2325         (objc_skip_typespec): Likewise.
2327 2005-11-20  David Ayers  <d.ayers@inode.at>
2329         PR libobjc/19024
2330         * objc/hash.h: Remove deprecated hash API.
2331         * hash_compat.c: Remove.
2332         * Makefile.in: Remove reference to hash_compat.c.
2334         * configure.ac (VERSION): Bump library version to 2:0:0.
2335         * configure: Regenerate.
2337 2005-11-09  Alexandre Oliva  <aoliva@redhat.com>
2339         PR other/4372
2340         * thr-objc.c (_XOPEN_SOURCE): Define.
2342 2005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
2344         PR libobjc/23612
2345         * objc/objc-api.h (struct objc_ivar): Move definition to
2346         global scope.
2348 2005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
2349             Rasmus Hahn  <rassahah@neofonie.de>
2351         PR libobjc/23108
2352         * archive.c (objc_write_type): Correct the element offset.
2353         (objc_read_type): Likewise.
2355 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2357         * All files: Update FSF address.
2359 2005-08-13  Marcin Koziej  <creep@desk.pl>
2360             Andrew Pinski  <pinskia@physics.uc.edu>
2362         PR libobjc/22492
2363         * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2365 2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2367         * Makefile.in (extra_ldflags_libobjc): New.
2368         (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2369         (libobjc_gc$(libext).la): Likewise.
2370         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2371         "-Wl,-single_module".
2372         * configure: Regenerate.
2373         * linking.m (_objcInit): Remove.
2375 2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
2377         PR libobjc/22606
2378         * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2380 2005-06-08  David Ayers  <d.ayers@inode.at>
2382         * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2383         objc/encoding.h, objc/hash.h, objc/objc-api.h,
2384         objc/runtime.h, objc/sarray.h, objc/thr.h, 
2385         objc/typedstream.h: Do not include Objective-C headers as
2386         system headers.
2388 2005-06-07  David Ayers  <d.ayers@inode.at>
2390         * archive.c, init.c, selector.c: Include hash.h.
2391         * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2392         init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2393         sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2394         thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2395         thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2396         Include Objective-C headers with quotes and objc/ directory
2397         prefix.
2399 2005-05-19  Richard Henderson  <rth@redhat.com>
2401         * exception.c: Revert last change.
2403 2005-05-19  David Ayers  <d.ayers@inode.at>
2405         * exception.c: Include tsystem.h for unwind.h.
2407 2005-05-09  Mike Stump  <mrs@apple.com>
2409         * configure: Regenerate.
2411 2005-04-12  Mike Stump  <mrs@apple.com>
2413         * configure: Regenerate.
2415 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2417         * Makefile.in: Set gcc_version here.
2418         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
2419         in definition of toolexeclibdir so that $(gcc_version) is expanded
2420         by the Makefile.
2421         * aclocal.m4, configure: Regenerate.
2423 2005-03-03  David Ayers  <d.ayers@inode.at>
2425         * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2426         version reference.  Correct typo.
2428 2005-03-02  David Ayers  <d.ayers@inode.at>
2430         PR libobjc/19024
2431         * Makefile.in (OBJS): Add hash_compat.lo.
2432         (OBJS_GC): Add hash_compat_gc.lo.
2433         (hash_compat_gc.lo): New target and rule.
2434         * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2435         (hash_next, hash_value_for_key, hash_is_key_in_hash)
2436         (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2437         with objc_.  Add deprecated non prefixed inlined versions.
2438         (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2439         declarations.
2440         * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2441         (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2442         update callers.
2443         * hash_compat.c: New file.
2444         * archive.c: Update callers.
2445         * init.c: Likewise.
2446         * selector.c: Likewise.
2447         * libobjc.def: Add objc_ versions of hash functions.
2449 2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
2451         PR libobjc/20252
2452         * Makefile.in (GTHREAD_FLAGS): Remove.
2453         (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2454         * thr-objc.c: Include config.h.
2455         * configure.ac: Instead of looking at GCC's makefile, figure out if
2456         GTHREAD_FLAGS should be defined by looking at the `thread model'
2457         of the current gcc.
2458         * configure: Regenerate.
2459         * config.h.in: Regenerate.
2461 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2463         PR bootstrap/17383
2464         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2465         (Determine CFLAGS for gthread): Use $host_subdir.
2466         * configure: Regenerate.
2467         * Makefile.in (host_subdir): New.
2468         (INCLUDES): Use it.
2470 2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
2472         PR libobjc/12035
2473         * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2474         they are not used.
2475         Include limits.h and stdlib.h.
2476         Define BITS_PER_WORD.
2478 2004-12-12  Alexander Malmberg  <alexander@malmberg.org>
2480         * selector.c (__objc_init_selector_tables): Add missing void to
2481         definition.
2483 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
2485         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2486         * configure, aclocal.m4: Regenerate.
2488 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2490         * configure: Regenerate for libtool change.
2492 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2494         * configure: Regenerate for libtool reversion.
2496 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2498         * configure: Regenerate for libtool change.
2500 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2502         * aclocal.m4, config.h.in: Regenerate.
2504 2004-10-08  Mike Stump  <mrs@apple.com>
2505             Andrew Pinski  <pinskia@physics.uc.edu>
2507         * aclocal.m4: Rename to ...
2508         * acinclude.m4: here and also use m4_include instead of sinclude.
2509         * aclocal.m4: Regenerate.
2510         * configure: Regenerate.
2511         * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2512         * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2514 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
2516         * archive.c: Fix all the warnings about passing unsigned char*
2517         to char* and the other way too.
2519 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
2521         PR libobjc/16448
2522         * exception.c: Include config.h
2523         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2524         SJLJ_EXCEPTIONS.
2525         * configure.ac: Find out what exception handling code we use.
2526         * configure: Regenerate.
2527         * config.h.in: New file, regenerate.
2529 2004-09-16  Andrew Pinski  <apinski@apple.com>
2531         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2533 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
2535         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2536         ACX_NONCANONICAL_TARGET.
2537         * configure: Regenerate.
2539 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
2541         * objc/sarray.h: Hoist include of assert.h near the top of file,
2542         and mark the remainder of the file 'extern "C"'.
2544 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2546         * objc/Object.h: Move includes out of extern "C" blocks.
2547         * objc/encoding.h: Likewise.
2548         * objc/hash.h: Likewise.
2549         * objc/objc-api.h: Likewise.
2550         * objc/runtime.h: Likewise.
2551         * objc/sarray.h: Likewise.
2552         * objc/typedstream.h: Likewise.
2554 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
2556         * objc/NXConstStr.h: Update copyright date; bracket with
2557         'extern "C"' for C++ use; make include syntax consistent
2558         by using <...> instead of "..."; hoist <objc/...> includes
2559         above the 'extern "C"' block.
2560         * objc/Object.h: Likewise.
2561         * objc/Protocol.h: Likewise.
2562         * objc/encoding.h: Likewise.
2563         * objc/hash.h: Likewise.
2564         * objc/runtime.h: Likewise.
2565         * objc/sarray.h: Likewise.
2566         * objc/thr.h: Likewise.
2567         * objc/typedstream.h: Likewise.
2568         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2569         (objc_static_instances): For C++ case, do away with
2570         zero-sized array.
2571         (objc_method): Hoist definition to file scope.
2572         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2573         class_get_instance_method, class_create_instance,
2574         class_get_class_name, class_get_instance_size,
2575         class_get_meta_class, class_get_super_class, class_get_version,
2576         class_is_class, class_is_meta_class, class_set_version,
2577         class_get_gc_object_type, class_ivar_set_gcinvisible,
2578         get_imp): Rename 'class' parameter to '_class'.
2579         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2580         * objc/objc.h: Update copyright date.
2581         (arglist_t): Provide a union tag.
2583 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
2585         * thr.c (__objc_thread_detach_function): Do not mark as volatile
2586         but instead use the attribute noreturn.
2588 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
2590         * encoding.c: Rename target_flags with a #define to avoid
2591         conflict with a prior declaration.
2593 2004-06-24  Andrew Pinski  <apinski@apple.com>
2595         * objc/encoding.h: Wrap the functions with extern "C" for C++
2596         mode.
2597         * objc/hash.h: Likewise.
2598         * objc/objc-api.h: Likewise.
2599         * objc/objc-list.h: Likewise.
2600         * objc/runtime.h: Likewise.
2601         * objc/sarray.h: Likewise.
2602         * objc/thr.h: Likewise.
2603         * objc/typedstream.h: Likewise.
2606 2004-06-21  Nick Clifton  <nickc@redhat.com>
2608         * encoding.c (BITS_PER_UNIT): Define if a definition is not
2609         provided.
2611 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2613         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2614         (exception_gc.lo): New.
2615         (OBJS_GC): Add exception_gc.lo.
2617 2004-06-17  Richard Henderson  <rth@redhat.com>
2619         * exception.c: New file.
2620         * Makefile.in (exception.lo): New.
2621         (OBJS): Add it.
2623 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
2625         * linking.m (_objcInit): New empty function
2626         for Darwin only.
2628 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2630         * configure.ac: Support --enable-shared=libobjc.
2631         * configure: Regenerate.
2633         PR libobjc/15901
2634         * configure.ac: Do not disable shared by default.
2635         * configure: Regenerate.
2637 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
2639         * Protocol.m ([-isEqual:]): Small optimizations returning
2640         immediately if the argument is equal to self, and accessing
2641         the argument's name directly if it's a protocol.
2643 2004-06-03  David Ayers  <d.ayers@inode.at>
2645         * Protocol.m ([-isEqual:]): Test the class of the argument.
2647 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2649         * configure.ac (includedir): Rename to ...
2650         (includedirname).
2651         * Makefile.in: s/includedir/includedirname/.
2653         PR target/11572
2654         * configure.ac (includedir): Set to "include"
2655         except for Darwin.
2656         (libext) Set to empty except for Darwin.
2657         * configure: Regenerate
2658         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2659         s/include/$(includedir)/g.
2661 2004-05-25  Daniel Jacobowitz  <drow@false.org>
2663         * Makefile.in: Add .NOEXPORT.
2665 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2667         Merge from the libobjc-branch
2668         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
2670                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2672         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2674                 * Makefile.in (OBJC_H): Add objc-deps.h.
2676         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
2678                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2679                 ([-hash], [-isEqual:]): New methods.
2681         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
2683                 * sarray.c (sarray_free): Add a better comment.
2685         2004-01-27  Adam Fedor  <fedor@gnu.org>
2687                 * hash.c (hash_add): Cast cachep to int.
2688                 * selector.c (__sel_register_typed_name): Cast
2689                 soffset_decode to int.
2691         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
2693                 * selector.c: Rename register_selectors_from_list to
2694                 __objc_register_selectors_from_list. Update caller.
2695                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2696                 while registering selectors. Use __sel_register_typed_name instead
2697                 of sel_register_typed_name. Check for NULL method_name:s.
2698                 (pool_alloc_selector): New function.
2699                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2700                 selector structures.
2701                 * sendmsg.c (class_add_method_list): Use
2702                 __objc_register_selectors_from_list.
2703                 * objc/runtime.h: Add __objc_register_selectors_from_list.
2705         2004-01-25  Adam Fedor  <fedor@gnu.org>
2706                     Nicola Pero  <n.pero@mi.flashnet.it>
2707                     Andrew Pinski  <pinskia@physics.uc.edu>
2709                 * objc/objc-decls.h: New file.
2710                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2711                 (_objc_load_callback): Likewise.
2712                 (_objc_object_alloc): Likewise.
2713                 (_objc_object_copy): Likewise.
2714                 (_objc_object_dispose): Likewise.
2716         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
2718                 * archive.c: s/__inline__/inline
2719                 * sendmsg.c: Likewise.
2721                 * encoding.c: Remove FIXME about the warning
2722                 about unused variable.
2723                 * sendmsg.c: Add a FIXME comment saying that
2724                 this should be using libffi.
2726                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2729 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
2731         * archive.c (objc_read_class): Initialize class_name.
2732         (objc_read_selector): Initialize selector_name.
2734 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
2736         * Makefile.in (toolexecdir): Remove trailing space.
2738 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2740         PR libobjc/14948
2741         * configure.ac: De-precious CC so multilibs work.
2742         * configure: Regenerate.
2744 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2746         * configure.ac: Restore toolexecdir.
2747         * Makefile.in: Restore toolexecdir.
2748         * configure: Regenerate.
2750 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2752         * configure.ac: Remove (unused) glibcpp_prefixdir.
2753         * configure: Regenerate.
2755         * configure.in: Rename to configure.ac.
2756         * Makefile.in: Update to match.
2758         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2759         Replace glibcpp_toolexeclibdir with toolexeclibdir.
2760         * configure.in: Remove glibcpp_toolexecdir (unused).
2761         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
2762         config.h or stamp-h (unused).  Move one comment to the right place.
2763         * configure: Regenerate.
2764         * config.h.in: Remove (unused).
2766         * config.h.in: Regenerate with autoheader.
2768         * Makefile.in: Remove (unused) gcc_version_trigger.
2769         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
2770         gcc_version_trigger.
2771         * configure: Regenerate.
2773         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2774         Sort file into sections.  Remove dnl where appropriate.  Fix
2775         other style issues.
2776         * configure: Regenerate.
2778         * configure.in: Replace old AC_PROG_CC hack with new one.
2779         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2780         are no subdirectory output files, so this is fine).  Change prereq
2781         to autoconf 2.59.
2782         * aclocal.m4: Include ../config/no-executables.m4.
2783         * configure: Regenerate with autoconf 2.59.
2785         * configure.in: Improve comments on gthread_cflags.  Improve m4
2786         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2787         * configure: Regenerate.
2789         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
2790         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
2791         redundant checks for values of RANLIB, AR, INSTALL.
2792         * configure: Regenerate.
2794         * configure.in: Clean up handling of
2795         --enable-version-specific-runtime-libs and related variables;
2796         replace 'if test' with 'case' where reasonable.  Fix comments.
2797         Remove useless libstdcxx_interface.
2798         * configure: Regenerate.
2800         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2801         Replace uses of target_alias with target_noncanonical.
2802         * aclocal.m4: Include ../config/acx.m4.
2803         * configure: Regenerate.
2804         * Makefile.in: Replace uses of target_alias with target_noncanonical.
2805         Fix copyright statement.
2807         * configure.in: Hand-inline bulky, confusing macros from
2808         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
2809         Update copyright notice.  Remove stuff for automake, which isn't
2810         used in this directory.  Remove emacs local variables.
2811         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
2812         * configure: Regenerate.
2814 2004-03-16  Manfred Hollstein  <mh@suse.com>
2816         * Makefile.in, configure.in, configure: Update copyright years.
2818 2004-03-15  Manfred Hollstein  <mh@suse.com>
2820         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2821         definition from configure.in.
2822         * configure.in (PACKAGE): Add definition.
2823         (VERSION): Add definition; substitute it in output files.
2824         * configure: Re-generate.
2826 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
2828         * objc/hash.h (hash_string, compare_strings):
2829         Add type-casts to make Objective-C++ happy.
2830         * objc/typedstream.h (objc_get_stream_class_version):
2831         Rename parameter from 'class' to 'class_name' to make
2832         Objective-C++ happy.
2834 2004-03-01  Michael Matz  <matz@suse.de>
2836         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2838 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
2840         * objc/objc-api.h (objc_super): The 'class' field shall
2841         be named 'super_class' #ifdef __cplusplus.
2843 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
2845         PR target/10781
2846         * encoding.c (rs6000_special_round_type_align): Define.
2848 2004-01-14  Adam Fedor  <fedor@gnu.org>
2850         PR libobjc/12155
2851         * selector.c (__objc_register_instance_methods_to_class): Free
2852         new_list if not used.
2854 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
2856         PR libobjc/11904
2857         * sarray.c (sarray_free): Free array->is_copy_of latter.
2859 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
2861         PR 11433
2862         * Protocol.m (descriptionForInstanceMethod): Don't dereference
2863         instance_methods if it's NULL.
2864         (descriptionForClassMethod): Likewise for class_methods.
2866 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2868         * Makefile.in (runtime-info.h): Remove -Wp.
2870 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2872         * Makefile.in (CC1OBJ): Remove.
2873         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2874         correctly.
2875         Use .m extension for temporary file.
2876         Remove assembler temp file.
2878 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2880         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2882 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2884         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2886 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2888         * configure: Regenerate.
2890 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
2892         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2893         (libdir)/gcc-lib/ when installing.
2894         * configure: Regenerate.
2896 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
2898         libobjc/9969
2899         * sendmsg.c (get_imp): Fixed rare threading problem.
2900         (__objc_responds_to): Similar fixes.
2901         (objc_msg_lookup): Similar fixes.
2902         (__objc_init_install_dtable): Lock the runtime before checking if the
2903         table is installed.
2905 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2907         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2908         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2909         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2910         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2911         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2912         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2913         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2914         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2915         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2916         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2917         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2919 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
2920                           Nicola Pero  <n.pero@mi.flashnet.it>
2922         libobjc/10742
2923         * init.c (class_superclass_of_class): New function.
2924         (create_tree_of_subclasses_inherited_from): Use it.
2925         (__objc_tree_insert_class): Likewise.
2926         (class_is_subclass_of_class): Likewise.
2928 2003-04-11  David Chad  <davidc@freebsd.org>
2929             Loren J. Rittle  <ljrittle@acm.org>
2931         libobjc/8562
2932         * objc/hash.h (hash_string): Constify correctly.
2933         (compare_ptrs): Use direct compare.
2934         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2935         * objc/sarray.h: Global rename index to indx to avoid shadow.
2937 2003-03-12  Andreas Schwab  <schwab@suse.de>
2939         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2940         glibcpp_toolexeclibdir.
2941         * configure: Rebuilt.
2943 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2945         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2946         config.status.
2947         * configure: Rebuilt.
2949 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2951         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2952         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2953         version_specific_libs is enabled.
2954         * configure: Rebuilt.
2956 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2958         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2959         (install-libs, install-headers): Prepend $(DESTDIR) to
2960         destination paths in all (un)installation commands.
2962 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
2964         * thr-objc.c: Include coretypes.h and tm.h.
2966 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
2968         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2970 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
2972         * configure.in: Remove skip-this-dir support.
2973         * configure: Regenerate.
2975 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2977         * Makefile.in (all): Fix multilib parallel build.
2979 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2981         * sendmsg.c (nil_method): Declare not to take a variable number of
2982         args.
2983         (objc_msg_lookup): Cast nil_method to IMP before returning it.
2984         (objc_msg_lookup_super): The same.
2986 2002-09-10  Jan Hubicka  <jh@suse.cz>
2988         * nil_method.c (nil_method): No longer defined with variable
2989         arguments.
2991 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
2993         * objc/encoding.h: Fix formatting.
2994         * objc/hash.h: Likewise.
2995         * objc/objc-api.h: Likewise.
2996         * objc/runtime.h: Likewise.
2997         * objc/thr.h: Likewise.
2998         * archive.c: Likewise.
2999         * class.c: Likewise.
3000         * encoding.c: Likewise.
3001         * gc.c: Likewise.
3002         * hash.c: Likewise.
3003         * init.c: Likewise.
3004         * misc.c: Likewise.
3005         * nil_method.c: Likewise.
3006         * objects.c: Likewise.
3007         * sarray.c: Likewise.
3008         * selector.c: Likewise.
3009         * sendmsg.c: Likewise.
3010         * thr-mach.c: Likewise.
3011         * thr.c: Likewise.
3013 2002-06-25  DJ Delorie  <dj@redhat.com>
3015         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
3016         GLIBCPP_TOPREL_CONFIGURE.
3017         * configure.in: Call it before AC_CANONICAL_SYSTEM.
3018         * configure: Regenerate.
3020 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3022         * Object.m (forward, read, write): Fix unused parameter warnings.
3023         * encoding.c: Include <stdlib.h>.
3024         (target_flags): Mark with attribute unused.
3025         (atoi): Delete.
3026         * runtime.h (__objc_selector_max_index): Change to unsigned int.
3027         (__objc_generate_gc_type_description): Prototype.
3028         * selector.c (__objc_selector_max_index): Change to unsigned int.
3030 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3032         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
3033         we always have a return value: if __objc_msg_forward does not
3034         supply a forwarding implementation, return the default
3035         __builtin_apply based one.
3037 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3039         * Object.m: Fix signed/unsigned warning.
3040         * Protocol.m: Likewise.
3041         * archive.c: Always include stdlib.h.
3042         (objc_read_short, objc_read_unsigned_short, objc_read_int,
3043         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
3044         Fix signed/unsigned warning.
3045         (objc_write_type, objc_read_type, objc_write_types,
3046         objc_read_types): Ensure ctype 8-bit safety.
3047         (__objc_no_write, __objc_no_read): Mark unused parameters.
3048         * class.c (class_table_setup): Specify void arg.
3049         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
3050         objc_skip_typespec, objc_skip_offset,
3051         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
3052         (objc_layout_structure_next_member): Ensure variables are
3053         initialized.
3054         * gc.c (__objc_generate_gc_type_description,
3055         class_ivar_set_gcinvisible): Mark unused parameters.
3056         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
3057         unused parameters.
3058         (__objc_init_protocols) Fix signed/unsigned warning.
3059         * nil_method.c (nil_method): Mark unused parameters.
3060         * thr.h (objc_thread_callback): Specify void arg.
3061         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
3062         signed/unsigned warning.
3063         (sarray_free): Fix formatting.
3064         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
3065         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
3067 2002-06-09  Andreas Jaeger  <aj@suse.de>
3069         * encoding.c (objc_layout_structure_next_member): Remove unused
3070         variable.
3072 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3074         * Makefile.in (SHELL): Set to @SHELL@.
3075         (WARN_CFLAGS): New.
3076         (ALL_CFLAGS): Add $(WARN_CFLAGS).
3078 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3080         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
3081         * configure: Regenerate.
3083 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
3085         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
3086         script entry, and set LD to it when configuring multilibs.
3087         * configure: Rebuilt.
3089 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
3091         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
3093 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
3095         PR objc/6107
3096         * objc/objc-api.h (struct objc_protocol_list): Change type of
3097         member count from int to size_t.
3099 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3101         PR libobjc/4039
3102         * aclocal.m4: Replace with version copied from libstdc++-v3.
3103         * configure.in: Update for changes to aclocal and Makefile.
3104         * configure: Regenerate.
3105         * Makefile.in: Correct install of multilibs and shared libs, use
3106         INSTALL_DATA for include files.
3108 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
3110         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
3111         categories - when an unclaimed category was found, the loop was
3112         doing two steps forward instead of one, so that in certain cases
3113         it was failing to properly load all the categories.  (Reported
3114         with fix by Alexander Malmberg <alexander@malmberg.org>).
3116 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
3118         * encoding.c: Add target_flags.
3120 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
3122          * objc/objc-api.h (_C_VECTOR): New.
3124          * encoding.c (VECTOR_TYPE): New.
3126 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3128         * class.c: Rewritten the class table to use optimized, lock-free
3129         lookup.  This more than doubles the speed of class method
3130         invocations.  (class_table_setup), (class_table_insert),
3131         (class_table_replace), (class_table_get_safe),
3132         (class_table_next), (class_table_print),
3133         (class_table_print_histogram): New functions.
3134         (__objc_init_class_tables): Use class_table_setup.
3135         (__objc_add_class_to_hash): Use class_table_get_safe and
3136         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
3137         assert the existence of the table; do not lock the runtime; use
3138         class_table_get_safe.  (objc_next_class): Use class_table_next.
3139         (__objc_resolve_class_links): Use class_table_next.
3140         (class_pose_as): Use class_table_replace.
3142 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
3144         * gc.c: Removed the DEBUG declaration.
3146 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3148         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
3149         rather than through objc_thread_id, to save a function call.
3150         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
3151         Ditto.
3153 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3155         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
3156         to cast an id to a Class, which can not be done.  Make the check
3157         by using CLS_ISMETA on the class pointer instead.
3158         (object_is_meta_class): Similar fix.
3160 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
3162         * configure.in (AC_EXEEXT): Work around in case it expands to
3163         nothing, as in autoconf 2.50.
3164         * acinclude.m4: Likewise.
3165         * configure: Rebuilt.
3167 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
3169         * THREADS: Explain that when we compile libobjc inside GCC, we
3170         always use thr-objc.c as a backend, which uses GCC's thread code.
3172 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
3174         * init.c (__objc_send_message_in_list): When setting a new entry
3175         in __objc_load_methods use the method IMP as key, but check to see
3176         if the method is in the hashtable by looking at the IMP also.
3177         Also ... call the method after adding it to the hashtable rather
3178         than before ... thus preventing an obscure possibility of infinite
3179         recursion if a +load method itself loads a subclass.
3181 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
3183         * init.c (__objc_send_message_in_list): When setting a new entry
3184         in __objc_load_methods use the method name as key, not the method
3185         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
3187 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3189         * objc-features.texi: Move to ../gcc/objc.texi.
3190         * fdl.texi: Remove.
3191         * Makefile.in: Don't generate documentation from
3192         objc-features.texi.
3194 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
3196         * fdl.texi: New file.
3197         * objc-features.texi: Simplify.
3198         * Makefile.in: Adjust accordingly.
3200 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3202         * objc-features.texi: Use the GFDL.
3204 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
3206         * encoding.c (REAL_TYPE): Define.
3208 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
3210         * encoding.c (TYPE_MODE): Define.
3212 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
3214         * thr.c (objc_thread_add): New function.
3215         (objc_thread_remove): Ditto.
3216         * objc/thr.h: Declare them.
3217         * libobjc.def: Mention them.
3219 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
3221         * objc-features.texi: Document the @compatibility_alias compiler
3222         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3224 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3226         * sendmsg.c (__objc_forward): Delete strlen() declaration.
3228 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
3230         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3231         we're not interested in the result and they might fail.
3232         * configure: Regenerated.
3234 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3236         * objc-features.texi: Use @email.
3238 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3240         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3241         printf.
3243 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
3245         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3246         determines the value dynamically.
3248 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
3250         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3251         libraries to provide a function that returns the real forwarding
3252         function. This can alleviate problems __builtin_apply() and
3253         friends have on various platforms. (Solution suggested by Helge
3254         Hess.)
3256         * objc/objc-api.h: Define __objc_msg_forward.
3258         * sendmsg.c: Define gen_rtx_REG.
3260 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3262         * thr-rtems.c: New file. Stub to compile.
3264 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3266         * configure: Rebuilt with new libtool.m4.
3268 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3270         * configure.in: Create a config.h file. Check for <sched.h>.
3271         * configure: Regenerate.
3273         * config.h.in: Check for <sched.h>.
3275 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
3277         * configure: Regenerate after change to ../libtool.m4.
3279 2000-08-14  Andreas Schwab  <schwab@suse.de>
3281         * objc-features.texi (Top): Move @menu at end of node.
3283 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
3285         * objc-features.texi: Move @node Top before @menu.
3287 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3289         * objc-features.texi: Documented the new -fconstant-string-class
3290         option.
3292 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3294         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3295         improve the Posix thread support for Objective-C.
3297 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3299         * aclocal.m4: Replace copy of ../libtool.m4 with
3300         sinclude(../libtool.m4).
3302 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
3304         * configure.in: Added libtool support; build shared libraries
3305         if --enable-shared was passed on command line.
3306         * Makefile.in: Modified most compilation commands to use libtool.
3307         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3308         libtool distribution.
3310 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3312         * sarray.c, Object.m: Removed the explicit prototypes for strlen
3313         and memcpy on 64-bit platforms (Suggested by Rodney Brown
3314         <rdb@cup.hp.com>).
3316 2000-05-12  H.J. Lu  (hjl@gnu.org)
3318         * Makefile.in (GTHREAD_FLAGS): New.
3319         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3320         (OBJC_THREAD_FILE): Changed to thr-objc.
3322         * configure.in (GTHREAD_FLAGS): New, check and replace it for
3323         Makefile.
3324         (OBJC_THREAD_FILE): Removed.
3326         * thr-objc.c: New.
3328 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3330         * objc/hash.h: Include string.h.
3332 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3334         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3336 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3338         * Object.m (strlen): Provide prototype on all 64bit platforms,
3339         not only alpha.
3340         * sarray.c (memcpy): Likewise.
3341         * encoding.c (objc_layout_finish_structure): Don't use
3342         ROUND_TYPE_ALIGN on sparc.
3344         * encoding.c (objc_layout_structure_next_member): Do the whole
3345         procedure even for the first member, so that we get correct
3346         alignment.
3348 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3350         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3351         comments.
3353 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3355         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3357 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
3359         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3361 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
3363         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3364         the compiler when building C code.
3366 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
3368         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3369         libdir, libsubdir and tooldir.
3371 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
3373         * init.c (__objc_force_linking): Make global.
3375 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
3377         * configure.in (AC_EXEEXT): Remove call.
3378         (compiler_name): Explicitly check with no extension and .exe
3379         extension.
3380         * configure: Regenerate.
3382 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3384         * Makefile.in (CC1OBJ): Define in terms of CC.
3385         (runtime-info.h): Use.
3387 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3389         * objc-features.texi: Updated the URL to Boehm's GC page.
3391 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3393         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3394         the char as being signed (patch from Daniel Jacobowitz
3395         <drow@false.org>).
3397 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3399         * configure.in (AC_PREREQ): Update to 2.13.
3400         (AC_EXEEXT): Call to find possible file extension.
3401         (compiler_name): Use.
3402         * configure: Regenerate.
3404 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
3406         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3408 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
3410         * configure.in (thread_file): Correct and simplify code to find
3411         the thread file.
3412         * configure: Rebuilt.
3414 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
3416         * configure.in (compiler_name): Add check to detect if this
3417         language's compiler has been built.
3418         * configure: Regenerate.
3420 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3422         *  configure.in: Use AC_PREREQ(2.12.1).
3424 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
3426         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3428 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3430         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3432 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3434         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3436 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
3438         * objc-features.texi (Top): Changed the email address.
3439         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3441 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
3443         * encoding.c: Redefine get_inner_array_type to get the first entry
3444         in the structure.
3446 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
3448         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3449         (objc_get_type_qualifiers): Similarly.
3450         * objc/encoding.h (_C_BYREF): Define.
3451         (_F_BYREF): Define.
3453 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
3455         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3456         works out on 64-bit systems.
3458 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
3460         * Makefile.in (INCLUDES): Make it multilib-friendly.
3462 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
3464         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3466 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
3467                          Jeffrey A Law  (law@cygnus.com)
3469         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3470         (FLAGS_TO_PASS): Added.
3471         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3473         * archive.c: Change config.h to tconfig.h.
3475         * configure.in: Find gcc's object directory even for multilibs.
3477 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
3479         * configure.in: Escape ^ in grep string.
3480         * configure: Rebuilt.
3482 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
3484         * All .h files pushed down into the objc/ subdirectory.
3485         * Makefile.in (copy_headers): Corresponding changes.
3486         * configure.in (AC_INIT): Corresponding changes.
3487         * configure: Rebuilt.
3489 1998-09-30  Ben Elliston  <bje@cygnus.com>
3490             Jeff Law      <law@cygnus.com>
3492         * Makefile.in: Rewrite.
3494         * configure.in: Likewise.
3496         * configure: Regenerate.
3498         * All .c files.  Remove "objc" prefix when including objc header
3499         files.  Include tconfig.h, not ../tconfig.h.
3501 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
3503         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3504         (get_inner_array_type): Define.
3506 1998-09-21  Ben Elliston  <bje@cygnus.com>
3508         * New directory.  Moved files from ../gcc/objc.
3510 Copyright (C) 1998-2018 Free Software Foundation, Inc.
3512 Copying and distribution of this file, with or without modification,
3513 are permitted in any medium without royalty provided the copyright
3514 notice and this notice are preserved.