[RS6000] fix rtl-checking internal compiler error
[official-gcc.git] / libobjc / ChangeLog
blobf6eadaf259e0445bce01b5572656b74b991bba3e
1 2016-11-30  Matthias Klose  <doko@ubuntu.com>
3         * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking
4         for the existence of the pkg-config modules.
5         * Regenerate.
7 2016-11-30  Jakub Jelinek  <jakub@redhat.com>
9         * configure.ac (--enable-objc-gc): If not given, default to
10         enable_objc_gc=no.
11         * configure: Regenerated.
13 2016-11-30  Matthias Klose  <doko@ubuntu.com>
15         * configure.ac (--enable-objc-gc): Allow to configure with a
16         system provided boehm-gc.
17         * configure: Regenerate.
18         * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
19         * gc.c: Include system bdw-gc headers.
20         * memory.c: Likewise.
21         * objects.c: Likewise.
23 2016-11-15  Matthias Klose  <doko@ubuntu.com>
25         * aclocal.m4: Regenerate.
26         * configure: Likewise.
28 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
30         Update copyright years.
32 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
34         PR libobjc/24775
35         * encoding.c (_darwin_rs6000_special_round_type_align): Use
36         __CHAR_BIT__ instead of BITS_PER_UNIT.
37         (objc_sizeof_type): Likewise.
38         (objc_layout_structure): Likewise.
39         (objc_layout_structure_next_member): Likewise.
40         (objc_layout_finish_structure): Likewise.
41         (objc_layout_structure_get_info): Likewise.
43 2015-11-03  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
45         PR libobjc/24775
46         * encoding.c (objc_layout_finish_structure): Remove usage of
47         ROUND_TYPE_SIZE.
49 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
51         PR libobjc/24775
52         * sendmsg.c (tm.h): Remove include.
54 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
56         PR libobjc/24775
57         * sendmsg.c (gen_rtx): Remove macro.
58         (gen_rtx_MEM): Likewise.
59         (gen_rtx_REG): Likewise.
60         (rtx): Likewise.
62 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
64         PR libobjc/24775
65         * sendmsg.c: Remove check of STRUCT_VALUE macro.
67 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
69         * configure.ac: Remove manual SJLJ check.
70         * config.h.in: Regenerate.
71         * configure: Likewise.
72         * exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
74 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
76         * aclocal.m4: Regenerated with automake-1.11.6.
78 2015-05-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
80         * configure: Regenerate.
82 2015-05-01  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
84         * acinclude.m4: Include bitfields.m4.
85         * config.h.in: Regenerate.
86         * configure: Likewise.
87         * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
88         * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
90 2015-04-29  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
92         * encoding.c (objc_layout_structure_next_member): Check the value of
93         PCC_BITFIELD_TYPE_MATTERS not if it is defined.
95 2015-02-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
97         PR libobjc/63765
98         * thr.c (_XOPEN_SOURCE): Remove.
100 2015-01-27  Matthias Klose  <doko@ubuntu.com>
102         * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
104 2015-01-09  Dimitris Papavasiliou  <dpapavas@gmail.com>
106         PR libobjc/51891
107         * ivars.c: Add a check for classes without instance
108         variables, which have a NULL ivar list pointer.
110 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
112         Update copyright years.
114 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
116         PR bootstrap/63784
117         * configure: Regenerated.
119 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
121         PR target/63610
122         * configure: Regenerate.
124 2014-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
126         * thr.c (_XOPEN_SOURCE): Define as 600.
128 2014-07-27  Alan Modra  <amodra@gmail.com>
129             Matthias Klose  <doko@ubuntu.com>
131         PR libobjc/61920
133         * encoding.c: Define rs6000_special_adjust_field_align_p.
135 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
137         Update copyright years
139 2013-09-20  Alan Modra  <amodra@gmail.com>
141         * configure: Regenerate.
143 2013-07-21   Ondřej Bílka  <neleai@seznam.cz>
145         * class.c: Fix typos.
146         * encoding.c: Likewise.
147         * init.c: Likewise.
148         * objc-private/runtime.h: Likewise.
149         * objc/runtime.h: Likewise.
150         * objc-sync.c: Likewise.
152 2013-07-04  Kai Tietz  <ktietz@redhat.com>
154         * exception.c: Add check for SjLj to SEH blocks.
156 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
158         Update copyright years.
160 2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
162         * encoding.c (TARGET_VSX): Provide definitions based on the
163         current compilation options, and not based off the target options
164         structure.
165         (TARGET_ALTIVEC): Likewise.
166         (TARGET_64BIT): Likewise.
168 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
170         * configure: Regenerated.
172 2012-07-19  Tristan Gingold  <gingold@adacore.com>
173             Richard Henderson  <rth@redhat.com>
175         * exception.c (__gnu_objc_personality_seh0): New function.
177 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
179         * configure: Regenerated.
181 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
183         * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
184         * configure: Regenerate.
186         * thr.c (_XOPEN_SOURCE): Define unconditionally.
188 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
190         * configure: Regenerate.
192 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
194         * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
195         * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
196         * configure: Regenerate.
197         * config.h.in: Regenerate.
199 2011-10-17  Paul Brook  <paul@codesourcery.com>
200             Matthias Klose  <doko@ubuntu.com>
202         * exception.c (parse_lsda_header): hardcode ttype_encoding for older
203         ARM EABI toolchains.
204         (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
206 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
208         PR libobjc/49883
209         * init.c (__objc_exec_class): Work around a bug in clang's code
210         generation.  Clang sets the class->info field to values different
211         from 0x1 or 0x2 (the only allowed values in the traditional GNU
212         Objective-C runtime ABI) to store some additional information, but
213         this breaks backwards compatibility.  Wipe out all the bits in the
214         fields other than the first two upon loading a class.
216 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
218         * class.c (objc_lookup_class): Added back for compatibility with
219         clang which seems to emit calls to it.
221 2011-10-08  Richard Frith-Macdonald <rfm@gnu.org>
222             Nicola Pero  <nicola.pero@meta-innovation.com>
224         PR libobjc/50428
225         * sendmsg.c (__objc_send_initialize): If a class does not have an
226         +initialize method, search for an +initialize method in the
227         superclass and in the ancestor classes and execute the first one
228         that is found.  This makes the GNU runtime behave in the same way
229         as the Apple/NeXT runtime with respect to +initialize methods and
230         subclassing.
232 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
234         PR libobjc/50002
235         * class.c (__objc_update_classes_with_methods): Iterate over meta
236         classes as well as normal classes when refreshing the method
237         implementations.  This fixes replacing class methods.
239 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
241         * class.c (class_getSuperclass): Fixed to work with meta classes
242         still in construction too.
244 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
246         * class.c (class_getSuperclass): Fixed typo in comment.
247         
248 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
250         PR libobjc/49882
251         * class.c (class_getSuperclass): Return the superclass if the
252         class is in construction.
253         * objc/runtime.h (class_getSuperclass): Updated documentation.
255 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
257         * Makefile.in (INCLUDES): Search
258         $(srcdir)/$(MULTISRCTOP)../libgcc.
260 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
262         * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
264 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
266         * configure.ac (VERSION): Bumped to 4:0:0.
267         * configure (VERSION): Likewise.
269 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
271         * objc/README: Updated.
272         * objc-private/selector.h: Updated comments.
273         
274 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
276         * sendmsg.c (class_get_instance_method): Removed.
277         (class_get_class_method): Removed.
278         (objc_get_uninstalled_dtable): Removed.
280 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
282         * objc-private/module-abi-8.h (class_get_instance_size): Removed.
283         * objects.c (class_create_instance): Removed.
284         * error.c (__USE_FIXED_PROTOTYPES__): Removed.
285         * gc.c (__objc_generate_gc_type_description): Use
286         class_getInstanceSize() instead of class_get_instance_size().
287         * selector.c (sel_types_match): Made static.
288         (sel_get_typed_uid): Removed.
289         (sel_get_any_typed_uid): Removed.
290         (sel_get_name): Removed.
291         (sel_get_type): Removed.
292         (sel_register_name): Removed.
293         (sel_register_typed_name): Removed.
294         (sel_get_uid): Removed.
296 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
298         * encoding.c (method_get_number_of_arguments): Removed.
299         (method_get_sizeof_arguments): Removed.
301 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
303         * class.c (objc_next_class): Removed.
304         (class_pose_as): Removed.
305         (CLASSOF): Removed.
306         (class_table_replace): Removed.
307         (objc_lookup_class): Removed.
309 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
311         Removed the Traditional Objective-C runtime public API.
312         * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
313         (install-headers): Do not create the objc/deprecated directory and
314         do not install the deprecated headers.
315         (OBJC_H): Removed encoding.h and objc-api.h.
316         * Object.m: Removed all methods with the exception of -class and
317         -isEqual:.  Updated includes.  ([-class]): Use Modern API.
318         * objc/Object.h: Do not include deprecated/Object.h.
319         * objc/deprecated/Object.h: Removed.
320         * linking.m (__objc_linking): Call [Object class] instead of
321         [Object name].
322         * Protocol.m: Removed all methods with the exception of -isEqual:.
323         Updated includes.
324         * objc/Protocol.h: Do not include deprecated/Protocol.h.
325         * objc/deprecated/Protocol.h: Removed.
326         * objc/deprecated/struct_objc_symtab.h: Removed.
327         * objc/deprecated/struct_objc_module.h: Removed.
328         * objc/deprecated/struct_objc_ivar.h: Removed.
329         * objc/deprecated/struct_objc_ivar_list.h: Removed.
330         * objc/deprecated/struct_objc_method.h: Removed.
331         * objc/deprecated/struct_objc_method_list.h: Removed.
332         * objc/deprecated/struct_objc_protocol_list.h: Removed.
333         * objc/deprecated/struct_objc_category.h: Removed.
334         * objc/deprecated/MetaClass.h: Removed.
335         * objc/deprecated/objc_msg_sendv.h: Removed.  
336         * objc/deprecated/README: Removed.
337         * objc/deprecated/struct_objc_class.h: Removed.
338         * objc/deprecated/struct_objc_protocol.h: Removed.
339         * objc/deprecated/struct_objc_selector.h: Removed.
340         * objc/encoding.h: Removed.
341         * objc/message.h (struct objc_super): Removed the definition for
342         the Traditional Objective-C runtime API.
343         * objc/objc.h: Do not include objc/objc-decls.h.
344         deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
345         deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
346         and deprecated/objc_msg_sendv.h.  Uncommented new definition of
347         Protocol *.
348         * objc/objc-api.h: Removed.
349         * objc/runtime.h: Updated comments.  Removed check to detect
350         concurrent usage of Traditional and Modern APIs.
351         * objc-private/module-abi-8.h: Always define struct objc_class and
352         struct objc_protocol.  (struct objc_protocol_list): Changed type
353         of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
354         (class_get_instance_size): Added.
355         * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
356         'struct objc_protocol *' as argument, not a 'Protocol *'.
357         * objc-private/runtime.h: Updated comments.
358         * objc-private/selector.h (struct objc_selector, sel_eq): Added.
359         * class.c: Include objc-private/selector.h.
360         (objc_get_meta_class): Return a Class instead of a MetaClass.
361         * encoding.c (method_get_next_argument): Removed.
362         (method_get_first_argument): Removed.
363         (method_get_nth_argument): Removed.
364         * gc.c: Include objc/runtime.h instead of objc/encoding.h.
365         Include objc-private/module-abi-8.h and ctype.h.
366         * protocols.c (__objc_protocols_add_protocol): Take a 'struct
367         objc_protocl *' as argument, not a 'Protocol *'.
368         (class_addProtocol): Added casts to 'struct objc_protocol *' and
369         'Protocol *'.
370         (class_copyProtocolList): Likewise.
371         (protocol_conformsToProtocol): Likewise.
372         (protocol_copyProtocolList): Likewise.
373         * sarray.c: Include objc-private/module-abi-8.h.
374         * sendmsg.c (method_get_next_argument): Removed.
375         (method_get_first_argument): Removed.
376         (method_get_nth_argument): Removed.
377         (objc_msg_sendv): Removed.
378         (arglist_t, retval_t): New.  (class_get_class_method): Take a
379         'Class', not 'MetaClass', argument.
380         * thr.c: Include module-abi-8.h.
381         
382 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
384         * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
385         and objc_get_uninstalled_dtable.h.
386         * objc/deprecated/struct_objc_static_instances.h: Removed.
387         * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.       
388         * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
389         and deprecated/objc_get_uninstalled_dtable.h.
390         
391 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
393         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
394         * objc/deprecated/objc_object_alloc.h: Removed.
395         * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
396         * objects.c (_objc_object_alloc, _objc_object_dispose,
397         _objc_object_copy): Removed.
398         * libobjc.def (__objc_object_alloc, __objc_object_copy,
399         __objc_object_dispose): Removed.
400         
401 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
403         * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
404         * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
405         * objc/deprecated/METHOD_NULL.h: Removed.
406         
407 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
409         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
410         objc_malloc.h and objc_unexpected_exception.h.
411         (exception.lo): Do not use -Wno-deprecated-declarations.
412         (exception_gc.lo): Likewise.
413         * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
414         deprecated/objc_malloc.h and
415         deprecated/objc_unexpected_exception.h.
416         * objc/deprecated/objc_valloc.h: Removed.
417         * objc/deprecated/objc_malloc.h: Removed.
418         * objc/deprecated/objc_unexpected_exception.h: Removed.
419         * exception.c (_objc_unexpected_exception): Removed.
420         (objc_exception_throw): Do not check for
421         _objc_unexpected_exception.
422         * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
423         _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.        
424         * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
425         
426 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
428         * objc/objc.h: Do not include deprecated/STR.h.
429         * objc/deprecated/STR.h: Removed.
430         * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
431         
432 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
434         * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
435         (OBJC_DEPRECATED_H): Likewise.
436         * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
437         objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
438         objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
439         hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
440         sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
441         sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
442         * objc/sarray.h: Removed.
443         * objc/hash.h: Removed.
444         * objc/deprecated/sarray.h: Removed.
445         * objc/deprecated/hash.h: Removed.
446         * objc/Object.h: Do not include objc/deprecated/hash.h
447         * Object.m: Include string.h.
448         * objc/objc-api.h: Do not include objc/deprecated/hash.h.
449         * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
450         Removed.
452 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
454         * Object.m ([-forward::]): Removed.
455         * objc/deprecated/Object.h ([-forward::]): Removed.
456         * sendmsg.c (__objc_forward): Updated comments.
457         
458 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
460         * Makefile.in (OBJC_H): Removed objc-list.h.
461         (OBJC_DEPRECATED_H): Removed objc-list.h.
462         * objc/objc-list.h: File removed.
463         * objc/deprecated/objc-list.h: File removed.
465 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
467         * Makefile.in (OBJC_H): Removed typedstream.h.
468         (OBJC_DEPRECATED_H): Removed typedstream.h.
469         (C_SOURCE_FILES): Removed archive.c.
470         (Object.lo): Rule removed.
471         (Object_gc.lo): Likewise.
472         (archive.lo): Likewise.
473         (archive_gc.lo): Likewise.
474         * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
475         [-awake]): Removed.
476         Do not include deprecated/typedstream.h.
477         * Object.m: Removed the same methods.
478         * archive.c: File removed.
479         * objc/typedstream.h: File removed.
480         * objc/deprecated/typedstream.h: File removed.
481         * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
482         __objc_write_class, __objc_write_object, __objc_write_selector,
483         objc_close_typed_stream, objc_end_of_typed_stream,
484         objc_flush_typed_stream, objc_get_stream_class_version,
485         objc_open_typed_stream, objc_open_typed_stream_for_file,
486         objc_read_array, objc_read_char, objc_read_int, objc_read_long,
487         objc_read_object, objc_read_selector, objc_read_short,
488         objc_read_string, objc_read_type, objc_read_types,
489         objc_read_unsigned_char, objc_read_unsigned_int,
490         objc_read_unsigned_long, objc_read_unsigned_short,
491         objc_write_array, objc_write_char, objc_write_int,
492         objc_write_long, objc_write_object, objc_write_object_reference,
493         objc_write_root_object, objc_write_selector, objc_write_short,
494         objc_write_string, objc_write_string_atomic, objc_write_type,
495         objc_write_types, objc_write_unsigned_char,
496         objc_write_unsigned_int, objc_write_unsigned_long,
497         objc_write_unsigned_short): Removed.
498         
499 2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
501         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
502         * objc/deprecated/objc_error.h: Removed.
503         * objc/objc-api.h: Do not include deprecated/objc_error.h.
504         * libobjc.def (objc_error, objc_verror): Removed.
505         * error.c (_objc_error_handler, objc_error, objc_verror,
506         objc_set_error_handler): Removed.
507         * Object.m ([-error:], [-perform:], [-perform:with:],
508         [-perform:with:with], [-subclassResponsibility:],
509         [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
510         Removed.
511         * objc/deprecated/Object.h: Removed the same methods.
512         * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
513         method after trying to invoke the "doesNotRecognize:" method.
514         
515 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
517         * sendmsg.c: Reindented part of the file.  No non-trivial changes
518         in code.
520 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
522         * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
523         not objc_lookup_class.
525 2011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
526             David Ayers  <ayers@fsfe.org>
528         PR libobjc/38307
529         * sendmsg.c: Include objc/hash.h.
530         (get_implementation): New function, mostly with code from get_imp
531         updated to support the new +initialize dispatch table logic.
532         (get_imp): Use get_implementation.
533         (__objc_responds_to): Updated to support the new +initialize
534         dispatch table logic.
535         (class_respondsToSelector): Likewise.
536         (objc_msg_lookup): Use get_implementation.
537         (__objc_init_install_dtable): Removed.
538         (__objc_install_methods_in_dtable): Updated arguments.
539         (__objc_install_dispatch_table_for_class): Renamed to
540         __objc_install_dtable_for_class and updated to support the new
541         +initialize dispatch table logic.
542         (__objc_update_dispatch_table_for_class): Updated to support the
543         new +initialize dispatch table logic.
544         (__objc_forward): Call get_implementation instead of get_imp.
545         (prepared_dtable_table): New.
546         (__objc_prepare_dtable_for_class): New. 
547         (__objc_prepared_dtable_for_class): New.
548         (__objc_get_prepared_imp): New.
549         (__objc_install_prepared_dtable_for_class): New.
550         
551 2011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
553         PR libobjc/48177
554         * selector.c (__sel_register_typed_name): Use sel_types_match()
555         instead of strcmp() to compare selector types (Suggestion by
556         Richard Frith-Macdonald <rfm@gnu.org>).
558 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
560         PR libobjc/32037
561         * Makefile.in (OBJC_GCFLAGS): Move ...
562         * configure.ac (enable_objc_gc): ... here.
563         Add $(libsuffix) to OBJC_BOEHM_GC.
564         * configure: Regenerate.
566 2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>
567         
568         * selector.c (sel_getTypedSelector): Return NULL if there are
569         multiple selectors with conflicting types.
570         * objc/runtime.h (sel_getTypedSelector): Updated documentation.
571         
572 2011-02-28  Richard Frith-Macdonald <rfm@gnu.org>
574         PR libobjc/47922
575         * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
576         a hardcoded "!".
578 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
580         * configure: Regenerate.
582 2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>
584         * init.c (create_tree_of_subclasses_inherited_from): Use
585         class_superclass_of_class instead of assuming a class is
586         unresolved when it could be resolved.  Tidied up assignment and
587         check.
588         (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
589         (objc_tree_insert_class): Tidied up loop; return immediately upon
590         inserting a class.
591         (__objc_exec_class): Do not set __objc_class_tree_list.
592         
593 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
595         * selector.c (sel_getTypedSelector): Return NULL if given a NULL
596         argument.
597         (sel_registerTypedName): Same.
598         (sel_registerName): Same.
599         * objc/runtime.h: Updated documentation.
600         
601 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
603         * objc/runtime.h (class_addIvar): Updated documentation.  The
604         alignment is actually the log_2 of the alignment in bytes.
605         * ivars.c (class_addIvar): Corresponding change to the
606         implementation.
607         
608 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
610         * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
611         be consistent with method_getTypeEncoding and
612         ivar_getTypeEncoding.
613         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
614         * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
615         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
616         (sel_get_type): Updated call to sel_getType.
617         
618 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
620         * objc/runtime.h (class_conformsToProtocol,
621         class_copyProtocolList): Updated documentation.
623 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
625         * init.c (create_tree_of_subclasses_inherited_from): Updated
626         DEBUG_PRINTF messages.
627         (__objc_tree_insert_class): Same.
628         (__objc_send_load_using_method_list): Same.
629         (__objc_send_load): Same.
630         (__objc_exec_class): Same.  In particular, do not print the module
631         name since it is no longer used.
632         * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
633         tracking +initialize calls.
634         (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
635         tracking updates of dispatch tables.
636         (__objc_install_dispatch_table_for_class): Same.
637         
638 2010-12-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
640         * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
641         (libobjc_gc$(libsuffix).la): Likewise.
643 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
645         * sendmsg.c (class_addMethod): Return NO if the method already
646         exists in the class.
648 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
650         * init.c (duplicate_classes): New.
651         (__objc_exec_class): Initialize duplicate_classes.
652         (__objc_create_classes_tree): Ignore classes in the
653         duplicate_classes table.
654         (__objc_call_load_callback): Same.
655         (__objc_init_class): If a duplicate class is found, add it to
656         duplicate_classes instead of aborting.  Return YES if the class is
657         not a duplicate, and NO if it is.
658         * objc-private/runtime.h (__objc_init_class): Updated prototype.
660 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
662         * objc-private/objc-list.h: Reindented file.  No code changes.
663         * objc-private/sarray.h: Same change.
665 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
667         * objc-private/accessors.h: Removed 'extern "C"' guards.  This
668         file is never compiled with C++.
669         * objc-private/hash.h: Same change.
670         * objc-private/objc-list.h: Same change.
671         * objc-private/objc-sync.h: Same change.
672         * objc-private/protocols.h: Same change.
673         * objc-private/runtime.h: Same change.
674         * objc-private/sarray.h: Same change.
675         * objc-private/selector.h: Same change.
677 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
679         PR libobjc/18764
680         * class.c (__objc_add_class_to_hash): Return YES if the class was
681         added, and NO if it already existed.
682         * init.c (__objc_init_class): If __objc_add_class_to_hash returns
683         NO, then abort the program with an error message.
684         * objc-private/runtime.h (__objc_add_class_to_hash): Updated
685         declaration.
687 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>      
689         * init.c (_objc_load_callback): Initialize with 0.
690         (__objc_call_callback): Renamed to __objc_call_load_callback.
691         Check _objc_load_callback only once, and if it is not set, return
692         immediately.
693         (objc_send_load): Updated call to __objc_call_callback.
694         
695 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
697         PR libobjc/16110
698         * init.c (__objc_send_message_in_list): Renamed to
699         __objc_send_load_using_method_list.  Do not take an 'op' argument.
700         Register the 'load' selector if needed.
701         (__objc_send_load): Do not register the 'load' selector.  Updated
702         call to __objc_send_message_in_list.
703         (__objc_create_classes_tree): Add the class of any claimed
704         category that was loaded in the module to the list of classes for
705         which we try to execute +load.
706         
707 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
709         * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
710         Updated comments.
711         * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
712         a pointer using DEBUG_PRINTF.
713         
714 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
716         PR libobjc/45953
717         * selector.c (__sel_register_typed_name): When registering a new
718         selector with the same name as an existing one, reuse the existing
719         name string.  Also updated types, casts and comments in the whole
720         function.
722 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
724         * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
725         to be 'struct objc_selector *' and not 'SEL'.
726         * init.c (__objc_exec_class): Call
727         __objc_register_selectors_from_module instead of iterating over
728         each selector and calling __sel_register_typed_name for each.
729         * objc-private/selector.h: Declare
730         __objc_register_selectors_from_module instead of
731         __sel_register_typed_name.
732         * selector.c (__objc_register_selectors_from_module): New.
733         (__sel_register_typed_name): Made static.
734         
735 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
737         * linking.m: Do not include objc/NXConstStr.h.
739 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
740         
741         * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
742         * objc-private/common.h (DEBUG_PRINTF): To here.
743         * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
744         
745 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
747         * hash.c: Tidied up comments and indentation.  No code changes.
749 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
751         PR libobjc/47012
752         * accessors.m (objc_getProperty): If not atomic, do not
753         retain/autorelease the returned value.
755 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
757         * objc-private/runtime.h (__objc_selector_max_index,
758         __objc_init_selector_tables, __objc_register_selectors_from_class,
759         __objc_register_selectors_from_list,
760         __objc_register_selectors_from_description_list): Moved to ...
761         * objc-private/selector.h: ... here.
763 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
765         * objc-private/runtime.h (__objc_class_links_resolved): Removed.
766         (__objc_print_dtable_stats): Removed.
767         (__sel_register_typed_name): Removed.
768         * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
769         
770 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
772         * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
773         if appropriate, after loading the module.
775 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
777         * sendmsg.c (method_setImplementation): Do not declare.
779 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
781         * objc/message.h: Updated comments.
782         * objc/runtime.h: Updated comments.
783         
784 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
786         * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
787         * protocols.c: Updated all calls to objc_lookupClass to call
788         objc_lookUpClass instead.
789         * sendmsg.c (objc_lookupClass): Do not declare.
790         (get_imp): Update call to objc_lookupClass to call
791         objc_lookUpClass instead.
792         * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
794 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
796         * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
797         * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
798         define.  Updated comments.
799         
800 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
802         * objc/encoding.h: Updated comments.
803         * objc/runtime.h: Updated comments.
804         (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
805         (objc_sizeof_type): Same.
806         (objc_alignof_type): Same.
807         (objc_aligned_size): Same.
808         (objc_promoted_size): Same.
809         (objc_skip_type_qualifiers): Same.
810         (objc_skip_typespec): Same.
811         (objc_skip_offset): Same.
812         (objc_skip_argspec): Same.
813         (objc_get_type_qualifiers): Same.
814         (objc_layout_structure): Same.
815         (objc_layout_structure_next_member): Same.
816         (objc_layout_finish_structure): Same.
817         (objc_layout_structure_get_info): Same.
818         
819 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
821         * init.c: Updated comments.
822         * objc/objc-api.h: Updated comments.
823         * objc/runtime.h (_objc_load_callback): Declare.
824         
825 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
827         * objc/Object.h: Include deprecated/typedstream.h and
828         deprecated/hash.h instead of typedstream.h.  Updated comments.
830 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
832         * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
833         * objc/deprecated/objc_msg_sendv.h: New.
834         * objc/message.h: Do not define retval_t, apply_t, arglist,
835         arglist_t, objc_msg_sendv, now in
836         objc/deprecated/objc_msg_sendv.h.
837         * objc/objc.h: Do not include message.h; include
838         objc/deprecated/objc_msg_sendv.h instead.  Tidied up comments.
839         * sendmsg.c: Include objc/message.h.
840         * thr.c: Include objc/message.h.
841         
842 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
844         * objc/objc-exception.h: Include objc-decls.h.  Mark all
845         functions with objc_EXPORT.
846         * objc/objc-sync.h: Same change.
848 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
850         * Protocol.m: Moved all methods, with the exception of -isEqual:,
851         into the 'Deprecated' category.
852         * objc/Protocol.h: Removed all methods, moved to
853         objc/deprecated/Protocol.h.  Include objc/deprecated/Protocol.h.
854         * objc/deprecated/Protocol.h: New.
855         * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
856         
857 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
859         * init.c: Include objc-private/selector.h.  Do not declare
860         __sel_register_typed_name.
861         * objc-private/selector.h (__sel_register_typed_name): Declare.
862         * selector.c: Include objc-private/selector.h.
863         
864 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
866         * class.c: Tidied up comments and indentation.  No code changes.
867         * error.c: Same.
868         * exception.c: Same.
869         * init.c: Same.
870         * ivars.c: Same.
871         * memory.c: Same.
872         * objc-foreach.c: Same.
873         * objc-sync.c: Same.
874         * objects.c: Same.
875         * protocols.c: Same.
876         * sarray.c: Same.
877         * thr.c: Same.
879 2010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
881         * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
882         instead of objc/objc-api.h.
883         (init_check_module_version): Take a 'struct objc_module *'
884         argument instead of 'Module_t'.  Use 'struct objc_module *'
885         instead of 'Module_t'.
886         (__objc_created_classes_tree): Take a 'struct objc_module *'
887         argument instead of 'Module_t'; use 'struct objc_symtab *' instead
888         of 'Symtab_t'.
889         (__objc_call_callback): Take a 'struct objc_module *' argument
890         instead of 'Module_t'; use 'struct objc_symtab *' instead of
891         'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
892         (_objc_load_callback): Take a 'struct objc_category *' argument
893         instead of 'Category *'.
894         (class_superclass_of_class): Use objc_getClass() instead of
895         objc_lookup_class().
896         (create_tree_of_subclasses_inherited_from): Same change (also, use
897         an explicit 'if' instead of '?').
898         (objc_init_statics): Same change.
899         (objc_send_load): Same change.
900         (__objc_init_protocol): same change.
901         (__objc_send_message_in_list): Take a 'struct objc_method_list *'
902         argument instead of 'MethodList_t'.  Use 'struct objc_method *'
903         instead of 'Method_t'.
904         (__objc_send_load): Use 'struct objc_method_list *' instead of
905         'MethodList_t'.  Use sel_registerName() instead of
906         sel_register_name().
907         (__objc_exec_class): Take a 'struct objc_module *' argument
908         instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
909         'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
910         Use 'struct objc_category *' instead of 'Category_t'.
911         
912 2010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
914         * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
915         Include objc-private/module-abi-8.h and objc-private/selector.h
916         instead of objc/encoding.h.
917         (objc_msg_lookup_super): Use super->super_class instead of
918         super->class.
919         (method_get_first_argument, method_get_next_argument): Declare
920         locally.
921         (class_get_instance_method): Declare before using.
922         (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
923         (__objc_init_dispatch_tables, __objc_send_initialize): Use
924         sel_registerName() instead of sel_register_name().
925         (__objc_forward): Use sel_getName() instead of sel_get_name().
926         (objc_get_uninstalled_dtable): Use 'void' as argument.
927         * objc-private/selector.h: New.
929 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
931         * objc/message.h (objc_super): When using the modern API, do not
932         define Super and Super_t, and always use 'super_class' for the
933         super class field.      
934         (objc_msg_lookup_super): Updated prototype to use 'struct
935         objc_super *' instead of 'Super_t'.
936         * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
937         'struct objc_super *' instead of 'Super_t'.
939 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
941         * objc/message.h: Update comments, reindented code and moved
942         deprecated types and functions at the end of the file.  No code
943         changes.
945 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
947         * ivars.c (class_addIvar): Use the 'size' argument instead of
948         trying to calculate it using objc_sizeof_type().
949         * objc/runtime.h (class_addIvar): Updated comments.
950         
951 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
953         * sendmsg.c: Reindented some code and tidied up comments.  No
954         actual code changes.
955         
956 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
958         * objc/Object.h: Moved all the methods, with the exception of
959         -class and -isEqual:, into ...
960         * objc/deprecated/Object.h: here.
961         * Object.m: Moved all the methods, with the exception of -class
962         and -isEqual: into the 'Deprecated' category.
964 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
966         * objects.c (object_copy): Do not #undef as we are no longer
967         including objc/objc-api.h.
968         * selector.c: Include objc/runtime.h and
969         objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
970         objc/encoding.h.  Updated
971         (__objc_register_selectors_from_class): Use struct
972         objc_method_list * instead of MethodList_t.
973         (__objc_register_selectors_from_list): Use Method instead of
974         Method_t.
975         (struct objc_method_description_list): Do not define here.
976         (__objc_register_instance_methods_to_class): Use struct
977         objc_method_list * instead of MethodList_t and Method instead of
978         Method_t.
979         
980 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
982         * selector.c: Reindented some code and tidied up comments.  No
983         actual code changes.
985 2010-12-13  Iain Sandoe  <iains@gcc.gnu.org>
987         * encoding.c (_darwin_rs6000_special_round_type_align): New.
988         (darwin_rs6000_special_round_type_align): Adjust to use new routine.
990 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
992         * sendmsg.c (selector_resolveClassMethod): New.
993         (selector_resolveInstanceMethod): New.
994         (__objc_resolve_class_method): New.
995         (__objc_resolve_instance_method): New.
996         (get_imp): Call __objc_resolve_class_method or
997         __objc_resolve_instance_method at the appropriate time.
998         (objc_msg_lookup): Same.
999         (class_getClassMethod): Same.   
1000         (class_getInstanceMethod): Same.
1001         (__objc_init_dispatch_tables): Initialize
1002         selector_resolveClassMethod and selector_resolveInstanceMethod.
1003         * objc/runtime.h: Updated documentation of class_getClassMethod,
1004         class_getInstanceMethod and class_getMethodImplementation.
1005         
1006 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1008         * objc-private/module-abi-8.h (struct objc_symtab): Updated
1009         description of sel_ref_cnt and refs.
1010         * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
1011         
1012 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
1014         PR target/40125
1015         PR lto/46695
1016         * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
1017         * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
1018         * aclocal.m4: Regenerate.
1019         * configure: Regenerate.
1021 2010-12-03  Matthias Klose  <doko@ubuntu.com> 
1023         * configure.ac (VERSION): Bump the version to 3:0:0.
1024         * configure: Regenerate.
1026 2010-11-23  Richard Frith-Macdonald <rfm@gnu.org>
1028         * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
1029         pass nil as the receiver since we don't know the receiver at this
1030         point.
1031         
1032 2010-11-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1034         * ivars.c: Include stdlib.h.
1035         * protocols.c: Same change.
1037 2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
1039         * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
1040         * accessors.m: New.
1041         * init.c: Include objc-private/accessors.h.
1042         (__objc_exec_class): Call __objc_accessors_init.
1043         * objc-private/accessors.h: New.
1045 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1047         * objc/message.h: Moved initial includes outside of extern "C".
1048         * objc/runtime.h: Add extern "C" for Objective-C++.
1050 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1052         * init.c (objc_send_load): Do not wait for NXConstantString to be
1053         registered before executing +load.  There is no point if
1054         -fconstant-string-class=xxx is used when compiling all modules,
1055         as is the case for almost all users.
1056         * linking.m (__objc_linking): Do not try to forcefully link in
1057         NXConstantString.
1059 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1061         * objc/runtime.h: Updated comments.
1062         (class_addMethod): New.
1063         (class_addIvar): New.
1064         (class_replaceMethod): New.
1065         (objc_allocateClassPair): New.
1066         (objc_registerClassPair): New.
1067         (objc_disposeClassPair): New.
1068         * class.c (objc_allocateClassPair): New.
1069         (objc_registerClassPair): New.
1070         (objc_disposeClassPair): New.
1071         (class_getSuperclass): Return Nil if a class is in construction.
1072         * init.c (__objc_exec_class): Call __objc_init_class.
1073         (__objc_init_class): New.
1074         * ivars.c (class_copyIvarList): Return NULL if class is in
1075         construction.  Do not lock the runtime mutex.
1076         (class_getInstanceVariable): Return NULL if class is in
1077         construction.  Do not lock the runtime mutex.
1078         (class_addIvar): New.
1079         * sendmsg.c (class_addMethod): New.
1080         (class_replaceMethod): New.
1081         * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
1082         (_CLS_IN_CONSTRUCTION): New.
1083         (CLS_IS_IN_CONSTRUCTION): New.
1084         (CLS_SET_IN_CONSTRUCTION): New.
1085         (CLS_SET_NOT_IN_CONSTRUCTION): New.
1086         * objc-private/runtime.h (__objc_init_class): New.
1088 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1090         * class.c (class_getSuperclass): Call __objc_resolve_class_links
1091         if the class is not resolved yet.
1092         * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
1093         
1094 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1096         * objc/runtime.h (class_getIvarLayout): New.
1097         (class_getWeakIvarLayout): New.
1098         (class_setIvarLayout): New.
1099         (class_setWeakIvarLayout): New.
1100         * ivars.c (class_getIvarLayout): New.
1101         (class_getWeakIvarLayout): New.
1102         (class_setIvarLayout): New.
1103         (class_setWeakIvarLayout): New. 
1105 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1106         
1107         * objc/runtime.h (class_copyPropertyList): New.
1108         (class_getProperty): New.
1109         (property_getAttributes): New.
1110         (property_getName): New.
1111         * ivars.c (class_copyPropertyList): New.
1112         (class_getProperty): New.
1113         (property_getAttributes): New.
1114         (property_getName): New.
1115         
1116 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1118         * objc-private/runtime.h (__objc_update_classes_with_methods): New.
1119         * class.c (__objc_update_classes_with_methods): New.
1120         (objc_getClassList): Do not lock the class lock.
1121         * methods.c (method_exchangeImplementations): New.
1122         (method_setImplementation): New.
1123         * objc/runtime.h (method_setImplementation): New.
1124         (method_exchangeImplementations): New.
1125         
1126 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1128         * Protocol.m: Include objc/runtime.h and
1129         objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
1130         repeat Protocol's instance variables.
1131         (struct objc_method_description_list): Do not define here.
1132         ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1133         ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1134         selectors directly instead of getting names and then using strcmp.
1135         ([descriptionForClassMethod:]): Same change.
1136         ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1137         * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1138         to compare selectors directly instead of getting names and then
1139         using strcmp.
1140         * objc/Protocol.h: Updated comments.
1141         
1142 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1144         * init.c (__objc_init_protocol): New function which fixes up a
1145         protocol's class pointer, registers it with the runtime, register
1146         all protocol selectors and registers associated protocols too.
1147         (objc_init_statics): Detect if we are initializing protocols, and
1148         if so, use __objc_init_protocol instead of only fixing up the
1149         class pointer.
1150         (__objc_init_protocls): Use __objc_init_protocol.
1151         * objc-private/module-abi-8.h: Updated comments.
1152         * objc-private/runtime.h
1153         (__objc_register_selectors_from_description_list): New.
1154         * selector.c (__objc_register_selectors_from_description_list):
1155         New.  (struct objc_method_description_list): Declare.
1156         * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1157         when accessing the name of a method, which is now correctly a SEL.
1158         ([-descriptionForClassMethod:]): Same change.
1159         * protocols.c (protocol_getMethodDescription): Same change.
1160         * objc/runtime.h: Updated comments.
1161         (sel_registerTypedName): Fixed typo in function name.
1162         
1163 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1165         PR libobjc/23214
1166         * init.c (objc_init_statics): Do not skip the initialization of a
1167         statics list if the first object has already been initialized; in
1168         the case of Protocols, while the first one may have been
1169         initialized, some others may not have been initialized yet.
1171 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1173         * Makefile.in (OBJC_DEPRECATED_H): Added
1174         objc_get_uninstalled_dtable, objc_object_alloc.h and
1175         struct_objc_static_instances.h.
1177 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1179         * encoding.c (method_copyReturnType): New.
1180         (method_copyArgumentType): New.
1181         (method_getReturnType): New.
1182         (method_getArgumentType): New.
1183         * methods.c (method_getDescription): New.
1184         * objc/runtime.h (method_copyReturnType): New.
1185         (method_copyArgumentType): New.
1186         (method_getReturnType): New.
1187         (method_getArgumentType): New.
1188         (method_getDescription): New.
1189         
1190 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1192         * encoding.c: Tidied up comments.
1193         (objc_skip_variable_name): New static inline function.
1194         (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1195         the same code over and over.
1196         (objc_alignof_type): Same.
1197         (objc_aligned_size): Same.
1198         (objc_promoted_size): Same.
1199         (objc_skip_typespec): Same.
1200         (objc_layout_structure_next_member): Same.
1201         (objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
1202         historical bug where objc_skip_offset would skip one byte even if
1203         there is no offset: check that the first offset digit is actually
1204         a digit before skipping it.
1205         (objc_skip_type_qualifiers): Mark as inline.
1206         (objc_skip_typespec): Mark as inline.   
1207         
1208 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1210         * Makefile.in (C_SOURCE_FILES): Added methods.c.
1211         * encoding.c (method_getNumberOfArguments): New.
1212         (method_get_number_of_arguments): Call
1213         method_getNumberOfArguments.
1214         * ivars.c (ivar_getName): Check for NULL variable argument.
1215         (ivar_getOffset): Check for NULL variable argument.
1216         (ivar_getTypeEncoding): Check for NULL variable argument.
1217         (class_copyIvarList): New.
1218         * methods.c: New.
1219         * protocols.c (class_copyProtocolList): Check for Nil class_
1220         argument.
1221         * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1222         'struct objc_method_list *' instead of MethodList_t.
1223         (class_getMethodImplementation): New.
1224         (class_respondsToSelector): New.
1225         (class_getInstanceMethod): New.
1226         (class_getClassMethod): New.
1227         * objc/runtime.h: Updated comments.
1228         (class_copyIvarList): New.
1229         (class_getInstanceMethod): New.
1230         (class_getClassMethod): New.
1231         (class_getMethodImplementation): New.
1232         (class_respondsToSelector): New.
1233         (method_getName): New.
1234         (method_getImplementation): New.
1235         (method_getTypeEncoding): New.
1236         (class_copyMethodList): New.
1237         (method_getNumberOfArguments): New.
1238         
1239 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1241         * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1242         instead of objc/objc-api.h.
1243         (objc_get_unknown_class_handler): Do not define.
1244         (class_isMetaClass): New.
1245         (class_getSuperclass): New.
1246         (class_getVersion): New.
1247         (class_setVersion): New.
1248         (class_getInstanceSize): New.
1249         * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1250         (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1251         objc_get_super_class.
1252         (get_ttype_entry): Use objc_getRequiredClass instead of
1253         objc_get_class.
1254         * ivars.c (class_getClassVariable): New.
1255         * objects.c: Include objc/runtime.h, objc/thr.h and
1256         objc-private/module-abi-8.h instead of objc/objc-api.h
1257         * objc/runtime.h (class_getClassVariable): New.
1258         (class_isMetaClass): New.
1259         (class_getSuperclass): New.
1260         (class_getVersion): New.
1261         (class_setVersion): New.
1262         (class_getInstanceSize): New.
1263         * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1264         objc/objc-api.h)
1265         (__CLS_INFO): Same.
1266         (__CLS_ISINFO): Same.
1267         (__CLS_SETINFO): Same.
1268         (CLS_ISMETA): Same.
1269         (CLS_ISCLASS): Same.
1270         (CLS_ISRESOLV): Same.
1271         (CLS_SETRESOLV): Same.
1272         (CLS_ISINITIALIZED): Same.
1273         (CLS_SETINITIALIZED): Same.
1274         (CLS_GETNUMBER): Same.
1275         (CLS_SETNUMBER): Same.
1277 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1279         * archive.c: Do not include objc/objc.h.
1280         * class.c: Do not include objc/objc.h.
1281         * encoding.c: Include objc/runtime.h, ctype.h and
1282         objc-private/module-abi-8.h instead of objc/objc-api.h and
1283         objc/encoding.h.
1284         * error.c: Do not include objc/objc.h.
1285         * gc.c: Include tconfig.h and objc/encoding.h only if
1286         OBJC_WITH_GC.
1287         * hash.c: Include objc/runtime.h and objc/thr.h instead of
1288         objc/objc-api.h.  Do not include objc/objc.h.
1289         * init.c: Do not include objc/objc.h.
1290         * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1291         objc/thr.h instead of objc/objc-api.h.  Do not include
1292         objc/objc.h.
1293         * linking.m: Tidied comment.
1294         * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1295         Do not include objc/objc.h.
1296         * objects.c: Do not include objc/objc.h.
1297         * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1298         * protocols.c: Do not include objc/objc.h.
1299         * sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
1300         not include objc/objc.h.
1301         * selector.c: Do not include objc/objc.h.
1302         * sendmsg.c: Do not include objc/objc.h.        
1303         * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1304         Do not include objc/objc.h.
1305         * objc/objc-decls.h: Reindented code.
1306         * objc/runtime.h Include objc-decls.h.  Updated comments.
1307         (objc_malloc): New.
1308         (objc_atomic_malloc): New.
1309         (objc_calloc): New.
1310         (objc_realloc): New.
1311         (objc_free): New.
1312         * objc-private/runtime.h: Updated comments.
1313         
1314 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1316         * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1317         * objc-private/protocols.h: New.
1318         * protocols.c: New.
1319         * init.c: Include objc-private/protocols.h.
1320         (__objc_exec_class): Call __objc_protocols_init on startup.
1321         (__objc_init_protocols): Call __objc_protocols_add_protocol.
1322         * objc-private/runtime.h: Use (struct objc_method_list *) instead
1323         of MethodList_t, and (struct objc_method *) instead of Method_t.
1324         * objc/deprecated/struct_objc_class.h: Define
1325         __objc_STRUCT_OBJC_CLASS_defined.
1326         * objc-private/module-abi-8.h (struct
1327         objc_method_description_list): New.
1328         (struct objc_class): Only define if
1329         __objc_STRUCT_OBJC_CLASS_defined is undefined.
1330         * objc/runtime.h (class_getName): New.
1331         (objc_getProtocol): New.
1332         (objc_copyProtocolList): New.
1333         (class_addProtocol): New.
1334         (class_conformsToProtocol): New.
1335         (class_copyProtocolList): New.
1336         (protocol_conformsToProtocol): New.
1337         (protocol_isEqual): New.
1338         (protocol_getName): New.
1339         (protocol_getMethodDescription): New.
1340         (protocol_copyMethodDescriptionList): New.
1341         (protocol_getProperty): New.
1342         (protocol_copyPropertyList): New.
1343         (protocol_copyProtocolList): New.
1344         * class.c (class_getName): New.
1345         * selector.c (sel_isEqual): New.
1346         
1347 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1349         * selector.c (sel_getName): Return "<null selector>" for a NULL
1350         argument.
1351         (sel_get_name): Return 0 for a NULL argument.
1352         * objc/runtime.h (sel_getName): Updated documentation.
1354         * objc-private/hash.h (class_hash_table): Unused declaration
1355         removed.
1356         (module_hash_table): Same.
1357         * objc/deprecated/hash.h: Same changes.
1358         
1359 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1361         * class.c (objc_getClassList): New.
1362         (objc_getRequiredClass): New.
1363         (objc_getMetaClass): New.
1364         (objc_lookupClass): New.
1365         (objc_getClass): New.
1366         (__objc_get_unknown_class_handler): New.
1367         (objc_setGetUnknownClassHandler): New.
1368         (objc_get_class): Use __objc_get_unknown_class_handler.
1369         (objc_lookup_class): Call objc_getClass.
1370         * objc/objc-api.h: Updated comment and copyright notice.
1371         * objc/runtime.h: Updated comments.
1372         (objc_getClass): New.
1373         (objc_lookupClass): New.
1374         (objc_getMetaClass): New.
1375         (objc_getRequiredClass): New.
1376         (objc_getClassList): New.
1377         (objc_setGetUnknownClassHandler): New.
1378         (objc_get_unknown_class_handler): New.
1379         * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1380         instead of __objc_runtime_INCLUDE_GNU as include guard.
1381         * objc-private/error.h (_objc_abort): Mark as noreturn.
1382         
1383 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1385         * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1386         * ivars.c: New.
1387         * objc/objc.h: Updated comments.
1388         * objc/runtime.h (object_getClass): New.
1389         (object_getClassName): New.
1390         (object_setClass): New.
1391         (class_getInstanceVariable): New.
1392         (object_getIndexedIvars): New.
1393         (object_getInstanceVariable): New.
1394         (object_setInstanceVariable): New.
1395         (object_getIvar): New.
1396         (object_setIvar): New.  
1397         (ivar_getName): New.
1398         (ivar_getOffset): New.
1399         (ivar_getTypeEncoding): New.
1400         * objc-private/module-abi-8.h (struct objc_class): Added.
1401         * objects.c (object_getClassName): New.
1402         (object_setClass): New.
1403         
1404 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1406         * objc/objc.h: Updated comments.
1407         * objc/objc-api.h: (object_copy): Added one argument; use a
1408         #define to maintain backwards-compatibility.  Moved
1409         _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1410         objc_get_uninstalled_dtable into
1411         objc/deprecated/objc_get_uninstalled_dtable.h and
1412         objc/deprecated/objc_object_alloc.h.  Include these files.
1413         * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1414         * objc/deprecated/objc_object_alloc.h: New.
1415         * objc/runtime.h (set_getName): New.
1416         (sel_getType): New.
1417         (sel_getUid): New.
1418         (sel_registerName): New.
1419         (sel_registerTypedName): New.
1420         (sel_isEqual): New.
1421         (class_createInstance): New.
1422         (object_copy): New.
1423         (object_dispose): New.
1424         * objects.c: Do not include tconfig.h.  Include gc_typed.h if
1425         building the garbage collection version.
1426         (__objc_object_alloc): Removed.
1427         (__objc_object_copy): Removed.
1428         (__objc_object_dispose): Removed.
1429         (class_createInstance): New from code in class_create_instance.
1430         Cast second argument of GC_malloc_explicitly_typed.  Use
1431         objc_calloc.  Do not call _objc_object_alloc.
1432         (class_create_instance): Call class_createInstance.
1433         (object_copy): Added extraBytes argument.  Do not call
1434         _objc_object_copy.
1435         (object_dispose): Do not call _objc_object_dispose.
1436         * memory.c (objc_free): When using garbage collection, mark the
1437         argument as unused.
1438         * selector.c (sel_getName): New.
1439         (sel_get_name): Call sel_getName.
1440         (sel_getType): New.
1441         (sel_get_type): Call sel_getType.
1442         (sel_registerName): New.
1443         (sel_register_name): Call sel_registerName.
1444         (sel_registerTypedName): New.
1445         (sel_register_typed_name): Call sel_registerTypedName.
1446         (sel_getUid): New.
1447         (sel_get_uid): Call sel_getUid.
1448         
1449 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1451         * objc/objc-api.h: Define Method, Method_t, Category and
1452         Category_t.  Prevent including this file at the same time as
1453         objc/runtime.h.  Updated comments.
1454         * objc/deprecated/struct_objc_method.h: Do not define Method,
1455         Method_t.
1456         * objc/deprecated/struct_objc_category.h: Do not define Category,
1457         Category_t.
1458         * objc-private/module-abi-8.h: New file containing a copy of all
1459         the structure definitions.  Not used yet.
1460         * objc/encoding.h (objc_aligned_size): Removed duplicate
1461         declaration.  Updated comments.
1462         * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1463         Category, struct objc_method_description, _C_ID and similar,
1464         _C_CONST and similar and _F_CONST and similar.  Added
1465         objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1466         objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1467         objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1468         struct objc_struct_layout, objc_layout_structure,
1469         objc_layout_structure_next_member, objc_layout_finish_structure,
1470         objc_layout_structure_get_info.  Prevent including this file at
1471         the same time as objc/objc-api.h.
1472         
1473 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1475         * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1476         struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1477         struct_objc_method_list.h, struct_objc_module.h,
1478         struct_objc_protocol_list.h, struct_objc_symtab.h.
1479         * objc/deprecated/struct_objc_category.h: New.
1480         * objc/deprecated/struct_objc_ivar.h: New.
1481         * objc/deprecated/struct_objc_ivar_list.h: New.
1482         * objc/deprecated/struct_objc_method.h: New.
1483         * objc/deprecated/struct_objc_method_list.h: New.
1484         * objc/deprecated/struct_objc_module.h: New.
1485         * objc/deprecated/struct_objc_protocol_list.h: New.
1486         * objc/deprecated/struct_objc_symtab.h: New.
1487         * objc/deprecated/struct_objc_static_instances.h: New.
1488         * objc/objc-api.h: Definitions of deprecated structures moved into
1489         the above header fragment files in objc/deprecated/.  Include the
1490         files instead of definition the structures here.  Updated
1491         comments.
1492         * objc/runtime.h: Updated comments.  Do not include objc-api.h.
1493         (objc_set_enumeration_mutation_handler): Renamed to
1494         objc_setEnumerationMutationHandler.
1495         * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1496         to objc_setEnumerationMutationHandler.
1497         * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1498         objc_setExceptionMatcher.
1499         (objc_set_uncaught_exception_handler): Renamed to
1500         objc_setUncaughtExceptionHandler.
1501         * exception.c: Same changes.
1503 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1505         * objc-sync.c: Include objc-private/common.h.
1507 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1509         * objc-foreach.c: Include objc-private/common.h.
1510         * objc/deprecated/METHOD_NULL.h: New file.
1511         * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1512         defining METHOD_NULL here.
1513         * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1514         * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1515         METHOD_NULL.
1516         ([-respondsTo:]): Same change.
1517         * objc/objc-api.h (method_get_imp): Converted it into a normal
1518         function so that we can hide the internals of struct objc_method.
1519         * sendmsg.c (method_get_imp): Implemented.
1521 2010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
1523         * objc/objc-api.h (struct objc_super, Super, Super_t,
1524         objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1525         objc_msg_forward2): Declarations moved to objc/message.h.  Include
1526         message.h here.
1527         * objc/message.h: Added such declarations; updated comments.
1529 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1531         Implemented fast enumeration for Objective-C.
1532         * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1533         (OBJC_H): Added runtime.h
1534         * objc-foreach.c: New file.
1535         * objc/runtime.h: New file.
1536         
1537 2010-09-30  Kai Tietz  <kai.tietz@onevision.com>
1539         * objc/deprecated/struct_objc_class.h: Add padding
1540         to avoid warning with -Wpadded.
1542 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1544         * encoding.c (objc_sizeof_type): Added support for vector type and
1545         for double long types.  
1546         (objc_alignof_type): Same change.
1547         (objc_skip_typespec): Same change.
1548         * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1549         instead of '!' since '!' is already used for _C_VECTOR.
1550         * objc/objc-api.h (_C_LNG_DBL): Added.
1551         
1552 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1554         * libobjc_entry.c: File removed.
1556 2010-09-26  Kai Tietz  <kai.tietz@onevision.com>
1558         * sendmsg.c (objc_msg_lookup): Remove inline.
1559         (objc_get_uninstalled_dtable): Likewise.
1560         * encoding.c (objc_skip_type_qualifiers): Likewise.
1561         (objc_skip_offset): Likewise.
1562         * archive.c (__objc_write_object): Likewise
1563         (__objc_write_class):
1564         (__objc_write_selector):
1565         (objc_read_char):
1566         (objc_read_unsigned_char):
1567         (objc_read_short):
1568         (objc_read_unsigned_short):
1569         (objc_read_int):
1570         (objc_read_long):
1571         (__objc_read_nbyte_uint):
1572         (objc_read_unsigned_int):
1573         (objc_read_unsigned_long):
1574         * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1575         (objc_EXPORT): Likewise.
1576         * objc/message.h (objc-decls.h): Add include.
1577         * objc/objc-api.h: Mark API by objc_EXPORT.
1578         * libobjc.def (__objc_responds_to): Removed.
1580 2010-09-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1582         * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1584         * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1585         objc/sarray.h replaced with a placeholder including the file from
1586         the deprecated/ directory.
1587         * objc-private/sarray.h: New file (private copy of sarray.h).
1588         * hash.c: Include <assert.h> instead of "assert.h"
1589         * sarray.c: Include <assert.h> instead of "assert.h".  Include
1590         objc-private/sarray.h instead of objc/sarray.h.
1591         * selector.c: Include objc-private/sarray.h instead of
1592         objc/sarray.h.
1593         * sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
1594         instead of objc/sarray.h.
1595         * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.      
1597 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1599         * objc-private/objc-list.h (list_remove_elem): Unused function
1600         removed.  (list_nth): Unused function removed.  (list_find):
1601         Unused function removed.  (list_lenght): Unused function removed.
1602         
1603 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1605         * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1606         replaced with a placeholder including the file from the
1607         deprecated/ directory.
1608         * objc/objc-api.h: Updated includes.
1609         * objc/typedstream.h: Updated includes.
1610         * objc-private/hash.h: New file (private copy of hash.h).
1611         * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1612         objc/objc-list.h replaced with a placeholder including the file
1613         from the deprecated/ directory.
1614         * objc-private/objc-list.h: New file (private copy of objc-list.h).
1615         * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1616         instead of objc/hash.h and objc/objc-list.h.
1617         * selector.c: Same change.
1618         * class.c: Added include <string.h>, which used to be implicitly included
1619         when hash.h was included.
1620         * exception.c: Same change.
1621         * objects.c: Same change.
1622         * sarray.c: Same change.
1623         * sendmsg.c: Same change.
1624         * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1626 2010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1628         Implemented objc_sync_enter() and objc_sync_exit(), which are
1629         required by @synchronized() to work.
1630         * objc-sync.c: New file.
1631         * objc/objc-sync.h: New file.
1632         * objc-private/objc-sync.h: New file.
1633         * init.c (__objc_exec_class): Call __objc_sync_init() during the
1634         Objective-C runtime startup.
1635         * Makefile.in: Added objc-sync.c and objc-sync.h.
1636         * configure.ac: Added GCC_CHECK_TLS.
1637         * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1638         * configure: Regenerated.
1639         * config.h.in: Regenerated.
1640         
1641 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1643         * Makefile.in (%_gc.lo): New pattern rules to build the
1644         garbage-collected version of the library.  Removed rules for
1645         specific files that are no longer needed.  Standardized all rules.
1646         (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1647         (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1648         OBJC_SOURCE_FILES.
1649         (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1651 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1652         
1653         * memory.c (objc_calloc): Fixed call to GC_malloc when building
1654         with Garbage Colletion.
1655         
1656 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1658         * memory.c: Do not include objc-private/runtime.h.
1660 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1661         
1662         * objc/deprecated/objc_malloc.h: New file.
1663         * objc/deprecated/objc_valloc.h: New file.
1664         * objc/objc-api.h: Include the files instead of defining
1665         objc_valloc, _objc_malloc() and similar.
1666         * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1667         objc_malloc.h.
1668         * memory.c: Removed the extra layer of indirection of _objc_malloc
1669         and similar.
1670         (objc_calloc): Use GC_malloc in the garbage-collected
1671         implementation as GC_malloc returns memory that is already freed.
1672         (objc_valloc): Deprecated.      
1673         
1674 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1676         * objc/deprecated/objc_error.h: New file.
1677         * objc/objc-api.h: Include deprecated/objc_error.h instead of
1678         defining objc_error and related.
1679         * error.c: New file.  Added _objc_abort function which replaces
1680         objc_error.  No change in functionality as they both print an
1681         error and abort.
1682         * misc.c: File removed.  Code moved into memory.c and error.c.
1683         * memory.c: New file.
1684         * objc-private/error.h: New file.
1685         * archive.c: Include objc-private/error.h and use _objc_abort
1686         instead of objc_error everywhere.
1687         * class.c: Same change.
1688         * encoding.c: Same change.
1689         * init.c: Same change, and simplified init_check_module_version.
1690         * memory.c: Same change.
1691         * sendmsg.c:  Same change.
1692         * thr.c: Same change.
1693         * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1694         (OBJ_H): Reordered list.
1695         (OBJS): Removed misc.lo, added memory.lo and error.lo.
1696         (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1697         (misc_gc.lo): Rule removed.
1698         (error_gc.lo): Rule added.
1699         (memory_gc.lo): Rule added.
1700         
1701 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1703         * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1704         to check the API version.  Added some comments.
1706         * objc-private/common.h: New file.
1707         * NXConstStr.m: Include objc-private/common.h.
1708         * Object.m: Same change.
1709         * Protocol.m: Same change.
1710         * archive.c: Same change.
1711         * class.c: Same change.
1712         * encoding.c: Same change.
1713         * exception.c: Same change.
1714         * gc.c: Same change.
1715         * hash.c: Same change.
1716         * init.c: Same change.
1717         * libobjc_entry.c: Same change.
1718         * linking.m: Same change.
1719         * misc.c: Same change (and added a comment).
1720         * nil_method.c: Same change.
1721         * objects.c: Same change.
1722         * sarray.c: Same change.
1723         * selector.c: Same change.
1724         * sendmsg.c: Same change.
1725         * thr.c: Same change.
1727 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1729         * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1731 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1733         * archive.c: Removed not needed includes.
1734         * class.c: Same change.
1735         * hash.c: Same change.
1736         * misc.c: Same change.
1737         * nil_method.c: Same change.
1738         * objects.c: Same change.
1739         * sarray.c: Same change.
1740         * sendmsg.c: Same change.
1741         * thr.c: Same change.
1743 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1745         * objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
1746         all the objc/*.h files.
1747         * objc-private/runtime.h: New file.
1748         * archive.c: Include objc-private/runtime.h (and required objc/*.h
1749         files) instead of objc/runtime.h.
1750         * class.c: Same change.
1751         * hash.c: Same change.
1752         * init.c: Same change.
1753         * misc.c: Same change.
1754         * nil_method.c: Same change.
1755         * objects.c: Same change.
1756         * sarray.c: Same change.
1757         * selector.c: Same change.
1758         * sendmsg.c: Same change.
1759         * thr.c: Same change.
1760         
1761 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1763         * objc/deprecated/struct_objc_selector.h: New file.  Definition of
1764         'struct objc_selector' and 'sel_eq' moved here.
1765         * objc/deprecated/struct_objc_protocol.h: New file.  Definition of
1766         'struct objc_procotol' moved here.
1767         * objc/deprecated/struct_objc_class.h: New file.  Definition of
1768         'struct objc_class' moved here.
1769         * objc/deprecated/MetaClass.h: New file.  Definition of MetClass
1770         moved here.
1771         * objc/deprecated/STR.h: New file.  Definition of STR moved here.       
1772         * objc/message.h: New file.  Definitions for relval_t, apply_t,
1773         arglist, arglist_t and objc_msg_lookup were moved here.
1774         * objc/objc.h: Include the above files instead of defining the
1775         corresponding structs, types and functions here.  Added new opaque
1776         definitions for SEL and Class.  Use Class and not 'struct
1777         objc_class *' in the definition of 'struct objc_object'.
1778         Commented all types defined in the file.  Removed special
1779         definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1780         there as well.
1781         * objc/deprecated/objc-unexpected-exception.h: Renamed to
1782         objc_unexpected_exception.h.
1783         * objc/objc-api.h: Updated include of
1784         objc-unexpetected-exception.h
1785         * objc/objc-exception.h: Updated comments.
1786         * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1787         files.  Reindented list of files.
1788         
1789 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1791         * objc/objc-api.h (objc_trace): Unused variable removed.
1793 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1795         * objc/deprecated: New directory.
1796         * objc/deprecated/README: New file.
1797         * objc/README: New file.
1798         * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1799         objc/typedstream.h replaced with a placeholder including the file
1800         from the deprecated/ directory.
1801         * objc/deprecated/objc-unexpected-exception.h: New file with the
1802         definition of _objc_unexpected_exception.       
1803         * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1804         instead of defining _objc_unexpected_exception.
1805         * objc/deprecated/Object.h: New file with the deprecated Object
1806         methods in a 'Deprecated' category.
1807         * objc/Object.h Include deprecated/Object.h instead of defining
1808         the deprecated methods.
1809         * Object.m: Moved deprecated methods into 'Deprecated' category.
1810         * objc-private: New directory.
1811         * objc-private/README: New file.
1812         * Makefile.in (OBJC_DEPRECATED_H): New variable.
1813         (install-headers): Create installation directory for
1814         OBJC_DEPRECATED_H headers, and install them.
1816 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1818         * objc/objc-exception.h: Fixed include of objc.h.
1819         
1820 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1822         * objc/objc-exception.h: New file.
1823         * exception.c (objc_set_uncaught_exception_handler): Implemented.
1824         (objc_set_exception_matcher): Implemented.
1825         (objc_exception_throw): Use the uncaught exception handler if set.
1826         (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1827         hardcoded isKindOf.
1828         (isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
1829         up.  Removed segmentation fault when value is 'nil'.
1830         * objc/objc-api.h (_objc_unexpected_exception): Mark as
1831         deprecated.
1832         * Makefile.in (exception.lo, exception_gc.lo): Use
1833         -Wno-deprecated-declarations when compiling.
1834         (OBJC_H): Added objc-exception.h
1836 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1838         * objc/typedstream.h: Deprecate all functions in the file.  This
1839         file is obsolete.
1840         * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1841         [-awake]): Documented that these methods are deprecated.  Added a
1842         brief description of the Object class and its relationship to the
1843         NSObject class.
1844         * Makefile.in: Compile archive.c and Object.m with
1845         -Wno-deprecated-declarations.
1847 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1849         Removed obsolete intermediate threading layer.
1850         * thr.c: Use __gthread_objc_xxx functions directly instead of
1851         __objc_thread_xxx ones.
1852         * objc/thr.h: Removed prototypes of no longer existing
1853         __objc_thread_xxx functions.
1854         * Makefile.in: Removed thr-objc.lo.
1855         * thr-dce.c: File removed.
1856         * thr-decosf1.c: File removed.
1857         * thr-irix.c: File removed.
1858         * thr-mach.c: File removed.
1859         * thr-objc.c: File removed.
1860         * thr-os2.c: File removed.
1861         * thr-posix.c: File removed.
1862         * thr-pthreads.c: File removed.
1863         * thr-rtems.c: File removed.
1864         * thr-single.c: File removed.
1865         * thr-solaris.c: File removed.
1866         * thr-vxworks.c: File removed.
1867         * thr-win32.c: File removed.
1868         * README.threads: File removed.
1869         * THREADS.MACH: File removed.
1870         * THREADS: Updated.
1872 2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
1874         * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1876 2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
1878         * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1879         Add a comment as to why, update FIXME comments.
1881 2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1883         * makefile.dos: Obsolete file removed.
1884         
1885 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1887         * aclocal.m4: Regenerate.
1889 2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
1891         PR libobjc/30445
1892         * configure.ac (extra_ldflags_libobjc): Define appropriately for
1893         Cygwin and MinGW hosts.
1894         * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1895         (libobjc.dll): Likewise.
1896         * configure: Regenerate.
1898 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1900         * configure: Regenerate.
1902 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
1904         * sarray.c (sarray_free): Use old_buckets variable.
1905         * encoding.c (objc_layout_structure_next_member): Remove unused
1906         bfld_type_size variable.
1908 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1910         * configure.ac (AC_PREREQ): Bump to 2.64.
1912 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1914         * aclocal.m4: Regenerate.
1915         * configure: Regenerate.
1916         * config.h.in: Regenerate.
1918 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1920         * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
1922 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1924         * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
1925         New variables.
1926         ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
1928 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1930         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
1932 2009-04-09  Nick Clifton  <nickc@redhat.com>
1934         * sendmsg.c: Change copyright header to refer to version 3 of
1935         the GNU General Public License with version 3.1 of the GCC
1936         Runtime Library Exception and to point readers at the COPYING3
1937         and COPYING3.RUNTIME files and the FSF's license web page.
1938         * NXConstStr.m: Likewise.
1939         * Object.m: Likewise.
1940         * Protocol.m: Likewise.
1941         * archive.c: Likewise.
1942         * class.c: Likewise.
1943         * encoding.c: Likewise.
1944         * exception.c: Likewise.
1945         * gc.c: Likewise.
1946         * hash.c: Likewise.
1947         * init.c: Likewise.
1948         * libobjc_entry.c: Likewise.
1949         * linking.m: Likewise.
1950         * misc.c: Likewise.
1951         * nil_method.c: Likewise.
1952         * objc/NXConstStr.h: Likewise.
1953         * objc/Object.h: Likewise.
1954         * objc/Protocol.h: Likewise.
1955         * objc/encoding.h: Likewise.
1956         * objc/hash.h: Likewise.
1957         * objc/objc-api.h: Likewise.
1958         * objc/objc-decls.h: Likewise.
1959         * objc/objc-list.h: Likewise.
1960         * objc/objc.h: Likewise.
1961         * objc/runtime.h: Likewise.
1962         * objc/sarray.h: Likewise.
1963         * objc/thr.h: Likewise.
1964         * objc/typedstream.h: Likewise.
1965         * objects.c: Likewise.
1966         * sarray.c: Likewise.
1967         * selector.c: Likewise.
1968         * thr-dce.c: Likewise.
1969         * thr-decosf1.c: Likewise.
1970         * thr-irix.c: Likewise.
1971         * thr-mach.c: Likewise.
1972         * thr-objc.c: Likewise.
1973         * thr-os2.c: Likewise.
1974         * thr-posix.c: Likewise.
1975         * thr-pthreads.c: Likewise.
1976         * thr-rtems.c: Likewise.
1977         * thr-single.c: Likewise.
1978         * thr-solaris.c: Likewise.
1979         * thr-vxworks.c: Likewise.
1980         * thr-win32.c: Likewise.
1981         * thr.c: Likewise.
1982         * libobjc.def: Change copyright header to refer to version 3 of
1983         the GNU General Public License and to point readers at the COPYING3
1984         file and the FSF's license web page.
1985         * makefile.dos: Likewise.
1987 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
1989         * Makefile.in: Change copyright header to refer to version
1990         3 of the GNU General Public License and to point readers at the
1991         COPYING3 file and the FSF's license web page.
1992         * configure.ac: Likewise.
1994 2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
1995             David Ayers  <ayers@fsfe.org>
1997         PR libobjc/27466
1998         * objc/objc-api.h (_objc_unexpected_exception): Declare
1999         new hook.  Update copyright dates.
2000         * exception.c (objc_exception_throw): Use hook.  Update
2001         copyright dates.
2002         * libobjc.def (_objc_unexpected_exception): Export hook.
2003         Update copyright dates.
2004         
2005 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2007         * configure: Regenerate.
2009 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2011         * configure: Regenerate.
2013 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
2015         *  Object.m (errno): Replaced by errno.h include.
2016         (compare): Cast self to id to prevent warning on comparison.
2017         * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
2018         already there.
2019         * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
2020         * thr-win32.c (__objc_thread_detach): Remove type warning.
2021         (__objc_thread_id): Likewise.
2022         * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
2023         for noreturn.
2025 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
2026             Steve Ellcey  <sje@cup.hp.com>
2028         * configure: Regenerate for new libtool.
2029         * config.h.in: Regenerate for new libtool.
2031 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
2033         * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 
2035 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
2037         * Makefile.in: Include ../boehm-gc/threads.mk. 
2038         (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
2040 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2042         * Makefile.in (install-info): New stub target.
2044 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2046         * configure: Regenerate.
2048 2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
2050         * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
2051         if HAVE_GETIPINFO is not defined.
2053 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
2055         * Object.m (compare): Add type id.
2056         * objc/Object.h: Likewise.
2057         * archive.c (objc_read_class): Use size_t to extend version to be
2058         size of pointer scalar width.
2059         * sendmsg.c (rtx): Undefine it before redefinition.
2060         (__objc_print_dtable_stats): Cast arguments to long as intended.
2062 2008-05-30  Julian Brown  <julian@codesourcery.com>
2064         * exception.c (__objc_exception_class): Initialise as constant
2065         array for ARM EABI. Change macro to static const for non-ARM EABI.
2066         (ObjcException): Add note about structure layout. Remove landingPad
2067         and handlerSwitchValue for ARM EABI.
2068         (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
2069         of function.
2070         (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
2071         (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
2072         ARM EABI unwinding support.
2073         (objc_exception_throw): Use memcpy to initialise exception class.
2075 2008-05-25  Alan Modra  <amodra@bigpond.net.au>
2077         * encoding.c (strip_array_types): Rename from get_inner_array_type.
2078         (rs6000_special_round_type_align): Update.
2080 2008-05-09  Julian Brown  <julian@codesourcery.com>
2082         * Makefile.in (LTLDFLAGS): New.
2083         (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
2085 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
2087         PR bootstrap/35457
2088         * aclocal.m4: Regenerate.
2089         * configure: Regenerate.
2091 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
2093         * configure: Regenerate.
2095 2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2097         * configure.ac: Don't run config-ml.in directly.
2098         (multilib_arg): New.
2099         * configure: Regenerated.
2101 2007-08-06  Andrew Pinski  <pinskia@gmail.com>
2103         PR libobjc/30731
2104         * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
2105         of _Unwind_Word for variables which are used in
2106         read_uleb128/read_sleb128.
2107         (PERSONALITY_FUNCTION): Likewise.
2109 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2111         * aclocal.m4: Regenerated.
2113 2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2115         * configure.ac: Fix a typo in *-*-darwin clause.
2116         * configure: Regenerated.
2118 2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2120         * configure.ac: Fix a typo.
2121         * configure: Regenerated.
2123 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
2125         * configure: Regenerate.
2127 2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2129         * Makefile.in: Replace all uses of libext with libsuffix.
2130         * configure.ac: Likewise.
2131         * configure: Regenerate.
2133         Revert:
2134         * Makefile.in: Remove all uses of $(libext).
2136 2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2138         * Makefile.in: Remove all uses of $(libext).
2140 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
2142         * configure: Regenerate.
2143         * aclocal.m4: Regenerate.
2145 2007-04-21  Andrew Ruder  <andy@aeruder.net>
2147         * sendmsg.c (__objc_get_forward_imp): Call
2148         __objc_msg_forward2 for real.
2150 2007-04-09  Andrew Ruder  <andy@aeruder.net>
2152         * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2153         external libraries to provide a function that returns the real
2154         forwarding function based on both the selector and the receiver.
2155         * objc/objc-api.h: Define __objc_msg_forward2.
2157 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2159         * Makefile.in: Add dummy install-pdf target.
2161 2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2163         * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2164         unused warning.
2165         
2166 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
2168         * encoding.c (darwin_rs6000_special_round_type_align): New.
2170 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
2172         * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2173         * configure.ac: Use multi.m4 from aclocal rather than custom
2174         code.  Use multi_basedir instead of toplevel_srcdir.
2175         * aclocal.m4: Regenerate.
2176         * configure: Regenerate.
2178 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
2180         * Makefile.in: Added empty "pdf" target.
2182 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2184         * configure: Regenerate.
2186 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
2188         * Makefile.in: Add install-html target. Add install-html to .PHONY
2190 2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2192         PR libobjc/26309
2193         * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2195 2006-01-24  David Ayers  <d.ayers@inode.at>
2197         PR libobjc/9751
2198         * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2199         and insure the new strings are '\0' termintated.
2201 2006-01-24  David Ayers  <d.ayers@inode.at>
2203         PR libobjc/13946
2204         * configure.ac: Add include directives for --enable-objc-gc.
2205         * Makefile.in: Ditto.
2206         * configure: Regenerate.
2208         * gc.c (__objc_class_structure_encoding): Increment the used bytes
2209         instead of the local pointer to them.
2211 2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
2213         PR objc/25360
2214         * objc/objc-api.c (_C_COMPLEX): New define.
2215         * encoding.c (objc_sizeof_type): Handle _C_Complex.
2216         (objc_alignof_type): Likewise.
2217         (objc_skip_typespec): Likewise.
2219 2005-12-15  David Ayers  <d.ayers@inode.at>
2221         PR libobjc/14382
2222         * README (+load,+initialize): Fix documentation to reflect
2223         intended and implemented semantics for +load and +initialize.
2224         
2225 2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
2227         * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2228         the name.
2229         (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2230         (rs6000_special_round_type_align): Update for the ABI fix.
2231         (objc_layout_finish_structure): Correct the encoding which is passed to
2232         ROUND_TYPE_ALIGN.
2234 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2236         PR libobjc/25347
2237         * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2238         but use the struct layout functions.
2239         (objc_alignof_type): Likewise.
2240         (objc_layout_structure): Handle _C_UNION_B also.
2241         (objc_layout_structure_next_member): Likewise.
2242         (objc_layout_finish_structure): Likewise.
2244 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2246         PR libobjc/25346
2247         * objc/objc-api.h (_C_BOOL): New define.
2248         * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2249         (objc_alignof_type): Likewise.
2250         (objc_skip_typespec): Likewise.
2252 2005-11-20  David Ayers  <d.ayers@inode.at>
2254         PR libobjc/19024
2255         * objc/hash.h: Remove deprecated hash API.
2256         * hash_compat.c: Remove.
2257         * Makefile.in: Remove reference to hash_compat.c.
2259         * configure.ac (VERSION): Bump library version to 2:0:0.
2260         * configure: Regenerate.
2262 2005-11-09  Alexandre Oliva  <aoliva@redhat.com>
2264         PR other/4372
2265         * thr-objc.c (_XOPEN_SOURCE): Define.
2267 2005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
2269         PR libobjc/23612
2270         * objc/objc-api.h (struct objc_ivar): Move definition to
2271         global scope.
2273 2005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
2274             Rasmus Hahn  <rassahah@neofonie.de>
2276         PR libobjc/23108
2277         * archive.c (objc_write_type): Correct the element offset.
2278         (objc_read_type): Likewise.
2280 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2282         * All files: Update FSF address.
2284 2005-08-13  Marcin Koziej  <creep@desk.pl>
2285             Andrew Pinski  <pinskia@physics.uc.edu>
2287         PR libobjc/22492
2288         * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2290 2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2292         * Makefile.in (extra_ldflags_libobjc): New.
2293         (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2294         (libobjc_gc$(libext).la): Likewise.
2295         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2296         "-Wl,-single_module".
2297         * configure: Regenerate.
2298         * linking.m (_objcInit): Remove.
2300 2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
2302         PR libobjc/22606
2303         * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2305 2005-06-08  David Ayers  <d.ayers@inode.at>
2307         * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2308         objc/encoding.h, objc/hash.h, objc/objc-api.h,
2309         objc/runtime.h, objc/sarray.h, objc/thr.h, 
2310         objc/typedstream.h: Do not include Objective-C headers as
2311         system headers.
2313 2005-06-07  David Ayers  <d.ayers@inode.at>
2315         * archive.c, init.c, selector.c: Include hash.h.
2316         * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2317         init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2318         sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2319         thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2320         thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2321         Include Objective-C headers with quotes and objc/ directory
2322         prefix.
2324 2005-05-19  Richard Henderson  <rth@redhat.com>
2326         * exception.c: Revert last change.
2328 2005-05-19  David Ayers  <d.ayers@inode.at>
2330         * exception.c: Include tsystem.h for unwind.h.
2332 2005-05-09  Mike Stump  <mrs@apple.com>
2334         * configure: Regenerate.
2336 2005-04-12  Mike Stump  <mrs@apple.com>
2338         * configure: Regenerate.
2340 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2342         * Makefile.in: Set gcc_version here.
2343         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
2344         in definition of toolexeclibdir so that $(gcc_version) is expanded
2345         by the Makefile.
2346         * aclocal.m4, configure: Regenerate.
2348 2005-03-03  David Ayers  <d.ayers@inode.at>
2350         * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2351         version reference.  Correct typo.
2353 2005-03-02  David Ayers  <d.ayers@inode.at>
2355         PR libobjc/19024
2356         * Makefile.in (OBJS): Add hash_compat.lo.
2357         (OBJS_GC): Add hash_compat_gc.lo.
2358         (hash_compat_gc.lo): New target and rule.
2359         * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2360         (hash_next, hash_value_for_key, hash_is_key_in_hash)
2361         (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2362         with objc_.  Add deprecated non prefixed inlined versions.
2363         (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2364         declarations.
2365         * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2366         (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2367         update callers.
2368         * hash_compat.c: New file.
2369         * archive.c: Update callers.
2370         * init.c: Likewise.
2371         * selector.c: Likewise.
2372         * libobjc.def: Add objc_ versions of hash functions.
2374 2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
2376         PR libobjc/20252
2377         * Makefile.in (GTHREAD_FLAGS): Remove.
2378         (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2379         * thr-objc.c: Include config.h.
2380         * configure.ac: Instead of looking at GCC's makefile, figure out if
2381         GTHREAD_FLAGS should be defined by looking at the `thread model'
2382         of the current gcc.
2383         * configure: Regenerate.
2384         * config.h.in: Regenerate.
2386 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2388         PR bootstrap/17383
2389         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2390         (Determine CFLAGS for gthread): Use $host_subdir.
2391         * configure: Regenerate.
2392         * Makefile.in (host_subdir): New.
2393         (INCLUDES): Use it.
2395 2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
2397         PR libobjc/12035
2398         * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2399         they are not used.
2400         Include limits.h and stdlib.h.
2401         Define BITS_PER_WORD.
2403 2004-12-12  Alexander Malmberg  <alexander@malmberg.org>
2405         * selector.c (__objc_init_selector_tables): Add missing void to
2406         definition.
2408 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
2410         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2411         * configure, aclocal.m4: Regenerate.
2413 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2415         * configure: Regenerate for libtool change.
2417 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2419         * configure: Regenerate for libtool reversion.
2421 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2423         * configure: Regenerate for libtool change.
2425 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2427         * aclocal.m4, config.h.in: Regenerate.
2429 2004-10-08  Mike Stump  <mrs@apple.com>
2430             Andrew Pinski  <pinskia@physics.uc.edu>
2432         * aclocal.m4: Rename to ...
2433         * acinclude.m4: here and also use m4_include instead of sinclude.
2434         * aclocal.m4: Regenerate.
2435         * configure: Regenerate.
2436         * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2437         * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2439 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
2441         * archive.c: Fix all the warnings about passing unsigned char*
2442         to char* and the other way too.
2444 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
2446         PR libobjc/16448
2447         * exception.c: Include config.h
2448         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2449         SJLJ_EXCEPTIONS.
2450         * configure.ac: Find out what exception handling code we use.
2451         * configure: Regenerate.
2452         * config.h.in: New file, regenerate.
2454 2004-09-16  Andrew Pinski  <apinski@apple.com>
2456         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2458 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
2460         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2461         ACX_NONCANONICAL_TARGET.
2462         * configure: Regenerate.
2464 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
2466         * objc/sarray.h: Hoist include of assert.h near the top of file,
2467         and mark the remainder of the file 'extern "C"'.
2469 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2471         * objc/Object.h: Move includes out of extern "C" blocks.
2472         * objc/encoding.h: Likewise.
2473         * objc/hash.h: Likewise.
2474         * objc/objc-api.h: Likewise.
2475         * objc/runtime.h: Likewise.
2476         * objc/sarray.h: Likewise.
2477         * objc/typedstream.h: Likewise.
2479 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
2481         * objc/NXConstStr.h: Update copyright date; bracket with
2482         'extern "C"' for C++ use; make include syntax consistent
2483         by using <...> instead of "..."; hoist <objc/...> includes
2484         above the 'extern "C"' block.
2485         * objc/Object.h: Likewise.
2486         * objc/Protocol.h: Likewise.
2487         * objc/encoding.h: Likewise.
2488         * objc/hash.h: Likewise.
2489         * objc/runtime.h: Likewise.
2490         * objc/sarray.h: Likewise.
2491         * objc/thr.h: Likewise.
2492         * objc/typedstream.h: Likewise.
2493         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2494         (objc_static_instances): For C++ case, do away with
2495         zero-sized array.
2496         (objc_method): Hoist definition to file scope.
2497         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2498         class_get_instance_method, class_create_instance,
2499         class_get_class_name, class_get_instance_size,
2500         class_get_meta_class, class_get_super_class, class_get_version,
2501         class_is_class, class_is_meta_class, class_set_version,
2502         class_get_gc_object_type, class_ivar_set_gcinvisible,
2503         get_imp): Rename 'class' parameter to '_class'.
2504         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2505         * objc/objc.h: Update copyright date.
2506         (arglist_t): Provide a union tag.
2508 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
2510         * thr.c (__objc_thread_detach_function): Do not mark as volatile
2511         but instead use the attribute noreturn.
2513 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
2515         * encoding.c: Rename target_flags with a #define to avoid
2516         conflict with a prior declaration.
2518 2004-06-24  Andrew Pinski  <apinski@apple.com>
2520         * objc/encoding.h: Wrap the functions with extern "C" for C++
2521         mode.
2522         * objc/hash.h: Likewise.
2523         * objc/objc-api.h: Likewise.
2524         * objc/objc-list.h: Likewise.
2525         * objc/runtime.h: Likewise.
2526         * objc/sarray.h: Likewise.
2527         * objc/thr.h: Likewise.
2528         * objc/typedstream.h: Likewise.
2531 2004-06-21  Nick Clifton  <nickc@redhat.com>
2533         * encoding.c (BITS_PER_UNIT): Define if a definition is not
2534         provided.
2536 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2538         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2539         (exception_gc.lo): New.
2540         (OBJS_GC): Add exception_gc.lo.
2542 2004-06-17  Richard Henderson  <rth@redhat.com>
2544         * exception.c: New file.
2545         * Makefile.in (exception.lo): New.
2546         (OBJS): Add it.
2548 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
2550         * linking.m (_objcInit): New empty function
2551         for Darwin only.
2553 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2555         * configure.ac: Support --enable-shared=libobjc.
2556         * configure: Regenerate.
2558         PR libobjc/15901
2559         * configure.ac: Do not disable shared by default.
2560         * configure: Regenerate.
2562 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
2564         * Protocol.m ([-isEqual:]): Small optimizations returning
2565         immediately if the argument is equal to self, and accessing
2566         the argument's name directly if it's a protocol.
2568 2004-06-03  David Ayers  <d.ayers@inode.at>
2570         * Protocol.m ([-isEqual:]): Test the class of the argument.
2572 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2574         * configure.ac (includedir): Rename to ...
2575         (includedirname).
2576         * Makefile.in: s/includedir/includedirname/.
2578         PR target/11572
2579         * configure.ac (includedir): Set to "include"
2580         except for Darwin.
2581         (libext) Set to empty except for Darwin.
2582         * configure: Regenerate
2583         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2584         s/include/$(includedir)/g.
2586 2004-05-25  Daniel Jacobowitz  <drow@false.org>
2588         * Makefile.in: Add .NOEXPORT.
2590 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2592         Merge from the libobjc-branch
2593         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
2595                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2597         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2599                 * Makefile.in (OBJC_H): Add objc-deps.h.
2601         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
2603                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2604                 ([-hash], [-isEqual:]): New methods.
2606         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
2608                 * sarray.c (sarray_free): Add a better comment.
2610         2004-01-27  Adam Fedor  <fedor@gnu.org>
2612                 * hash.c (hash_add): Cast cachep to int.
2613                 * selector.c (__sel_register_typed_name): Cast
2614                 soffset_decode to int.
2616         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
2618                 * selector.c: Rename register_selectors_from_list to
2619                 __objc_register_selectors_from_list. Update caller.
2620                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2621                 while registering selectors. Use __sel_register_typed_name instead
2622                 of sel_register_typed_name. Check for NULL method_name:s.
2623                 (pool_alloc_selector): New function.
2624                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2625                 selector structures.
2626                 * sendmsg.c (class_add_method_list): Use
2627                 __objc_register_selectors_from_list.
2628                 * objc/runtime.h: Add __objc_register_selectors_from_list.
2630         2004-01-25  Adam Fedor  <fedor@gnu.org>
2631                     Nicola Pero  <n.pero@mi.flashnet.it>
2632                     Andrew Pinski  <pinskia@physics.uc.edu>
2634                 * objc/objc-decls.h: New file.
2635                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2636                 (_objc_load_callback): Likewise.
2637                 (_objc_object_alloc): Likewise.
2638                 (_objc_object_copy): Likewise.
2639                 (_objc_object_dispose): Likewise.
2641         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
2643                 * archive.c: s/__inline__/inline
2644                 * sendmsg.c: Likewise.
2646                 * encoding.c: Remove FIXME about the warning
2647                 about unused variable.
2648                 * sendmsg.c: Add a FIXME comment saying that
2649                 this should be using libffi.
2651                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2654 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
2656         * archive.c (objc_read_class): Initialize class_name.
2657         (objc_read_selector): Initialize selector_name.
2659 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
2661         * Makefile.in (toolexecdir): Remove trailing space.
2663 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2665         PR libobjc/14948
2666         * configure.ac: De-precious CC so multilibs work.
2667         * configure: Regenerate.
2669 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2671         * configure.ac: Restore toolexecdir.
2672         * Makefile.in: Restore toolexecdir.
2673         * configure: Regenerate.
2675 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2677         * configure.ac: Remove (unused) glibcpp_prefixdir.
2678         * configure: Regenerate.
2680         * configure.in: Rename to configure.ac.
2681         * Makefile.in: Update to match.
2683         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2684         Replace glibcpp_toolexeclibdir with toolexeclibdir.
2685         * configure.in: Remove glibcpp_toolexecdir (unused).
2686         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
2687         config.h or stamp-h (unused).  Move one comment to the right place.
2688         * configure: Regenerate.
2689         * config.h.in: Remove (unused).
2691         * config.h.in: Regenerate with autoheader.
2693         * Makefile.in: Remove (unused) gcc_version_trigger.
2694         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
2695         gcc_version_trigger.
2696         * configure: Regenerate.
2698         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2699         Sort file into sections.  Remove dnl where appropriate.  Fix
2700         other style issues.
2701         * configure: Regenerate.
2703         * configure.in: Replace old AC_PROG_CC hack with new one.
2704         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2705         are no subdirectory output files, so this is fine).  Change prereq
2706         to autoconf 2.59.
2707         * aclocal.m4: Include ../config/no-executables.m4.
2708         * configure: Regenerate with autoconf 2.59.
2710         * configure.in: Improve comments on gthread_cflags.  Improve m4
2711         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2712         * configure: Regenerate.
2714         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
2715         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
2716         redundant checks for values of RANLIB, AR, INSTALL.
2717         * configure: Regenerate.
2719         * configure.in: Clean up handling of
2720         --enable-version-specific-runtime-libs and related variables;
2721         replace 'if test' with 'case' where reasonable.  Fix comments.
2722         Remove useless libstdcxx_interface.
2723         * configure: Regenerate.
2725         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2726         Replace uses of target_alias with target_noncanonical.
2727         * aclocal.m4: Include ../config/acx.m4.
2728         * configure: Regenerate.
2729         * Makefile.in: Replace uses of target_alias with target_noncanonical.
2730         Fix copyright statement.
2732         * configure.in: Hand-inline bulky, confusing macros from
2733         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
2734         Update copyright notice.  Remove stuff for automake, which isn't
2735         used in this directory.  Remove emacs local variables.
2736         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
2737         * configure: Regenerate.
2739 2004-03-16  Manfred Hollstein  <mh@suse.com>
2741         * Makefile.in, configure.in, configure: Update copyright years.
2743 2004-03-15  Manfred Hollstein  <mh@suse.com>
2745         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2746         definition from configure.in.
2747         * configure.in (PACKAGE): Add definition.
2748         (VERSION): Add definition; substitute it in output files.
2749         * configure: Re-generate.
2751 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
2753         * objc/hash.h (hash_string, compare_strings):
2754         Add type-casts to make Objective-C++ happy.
2755         * objc/typedstream.h (objc_get_stream_class_version):
2756         Rename parameter from 'class' to 'class_name' to make
2757         Objective-C++ happy.
2759 2004-03-01  Michael Matz  <matz@suse.de>
2761         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2763 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
2765         * objc/objc-api.h (objc_super): The 'class' field shall
2766         be named 'super_class' #ifdef __cplusplus.
2768 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
2770         PR target/10781
2771         * encoding.c (rs6000_special_round_type_align): Define.
2773 2004-01-14  Adam Fedor  <fedor@gnu.org>
2775         PR libobjc/12155
2776         * selector.c (__objc_register_instance_methods_to_class): Free
2777         new_list if not used.
2779 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
2781         PR libobjc/11904
2782         * sarray.c (sarray_free): Free array->is_copy_of latter.
2784 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
2786         PR 11433
2787         * Protocol.m (descriptionForInstanceMethod): Don't dereference
2788         instance_methods if it's NULL.
2789         (descriptionForClassMethod): Likewise for class_methods.
2791 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2793         * Makefile.in (runtime-info.h): Remove -Wp.
2795 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2797         * Makefile.in (CC1OBJ): Remove.
2798         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2799         correctly.
2800         Use .m extension for temporary file.
2801         Remove assembler temp file.
2803 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2805         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2807 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2809         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2811 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2813         * configure: Regenerate.
2815 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
2817         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2818         (libdir)/gcc-lib/ when installing.
2819         * configure: Regenerate.
2821 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
2823         libobjc/9969
2824         * sendmsg.c (get_imp): Fixed rare threading problem.
2825         (__objc_responds_to): Similar fixes.
2826         (objc_msg_lookup): Similar fixes.
2827         (__objc_init_install_dtable): Lock the runtime before checking if the
2828         table is installed.
2830 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2832         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2833         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2834         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2835         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2836         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2837         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2838         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2839         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2840         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2841         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2842         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2844 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
2845                           Nicola Pero  <n.pero@mi.flashnet.it>
2847         libobjc/10742
2848         * init.c (class_superclass_of_class): New function.
2849         (create_tree_of_subclasses_inherited_from): Use it.
2850         (__objc_tree_insert_class): Likewise.
2851         (class_is_subclass_of_class): Likewise.
2853 2003-04-11  David Chad  <davidc@freebsd.org>
2854             Loren J. Rittle  <ljrittle@acm.org>
2856         libobjc/8562
2857         * objc/hash.h (hash_string): Constify correctly.
2858         (compare_ptrs): Use direct compare.
2859         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2860         * objc/sarray.h: Global rename index to indx to avoid shadow.
2862 2003-03-12  Andreas Schwab  <schwab@suse.de>
2864         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2865         glibcpp_toolexeclibdir.
2866         * configure: Rebuilt.
2868 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2870         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2871         config.status.
2872         * configure: Rebuilt.
2874 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2876         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2877         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2878         version_specific_libs is enabled.
2879         * configure: Rebuilt.
2881 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2883         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2884         (install-libs, install-headers): Prepend $(DESTDIR) to
2885         destination paths in all (un)installation commands.
2887 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
2889         * thr-objc.c: Include coretypes.h and tm.h.
2891 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
2893         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2895 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
2897         * configure.in: Remove skip-this-dir support.
2898         * configure: Regenerate.
2900 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2902         * Makefile.in (all): Fix multilib parallel build.
2904 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2906         * sendmsg.c (nil_method): Declare not to take a variable number of
2907         args.
2908         (objc_msg_lookup): Cast nil_method to IMP before returning it.
2909         (objc_msg_lookup_super): The same.
2911 2002-09-10  Jan Hubicka  <jh@suse.cz>
2913         * nil_method.c (nil_method): No longer defined with variable
2914         arguments.
2916 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
2918         * objc/encoding.h: Fix formatting.
2919         * objc/hash.h: Likewise.
2920         * objc/objc-api.h: Likewise.
2921         * objc/runtime.h: Likewise.
2922         * objc/thr.h: Likewise.
2923         * archive.c: Likewise.
2924         * class.c: Likewise.
2925         * encoding.c: Likewise.
2926         * gc.c: Likewise.
2927         * hash.c: Likewise.
2928         * init.c: Likewise.
2929         * misc.c: Likewise.
2930         * nil_method.c: Likewise.
2931         * objects.c: Likewise.
2932         * sarray.c: Likewise.
2933         * selector.c: Likewise.
2934         * sendmsg.c: Likewise.
2935         * thr-mach.c: Likewise.
2936         * thr.c: Likewise.
2938 2002-06-25  DJ Delorie  <dj@redhat.com>
2940         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
2941         GLIBCPP_TOPREL_CONFIGURE.
2942         * configure.in: Call it before AC_CANONICAL_SYSTEM.
2943         * configure: Regenerate.
2945 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2947         * Object.m (forward, read, write): Fix unused parameter warnings.
2948         * encoding.c: Include <stdlib.h>.
2949         (target_flags): Mark with attribute unused.
2950         (atoi): Delete.
2951         * runtime.h (__objc_selector_max_index): Change to unsigned int.
2952         (__objc_generate_gc_type_description): Prototype.
2953         * selector.c (__objc_selector_max_index): Change to unsigned int.
2955 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2957         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
2958         we always have a return value: if __objc_msg_forward does not
2959         supply a forwarding implementation, return the default
2960         __builtin_apply based one.
2962 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2964         * Object.m: Fix signed/unsigned warning.
2965         * Protocol.m: Likewise.
2966         * archive.c: Always include stdlib.h.
2967         (objc_read_short, objc_read_unsigned_short, objc_read_int,
2968         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
2969         Fix signed/unsigned warning.
2970         (objc_write_type, objc_read_type, objc_write_types,
2971         objc_read_types): Ensure ctype 8-bit safety.
2972         (__objc_no_write, __objc_no_read): Mark unused parameters.
2973         * class.c (class_table_setup): Specify void arg.
2974         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
2975         objc_skip_typespec, objc_skip_offset,
2976         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
2977         (objc_layout_structure_next_member): Ensure variables are
2978         initialized.
2979         * gc.c (__objc_generate_gc_type_description,
2980         class_ivar_set_gcinvisible): Mark unused parameters.
2981         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
2982         unused parameters.
2983         (__objc_init_protocols) Fix signed/unsigned warning.
2984         * nil_method.c (nil_method): Mark unused parameters.
2985         * thr.h (objc_thread_callback): Specify void arg.
2986         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
2987         signed/unsigned warning.
2988         (sarray_free): Fix formatting.
2989         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
2990         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
2992 2002-06-09  Andreas Jaeger  <aj@suse.de>
2994         * encoding.c (objc_layout_structure_next_member): Remove unused
2995         variable.
2997 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2999         * Makefile.in (SHELL): Set to @SHELL@.
3000         (WARN_CFLAGS): New.
3001         (ALL_CFLAGS): Add $(WARN_CFLAGS).
3003 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3005         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
3006         * configure: Regenerate.
3008 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
3010         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
3011         script entry, and set LD to it when configuring multilibs.
3012         * configure: Rebuilt.
3014 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
3016         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
3018 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
3020         PR objc/6107
3021         * objc/objc-api.h (struct objc_protocol_list): Change type of
3022         member count from int to size_t.
3024 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3026         PR libobjc/4039
3027         * aclocal.m4: Replace with version copied from libstdc++-v3.
3028         * configure.in: Update for changes to aclocal and Makefile.
3029         * configure: Regenerate.
3030         * Makefile.in: Correct install of multilibs and shared libs, use
3031         INSTALL_DATA for include files.
3033 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
3035         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
3036         categories - when an unclaimed category was found, the loop was
3037         doing two steps forward instead of one, so that in certain cases
3038         it was failing to properly load all the categories.  (Reported
3039         with fix by Alexander Malmberg <alexander@malmberg.org>).
3041 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
3043         * encoding.c: Add target_flags.
3045 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
3047          * objc/objc-api.h (_C_VECTOR): New.
3049          * encoding.c (VECTOR_TYPE): New.
3051 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3053         * class.c: Rewritten the class table to use optimized, lock-free
3054         lookup.  This more than doubles the speed of class method
3055         invocations.  (class_table_setup), (class_table_insert),
3056         (class_table_replace), (class_table_get_safe),
3057         (class_table_next), (class_table_print),
3058         (class_table_print_histogram): New functions.
3059         (__objc_init_class_tables): Use class_table_setup.
3060         (__objc_add_class_to_hash): Use class_table_get_safe and
3061         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
3062         assert the existence of the table; do not lock the runtime; use
3063         class_table_get_safe.  (objc_next_class): Use class_table_next.
3064         (__objc_resolve_class_links): Use class_table_next.
3065         (class_pose_as): Use class_table_replace.
3067 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
3069         * gc.c: Removed the DEBUG declaration.
3071 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3073         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
3074         rather than through objc_thread_id, to save a function call.
3075         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
3076         Ditto.
3078 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3080         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
3081         to cast an id to a Class, which can not be done.  Make the check
3082         by using CLS_ISMETA on the class pointer instead.
3083         (object_is_meta_class): Similar fix.
3085 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
3087         * configure.in (AC_EXEEXT): Work around in case it expands to
3088         nothing, as in autoconf 2.50.
3089         * acinclude.m4: Likewise.
3090         * configure: Rebuilt.
3092 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
3094         * THREADS: Explain that when we compile libobjc inside GCC, we
3095         always use thr-objc.c as a backend, which uses GCC's thread code.
3097 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
3099         * init.c (__objc_send_message_in_list): When setting a new entry
3100         in __objc_load_methods use the method IMP as key, but check to see
3101         if the method is in the hashtable by looking at the IMP also.
3102         Also ... call the method after adding it to the hashtable rather
3103         than before ... thus preventing an obscure possibility of infinite
3104         recursion if a +load method itself loads a subclass.
3106 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
3108         * init.c (__objc_send_message_in_list): When setting a new entry
3109         in __objc_load_methods use the method name as key, not the method
3110         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
3112 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3114         * objc-features.texi: Move to ../gcc/objc.texi.
3115         * fdl.texi: Remove.
3116         * Makefile.in: Don't generate documentation from
3117         objc-features.texi.
3119 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
3121         * fdl.texi: New file.
3122         * objc-features.texi: Simplify.
3123         * Makefile.in: Adjust accordingly.
3125 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3127         * objc-features.texi: Use the GFDL.
3129 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
3131         * encoding.c (REAL_TYPE): Define.
3133 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
3135         * encoding.c (TYPE_MODE): Define.
3137 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
3139         * thr.c (objc_thread_add): New function.
3140         (objc_thread_remove): Ditto.
3141         * objc/thr.h: Declare them.
3142         * libobjc.def: Mention them.
3144 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
3146         * objc-features.texi: Document the @compatibility_alias compiler
3147         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3149 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3151         * sendmsg.c (__objc_forward): Delete strlen() declaration.
3153 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
3155         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3156         we're not interested in the result and they might fail.
3157         * configure: Regenerated.
3159 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3161         * objc-features.texi: Use @email.
3163 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3165         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3166         printf.
3168 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
3170         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3171         determines the value dynamically.
3173 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
3175         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3176         libraries to provide a function that returns the real forwarding
3177         function. This can alleviate problems __builtin_apply() and
3178         friends have on various platforms. (Solution suggested by Helge
3179         Hess.)
3181         * objc/objc-api.h: Define __objc_msg_forward.
3183         * sendmsg.c: Define gen_rtx_REG.
3185 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3187         * thr-rtems.c: New file. Stub to compile.
3189 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3191         * configure: Rebuilt with new libtool.m4.
3193 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3195         * configure.in: Create a config.h file. Check for <sched.h>.
3196         * configure: Regenerate.
3198         * config.h.in: Check for <sched.h>.
3200 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
3202         * configure: Regenerate after change to ../libtool.m4.
3204 2000-08-14  Andreas Schwab  <schwab@suse.de>
3206         * objc-features.texi (Top): Move @menu at end of node.
3208 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
3210         * objc-features.texi: Move @node Top before @menu.
3212 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3214         * objc-features.texi: Documented the new -fconstant-string-class
3215         option.
3217 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3219         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3220         improve the Posix thread support for Objective-C.
3222 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3224         * aclocal.m4: Replace copy of ../libtool.m4 with
3225         sinclude(../libtool.m4).
3227 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
3229         * configure.in: Added libtool support; build shared libraries
3230         if --enable-shared was passed on command line.
3231         * Makefile.in: Modified most compilation commands to use libtool.
3232         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3233         libtool distribution.
3235 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3237         * sarray.c, Object.m: Removed the explicit prototypes for strlen
3238         and memcpy on 64-bit platforms (Suggested by Rodney Brown
3239         <rdb@cup.hp.com>).
3241 2000-05-12  H.J. Lu  (hjl@gnu.org)
3243         * Makefile.in (GTHREAD_FLAGS): New.
3244         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3245         (OBJC_THREAD_FILE): Changed to thr-objc.
3247         * configure.in (GTHREAD_FLAGS): New, check and replace it for
3248         Makefile.
3249         (OBJC_THREAD_FILE): Removed.
3251         * thr-objc.c: New.
3253 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3255         * objc/hash.h: Include string.h.
3257 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3259         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3261 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3263         * Object.m (strlen): Provide prototype on all 64bit platforms,
3264         not only alpha.
3265         * sarray.c (memcpy): Likewise.
3266         * encoding.c (objc_layout_finish_structure): Don't use
3267         ROUND_TYPE_ALIGN on sparc.
3269         * encoding.c (objc_layout_structure_next_member): Do the whole
3270         procedure even for the first member, so that we get correct
3271         alignment.
3273 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3275         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3276         comments.
3278 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3280         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3282 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
3284         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3286 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
3288         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3289         the compiler when building C code.
3291 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
3293         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3294         libdir, libsubdir and tooldir.
3296 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
3298         * init.c (__objc_force_linking): Make global.
3300 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
3302         * configure.in (AC_EXEEXT): Remove call.
3303         (compiler_name): Explicitly check with no extension and .exe
3304         extension.
3305         * configure: Regenerate.
3307 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3309         * Makefile.in (CC1OBJ): Define in terms of CC.
3310         (runtime-info.h): Use.
3312 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3314         * objc-features.texi: Updated the URL to Boehm's GC page.
3316 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3318         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3319         the char as being signed (patch from Daniel Jacobowitz
3320         <drow@false.org>).
3322 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3324         * configure.in (AC_PREREQ): Update to 2.13.
3325         (AC_EXEEXT): Call to find possible file extension.
3326         (compiler_name): Use.
3327         * configure: Regenerate.
3329 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
3331         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3333 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
3335         * configure.in (thread_file): Correct and simplify code to find
3336         the thread file.
3337         * configure: Rebuilt.
3339 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
3341         * configure.in (compiler_name): Add check to detect if this
3342         language's compiler has been built.
3343         * configure: Regenerate.
3345 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3347         *  configure.in: Use AC_PREREQ(2.12.1).
3349 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
3351         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3353 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3355         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3357 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3359         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3361 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
3363         * objc-features.texi (Top): Changed the email address.
3364         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3366 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
3368         * encoding.c: Redefine get_inner_array_type to get the first entry
3369         in the structure.
3371 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
3373         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3374         (objc_get_type_qualifiers): Similarly.
3375         * objc/encoding.h (_C_BYREF): Define.
3376         (_F_BYREF): Define.
3378 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
3380         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3381         works out on 64-bit systems.
3383 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
3385         * Makefile.in (INCLUDES): Make it multilib-friendly.
3387 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
3389         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3391 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
3392                          Jeffrey A Law  (law@cygnus.com)
3394         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3395         (FLAGS_TO_PASS): Added.
3396         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3398         * archive.c: Change config.h to tconfig.h.
3400         * configure.in: Find gcc's object directory even for multilibs.
3402 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
3404         * configure.in: Escape ^ in grep string.
3405         * configure: Rebuilt.
3407 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
3409         * All .h files pushed down into the objc/ subdirectory.
3410         * Makefile.in (copy_headers): Corresponding changes.
3411         * configure.in (AC_INIT): Corresponding changes.
3412         * configure: Rebuilt.
3414 1998-09-30  Ben Elliston  <bje@cygnus.com>
3415             Jeff Law      <law@cygnus.com>
3417         * Makefile.in: Rewrite.
3419         * configure.in: Likewise.
3421         * configure: Regenerate.
3423         * All .c files.  Remove "objc" prefix when including objc header
3424         files.  Include tconfig.h, not ../tconfig.h.
3426 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
3428         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3429         (get_inner_array_type): Define.
3431 1998-09-21  Ben Elliston  <bje@cygnus.com>
3433         * New directory.  Moved files from ../gcc/objc.
3435 Copyright (C) 1998-2016 Free Software Foundation, Inc.
3437 Copying and distribution of this file, with or without modification,
3438 are permitted in any medium without royalty provided the copyright
3439 notice and this notice are preserved.