Fix a typo in comment.
[official-gcc.git] / libobjc / ChangeLog
blobb5bba60494403c4a272e5c3d1c58b0b89b79b642
1 2020-02-12  Sandra Loosemore  <sandra@codesourcery.com>
3         PR libstdc++/79193
4         PR libstdc++/88999
6         * configure: Regenerated.
8 2020-01-24  Maciej W. Rozycki  <macro@wdc.com>
10         * Makefile.in (aclocal_deps): Add `toolexeclibdir.m4'.
11         * aclocal.m4: Include `toolexeclibdir.m4'.
12         * configure.ac: Handle `--with-toolexeclibdir='.
13         * configure: Regenerate.
15 2020-01-01  Andrew Pinski  <pinskia@gmail.com>
17         PR libobjc/93099
18         * objc/objc-decls.h (objc_EXPORT): Define it to
19         extern for DLL_EXPORT define case.
21 2020-01-01  Jakub Jelinek  <jakub@redhat.com>
23         Update copyright years.
25 2019-11-26  Tobias Burnus  <tobias@codesourcery.com>
27         * Makefile.in (aclocal_deps): Fix path to cet.m4.
29 2019-09-27  Maciej W. Rozycki  <macro@wdc.com>
31         * configure: Regenerate.
33 2019-04-23  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
34             Bernd Edlinger  <bernd.edlinger@hotmail.de>
35             Jakub Jelinek  <jakub@redhat.com>
37         PR target/89093
38         * exception.c (PERSONALITY_FUNCTION): Add general-regs-only target
39         attribute for ARM.
41 2019-03-06  Uroš Bizjak  <ubizjak@gmail.com>
43         * encoding.c (DFmode): #undef before #define.
45 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
47         PR other/16615
48         * objc/runtime.h: Change "can not" to "cannot".
50 2019-01-09  Sandra Loosemore  <sandra@codesourcery.com>
52         PR other/16615
54         * class.c: Mechanically replace "can not" with "cannot".
55         * objc/runtime.h: Likewise.
56         * sendmsg.c: Likewise.
58 2019-01-01  Jakub Jelinek  <jakub@redhat.com>
60         Update copyright years.
62 2018-10-31  Joseph Myers  <joseph@codesourcery.com>
64         PR bootstrap/82856
65         * configure.ac: Remove AC_PREREQ.
66         * aclocal.m4, config.h.in, configure: Regenerate.
68 2018-04-24  H.J. Lu  <hongjiu.lu@intel.com>
70         * configure: Regenerated.
72 2018-04-19  Jakub Jelinek  <jakub@redhat.com>
74         * configure: Regenerated.
76 2018-04-18  David Malcolm  <dmalcolm@redhat.com>
78         PR jit/85384
79         * configure: Regenerate.
81 2018-02-14  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
83         PR target/84148
84         * configure: Regenerate.
86 2018-01-03  Jakub Jelinek  <jakub@redhat.com>
88         Update copyright years.
90 2017-11-23  Tom de Vries  <tom@codesourcery.com>
92         * class.c (CLASS_TABLE_HASH): Wrap in "do {} while (0)".
94 2017-11-17  Igor Tsimbalist  <igor.v.tsimbalist@intel.com>
96         * Makefile.in: Regenerate.
97         * aclocal.m4: Likeiwse.
98         * configure: Likewise.
99         * configure.ac: Set CET_FLAGS. Update XCFLAGS.
101 2017-08-30  Richard Sandiford  <richard.sandiford@linaro.org>
102             Alan Hayward  <alan.hayward@arm.com>
103             David Sherwood  <david.sherwood@arm.com>
105         * encoding.c (_darwin_rs6000_special_round_type_align): Prefix mode
106         names with E_ in case statements.
108 2017-02-07  Richard Biener  <rguenther@suse.de>
110         PR tree-optimization/79256
111         PR middle-end/79278
112         * encoding.c (objc_layout_structure_next_member): Adjust
113         ADJUST_FIELD_ALIGN usage.
115 2017-01-18  Matthias Klose  <doko@ubuntu.com>
117         PR libobjc/78697
118         * configure.ac: Allow default for --with-target-bdw-gc-include.
119         * configure: Regenerate.
121         PR libobjc/78698
122         * configure.ac: Use the libgc.la file when available.
123         * configure: Regenerate.
125 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
127         PR other/79046
128         * configure: Regenerated.
129         * configure.ac: Add GCC_BASE_VER.
130         * Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
131         get version from BASE-VER file.
132         * configure: Regenerated.
134 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
136         Update copyright years.
138 2016-12-01  Matthias Klose  <doko@ubuntu.com>
140         * configure.ac: Don't use pkg-config to check for bdw-gc.
141         * configure: Regenerate.
143 2016-11-30  Matthias Klose  <doko@ubuntu.com>
145         * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking
146         for the existence of the pkg-config modules.
147         * Regenerate.
149 2016-11-30  Jakub Jelinek  <jakub@redhat.com>
151         * configure.ac (--enable-objc-gc): If not given, default to
152         enable_objc_gc=no.
153         * configure: Regenerated.
155 2016-11-30  Matthias Klose  <doko@ubuntu.com>
157         * configure.ac (--enable-objc-gc): Allow to configure with a
158         system provided boehm-gc.
159         * configure: Regenerate.
160         * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
161         * gc.c: Include system bdw-gc headers.
162         * memory.c: Likewise.
163         * objects.c: Likewise.
165 2016-11-15  Matthias Klose  <doko@ubuntu.com>
167         * aclocal.m4: Regenerate.
168         * configure: Likewise.
170 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
172         Update copyright years.
174 2015-11-07  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
176         PR libobjc/24775
177         * encoding.c (_darwin_rs6000_special_round_type_align): Use
178         __CHAR_BIT__ instead of BITS_PER_UNIT.
179         (objc_sizeof_type): Likewise.
180         (objc_layout_structure): Likewise.
181         (objc_layout_structure_next_member): Likewise.
182         (objc_layout_finish_structure): Likewise.
183         (objc_layout_structure_get_info): Likewise.
185 2015-11-03  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
187         PR libobjc/24775
188         * encoding.c (objc_layout_finish_structure): Remove usage of
189         ROUND_TYPE_SIZE.
191 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
193         PR libobjc/24775
194         * sendmsg.c (tm.h): Remove include.
196 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
198         PR libobjc/24775
199         * sendmsg.c (gen_rtx): Remove macro.
200         (gen_rtx_MEM): Likewise.
201         (gen_rtx_REG): Likewise.
202         (rtx): Likewise.
204 2015-09-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
206         PR libobjc/24775
207         * sendmsg.c: Remove check of STRUCT_VALUE macro.
209 2015-05-13  Eric Botcazou  <ebotcazou@adacore.com>
211         * configure.ac: Remove manual SJLJ check.
212         * config.h.in: Regenerate.
213         * configure: Likewise.
214         * exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
216 2015-05-13  Michael Haubenwallner  <michael.haubenwallner@ssi-schaefer.com>
218         * aclocal.m4: Regenerated with automake-1.11.6.
220 2015-05-04  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
222         * configure: Regenerate.
224 2015-05-01  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
226         * acinclude.m4: Include bitfields.m4.
227         * config.h.in: Regenerate.
228         * configure: Likewise.
229         * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
230         * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
232 2015-04-29  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
234         * encoding.c (objc_layout_structure_next_member): Check the value of
235         PCC_BITFIELD_TYPE_MATTERS not if it is defined.
237 2015-02-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
239         PR libobjc/63765
240         * thr.c (_XOPEN_SOURCE): Remove.
242 2015-01-27  Matthias Klose  <doko@ubuntu.com>
244         * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
246 2015-01-09  Dimitris Papavasiliou  <dpapavas@gmail.com>
248         PR libobjc/51891
249         * ivars.c: Add a check for classes without instance
250         variables, which have a NULL ivar list pointer.
252 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
254         Update copyright years.
256 2014-11-21  H.J. Lu  <hongjiu.lu@intel.com>
258         PR bootstrap/63784
259         * configure: Regenerated.
261 2014-11-11  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>
263         PR target/63610
264         * configure: Regenerate.
266 2014-11-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
268         * thr.c (_XOPEN_SOURCE): Define as 600.
270 2014-07-27  Alan Modra  <amodra@gmail.com>
271             Matthias Klose  <doko@ubuntu.com>
273         PR libobjc/61920
275         * encoding.c: Define rs6000_special_adjust_field_align_p.
277 2014-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
279         Update copyright years
281 2013-09-20  Alan Modra  <amodra@gmail.com>
283         * configure: Regenerate.
285 2013-07-21   Ondřej Bílka  <neleai@seznam.cz>
287         * class.c: Fix typos.
288         * encoding.c: Likewise.
289         * init.c: Likewise.
290         * objc-private/runtime.h: Likewise.
291         * objc/runtime.h: Likewise.
292         * objc-sync.c: Likewise.
294 2013-07-04  Kai Tietz  <ktietz@redhat.com>
296         * exception.c: Add check for SjLj to SEH blocks.
298 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
300         Update copyright years.
302 2012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
304         * encoding.c (TARGET_VSX): Provide definitions based on the
305         current compilation options, and not based off the target options
306         structure.
307         (TARGET_ALTIVEC): Likewise.
308         (TARGET_64BIT): Likewise.
310 2012-09-14  David Edelsohn  <dje.gcc@gmail.com>
312         * configure: Regenerated.
314 2012-07-19  Tristan Gingold  <gingold@adacore.com>
315             Richard Henderson  <rth@redhat.com>
317         * exception.c (__gnu_objc_personality_seh0): New function.
319 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
321         * configure: Regenerated.
323 2012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
325         * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
326         * configure: Regenerate.
328         * thr.c (_XOPEN_SOURCE): Define unconditionally.
330 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
332         * configure: Regenerate.
334 2011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
336         * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
337         * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
338         * configure: Regenerate.
339         * config.h.in: Regenerate.
341 2011-10-17  Paul Brook  <paul@codesourcery.com>
342             Matthias Klose  <doko@ubuntu.com>
344         * exception.c (parse_lsda_header): hardcode ttype_encoding for older
345         ARM EABI toolchains.
346         (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
348 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
350         PR libobjc/49883
351         * init.c (__objc_exec_class): Work around a bug in clang's code
352         generation.  Clang sets the class->info field to values different
353         from 0x1 or 0x2 (the only allowed values in the traditional GNU
354         Objective-C runtime ABI) to store some additional information, but
355         this breaks backwards compatibility.  Wipe out all the bits in the
356         fields other than the first two upon loading a class.
358 2011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
360         * class.c (objc_lookup_class): Added back for compatibility with
361         clang which seems to emit calls to it.
363 2011-10-08  Richard Frith-Macdonald <rfm@gnu.org>
364             Nicola Pero  <nicola.pero@meta-innovation.com>
366         PR libobjc/50428
367         * sendmsg.c (__objc_send_initialize): If a class does not have an
368         +initialize method, search for an +initialize method in the
369         superclass and in the ancestor classes and execute the first one
370         that is found.  This makes the GNU runtime behave in the same way
371         as the Apple/NeXT runtime with respect to +initialize methods and
372         subclassing.
374 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
376         PR libobjc/50002
377         * class.c (__objc_update_classes_with_methods): Iterate over meta
378         classes as well as normal classes when refreshing the method
379         implementations.  This fixes replacing class methods.
381 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
383         * class.c (class_getSuperclass): Fixed to work with meta classes
384         still in construction too.
386 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
388         * class.c (class_getSuperclass): Fixed typo in comment.
390 2011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
392         PR libobjc/49882
393         * class.c (class_getSuperclass): Return the superclass if the
394         class is in construction.
395         * objc/runtime.h (class_getSuperclass): Updated documentation.
397 2011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
399         * Makefile.in (INCLUDES): Search
400         $(srcdir)/$(MULTISRCTOP)../libgcc.
402 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
404         * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
406 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
408         * configure.ac (VERSION): Bumped to 4:0:0.
409         * configure (VERSION): Likewise.
411 2011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
413         * objc/README: Updated.
414         * objc-private/selector.h: Updated comments.
416 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
418         * sendmsg.c (class_get_instance_method): Removed.
419         (class_get_class_method): Removed.
420         (objc_get_uninstalled_dtable): Removed.
422 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
424         * objc-private/module-abi-8.h (class_get_instance_size): Removed.
425         * objects.c (class_create_instance): Removed.
426         * error.c (__USE_FIXED_PROTOTYPES__): Removed.
427         * gc.c (__objc_generate_gc_type_description): Use
428         class_getInstanceSize() instead of class_get_instance_size().
429         * selector.c (sel_types_match): Made static.
430         (sel_get_typed_uid): Removed.
431         (sel_get_any_typed_uid): Removed.
432         (sel_get_name): Removed.
433         (sel_get_type): Removed.
434         (sel_register_name): Removed.
435         (sel_register_typed_name): Removed.
436         (sel_get_uid): Removed.
438 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
440         * encoding.c (method_get_number_of_arguments): Removed.
441         (method_get_sizeof_arguments): Removed.
443 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
445         * class.c (objc_next_class): Removed.
446         (class_pose_as): Removed.
447         (CLASSOF): Removed.
448         (class_table_replace): Removed.
449         (objc_lookup_class): Removed.
451 2011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
453         Removed the Traditional Objective-C runtime public API.
454         * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
455         (install-headers): Do not create the objc/deprecated directory and
456         do not install the deprecated headers.
457         (OBJC_H): Removed encoding.h and objc-api.h.
458         * Object.m: Removed all methods with the exception of -class and
459         -isEqual:.  Updated includes.  ([-class]): Use Modern API.
460         * objc/Object.h: Do not include deprecated/Object.h.
461         * objc/deprecated/Object.h: Removed.
462         * linking.m (__objc_linking): Call [Object class] instead of
463         [Object name].
464         * Protocol.m: Removed all methods with the exception of -isEqual:.
465         Updated includes.
466         * objc/Protocol.h: Do not include deprecated/Protocol.h.
467         * objc/deprecated/Protocol.h: Removed.
468         * objc/deprecated/struct_objc_symtab.h: Removed.
469         * objc/deprecated/struct_objc_module.h: Removed.
470         * objc/deprecated/struct_objc_ivar.h: Removed.
471         * objc/deprecated/struct_objc_ivar_list.h: Removed.
472         * objc/deprecated/struct_objc_method.h: Removed.
473         * objc/deprecated/struct_objc_method_list.h: Removed.
474         * objc/deprecated/struct_objc_protocol_list.h: Removed.
475         * objc/deprecated/struct_objc_category.h: Removed.
476         * objc/deprecated/MetaClass.h: Removed.
477         * objc/deprecated/objc_msg_sendv.h: Removed.
478         * objc/deprecated/README: Removed.
479         * objc/deprecated/struct_objc_class.h: Removed.
480         * objc/deprecated/struct_objc_protocol.h: Removed.
481         * objc/deprecated/struct_objc_selector.h: Removed.
482         * objc/encoding.h: Removed.
483         * objc/message.h (struct objc_super): Removed the definition for
484         the Traditional Objective-C runtime API.
485         * objc/objc.h: Do not include objc/objc-decls.h.
486         deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
487         deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
488         and deprecated/objc_msg_sendv.h.  Uncommented new definition of
489         Protocol *.
490         * objc/objc-api.h: Removed.
491         * objc/runtime.h: Updated comments.  Removed check to detect
492         concurrent usage of Traditional and Modern APIs.
493         * objc-private/module-abi-8.h: Always define struct objc_class and
494         struct objc_protocol.  (struct objc_protocol_list): Changed type
495         of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
496         (class_get_instance_size): Added.
497         * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
498         'struct objc_protocol *' as argument, not a 'Protocol *'.
499         * objc-private/runtime.h: Updated comments.
500         * objc-private/selector.h (struct objc_selector, sel_eq): Added.
501         * class.c: Include objc-private/selector.h.
502         (objc_get_meta_class): Return a Class instead of a MetaClass.
503         * encoding.c (method_get_next_argument): Removed.
504         (method_get_first_argument): Removed.
505         (method_get_nth_argument): Removed.
506         * gc.c: Include objc/runtime.h instead of objc/encoding.h.
507         Include objc-private/module-abi-8.h and ctype.h.
508         * protocols.c (__objc_protocols_add_protocol): Take a 'struct
509         objc_protocl *' as argument, not a 'Protocol *'.
510         (class_addProtocol): Added casts to 'struct objc_protocol *' and
511         'Protocol *'.
512         (class_copyProtocolList): Likewise.
513         (protocol_conformsToProtocol): Likewise.
514         (protocol_copyProtocolList): Likewise.
515         * sarray.c: Include objc-private/module-abi-8.h.
516         * sendmsg.c (method_get_next_argument): Removed.
517         (method_get_first_argument): Removed.
518         (method_get_nth_argument): Removed.
519         (objc_msg_sendv): Removed.
520         (arglist_t, retval_t): New.  (class_get_class_method): Take a
521         'Class', not 'MetaClass', argument.
522         * thr.c: Include module-abi-8.h.
524 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
526         * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
527         and objc_get_uninstalled_dtable.h.
528         * objc/deprecated/struct_objc_static_instances.h: Removed.
529         * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.
530         * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
531         and deprecated/objc_get_uninstalled_dtable.h.
533 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
535         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
536         * objc/deprecated/objc_object_alloc.h: Removed.
537         * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
538         * objects.c (_objc_object_alloc, _objc_object_dispose,
539         _objc_object_copy): Removed.
540         * libobjc.def (__objc_object_alloc, __objc_object_copy,
541         __objc_object_dispose): Removed.
543 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
545         * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
546         * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
547         * objc/deprecated/METHOD_NULL.h: Removed.
549 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
551         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
552         objc_malloc.h and objc_unexpected_exception.h.
553         (exception.lo): Do not use -Wno-deprecated-declarations.
554         (exception_gc.lo): Likewise.
555         * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
556         deprecated/objc_malloc.h and
557         deprecated/objc_unexpected_exception.h.
558         * objc/deprecated/objc_valloc.h: Removed.
559         * objc/deprecated/objc_malloc.h: Removed.
560         * objc/deprecated/objc_unexpected_exception.h: Removed.
561         * exception.c (_objc_unexpected_exception): Removed.
562         (objc_exception_throw): Do not check for
563         _objc_unexpected_exception.
564         * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
565         _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.
566         * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
568 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
570         * objc/objc.h: Do not include deprecated/STR.h.
571         * objc/deprecated/STR.h: Removed.
572         * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
574 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
576         * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
577         (OBJC_DEPRECATED_H): Likewise.
578         * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
579         objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
580         objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
581         hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
582         sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
583         sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
584         * objc/sarray.h: Removed.
585         * objc/hash.h: Removed.
586         * objc/deprecated/sarray.h: Removed.
587         * objc/deprecated/hash.h: Removed.
588         * objc/Object.h: Do not include objc/deprecated/hash.h
589         * Object.m: Include string.h.
590         * objc/objc-api.h: Do not include objc/deprecated/hash.h.
591         * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
592         Removed.
594 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
596         * Object.m ([-forward::]): Removed.
597         * objc/deprecated/Object.h ([-forward::]): Removed.
598         * sendmsg.c (__objc_forward): Updated comments.
600 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
602         * Makefile.in (OBJC_H): Removed objc-list.h.
603         (OBJC_DEPRECATED_H): Removed objc-list.h.
604         * objc/objc-list.h: File removed.
605         * objc/deprecated/objc-list.h: File removed.
607 2011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
609         * Makefile.in (OBJC_H): Removed typedstream.h.
610         (OBJC_DEPRECATED_H): Removed typedstream.h.
611         (C_SOURCE_FILES): Removed archive.c.
612         (Object.lo): Rule removed.
613         (Object_gc.lo): Likewise.
614         (archive.lo): Likewise.
615         (archive_gc.lo): Likewise.
616         * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
617         [-awake]): Removed.
618         Do not include deprecated/typedstream.h.
619         * Object.m: Removed the same methods.
620         * archive.c: File removed.
621         * objc/typedstream.h: File removed.
622         * objc/deprecated/typedstream.h: File removed.
623         * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
624         __objc_write_class, __objc_write_object, __objc_write_selector,
625         objc_close_typed_stream, objc_end_of_typed_stream,
626         objc_flush_typed_stream, objc_get_stream_class_version,
627         objc_open_typed_stream, objc_open_typed_stream_for_file,
628         objc_read_array, objc_read_char, objc_read_int, objc_read_long,
629         objc_read_object, objc_read_selector, objc_read_short,
630         objc_read_string, objc_read_type, objc_read_types,
631         objc_read_unsigned_char, objc_read_unsigned_int,
632         objc_read_unsigned_long, objc_read_unsigned_short,
633         objc_write_array, objc_write_char, objc_write_int,
634         objc_write_long, objc_write_object, objc_write_object_reference,
635         objc_write_root_object, objc_write_selector, objc_write_short,
636         objc_write_string, objc_write_string_atomic, objc_write_type,
637         objc_write_types, objc_write_unsigned_char,
638         objc_write_unsigned_int, objc_write_unsigned_long,
639         objc_write_unsigned_short): Removed.
641 2011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
643         * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
644         * objc/deprecated/objc_error.h: Removed.
645         * objc/objc-api.h: Do not include deprecated/objc_error.h.
646         * libobjc.def (objc_error, objc_verror): Removed.
647         * error.c (_objc_error_handler, objc_error, objc_verror,
648         objc_set_error_handler): Removed.
649         * Object.m ([-error:], [-perform:], [-perform:with:],
650         [-perform:with:with], [-subclassResponsibility:],
651         [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
652         Removed.
653         * objc/deprecated/Object.h: Removed the same methods.
654         * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
655         method after trying to invoke the "doesNotRecognize:" method.
657 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
659         * sendmsg.c: Reindented part of the file.  No non-trivial changes
660         in code.
662 2011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
664         * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
665         not objc_lookup_class.
667 2011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
668             David Ayers  <ayers@fsfe.org>
670         PR libobjc/38307
671         * sendmsg.c: Include objc/hash.h.
672         (get_implementation): New function, mostly with code from get_imp
673         updated to support the new +initialize dispatch table logic.
674         (get_imp): Use get_implementation.
675         (__objc_responds_to): Updated to support the new +initialize
676         dispatch table logic.
677         (class_respondsToSelector): Likewise.
678         (objc_msg_lookup): Use get_implementation.
679         (__objc_init_install_dtable): Removed.
680         (__objc_install_methods_in_dtable): Updated arguments.
681         (__objc_install_dispatch_table_for_class): Renamed to
682         __objc_install_dtable_for_class and updated to support the new
683         +initialize dispatch table logic.
684         (__objc_update_dispatch_table_for_class): Updated to support the
685         new +initialize dispatch table logic.
686         (__objc_forward): Call get_implementation instead of get_imp.
687         (prepared_dtable_table): New.
688         (__objc_prepare_dtable_for_class): New.
689         (__objc_prepared_dtable_for_class): New.
690         (__objc_get_prepared_imp): New.
691         (__objc_install_prepared_dtable_for_class): New.
693 2011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
695         PR libobjc/48177
696         * selector.c (__sel_register_typed_name): Use sel_types_match()
697         instead of strcmp() to compare selector types (Suggestion by
698         Richard Frith-Macdonald <rfm@gnu.org>).
700 2011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
702         PR libobjc/32037
703         * Makefile.in (OBJC_GCFLAGS): Move ...
704         * configure.ac (enable_objc_gc): ... here.
705         Add $(libsuffix) to OBJC_BOEHM_GC.
706         * configure: Regenerate.
708 2011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>
710         * selector.c (sel_getTypedSelector): Return NULL if there are
711         multiple selectors with conflicting types.
712         * objc/runtime.h (sel_getTypedSelector): Updated documentation.
714 2011-02-28  Richard Frith-Macdonald <rfm@gnu.org>
716         PR libobjc/47922
717         * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
718         a hardcoded "!".
720 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
722         * configure: Regenerate.
724 2010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>
726         * init.c (create_tree_of_subclasses_inherited_from): Use
727         class_superclass_of_class instead of assuming a class is
728         unresolved when it could be resolved.  Tidied up assignment and
729         check.
730         (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
731         (objc_tree_insert_class): Tidied up loop; return immediately upon
732         inserting a class.
733         (__objc_exec_class): Do not set __objc_class_tree_list.
735 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
737         * selector.c (sel_getTypedSelector): Return NULL if given a NULL
738         argument.
739         (sel_registerTypedName): Same.
740         (sel_registerName): Same.
741         * objc/runtime.h: Updated documentation.
743 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
745         * objc/runtime.h (class_addIvar): Updated documentation.  The
746         alignment is actually the log_2 of the alignment in bytes.
747         * ivars.c (class_addIvar): Corresponding change to the
748         implementation.
750 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
752         * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
753         be consistent with method_getTypeEncoding and
754         ivar_getTypeEncoding.
755         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
756         * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
757         (sel_copyTypedSelectorList, sel_getTypedSelector): New.
758         (sel_get_type): Updated call to sel_getType.
760 2010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
762         * objc/runtime.h (class_conformsToProtocol,
763         class_copyProtocolList): Updated documentation.
765 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
767         * init.c (create_tree_of_subclasses_inherited_from): Updated
768         DEBUG_PRINTF messages.
769         (__objc_tree_insert_class): Same.
770         (__objc_send_load_using_method_list): Same.
771         (__objc_send_load): Same.
772         (__objc_exec_class): Same.  In particular, do not print the module
773         name since it is no longer used.
774         * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
775         tracking +initialize calls.
776         (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
777         tracking updates of dispatch tables.
778         (__objc_install_dispatch_table_for_class): Same.
780 2010-12-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
782         * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
783         (libobjc_gc$(libsuffix).la): Likewise.
785 2010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
787         * sendmsg.c (class_addMethod): Return NO if the method already
788         exists in the class.
790 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
792         * init.c (duplicate_classes): New.
793         (__objc_exec_class): Initialize duplicate_classes.
794         (__objc_create_classes_tree): Ignore classes in the
795         duplicate_classes table.
796         (__objc_call_load_callback): Same.
797         (__objc_init_class): If a duplicate class is found, add it to
798         duplicate_classes instead of aborting.  Return YES if the class is
799         not a duplicate, and NO if it is.
800         * objc-private/runtime.h (__objc_init_class): Updated prototype.
802 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
804         * objc-private/objc-list.h: Reindented file.  No code changes.
805         * objc-private/sarray.h: Same change.
807 2010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
809         * objc-private/accessors.h: Removed 'extern "C"' guards.  This
810         file is never compiled with C++.
811         * objc-private/hash.h: Same change.
812         * objc-private/objc-list.h: Same change.
813         * objc-private/objc-sync.h: Same change.
814         * objc-private/protocols.h: Same change.
815         * objc-private/runtime.h: Same change.
816         * objc-private/sarray.h: Same change.
817         * objc-private/selector.h: Same change.
819 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
821         PR libobjc/18764
822         * class.c (__objc_add_class_to_hash): Return YES if the class was
823         added, and NO if it already existed.
824         * init.c (__objc_init_class): If __objc_add_class_to_hash returns
825         NO, then abort the program with an error message.
826         * objc-private/runtime.h (__objc_add_class_to_hash): Updated
827         declaration.
829 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
831         * init.c (_objc_load_callback): Initialize with 0.
832         (__objc_call_callback): Renamed to __objc_call_load_callback.
833         Check _objc_load_callback only once, and if it is not set, return
834         immediately.
835         (objc_send_load): Updated call to __objc_call_callback.
837 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
839         PR libobjc/16110
840         * init.c (__objc_send_message_in_list): Renamed to
841         __objc_send_load_using_method_list.  Do not take an 'op' argument.
842         Register the 'load' selector if needed.
843         (__objc_send_load): Do not register the 'load' selector.  Updated
844         call to __objc_send_message_in_list.
845         (__objc_create_classes_tree): Add the class of any claimed
846         category that was loaded in the module to the list of classes for
847         which we try to execute +load.
849 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
851         * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
852         Updated comments.
853         * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
854         a pointer using DEBUG_PRINTF.
856 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
858         PR libobjc/45953
859         * selector.c (__sel_register_typed_name): When registering a new
860         selector with the same name as an existing one, reuse the existing
861         name string.  Also updated types, casts and comments in the whole
862         function.
864 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
866         * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
867         to be 'struct objc_selector *' and not 'SEL'.
868         * init.c (__objc_exec_class): Call
869         __objc_register_selectors_from_module instead of iterating over
870         each selector and calling __sel_register_typed_name for each.
871         * objc-private/selector.h: Declare
872         __objc_register_selectors_from_module instead of
873         __sel_register_typed_name.
874         * selector.c (__objc_register_selectors_from_module): New.
875         (__sel_register_typed_name): Made static.
877 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
879         * linking.m: Do not include objc/NXConstStr.h.
881 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
883         * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
884         * objc-private/common.h (DEBUG_PRINTF): To here.
885         * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
887 2010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
889         * hash.c: Tidied up comments and indentation.  No code changes.
891 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
893         PR libobjc/47012
894         * accessors.m (objc_getProperty): If not atomic, do not
895         retain/autorelease the returned value.
897 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
899         * objc-private/runtime.h (__objc_selector_max_index,
900         __objc_init_selector_tables, __objc_register_selectors_from_class,
901         __objc_register_selectors_from_list,
902         __objc_register_selectors_from_description_list): Moved to ...
903         * objc-private/selector.h: ... here.
905 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
907         * objc-private/runtime.h (__objc_class_links_resolved): Removed.
908         (__objc_print_dtable_stats): Removed.
909         (__sel_register_typed_name): Removed.
910         * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
912 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
914         * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
915         if appropriate, after loading the module.
917 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
919         * sendmsg.c (method_setImplementation): Do not declare.
921 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
923         * objc/message.h: Updated comments.
924         * objc/runtime.h: Updated comments.
926 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
928         * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
929         * protocols.c: Updated all calls to objc_lookupClass to call
930         objc_lookUpClass instead.
931         * sendmsg.c (objc_lookupClass): Do not declare.
932         (get_imp): Update call to objc_lookupClass to call
933         objc_lookUpClass instead.
934         * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
936 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
938         * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
939         * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
940         define.  Updated comments.
942 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
944         * objc/encoding.h: Updated comments.
945         * objc/runtime.h: Updated comments.
946         (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
947         (objc_sizeof_type): Same.
948         (objc_alignof_type): Same.
949         (objc_aligned_size): Same.
950         (objc_promoted_size): Same.
951         (objc_skip_type_qualifiers): Same.
952         (objc_skip_typespec): Same.
953         (objc_skip_offset): Same.
954         (objc_skip_argspec): Same.
955         (objc_get_type_qualifiers): Same.
956         (objc_layout_structure): Same.
957         (objc_layout_structure_next_member): Same.
958         (objc_layout_finish_structure): Same.
959         (objc_layout_structure_get_info): Same.
961 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
963         * init.c: Updated comments.
964         * objc/objc-api.h: Updated comments.
965         * objc/runtime.h (_objc_load_callback): Declare.
967 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
969         * objc/Object.h: Include deprecated/typedstream.h and
970         deprecated/hash.h instead of typedstream.h.  Updated comments.
972 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
974         * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
975         * objc/deprecated/objc_msg_sendv.h: New.
976         * objc/message.h: Do not define retval_t, apply_t, arglist,
977         arglist_t, objc_msg_sendv, now in
978         objc/deprecated/objc_msg_sendv.h.
979         * objc/objc.h: Do not include message.h; include
980         objc/deprecated/objc_msg_sendv.h instead.  Tidied up comments.
981         * sendmsg.c: Include objc/message.h.
982         * thr.c: Include objc/message.h.
984 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
986         * objc/objc-exception.h: Include objc-decls.h.  Mark all
987         functions with objc_EXPORT.
988         * objc/objc-sync.h: Same change.
990 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
992         * Protocol.m: Moved all methods, with the exception of -isEqual:,
993         into the 'Deprecated' category.
994         * objc/Protocol.h: Removed all methods, moved to
995         objc/deprecated/Protocol.h.  Include objc/deprecated/Protocol.h.
996         * objc/deprecated/Protocol.h: New.
997         * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
999 2010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
1001         * init.c: Include objc-private/selector.h.  Do not declare
1002         __sel_register_typed_name.
1003         * objc-private/selector.h (__sel_register_typed_name): Declare.
1004         * selector.c: Include objc-private/selector.h.
1006 2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1008         * class.c: Tidied up comments and indentation.  No code changes.
1009         * error.c: Same.
1010         * exception.c: Same.
1011         * init.c: Same.
1012         * ivars.c: Same.
1013         * memory.c: Same.
1014         * objc-foreach.c: Same.
1015         * objc-sync.c: Same.
1016         * objects.c: Same.
1017         * protocols.c: Same.
1018         * sarray.c: Same.
1019         * thr.c: Same.
1021 2010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1023         * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
1024         instead of objc/objc-api.h.
1025         (init_check_module_version): Take a 'struct objc_module *'
1026         argument instead of 'Module_t'.  Use 'struct objc_module *'
1027         instead of 'Module_t'.
1028         (__objc_created_classes_tree): Take a 'struct objc_module *'
1029         argument instead of 'Module_t'; use 'struct objc_symtab *' instead
1030         of 'Symtab_t'.
1031         (__objc_call_callback): Take a 'struct objc_module *' argument
1032         instead of 'Module_t'; use 'struct objc_symtab *' instead of
1033         'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
1034         (_objc_load_callback): Take a 'struct objc_category *' argument
1035         instead of 'Category *'.
1036         (class_superclass_of_class): Use objc_getClass() instead of
1037         objc_lookup_class().
1038         (create_tree_of_subclasses_inherited_from): Same change (also, use
1039         an explicit 'if' instead of '?').
1040         (objc_init_statics): Same change.
1041         (objc_send_load): Same change.
1042         (__objc_init_protocol): same change.
1043         (__objc_send_message_in_list): Take a 'struct objc_method_list *'
1044         argument instead of 'MethodList_t'.  Use 'struct objc_method *'
1045         instead of 'Method_t'.
1046         (__objc_send_load): Use 'struct objc_method_list *' instead of
1047         'MethodList_t'.  Use sel_registerName() instead of
1048         sel_register_name().
1049         (__objc_exec_class): Take a 'struct objc_module *' argument
1050         instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
1051         'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
1052         Use 'struct objc_category *' instead of 'Category_t'.
1054 2010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1056         * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
1057         Include objc-private/module-abi-8.h and objc-private/selector.h
1058         instead of objc/encoding.h.
1059         (objc_msg_lookup_super): Use super->super_class instead of
1060         super->class.
1061         (method_get_first_argument, method_get_next_argument): Declare
1062         locally.
1063         (class_get_instance_method): Declare before using.
1064         (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
1065         (__objc_init_dispatch_tables, __objc_send_initialize): Use
1066         sel_registerName() instead of sel_register_name().
1067         (__objc_forward): Use sel_getName() instead of sel_get_name().
1068         (objc_get_uninstalled_dtable): Use 'void' as argument.
1069         * objc-private/selector.h: New.
1071 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1073         * objc/message.h (objc_super): When using the modern API, do not
1074         define Super and Super_t, and always use 'super_class' for the
1075         super class field.
1076         (objc_msg_lookup_super): Updated prototype to use 'struct
1077         objc_super *' instead of 'Super_t'.
1078         * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
1079         'struct objc_super *' instead of 'Super_t'.
1081 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1083         * objc/message.h: Update comments, reindented code and moved
1084         deprecated types and functions at the end of the file.  No code
1085         changes.
1087 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1089         * ivars.c (class_addIvar): Use the 'size' argument instead of
1090         trying to calculate it using objc_sizeof_type().
1091         * objc/runtime.h (class_addIvar): Updated comments.
1093 2010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1095         * sendmsg.c: Reindented some code and tidied up comments.  No
1096         actual code changes.
1098 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1100         * objc/Object.h: Moved all the methods, with the exception of
1101         -class and -isEqual:, into ...
1102         * objc/deprecated/Object.h: here.
1103         * Object.m: Moved all the methods, with the exception of -class
1104         and -isEqual: into the 'Deprecated' category.
1106 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1108         * objects.c (object_copy): Do not #undef as we are no longer
1109         including objc/objc-api.h.
1110         * selector.c: Include objc/runtime.h and
1111         objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
1112         objc/encoding.h.  Updated
1113         (__objc_register_selectors_from_class): Use struct
1114         objc_method_list * instead of MethodList_t.
1115         (__objc_register_selectors_from_list): Use Method instead of
1116         Method_t.
1117         (struct objc_method_description_list): Do not define here.
1118         (__objc_register_instance_methods_to_class): Use struct
1119         objc_method_list * instead of MethodList_t and Method instead of
1120         Method_t.
1122 2010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1124         * selector.c: Reindented some code and tidied up comments.  No
1125         actual code changes.
1127 2010-12-13  Iain Sandoe  <iains@gcc.gnu.org>
1129         * encoding.c (_darwin_rs6000_special_round_type_align): New.
1130         (darwin_rs6000_special_round_type_align): Adjust to use new routine.
1132 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1134         * sendmsg.c (selector_resolveClassMethod): New.
1135         (selector_resolveInstanceMethod): New.
1136         (__objc_resolve_class_method): New.
1137         (__objc_resolve_instance_method): New.
1138         (get_imp): Call __objc_resolve_class_method or
1139         __objc_resolve_instance_method at the appropriate time.
1140         (objc_msg_lookup): Same.
1141         (class_getClassMethod): Same.
1142         (class_getInstanceMethod): Same.
1143         (__objc_init_dispatch_tables): Initialize
1144         selector_resolveClassMethod and selector_resolveInstanceMethod.
1145         * objc/runtime.h: Updated documentation of class_getClassMethod,
1146         class_getInstanceMethod and class_getMethodImplementation.
1148 2010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1150         * objc-private/module-abi-8.h (struct objc_symtab): Updated
1151         description of sel_ref_cnt and refs.
1152         * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
1154 2010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
1156         PR target/40125
1157         PR lto/46695
1158         * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
1159         * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
1160         * aclocal.m4: Regenerate.
1161         * configure: Regenerate.
1163 2010-12-03  Matthias Klose  <doko@ubuntu.com>
1165         * configure.ac (VERSION): Bump the version to 3:0:0.
1166         * configure: Regenerate.
1168 2010-11-23  Richard Frith-Macdonald <rfm@gnu.org>
1170         * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
1171         pass nil as the receiver since we don't know the receiver at this
1172         point.
1174 2010-11-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1176         * ivars.c: Include stdlib.h.
1177         * protocols.c: Same change.
1179 2010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
1181         * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
1182         * accessors.m: New.
1183         * init.c: Include objc-private/accessors.h.
1184         (__objc_exec_class): Call __objc_accessors_init.
1185         * objc-private/accessors.h: New.
1187 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1189         * objc/message.h: Moved initial includes outside of extern "C".
1190         * objc/runtime.h: Add extern "C" for Objective-C++.
1192 2010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1194         * init.c (objc_send_load): Do not wait for NXConstantString to be
1195         registered before executing +load.  There is no point if
1196         -fconstant-string-class=xxx is used when compiling all modules,
1197         as is the case for almost all users.
1198         * linking.m (__objc_linking): Do not try to forcefully link in
1199         NXConstantString.
1201 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1203         * objc/runtime.h: Updated comments.
1204         (class_addMethod): New.
1205         (class_addIvar): New.
1206         (class_replaceMethod): New.
1207         (objc_allocateClassPair): New.
1208         (objc_registerClassPair): New.
1209         (objc_disposeClassPair): New.
1210         * class.c (objc_allocateClassPair): New.
1211         (objc_registerClassPair): New.
1212         (objc_disposeClassPair): New.
1213         (class_getSuperclass): Return Nil if a class is in construction.
1214         * init.c (__objc_exec_class): Call __objc_init_class.
1215         (__objc_init_class): New.
1216         * ivars.c (class_copyIvarList): Return NULL if class is in
1217         construction.  Do not lock the runtime mutex.
1218         (class_getInstanceVariable): Return NULL if class is in
1219         construction.  Do not lock the runtime mutex.
1220         (class_addIvar): New.
1221         * sendmsg.c (class_addMethod): New.
1222         (class_replaceMethod): New.
1223         * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
1224         (_CLS_IN_CONSTRUCTION): New.
1225         (CLS_IS_IN_CONSTRUCTION): New.
1226         (CLS_SET_IN_CONSTRUCTION): New.
1227         (CLS_SET_NOT_IN_CONSTRUCTION): New.
1228         * objc-private/runtime.h (__objc_init_class): New.
1230 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1232         * class.c (class_getSuperclass): Call __objc_resolve_class_links
1233         if the class is not resolved yet.
1234         * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
1236 2010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
1238         * objc/runtime.h (class_getIvarLayout): New.
1239         (class_getWeakIvarLayout): New.
1240         (class_setIvarLayout): New.
1241         (class_setWeakIvarLayout): New.
1242         * ivars.c (class_getIvarLayout): New.
1243         (class_getWeakIvarLayout): New.
1244         (class_setIvarLayout): New.
1245         (class_setWeakIvarLayout): New.
1247 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1249         * objc/runtime.h (class_copyPropertyList): New.
1250         (class_getProperty): New.
1251         (property_getAttributes): New.
1252         (property_getName): New.
1253         * ivars.c (class_copyPropertyList): New.
1254         (class_getProperty): New.
1255         (property_getAttributes): New.
1256         (property_getName): New.
1258 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1260         * objc-private/runtime.h (__objc_update_classes_with_methods): New.
1261         * class.c (__objc_update_classes_with_methods): New.
1262         (objc_getClassList): Do not lock the class lock.
1263         * methods.c (method_exchangeImplementations): New.
1264         (method_setImplementation): New.
1265         * objc/runtime.h (method_setImplementation): New.
1266         (method_exchangeImplementations): New.
1268 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1270         * Protocol.m: Include objc/runtime.h and
1271         objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
1272         repeat Protocol's instance variables.
1273         (struct objc_method_description_list): Do not define here.
1274         ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1275         ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1276         selectors directly instead of getting names and then using strcmp.
1277         ([descriptionForClassMethod:]): Same change.
1278         ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1279         * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1280         to compare selectors directly instead of getting names and then
1281         using strcmp.
1282         * objc/Protocol.h: Updated comments.
1284 2010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1286         * init.c (__objc_init_protocol): New function which fixes up a
1287         protocol's class pointer, registers it with the runtime, register
1288         all protocol selectors and registers associated protocols too.
1289         (objc_init_statics): Detect if we are initializing protocols, and
1290         if so, use __objc_init_protocol instead of only fixing up the
1291         class pointer.
1292         (__objc_init_protocls): Use __objc_init_protocol.
1293         * objc-private/module-abi-8.h: Updated comments.
1294         * objc-private/runtime.h
1295         (__objc_register_selectors_from_description_list): New.
1296         * selector.c (__objc_register_selectors_from_description_list):
1297         New.  (struct objc_method_description_list): Declare.
1298         * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1299         when accessing the name of a method, which is now correctly a SEL.
1300         ([-descriptionForClassMethod:]): Same change.
1301         * protocols.c (protocol_getMethodDescription): Same change.
1302         * objc/runtime.h: Updated comments.
1303         (sel_registerTypedName): Fixed typo in function name.
1305 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1307         PR libobjc/23214
1308         * init.c (objc_init_statics): Do not skip the initialization of a
1309         statics list if the first object has already been initialized; in
1310         the case of Protocols, while the first one may have been
1311         initialized, some others may not have been initialized yet.
1313 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1315         * Makefile.in (OBJC_DEPRECATED_H): Added
1316         objc_get_uninstalled_dtable, objc_object_alloc.h and
1317         struct_objc_static_instances.h.
1319 2010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1321         * encoding.c (method_copyReturnType): New.
1322         (method_copyArgumentType): New.
1323         (method_getReturnType): New.
1324         (method_getArgumentType): New.
1325         * methods.c (method_getDescription): New.
1326         * objc/runtime.h (method_copyReturnType): New.
1327         (method_copyArgumentType): New.
1328         (method_getReturnType): New.
1329         (method_getArgumentType): New.
1330         (method_getDescription): New.
1332 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1334         * encoding.c: Tidied up comments.
1335         (objc_skip_variable_name): New static inline function.
1336         (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1337         the same code over and over.
1338         (objc_alignof_type): Same.
1339         (objc_aligned_size): Same.
1340         (objc_promoted_size): Same.
1341         (objc_skip_typespec): Same.
1342         (objc_layout_structure_next_member): Same.
1343         (objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
1344         historical bug where objc_skip_offset would skip one byte even if
1345         there is no offset: check that the first offset digit is actually
1346         a digit before skipping it.
1347         (objc_skip_type_qualifiers): Mark as inline.
1348         (objc_skip_typespec): Mark as inline.
1350 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1352         * Makefile.in (C_SOURCE_FILES): Added methods.c.
1353         * encoding.c (method_getNumberOfArguments): New.
1354         (method_get_number_of_arguments): Call
1355         method_getNumberOfArguments.
1356         * ivars.c (ivar_getName): Check for NULL variable argument.
1357         (ivar_getOffset): Check for NULL variable argument.
1358         (ivar_getTypeEncoding): Check for NULL variable argument.
1359         (class_copyIvarList): New.
1360         * methods.c: New.
1361         * protocols.c (class_copyProtocolList): Check for Nil class_
1362         argument.
1363         * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1364         'struct objc_method_list *' instead of MethodList_t.
1365         (class_getMethodImplementation): New.
1366         (class_respondsToSelector): New.
1367         (class_getInstanceMethod): New.
1368         (class_getClassMethod): New.
1369         * objc/runtime.h: Updated comments.
1370         (class_copyIvarList): New.
1371         (class_getInstanceMethod): New.
1372         (class_getClassMethod): New.
1373         (class_getMethodImplementation): New.
1374         (class_respondsToSelector): New.
1375         (method_getName): New.
1376         (method_getImplementation): New.
1377         (method_getTypeEncoding): New.
1378         (class_copyMethodList): New.
1379         (method_getNumberOfArguments): New.
1381 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1383         * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1384         instead of objc/objc-api.h.
1385         (objc_get_unknown_class_handler): Do not define.
1386         (class_isMetaClass): New.
1387         (class_getSuperclass): New.
1388         (class_getVersion): New.
1389         (class_setVersion): New.
1390         (class_getInstanceSize): New.
1391         * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1392         (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1393         objc_get_super_class.
1394         (get_ttype_entry): Use objc_getRequiredClass instead of
1395         objc_get_class.
1396         * ivars.c (class_getClassVariable): New.
1397         * objects.c: Include objc/runtime.h, objc/thr.h and
1398         objc-private/module-abi-8.h instead of objc/objc-api.h
1399         * objc/runtime.h (class_getClassVariable): New.
1400         (class_isMetaClass): New.
1401         (class_getSuperclass): New.
1402         (class_getVersion): New.
1403         (class_setVersion): New.
1404         (class_getInstanceSize): New.
1405         * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1406         objc/objc-api.h)
1407         (__CLS_INFO): Same.
1408         (__CLS_ISINFO): Same.
1409         (__CLS_SETINFO): Same.
1410         (CLS_ISMETA): Same.
1411         (CLS_ISCLASS): Same.
1412         (CLS_ISRESOLV): Same.
1413         (CLS_SETRESOLV): Same.
1414         (CLS_ISINITIALIZED): Same.
1415         (CLS_SETINITIALIZED): Same.
1416         (CLS_GETNUMBER): Same.
1417         (CLS_SETNUMBER): Same.
1419 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1421         * archive.c: Do not include objc/objc.h.
1422         * class.c: Do not include objc/objc.h.
1423         * encoding.c: Include objc/runtime.h, ctype.h and
1424         objc-private/module-abi-8.h instead of objc/objc-api.h and
1425         objc/encoding.h.
1426         * error.c: Do not include objc/objc.h.
1427         * gc.c: Include tconfig.h and objc/encoding.h only if
1428         OBJC_WITH_GC.
1429         * hash.c: Include objc/runtime.h and objc/thr.h instead of
1430         objc/objc-api.h.  Do not include objc/objc.h.
1431         * init.c: Do not include objc/objc.h.
1432         * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1433         objc/thr.h instead of objc/objc-api.h.  Do not include
1434         objc/objc.h.
1435         * linking.m: Tidied comment.
1436         * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1437         Do not include objc/objc.h.
1438         * objects.c: Do not include objc/objc.h.
1439         * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1440         * protocols.c: Do not include objc/objc.h.
1441         * sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
1442         not include objc/objc.h.
1443         * selector.c: Do not include objc/objc.h.
1444         * sendmsg.c: Do not include objc/objc.h.
1445         * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1446         Do not include objc/objc.h.
1447         * objc/objc-decls.h: Reindented code.
1448         * objc/runtime.h Include objc-decls.h.  Updated comments.
1449         (objc_malloc): New.
1450         (objc_atomic_malloc): New.
1451         (objc_calloc): New.
1452         (objc_realloc): New.
1453         (objc_free): New.
1454         * objc-private/runtime.h: Updated comments.
1456 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1458         * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1459         * objc-private/protocols.h: New.
1460         * protocols.c: New.
1461         * init.c: Include objc-private/protocols.h.
1462         (__objc_exec_class): Call __objc_protocols_init on startup.
1463         (__objc_init_protocols): Call __objc_protocols_add_protocol.
1464         * objc-private/runtime.h: Use (struct objc_method_list *) instead
1465         of MethodList_t, and (struct objc_method *) instead of Method_t.
1466         * objc/deprecated/struct_objc_class.h: Define
1467         __objc_STRUCT_OBJC_CLASS_defined.
1468         * objc-private/module-abi-8.h (struct
1469         objc_method_description_list): New.
1470         (struct objc_class): Only define if
1471         __objc_STRUCT_OBJC_CLASS_defined is undefined.
1472         * objc/runtime.h (class_getName): New.
1473         (objc_getProtocol): New.
1474         (objc_copyProtocolList): New.
1475         (class_addProtocol): New.
1476         (class_conformsToProtocol): New.
1477         (class_copyProtocolList): New.
1478         (protocol_conformsToProtocol): New.
1479         (protocol_isEqual): New.
1480         (protocol_getName): New.
1481         (protocol_getMethodDescription): New.
1482         (protocol_copyMethodDescriptionList): New.
1483         (protocol_getProperty): New.
1484         (protocol_copyPropertyList): New.
1485         (protocol_copyProtocolList): New.
1486         * class.c (class_getName): New.
1487         * selector.c (sel_isEqual): New.
1489 2010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1491         * selector.c (sel_getName): Return "<null selector>" for a NULL
1492         argument.
1493         (sel_get_name): Return 0 for a NULL argument.
1494         * objc/runtime.h (sel_getName): Updated documentation.
1496         * objc-private/hash.h (class_hash_table): Unused declaration
1497         removed.
1498         (module_hash_table): Same.
1499         * objc/deprecated/hash.h: Same changes.
1501 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1503         * class.c (objc_getClassList): New.
1504         (objc_getRequiredClass): New.
1505         (objc_getMetaClass): New.
1506         (objc_lookupClass): New.
1507         (objc_getClass): New.
1508         (__objc_get_unknown_class_handler): New.
1509         (objc_setGetUnknownClassHandler): New.
1510         (objc_get_class): Use __objc_get_unknown_class_handler.
1511         (objc_lookup_class): Call objc_getClass.
1512         * objc/objc-api.h: Updated comment and copyright notice.
1513         * objc/runtime.h: Updated comments.
1514         (objc_getClass): New.
1515         (objc_lookupClass): New.
1516         (objc_getMetaClass): New.
1517         (objc_getRequiredClass): New.
1518         (objc_getClassList): New.
1519         (objc_setGetUnknownClassHandler): New.
1520         (objc_get_unknown_class_handler): New.
1521         * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1522         instead of __objc_runtime_INCLUDE_GNU as include guard.
1523         * objc-private/error.h (_objc_abort): Mark as noreturn.
1525 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1527         * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1528         * ivars.c: New.
1529         * objc/objc.h: Updated comments.
1530         * objc/runtime.h (object_getClass): New.
1531         (object_getClassName): New.
1532         (object_setClass): New.
1533         (class_getInstanceVariable): New.
1534         (object_getIndexedIvars): New.
1535         (object_getInstanceVariable): New.
1536         (object_setInstanceVariable): New.
1537         (object_getIvar): New.
1538         (object_setIvar): New.
1539         (ivar_getName): New.
1540         (ivar_getOffset): New.
1541         (ivar_getTypeEncoding): New.
1542         * objc-private/module-abi-8.h (struct objc_class): Added.
1543         * objects.c (object_getClassName): New.
1544         (object_setClass): New.
1546 2010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1548         * objc/objc.h: Updated comments.
1549         * objc/objc-api.h: (object_copy): Added one argument; use a
1550         #define to maintain backwards-compatibility.  Moved
1551         _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1552         objc_get_uninstalled_dtable into
1553         objc/deprecated/objc_get_uninstalled_dtable.h and
1554         objc/deprecated/objc_object_alloc.h.  Include these files.
1555         * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1556         * objc/deprecated/objc_object_alloc.h: New.
1557         * objc/runtime.h (set_getName): New.
1558         (sel_getType): New.
1559         (sel_getUid): New.
1560         (sel_registerName): New.
1561         (sel_registerTypedName): New.
1562         (sel_isEqual): New.
1563         (class_createInstance): New.
1564         (object_copy): New.
1565         (object_dispose): New.
1566         * objects.c: Do not include tconfig.h.  Include gc_typed.h if
1567         building the garbage collection version.
1568         (__objc_object_alloc): Removed.
1569         (__objc_object_copy): Removed.
1570         (__objc_object_dispose): Removed.
1571         (class_createInstance): New from code in class_create_instance.
1572         Cast second argument of GC_malloc_explicitly_typed.  Use
1573         objc_calloc.  Do not call _objc_object_alloc.
1574         (class_create_instance): Call class_createInstance.
1575         (object_copy): Added extraBytes argument.  Do not call
1576         _objc_object_copy.
1577         (object_dispose): Do not call _objc_object_dispose.
1578         * memory.c (objc_free): When using garbage collection, mark the
1579         argument as unused.
1580         * selector.c (sel_getName): New.
1581         (sel_get_name): Call sel_getName.
1582         (sel_getType): New.
1583         (sel_get_type): Call sel_getType.
1584         (sel_registerName): New.
1585         (sel_register_name): Call sel_registerName.
1586         (sel_registerTypedName): New.
1587         (sel_register_typed_name): Call sel_registerTypedName.
1588         (sel_getUid): New.
1589         (sel_get_uid): Call sel_getUid.
1591 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1593         * objc/objc-api.h: Define Method, Method_t, Category and
1594         Category_t.  Prevent including this file at the same time as
1595         objc/runtime.h.  Updated comments.
1596         * objc/deprecated/struct_objc_method.h: Do not define Method,
1597         Method_t.
1598         * objc/deprecated/struct_objc_category.h: Do not define Category,
1599         Category_t.
1600         * objc-private/module-abi-8.h: New file containing a copy of all
1601         the structure definitions.  Not used yet.
1602         * objc/encoding.h (objc_aligned_size): Removed duplicate
1603         declaration.  Updated comments.
1604         * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1605         Category, struct objc_method_description, _C_ID and similar,
1606         _C_CONST and similar and _F_CONST and similar.  Added
1607         objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1608         objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1609         objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1610         struct objc_struct_layout, objc_layout_structure,
1611         objc_layout_structure_next_member, objc_layout_finish_structure,
1612         objc_layout_structure_get_info.  Prevent including this file at
1613         the same time as objc/objc-api.h.
1615 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1617         * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1618         struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1619         struct_objc_method_list.h, struct_objc_module.h,
1620         struct_objc_protocol_list.h, struct_objc_symtab.h.
1621         * objc/deprecated/struct_objc_category.h: New.
1622         * objc/deprecated/struct_objc_ivar.h: New.
1623         * objc/deprecated/struct_objc_ivar_list.h: New.
1624         * objc/deprecated/struct_objc_method.h: New.
1625         * objc/deprecated/struct_objc_method_list.h: New.
1626         * objc/deprecated/struct_objc_module.h: New.
1627         * objc/deprecated/struct_objc_protocol_list.h: New.
1628         * objc/deprecated/struct_objc_symtab.h: New.
1629         * objc/deprecated/struct_objc_static_instances.h: New.
1630         * objc/objc-api.h: Definitions of deprecated structures moved into
1631         the above header fragment files in objc/deprecated/.  Include the
1632         files instead of definition the structures here.  Updated
1633         comments.
1634         * objc/runtime.h: Updated comments.  Do not include objc-api.h.
1635         (objc_set_enumeration_mutation_handler): Renamed to
1636         objc_setEnumerationMutationHandler.
1637         * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1638         to objc_setEnumerationMutationHandler.
1639         * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1640         objc_setExceptionMatcher.
1641         (objc_set_uncaught_exception_handler): Renamed to
1642         objc_setUncaughtExceptionHandler.
1643         * exception.c: Same changes.
1645 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1647         * objc-sync.c: Include objc-private/common.h.
1649 2010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1651         * objc-foreach.c: Include objc-private/common.h.
1652         * objc/deprecated/METHOD_NULL.h: New file.
1653         * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1654         defining METHOD_NULL here.
1655         * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1656         * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1657         METHOD_NULL.
1658         ([-respondsTo:]): Same change.
1659         * objc/objc-api.h (method_get_imp): Converted it into a normal
1660         function so that we can hide the internals of struct objc_method.
1661         * sendmsg.c (method_get_imp): Implemented.
1663 2010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
1665         * objc/objc-api.h (struct objc_super, Super, Super_t,
1666         objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1667         objc_msg_forward2): Declarations moved to objc/message.h.  Include
1668         message.h here.
1669         * objc/message.h: Added such declarations; updated comments.
1671 2010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1673         Implemented fast enumeration for Objective-C.
1674         * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1675         (OBJC_H): Added runtime.h
1676         * objc-foreach.c: New file.
1677         * objc/runtime.h: New file.
1679 2010-09-30  Kai Tietz  <kai.tietz@onevision.com>
1681         * objc/deprecated/struct_objc_class.h: Add padding
1682         to avoid warning with -Wpadded.
1684 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1686         * encoding.c (objc_sizeof_type): Added support for vector type and
1687         for double long types.
1688         (objc_alignof_type): Same change.
1689         (objc_skip_typespec): Same change.
1690         * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1691         instead of '!' since '!' is already used for _C_VECTOR.
1692         * objc/objc-api.h (_C_LNG_DBL): Added.
1694 2010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1696         * libobjc_entry.c: File removed.
1698 2010-09-26  Kai Tietz  <kai.tietz@onevision.com>
1700         * sendmsg.c (objc_msg_lookup): Remove inline.
1701         (objc_get_uninstalled_dtable): Likewise.
1702         * encoding.c (objc_skip_type_qualifiers): Likewise.
1703         (objc_skip_offset): Likewise.
1704         * archive.c (__objc_write_object): Likewise
1705         (__objc_write_class):
1706         (__objc_write_selector):
1707         (objc_read_char):
1708         (objc_read_unsigned_char):
1709         (objc_read_short):
1710         (objc_read_unsigned_short):
1711         (objc_read_int):
1712         (objc_read_long):
1713         (__objc_read_nbyte_uint):
1714         (objc_read_unsigned_int):
1715         (objc_read_unsigned_long):
1716         * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1717         (objc_EXPORT): Likewise.
1718         * objc/message.h (objc-decls.h): Add include.
1719         * objc/objc-api.h: Mark API by objc_EXPORT.
1720         * libobjc.def (__objc_responds_to): Removed.
1722 2010-09-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1724         * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1726         * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1727         objc/sarray.h replaced with a placeholder including the file from
1728         the deprecated/ directory.
1729         * objc-private/sarray.h: New file (private copy of sarray.h).
1730         * hash.c: Include <assert.h> instead of "assert.h"
1731         * sarray.c: Include <assert.h> instead of "assert.h".  Include
1732         objc-private/sarray.h instead of objc/sarray.h.
1733         * selector.c: Include objc-private/sarray.h instead of
1734         objc/sarray.h.
1735         * sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
1736         instead of objc/sarray.h.
1737         * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
1739 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1741         * objc-private/objc-list.h (list_remove_elem): Unused function
1742         removed.  (list_nth): Unused function removed.  (list_find):
1743         Unused function removed.  (list_lenght): Unused function removed.
1745 2010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1747         * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1748         replaced with a placeholder including the file from the
1749         deprecated/ directory.
1750         * objc/objc-api.h: Updated includes.
1751         * objc/typedstream.h: Updated includes.
1752         * objc-private/hash.h: New file (private copy of hash.h).
1753         * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1754         objc/objc-list.h replaced with a placeholder including the file
1755         from the deprecated/ directory.
1756         * objc-private/objc-list.h: New file (private copy of objc-list.h).
1757         * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1758         instead of objc/hash.h and objc/objc-list.h.
1759         * selector.c: Same change.
1760         * class.c: Added include <string.h>, which used to be implicitly included
1761         when hash.h was included.
1762         * exception.c: Same change.
1763         * objects.c: Same change.
1764         * sarray.c: Same change.
1765         * sendmsg.c: Same change.
1766         * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1768 2010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1770         Implemented objc_sync_enter() and objc_sync_exit(), which are
1771         required by @synchronized() to work.
1772         * objc-sync.c: New file.
1773         * objc/objc-sync.h: New file.
1774         * objc-private/objc-sync.h: New file.
1775         * init.c (__objc_exec_class): Call __objc_sync_init() during the
1776         Objective-C runtime startup.
1777         * Makefile.in: Added objc-sync.c and objc-sync.h.
1778         * configure.ac: Added GCC_CHECK_TLS.
1779         * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1780         * configure: Regenerated.
1781         * config.h.in: Regenerated.
1783 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1785         * Makefile.in (%_gc.lo): New pattern rules to build the
1786         garbage-collected version of the library.  Removed rules for
1787         specific files that are no longer needed.  Standardized all rules.
1788         (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1789         (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1790         OBJC_SOURCE_FILES.
1791         (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1793 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1795         * memory.c (objc_calloc): Fixed call to GC_malloc when building
1796         with Garbage Colletion.
1798 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1800         * memory.c: Do not include objc-private/runtime.h.
1802 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1804         * objc/deprecated/objc_malloc.h: New file.
1805         * objc/deprecated/objc_valloc.h: New file.
1806         * objc/objc-api.h: Include the files instead of defining
1807         objc_valloc, _objc_malloc() and similar.
1808         * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1809         objc_malloc.h.
1810         * memory.c: Removed the extra layer of indirection of _objc_malloc
1811         and similar.
1812         (objc_calloc): Use GC_malloc in the garbage-collected
1813         implementation as GC_malloc returns memory that is already freed.
1814         (objc_valloc): Deprecated.
1816 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1818         * objc/deprecated/objc_error.h: New file.
1819         * objc/objc-api.h: Include deprecated/objc_error.h instead of
1820         defining objc_error and related.
1821         * error.c: New file.  Added _objc_abort function which replaces
1822         objc_error.  No change in functionality as they both print an
1823         error and abort.
1824         * misc.c: File removed.  Code moved into memory.c and error.c.
1825         * memory.c: New file.
1826         * objc-private/error.h: New file.
1827         * archive.c: Include objc-private/error.h and use _objc_abort
1828         instead of objc_error everywhere.
1829         * class.c: Same change.
1830         * encoding.c: Same change.
1831         * init.c: Same change, and simplified init_check_module_version.
1832         * memory.c: Same change.
1833         * sendmsg.c:  Same change.
1834         * thr.c: Same change.
1835         * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1836         (OBJ_H): Reordered list.
1837         (OBJS): Removed misc.lo, added memory.lo and error.lo.
1838         (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1839         (misc_gc.lo): Rule removed.
1840         (error_gc.lo): Rule added.
1841         (memory_gc.lo): Rule added.
1843 2010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1845         * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1846         to check the API version.  Added some comments.
1848         * objc-private/common.h: New file.
1849         * NXConstStr.m: Include objc-private/common.h.
1850         * Object.m: Same change.
1851         * Protocol.m: Same change.
1852         * archive.c: Same change.
1853         * class.c: Same change.
1854         * encoding.c: Same change.
1855         * exception.c: Same change.
1856         * gc.c: Same change.
1857         * hash.c: Same change.
1858         * init.c: Same change.
1859         * libobjc_entry.c: Same change.
1860         * linking.m: Same change.
1861         * misc.c: Same change (and added a comment).
1862         * nil_method.c: Same change.
1863         * objects.c: Same change.
1864         * sarray.c: Same change.
1865         * selector.c: Same change.
1866         * sendmsg.c: Same change.
1867         * thr.c: Same change.
1869 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1871         * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1873 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1875         * archive.c: Removed not needed includes.
1876         * class.c: Same change.
1877         * hash.c: Same change.
1878         * misc.c: Same change.
1879         * nil_method.c: Same change.
1880         * objects.c: Same change.
1881         * sarray.c: Same change.
1882         * sendmsg.c: Same change.
1883         * thr.c: Same change.
1885 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1887         * objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
1888         all the objc/*.h files.
1889         * objc-private/runtime.h: New file.
1890         * archive.c: Include objc-private/runtime.h (and required objc/*.h
1891         files) instead of objc/runtime.h.
1892         * class.c: Same change.
1893         * hash.c: Same change.
1894         * init.c: Same change.
1895         * misc.c: Same change.
1896         * nil_method.c: Same change.
1897         * objects.c: Same change.
1898         * sarray.c: Same change.
1899         * selector.c: Same change.
1900         * sendmsg.c: Same change.
1901         * thr.c: Same change.
1903 2010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1905         * objc/deprecated/struct_objc_selector.h: New file.  Definition of
1906         'struct objc_selector' and 'sel_eq' moved here.
1907         * objc/deprecated/struct_objc_protocol.h: New file.  Definition of
1908         'struct objc_procotol' moved here.
1909         * objc/deprecated/struct_objc_class.h: New file.  Definition of
1910         'struct objc_class' moved here.
1911         * objc/deprecated/MetaClass.h: New file.  Definition of MetClass
1912         moved here.
1913         * objc/deprecated/STR.h: New file.  Definition of STR moved here.
1914         * objc/message.h: New file.  Definitions for relval_t, apply_t,
1915         arglist, arglist_t and objc_msg_lookup were moved here.
1916         * objc/objc.h: Include the above files instead of defining the
1917         corresponding structs, types and functions here.  Added new opaque
1918         definitions for SEL and Class.  Use Class and not 'struct
1919         objc_class *' in the definition of 'struct objc_object'.
1920         Commented all types defined in the file.  Removed special
1921         definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1922         there as well.
1923         * objc/deprecated/objc-unexpected-exception.h: Renamed to
1924         objc_unexpected_exception.h.
1925         * objc/objc-api.h: Updated include of
1926         objc-unexpetected-exception.h
1927         * objc/objc-exception.h: Updated comments.
1928         * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1929         files.  Reindented list of files.
1931 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1933         * objc/objc-api.h (objc_trace): Unused variable removed.
1935 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1937         * objc/deprecated: New directory.
1938         * objc/deprecated/README: New file.
1939         * objc/README: New file.
1940         * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1941         objc/typedstream.h replaced with a placeholder including the file
1942         from the deprecated/ directory.
1943         * objc/deprecated/objc-unexpected-exception.h: New file with the
1944         definition of _objc_unexpected_exception.
1945         * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1946         instead of defining _objc_unexpected_exception.
1947         * objc/deprecated/Object.h: New file with the deprecated Object
1948         methods in a 'Deprecated' category.
1949         * objc/Object.h Include deprecated/Object.h instead of defining
1950         the deprecated methods.
1951         * Object.m: Moved deprecated methods into 'Deprecated' category.
1952         * objc-private: New directory.
1953         * objc-private/README: New file.
1954         * Makefile.in (OBJC_DEPRECATED_H): New variable.
1955         (install-headers): Create installation directory for
1956         OBJC_DEPRECATED_H headers, and install them.
1958 2010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1960         * objc/objc-exception.h: Fixed include of objc.h.
1962 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1964         * objc/objc-exception.h: New file.
1965         * exception.c (objc_set_uncaught_exception_handler): Implemented.
1966         (objc_set_exception_matcher): Implemented.
1967         (objc_exception_throw): Use the uncaught exception handler if set.
1968         (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1969         hardcoded isKindOf.
1970         (isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
1971         up.  Removed segmentation fault when value is 'nil'.
1972         * objc/objc-api.h (_objc_unexpected_exception): Mark as
1973         deprecated.
1974         * Makefile.in (exception.lo, exception_gc.lo): Use
1975         -Wno-deprecated-declarations when compiling.
1976         (OBJC_H): Added objc-exception.h
1978 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1980         * objc/typedstream.h: Deprecate all functions in the file.  This
1981         file is obsolete.
1982         * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1983         [-awake]): Documented that these methods are deprecated.  Added a
1984         brief description of the Object class and its relationship to the
1985         NSObject class.
1986         * Makefile.in: Compile archive.c and Object.m with
1987         -Wno-deprecated-declarations.
1989 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1991         Removed obsolete intermediate threading layer.
1992         * thr.c: Use __gthread_objc_xxx functions directly instead of
1993         __objc_thread_xxx ones.
1994         * objc/thr.h: Removed prototypes of no longer existing
1995         __objc_thread_xxx functions.
1996         * Makefile.in: Removed thr-objc.lo.
1997         * thr-dce.c: File removed.
1998         * thr-decosf1.c: File removed.
1999         * thr-irix.c: File removed.
2000         * thr-mach.c: File removed.
2001         * thr-objc.c: File removed.
2002         * thr-os2.c: File removed.
2003         * thr-posix.c: File removed.
2004         * thr-pthreads.c: File removed.
2005         * thr-rtems.c: File removed.
2006         * thr-single.c: File removed.
2007         * thr-solaris.c: File removed.
2008         * thr-vxworks.c: File removed.
2009         * thr-win32.c: File removed.
2010         * README.threads: File removed.
2011         * THREADS.MACH: File removed.
2012         * THREADS: Updated.
2014 2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
2016         * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
2018 2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
2020         * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
2021         Add a comment as to why, update FIXME comments.
2023 2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
2025         * makefile.dos: Obsolete file removed.
2027 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2029         * aclocal.m4: Regenerate.
2031 2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
2033         PR libobjc/30445
2034         * configure.ac (extra_ldflags_libobjc): Define appropriately for
2035         Cygwin and MinGW hosts.
2036         * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
2037         (libobjc.dll): Likewise.
2038         * configure: Regenerate.
2040 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2042         * configure: Regenerate.
2044 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
2046         * sarray.c (sarray_free): Use old_buckets variable.
2047         * encoding.c (objc_layout_structure_next_member): Remove unused
2048         bfld_type_size variable.
2050 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2052         * configure.ac (AC_PREREQ): Bump to 2.64.
2054 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2056         * aclocal.m4: Regenerate.
2057         * configure: Regenerate.
2058         * config.h.in: Regenerate.
2060 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2062         * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
2064 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2066         * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
2067         New variables.
2068         ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
2070 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2072         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
2074 2009-04-09  Nick Clifton  <nickc@redhat.com>
2076         * sendmsg.c: Change copyright header to refer to version 3 of
2077         the GNU General Public License with version 3.1 of the GCC
2078         Runtime Library Exception and to point readers at the COPYING3
2079         and COPYING3.RUNTIME files and the FSF's license web page.
2080         * NXConstStr.m: Likewise.
2081         * Object.m: Likewise.
2082         * Protocol.m: Likewise.
2083         * archive.c: Likewise.
2084         * class.c: Likewise.
2085         * encoding.c: Likewise.
2086         * exception.c: Likewise.
2087         * gc.c: Likewise.
2088         * hash.c: Likewise.
2089         * init.c: Likewise.
2090         * libobjc_entry.c: Likewise.
2091         * linking.m: Likewise.
2092         * misc.c: Likewise.
2093         * nil_method.c: Likewise.
2094         * objc/NXConstStr.h: Likewise.
2095         * objc/Object.h: Likewise.
2096         * objc/Protocol.h: Likewise.
2097         * objc/encoding.h: Likewise.
2098         * objc/hash.h: Likewise.
2099         * objc/objc-api.h: Likewise.
2100         * objc/objc-decls.h: Likewise.
2101         * objc/objc-list.h: Likewise.
2102         * objc/objc.h: Likewise.
2103         * objc/runtime.h: Likewise.
2104         * objc/sarray.h: Likewise.
2105         * objc/thr.h: Likewise.
2106         * objc/typedstream.h: Likewise.
2107         * objects.c: Likewise.
2108         * sarray.c: Likewise.
2109         * selector.c: Likewise.
2110         * thr-dce.c: Likewise.
2111         * thr-decosf1.c: Likewise.
2112         * thr-irix.c: Likewise.
2113         * thr-mach.c: Likewise.
2114         * thr-objc.c: Likewise.
2115         * thr-os2.c: Likewise.
2116         * thr-posix.c: Likewise.
2117         * thr-pthreads.c: Likewise.
2118         * thr-rtems.c: Likewise.
2119         * thr-single.c: Likewise.
2120         * thr-solaris.c: Likewise.
2121         * thr-vxworks.c: Likewise.
2122         * thr-win32.c: Likewise.
2123         * thr.c: Likewise.
2124         * libobjc.def: Change copyright header to refer to version 3 of
2125         the GNU General Public License and to point readers at the COPYING3
2126         file and the FSF's license web page.
2127         * makefile.dos: Likewise.
2129 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
2131         * Makefile.in: Change copyright header to refer to version
2132         3 of the GNU General Public License and to point readers at the
2133         COPYING3 file and the FSF's license web page.
2134         * configure.ac: Likewise.
2136 2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
2137             David Ayers  <ayers@fsfe.org>
2139         PR libobjc/27466
2140         * objc/objc-api.h (_objc_unexpected_exception): Declare
2141         new hook.  Update copyright dates.
2142         * exception.c (objc_exception_throw): Use hook.  Update
2143         copyright dates.
2144         * libobjc.def (_objc_unexpected_exception): Export hook.
2145         Update copyright dates.
2147 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2149         * configure: Regenerate.
2151 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2153         * configure: Regenerate.
2155 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
2157         *  Object.m (errno): Replaced by errno.h include.
2158         (compare): Cast self to id to prevent warning on comparison.
2159         * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
2160         already there.
2161         * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
2162         * thr-win32.c (__objc_thread_detach): Remove type warning.
2163         (__objc_thread_id): Likewise.
2164         * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
2165         for noreturn.
2167 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
2168             Steve Ellcey  <sje@cup.hp.com>
2170         * configure: Regenerate for new libtool.
2171         * config.h.in: Regenerate for new libtool.
2173 2008-07-18  Matthias Klose  <doko@ubuntu.com>
2175         * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
2177 2008-07-18  Matthias Klose  <doko@ubuntu.com>
2179         * Makefile.in: Include ../boehm-gc/threads.mk.
2180         (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
2182 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2184         * Makefile.in (install-info): New stub target.
2186 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
2188         * configure: Regenerate.
2190 2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
2192         * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
2193         if HAVE_GETIPINFO is not defined.
2195 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
2197         * Object.m (compare): Add type id.
2198         * objc/Object.h: Likewise.
2199         * archive.c (objc_read_class): Use size_t to extend version to be
2200         size of pointer scalar width.
2201         * sendmsg.c (rtx): Undefine it before redefinition.
2202         (__objc_print_dtable_stats): Cast arguments to long as intended.
2204 2008-05-30  Julian Brown  <julian@codesourcery.com>
2206         * exception.c (__objc_exception_class): Initialise as constant
2207         array for ARM EABI. Change macro to static const for non-ARM EABI.
2208         (ObjcException): Add note about structure layout. Remove landingPad
2209         and handlerSwitchValue for ARM EABI.
2210         (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
2211         of function.
2212         (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
2213         (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
2214         ARM EABI unwinding support.
2215         (objc_exception_throw): Use memcpy to initialise exception class.
2217 2008-05-25  Alan Modra  <amodra@bigpond.net.au>
2219         * encoding.c (strip_array_types): Rename from get_inner_array_type.
2220         (rs6000_special_round_type_align): Update.
2222 2008-05-09  Julian Brown  <julian@codesourcery.com>
2224         * Makefile.in (LTLDFLAGS): New.
2225         (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
2227 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
2229         PR bootstrap/35457
2230         * aclocal.m4: Regenerate.
2231         * configure: Regenerate.
2233 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
2235         * configure: Regenerate.
2237 2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
2239         * configure.ac: Don't run config-ml.in directly.
2240         (multilib_arg): New.
2241         * configure: Regenerated.
2243 2007-08-06  Andrew Pinski  <pinskia@gmail.com>
2245         PR libobjc/30731
2246         * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
2247         of _Unwind_Word for variables which are used in
2248         read_uleb128/read_sleb128.
2249         (PERSONALITY_FUNCTION): Likewise.
2251 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2253         * aclocal.m4: Regenerated.
2255 2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2257         * configure.ac: Fix a typo in *-*-darwin clause.
2258         * configure: Regenerated.
2260 2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
2262         * configure.ac: Fix a typo.
2263         * configure: Regenerated.
2265 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
2267         * configure: Regenerate.
2269 2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2271         * Makefile.in: Replace all uses of libext with libsuffix.
2272         * configure.ac: Likewise.
2273         * configure: Regenerate.
2275         Revert:
2276         * Makefile.in: Remove all uses of $(libext).
2278 2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2280         * Makefile.in: Remove all uses of $(libext).
2282 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
2284         * configure: Regenerate.
2285         * aclocal.m4: Regenerate.
2287 2007-04-21  Andrew Ruder  <andy@aeruder.net>
2289         * sendmsg.c (__objc_get_forward_imp): Call
2290         __objc_msg_forward2 for real.
2292 2007-04-09  Andrew Ruder  <andy@aeruder.net>
2294         * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2295         external libraries to provide a function that returns the real
2296         forwarding function based on both the selector and the receiver.
2297         * objc/objc-api.h: Define __objc_msg_forward2.
2299 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2301         * Makefile.in: Add dummy install-pdf target.
2303 2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2305         * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2306         unused warning.
2308 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
2310         * encoding.c (darwin_rs6000_special_round_type_align): New.
2312 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
2314         * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2315         * configure.ac: Use multi.m4 from aclocal rather than custom
2316         code.  Use multi_basedir instead of toplevel_srcdir.
2317         * aclocal.m4: Regenerate.
2318         * configure: Regenerate.
2320 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
2322         * Makefile.in: Added empty "pdf" target.
2324 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2326         * configure: Regenerate.
2328 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
2330         * Makefile.in: Add install-html target. Add install-html to .PHONY
2332 2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2334         PR libobjc/26309
2335         * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2337 2006-01-24  David Ayers  <d.ayers@inode.at>
2339         PR libobjc/9751
2340         * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2341         and insure the new strings are '\0' termintated.
2343 2006-01-24  David Ayers  <d.ayers@inode.at>
2345         PR libobjc/13946
2346         * configure.ac: Add include directives for --enable-objc-gc.
2347         * Makefile.in: Ditto.
2348         * configure: Regenerate.
2350         * gc.c (__objc_class_structure_encoding): Increment the used bytes
2351         instead of the local pointer to them.
2353 2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
2355         PR objc/25360
2356         * objc/objc-api.c (_C_COMPLEX): New define.
2357         * encoding.c (objc_sizeof_type): Handle _C_Complex.
2358         (objc_alignof_type): Likewise.
2359         (objc_skip_typespec): Likewise.
2361 2005-12-15  David Ayers  <d.ayers@inode.at>
2363         PR libobjc/14382
2364         * README (+load,+initialize): Fix documentation to reflect
2365         intended and implemented semantics for +load and +initialize.
2367 2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
2369         * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2370         the name.
2371         (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2372         (rs6000_special_round_type_align): Update for the ABI fix.
2373         (objc_layout_finish_structure): Correct the encoding which is passed to
2374         ROUND_TYPE_ALIGN.
2376 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2378         PR libobjc/25347
2379         * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2380         but use the struct layout functions.
2381         (objc_alignof_type): Likewise.
2382         (objc_layout_structure): Handle _C_UNION_B also.
2383         (objc_layout_structure_next_member): Likewise.
2384         (objc_layout_finish_structure): Likewise.
2386 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2388         PR libobjc/25346
2389         * objc/objc-api.h (_C_BOOL): New define.
2390         * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2391         (objc_alignof_type): Likewise.
2392         (objc_skip_typespec): Likewise.
2394 2005-11-20  David Ayers  <d.ayers@inode.at>
2396         PR libobjc/19024
2397         * objc/hash.h: Remove deprecated hash API.
2398         * hash_compat.c: Remove.
2399         * Makefile.in: Remove reference to hash_compat.c.
2401         * configure.ac (VERSION): Bump library version to 2:0:0.
2402         * configure: Regenerate.
2404 2005-11-09  Alexandre Oliva  <aoliva@redhat.com>
2406         PR other/4372
2407         * thr-objc.c (_XOPEN_SOURCE): Define.
2409 2005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
2411         PR libobjc/23612
2412         * objc/objc-api.h (struct objc_ivar): Move definition to
2413         global scope.
2415 2005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
2416             Rasmus Hahn  <rassahah@neofonie.de>
2418         PR libobjc/23108
2419         * archive.c (objc_write_type): Correct the element offset.
2420         (objc_read_type): Likewise.
2422 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2424         * All files: Update FSF address.
2426 2005-08-13  Marcin Koziej  <creep@desk.pl>
2427             Andrew Pinski  <pinskia@physics.uc.edu>
2429         PR libobjc/22492
2430         * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2432 2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2434         * Makefile.in (extra_ldflags_libobjc): New.
2435         (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2436         (libobjc_gc$(libext).la): Likewise.
2437         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2438         "-Wl,-single_module".
2439         * configure: Regenerate.
2440         * linking.m (_objcInit): Remove.
2442 2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
2444         PR libobjc/22606
2445         * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2447 2005-06-08  David Ayers  <d.ayers@inode.at>
2449         * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2450         objc/encoding.h, objc/hash.h, objc/objc-api.h,
2451         objc/runtime.h, objc/sarray.h, objc/thr.h,
2452         objc/typedstream.h: Do not include Objective-C headers as
2453         system headers.
2455 2005-06-07  David Ayers  <d.ayers@inode.at>
2457         * archive.c, init.c, selector.c: Include hash.h.
2458         * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2459         init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2460         sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2461         thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2462         thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2463         Include Objective-C headers with quotes and objc/ directory
2464         prefix.
2466 2005-05-19  Richard Henderson  <rth@redhat.com>
2468         * exception.c: Revert last change.
2470 2005-05-19  David Ayers  <d.ayers@inode.at>
2472         * exception.c: Include tsystem.h for unwind.h.
2474 2005-05-09  Mike Stump  <mrs@apple.com>
2476         * configure: Regenerate.
2478 2005-04-12  Mike Stump  <mrs@apple.com>
2480         * configure: Regenerate.
2482 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
2484         * Makefile.in: Set gcc_version here.
2485         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
2486         in definition of toolexeclibdir so that $(gcc_version) is expanded
2487         by the Makefile.
2488         * aclocal.m4, configure: Regenerate.
2490 2005-03-03  David Ayers  <d.ayers@inode.at>
2492         * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2493         version reference.  Correct typo.
2495 2005-03-02  David Ayers  <d.ayers@inode.at>
2497         PR libobjc/19024
2498         * Makefile.in (OBJS): Add hash_compat.lo.
2499         (OBJS_GC): Add hash_compat_gc.lo.
2500         (hash_compat_gc.lo): New target and rule.
2501         * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2502         (hash_next, hash_value_for_key, hash_is_key_in_hash)
2503         (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2504         with objc_.  Add deprecated non prefixed inlined versions.
2505         (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2506         declarations.
2507         * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2508         (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2509         update callers.
2510         * hash_compat.c: New file.
2511         * archive.c: Update callers.
2512         * init.c: Likewise.
2513         * selector.c: Likewise.
2514         * libobjc.def: Add objc_ versions of hash functions.
2516 2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
2518         PR libobjc/20252
2519         * Makefile.in (GTHREAD_FLAGS): Remove.
2520         (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2521         * thr-objc.c: Include config.h.
2522         * configure.ac: Instead of looking at GCC's makefile, figure out if
2523         GTHREAD_FLAGS should be defined by looking at the `thread model'
2524         of the current gcc.
2525         * configure: Regenerate.
2526         * config.h.in: Regenerate.
2528 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2530         PR bootstrap/17383
2531         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2532         (Determine CFLAGS for gthread): Use $host_subdir.
2533         * configure: Regenerate.
2534         * Makefile.in (host_subdir): New.
2535         (INCLUDES): Use it.
2537 2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
2539         PR libobjc/12035
2540         * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2541         they are not used.
2542         Include limits.h and stdlib.h.
2543         Define BITS_PER_WORD.
2545 2004-12-12  Alexander Malmberg  <alexander@malmberg.org>
2547         * selector.c (__objc_init_selector_tables): Add missing void to
2548         definition.
2550 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
2552         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2553         * configure, aclocal.m4: Regenerate.
2555 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2557         * configure: Regenerate for libtool change.
2559 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2561         * configure: Regenerate for libtool reversion.
2563 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2565         * configure: Regenerate for libtool change.
2567 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2569         * aclocal.m4, config.h.in: Regenerate.
2571 2004-10-08  Mike Stump  <mrs@apple.com>
2572             Andrew Pinski  <pinskia@physics.uc.edu>
2574         * aclocal.m4: Rename to ...
2575         * acinclude.m4: here and also use m4_include instead of sinclude.
2576         * aclocal.m4: Regenerate.
2577         * configure: Regenerate.
2578         * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2579         * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2581 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
2583         * archive.c: Fix all the warnings about passing unsigned char*
2584         to char* and the other way too.
2586 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
2588         PR libobjc/16448
2589         * exception.c: Include config.h
2590         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2591         SJLJ_EXCEPTIONS.
2592         * configure.ac: Find out what exception handling code we use.
2593         * configure: Regenerate.
2594         * config.h.in: New file, regenerate.
2596 2004-09-16  Andrew Pinski  <apinski@apple.com>
2598         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2600 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
2602         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2603         ACX_NONCANONICAL_TARGET.
2604         * configure: Regenerate.
2606 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
2608         * objc/sarray.h: Hoist include of assert.h near the top of file,
2609         and mark the remainder of the file 'extern "C"'.
2611 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2613         * objc/Object.h: Move includes out of extern "C" blocks.
2614         * objc/encoding.h: Likewise.
2615         * objc/hash.h: Likewise.
2616         * objc/objc-api.h: Likewise.
2617         * objc/runtime.h: Likewise.
2618         * objc/sarray.h: Likewise.
2619         * objc/typedstream.h: Likewise.
2621 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
2623         * objc/NXConstStr.h: Update copyright date; bracket with
2624         'extern "C"' for C++ use; make include syntax consistent
2625         by using <...> instead of "..."; hoist <objc/...> includes
2626         above the 'extern "C"' block.
2627         * objc/Object.h: Likewise.
2628         * objc/Protocol.h: Likewise.
2629         * objc/encoding.h: Likewise.
2630         * objc/hash.h: Likewise.
2631         * objc/runtime.h: Likewise.
2632         * objc/sarray.h: Likewise.
2633         * objc/thr.h: Likewise.
2634         * objc/typedstream.h: Likewise.
2635         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2636         (objc_static_instances): For C++ case, do away with
2637         zero-sized array.
2638         (objc_method): Hoist definition to file scope.
2639         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2640         class_get_instance_method, class_create_instance,
2641         class_get_class_name, class_get_instance_size,
2642         class_get_meta_class, class_get_super_class, class_get_version,
2643         class_is_class, class_is_meta_class, class_set_version,
2644         class_get_gc_object_type, class_ivar_set_gcinvisible,
2645         get_imp): Rename 'class' parameter to '_class'.
2646         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2647         * objc/objc.h: Update copyright date.
2648         (arglist_t): Provide a union tag.
2650 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
2652         * thr.c (__objc_thread_detach_function): Do not mark as volatile
2653         but instead use the attribute noreturn.
2655 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
2657         * encoding.c: Rename target_flags with a #define to avoid
2658         conflict with a prior declaration.
2660 2004-06-24  Andrew Pinski  <apinski@apple.com>
2662         * objc/encoding.h: Wrap the functions with extern "C" for C++
2663         mode.
2664         * objc/hash.h: Likewise.
2665         * objc/objc-api.h: Likewise.
2666         * objc/objc-list.h: Likewise.
2667         * objc/runtime.h: Likewise.
2668         * objc/sarray.h: Likewise.
2669         * objc/thr.h: Likewise.
2670         * objc/typedstream.h: Likewise.
2673 2004-06-21  Nick Clifton  <nickc@redhat.com>
2675         * encoding.c (BITS_PER_UNIT): Define if a definition is not
2676         provided.
2678 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2680         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2681         (exception_gc.lo): New.
2682         (OBJS_GC): Add exception_gc.lo.
2684 2004-06-17  Richard Henderson  <rth@redhat.com>
2686         * exception.c: New file.
2687         * Makefile.in (exception.lo): New.
2688         (OBJS): Add it.
2690 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
2692         * linking.m (_objcInit): New empty function
2693         for Darwin only.
2695 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2697         * configure.ac: Support --enable-shared=libobjc.
2698         * configure: Regenerate.
2700         PR libobjc/15901
2701         * configure.ac: Do not disable shared by default.
2702         * configure: Regenerate.
2704 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
2706         * Protocol.m ([-isEqual:]): Small optimizations returning
2707         immediately if the argument is equal to self, and accessing
2708         the argument's name directly if it's a protocol.
2710 2004-06-03  David Ayers  <d.ayers@inode.at>
2712         * Protocol.m ([-isEqual:]): Test the class of the argument.
2714 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2716         * configure.ac (includedir): Rename to ...
2717         (includedirname).
2718         * Makefile.in: s/includedir/includedirname/.
2720         PR target/11572
2721         * configure.ac (includedir): Set to "include"
2722         except for Darwin.
2723         (libext) Set to empty except for Darwin.
2724         * configure: Regenerate
2725         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2726         s/include/$(includedir)/g.
2728 2004-05-25  Daniel Jacobowitz  <drow@false.org>
2730         * Makefile.in: Add .NOEXPORT.
2732 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2734         Merge from the libobjc-branch
2735         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
2737                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2739         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2741                 * Makefile.in (OBJC_H): Add objc-deps.h.
2743         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
2745                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2746                 ([-hash], [-isEqual:]): New methods.
2748         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
2750                 * sarray.c (sarray_free): Add a better comment.
2752         2004-01-27  Adam Fedor  <fedor@gnu.org>
2754                 * hash.c (hash_add): Cast cachep to int.
2755                 * selector.c (__sel_register_typed_name): Cast
2756                 soffset_decode to int.
2758         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
2760                 * selector.c: Rename register_selectors_from_list to
2761                 __objc_register_selectors_from_list. Update caller.
2762                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2763                 while registering selectors. Use __sel_register_typed_name instead
2764                 of sel_register_typed_name. Check for NULL method_name:s.
2765                 (pool_alloc_selector): New function.
2766                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2767                 selector structures.
2768                 * sendmsg.c (class_add_method_list): Use
2769                 __objc_register_selectors_from_list.
2770                 * objc/runtime.h: Add __objc_register_selectors_from_list.
2772         2004-01-25  Adam Fedor  <fedor@gnu.org>
2773                     Nicola Pero  <n.pero@mi.flashnet.it>
2774                     Andrew Pinski  <pinskia@physics.uc.edu>
2776                 * objc/objc-decls.h: New file.
2777                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2778                 (_objc_load_callback): Likewise.
2779                 (_objc_object_alloc): Likewise.
2780                 (_objc_object_copy): Likewise.
2781                 (_objc_object_dispose): Likewise.
2783         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
2785                 * archive.c: s/__inline__/inline
2786                 * sendmsg.c: Likewise.
2788                 * encoding.c: Remove FIXME about the warning
2789                 about unused variable.
2790                 * sendmsg.c: Add a FIXME comment saying that
2791                 this should be using libffi.
2793                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2796 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
2798         * archive.c (objc_read_class): Initialize class_name.
2799         (objc_read_selector): Initialize selector_name.
2801 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
2803         * Makefile.in (toolexecdir): Remove trailing space.
2805 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2807         PR libobjc/14948
2808         * configure.ac: De-precious CC so multilibs work.
2809         * configure: Regenerate.
2811 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2813         * configure.ac: Restore toolexecdir.
2814         * Makefile.in: Restore toolexecdir.
2815         * configure: Regenerate.
2817 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2819         * configure.ac: Remove (unused) glibcpp_prefixdir.
2820         * configure: Regenerate.
2822         * configure.in: Rename to configure.ac.
2823         * Makefile.in: Update to match.
2825         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2826         Replace glibcpp_toolexeclibdir with toolexeclibdir.
2827         * configure.in: Remove glibcpp_toolexecdir (unused).
2828         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
2829         config.h or stamp-h (unused).  Move one comment to the right place.
2830         * configure: Regenerate.
2831         * config.h.in: Remove (unused).
2833         * config.h.in: Regenerate with autoheader.
2835         * Makefile.in: Remove (unused) gcc_version_trigger.
2836         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
2837         gcc_version_trigger.
2838         * configure: Regenerate.
2840         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2841         Sort file into sections.  Remove dnl where appropriate.  Fix
2842         other style issues.
2843         * configure: Regenerate.
2845         * configure.in: Replace old AC_PROG_CC hack with new one.
2846         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2847         are no subdirectory output files, so this is fine).  Change prereq
2848         to autoconf 2.59.
2849         * aclocal.m4: Include ../config/no-executables.m4.
2850         * configure: Regenerate with autoconf 2.59.
2852         * configure.in: Improve comments on gthread_cflags.  Improve m4
2853         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2854         * configure: Regenerate.
2856         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
2857         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
2858         redundant checks for values of RANLIB, AR, INSTALL.
2859         * configure: Regenerate.
2861         * configure.in: Clean up handling of
2862         --enable-version-specific-runtime-libs and related variables;
2863         replace 'if test' with 'case' where reasonable.  Fix comments.
2864         Remove useless libstdcxx_interface.
2865         * configure: Regenerate.
2867         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2868         Replace uses of target_alias with target_noncanonical.
2869         * aclocal.m4: Include ../config/acx.m4.
2870         * configure: Regenerate.
2871         * Makefile.in: Replace uses of target_alias with target_noncanonical.
2872         Fix copyright statement.
2874         * configure.in: Hand-inline bulky, confusing macros from
2875         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
2876         Update copyright notice.  Remove stuff for automake, which isn't
2877         used in this directory.  Remove emacs local variables.
2878         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
2879         * configure: Regenerate.
2881 2004-03-16  Manfred Hollstein  <mh@suse.com>
2883         * Makefile.in, configure.in, configure: Update copyright years.
2885 2004-03-15  Manfred Hollstein  <mh@suse.com>
2887         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2888         definition from configure.in.
2889         * configure.in (PACKAGE): Add definition.
2890         (VERSION): Add definition; substitute it in output files.
2891         * configure: Re-generate.
2893 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
2895         * objc/hash.h (hash_string, compare_strings):
2896         Add type-casts to make Objective-C++ happy.
2897         * objc/typedstream.h (objc_get_stream_class_version):
2898         Rename parameter from 'class' to 'class_name' to make
2899         Objective-C++ happy.
2901 2004-03-01  Michael Matz  <matz@suse.de>
2903         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2905 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
2907         * objc/objc-api.h (objc_super): The 'class' field shall
2908         be named 'super_class' #ifdef __cplusplus.
2910 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
2912         PR target/10781
2913         * encoding.c (rs6000_special_round_type_align): Define.
2915 2004-01-14  Adam Fedor  <fedor@gnu.org>
2917         PR libobjc/12155
2918         * selector.c (__objc_register_instance_methods_to_class): Free
2919         new_list if not used.
2921 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
2923         PR libobjc/11904
2924         * sarray.c (sarray_free): Free array->is_copy_of latter.
2926 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
2928         PR 11433
2929         * Protocol.m (descriptionForInstanceMethod): Don't dereference
2930         instance_methods if it's NULL.
2931         (descriptionForClassMethod): Likewise for class_methods.
2933 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2935         * Makefile.in (runtime-info.h): Remove -Wp.
2937 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2939         * Makefile.in (CC1OBJ): Remove.
2940         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2941         correctly.
2942         Use .m extension for temporary file.
2943         Remove assembler temp file.
2945 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2947         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2949 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2951         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2953 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
2955         * configure: Regenerate.
2957 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
2959         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2960         (libdir)/gcc-lib/ when installing.
2961         * configure: Regenerate.
2963 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
2965         libobjc/9969
2966         * sendmsg.c (get_imp): Fixed rare threading problem.
2967         (__objc_responds_to): Similar fixes.
2968         (objc_msg_lookup): Similar fixes.
2969         (__objc_init_install_dtable): Lock the runtime before checking if the
2970         table is installed.
2972 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2974         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2975         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2976         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2977         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2978         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2979         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2980         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2981         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2982         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2983         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2984         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2986 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
2987                           Nicola Pero  <n.pero@mi.flashnet.it>
2989         libobjc/10742
2990         * init.c (class_superclass_of_class): New function.
2991         (create_tree_of_subclasses_inherited_from): Use it.
2992         (__objc_tree_insert_class): Likewise.
2993         (class_is_subclass_of_class): Likewise.
2995 2003-04-11  David Chad  <davidc@freebsd.org>
2996             Loren J. Rittle  <ljrittle@acm.org>
2998         libobjc/8562
2999         * objc/hash.h (hash_string): Constify correctly.
3000         (compare_ptrs): Use direct compare.
3001         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
3002         * objc/sarray.h: Global rename index to indx to avoid shadow.
3004 2003-03-12  Andreas Schwab  <schwab@suse.de>
3006         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
3007         glibcpp_toolexeclibdir.
3008         * configure: Rebuilt.
3010 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
3012         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
3013         config.status.
3014         * configure: Rebuilt.
3016 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
3018         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
3019         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
3020         version_specific_libs is enabled.
3021         * configure: Rebuilt.
3023 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
3025         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
3026         (install-libs, install-headers): Prepend $(DESTDIR) to
3027         destination paths in all (un)installation commands.
3029 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
3031         * thr-objc.c: Include coretypes.h and tm.h.
3033 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
3035         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
3037 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
3039         * configure.in: Remove skip-this-dir support.
3040         * configure: Regenerate.
3042 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3044         * Makefile.in (all): Fix multilib parallel build.
3046 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3048         * sendmsg.c (nil_method): Declare not to take a variable number of
3049         args.
3050         (objc_msg_lookup): Cast nil_method to IMP before returning it.
3051         (objc_msg_lookup_super): The same.
3053 2002-09-10  Jan Hubicka  <jh@suse.cz>
3055         * nil_method.c (nil_method): No longer defined with variable
3056         arguments.
3058 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
3060         * objc/encoding.h: Fix formatting.
3061         * objc/hash.h: Likewise.
3062         * objc/objc-api.h: Likewise.
3063         * objc/runtime.h: Likewise.
3064         * objc/thr.h: Likewise.
3065         * archive.c: Likewise.
3066         * class.c: Likewise.
3067         * encoding.c: Likewise.
3068         * gc.c: Likewise.
3069         * hash.c: Likewise.
3070         * init.c: Likewise.
3071         * misc.c: Likewise.
3072         * nil_method.c: Likewise.
3073         * objects.c: Likewise.
3074         * sarray.c: Likewise.
3075         * selector.c: Likewise.
3076         * sendmsg.c: Likewise.
3077         * thr-mach.c: Likewise.
3078         * thr.c: Likewise.
3080 2002-06-25  DJ Delorie  <dj@redhat.com>
3082         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
3083         GLIBCPP_TOPREL_CONFIGURE.
3084         * configure.in: Call it before AC_CANONICAL_SYSTEM.
3085         * configure: Regenerate.
3087 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3089         * Object.m (forward, read, write): Fix unused parameter warnings.
3090         * encoding.c: Include <stdlib.h>.
3091         (target_flags): Mark with attribute unused.
3092         (atoi): Delete.
3093         * runtime.h (__objc_selector_max_index): Change to unsigned int.
3094         (__objc_generate_gc_type_description): Prototype.
3095         * selector.c (__objc_selector_max_index): Change to unsigned int.
3097 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
3099         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
3100         we always have a return value: if __objc_msg_forward does not
3101         supply a forwarding implementation, return the default
3102         __builtin_apply based one.
3104 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3106         * Object.m: Fix signed/unsigned warning.
3107         * Protocol.m: Likewise.
3108         * archive.c: Always include stdlib.h.
3109         (objc_read_short, objc_read_unsigned_short, objc_read_int,
3110         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
3111         Fix signed/unsigned warning.
3112         (objc_write_type, objc_read_type, objc_write_types,
3113         objc_read_types): Ensure ctype 8-bit safety.
3114         (__objc_no_write, __objc_no_read): Mark unused parameters.
3115         * class.c (class_table_setup): Specify void arg.
3116         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
3117         objc_skip_typespec, objc_skip_offset,
3118         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
3119         (objc_layout_structure_next_member): Ensure variables are
3120         initialized.
3121         * gc.c (__objc_generate_gc_type_description,
3122         class_ivar_set_gcinvisible): Mark unused parameters.
3123         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
3124         unused parameters.
3125         (__objc_init_protocols) Fix signed/unsigned warning.
3126         * nil_method.c (nil_method): Mark unused parameters.
3127         * thr.h (objc_thread_callback): Specify void arg.
3128         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
3129         signed/unsigned warning.
3130         (sarray_free): Fix formatting.
3131         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
3132         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
3134 2002-06-09  Andreas Jaeger  <aj@suse.de>
3136         * encoding.c (objc_layout_structure_next_member): Remove unused
3137         variable.
3139 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3141         * Makefile.in (SHELL): Set to @SHELL@.
3142         (WARN_CFLAGS): New.
3143         (ALL_CFLAGS): Add $(WARN_CFLAGS).
3145 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3147         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
3148         * configure: Regenerate.
3150 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
3152         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
3153         script entry, and set LD to it when configuring multilibs.
3154         * configure: Rebuilt.
3156 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
3158         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
3160 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
3162         PR objc/6107
3163         * objc/objc-api.h (struct objc_protocol_list): Change type of
3164         member count from int to size_t.
3166 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
3168         PR libobjc/4039
3169         * aclocal.m4: Replace with version copied from libstdc++-v3.
3170         * configure.in: Update for changes to aclocal and Makefile.
3171         * configure: Regenerate.
3172         * Makefile.in: Correct install of multilibs and shared libs, use
3173         INSTALL_DATA for include files.
3175 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
3177         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
3178         categories - when an unclaimed category was found, the loop was
3179         doing two steps forward instead of one, so that in certain cases
3180         it was failing to properly load all the categories.  (Reported
3181         with fix by Alexander Malmberg <alexander@malmberg.org>).
3183 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
3185         * encoding.c: Add target_flags.
3187 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
3189          * objc/objc-api.h (_C_VECTOR): New.
3191          * encoding.c (VECTOR_TYPE): New.
3193 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3195         * class.c: Rewritten the class table to use optimized, lock-free
3196         lookup.  This more than doubles the speed of class method
3197         invocations.  (class_table_setup), (class_table_insert),
3198         (class_table_replace), (class_table_get_safe),
3199         (class_table_next), (class_table_print),
3200         (class_table_print_histogram): New functions.
3201         (__objc_init_class_tables): Use class_table_setup.
3202         (__objc_add_class_to_hash): Use class_table_get_safe and
3203         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
3204         assert the existence of the table; do not lock the runtime; use
3205         class_table_get_safe.  (objc_next_class): Use class_table_next.
3206         (__objc_resolve_class_links): Use class_table_next.
3207         (class_pose_as): Use class_table_replace.
3209 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
3211         * gc.c: Removed the DEBUG declaration.
3213 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3215         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
3216         rather than through objc_thread_id, to save a function call.
3217         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
3218         Ditto.
3220 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
3222         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
3223         to cast an id to a Class, which can not be done.  Make the check
3224         by using CLS_ISMETA on the class pointer instead.
3225         (object_is_meta_class): Similar fix.
3227 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
3229         * configure.in (AC_EXEEXT): Work around in case it expands to
3230         nothing, as in autoconf 2.50.
3231         * acinclude.m4: Likewise.
3232         * configure: Rebuilt.
3234 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
3236         * THREADS: Explain that when we compile libobjc inside GCC, we
3237         always use thr-objc.c as a backend, which uses GCC's thread code.
3239 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
3241         * init.c (__objc_send_message_in_list): When setting a new entry
3242         in __objc_load_methods use the method IMP as key, but check to see
3243         if the method is in the hashtable by looking at the IMP also.
3244         Also ... call the method after adding it to the hashtable rather
3245         than before ... thus preventing an obscure possibility of infinite
3246         recursion if a +load method itself loads a subclass.
3248 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
3250         * init.c (__objc_send_message_in_list): When setting a new entry
3251         in __objc_load_methods use the method name as key, not the method
3252         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
3254 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
3256         * objc-features.texi: Move to ../gcc/objc.texi.
3257         * fdl.texi: Remove.
3258         * Makefile.in: Don't generate documentation from
3259         objc-features.texi.
3261 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
3263         * fdl.texi: New file.
3264         * objc-features.texi: Simplify.
3265         * Makefile.in: Adjust accordingly.
3267 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
3269         * objc-features.texi: Use the GFDL.
3271 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
3273         * encoding.c (REAL_TYPE): Define.
3275 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
3277         * encoding.c (TYPE_MODE): Define.
3279 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
3281         * thr.c (objc_thread_add): New function.
3282         (objc_thread_remove): Ditto.
3283         * objc/thr.h: Declare them.
3284         * libobjc.def: Mention them.
3286 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
3288         * objc-features.texi: Document the @compatibility_alias compiler
3289         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3291 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3293         * sendmsg.c (__objc_forward): Delete strlen() declaration.
3295 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
3297         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3298         we're not interested in the result and they might fail.
3299         * configure: Regenerated.
3301 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3303         * objc-features.texi: Use @email.
3305 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3307         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3308         printf.
3310 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
3312         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3313         determines the value dynamically.
3315 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
3317         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3318         libraries to provide a function that returns the real forwarding
3319         function. This can alleviate problems __builtin_apply() and
3320         friends have on various platforms. (Solution suggested by Helge
3321         Hess.)
3323         * objc/objc-api.h: Define __objc_msg_forward.
3325         * sendmsg.c: Define gen_rtx_REG.
3327 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3329         * thr-rtems.c: New file. Stub to compile.
3331 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3333         * configure: Rebuilt with new libtool.m4.
3335 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3337         * configure.in: Create a config.h file. Check for <sched.h>.
3338         * configure: Regenerate.
3340         * config.h.in: Check for <sched.h>.
3342 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
3344         * configure: Regenerate after change to ../libtool.m4.
3346 2000-08-14  Andreas Schwab  <schwab@suse.de>
3348         * objc-features.texi (Top): Move @menu at end of node.
3350 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
3352         * objc-features.texi: Move @node Top before @menu.
3354 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3356         * objc-features.texi: Documented the new -fconstant-string-class
3357         option.
3359 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3361         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3362         improve the Posix thread support for Objective-C.
3364 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3366         * aclocal.m4: Replace copy of ../libtool.m4 with
3367         sinclude(../libtool.m4).
3369 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
3371         * configure.in: Added libtool support; build shared libraries
3372         if --enable-shared was passed on command line.
3373         * Makefile.in: Modified most compilation commands to use libtool.
3374         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3375         libtool distribution.
3377 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3379         * sarray.c, Object.m: Removed the explicit prototypes for strlen
3380         and memcpy on 64-bit platforms (Suggested by Rodney Brown
3381         <rdb@cup.hp.com>).
3383 2000-05-12  H.J. Lu  (hjl@gnu.org)
3385         * Makefile.in (GTHREAD_FLAGS): New.
3386         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3387         (OBJC_THREAD_FILE): Changed to thr-objc.
3389         * configure.in (GTHREAD_FLAGS): New, check and replace it for
3390         Makefile.
3391         (OBJC_THREAD_FILE): Removed.
3393         * thr-objc.c: New.
3395 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3397         * objc/hash.h: Include string.h.
3399 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
3401         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3403 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
3405         * Object.m (strlen): Provide prototype on all 64bit platforms,
3406         not only alpha.
3407         * sarray.c (memcpy): Likewise.
3408         * encoding.c (objc_layout_finish_structure): Don't use
3409         ROUND_TYPE_ALIGN on sparc.
3411         * encoding.c (objc_layout_structure_next_member): Do the whole
3412         procedure even for the first member, so that we get correct
3413         alignment.
3415 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3417         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3418         comments.
3420 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3422         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3424 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
3426         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3428 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
3430         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3431         the compiler when building C code.
3433 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
3435         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3436         libdir, libsubdir and tooldir.
3438 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
3440         * init.c (__objc_force_linking): Make global.
3442 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
3444         * configure.in (AC_EXEEXT): Remove call.
3445         (compiler_name): Explicitly check with no extension and .exe
3446         extension.
3447         * configure: Regenerate.
3449 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3451         * Makefile.in (CC1OBJ): Define in terms of CC.
3452         (runtime-info.h): Use.
3454 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3456         * objc-features.texi: Updated the URL to Boehm's GC page.
3458 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3460         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3461         the char as being signed (patch from Daniel Jacobowitz
3462         <drow@false.org>).
3464 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3466         * configure.in (AC_PREREQ): Update to 2.13.
3467         (AC_EXEEXT): Call to find possible file extension.
3468         (compiler_name): Use.
3469         * configure: Regenerate.
3471 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
3473         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3475 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
3477         * configure.in (thread_file): Correct and simplify code to find
3478         the thread file.
3479         * configure: Rebuilt.
3481 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
3483         * configure.in (compiler_name): Add check to detect if this
3484         language's compiler has been built.
3485         * configure: Regenerate.
3487 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3489         *  configure.in: Use AC_PREREQ(2.12.1).
3491 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
3493         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3495 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3497         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3499 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3501         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3503 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
3505         * objc-features.texi (Top): Changed the email address.
3506         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3508 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
3510         * encoding.c: Redefine get_inner_array_type to get the first entry
3511         in the structure.
3513 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
3515         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3516         (objc_get_type_qualifiers): Similarly.
3517         * objc/encoding.h (_C_BYREF): Define.
3518         (_F_BYREF): Define.
3520 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
3522         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3523         works out on 64-bit systems.
3525 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
3527         * Makefile.in (INCLUDES): Make it multilib-friendly.
3529 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
3531         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3533 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
3534                          Jeffrey A Law  (law@cygnus.com)
3536         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3537         (FLAGS_TO_PASS): Added.
3538         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3540         * archive.c: Change config.h to tconfig.h.
3542         * configure.in: Find gcc's object directory even for multilibs.
3544 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
3546         * configure.in: Escape ^ in grep string.
3547         * configure: Rebuilt.
3549 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
3551         * All .h files pushed down into the objc/ subdirectory.
3552         * Makefile.in (copy_headers): Corresponding changes.
3553         * configure.in (AC_INIT): Corresponding changes.
3554         * configure: Rebuilt.
3556 1998-09-30  Ben Elliston  <bje@cygnus.com>
3557             Jeff Law      <law@cygnus.com>
3559         * Makefile.in: Rewrite.
3561         * configure.in: Likewise.
3563         * configure: Regenerate.
3565         * All .c files.  Remove "objc" prefix when including objc header
3566         files.  Include tconfig.h, not ../tconfig.h.
3568 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
3570         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3571         (get_inner_array_type): Define.
3573 1998-09-21  Ben Elliston  <bje@cygnus.com>
3575         * New directory.  Moved files from ../gcc/objc.
3577 Copyright (C) 1998-2020 Free Software Foundation, Inc.
3579 Copying and distribution of this file, with or without modification,
3580 are permitted in any medium without royalty provided the copyright
3581 notice and this notice are preserved.