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