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