Test --help=common for full sentences
[official-gcc.git] / libobjc / ChangeLog
blobe9e110cf53879024f6b209296acd000a1648a97f
1 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
3         * configure: Regenerate.
5 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
6             Bernd Edlinger  <bernd.edlinger@hotmail.de>
7             Jakub Jelinek  <jakub@redhat.com>
9         PR target/89093
10         * exception.c (PERSONALITY_FUNCTION): Add general-regs-only target
11         attribute for ARM.
13 2019-03-06  Uroš Bizjak  <ubizjak@gmail.com>
15         * encoding.c (DFmode): #undef before #define.
17 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
19         PR other/16615
20         * objc/runtime.h: Change "can not" to "cannot".
22 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
24         PR other/16615
26         * class.c: Mechanically replace "can not" with "cannot".
27         * objc/runtime.h: Likewise.
28         * sendmsg.c: Likewise.
30 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
32         Update copyright years.
34 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
36         PR bootstrap/82856
37         * configure.ac: Remove AC_PREREQ.
38         * aclocal.m4, config.h.in, configure: Regenerate.
40 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
42         * configure: Regenerated.
44 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
46         * configure: Regenerated.
48 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
50         PR jit/85384
51         * configure: Regenerate.
53 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
55         PR target/84148
56         * configure: Regenerate.
58 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
60         Update copyright years.
62 2017-11-23  Tom de Vries  <tom@codesourcery.com>
64         * class.c (CLASS_TABLE_HASH): Wrap in "do {} while (0)".
66 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
68         * Makefile.in: Regenerate.
69         * aclocal.m4: Likeiwse.
70         * configure: Likewise.
71         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
73 2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
74             Alan Hayward  <alan.hayward@arm.com>
75             David Sherwood  <david.sherwood@arm.com>
77         * encoding.c (_darwin_rs6000_special_round_type_align): Prefix mode
78         names with E_ in case statements.
80 2017-02-07  Richard Biener  <rguenther@suse.de>
82         PR tree-optimization/79256
83         PR middle-end/79278
84         * encoding.c (objc_layout_structure_next_member): Adjust
85         ADJUST_FIELD_ALIGN usage.
87 2017-01-18  Matthias Klose  <doko@ubuntu.com>
89         PR libobjc/78697
90         * configure.ac: Allow default for --with-target-bdw-gc-include.
91         * configure: Regenerate.
93         PR libobjc/78698
94         * configure.ac: Use the libgc.la file when available.
95         * configure: Regenerate.
97 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
99         PR other/79046
100         * configure: Regenerated.
101         * configure.ac: Add GCC_BASE_VER.
102         * Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
103         get version from BASE-VER file.
104         * configure: Regenerated.
106 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
108         Update copyright years.
110 2016-12-01  Matthias Klose  <doko@ubuntu.com>
112         * configure.ac: Don't use pkg-config to check for bdw-gc.
113         * configure: Regenerate.
115 2016-11-30  Matthias Klose  <doko@ubuntu.com>
117         * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking
118         for the existence of the pkg-config modules.
119         * Regenerate.
121 2016-11-30  Jakub Jelinek  <jakub@redhat.com>
123         * configure.ac (--enable-objc-gc): If not given, default to
124         enable_objc_gc=no.
125         * configure: Regenerated.
127 2016-11-30  Matthias Klose  <doko@ubuntu.com>
129         * configure.ac (--enable-objc-gc): Allow to configure with a
130         system provided boehm-gc.
131         * configure: Regenerate.
132         * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
133         * gc.c: Include system bdw-gc headers.
134         * memory.c: Likewise.
135         * objects.c: Likewise.
137 2016-11-15  Matthias Klose  <doko@ubuntu.com>
139         * aclocal.m4: Regenerate.
140         * configure: Likewise.
142 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
144         Update copyright years.
146 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
148         PR libobjc/24775
149         * encoding.c (_darwin_rs6000_special_round_type_align): Use
150         __CHAR_BIT__ instead of BITS_PER_UNIT.
151         (objc_sizeof_type): Likewise.
152         (objc_layout_structure): Likewise.
153         (objc_layout_structure_next_member): Likewise.
154         (objc_layout_finish_structure): Likewise.
155         (objc_layout_structure_get_info): Likewise.
157 2015-11-03  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
159         PR libobjc/24775
160         * encoding.c (objc_layout_finish_structure): Remove usage of
161         ROUND_TYPE_SIZE.
163 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
165         PR libobjc/24775
166         * sendmsg.c (tm.h): Remove include.
168 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
170         PR libobjc/24775
171         * sendmsg.c (gen_rtx): Remove macro.
172         (gen_rtx_MEM): Likewise.
173         (gen_rtx_REG): Likewise.
174         (rtx): Likewise.
176 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
178         PR libobjc/24775
179         * sendmsg.c: Remove check of STRUCT_VALUE macro.
181 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
183         * configure.ac: Remove manual SJLJ check.
184         * config.h.in: Regenerate.
185         * configure: Likewise.
186         * exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
188 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
190         * aclocal.m4: Regenerated with automake-1.11.6.
192 2015-05-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
194         * configure: Regenerate.
196 2015-05-01  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
198         * acinclude.m4: Include bitfields.m4.
199         * config.h.in: Regenerate.
200         * configure: Likewise.
201         * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
202         * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
204 2015-04-29  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
206         * encoding.c (objc_layout_structure_next_member): Check the value of
207         PCC_BITFIELD_TYPE_MATTERS not if it is defined.
209 2015-02-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
211         PR libobjc/63765
212         * thr.c (_XOPEN_SOURCE): Remove.
214 2015-01-27  Matthias Klose  <doko@ubuntu.com>
216         * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
218 2015-01-09  Dimitris Papavasiliou  <dpapavas@gmail.com>
220         PR libobjc/51891
221         * ivars.c: Add a check for classes without instance
222         variables, which have a NULL ivar list pointer.
224 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
226         Update copyright years.
228 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
230         PR bootstrap/63784
231         * configure: Regenerated.
233 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
235         PR target/63610
236         * configure: Regenerate.
238 2014-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
240         * thr.c (_XOPEN_SOURCE): Define as 600.
242 2014-07-27  Alan Modra  <amodra@gmail.com>
243             Matthias Klose  <doko@ubuntu.com>
245         PR libobjc/61920
247         * encoding.c: Define rs6000_special_adjust_field_align_p.
249 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
251         Update copyright years
253 2013-09-20  Alan Modra  <amodra@gmail.com>
255         * configure: Regenerate.
257 2013-07-21   Ondřej Bílka  <neleai@seznam.cz>
259         * class.c: Fix typos.
260         * encoding.c: Likewise.
261         * init.c: Likewise.
262         * objc-private/runtime.h: Likewise.
263         * objc/runtime.h: Likewise.
264         * objc-sync.c: Likewise.
266 2013-07-04  Kai Tietz  <ktietz@redhat.com>
268         * exception.c: Add check for SjLj to SEH blocks.
270 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
272         Update copyright years.
274 2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
276         * encoding.c (TARGET_VSX): Provide definitions based on the
277         current compilation options, and not based off the target options
278         structure.
279         (TARGET_ALTIVEC): Likewise.
280         (TARGET_64BIT): Likewise.
282 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
284         * configure: Regenerated.
286 2012-07-19  Tristan Gingold  <gingold@adacore.com>
287             Richard Henderson  <rth@redhat.com>
289         * exception.c (__gnu_objc_personality_seh0): New function.
291 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
293         * configure: Regenerated.
295 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
297         * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
298         * configure: Regenerate.
300         * thr.c (_XOPEN_SOURCE): Define unconditionally.
302 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
304         * configure: Regenerate.
306 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
308         * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
309         * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
310         * configure: Regenerate.
311         * config.h.in: Regenerate.
313 2011-10-17  Paul Brook  <paul@codesourcery.com>
314             Matthias Klose  <doko@ubuntu.com>
316         * exception.c (parse_lsda_header): hardcode ttype_encoding for older
317         ARM EABI toolchains.
318         (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
320 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
322         PR libobjc/49883
323         * init.c (__objc_exec_class): Work around a bug in clang's code
324         generation.  Clang sets the class->info field to values different
325         from 0x1 or 0x2 (the only allowed values in the traditional GNU
326         Objective-C runtime ABI) to store some additional information, but
327         this breaks backwards compatibility.  Wipe out all the bits in the
328         fields other than the first two upon loading a class.
330 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
332         * class.c (objc_lookup_class): Added back for compatibility with
333         clang which seems to emit calls to it.
335 2011-10-08  Richard Frith-Macdonald <rfm@gnu.org>
336             Nicola Pero  <nicola.pero@meta-innovation.com>
338         PR libobjc/50428
339         * sendmsg.c (__objc_send_initialize): If a class does not have an
340         +initialize method, search for an +initialize method in the
341         superclass and in the ancestor classes and execute the first one
342         that is found.  This makes the GNU runtime behave in the same way
343         as the Apple/NeXT runtime with respect to +initialize methods and
344         subclassing.
346 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
348         PR libobjc/50002
349         * class.c (__objc_update_classes_with_methods): Iterate over meta
350         classes as well as normal classes when refreshing the method
351         implementations.  This fixes replacing class methods.
353 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
355         * class.c (class_getSuperclass): Fixed to work with meta classes
356         still in construction too.
358 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
360         * class.c (class_getSuperclass): Fixed typo in comment.
362 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
364         PR libobjc/49882
365         * class.c (class_getSuperclass): Return the superclass if the
366         class is in construction.
367         * objc/runtime.h (class_getSuperclass): Updated documentation.
369 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
371         * Makefile.in (INCLUDES): Search
372         $(srcdir)/$(MULTISRCTOP)../libgcc.
374 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
376         * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
378 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
380         * configure.ac (VERSION): Bumped to 4:0:0.
381         * configure (VERSION): Likewise.
383 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
385         * objc/README: Updated.
386         * objc-private/selector.h: Updated comments.
388 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
390         * sendmsg.c (class_get_instance_method): Removed.
391         (class_get_class_method): Removed.
392         (objc_get_uninstalled_dtable): Removed.
394 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
396         * objc-private/module-abi-8.h (class_get_instance_size): Removed.
397         * objects.c (class_create_instance): Removed.
398         * error.c (__USE_FIXED_PROTOTYPES__): Removed.
399         * gc.c (__objc_generate_gc_type_description): Use
400         class_getInstanceSize() instead of class_get_instance_size().
401         * selector.c (sel_types_match): Made static.
402         (sel_get_typed_uid): Removed.
403         (sel_get_any_typed_uid): Removed.
404         (sel_get_name): Removed.
405         (sel_get_type): Removed.
406         (sel_register_name): Removed.
407         (sel_register_typed_name): Removed.
408         (sel_get_uid): Removed.
410 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
412         * encoding.c (method_get_number_of_arguments): Removed.
413         (method_get_sizeof_arguments): Removed.
415 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
417         * class.c (objc_next_class): Removed.
418         (class_pose_as): Removed.
419         (CLASSOF): Removed.
420         (class_table_replace): Removed.
421         (objc_lookup_class): Removed.
423 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
425         Removed the Traditional Objective-C runtime public API.
426         * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
427         (install-headers): Do not create the objc/deprecated directory and
428         do not install the deprecated headers.
429         (OBJC_H): Removed encoding.h and objc-api.h.
430         * Object.m: Removed all methods with the exception of -class and
431         -isEqual:.  Updated includes.  ([-class]): Use Modern API.
432         * objc/Object.h: Do not include deprecated/Object.h.
433         * objc/deprecated/Object.h: Removed.
434         * linking.m (__objc_linking): Call [Object class] instead of
435         [Object name].
436         * Protocol.m: Removed all methods with the exception of -isEqual:.
437         Updated includes.
438         * objc/Protocol.h: Do not include deprecated/Protocol.h.
439         * objc/deprecated/Protocol.h: Removed.
440         * objc/deprecated/struct_objc_symtab.h: Removed.
441         * objc/deprecated/struct_objc_module.h: Removed.
442         * objc/deprecated/struct_objc_ivar.h: Removed.
443         * objc/deprecated/struct_objc_ivar_list.h: Removed.
444         * objc/deprecated/struct_objc_method.h: Removed.
445         * objc/deprecated/struct_objc_method_list.h: Removed.
446         * objc/deprecated/struct_objc_protocol_list.h: Removed.
447         * objc/deprecated/struct_objc_category.h: Removed.
448         * objc/deprecated/MetaClass.h: Removed.
449         * objc/deprecated/objc_msg_sendv.h: Removed.
450         * objc/deprecated/README: Removed.
451         * objc/deprecated/struct_objc_class.h: Removed.
452         * objc/deprecated/struct_objc_protocol.h: Removed.
453         * objc/deprecated/struct_objc_selector.h: Removed.
454         * objc/encoding.h: Removed.
455         * objc/message.h (struct objc_super): Removed the definition for
456         the Traditional Objective-C runtime API.
457         * objc/objc.h: Do not include objc/objc-decls.h.
458         deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
459         deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
460         and deprecated/objc_msg_sendv.h.  Uncommented new definition of
461         Protocol *.
462         * objc/objc-api.h: Removed.
463         * objc/runtime.h: Updated comments.  Removed check to detect
464         concurrent usage of Traditional and Modern APIs.
465         * objc-private/module-abi-8.h: Always define struct objc_class and
466         struct objc_protocol.  (struct objc_protocol_list): Changed type
467         of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
468         (class_get_instance_size): Added.
469         * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
470         'struct objc_protocol *' as argument, not a 'Protocol *'.
471         * objc-private/runtime.h: Updated comments.
472         * objc-private/selector.h (struct objc_selector, sel_eq): Added.
473         * class.c: Include objc-private/selector.h.
474         (objc_get_meta_class): Return a Class instead of a MetaClass.
475         * encoding.c (method_get_next_argument): Removed.
476         (method_get_first_argument): Removed.
477         (method_get_nth_argument): Removed.
478         * gc.c: Include objc/runtime.h instead of objc/encoding.h.
479         Include objc-private/module-abi-8.h and ctype.h.
480         * protocols.c (__objc_protocols_add_protocol): Take a 'struct
481         objc_protocl *' as argument, not a 'Protocol *'.
482         (class_addProtocol): Added casts to 'struct objc_protocol *' and
483         'Protocol *'.
484         (class_copyProtocolList): Likewise.
485         (protocol_conformsToProtocol): Likewise.
486         (protocol_copyProtocolList): Likewise.
487         * sarray.c: Include objc-private/module-abi-8.h.
488         * sendmsg.c (method_get_next_argument): Removed.
489         (method_get_first_argument): Removed.
490         (method_get_nth_argument): Removed.
491         (objc_msg_sendv): Removed.
492         (arglist_t, retval_t): New.  (class_get_class_method): Take a
493         'Class', not 'MetaClass', argument.
494         * thr.c: Include module-abi-8.h.
496 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
498         * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
499         and objc_get_uninstalled_dtable.h.
500         * objc/deprecated/struct_objc_static_instances.h: Removed.
501         * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.
502         * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
503         and deprecated/objc_get_uninstalled_dtable.h.
505 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
507         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
508         * objc/deprecated/objc_object_alloc.h: Removed.
509         * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
510         * objects.c (_objc_object_alloc, _objc_object_dispose,
511         _objc_object_copy): Removed.
512         * libobjc.def (__objc_object_alloc, __objc_object_copy,
513         __objc_object_dispose): Removed.
515 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
517         * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
518         * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
519         * objc/deprecated/METHOD_NULL.h: Removed.
521 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
523         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
524         objc_malloc.h and objc_unexpected_exception.h.
525         (exception.lo): Do not use -Wno-deprecated-declarations.
526         (exception_gc.lo): Likewise.
527         * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
528         deprecated/objc_malloc.h and
529         deprecated/objc_unexpected_exception.h.
530         * objc/deprecated/objc_valloc.h: Removed.
531         * objc/deprecated/objc_malloc.h: Removed.
532         * objc/deprecated/objc_unexpected_exception.h: Removed.
533         * exception.c (_objc_unexpected_exception): Removed.
534         (objc_exception_throw): Do not check for
535         _objc_unexpected_exception.
536         * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
537         _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.
538         * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
540 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
542         * objc/objc.h: Do not include deprecated/STR.h.
543         * objc/deprecated/STR.h: Removed.
544         * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
546 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
548         * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
549         (OBJC_DEPRECATED_H): Likewise.
550         * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
551         objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
552         objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
553         hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
554         sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
555         sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
556         * objc/sarray.h: Removed.
557         * objc/hash.h: Removed.
558         * objc/deprecated/sarray.h: Removed.
559         * objc/deprecated/hash.h: Removed.
560         * objc/Object.h: Do not include objc/deprecated/hash.h
561         * Object.m: Include string.h.
562         * objc/objc-api.h: Do not include objc/deprecated/hash.h.
563         * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
564         Removed.
566 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
568         * Object.m ([-forward::]): Removed.
569         * objc/deprecated/Object.h ([-forward::]): Removed.
570         * sendmsg.c (__objc_forward): Updated comments.
572 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
574         * Makefile.in (OBJC_H): Removed objc-list.h.
575         (OBJC_DEPRECATED_H): Removed objc-list.h.
576         * objc/objc-list.h: File removed.
577         * objc/deprecated/objc-list.h: File removed.
579 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
581         * Makefile.in (OBJC_H): Removed typedstream.h.
582         (OBJC_DEPRECATED_H): Removed typedstream.h.
583         (C_SOURCE_FILES): Removed archive.c.
584         (Object.lo): Rule removed.
585         (Object_gc.lo): Likewise.
586         (archive.lo): Likewise.
587         (archive_gc.lo): Likewise.
588         * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
589         [-awake]): Removed.
590         Do not include deprecated/typedstream.h.
591         * Object.m: Removed the same methods.
592         * archive.c: File removed.
593         * objc/typedstream.h: File removed.
594         * objc/deprecated/typedstream.h: File removed.
595         * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
596         __objc_write_class, __objc_write_object, __objc_write_selector,
597         objc_close_typed_stream, objc_end_of_typed_stream,
598         objc_flush_typed_stream, objc_get_stream_class_version,
599         objc_open_typed_stream, objc_open_typed_stream_for_file,
600         objc_read_array, objc_read_char, objc_read_int, objc_read_long,
601         objc_read_object, objc_read_selector, objc_read_short,
602         objc_read_string, objc_read_type, objc_read_types,
603         objc_read_unsigned_char, objc_read_unsigned_int,
604         objc_read_unsigned_long, objc_read_unsigned_short,
605         objc_write_array, objc_write_char, objc_write_int,
606         objc_write_long, objc_write_object, objc_write_object_reference,
607         objc_write_root_object, objc_write_selector, objc_write_short,
608         objc_write_string, objc_write_string_atomic, objc_write_type,
609         objc_write_types, objc_write_unsigned_char,
610         objc_write_unsigned_int, objc_write_unsigned_long,
611         objc_write_unsigned_short): Removed.
613 2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
615         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
616         * objc/deprecated/objc_error.h: Removed.
617         * objc/objc-api.h: Do not include deprecated/objc_error.h.
618         * libobjc.def (objc_error, objc_verror): Removed.
619         * error.c (_objc_error_handler, objc_error, objc_verror,
620         objc_set_error_handler): Removed.
621         * Object.m ([-error:], [-perform:], [-perform:with:],
622         [-perform:with:with], [-subclassResponsibility:],
623         [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
624         Removed.
625         * objc/deprecated/Object.h: Removed the same methods.
626         * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
627         method after trying to invoke the "doesNotRecognize:" method.
629 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
631         * sendmsg.c: Reindented part of the file.  No non-trivial changes
632         in code.
634 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
636         * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
637         not objc_lookup_class.
639 2011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
640             David Ayers  <ayers@fsfe.org>
642         PR libobjc/38307
643         * sendmsg.c: Include objc/hash.h.
644         (get_implementation): New function, mostly with code from get_imp
645         updated to support the new +initialize dispatch table logic.
646         (get_imp): Use get_implementation.
647         (__objc_responds_to): Updated to support the new +initialize
648         dispatch table logic.
649         (class_respondsToSelector): Likewise.
650         (objc_msg_lookup): Use get_implementation.
651         (__objc_init_install_dtable): Removed.
652         (__objc_install_methods_in_dtable): Updated arguments.
653         (__objc_install_dispatch_table_for_class): Renamed to
654         __objc_install_dtable_for_class and updated to support the new
655         +initialize dispatch table logic.
656         (__objc_update_dispatch_table_for_class): Updated to support the
657         new +initialize dispatch table logic.
658         (__objc_forward): Call get_implementation instead of get_imp.
659         (prepared_dtable_table): New.
660         (__objc_prepare_dtable_for_class): New.
661         (__objc_prepared_dtable_for_class): New.
662         (__objc_get_prepared_imp): New.
663         (__objc_install_prepared_dtable_for_class): New.
665 2011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
667         PR libobjc/48177
668         * selector.c (__sel_register_typed_name): Use sel_types_match()
669         instead of strcmp() to compare selector types (Suggestion by
670         Richard Frith-Macdonald <rfm@gnu.org>).
672 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
674         PR libobjc/32037
675         * Makefile.in (OBJC_GCFLAGS): Move ...
676         * configure.ac (enable_objc_gc): ... here.
677         Add $(libsuffix) to OBJC_BOEHM_GC.
678         * configure: Regenerate.
680 2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>
682         * selector.c (sel_getTypedSelector): Return NULL if there are
683         multiple selectors with conflicting types.
684         * objc/runtime.h (sel_getTypedSelector): Updated documentation.
686 2011-02-28  Richard Frith-Macdonald <rfm@gnu.org>
688         PR libobjc/47922
689         * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
690         a hardcoded "!".
692 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
694         * configure: Regenerate.
696 2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>
698         * init.c (create_tree_of_subclasses_inherited_from): Use
699         class_superclass_of_class instead of assuming a class is
700         unresolved when it could be resolved.  Tidied up assignment and
701         check.
702         (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
703         (objc_tree_insert_class): Tidied up loop; return immediately upon
704         inserting a class.
705         (__objc_exec_class): Do not set __objc_class_tree_list.
707 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
709         * selector.c (sel_getTypedSelector): Return NULL if given a NULL
710         argument.
711         (sel_registerTypedName): Same.
712         (sel_registerName): Same.
713         * objc/runtime.h: Updated documentation.
715 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
717         * objc/runtime.h (class_addIvar): Updated documentation.  The
718         alignment is actually the log_2 of the alignment in bytes.
719         * ivars.c (class_addIvar): Corresponding change to the
720         implementation.
722 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
724         * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
725         be consistent with method_getTypeEncoding and
726         ivar_getTypeEncoding.
727         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
728         * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
729         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
730         (sel_get_type): Updated call to sel_getType.
732 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
734         * objc/runtime.h (class_conformsToProtocol,
735         class_copyProtocolList): Updated documentation.
737 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
739         * init.c (create_tree_of_subclasses_inherited_from): Updated
740         DEBUG_PRINTF messages.
741         (__objc_tree_insert_class): Same.
742         (__objc_send_load_using_method_list): Same.
743         (__objc_send_load): Same.
744         (__objc_exec_class): Same.  In particular, do not print the module
745         name since it is no longer used.
746         * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
747         tracking +initialize calls.
748         (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
749         tracking updates of dispatch tables.
750         (__objc_install_dispatch_table_for_class): Same.
752 2010-12-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
754         * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
755         (libobjc_gc$(libsuffix).la): Likewise.
757 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
759         * sendmsg.c (class_addMethod): Return NO if the method already
760         exists in the class.
762 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
764         * init.c (duplicate_classes): New.
765         (__objc_exec_class): Initialize duplicate_classes.
766         (__objc_create_classes_tree): Ignore classes in the
767         duplicate_classes table.
768         (__objc_call_load_callback): Same.
769         (__objc_init_class): If a duplicate class is found, add it to
770         duplicate_classes instead of aborting.  Return YES if the class is
771         not a duplicate, and NO if it is.
772         * objc-private/runtime.h (__objc_init_class): Updated prototype.
774 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
776         * objc-private/objc-list.h: Reindented file.  No code changes.
777         * objc-private/sarray.h: Same change.
779 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
781         * objc-private/accessors.h: Removed 'extern "C"' guards.  This
782         file is never compiled with C++.
783         * objc-private/hash.h: Same change.
784         * objc-private/objc-list.h: Same change.
785         * objc-private/objc-sync.h: Same change.
786         * objc-private/protocols.h: Same change.
787         * objc-private/runtime.h: Same change.
788         * objc-private/sarray.h: Same change.
789         * objc-private/selector.h: Same change.
791 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
793         PR libobjc/18764
794         * class.c (__objc_add_class_to_hash): Return YES if the class was
795         added, and NO if it already existed.
796         * init.c (__objc_init_class): If __objc_add_class_to_hash returns
797         NO, then abort the program with an error message.
798         * objc-private/runtime.h (__objc_add_class_to_hash): Updated
799         declaration.
801 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
803         * init.c (_objc_load_callback): Initialize with 0.
804         (__objc_call_callback): Renamed to __objc_call_load_callback.
805         Check _objc_load_callback only once, and if it is not set, return
806         immediately.
807         (objc_send_load): Updated call to __objc_call_callback.
809 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
811         PR libobjc/16110
812         * init.c (__objc_send_message_in_list): Renamed to
813         __objc_send_load_using_method_list.  Do not take an 'op' argument.
814         Register the 'load' selector if needed.
815         (__objc_send_load): Do not register the 'load' selector.  Updated
816         call to __objc_send_message_in_list.
817         (__objc_create_classes_tree): Add the class of any claimed
818         category that was loaded in the module to the list of classes for
819         which we try to execute +load.
821 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
823         * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
824         Updated comments.
825         * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
826         a pointer using DEBUG_PRINTF.
828 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
830         PR libobjc/45953
831         * selector.c (__sel_register_typed_name): When registering a new
832         selector with the same name as an existing one, reuse the existing
833         name string.  Also updated types, casts and comments in the whole
834         function.
836 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
838         * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
839         to be 'struct objc_selector *' and not 'SEL'.
840         * init.c (__objc_exec_class): Call
841         __objc_register_selectors_from_module instead of iterating over
842         each selector and calling __sel_register_typed_name for each.
843         * objc-private/selector.h: Declare
844         __objc_register_selectors_from_module instead of
845         __sel_register_typed_name.
846         * selector.c (__objc_register_selectors_from_module): New.
847         (__sel_register_typed_name): Made static.
849 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
851         * linking.m: Do not include objc/NXConstStr.h.
853 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
855         * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
856         * objc-private/common.h (DEBUG_PRINTF): To here.
857         * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
859 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
861         * hash.c: Tidied up comments and indentation.  No code changes.
863 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
865         PR libobjc/47012
866         * accessors.m (objc_getProperty): If not atomic, do not
867         retain/autorelease the returned value.
869 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
871         * objc-private/runtime.h (__objc_selector_max_index,
872         __objc_init_selector_tables, __objc_register_selectors_from_class,
873         __objc_register_selectors_from_list,
874         __objc_register_selectors_from_description_list): Moved to ...
875         * objc-private/selector.h: ... here.
877 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
879         * objc-private/runtime.h (__objc_class_links_resolved): Removed.
880         (__objc_print_dtable_stats): Removed.
881         (__sel_register_typed_name): Removed.
882         * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
884 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
886         * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
887         if appropriate, after loading the module.
889 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
891         * sendmsg.c (method_setImplementation): Do not declare.
893 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
895         * objc/message.h: Updated comments.
896         * objc/runtime.h: Updated comments.
898 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
900         * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
901         * protocols.c: Updated all calls to objc_lookupClass to call
902         objc_lookUpClass instead.
903         * sendmsg.c (objc_lookupClass): Do not declare.
904         (get_imp): Update call to objc_lookupClass to call
905         objc_lookUpClass instead.
906         * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
908 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
910         * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
911         * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
912         define.  Updated comments.
914 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
916         * objc/encoding.h: Updated comments.
917         * objc/runtime.h: Updated comments.
918         (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
919         (objc_sizeof_type): Same.
920         (objc_alignof_type): Same.
921         (objc_aligned_size): Same.
922         (objc_promoted_size): Same.
923         (objc_skip_type_qualifiers): Same.
924         (objc_skip_typespec): Same.
925         (objc_skip_offset): Same.
926         (objc_skip_argspec): Same.
927         (objc_get_type_qualifiers): Same.
928         (objc_layout_structure): Same.
929         (objc_layout_structure_next_member): Same.
930         (objc_layout_finish_structure): Same.
931         (objc_layout_structure_get_info): Same.
933 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
935         * init.c: Updated comments.
936         * objc/objc-api.h: Updated comments.
937         * objc/runtime.h (_objc_load_callback): Declare.
939 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
941         * objc/Object.h: Include deprecated/typedstream.h and
942         deprecated/hash.h instead of typedstream.h.  Updated comments.
944 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
946         * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
947         * objc/deprecated/objc_msg_sendv.h: New.
948         * objc/message.h: Do not define retval_t, apply_t, arglist,
949         arglist_t, objc_msg_sendv, now in
950         objc/deprecated/objc_msg_sendv.h.
951         * objc/objc.h: Do not include message.h; include
952         objc/deprecated/objc_msg_sendv.h instead.  Tidied up comments.
953         * sendmsg.c: Include objc/message.h.
954         * thr.c: Include objc/message.h.
956 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
958         * objc/objc-exception.h: Include objc-decls.h.  Mark all
959         functions with objc_EXPORT.
960         * objc/objc-sync.h: Same change.
962 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
964         * Protocol.m: Moved all methods, with the exception of -isEqual:,
965         into the 'Deprecated' category.
966         * objc/Protocol.h: Removed all methods, moved to
967         objc/deprecated/Protocol.h.  Include objc/deprecated/Protocol.h.
968         * objc/deprecated/Protocol.h: New.
969         * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
971 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
973         * init.c: Include objc-private/selector.h.  Do not declare
974         __sel_register_typed_name.
975         * objc-private/selector.h (__sel_register_typed_name): Declare.
976         * selector.c: Include objc-private/selector.h.
978 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
980         * class.c: Tidied up comments and indentation.  No code changes.
981         * error.c: Same.
982         * exception.c: Same.
983         * init.c: Same.
984         * ivars.c: Same.
985         * memory.c: Same.
986         * objc-foreach.c: Same.
987         * objc-sync.c: Same.
988         * objects.c: Same.
989         * protocols.c: Same.
990         * sarray.c: Same.
991         * thr.c: Same.
993 2010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
995         * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
996         instead of objc/objc-api.h.
997         (init_check_module_version): Take a 'struct objc_module *'
998         argument instead of 'Module_t'.  Use 'struct objc_module *'
999         instead of 'Module_t'.
1000         (__objc_created_classes_tree): Take a 'struct objc_module *'
1001         argument instead of 'Module_t'; use 'struct objc_symtab *' instead
1002         of 'Symtab_t'.
1003         (__objc_call_callback): Take a 'struct objc_module *' argument
1004         instead of 'Module_t'; use 'struct objc_symtab *' instead of
1005         'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
1006         (_objc_load_callback): Take a 'struct objc_category *' argument
1007         instead of 'Category *'.
1008         (class_superclass_of_class): Use objc_getClass() instead of
1009         objc_lookup_class().
1010         (create_tree_of_subclasses_inherited_from): Same change (also, use
1011         an explicit 'if' instead of '?').
1012         (objc_init_statics): Same change.
1013         (objc_send_load): Same change.
1014         (__objc_init_protocol): same change.
1015         (__objc_send_message_in_list): Take a 'struct objc_method_list *'
1016         argument instead of 'MethodList_t'.  Use 'struct objc_method *'
1017         instead of 'Method_t'.
1018         (__objc_send_load): Use 'struct objc_method_list *' instead of
1019         'MethodList_t'.  Use sel_registerName() instead of
1020         sel_register_name().
1021         (__objc_exec_class): Take a 'struct objc_module *' argument
1022         instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
1023         'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
1024         Use 'struct objc_category *' instead of 'Category_t'.
1026 2010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1028         * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
1029         Include objc-private/module-abi-8.h and objc-private/selector.h
1030         instead of objc/encoding.h.
1031         (objc_msg_lookup_super): Use super->super_class instead of
1032         super->class.
1033         (method_get_first_argument, method_get_next_argument): Declare
1034         locally.
1035         (class_get_instance_method): Declare before using.
1036         (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
1037         (__objc_init_dispatch_tables, __objc_send_initialize): Use
1038         sel_registerName() instead of sel_register_name().
1039         (__objc_forward): Use sel_getName() instead of sel_get_name().
1040         (objc_get_uninstalled_dtable): Use 'void' as argument.
1041         * objc-private/selector.h: New.
1043 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1045         * objc/message.h (objc_super): When using the modern API, do not
1046         define Super and Super_t, and always use 'super_class' for the
1047         super class field.
1048         (objc_msg_lookup_super): Updated prototype to use 'struct
1049         objc_super *' instead of 'Super_t'.
1050         * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
1051         'struct objc_super *' instead of 'Super_t'.
1053 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1055         * objc/message.h: Update comments, reindented code and moved
1056         deprecated types and functions at the end of the file.  No code
1057         changes.
1059 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1061         * ivars.c (class_addIvar): Use the 'size' argument instead of
1062         trying to calculate it using objc_sizeof_type().
1063         * objc/runtime.h (class_addIvar): Updated comments.
1065 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1067         * sendmsg.c: Reindented some code and tidied up comments.  No
1068         actual code changes.
1070 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1072         * objc/Object.h: Moved all the methods, with the exception of
1073         -class and -isEqual:, into ...
1074         * objc/deprecated/Object.h: here.
1075         * Object.m: Moved all the methods, with the exception of -class
1076         and -isEqual: into the 'Deprecated' category.
1078 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1080         * objects.c (object_copy): Do not #undef as we are no longer
1081         including objc/objc-api.h.
1082         * selector.c: Include objc/runtime.h and
1083         objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
1084         objc/encoding.h.  Updated
1085         (__objc_register_selectors_from_class): Use struct
1086         objc_method_list * instead of MethodList_t.
1087         (__objc_register_selectors_from_list): Use Method instead of
1088         Method_t.
1089         (struct objc_method_description_list): Do not define here.
1090         (__objc_register_instance_methods_to_class): Use struct
1091         objc_method_list * instead of MethodList_t and Method instead of
1092         Method_t.
1094 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1096         * selector.c: Reindented some code and tidied up comments.  No
1097         actual code changes.
1099 2010-12-13  Iain Sandoe  <iains@gcc.gnu.org>
1101         * encoding.c (_darwin_rs6000_special_round_type_align): New.
1102         (darwin_rs6000_special_round_type_align): Adjust to use new routine.
1104 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1106         * sendmsg.c (selector_resolveClassMethod): New.
1107         (selector_resolveInstanceMethod): New.
1108         (__objc_resolve_class_method): New.
1109         (__objc_resolve_instance_method): New.
1110         (get_imp): Call __objc_resolve_class_method or
1111         __objc_resolve_instance_method at the appropriate time.
1112         (objc_msg_lookup): Same.
1113         (class_getClassMethod): Same.
1114         (class_getInstanceMethod): Same.
1115         (__objc_init_dispatch_tables): Initialize
1116         selector_resolveClassMethod and selector_resolveInstanceMethod.
1117         * objc/runtime.h: Updated documentation of class_getClassMethod,
1118         class_getInstanceMethod and class_getMethodImplementation.
1120 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1122         * objc-private/module-abi-8.h (struct objc_symtab): Updated
1123         description of sel_ref_cnt and refs.
1124         * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
1126 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
1128         PR target/40125
1129         PR lto/46695
1130         * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
1131         * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
1132         * aclocal.m4: Regenerate.
1133         * configure: Regenerate.
1135 2010-12-03  Matthias Klose  <doko@ubuntu.com>
1137         * configure.ac (VERSION): Bump the version to 3:0:0.
1138         * configure: Regenerate.
1140 2010-11-23  Richard Frith-Macdonald <rfm@gnu.org>
1142         * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
1143         pass nil as the receiver since we don't know the receiver at this
1144         point.
1146 2010-11-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1148         * ivars.c: Include stdlib.h.
1149         * protocols.c: Same change.
1151 2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
1153         * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
1154         * accessors.m: New.
1155         * init.c: Include objc-private/accessors.h.
1156         (__objc_exec_class): Call __objc_accessors_init.
1157         * objc-private/accessors.h: New.
1159 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1161         * objc/message.h: Moved initial includes outside of extern "C".
1162         * objc/runtime.h: Add extern "C" for Objective-C++.
1164 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1166         * init.c (objc_send_load): Do not wait for NXConstantString to be
1167         registered before executing +load.  There is no point if
1168         -fconstant-string-class=xxx is used when compiling all modules,
1169         as is the case for almost all users.
1170         * linking.m (__objc_linking): Do not try to forcefully link in
1171         NXConstantString.
1173 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1175         * objc/runtime.h: Updated comments.
1176         (class_addMethod): New.
1177         (class_addIvar): New.
1178         (class_replaceMethod): New.
1179         (objc_allocateClassPair): New.
1180         (objc_registerClassPair): New.
1181         (objc_disposeClassPair): New.
1182         * class.c (objc_allocateClassPair): New.
1183         (objc_registerClassPair): New.
1184         (objc_disposeClassPair): New.
1185         (class_getSuperclass): Return Nil if a class is in construction.
1186         * init.c (__objc_exec_class): Call __objc_init_class.
1187         (__objc_init_class): New.
1188         * ivars.c (class_copyIvarList): Return NULL if class is in
1189         construction.  Do not lock the runtime mutex.
1190         (class_getInstanceVariable): Return NULL if class is in
1191         construction.  Do not lock the runtime mutex.
1192         (class_addIvar): New.
1193         * sendmsg.c (class_addMethod): New.
1194         (class_replaceMethod): New.
1195         * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
1196         (_CLS_IN_CONSTRUCTION): New.
1197         (CLS_IS_IN_CONSTRUCTION): New.
1198         (CLS_SET_IN_CONSTRUCTION): New.
1199         (CLS_SET_NOT_IN_CONSTRUCTION): New.
1200         * objc-private/runtime.h (__objc_init_class): New.
1202 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1204         * class.c (class_getSuperclass): Call __objc_resolve_class_links
1205         if the class is not resolved yet.
1206         * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
1208 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1210         * objc/runtime.h (class_getIvarLayout): New.
1211         (class_getWeakIvarLayout): New.
1212         (class_setIvarLayout): New.
1213         (class_setWeakIvarLayout): New.
1214         * ivars.c (class_getIvarLayout): New.
1215         (class_getWeakIvarLayout): New.
1216         (class_setIvarLayout): New.
1217         (class_setWeakIvarLayout): New.
1219 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1221         * objc/runtime.h (class_copyPropertyList): New.
1222         (class_getProperty): New.
1223         (property_getAttributes): New.
1224         (property_getName): New.
1225         * ivars.c (class_copyPropertyList): New.
1226         (class_getProperty): New.
1227         (property_getAttributes): New.
1228         (property_getName): New.
1230 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1232         * objc-private/runtime.h (__objc_update_classes_with_methods): New.
1233         * class.c (__objc_update_classes_with_methods): New.
1234         (objc_getClassList): Do not lock the class lock.
1235         * methods.c (method_exchangeImplementations): New.
1236         (method_setImplementation): New.
1237         * objc/runtime.h (method_setImplementation): New.
1238         (method_exchangeImplementations): New.
1240 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1242         * Protocol.m: Include objc/runtime.h and
1243         objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
1244         repeat Protocol's instance variables.
1245         (struct objc_method_description_list): Do not define here.
1246         ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1247         ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1248         selectors directly instead of getting names and then using strcmp.
1249         ([descriptionForClassMethod:]): Same change.
1250         ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1251         * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1252         to compare selectors directly instead of getting names and then
1253         using strcmp.
1254         * objc/Protocol.h: Updated comments.
1256 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1258         * init.c (__objc_init_protocol): New function which fixes up a
1259         protocol's class pointer, registers it with the runtime, register
1260         all protocol selectors and registers associated protocols too.
1261         (objc_init_statics): Detect if we are initializing protocols, and
1262         if so, use __objc_init_protocol instead of only fixing up the
1263         class pointer.
1264         (__objc_init_protocls): Use __objc_init_protocol.
1265         * objc-private/module-abi-8.h: Updated comments.
1266         * objc-private/runtime.h
1267         (__objc_register_selectors_from_description_list): New.
1268         * selector.c (__objc_register_selectors_from_description_list):
1269         New.  (struct objc_method_description_list): Declare.
1270         * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1271         when accessing the name of a method, which is now correctly a SEL.
1272         ([-descriptionForClassMethod:]): Same change.
1273         * protocols.c (protocol_getMethodDescription): Same change.
1274         * objc/runtime.h: Updated comments.
1275         (sel_registerTypedName): Fixed typo in function name.
1277 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1279         PR libobjc/23214
1280         * init.c (objc_init_statics): Do not skip the initialization of a
1281         statics list if the first object has already been initialized; in
1282         the case of Protocols, while the first one may have been
1283         initialized, some others may not have been initialized yet.
1285 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1287         * Makefile.in (OBJC_DEPRECATED_H): Added
1288         objc_get_uninstalled_dtable, objc_object_alloc.h and
1289         struct_objc_static_instances.h.
1291 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1293         * encoding.c (method_copyReturnType): New.
1294         (method_copyArgumentType): New.
1295         (method_getReturnType): New.
1296         (method_getArgumentType): New.
1297         * methods.c (method_getDescription): New.
1298         * objc/runtime.h (method_copyReturnType): New.
1299         (method_copyArgumentType): New.
1300         (method_getReturnType): New.
1301         (method_getArgumentType): New.
1302         (method_getDescription): New.
1304 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1306         * encoding.c: Tidied up comments.
1307         (objc_skip_variable_name): New static inline function.
1308         (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1309         the same code over and over.
1310         (objc_alignof_type): Same.
1311         (objc_aligned_size): Same.
1312         (objc_promoted_size): Same.
1313         (objc_skip_typespec): Same.
1314         (objc_layout_structure_next_member): Same.
1315         (objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
1316         historical bug where objc_skip_offset would skip one byte even if
1317         there is no offset: check that the first offset digit is actually
1318         a digit before skipping it.
1319         (objc_skip_type_qualifiers): Mark as inline.
1320         (objc_skip_typespec): Mark as inline.
1322 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1324         * Makefile.in (C_SOURCE_FILES): Added methods.c.
1325         * encoding.c (method_getNumberOfArguments): New.
1326         (method_get_number_of_arguments): Call
1327         method_getNumberOfArguments.
1328         * ivars.c (ivar_getName): Check for NULL variable argument.
1329         (ivar_getOffset): Check for NULL variable argument.
1330         (ivar_getTypeEncoding): Check for NULL variable argument.
1331         (class_copyIvarList): New.
1332         * methods.c: New.
1333         * protocols.c (class_copyProtocolList): Check for Nil class_
1334         argument.
1335         * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1336         'struct objc_method_list *' instead of MethodList_t.
1337         (class_getMethodImplementation): New.
1338         (class_respondsToSelector): New.
1339         (class_getInstanceMethod): New.
1340         (class_getClassMethod): New.
1341         * objc/runtime.h: Updated comments.
1342         (class_copyIvarList): New.
1343         (class_getInstanceMethod): New.
1344         (class_getClassMethod): New.
1345         (class_getMethodImplementation): New.
1346         (class_respondsToSelector): New.
1347         (method_getName): New.
1348         (method_getImplementation): New.
1349         (method_getTypeEncoding): New.
1350         (class_copyMethodList): New.
1351         (method_getNumberOfArguments): New.
1353 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1355         * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1356         instead of objc/objc-api.h.
1357         (objc_get_unknown_class_handler): Do not define.
1358         (class_isMetaClass): New.
1359         (class_getSuperclass): New.
1360         (class_getVersion): New.
1361         (class_setVersion): New.
1362         (class_getInstanceSize): New.
1363         * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1364         (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1365         objc_get_super_class.
1366         (get_ttype_entry): Use objc_getRequiredClass instead of
1367         objc_get_class.
1368         * ivars.c (class_getClassVariable): New.
1369         * objects.c: Include objc/runtime.h, objc/thr.h and
1370         objc-private/module-abi-8.h instead of objc/objc-api.h
1371         * objc/runtime.h (class_getClassVariable): New.
1372         (class_isMetaClass): New.
1373         (class_getSuperclass): New.
1374         (class_getVersion): New.
1375         (class_setVersion): New.
1376         (class_getInstanceSize): New.
1377         * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1378         objc/objc-api.h)
1379         (__CLS_INFO): Same.
1380         (__CLS_ISINFO): Same.
1381         (__CLS_SETINFO): Same.
1382         (CLS_ISMETA): Same.
1383         (CLS_ISCLASS): Same.
1384         (CLS_ISRESOLV): Same.
1385         (CLS_SETRESOLV): Same.
1386         (CLS_ISINITIALIZED): Same.
1387         (CLS_SETINITIALIZED): Same.
1388         (CLS_GETNUMBER): Same.
1389         (CLS_SETNUMBER): Same.
1391 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1393         * archive.c: Do not include objc/objc.h.
1394         * class.c: Do not include objc/objc.h.
1395         * encoding.c: Include objc/runtime.h, ctype.h and
1396         objc-private/module-abi-8.h instead of objc/objc-api.h and
1397         objc/encoding.h.
1398         * error.c: Do not include objc/objc.h.
1399         * gc.c: Include tconfig.h and objc/encoding.h only if
1400         OBJC_WITH_GC.
1401         * hash.c: Include objc/runtime.h and objc/thr.h instead of
1402         objc/objc-api.h.  Do not include objc/objc.h.
1403         * init.c: Do not include objc/objc.h.
1404         * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1405         objc/thr.h instead of objc/objc-api.h.  Do not include
1406         objc/objc.h.
1407         * linking.m: Tidied comment.
1408         * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1409         Do not include objc/objc.h.
1410         * objects.c: Do not include objc/objc.h.
1411         * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1412         * protocols.c: Do not include objc/objc.h.
1413         * sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
1414         not include objc/objc.h.
1415         * selector.c: Do not include objc/objc.h.
1416         * sendmsg.c: Do not include objc/objc.h.
1417         * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1418         Do not include objc/objc.h.
1419         * objc/objc-decls.h: Reindented code.
1420         * objc/runtime.h Include objc-decls.h.  Updated comments.
1421         (objc_malloc): New.
1422         (objc_atomic_malloc): New.
1423         (objc_calloc): New.
1424         (objc_realloc): New.
1425         (objc_free): New.
1426         * objc-private/runtime.h: Updated comments.
1428 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1430         * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1431         * objc-private/protocols.h: New.
1432         * protocols.c: New.
1433         * init.c: Include objc-private/protocols.h.
1434         (__objc_exec_class): Call __objc_protocols_init on startup.
1435         (__objc_init_protocols): Call __objc_protocols_add_protocol.
1436         * objc-private/runtime.h: Use (struct objc_method_list *) instead
1437         of MethodList_t, and (struct objc_method *) instead of Method_t.
1438         * objc/deprecated/struct_objc_class.h: Define
1439         __objc_STRUCT_OBJC_CLASS_defined.
1440         * objc-private/module-abi-8.h (struct
1441         objc_method_description_list): New.
1442         (struct objc_class): Only define if
1443         __objc_STRUCT_OBJC_CLASS_defined is undefined.
1444         * objc/runtime.h (class_getName): New.
1445         (objc_getProtocol): New.
1446         (objc_copyProtocolList): New.
1447         (class_addProtocol): New.
1448         (class_conformsToProtocol): New.
1449         (class_copyProtocolList): New.
1450         (protocol_conformsToProtocol): New.
1451         (protocol_isEqual): New.
1452         (protocol_getName): New.
1453         (protocol_getMethodDescription): New.
1454         (protocol_copyMethodDescriptionList): New.
1455         (protocol_getProperty): New.
1456         (protocol_copyPropertyList): New.
1457         (protocol_copyProtocolList): New.
1458         * class.c (class_getName): New.
1459         * selector.c (sel_isEqual): New.
1461 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1463         * selector.c (sel_getName): Return "<null selector>" for a NULL
1464         argument.
1465         (sel_get_name): Return 0 for a NULL argument.
1466         * objc/runtime.h (sel_getName): Updated documentation.
1468         * objc-private/hash.h (class_hash_table): Unused declaration
1469         removed.
1470         (module_hash_table): Same.
1471         * objc/deprecated/hash.h: Same changes.
1473 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1475         * class.c (objc_getClassList): New.
1476         (objc_getRequiredClass): New.
1477         (objc_getMetaClass): New.
1478         (objc_lookupClass): New.
1479         (objc_getClass): New.
1480         (__objc_get_unknown_class_handler): New.
1481         (objc_setGetUnknownClassHandler): New.
1482         (objc_get_class): Use __objc_get_unknown_class_handler.
1483         (objc_lookup_class): Call objc_getClass.
1484         * objc/objc-api.h: Updated comment and copyright notice.
1485         * objc/runtime.h: Updated comments.
1486         (objc_getClass): New.
1487         (objc_lookupClass): New.
1488         (objc_getMetaClass): New.
1489         (objc_getRequiredClass): New.
1490         (objc_getClassList): New.
1491         (objc_setGetUnknownClassHandler): New.
1492         (objc_get_unknown_class_handler): New.
1493         * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1494         instead of __objc_runtime_INCLUDE_GNU as include guard.
1495         * objc-private/error.h (_objc_abort): Mark as noreturn.
1497 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1499         * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1500         * ivars.c: New.
1501         * objc/objc.h: Updated comments.
1502         * objc/runtime.h (object_getClass): New.
1503         (object_getClassName): New.
1504         (object_setClass): New.
1505         (class_getInstanceVariable): New.
1506         (object_getIndexedIvars): New.
1507         (object_getInstanceVariable): New.
1508         (object_setInstanceVariable): New.
1509         (object_getIvar): New.
1510         (object_setIvar): New.
1511         (ivar_getName): New.
1512         (ivar_getOffset): New.
1513         (ivar_getTypeEncoding): New.
1514         * objc-private/module-abi-8.h (struct objc_class): Added.
1515         * objects.c (object_getClassName): New.
1516         (object_setClass): New.
1518 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1520         * objc/objc.h: Updated comments.
1521         * objc/objc-api.h: (object_copy): Added one argument; use a
1522         #define to maintain backwards-compatibility.  Moved
1523         _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1524         objc_get_uninstalled_dtable into
1525         objc/deprecated/objc_get_uninstalled_dtable.h and
1526         objc/deprecated/objc_object_alloc.h.  Include these files.
1527         * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1528         * objc/deprecated/objc_object_alloc.h: New.
1529         * objc/runtime.h (set_getName): New.
1530         (sel_getType): New.
1531         (sel_getUid): New.
1532         (sel_registerName): New.
1533         (sel_registerTypedName): New.
1534         (sel_isEqual): New.
1535         (class_createInstance): New.
1536         (object_copy): New.
1537         (object_dispose): New.
1538         * objects.c: Do not include tconfig.h.  Include gc_typed.h if
1539         building the garbage collection version.
1540         (__objc_object_alloc): Removed.
1541         (__objc_object_copy): Removed.
1542         (__objc_object_dispose): Removed.
1543         (class_createInstance): New from code in class_create_instance.
1544         Cast second argument of GC_malloc_explicitly_typed.  Use
1545         objc_calloc.  Do not call _objc_object_alloc.
1546         (class_create_instance): Call class_createInstance.
1547         (object_copy): Added extraBytes argument.  Do not call
1548         _objc_object_copy.
1549         (object_dispose): Do not call _objc_object_dispose.
1550         * memory.c (objc_free): When using garbage collection, mark the
1551         argument as unused.
1552         * selector.c (sel_getName): New.
1553         (sel_get_name): Call sel_getName.
1554         (sel_getType): New.
1555         (sel_get_type): Call sel_getType.
1556         (sel_registerName): New.
1557         (sel_register_name): Call sel_registerName.
1558         (sel_registerTypedName): New.
1559         (sel_register_typed_name): Call sel_registerTypedName.
1560         (sel_getUid): New.
1561         (sel_get_uid): Call sel_getUid.
1563 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1565         * objc/objc-api.h: Define Method, Method_t, Category and
1566         Category_t.  Prevent including this file at the same time as
1567         objc/runtime.h.  Updated comments.
1568         * objc/deprecated/struct_objc_method.h: Do not define Method,
1569         Method_t.
1570         * objc/deprecated/struct_objc_category.h: Do not define Category,
1571         Category_t.
1572         * objc-private/module-abi-8.h: New file containing a copy of all
1573         the structure definitions.  Not used yet.
1574         * objc/encoding.h (objc_aligned_size): Removed duplicate
1575         declaration.  Updated comments.
1576         * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1577         Category, struct objc_method_description, _C_ID and similar,
1578         _C_CONST and similar and _F_CONST and similar.  Added
1579         objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1580         objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1581         objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1582         struct objc_struct_layout, objc_layout_structure,
1583         objc_layout_structure_next_member, objc_layout_finish_structure,
1584         objc_layout_structure_get_info.  Prevent including this file at
1585         the same time as objc/objc-api.h.
1587 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1589         * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1590         struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1591         struct_objc_method_list.h, struct_objc_module.h,
1592         struct_objc_protocol_list.h, struct_objc_symtab.h.
1593         * objc/deprecated/struct_objc_category.h: New.
1594         * objc/deprecated/struct_objc_ivar.h: New.
1595         * objc/deprecated/struct_objc_ivar_list.h: New.
1596         * objc/deprecated/struct_objc_method.h: New.
1597         * objc/deprecated/struct_objc_method_list.h: New.
1598         * objc/deprecated/struct_objc_module.h: New.
1599         * objc/deprecated/struct_objc_protocol_list.h: New.
1600         * objc/deprecated/struct_objc_symtab.h: New.
1601         * objc/deprecated/struct_objc_static_instances.h: New.
1602         * objc/objc-api.h: Definitions of deprecated structures moved into
1603         the above header fragment files in objc/deprecated/.  Include the
1604         files instead of definition the structures here.  Updated
1605         comments.
1606         * objc/runtime.h: Updated comments.  Do not include objc-api.h.
1607         (objc_set_enumeration_mutation_handler): Renamed to
1608         objc_setEnumerationMutationHandler.
1609         * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1610         to objc_setEnumerationMutationHandler.
1611         * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1612         objc_setExceptionMatcher.
1613         (objc_set_uncaught_exception_handler): Renamed to
1614         objc_setUncaughtExceptionHandler.
1615         * exception.c: Same changes.
1617 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1619         * objc-sync.c: Include objc-private/common.h.
1621 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1623         * objc-foreach.c: Include objc-private/common.h.
1624         * objc/deprecated/METHOD_NULL.h: New file.
1625         * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1626         defining METHOD_NULL here.
1627         * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1628         * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1629         METHOD_NULL.
1630         ([-respondsTo:]): Same change.
1631         * objc/objc-api.h (method_get_imp): Converted it into a normal
1632         function so that we can hide the internals of struct objc_method.
1633         * sendmsg.c (method_get_imp): Implemented.
1635 2010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
1637         * objc/objc-api.h (struct objc_super, Super, Super_t,
1638         objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1639         objc_msg_forward2): Declarations moved to objc/message.h.  Include
1640         message.h here.
1641         * objc/message.h: Added such declarations; updated comments.
1643 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1645         Implemented fast enumeration for Objective-C.
1646         * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1647         (OBJC_H): Added runtime.h
1648         * objc-foreach.c: New file.
1649         * objc/runtime.h: New file.
1651 2010-09-30  Kai Tietz  <kai.tietz@onevision.com>
1653         * objc/deprecated/struct_objc_class.h: Add padding
1654         to avoid warning with -Wpadded.
1656 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1658         * encoding.c (objc_sizeof_type): Added support for vector type and
1659         for double long types.
1660         (objc_alignof_type): Same change.
1661         (objc_skip_typespec): Same change.
1662         * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1663         instead of '!' since '!' is already used for _C_VECTOR.
1664         * objc/objc-api.h (_C_LNG_DBL): Added.
1666 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1668         * libobjc_entry.c: File removed.
1670 2010-09-26  Kai Tietz  <kai.tietz@onevision.com>
1672         * sendmsg.c (objc_msg_lookup): Remove inline.
1673         (objc_get_uninstalled_dtable): Likewise.
1674         * encoding.c (objc_skip_type_qualifiers): Likewise.
1675         (objc_skip_offset): Likewise.
1676         * archive.c (__objc_write_object): Likewise
1677         (__objc_write_class):
1678         (__objc_write_selector):
1679         (objc_read_char):
1680         (objc_read_unsigned_char):
1681         (objc_read_short):
1682         (objc_read_unsigned_short):
1683         (objc_read_int):
1684         (objc_read_long):
1685         (__objc_read_nbyte_uint):
1686         (objc_read_unsigned_int):
1687         (objc_read_unsigned_long):
1688         * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1689         (objc_EXPORT): Likewise.
1690         * objc/message.h (objc-decls.h): Add include.
1691         * objc/objc-api.h: Mark API by objc_EXPORT.
1692         * libobjc.def (__objc_responds_to): Removed.
1694 2010-09-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1696         * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1698         * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1699         objc/sarray.h replaced with a placeholder including the file from
1700         the deprecated/ directory.
1701         * objc-private/sarray.h: New file (private copy of sarray.h).
1702         * hash.c: Include <assert.h> instead of "assert.h"
1703         * sarray.c: Include <assert.h> instead of "assert.h".  Include
1704         objc-private/sarray.h instead of objc/sarray.h.
1705         * selector.c: Include objc-private/sarray.h instead of
1706         objc/sarray.h.
1707         * sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
1708         instead of objc/sarray.h.
1709         * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
1711 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1713         * objc-private/objc-list.h (list_remove_elem): Unused function
1714         removed.  (list_nth): Unused function removed.  (list_find):
1715         Unused function removed.  (list_lenght): Unused function removed.
1717 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1719         * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1720         replaced with a placeholder including the file from the
1721         deprecated/ directory.
1722         * objc/objc-api.h: Updated includes.
1723         * objc/typedstream.h: Updated includes.
1724         * objc-private/hash.h: New file (private copy of hash.h).
1725         * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1726         objc/objc-list.h replaced with a placeholder including the file
1727         from the deprecated/ directory.
1728         * objc-private/objc-list.h: New file (private copy of objc-list.h).
1729         * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1730         instead of objc/hash.h and objc/objc-list.h.
1731         * selector.c: Same change.
1732         * class.c: Added include <string.h>, which used to be implicitly included
1733         when hash.h was included.
1734         * exception.c: Same change.
1735         * objects.c: Same change.
1736         * sarray.c: Same change.
1737         * sendmsg.c: Same change.
1738         * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1740 2010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1742         Implemented objc_sync_enter() and objc_sync_exit(), which are
1743         required by @synchronized() to work.
1744         * objc-sync.c: New file.
1745         * objc/objc-sync.h: New file.
1746         * objc-private/objc-sync.h: New file.
1747         * init.c (__objc_exec_class): Call __objc_sync_init() during the
1748         Objective-C runtime startup.
1749         * Makefile.in: Added objc-sync.c and objc-sync.h.
1750         * configure.ac: Added GCC_CHECK_TLS.
1751         * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1752         * configure: Regenerated.
1753         * config.h.in: Regenerated.
1755 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1757         * Makefile.in (%_gc.lo): New pattern rules to build the
1758         garbage-collected version of the library.  Removed rules for
1759         specific files that are no longer needed.  Standardized all rules.
1760         (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1761         (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1762         OBJC_SOURCE_FILES.
1763         (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1765 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1767         * memory.c (objc_calloc): Fixed call to GC_malloc when building
1768         with Garbage Colletion.
1770 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1772         * memory.c: Do not include objc-private/runtime.h.
1774 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1776         * objc/deprecated/objc_malloc.h: New file.
1777         * objc/deprecated/objc_valloc.h: New file.
1778         * objc/objc-api.h: Include the files instead of defining
1779         objc_valloc, _objc_malloc() and similar.
1780         * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1781         objc_malloc.h.
1782         * memory.c: Removed the extra layer of indirection of _objc_malloc
1783         and similar.
1784         (objc_calloc): Use GC_malloc in the garbage-collected
1785         implementation as GC_malloc returns memory that is already freed.
1786         (objc_valloc): Deprecated.
1788 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1790         * objc/deprecated/objc_error.h: New file.
1791         * objc/objc-api.h: Include deprecated/objc_error.h instead of
1792         defining objc_error and related.
1793         * error.c: New file.  Added _objc_abort function which replaces
1794         objc_error.  No change in functionality as they both print an
1795         error and abort.
1796         * misc.c: File removed.  Code moved into memory.c and error.c.
1797         * memory.c: New file.
1798         * objc-private/error.h: New file.
1799         * archive.c: Include objc-private/error.h and use _objc_abort
1800         instead of objc_error everywhere.
1801         * class.c: Same change.
1802         * encoding.c: Same change.
1803         * init.c: Same change, and simplified init_check_module_version.
1804         * memory.c: Same change.
1805         * sendmsg.c:  Same change.
1806         * thr.c: Same change.
1807         * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1808         (OBJ_H): Reordered list.
1809         (OBJS): Removed misc.lo, added memory.lo and error.lo.
1810         (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1811         (misc_gc.lo): Rule removed.
1812         (error_gc.lo): Rule added.
1813         (memory_gc.lo): Rule added.
1815 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1817         * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1818         to check the API version.  Added some comments.
1820         * objc-private/common.h: New file.
1821         * NXConstStr.m: Include objc-private/common.h.
1822         * Object.m: Same change.
1823         * Protocol.m: Same change.
1824         * archive.c: Same change.
1825         * class.c: Same change.
1826         * encoding.c: Same change.
1827         * exception.c: Same change.
1828         * gc.c: Same change.
1829         * hash.c: Same change.
1830         * init.c: Same change.
1831         * libobjc_entry.c: Same change.
1832         * linking.m: Same change.
1833         * misc.c: Same change (and added a comment).
1834         * nil_method.c: Same change.
1835         * objects.c: Same change.
1836         * sarray.c: Same change.
1837         * selector.c: Same change.
1838         * sendmsg.c: Same change.
1839         * thr.c: Same change.
1841 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1843         * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1845 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1847         * archive.c: Removed not needed includes.
1848         * class.c: Same change.
1849         * hash.c: Same change.
1850         * misc.c: Same change.
1851         * nil_method.c: Same change.
1852         * objects.c: Same change.
1853         * sarray.c: Same change.
1854         * sendmsg.c: Same change.
1855         * thr.c: Same change.
1857 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1859         * objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
1860         all the objc/*.h files.
1861         * objc-private/runtime.h: New file.
1862         * archive.c: Include objc-private/runtime.h (and required objc/*.h
1863         files) instead of objc/runtime.h.
1864         * class.c: Same change.
1865         * hash.c: Same change.
1866         * init.c: Same change.
1867         * misc.c: Same change.
1868         * nil_method.c: Same change.
1869         * objects.c: Same change.
1870         * sarray.c: Same change.
1871         * selector.c: Same change.
1872         * sendmsg.c: Same change.
1873         * thr.c: Same change.
1875 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1877         * objc/deprecated/struct_objc_selector.h: New file.  Definition of
1878         'struct objc_selector' and 'sel_eq' moved here.
1879         * objc/deprecated/struct_objc_protocol.h: New file.  Definition of
1880         'struct objc_procotol' moved here.
1881         * objc/deprecated/struct_objc_class.h: New file.  Definition of
1882         'struct objc_class' moved here.
1883         * objc/deprecated/MetaClass.h: New file.  Definition of MetClass
1884         moved here.
1885         * objc/deprecated/STR.h: New file.  Definition of STR moved here.
1886         * objc/message.h: New file.  Definitions for relval_t, apply_t,
1887         arglist, arglist_t and objc_msg_lookup were moved here.
1888         * objc/objc.h: Include the above files instead of defining the
1889         corresponding structs, types and functions here.  Added new opaque
1890         definitions for SEL and Class.  Use Class and not 'struct
1891         objc_class *' in the definition of 'struct objc_object'.
1892         Commented all types defined in the file.  Removed special
1893         definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1894         there as well.
1895         * objc/deprecated/objc-unexpected-exception.h: Renamed to
1896         objc_unexpected_exception.h.
1897         * objc/objc-api.h: Updated include of
1898         objc-unexpetected-exception.h
1899         * objc/objc-exception.h: Updated comments.
1900         * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1901         files.  Reindented list of files.
1903 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1905         * objc/objc-api.h (objc_trace): Unused variable removed.
1907 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1909         * objc/deprecated: New directory.
1910         * objc/deprecated/README: New file.
1911         * objc/README: New file.
1912         * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1913         objc/typedstream.h replaced with a placeholder including the file
1914         from the deprecated/ directory.
1915         * objc/deprecated/objc-unexpected-exception.h: New file with the
1916         definition of _objc_unexpected_exception.
1917         * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1918         instead of defining _objc_unexpected_exception.
1919         * objc/deprecated/Object.h: New file with the deprecated Object
1920         methods in a 'Deprecated' category.
1921         * objc/Object.h Include deprecated/Object.h instead of defining
1922         the deprecated methods.
1923         * Object.m: Moved deprecated methods into 'Deprecated' category.
1924         * objc-private: New directory.
1925         * objc-private/README: New file.
1926         * Makefile.in (OBJC_DEPRECATED_H): New variable.
1927         (install-headers): Create installation directory for
1928         OBJC_DEPRECATED_H headers, and install them.
1930 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1932         * objc/objc-exception.h: Fixed include of objc.h.
1934 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1936         * objc/objc-exception.h: New file.
1937         * exception.c (objc_set_uncaught_exception_handler): Implemented.
1938         (objc_set_exception_matcher): Implemented.
1939         (objc_exception_throw): Use the uncaught exception handler if set.
1940         (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1941         hardcoded isKindOf.
1942         (isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
1943         up.  Removed segmentation fault when value is 'nil'.
1944         * objc/objc-api.h (_objc_unexpected_exception): Mark as
1945         deprecated.
1946         * Makefile.in (exception.lo, exception_gc.lo): Use
1947         -Wno-deprecated-declarations when compiling.
1948         (OBJC_H): Added objc-exception.h
1950 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1952         * objc/typedstream.h: Deprecate all functions in the file.  This
1953         file is obsolete.
1954         * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1955         [-awake]): Documented that these methods are deprecated.  Added a
1956         brief description of the Object class and its relationship to the
1957         NSObject class.
1958         * Makefile.in: Compile archive.c and Object.m with
1959         -Wno-deprecated-declarations.
1961 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1963         Removed obsolete intermediate threading layer.
1964         * thr.c: Use __gthread_objc_xxx functions directly instead of
1965         __objc_thread_xxx ones.
1966         * objc/thr.h: Removed prototypes of no longer existing
1967         __objc_thread_xxx functions.
1968         * Makefile.in: Removed thr-objc.lo.
1969         * thr-dce.c: File removed.
1970         * thr-decosf1.c: File removed.
1971         * thr-irix.c: File removed.
1972         * thr-mach.c: File removed.
1973         * thr-objc.c: File removed.
1974         * thr-os2.c: File removed.
1975         * thr-posix.c: File removed.
1976         * thr-pthreads.c: File removed.
1977         * thr-rtems.c: File removed.
1978         * thr-single.c: File removed.
1979         * thr-solaris.c: File removed.
1980         * thr-vxworks.c: File removed.
1981         * thr-win32.c: File removed.
1982         * README.threads: File removed.
1983         * THREADS.MACH: File removed.
1984         * THREADS: Updated.
1986 2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
1988         * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1990 2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
1992         * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1993         Add a comment as to why, update FIXME comments.
1995 2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1997         * makefile.dos: Obsolete file removed.
1999 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2001         * aclocal.m4: Regenerate.
2003 2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
2005         PR libobjc/30445
2006         * configure.ac (extra_ldflags_libobjc): Define appropriately for
2007         Cygwin and MinGW hosts.
2008         * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
2009         (libobjc.dll): Likewise.
2010         * configure: Regenerate.
2012 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2014         * configure: Regenerate.
2016 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
2018         * sarray.c (sarray_free): Use old_buckets variable.
2019         * encoding.c (objc_layout_structure_next_member): Remove unused
2020         bfld_type_size variable.
2022 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2024         * configure.ac (AC_PREREQ): Bump to 2.64.
2026 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2028         * aclocal.m4: Regenerate.
2029         * configure: Regenerate.
2030         * config.h.in: Regenerate.
2032 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2034         * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
2036 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2038         * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
2039         New variables.
2040         ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
2042 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2044         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
2046 2009-04-09  Nick Clifton  <nickc@redhat.com>
2048         * sendmsg.c: Change copyright header to refer to version 3 of
2049         the GNU General Public License with version 3.1 of the GCC
2050         Runtime Library Exception and to point readers at the COPYING3
2051         and COPYING3.RUNTIME files and the FSF's license web page.
2052         * NXConstStr.m: Likewise.
2053         * Object.m: Likewise.
2054         * Protocol.m: Likewise.
2055         * archive.c: Likewise.
2056         * class.c: Likewise.
2057         * encoding.c: Likewise.
2058         * exception.c: Likewise.
2059         * gc.c: Likewise.
2060         * hash.c: Likewise.
2061         * init.c: Likewise.
2062         * libobjc_entry.c: Likewise.
2063         * linking.m: Likewise.
2064         * misc.c: Likewise.
2065         * nil_method.c: Likewise.
2066         * objc/NXConstStr.h: Likewise.
2067         * objc/Object.h: Likewise.
2068         * objc/Protocol.h: Likewise.
2069         * objc/encoding.h: Likewise.
2070         * objc/hash.h: Likewise.
2071         * objc/objc-api.h: Likewise.
2072         * objc/objc-decls.h: Likewise.
2073         * objc/objc-list.h: Likewise.
2074         * objc/objc.h: Likewise.
2075         * objc/runtime.h: Likewise.
2076         * objc/sarray.h: Likewise.
2077         * objc/thr.h: Likewise.
2078         * objc/typedstream.h: Likewise.
2079         * objects.c: Likewise.
2080         * sarray.c: Likewise.
2081         * selector.c: Likewise.
2082         * thr-dce.c: Likewise.
2083         * thr-decosf1.c: Likewise.
2084         * thr-irix.c: Likewise.
2085         * thr-mach.c: Likewise.
2086         * thr-objc.c: Likewise.
2087         * thr-os2.c: Likewise.
2088         * thr-posix.c: Likewise.
2089         * thr-pthreads.c: Likewise.
2090         * thr-rtems.c: Likewise.
2091         * thr-single.c: Likewise.
2092         * thr-solaris.c: Likewise.
2093         * thr-vxworks.c: Likewise.
2094         * thr-win32.c: Likewise.
2095         * thr.c: Likewise.
2096         * libobjc.def: Change copyright header to refer to version 3 of
2097         the GNU General Public License and to point readers at the COPYING3
2098         file and the FSF's license web page.
2099         * makefile.dos: Likewise.
2101 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
2103         * Makefile.in: Change copyright header to refer to version
2104         3 of the GNU General Public License and to point readers at the
2105         COPYING3 file and the FSF's license web page.
2106         * configure.ac: Likewise.
2108 2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
2109             David Ayers  <ayers@fsfe.org>
2111         PR libobjc/27466
2112         * objc/objc-api.h (_objc_unexpected_exception): Declare
2113         new hook.  Update copyright dates.
2114         * exception.c (objc_exception_throw): Use hook.  Update
2115         copyright dates.
2116         * libobjc.def (_objc_unexpected_exception): Export hook.
2117         Update copyright dates.
2119 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2121         * configure: Regenerate.
2123 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2125         * configure: Regenerate.
2127 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
2129         *  Object.m (errno): Replaced by errno.h include.
2130         (compare): Cast self to id to prevent warning on comparison.
2131         * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
2132         already there.
2133         * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
2134         * thr-win32.c (__objc_thread_detach): Remove type warning.
2135         (__objc_thread_id): Likewise.
2136         * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
2137         for noreturn.
2139 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
2140             Steve Ellcey  <sje@cup.hp.com>
2142         * configure: Regenerate for new libtool.
2143         * config.h.in: Regenerate for new libtool.
2145 2008-07-18  Matthias Klose  <doko@ubuntu.com>
2147         * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
2149 2008-07-18  Matthias Klose  <doko@ubuntu.com>
2151         * Makefile.in: Include ../boehm-gc/threads.mk.
2152         (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
2154 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2156         * Makefile.in (install-info): New stub target.
2158 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2160         * configure: Regenerate.
2162 2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
2164         * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
2165         if HAVE_GETIPINFO is not defined.
2167 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
2169         * Object.m (compare): Add type id.
2170         * objc/Object.h: Likewise.
2171         * archive.c (objc_read_class): Use size_t to extend version to be
2172         size of pointer scalar width.
2173         * sendmsg.c (rtx): Undefine it before redefinition.
2174         (__objc_print_dtable_stats): Cast arguments to long as intended.
2176 2008-05-30  Julian Brown  <julian@codesourcery.com>
2178         * exception.c (__objc_exception_class): Initialise as constant
2179         array for ARM EABI. Change macro to static const for non-ARM EABI.
2180         (ObjcException): Add note about structure layout. Remove landingPad
2181         and handlerSwitchValue for ARM EABI.
2182         (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
2183         of function.
2184         (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
2185         (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
2186         ARM EABI unwinding support.
2187         (objc_exception_throw): Use memcpy to initialise exception class.
2189 2008-05-25  Alan Modra  <amodra@bigpond.net.au>
2191         * encoding.c (strip_array_types): Rename from get_inner_array_type.
2192         (rs6000_special_round_type_align): Update.
2194 2008-05-09  Julian Brown  <julian@codesourcery.com>
2196         * Makefile.in (LTLDFLAGS): New.
2197         (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
2199 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
2201         PR bootstrap/35457
2202         * aclocal.m4: Regenerate.
2203         * configure: Regenerate.
2205 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
2207         * configure: Regenerate.
2209 2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2211         * configure.ac: Don't run config-ml.in directly.
2212         (multilib_arg): New.
2213         * configure: Regenerated.
2215 2007-08-06  Andrew Pinski  <pinskia@gmail.com>
2217         PR libobjc/30731
2218         * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
2219         of _Unwind_Word for variables which are used in
2220         read_uleb128/read_sleb128.
2221         (PERSONALITY_FUNCTION): Likewise.
2223 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2225         * aclocal.m4: Regenerated.
2227 2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2229         * configure.ac: Fix a typo in *-*-darwin clause.
2230         * configure: Regenerated.
2232 2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2234         * configure.ac: Fix a typo.
2235         * configure: Regenerated.
2237 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
2239         * configure: Regenerate.
2241 2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2243         * Makefile.in: Replace all uses of libext with libsuffix.
2244         * configure.ac: Likewise.
2245         * configure: Regenerate.
2247         Revert:
2248         * Makefile.in: Remove all uses of $(libext).
2250 2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2252         * Makefile.in: Remove all uses of $(libext).
2254 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
2256         * configure: Regenerate.
2257         * aclocal.m4: Regenerate.
2259 2007-04-21  Andrew Ruder  <andy@aeruder.net>
2261         * sendmsg.c (__objc_get_forward_imp): Call
2262         __objc_msg_forward2 for real.
2264 2007-04-09  Andrew Ruder  <andy@aeruder.net>
2266         * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2267         external libraries to provide a function that returns the real
2268         forwarding function based on both the selector and the receiver.
2269         * objc/objc-api.h: Define __objc_msg_forward2.
2271 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2273         * Makefile.in: Add dummy install-pdf target.
2275 2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2277         * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2278         unused warning.
2280 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
2282         * encoding.c (darwin_rs6000_special_round_type_align): New.
2284 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
2286         * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2287         * configure.ac: Use multi.m4 from aclocal rather than custom
2288         code.  Use multi_basedir instead of toplevel_srcdir.
2289         * aclocal.m4: Regenerate.
2290         * configure: Regenerate.
2292 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
2294         * Makefile.in: Added empty "pdf" target.
2296 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2298         * configure: Regenerate.
2300 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
2302         * Makefile.in: Add install-html target. Add install-html to .PHONY
2304 2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2306         PR libobjc/26309
2307         * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2309 2006-01-24  David Ayers  <d.ayers@inode.at>
2311         PR libobjc/9751
2312         * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2313         and insure the new strings are '\0' termintated.
2315 2006-01-24  David Ayers  <d.ayers@inode.at>
2317         PR libobjc/13946
2318         * configure.ac: Add include directives for --enable-objc-gc.
2319         * Makefile.in: Ditto.
2320         * configure: Regenerate.
2322         * gc.c (__objc_class_structure_encoding): Increment the used bytes
2323         instead of the local pointer to them.
2325 2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
2327         PR objc/25360
2328         * objc/objc-api.c (_C_COMPLEX): New define.
2329         * encoding.c (objc_sizeof_type): Handle _C_Complex.
2330         (objc_alignof_type): Likewise.
2331         (objc_skip_typespec): Likewise.
2333 2005-12-15  David Ayers  <d.ayers@inode.at>
2335         PR libobjc/14382
2336         * README (+load,+initialize): Fix documentation to reflect
2337         intended and implemented semantics for +load and +initialize.
2339 2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
2341         * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2342         the name.
2343         (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2344         (rs6000_special_round_type_align): Update for the ABI fix.
2345         (objc_layout_finish_structure): Correct the encoding which is passed to
2346         ROUND_TYPE_ALIGN.
2348 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2350         PR libobjc/25347
2351         * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2352         but use the struct layout functions.
2353         (objc_alignof_type): Likewise.
2354         (objc_layout_structure): Handle _C_UNION_B also.
2355         (objc_layout_structure_next_member): Likewise.
2356         (objc_layout_finish_structure): Likewise.
2358 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2360         PR libobjc/25346
2361         * objc/objc-api.h (_C_BOOL): New define.
2362         * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2363         (objc_alignof_type): Likewise.
2364         (objc_skip_typespec): Likewise.
2366 2005-11-20  David Ayers  <d.ayers@inode.at>
2368         PR libobjc/19024
2369         * objc/hash.h: Remove deprecated hash API.
2370         * hash_compat.c: Remove.
2371         * Makefile.in: Remove reference to hash_compat.c.
2373         * configure.ac (VERSION): Bump library version to 2:0:0.
2374         * configure: Regenerate.
2376 2005-11-09  Alexandre Oliva  <aoliva@redhat.com>
2378         PR other/4372
2379         * thr-objc.c (_XOPEN_SOURCE): Define.
2381 2005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
2383         PR libobjc/23612
2384         * objc/objc-api.h (struct objc_ivar): Move definition to
2385         global scope.
2387 2005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
2388             Rasmus Hahn  <rassahah@neofonie.de>
2390         PR libobjc/23108
2391         * archive.c (objc_write_type): Correct the element offset.
2392         (objc_read_type): Likewise.
2394 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2396         * All files: Update FSF address.
2398 2005-08-13  Marcin Koziej  <creep@desk.pl>
2399             Andrew Pinski  <pinskia@physics.uc.edu>
2401         PR libobjc/22492
2402         * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2404 2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2406         * Makefile.in (extra_ldflags_libobjc): New.
2407         (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2408         (libobjc_gc$(libext).la): Likewise.
2409         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2410         "-Wl,-single_module".
2411         * configure: Regenerate.
2412         * linking.m (_objcInit): Remove.
2414 2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
2416         PR libobjc/22606
2417         * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2419 2005-06-08  David Ayers  <d.ayers@inode.at>
2421         * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2422         objc/encoding.h, objc/hash.h, objc/objc-api.h,
2423         objc/runtime.h, objc/sarray.h, objc/thr.h,
2424         objc/typedstream.h: Do not include Objective-C headers as
2425         system headers.
2427 2005-06-07  David Ayers  <d.ayers@inode.at>
2429         * archive.c, init.c, selector.c: Include hash.h.
2430         * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2431         init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2432         sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2433         thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2434         thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2435         Include Objective-C headers with quotes and objc/ directory
2436         prefix.
2438 2005-05-19  Richard Henderson  <rth@redhat.com>
2440         * exception.c: Revert last change.
2442 2005-05-19  David Ayers  <d.ayers@inode.at>
2444         * exception.c: Include tsystem.h for unwind.h.
2446 2005-05-09  Mike Stump  <mrs@apple.com>
2448         * configure: Regenerate.
2450 2005-04-12  Mike Stump  <mrs@apple.com>
2452         * configure: Regenerate.
2454 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2456         * Makefile.in: Set gcc_version here.
2457         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
2458         in definition of toolexeclibdir so that $(gcc_version) is expanded
2459         by the Makefile.
2460         * aclocal.m4, configure: Regenerate.
2462 2005-03-03  David Ayers  <d.ayers@inode.at>
2464         * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2465         version reference.  Correct typo.
2467 2005-03-02  David Ayers  <d.ayers@inode.at>
2469         PR libobjc/19024
2470         * Makefile.in (OBJS): Add hash_compat.lo.
2471         (OBJS_GC): Add hash_compat_gc.lo.
2472         (hash_compat_gc.lo): New target and rule.
2473         * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2474         (hash_next, hash_value_for_key, hash_is_key_in_hash)
2475         (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2476         with objc_.  Add deprecated non prefixed inlined versions.
2477         (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2478         declarations.
2479         * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2480         (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2481         update callers.
2482         * hash_compat.c: New file.
2483         * archive.c: Update callers.
2484         * init.c: Likewise.
2485         * selector.c: Likewise.
2486         * libobjc.def: Add objc_ versions of hash functions.
2488 2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
2490         PR libobjc/20252
2491         * Makefile.in (GTHREAD_FLAGS): Remove.
2492         (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2493         * thr-objc.c: Include config.h.
2494         * configure.ac: Instead of looking at GCC's makefile, figure out if
2495         GTHREAD_FLAGS should be defined by looking at the `thread model'
2496         of the current gcc.
2497         * configure: Regenerate.
2498         * config.h.in: Regenerate.
2500 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2502         PR bootstrap/17383
2503         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2504         (Determine CFLAGS for gthread): Use $host_subdir.
2505         * configure: Regenerate.
2506         * Makefile.in (host_subdir): New.
2507         (INCLUDES): Use it.
2509 2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
2511         PR libobjc/12035
2512         * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2513         they are not used.
2514         Include limits.h and stdlib.h.
2515         Define BITS_PER_WORD.
2517 2004-12-12  Alexander Malmberg  <alexander@malmberg.org>
2519         * selector.c (__objc_init_selector_tables): Add missing void to
2520         definition.
2522 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
2524         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2525         * configure, aclocal.m4: Regenerate.
2527 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2529         * configure: Regenerate for libtool change.
2531 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2533         * configure: Regenerate for libtool reversion.
2535 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2537         * configure: Regenerate for libtool change.
2539 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2541         * aclocal.m4, config.h.in: Regenerate.
2543 2004-10-08  Mike Stump  <mrs@apple.com>
2544             Andrew Pinski  <pinskia@physics.uc.edu>
2546         * aclocal.m4: Rename to ...
2547         * acinclude.m4: here and also use m4_include instead of sinclude.
2548         * aclocal.m4: Regenerate.
2549         * configure: Regenerate.
2550         * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2551         * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2553 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
2555         * archive.c: Fix all the warnings about passing unsigned char*
2556         to char* and the other way too.
2558 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
2560         PR libobjc/16448
2561         * exception.c: Include config.h
2562         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2563         SJLJ_EXCEPTIONS.
2564         * configure.ac: Find out what exception handling code we use.
2565         * configure: Regenerate.
2566         * config.h.in: New file, regenerate.
2568 2004-09-16  Andrew Pinski  <apinski@apple.com>
2570         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2572 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
2574         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2575         ACX_NONCANONICAL_TARGET.
2576         * configure: Regenerate.
2578 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
2580         * objc/sarray.h: Hoist include of assert.h near the top of file,
2581         and mark the remainder of the file 'extern "C"'.
2583 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2585         * objc/Object.h: Move includes out of extern "C" blocks.
2586         * objc/encoding.h: Likewise.
2587         * objc/hash.h: Likewise.
2588         * objc/objc-api.h: Likewise.
2589         * objc/runtime.h: Likewise.
2590         * objc/sarray.h: Likewise.
2591         * objc/typedstream.h: Likewise.
2593 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
2595         * objc/NXConstStr.h: Update copyright date; bracket with
2596         'extern "C"' for C++ use; make include syntax consistent
2597         by using <...> instead of "..."; hoist <objc/...> includes
2598         above the 'extern "C"' block.
2599         * objc/Object.h: Likewise.
2600         * objc/Protocol.h: Likewise.
2601         * objc/encoding.h: Likewise.
2602         * objc/hash.h: Likewise.
2603         * objc/runtime.h: Likewise.
2604         * objc/sarray.h: Likewise.
2605         * objc/thr.h: Likewise.
2606         * objc/typedstream.h: Likewise.
2607         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2608         (objc_static_instances): For C++ case, do away with
2609         zero-sized array.
2610         (objc_method): Hoist definition to file scope.
2611         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2612         class_get_instance_method, class_create_instance,
2613         class_get_class_name, class_get_instance_size,
2614         class_get_meta_class, class_get_super_class, class_get_version,
2615         class_is_class, class_is_meta_class, class_set_version,
2616         class_get_gc_object_type, class_ivar_set_gcinvisible,
2617         get_imp): Rename 'class' parameter to '_class'.
2618         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2619         * objc/objc.h: Update copyright date.
2620         (arglist_t): Provide a union tag.
2622 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
2624         * thr.c (__objc_thread_detach_function): Do not mark as volatile
2625         but instead use the attribute noreturn.
2627 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
2629         * encoding.c: Rename target_flags with a #define to avoid
2630         conflict with a prior declaration.
2632 2004-06-24  Andrew Pinski  <apinski@apple.com>
2634         * objc/encoding.h: Wrap the functions with extern "C" for C++
2635         mode.
2636         * objc/hash.h: Likewise.
2637         * objc/objc-api.h: Likewise.
2638         * objc/objc-list.h: Likewise.
2639         * objc/runtime.h: Likewise.
2640         * objc/sarray.h: Likewise.
2641         * objc/thr.h: Likewise.
2642         * objc/typedstream.h: Likewise.
2645 2004-06-21  Nick Clifton  <nickc@redhat.com>
2647         * encoding.c (BITS_PER_UNIT): Define if a definition is not
2648         provided.
2650 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2652         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2653         (exception_gc.lo): New.
2654         (OBJS_GC): Add exception_gc.lo.
2656 2004-06-17  Richard Henderson  <rth@redhat.com>
2658         * exception.c: New file.
2659         * Makefile.in (exception.lo): New.
2660         (OBJS): Add it.
2662 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
2664         * linking.m (_objcInit): New empty function
2665         for Darwin only.
2667 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2669         * configure.ac: Support --enable-shared=libobjc.
2670         * configure: Regenerate.
2672         PR libobjc/15901
2673         * configure.ac: Do not disable shared by default.
2674         * configure: Regenerate.
2676 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
2678         * Protocol.m ([-isEqual:]): Small optimizations returning
2679         immediately if the argument is equal to self, and accessing
2680         the argument's name directly if it's a protocol.
2682 2004-06-03  David Ayers  <d.ayers@inode.at>
2684         * Protocol.m ([-isEqual:]): Test the class of the argument.
2686 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2688         * configure.ac (includedir): Rename to ...
2689         (includedirname).
2690         * Makefile.in: s/includedir/includedirname/.
2692         PR target/11572
2693         * configure.ac (includedir): Set to "include"
2694         except for Darwin.
2695         (libext) Set to empty except for Darwin.
2696         * configure: Regenerate
2697         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2698         s/include/$(includedir)/g.
2700 2004-05-25  Daniel Jacobowitz  <drow@false.org>
2702         * Makefile.in: Add .NOEXPORT.
2704 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2706         Merge from the libobjc-branch
2707         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
2709                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2711         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2713                 * Makefile.in (OBJC_H): Add objc-deps.h.
2715         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
2717                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2718                 ([-hash], [-isEqual:]): New methods.
2720         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
2722                 * sarray.c (sarray_free): Add a better comment.
2724         2004-01-27  Adam Fedor  <fedor@gnu.org>
2726                 * hash.c (hash_add): Cast cachep to int.
2727                 * selector.c (__sel_register_typed_name): Cast
2728                 soffset_decode to int.
2730         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
2732                 * selector.c: Rename register_selectors_from_list to
2733                 __objc_register_selectors_from_list. Update caller.
2734                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2735                 while registering selectors. Use __sel_register_typed_name instead
2736                 of sel_register_typed_name. Check for NULL method_name:s.
2737                 (pool_alloc_selector): New function.
2738                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2739                 selector structures.
2740                 * sendmsg.c (class_add_method_list): Use
2741                 __objc_register_selectors_from_list.
2742                 * objc/runtime.h: Add __objc_register_selectors_from_list.
2744         2004-01-25  Adam Fedor  <fedor@gnu.org>
2745                     Nicola Pero  <n.pero@mi.flashnet.it>
2746                     Andrew Pinski  <pinskia@physics.uc.edu>
2748                 * objc/objc-decls.h: New file.
2749                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2750                 (_objc_load_callback): Likewise.
2751                 (_objc_object_alloc): Likewise.
2752                 (_objc_object_copy): Likewise.
2753                 (_objc_object_dispose): Likewise.
2755         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
2757                 * archive.c: s/__inline__/inline
2758                 * sendmsg.c: Likewise.
2760                 * encoding.c: Remove FIXME about the warning
2761                 about unused variable.
2762                 * sendmsg.c: Add a FIXME comment saying that
2763                 this should be using libffi.
2765                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2768 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
2770         * archive.c (objc_read_class): Initialize class_name.
2771         (objc_read_selector): Initialize selector_name.
2773 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
2775         * Makefile.in (toolexecdir): Remove trailing space.
2777 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2779         PR libobjc/14948
2780         * configure.ac: De-precious CC so multilibs work.
2781         * configure: Regenerate.
2783 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2785         * configure.ac: Restore toolexecdir.
2786         * Makefile.in: Restore toolexecdir.
2787         * configure: Regenerate.
2789 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2791         * configure.ac: Remove (unused) glibcpp_prefixdir.
2792         * configure: Regenerate.
2794         * configure.in: Rename to configure.ac.
2795         * Makefile.in: Update to match.
2797         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2798         Replace glibcpp_toolexeclibdir with toolexeclibdir.
2799         * configure.in: Remove glibcpp_toolexecdir (unused).
2800         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
2801         config.h or stamp-h (unused).  Move one comment to the right place.
2802         * configure: Regenerate.
2803         * config.h.in: Remove (unused).
2805         * config.h.in: Regenerate with autoheader.
2807         * Makefile.in: Remove (unused) gcc_version_trigger.
2808         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
2809         gcc_version_trigger.
2810         * configure: Regenerate.
2812         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2813         Sort file into sections.  Remove dnl where appropriate.  Fix
2814         other style issues.
2815         * configure: Regenerate.
2817         * configure.in: Replace old AC_PROG_CC hack with new one.
2818         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2819         are no subdirectory output files, so this is fine).  Change prereq
2820         to autoconf 2.59.
2821         * aclocal.m4: Include ../config/no-executables.m4.
2822         * configure: Regenerate with autoconf 2.59.
2824         * configure.in: Improve comments on gthread_cflags.  Improve m4
2825         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2826         * configure: Regenerate.
2828         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
2829         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
2830         redundant checks for values of RANLIB, AR, INSTALL.
2831         * configure: Regenerate.
2833         * configure.in: Clean up handling of
2834         --enable-version-specific-runtime-libs and related variables;
2835         replace 'if test' with 'case' where reasonable.  Fix comments.
2836         Remove useless libstdcxx_interface.
2837         * configure: Regenerate.
2839         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2840         Replace uses of target_alias with target_noncanonical.
2841         * aclocal.m4: Include ../config/acx.m4.
2842         * configure: Regenerate.
2843         * Makefile.in: Replace uses of target_alias with target_noncanonical.
2844         Fix copyright statement.
2846         * configure.in: Hand-inline bulky, confusing macros from
2847         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
2848         Update copyright notice.  Remove stuff for automake, which isn't
2849         used in this directory.  Remove emacs local variables.
2850         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
2851         * configure: Regenerate.
2853 2004-03-16  Manfred Hollstein  <mh@suse.com>
2855         * Makefile.in, configure.in, configure: Update copyright years.
2857 2004-03-15  Manfred Hollstein  <mh@suse.com>
2859         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2860         definition from configure.in.
2861         * configure.in (PACKAGE): Add definition.
2862         (VERSION): Add definition; substitute it in output files.
2863         * configure: Re-generate.
2865 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
2867         * objc/hash.h (hash_string, compare_strings):
2868         Add type-casts to make Objective-C++ happy.
2869         * objc/typedstream.h (objc_get_stream_class_version):
2870         Rename parameter from 'class' to 'class_name' to make
2871         Objective-C++ happy.
2873 2004-03-01  Michael Matz  <matz@suse.de>
2875         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2877 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
2879         * objc/objc-api.h (objc_super): The 'class' field shall
2880         be named 'super_class' #ifdef __cplusplus.
2882 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
2884         PR target/10781
2885         * encoding.c (rs6000_special_round_type_align): Define.
2887 2004-01-14  Adam Fedor  <fedor@gnu.org>
2889         PR libobjc/12155
2890         * selector.c (__objc_register_instance_methods_to_class): Free
2891         new_list if not used.
2893 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
2895         PR libobjc/11904
2896         * sarray.c (sarray_free): Free array->is_copy_of latter.
2898 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
2900         PR 11433
2901         * Protocol.m (descriptionForInstanceMethod): Don't dereference
2902         instance_methods if it's NULL.
2903         (descriptionForClassMethod): Likewise for class_methods.
2905 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2907         * Makefile.in (runtime-info.h): Remove -Wp.
2909 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2911         * Makefile.in (CC1OBJ): Remove.
2912         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2913         correctly.
2914         Use .m extension for temporary file.
2915         Remove assembler temp file.
2917 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2919         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2921 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2923         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2925 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2927         * configure: Regenerate.
2929 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
2931         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2932         (libdir)/gcc-lib/ when installing.
2933         * configure: Regenerate.
2935 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
2937         libobjc/9969
2938         * sendmsg.c (get_imp): Fixed rare threading problem.
2939         (__objc_responds_to): Similar fixes.
2940         (objc_msg_lookup): Similar fixes.
2941         (__objc_init_install_dtable): Lock the runtime before checking if the
2942         table is installed.
2944 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2946         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2947         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2948         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2949         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2950         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2951         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2952         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2953         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2954         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2955         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2956         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2958 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
2959                           Nicola Pero  <n.pero@mi.flashnet.it>
2961         libobjc/10742
2962         * init.c (class_superclass_of_class): New function.
2963         (create_tree_of_subclasses_inherited_from): Use it.
2964         (__objc_tree_insert_class): Likewise.
2965         (class_is_subclass_of_class): Likewise.
2967 2003-04-11  David Chad  <davidc@freebsd.org>
2968             Loren J. Rittle  <ljrittle@acm.org>
2970         libobjc/8562
2971         * objc/hash.h (hash_string): Constify correctly.
2972         (compare_ptrs): Use direct compare.
2973         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2974         * objc/sarray.h: Global rename index to indx to avoid shadow.
2976 2003-03-12  Andreas Schwab  <schwab@suse.de>
2978         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2979         glibcpp_toolexeclibdir.
2980         * configure: Rebuilt.
2982 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2984         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2985         config.status.
2986         * configure: Rebuilt.
2988 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2990         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2991         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2992         version_specific_libs is enabled.
2993         * configure: Rebuilt.
2995 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2997         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2998         (install-libs, install-headers): Prepend $(DESTDIR) to
2999         destination paths in all (un)installation commands.
3001 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
3003         * thr-objc.c: Include coretypes.h and tm.h.
3005 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
3007         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
3009 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
3011         * configure.in: Remove skip-this-dir support.
3012         * configure: Regenerate.
3014 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3016         * Makefile.in (all): Fix multilib parallel build.
3018 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3020         * sendmsg.c (nil_method): Declare not to take a variable number of
3021         args.
3022         (objc_msg_lookup): Cast nil_method to IMP before returning it.
3023         (objc_msg_lookup_super): The same.
3025 2002-09-10  Jan Hubicka  <jh@suse.cz>
3027         * nil_method.c (nil_method): No longer defined with variable
3028         arguments.
3030 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
3032         * objc/encoding.h: Fix formatting.
3033         * objc/hash.h: Likewise.
3034         * objc/objc-api.h: Likewise.
3035         * objc/runtime.h: Likewise.
3036         * objc/thr.h: Likewise.
3037         * archive.c: Likewise.
3038         * class.c: Likewise.
3039         * encoding.c: Likewise.
3040         * gc.c: Likewise.
3041         * hash.c: Likewise.
3042         * init.c: Likewise.
3043         * misc.c: Likewise.
3044         * nil_method.c: Likewise.
3045         * objects.c: Likewise.
3046         * sarray.c: Likewise.
3047         * selector.c: Likewise.
3048         * sendmsg.c: Likewise.
3049         * thr-mach.c: Likewise.
3050         * thr.c: Likewise.
3052 2002-06-25  DJ Delorie  <dj@redhat.com>
3054         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
3055         GLIBCPP_TOPREL_CONFIGURE.
3056         * configure.in: Call it before AC_CANONICAL_SYSTEM.
3057         * configure: Regenerate.
3059 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3061         * Object.m (forward, read, write): Fix unused parameter warnings.
3062         * encoding.c: Include <stdlib.h>.
3063         (target_flags): Mark with attribute unused.
3064         (atoi): Delete.
3065         * runtime.h (__objc_selector_max_index): Change to unsigned int.
3066         (__objc_generate_gc_type_description): Prototype.
3067         * selector.c (__objc_selector_max_index): Change to unsigned int.
3069 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3071         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
3072         we always have a return value: if __objc_msg_forward does not
3073         supply a forwarding implementation, return the default
3074         __builtin_apply based one.
3076 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3078         * Object.m: Fix signed/unsigned warning.
3079         * Protocol.m: Likewise.
3080         * archive.c: Always include stdlib.h.
3081         (objc_read_short, objc_read_unsigned_short, objc_read_int,
3082         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
3083         Fix signed/unsigned warning.
3084         (objc_write_type, objc_read_type, objc_write_types,
3085         objc_read_types): Ensure ctype 8-bit safety.
3086         (__objc_no_write, __objc_no_read): Mark unused parameters.
3087         * class.c (class_table_setup): Specify void arg.
3088         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
3089         objc_skip_typespec, objc_skip_offset,
3090         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
3091         (objc_layout_structure_next_member): Ensure variables are
3092         initialized.
3093         * gc.c (__objc_generate_gc_type_description,
3094         class_ivar_set_gcinvisible): Mark unused parameters.
3095         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
3096         unused parameters.
3097         (__objc_init_protocols) Fix signed/unsigned warning.
3098         * nil_method.c (nil_method): Mark unused parameters.
3099         * thr.h (objc_thread_callback): Specify void arg.
3100         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
3101         signed/unsigned warning.
3102         (sarray_free): Fix formatting.
3103         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
3104         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
3106 2002-06-09  Andreas Jaeger  <aj@suse.de>
3108         * encoding.c (objc_layout_structure_next_member): Remove unused
3109         variable.
3111 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3113         * Makefile.in (SHELL): Set to @SHELL@.
3114         (WARN_CFLAGS): New.
3115         (ALL_CFLAGS): Add $(WARN_CFLAGS).
3117 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3119         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
3120         * configure: Regenerate.
3122 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
3124         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
3125         script entry, and set LD to it when configuring multilibs.
3126         * configure: Rebuilt.
3128 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
3130         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
3132 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
3134         PR objc/6107
3135         * objc/objc-api.h (struct objc_protocol_list): Change type of
3136         member count from int to size_t.
3138 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3140         PR libobjc/4039
3141         * aclocal.m4: Replace with version copied from libstdc++-v3.
3142         * configure.in: Update for changes to aclocal and Makefile.
3143         * configure: Regenerate.
3144         * Makefile.in: Correct install of multilibs and shared libs, use
3145         INSTALL_DATA for include files.
3147 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
3149         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
3150         categories - when an unclaimed category was found, the loop was
3151         doing two steps forward instead of one, so that in certain cases
3152         it was failing to properly load all the categories.  (Reported
3153         with fix by Alexander Malmberg <alexander@malmberg.org>).
3155 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
3157         * encoding.c: Add target_flags.
3159 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
3161          * objc/objc-api.h (_C_VECTOR): New.
3163          * encoding.c (VECTOR_TYPE): New.
3165 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3167         * class.c: Rewritten the class table to use optimized, lock-free
3168         lookup.  This more than doubles the speed of class method
3169         invocations.  (class_table_setup), (class_table_insert),
3170         (class_table_replace), (class_table_get_safe),
3171         (class_table_next), (class_table_print),
3172         (class_table_print_histogram): New functions.
3173         (__objc_init_class_tables): Use class_table_setup.
3174         (__objc_add_class_to_hash): Use class_table_get_safe and
3175         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
3176         assert the existence of the table; do not lock the runtime; use
3177         class_table_get_safe.  (objc_next_class): Use class_table_next.
3178         (__objc_resolve_class_links): Use class_table_next.
3179         (class_pose_as): Use class_table_replace.
3181 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
3183         * gc.c: Removed the DEBUG declaration.
3185 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3187         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
3188         rather than through objc_thread_id, to save a function call.
3189         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
3190         Ditto.
3192 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3194         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
3195         to cast an id to a Class, which can not be done.  Make the check
3196         by using CLS_ISMETA on the class pointer instead.
3197         (object_is_meta_class): Similar fix.
3199 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
3201         * configure.in (AC_EXEEXT): Work around in case it expands to
3202         nothing, as in autoconf 2.50.
3203         * acinclude.m4: Likewise.
3204         * configure: Rebuilt.
3206 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
3208         * THREADS: Explain that when we compile libobjc inside GCC, we
3209         always use thr-objc.c as a backend, which uses GCC's thread code.
3211 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
3213         * init.c (__objc_send_message_in_list): When setting a new entry
3214         in __objc_load_methods use the method IMP as key, but check to see
3215         if the method is in the hashtable by looking at the IMP also.
3216         Also ... call the method after adding it to the hashtable rather
3217         than before ... thus preventing an obscure possibility of infinite
3218         recursion if a +load method itself loads a subclass.
3220 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
3222         * init.c (__objc_send_message_in_list): When setting a new entry
3223         in __objc_load_methods use the method name as key, not the method
3224         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
3226 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3228         * objc-features.texi: Move to ../gcc/objc.texi.
3229         * fdl.texi: Remove.
3230         * Makefile.in: Don't generate documentation from
3231         objc-features.texi.
3233 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
3235         * fdl.texi: New file.
3236         * objc-features.texi: Simplify.
3237         * Makefile.in: Adjust accordingly.
3239 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3241         * objc-features.texi: Use the GFDL.
3243 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
3245         * encoding.c (REAL_TYPE): Define.
3247 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
3249         * encoding.c (TYPE_MODE): Define.
3251 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
3253         * thr.c (objc_thread_add): New function.
3254         (objc_thread_remove): Ditto.
3255         * objc/thr.h: Declare them.
3256         * libobjc.def: Mention them.
3258 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
3260         * objc-features.texi: Document the @compatibility_alias compiler
3261         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3263 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3265         * sendmsg.c (__objc_forward): Delete strlen() declaration.
3267 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
3269         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3270         we're not interested in the result and they might fail.
3271         * configure: Regenerated.
3273 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3275         * objc-features.texi: Use @email.
3277 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3279         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3280         printf.
3282 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
3284         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3285         determines the value dynamically.
3287 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
3289         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3290         libraries to provide a function that returns the real forwarding
3291         function. This can alleviate problems __builtin_apply() and
3292         friends have on various platforms. (Solution suggested by Helge
3293         Hess.)
3295         * objc/objc-api.h: Define __objc_msg_forward.
3297         * sendmsg.c: Define gen_rtx_REG.
3299 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3301         * thr-rtems.c: New file. Stub to compile.
3303 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3305         * configure: Rebuilt with new libtool.m4.
3307 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3309         * configure.in: Create a config.h file. Check for <sched.h>.
3310         * configure: Regenerate.
3312         * config.h.in: Check for <sched.h>.
3314 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
3316         * configure: Regenerate after change to ../libtool.m4.
3318 2000-08-14  Andreas Schwab  <schwab@suse.de>
3320         * objc-features.texi (Top): Move @menu at end of node.
3322 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
3324         * objc-features.texi: Move @node Top before @menu.
3326 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3328         * objc-features.texi: Documented the new -fconstant-string-class
3329         option.
3331 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3333         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3334         improve the Posix thread support for Objective-C.
3336 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3338         * aclocal.m4: Replace copy of ../libtool.m4 with
3339         sinclude(../libtool.m4).
3341 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
3343         * configure.in: Added libtool support; build shared libraries
3344         if --enable-shared was passed on command line.
3345         * Makefile.in: Modified most compilation commands to use libtool.
3346         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3347         libtool distribution.
3349 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3351         * sarray.c, Object.m: Removed the explicit prototypes for strlen
3352         and memcpy on 64-bit platforms (Suggested by Rodney Brown
3353         <rdb@cup.hp.com>).
3355 2000-05-12  H.J. Lu  (hjl@gnu.org)
3357         * Makefile.in (GTHREAD_FLAGS): New.
3358         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3359         (OBJC_THREAD_FILE): Changed to thr-objc.
3361         * configure.in (GTHREAD_FLAGS): New, check and replace it for
3362         Makefile.
3363         (OBJC_THREAD_FILE): Removed.
3365         * thr-objc.c: New.
3367 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3369         * objc/hash.h: Include string.h.
3371 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3373         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3375 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3377         * Object.m (strlen): Provide prototype on all 64bit platforms,
3378         not only alpha.
3379         * sarray.c (memcpy): Likewise.
3380         * encoding.c (objc_layout_finish_structure): Don't use
3381         ROUND_TYPE_ALIGN on sparc.
3383         * encoding.c (objc_layout_structure_next_member): Do the whole
3384         procedure even for the first member, so that we get correct
3385         alignment.
3387 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3389         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3390         comments.
3392 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3394         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3396 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
3398         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3400 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
3402         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3403         the compiler when building C code.
3405 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
3407         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3408         libdir, libsubdir and tooldir.
3410 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
3412         * init.c (__objc_force_linking): Make global.
3414 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
3416         * configure.in (AC_EXEEXT): Remove call.
3417         (compiler_name): Explicitly check with no extension and .exe
3418         extension.
3419         * configure: Regenerate.
3421 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3423         * Makefile.in (CC1OBJ): Define in terms of CC.
3424         (runtime-info.h): Use.
3426 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3428         * objc-features.texi: Updated the URL to Boehm's GC page.
3430 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3432         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3433         the char as being signed (patch from Daniel Jacobowitz
3434         <drow@false.org>).
3436 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3438         * configure.in (AC_PREREQ): Update to 2.13.
3439         (AC_EXEEXT): Call to find possible file extension.
3440         (compiler_name): Use.
3441         * configure: Regenerate.
3443 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
3445         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3447 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
3449         * configure.in (thread_file): Correct and simplify code to find
3450         the thread file.
3451         * configure: Rebuilt.
3453 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
3455         * configure.in (compiler_name): Add check to detect if this
3456         language's compiler has been built.
3457         * configure: Regenerate.
3459 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3461         *  configure.in: Use AC_PREREQ(2.12.1).
3463 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
3465         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3467 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3469         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3471 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3473         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3475 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
3477         * objc-features.texi (Top): Changed the email address.
3478         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3480 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
3482         * encoding.c: Redefine get_inner_array_type to get the first entry
3483         in the structure.
3485 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
3487         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3488         (objc_get_type_qualifiers): Similarly.
3489         * objc/encoding.h (_C_BYREF): Define.
3490         (_F_BYREF): Define.
3492 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
3494         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3495         works out on 64-bit systems.
3497 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
3499         * Makefile.in (INCLUDES): Make it multilib-friendly.
3501 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
3503         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3505 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
3506                          Jeffrey A Law  (law@cygnus.com)
3508         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3509         (FLAGS_TO_PASS): Added.
3510         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3512         * archive.c: Change config.h to tconfig.h.
3514         * configure.in: Find gcc's object directory even for multilibs.
3516 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
3518         * configure.in: Escape ^ in grep string.
3519         * configure: Rebuilt.
3521 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
3523         * All .h files pushed down into the objc/ subdirectory.
3524         * Makefile.in (copy_headers): Corresponding changes.
3525         * configure.in (AC_INIT): Corresponding changes.
3526         * configure: Rebuilt.
3528 1998-09-30  Ben Elliston  <bje@cygnus.com>
3529             Jeff Law      <law@cygnus.com>
3531         * Makefile.in: Rewrite.
3533         * configure.in: Likewise.
3535         * configure: Regenerate.
3537         * All .c files.  Remove "objc" prefix when including objc header
3538         files.  Include tconfig.h, not ../tconfig.h.
3540 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
3542         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3543         (get_inner_array_type): Define.
3545 1998-09-21  Ben Elliston  <bje@cygnus.com>
3547         * New directory.  Moved files from ../gcc/objc.
3549 Copyright (C) 1998-2019 Free Software Foundation, Inc.
3551 Copying and distribution of this file, with or without modification,
3552 are permitted in any medium without royalty provided the copyright
3553 notice and this notice are preserved.