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