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