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