1 2018-04-18 David Malcolm <dmalcolm@redhat.com>
4 * configure: Regenerate.
6 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
9 * configure: Regenerate.
11 2018-01-03 Jakub Jelinek <jakub@redhat.com>
13 Update copyright years.
15 2017-11-23 Tom de Vries <tom@codesourcery.com>
17 * class.c (CLASS_TABLE_HASH): Wrap in "do {} while (0)".
19 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
21 * Makefile.in: Regenerate.
22 * aclocal.m4: Likeiwse.
23 * configure: Likewise.
24 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
26 2017-08-30 Richard Sandiford <richard.sandiford@linaro.org>
27 Alan Hayward <alan.hayward@arm.com>
28 David Sherwood <david.sherwood@arm.com>
30 * encoding.c (_darwin_rs6000_special_round_type_align): Prefix mode
31 names with E_ in case statements.
33 2017-02-07 Richard Biener <rguenther@suse.de>
35 PR tree-optimization/79256
37 * encoding.c (objc_layout_structure_next_member): Adjust
38 ADJUST_FIELD_ALIGN usage.
40 2017-01-18 Matthias Klose <doko@ubuntu.com>
43 * configure.ac: Allow default for --with-target-bdw-gc-include.
44 * configure: Regenerate.
47 * configure.ac: Use the libgc.la file when available.
48 * configure: Regenerate.
50 2017-01-17 Jakub Jelinek <jakub@redhat.com>
53 * configure: Regenerated.
54 * configure.ac: Add GCC_BASE_VER.
55 * Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
56 get version from BASE-VER file.
57 * configure: Regenerated.
59 2017-01-01 Jakub Jelinek <jakub@redhat.com>
61 Update copyright years.
63 2016-12-01 Matthias Klose <doko@ubuntu.com>
65 * configure.ac: Don't use pkg-config to check for bdw-gc.
66 * configure: Regenerate.
68 2016-11-30 Matthias Klose <doko@ubuntu.com>
70 * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking
71 for the existence of the pkg-config modules.
74 2016-11-30 Jakub Jelinek <jakub@redhat.com>
76 * configure.ac (--enable-objc-gc): If not given, default to
78 * configure: Regenerated.
80 2016-11-30 Matthias Klose <doko@ubuntu.com>
82 * configure.ac (--enable-objc-gc): Allow to configure with a
83 system provided boehm-gc.
84 * configure: Regenerate.
85 * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
86 * gc.c: Include system bdw-gc headers.
88 * objects.c: Likewise.
90 2016-11-15 Matthias Klose <doko@ubuntu.com>
92 * aclocal.m4: Regenerate.
93 * configure: Likewise.
95 2016-01-04 Jakub Jelinek <jakub@redhat.com>
97 Update copyright years.
99 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
102 * encoding.c (_darwin_rs6000_special_round_type_align): Use
103 __CHAR_BIT__ instead of BITS_PER_UNIT.
104 (objc_sizeof_type): Likewise.
105 (objc_layout_structure): Likewise.
106 (objc_layout_structure_next_member): Likewise.
107 (objc_layout_finish_structure): Likewise.
108 (objc_layout_structure_get_info): Likewise.
110 2015-11-03 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
113 * encoding.c (objc_layout_finish_structure): Remove usage of
116 2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
119 * sendmsg.c (tm.h): Remove include.
121 2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
124 * sendmsg.c (gen_rtx): Remove macro.
125 (gen_rtx_MEM): Likewise.
126 (gen_rtx_REG): Likewise.
129 2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
132 * sendmsg.c: Remove check of STRUCT_VALUE macro.
134 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
136 * configure.ac: Remove manual SJLJ check.
137 * config.h.in: Regenerate.
138 * configure: Likewise.
139 * exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
141 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
143 * aclocal.m4: Regenerated with automake-1.11.6.
145 2015-05-04 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
147 * configure: Regenerate.
149 2015-05-01 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
151 * acinclude.m4: Include bitfields.m4.
152 * config.h.in: Regenerate.
153 * configure: Likewise.
154 * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
155 * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
157 2015-04-29 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
159 * encoding.c (objc_layout_structure_next_member): Check the value of
160 PCC_BITFIELD_TYPE_MATTERS not if it is defined.
162 2015-02-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
165 * thr.c (_XOPEN_SOURCE): Remove.
167 2015-01-27 Matthias Klose <doko@ubuntu.com>
169 * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
171 2015-01-09 Dimitris Papavasiliou <dpapavas@gmail.com>
174 * ivars.c: Add a check for classes without instance
175 variables, which have a NULL ivar list pointer.
177 2015-01-05 Jakub Jelinek <jakub@redhat.com>
179 Update copyright years.
181 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
184 * configure: Regenerated.
186 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
189 * configure: Regenerate.
191 2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
193 * thr.c (_XOPEN_SOURCE): Define as 600.
195 2014-07-27 Alan Modra <amodra@gmail.com>
196 Matthias Klose <doko@ubuntu.com>
200 * encoding.c: Define rs6000_special_adjust_field_align_p.
202 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
204 Update copyright years
206 2013-09-20 Alan Modra <amodra@gmail.com>
208 * configure: Regenerate.
210 2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
212 * class.c: Fix typos.
213 * encoding.c: Likewise.
215 * objc-private/runtime.h: Likewise.
216 * objc/runtime.h: Likewise.
217 * objc-sync.c: Likewise.
219 2013-07-04 Kai Tietz <ktietz@redhat.com>
221 * exception.c: Add check for SjLj to SEH blocks.
223 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
225 Update copyright years.
227 2012-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
229 * encoding.c (TARGET_VSX): Provide definitions based on the
230 current compilation options, and not based off the target options
232 (TARGET_ALTIVEC): Likewise.
233 (TARGET_64BIT): Likewise.
235 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
237 * configure: Regenerated.
239 2012-07-19 Tristan Gingold <gingold@adacore.com>
240 Richard Henderson <rth@redhat.com>
242 * exception.c (__gnu_objc_personality_seh0): New function.
244 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
246 * configure: Regenerated.
248 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
250 * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
251 * configure: Regenerate.
253 * thr.c (_XOPEN_SOURCE): Define unconditionally.
255 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
257 * configure: Regenerate.
259 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
261 * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
262 * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
263 * configure: Regenerate.
264 * config.h.in: Regenerate.
266 2011-10-17 Paul Brook <paul@codesourcery.com>
267 Matthias Klose <doko@ubuntu.com>
269 * exception.c (parse_lsda_header): hardcode ttype_encoding for older
271 (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
273 2011-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
276 * init.c (__objc_exec_class): Work around a bug in clang's code
277 generation. Clang sets the class->info field to values different
278 from 0x1 or 0x2 (the only allowed values in the traditional GNU
279 Objective-C runtime ABI) to store some additional information, but
280 this breaks backwards compatibility. Wipe out all the bits in the
281 fields other than the first two upon loading a class.
283 2011-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
285 * class.c (objc_lookup_class): Added back for compatibility with
286 clang which seems to emit calls to it.
288 2011-10-08 Richard Frith-Macdonald <rfm@gnu.org>
289 Nicola Pero <nicola.pero@meta-innovation.com>
292 * sendmsg.c (__objc_send_initialize): If a class does not have an
293 +initialize method, search for an +initialize method in the
294 superclass and in the ancestor classes and execute the first one
295 that is found. This makes the GNU runtime behave in the same way
296 as the Apple/NeXT runtime with respect to +initialize methods and
299 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
302 * class.c (__objc_update_classes_with_methods): Iterate over meta
303 classes as well as normal classes when refreshing the method
304 implementations. This fixes replacing class methods.
306 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
308 * class.c (class_getSuperclass): Fixed to work with meta classes
309 still in construction too.
311 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
313 * class.c (class_getSuperclass): Fixed typo in comment.
315 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
318 * class.c (class_getSuperclass): Return the superclass if the
319 class is in construction.
320 * objc/runtime.h (class_getSuperclass): Updated documentation.
322 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
324 * Makefile.in (INCLUDES): Search
325 $(srcdir)/$(MULTISRCTOP)../libgcc.
327 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
329 * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
331 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
333 * configure.ac (VERSION): Bumped to 4:0:0.
334 * configure (VERSION): Likewise.
336 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
338 * objc/README: Updated.
339 * objc-private/selector.h: Updated comments.
341 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
343 * sendmsg.c (class_get_instance_method): Removed.
344 (class_get_class_method): Removed.
345 (objc_get_uninstalled_dtable): Removed.
347 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
349 * objc-private/module-abi-8.h (class_get_instance_size): Removed.
350 * objects.c (class_create_instance): Removed.
351 * error.c (__USE_FIXED_PROTOTYPES__): Removed.
352 * gc.c (__objc_generate_gc_type_description): Use
353 class_getInstanceSize() instead of class_get_instance_size().
354 * selector.c (sel_types_match): Made static.
355 (sel_get_typed_uid): Removed.
356 (sel_get_any_typed_uid): Removed.
357 (sel_get_name): Removed.
358 (sel_get_type): Removed.
359 (sel_register_name): Removed.
360 (sel_register_typed_name): Removed.
361 (sel_get_uid): Removed.
363 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
365 * encoding.c (method_get_number_of_arguments): Removed.
366 (method_get_sizeof_arguments): Removed.
368 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
370 * class.c (objc_next_class): Removed.
371 (class_pose_as): Removed.
373 (class_table_replace): Removed.
374 (objc_lookup_class): Removed.
376 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
378 Removed the Traditional Objective-C runtime public API.
379 * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
380 (install-headers): Do not create the objc/deprecated directory and
381 do not install the deprecated headers.
382 (OBJC_H): Removed encoding.h and objc-api.h.
383 * Object.m: Removed all methods with the exception of -class and
384 -isEqual:. Updated includes. ([-class]): Use Modern API.
385 * objc/Object.h: Do not include deprecated/Object.h.
386 * objc/deprecated/Object.h: Removed.
387 * linking.m (__objc_linking): Call [Object class] instead of
389 * Protocol.m: Removed all methods with the exception of -isEqual:.
391 * objc/Protocol.h: Do not include deprecated/Protocol.h.
392 * objc/deprecated/Protocol.h: Removed.
393 * objc/deprecated/struct_objc_symtab.h: Removed.
394 * objc/deprecated/struct_objc_module.h: Removed.
395 * objc/deprecated/struct_objc_ivar.h: Removed.
396 * objc/deprecated/struct_objc_ivar_list.h: Removed.
397 * objc/deprecated/struct_objc_method.h: Removed.
398 * objc/deprecated/struct_objc_method_list.h: Removed.
399 * objc/deprecated/struct_objc_protocol_list.h: Removed.
400 * objc/deprecated/struct_objc_category.h: Removed.
401 * objc/deprecated/MetaClass.h: Removed.
402 * objc/deprecated/objc_msg_sendv.h: Removed.
403 * objc/deprecated/README: Removed.
404 * objc/deprecated/struct_objc_class.h: Removed.
405 * objc/deprecated/struct_objc_protocol.h: Removed.
406 * objc/deprecated/struct_objc_selector.h: Removed.
407 * objc/encoding.h: Removed.
408 * objc/message.h (struct objc_super): Removed the definition for
409 the Traditional Objective-C runtime API.
410 * objc/objc.h: Do not include objc/objc-decls.h.
411 deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
412 deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
413 and deprecated/objc_msg_sendv.h. Uncommented new definition of
415 * objc/objc-api.h: Removed.
416 * objc/runtime.h: Updated comments. Removed check to detect
417 concurrent usage of Traditional and Modern APIs.
418 * objc-private/module-abi-8.h: Always define struct objc_class and
419 struct objc_protocol. (struct objc_protocol_list): Changed type
420 of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
421 (class_get_instance_size): Added.
422 * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
423 'struct objc_protocol *' as argument, not a 'Protocol *'.
424 * objc-private/runtime.h: Updated comments.
425 * objc-private/selector.h (struct objc_selector, sel_eq): Added.
426 * class.c: Include objc-private/selector.h.
427 (objc_get_meta_class): Return a Class instead of a MetaClass.
428 * encoding.c (method_get_next_argument): Removed.
429 (method_get_first_argument): Removed.
430 (method_get_nth_argument): Removed.
431 * gc.c: Include objc/runtime.h instead of objc/encoding.h.
432 Include objc-private/module-abi-8.h and ctype.h.
433 * protocols.c (__objc_protocols_add_protocol): Take a 'struct
434 objc_protocl *' as argument, not a 'Protocol *'.
435 (class_addProtocol): Added casts to 'struct objc_protocol *' and
437 (class_copyProtocolList): Likewise.
438 (protocol_conformsToProtocol): Likewise.
439 (protocol_copyProtocolList): Likewise.
440 * sarray.c: Include objc-private/module-abi-8.h.
441 * sendmsg.c (method_get_next_argument): Removed.
442 (method_get_first_argument): Removed.
443 (method_get_nth_argument): Removed.
444 (objc_msg_sendv): Removed.
445 (arglist_t, retval_t): New. (class_get_class_method): Take a
446 'Class', not 'MetaClass', argument.
447 * thr.c: Include module-abi-8.h.
449 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
451 * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
452 and objc_get_uninstalled_dtable.h.
453 * objc/deprecated/struct_objc_static_instances.h: Removed.
454 * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.
455 * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
456 and deprecated/objc_get_uninstalled_dtable.h.
458 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
460 * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
461 * objc/deprecated/objc_object_alloc.h: Removed.
462 * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
463 * objects.c (_objc_object_alloc, _objc_object_dispose,
464 _objc_object_copy): Removed.
465 * libobjc.def (__objc_object_alloc, __objc_object_copy,
466 __objc_object_dispose): Removed.
468 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
470 * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
471 * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
472 * objc/deprecated/METHOD_NULL.h: Removed.
474 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
476 * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
477 objc_malloc.h and objc_unexpected_exception.h.
478 (exception.lo): Do not use -Wno-deprecated-declarations.
479 (exception_gc.lo): Likewise.
480 * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
481 deprecated/objc_malloc.h and
482 deprecated/objc_unexpected_exception.h.
483 * objc/deprecated/objc_valloc.h: Removed.
484 * objc/deprecated/objc_malloc.h: Removed.
485 * objc/deprecated/objc_unexpected_exception.h: Removed.
486 * exception.c (_objc_unexpected_exception): Removed.
487 (objc_exception_throw): Do not check for
488 _objc_unexpected_exception.
489 * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
490 _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.
491 * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
493 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
495 * objc/objc.h: Do not include deprecated/STR.h.
496 * objc/deprecated/STR.h: Removed.
497 * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
499 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
501 * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
502 (OBJC_DEPRECATED_H): Likewise.
503 * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
504 objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
505 objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
506 hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
507 sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
508 sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
509 * objc/sarray.h: Removed.
510 * objc/hash.h: Removed.
511 * objc/deprecated/sarray.h: Removed.
512 * objc/deprecated/hash.h: Removed.
513 * objc/Object.h: Do not include objc/deprecated/hash.h
514 * Object.m: Include string.h.
515 * objc/objc-api.h: Do not include objc/deprecated/hash.h.
516 * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
519 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
521 * Object.m ([-forward::]): Removed.
522 * objc/deprecated/Object.h ([-forward::]): Removed.
523 * sendmsg.c (__objc_forward): Updated comments.
525 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
527 * Makefile.in (OBJC_H): Removed objc-list.h.
528 (OBJC_DEPRECATED_H): Removed objc-list.h.
529 * objc/objc-list.h: File removed.
530 * objc/deprecated/objc-list.h: File removed.
532 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
534 * Makefile.in (OBJC_H): Removed typedstream.h.
535 (OBJC_DEPRECATED_H): Removed typedstream.h.
536 (C_SOURCE_FILES): Removed archive.c.
537 (Object.lo): Rule removed.
538 (Object_gc.lo): Likewise.
539 (archive.lo): Likewise.
540 (archive_gc.lo): Likewise.
541 * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
543 Do not include deprecated/typedstream.h.
544 * Object.m: Removed the same methods.
545 * archive.c: File removed.
546 * objc/typedstream.h: File removed.
547 * objc/deprecated/typedstream.h: File removed.
548 * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
549 __objc_write_class, __objc_write_object, __objc_write_selector,
550 objc_close_typed_stream, objc_end_of_typed_stream,
551 objc_flush_typed_stream, objc_get_stream_class_version,
552 objc_open_typed_stream, objc_open_typed_stream_for_file,
553 objc_read_array, objc_read_char, objc_read_int, objc_read_long,
554 objc_read_object, objc_read_selector, objc_read_short,
555 objc_read_string, objc_read_type, objc_read_types,
556 objc_read_unsigned_char, objc_read_unsigned_int,
557 objc_read_unsigned_long, objc_read_unsigned_short,
558 objc_write_array, objc_write_char, objc_write_int,
559 objc_write_long, objc_write_object, objc_write_object_reference,
560 objc_write_root_object, objc_write_selector, objc_write_short,
561 objc_write_string, objc_write_string_atomic, objc_write_type,
562 objc_write_types, objc_write_unsigned_char,
563 objc_write_unsigned_int, objc_write_unsigned_long,
564 objc_write_unsigned_short): Removed.
566 2011-06-02 Nicola Pero <nicola.pero@meta-innovation.com>
568 * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
569 * objc/deprecated/objc_error.h: Removed.
570 * objc/objc-api.h: Do not include deprecated/objc_error.h.
571 * libobjc.def (objc_error, objc_verror): Removed.
572 * error.c (_objc_error_handler, objc_error, objc_verror,
573 objc_set_error_handler): Removed.
574 * Object.m ([-error:], [-perform:], [-perform:with:],
575 [-perform:with:with], [-subclassResponsibility:],
576 [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
578 * objc/deprecated/Object.h: Removed the same methods.
579 * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
580 method after trying to invoke the "doesNotRecognize:" method.
582 2011-05-26 Nicola Pero <nicola.pero@meta-innovation.com>
584 * sendmsg.c: Reindented part of the file. No non-trivial changes
587 2011-05-26 Nicola Pero <nicola.pero@meta-innovation.com>
589 * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
590 not objc_lookup_class.
592 2011-05-25 Richard Frith-Macdonald <rfm@gnu.org>
593 David Ayers <ayers@fsfe.org>
596 * sendmsg.c: Include objc/hash.h.
597 (get_implementation): New function, mostly with code from get_imp
598 updated to support the new +initialize dispatch table logic.
599 (get_imp): Use get_implementation.
600 (__objc_responds_to): Updated to support the new +initialize
601 dispatch table logic.
602 (class_respondsToSelector): Likewise.
603 (objc_msg_lookup): Use get_implementation.
604 (__objc_init_install_dtable): Removed.
605 (__objc_install_methods_in_dtable): Updated arguments.
606 (__objc_install_dispatch_table_for_class): Renamed to
607 __objc_install_dtable_for_class and updated to support the new
608 +initialize dispatch table logic.
609 (__objc_update_dispatch_table_for_class): Updated to support the
610 new +initialize dispatch table logic.
611 (__objc_forward): Call get_implementation instead of get_imp.
612 (prepared_dtable_table): New.
613 (__objc_prepare_dtable_for_class): New.
614 (__objc_prepared_dtable_for_class): New.
615 (__objc_get_prepared_imp): New.
616 (__objc_install_prepared_dtable_for_class): New.
618 2011-05-24 Nicola Pero <nicola.pero@meta-innovation.com>
621 * selector.c (__sel_register_typed_name): Use sel_types_match()
622 instead of strcmp() to compare selector types (Suggestion by
623 Richard Frith-Macdonald <rfm@gnu.org>).
625 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
628 * Makefile.in (OBJC_GCFLAGS): Move ...
629 * configure.ac (enable_objc_gc): ... here.
630 Add $(libsuffix) to OBJC_BOEHM_GC.
631 * configure: Regenerate.
633 2011-02-28 Nicola Pero <nicola.pero@meta-innovation.com>
635 * selector.c (sel_getTypedSelector): Return NULL if there are
636 multiple selectors with conflicting types.
637 * objc/runtime.h (sel_getTypedSelector): Updated documentation.
639 2011-02-28 Richard Frith-Macdonald <rfm@gnu.org>
642 * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
645 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
647 * configure: Regenerate.
649 2010-12-26 Nicola Pero <nicola.pero@meta-innovation.com>
651 * init.c (create_tree_of_subclasses_inherited_from): Use
652 class_superclass_of_class instead of assuming a class is
653 unresolved when it could be resolved. Tidied up assignment and
655 (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
656 (objc_tree_insert_class): Tidied up loop; return immediately upon
658 (__objc_exec_class): Do not set __objc_class_tree_list.
660 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
662 * selector.c (sel_getTypedSelector): Return NULL if given a NULL
664 (sel_registerTypedName): Same.
665 (sel_registerName): Same.
666 * objc/runtime.h: Updated documentation.
668 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
670 * objc/runtime.h (class_addIvar): Updated documentation. The
671 alignment is actually the log_2 of the alignment in bytes.
672 * ivars.c (class_addIvar): Corresponding change to the
675 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
677 * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
678 be consistent with method_getTypeEncoding and
679 ivar_getTypeEncoding.
680 (sel_copyTypedSelectorList, sel_getTypedSelector): New.
681 * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
682 (sel_copyTypedSelectorList, sel_getTypedSelector): New.
683 (sel_get_type): Updated call to sel_getType.
685 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
687 * objc/runtime.h (class_conformsToProtocol,
688 class_copyProtocolList): Updated documentation.
690 2010-12-23 Nicola Pero <nicola.pero@meta-innovation.com>
692 * init.c (create_tree_of_subclasses_inherited_from): Updated
693 DEBUG_PRINTF messages.
694 (__objc_tree_insert_class): Same.
695 (__objc_send_load_using_method_list): Same.
696 (__objc_send_load): Same.
697 (__objc_exec_class): Same. In particular, do not print the module
698 name since it is no longer used.
699 * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
700 tracking +initialize calls.
701 (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
702 tracking updates of dispatch tables.
703 (__objc_install_dispatch_table_for_class): Same.
705 2010-12-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
707 * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
708 (libobjc_gc$(libsuffix).la): Likewise.
710 2010-12-23 Nicola Pero <nicola.pero@meta-innovation.com>
712 * sendmsg.c (class_addMethod): Return NO if the method already
715 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
717 * init.c (duplicate_classes): New.
718 (__objc_exec_class): Initialize duplicate_classes.
719 (__objc_create_classes_tree): Ignore classes in the
720 duplicate_classes table.
721 (__objc_call_load_callback): Same.
722 (__objc_init_class): If a duplicate class is found, add it to
723 duplicate_classes instead of aborting. Return YES if the class is
724 not a duplicate, and NO if it is.
725 * objc-private/runtime.h (__objc_init_class): Updated prototype.
727 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
729 * objc-private/objc-list.h: Reindented file. No code changes.
730 * objc-private/sarray.h: Same change.
732 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
734 * objc-private/accessors.h: Removed 'extern "C"' guards. This
735 file is never compiled with C++.
736 * objc-private/hash.h: Same change.
737 * objc-private/objc-list.h: Same change.
738 * objc-private/objc-sync.h: Same change.
739 * objc-private/protocols.h: Same change.
740 * objc-private/runtime.h: Same change.
741 * objc-private/sarray.h: Same change.
742 * objc-private/selector.h: Same change.
744 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
747 * class.c (__objc_add_class_to_hash): Return YES if the class was
748 added, and NO if it already existed.
749 * init.c (__objc_init_class): If __objc_add_class_to_hash returns
750 NO, then abort the program with an error message.
751 * objc-private/runtime.h (__objc_add_class_to_hash): Updated
754 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
756 * init.c (_objc_load_callback): Initialize with 0.
757 (__objc_call_callback): Renamed to __objc_call_load_callback.
758 Check _objc_load_callback only once, and if it is not set, return
760 (objc_send_load): Updated call to __objc_call_callback.
762 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
765 * init.c (__objc_send_message_in_list): Renamed to
766 __objc_send_load_using_method_list. Do not take an 'op' argument.
767 Register the 'load' selector if needed.
768 (__objc_send_load): Do not register the 'load' selector. Updated
769 call to __objc_send_message_in_list.
770 (__objc_create_classes_tree): Add the class of any claimed
771 category that was loaded in the module to the list of classes for
772 which we try to execute +load.
774 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
776 * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
778 * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
779 a pointer using DEBUG_PRINTF.
781 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
784 * selector.c (__sel_register_typed_name): When registering a new
785 selector with the same name as an existing one, reuse the existing
786 name string. Also updated types, casts and comments in the whole
789 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
791 * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
792 to be 'struct objc_selector *' and not 'SEL'.
793 * init.c (__objc_exec_class): Call
794 __objc_register_selectors_from_module instead of iterating over
795 each selector and calling __sel_register_typed_name for each.
796 * objc-private/selector.h: Declare
797 __objc_register_selectors_from_module instead of
798 __sel_register_typed_name.
799 * selector.c (__objc_register_selectors_from_module): New.
800 (__sel_register_typed_name): Made static.
802 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
804 * linking.m: Do not include objc/NXConstStr.h.
806 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
808 * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
809 * objc-private/common.h (DEBUG_PRINTF): To here.
810 * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
812 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
814 * hash.c: Tidied up comments and indentation. No code changes.
816 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
819 * accessors.m (objc_getProperty): If not atomic, do not
820 retain/autorelease the returned value.
822 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
824 * objc-private/runtime.h (__objc_selector_max_index,
825 __objc_init_selector_tables, __objc_register_selectors_from_class,
826 __objc_register_selectors_from_list,
827 __objc_register_selectors_from_description_list): Moved to ...
828 * objc-private/selector.h: ... here.
830 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
832 * objc-private/runtime.h (__objc_class_links_resolved): Removed.
833 (__objc_print_dtable_stats): Removed.
834 (__sel_register_typed_name): Removed.
835 * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
837 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
839 * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
840 if appropriate, after loading the module.
842 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
844 * sendmsg.c (method_setImplementation): Do not declare.
846 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
848 * objc/message.h: Updated comments.
849 * objc/runtime.h: Updated comments.
851 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
853 * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
854 * protocols.c: Updated all calls to objc_lookupClass to call
855 objc_lookUpClass instead.
856 * sendmsg.c (objc_lookupClass): Do not declare.
857 (get_imp): Update call to objc_lookupClass to call
858 objc_lookUpClass instead.
859 * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
861 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
863 * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
864 * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
865 define. Updated comments.
867 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
869 * objc/encoding.h: Updated comments.
870 * objc/runtime.h: Updated comments.
871 (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
872 (objc_sizeof_type): Same.
873 (objc_alignof_type): Same.
874 (objc_aligned_size): Same.
875 (objc_promoted_size): Same.
876 (objc_skip_type_qualifiers): Same.
877 (objc_skip_typespec): Same.
878 (objc_skip_offset): Same.
879 (objc_skip_argspec): Same.
880 (objc_get_type_qualifiers): Same.
881 (objc_layout_structure): Same.
882 (objc_layout_structure_next_member): Same.
883 (objc_layout_finish_structure): Same.
884 (objc_layout_structure_get_info): Same.
886 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
888 * init.c: Updated comments.
889 * objc/objc-api.h: Updated comments.
890 * objc/runtime.h (_objc_load_callback): Declare.
892 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
894 * objc/Object.h: Include deprecated/typedstream.h and
895 deprecated/hash.h instead of typedstream.h. Updated comments.
897 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
899 * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
900 * objc/deprecated/objc_msg_sendv.h: New.
901 * objc/message.h: Do not define retval_t, apply_t, arglist,
902 arglist_t, objc_msg_sendv, now in
903 objc/deprecated/objc_msg_sendv.h.
904 * objc/objc.h: Do not include message.h; include
905 objc/deprecated/objc_msg_sendv.h instead. Tidied up comments.
906 * sendmsg.c: Include objc/message.h.
907 * thr.c: Include objc/message.h.
909 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
911 * objc/objc-exception.h: Include objc-decls.h. Mark all
912 functions with objc_EXPORT.
913 * objc/objc-sync.h: Same change.
915 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
917 * Protocol.m: Moved all methods, with the exception of -isEqual:,
918 into the 'Deprecated' category.
919 * objc/Protocol.h: Removed all methods, moved to
920 objc/deprecated/Protocol.h. Include objc/deprecated/Protocol.h.
921 * objc/deprecated/Protocol.h: New.
922 * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
924 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
926 * init.c: Include objc-private/selector.h. Do not declare
927 __sel_register_typed_name.
928 * objc-private/selector.h (__sel_register_typed_name): Declare.
929 * selector.c: Include objc-private/selector.h.
931 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
933 * class.c: Tidied up comments and indentation. No code changes.
939 * objc-foreach.c: Same.
946 2010-12-17 Nicola Pero <nicola.pero@meta-innovation.com>
948 * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
949 instead of objc/objc-api.h.
950 (init_check_module_version): Take a 'struct objc_module *'
951 argument instead of 'Module_t'. Use 'struct objc_module *'
952 instead of 'Module_t'.
953 (__objc_created_classes_tree): Take a 'struct objc_module *'
954 argument instead of 'Module_t'; use 'struct objc_symtab *' instead
956 (__objc_call_callback): Take a 'struct objc_module *' argument
957 instead of 'Module_t'; use 'struct objc_symtab *' instead of
958 'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
959 (_objc_load_callback): Take a 'struct objc_category *' argument
960 instead of 'Category *'.
961 (class_superclass_of_class): Use objc_getClass() instead of
963 (create_tree_of_subclasses_inherited_from): Same change (also, use
964 an explicit 'if' instead of '?').
965 (objc_init_statics): Same change.
966 (objc_send_load): Same change.
967 (__objc_init_protocol): same change.
968 (__objc_send_message_in_list): Take a 'struct objc_method_list *'
969 argument instead of 'MethodList_t'. Use 'struct objc_method *'
970 instead of 'Method_t'.
971 (__objc_send_load): Use 'struct objc_method_list *' instead of
972 'MethodList_t'. Use sel_registerName() instead of
974 (__objc_exec_class): Take a 'struct objc_module *' argument
975 instead of 'Module_t'. Use 'struct objc_symtab *' instead of
976 'Symtab_t'. Use objc_getClass() instead of objc_lookup_class().
977 Use 'struct objc_category *' instead of 'Category_t'.
979 2010-12-16 Nicola Pero <nicola.pero@meta-innovation.com>
981 * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
982 Include objc-private/module-abi-8.h and objc-private/selector.h
983 instead of objc/encoding.h.
984 (objc_msg_lookup_super): Use super->super_class instead of
986 (method_get_first_argument, method_get_next_argument): Declare
988 (class_get_instance_method): Declare before using.
989 (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
990 (__objc_init_dispatch_tables, __objc_send_initialize): Use
991 sel_registerName() instead of sel_register_name().
992 (__objc_forward): Use sel_getName() instead of sel_get_name().
993 (objc_get_uninstalled_dtable): Use 'void' as argument.
994 * objc-private/selector.h: New.
996 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
998 * objc/message.h (objc_super): When using the modern API, do not
999 define Super and Super_t, and always use 'super_class' for the
1001 (objc_msg_lookup_super): Updated prototype to use 'struct
1002 objc_super *' instead of 'Super_t'.
1003 * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
1004 'struct objc_super *' instead of 'Super_t'.
1006 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
1008 * objc/message.h: Update comments, reindented code and moved
1009 deprecated types and functions at the end of the file. No code
1012 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
1014 * ivars.c (class_addIvar): Use the 'size' argument instead of
1015 trying to calculate it using objc_sizeof_type().
1016 * objc/runtime.h (class_addIvar): Updated comments.
1018 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
1020 * sendmsg.c: Reindented some code and tidied up comments. No
1021 actual code changes.
1023 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
1025 * objc/Object.h: Moved all the methods, with the exception of
1026 -class and -isEqual:, into ...
1027 * objc/deprecated/Object.h: here.
1028 * Object.m: Moved all the methods, with the exception of -class
1029 and -isEqual: into the 'Deprecated' category.
1031 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
1033 * objects.c (object_copy): Do not #undef as we are no longer
1034 including objc/objc-api.h.
1035 * selector.c: Include objc/runtime.h and
1036 objc-private/module-abi-8.h. Do not include objc/objc-api.h and
1037 objc/encoding.h. Updated
1038 (__objc_register_selectors_from_class): Use struct
1039 objc_method_list * instead of MethodList_t.
1040 (__objc_register_selectors_from_list): Use Method instead of
1042 (struct objc_method_description_list): Do not define here.
1043 (__objc_register_instance_methods_to_class): Use struct
1044 objc_method_list * instead of MethodList_t and Method instead of
1047 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
1049 * selector.c: Reindented some code and tidied up comments. No
1050 actual code changes.
1052 2010-12-13 Iain Sandoe <iains@gcc.gnu.org>
1054 * encoding.c (_darwin_rs6000_special_round_type_align): New.
1055 (darwin_rs6000_special_round_type_align): Adjust to use new routine.
1057 2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
1059 * sendmsg.c (selector_resolveClassMethod): New.
1060 (selector_resolveInstanceMethod): New.
1061 (__objc_resolve_class_method): New.
1062 (__objc_resolve_instance_method): New.
1063 (get_imp): Call __objc_resolve_class_method or
1064 __objc_resolve_instance_method at the appropriate time.
1065 (objc_msg_lookup): Same.
1066 (class_getClassMethod): Same.
1067 (class_getInstanceMethod): Same.
1068 (__objc_init_dispatch_tables): Initialize
1069 selector_resolveClassMethod and selector_resolveInstanceMethod.
1070 * objc/runtime.h: Updated documentation of class_getClassMethod,
1071 class_getInstanceMethod and class_getMethodImplementation.
1073 2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
1075 * objc-private/module-abi-8.h (struct objc_symtab): Updated
1076 description of sel_ref_cnt and refs.
1077 * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
1079 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
1083 * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
1084 * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
1085 * aclocal.m4: Regenerate.
1086 * configure: Regenerate.
1088 2010-12-03 Matthias Klose <doko@ubuntu.com>
1090 * configure.ac (VERSION): Bump the version to 3:0:0.
1091 * configure: Regenerate.
1093 2010-11-23 Richard Frith-Macdonald <rfm@gnu.org>
1095 * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
1096 pass nil as the receiver since we don't know the receiver at this
1099 2010-11-18 Nicola Pero <nicola.pero@meta-innovation.com>
1101 * ivars.c: Include stdlib.h.
1102 * protocols.c: Same change.
1104 2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
1106 * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
1108 * init.c: Include objc-private/accessors.h.
1109 (__objc_exec_class): Call __objc_accessors_init.
1110 * objc-private/accessors.h: New.
1112 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
1114 * objc/message.h: Moved initial includes outside of extern "C".
1115 * objc/runtime.h: Add extern "C" for Objective-C++.
1117 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
1119 * init.c (objc_send_load): Do not wait for NXConstantString to be
1120 registered before executing +load. There is no point if
1121 -fconstant-string-class=xxx is used when compiling all modules,
1122 as is the case for almost all users.
1123 * linking.m (__objc_linking): Do not try to forcefully link in
1126 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
1128 * objc/runtime.h: Updated comments.
1129 (class_addMethod): New.
1130 (class_addIvar): New.
1131 (class_replaceMethod): New.
1132 (objc_allocateClassPair): New.
1133 (objc_registerClassPair): New.
1134 (objc_disposeClassPair): New.
1135 * class.c (objc_allocateClassPair): New.
1136 (objc_registerClassPair): New.
1137 (objc_disposeClassPair): New.
1138 (class_getSuperclass): Return Nil if a class is in construction.
1139 * init.c (__objc_exec_class): Call __objc_init_class.
1140 (__objc_init_class): New.
1141 * ivars.c (class_copyIvarList): Return NULL if class is in
1142 construction. Do not lock the runtime mutex.
1143 (class_getInstanceVariable): Return NULL if class is in
1144 construction. Do not lock the runtime mutex.
1145 (class_addIvar): New.
1146 * sendmsg.c (class_addMethod): New.
1147 (class_replaceMethod): New.
1148 * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
1149 (_CLS_IN_CONSTRUCTION): New.
1150 (CLS_IS_IN_CONSTRUCTION): New.
1151 (CLS_SET_IN_CONSTRUCTION): New.
1152 (CLS_SET_NOT_IN_CONSTRUCTION): New.
1153 * objc-private/runtime.h (__objc_init_class): New.
1155 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
1157 * class.c (class_getSuperclass): Call __objc_resolve_class_links
1158 if the class is not resolved yet.
1159 * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
1161 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
1163 * objc/runtime.h (class_getIvarLayout): New.
1164 (class_getWeakIvarLayout): New.
1165 (class_setIvarLayout): New.
1166 (class_setWeakIvarLayout): New.
1167 * ivars.c (class_getIvarLayout): New.
1168 (class_getWeakIvarLayout): New.
1169 (class_setIvarLayout): New.
1170 (class_setWeakIvarLayout): New.
1172 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
1174 * objc/runtime.h (class_copyPropertyList): New.
1175 (class_getProperty): New.
1176 (property_getAttributes): New.
1177 (property_getName): New.
1178 * ivars.c (class_copyPropertyList): New.
1179 (class_getProperty): New.
1180 (property_getAttributes): New.
1181 (property_getName): New.
1183 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
1185 * objc-private/runtime.h (__objc_update_classes_with_methods): New.
1186 * class.c (__objc_update_classes_with_methods): New.
1187 (objc_getClassList): Do not lock the class lock.
1188 * methods.c (method_exchangeImplementations): New.
1189 (method_setImplementation): New.
1190 * objc/runtime.h (method_setImplementation): New.
1191 (method_exchangeImplementations): New.
1193 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
1195 * Protocol.m: Include objc/runtime.h and
1196 objc-private/module-abi-8.h instead of objc/objc-api.h. Do not
1197 repeat Protocol's instance variables.
1198 (struct objc_method_description_list): Do not define here.
1199 ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1200 ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1201 selectors directly instead of getting names and then using strcmp.
1202 ([descriptionForClassMethod:]): Same change.
1203 ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1204 * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1205 to compare selectors directly instead of getting names and then
1207 * objc/Protocol.h: Updated comments.
1209 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
1211 * init.c (__objc_init_protocol): New function which fixes up a
1212 protocol's class pointer, registers it with the runtime, register
1213 all protocol selectors and registers associated protocols too.
1214 (objc_init_statics): Detect if we are initializing protocols, and
1215 if so, use __objc_init_protocol instead of only fixing up the
1217 (__objc_init_protocls): Use __objc_init_protocol.
1218 * objc-private/module-abi-8.h: Updated comments.
1219 * objc-private/runtime.h
1220 (__objc_register_selectors_from_description_list): New.
1221 * selector.c (__objc_register_selectors_from_description_list):
1222 New. (struct objc_method_description_list): Declare.
1223 * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1224 when accessing the name of a method, which is now correctly a SEL.
1225 ([-descriptionForClassMethod:]): Same change.
1226 * protocols.c (protocol_getMethodDescription): Same change.
1227 * objc/runtime.h: Updated comments.
1228 (sel_registerTypedName): Fixed typo in function name.
1230 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
1233 * init.c (objc_init_statics): Do not skip the initialization of a
1234 statics list if the first object has already been initialized; in
1235 the case of Protocols, while the first one may have been
1236 initialized, some others may not have been initialized yet.
1238 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
1240 * Makefile.in (OBJC_DEPRECATED_H): Added
1241 objc_get_uninstalled_dtable, objc_object_alloc.h and
1242 struct_objc_static_instances.h.
1244 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
1246 * encoding.c (method_copyReturnType): New.
1247 (method_copyArgumentType): New.
1248 (method_getReturnType): New.
1249 (method_getArgumentType): New.
1250 * methods.c (method_getDescription): New.
1251 * objc/runtime.h (method_copyReturnType): New.
1252 (method_copyArgumentType): New.
1253 (method_getReturnType): New.
1254 (method_getArgumentType): New.
1255 (method_getDescription): New.
1257 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1259 * encoding.c: Tidied up comments.
1260 (objc_skip_variable_name): New static inline function.
1261 (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1262 the same code over and over.
1263 (objc_alignof_type): Same.
1264 (objc_aligned_size): Same.
1265 (objc_promoted_size): Same.
1266 (objc_skip_typespec): Same.
1267 (objc_layout_structure_next_member): Same.
1268 (objc_skip_offset): Skip a '-' before the digits (if any). Fixed
1269 historical bug where objc_skip_offset would skip one byte even if
1270 there is no offset: check that the first offset digit is actually
1271 a digit before skipping it.
1272 (objc_skip_type_qualifiers): Mark as inline.
1273 (objc_skip_typespec): Mark as inline.
1275 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1277 * Makefile.in (C_SOURCE_FILES): Added methods.c.
1278 * encoding.c (method_getNumberOfArguments): New.
1279 (method_get_number_of_arguments): Call
1280 method_getNumberOfArguments.
1281 * ivars.c (ivar_getName): Check for NULL variable argument.
1282 (ivar_getOffset): Check for NULL variable argument.
1283 (ivar_getTypeEncoding): Check for NULL variable argument.
1284 (class_copyIvarList): New.
1286 * protocols.c (class_copyProtocolList): Check for Nil class_
1288 * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1289 'struct objc_method_list *' instead of MethodList_t.
1290 (class_getMethodImplementation): New.
1291 (class_respondsToSelector): New.
1292 (class_getInstanceMethod): New.
1293 (class_getClassMethod): New.
1294 * objc/runtime.h: Updated comments.
1295 (class_copyIvarList): New.
1296 (class_getInstanceMethod): New.
1297 (class_getClassMethod): New.
1298 (class_getMethodImplementation): New.
1299 (class_respondsToSelector): New.
1300 (method_getName): New.
1301 (method_getImplementation): New.
1302 (method_getTypeEncoding): New.
1303 (class_copyMethodList): New.
1304 (method_getNumberOfArguments): New.
1306 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1308 * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1309 instead of objc/objc-api.h.
1310 (objc_get_unknown_class_handler): Do not define.
1311 (class_isMetaClass): New.
1312 (class_getSuperclass): New.
1313 (class_getVersion): New.
1314 (class_setVersion): New.
1315 (class_getInstanceSize): New.
1316 * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1317 (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1318 objc_get_super_class.
1319 (get_ttype_entry): Use objc_getRequiredClass instead of
1321 * ivars.c (class_getClassVariable): New.
1322 * objects.c: Include objc/runtime.h, objc/thr.h and
1323 objc-private/module-abi-8.h instead of objc/objc-api.h
1324 * objc/runtime.h (class_getClassVariable): New.
1325 (class_isMetaClass): New.
1326 (class_getSuperclass): New.
1327 (class_getVersion): New.
1328 (class_setVersion): New.
1329 (class_getInstanceSize): New.
1330 * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1333 (__CLS_ISINFO): Same.
1334 (__CLS_SETINFO): Same.
1336 (CLS_ISCLASS): Same.
1337 (CLS_ISRESOLV): Same.
1338 (CLS_SETRESOLV): Same.
1339 (CLS_ISINITIALIZED): Same.
1340 (CLS_SETINITIALIZED): Same.
1341 (CLS_GETNUMBER): Same.
1342 (CLS_SETNUMBER): Same.
1344 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1346 * archive.c: Do not include objc/objc.h.
1347 * class.c: Do not include objc/objc.h.
1348 * encoding.c: Include objc/runtime.h, ctype.h and
1349 objc-private/module-abi-8.h instead of objc/objc-api.h and
1351 * error.c: Do not include objc/objc.h.
1352 * gc.c: Include tconfig.h and objc/encoding.h only if
1354 * hash.c: Include objc/runtime.h and objc/thr.h instead of
1355 objc/objc-api.h. Do not include objc/objc.h.
1356 * init.c: Do not include objc/objc.h.
1357 * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1358 objc/thr.h instead of objc/objc-api.h. Do not include
1360 * linking.m: Tidied comment.
1361 * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1362 Do not include objc/objc.h.
1363 * objects.c: Do not include objc/objc.h.
1364 * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1365 * protocols.c: Do not include objc/objc.h.
1366 * sarray.c: Include objc/runtime.h instead of objc/objc-api.h. Do
1367 not include objc/objc.h.
1368 * selector.c: Do not include objc/objc.h.
1369 * sendmsg.c: Do not include objc/objc.h.
1370 * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1371 Do not include objc/objc.h.
1372 * objc/objc-decls.h: Reindented code.
1373 * objc/runtime.h Include objc-decls.h. Updated comments.
1375 (objc_atomic_malloc): New.
1377 (objc_realloc): New.
1379 * objc-private/runtime.h: Updated comments.
1381 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1383 * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1384 * objc-private/protocols.h: New.
1386 * init.c: Include objc-private/protocols.h.
1387 (__objc_exec_class): Call __objc_protocols_init on startup.
1388 (__objc_init_protocols): Call __objc_protocols_add_protocol.
1389 * objc-private/runtime.h: Use (struct objc_method_list *) instead
1390 of MethodList_t, and (struct objc_method *) instead of Method_t.
1391 * objc/deprecated/struct_objc_class.h: Define
1392 __objc_STRUCT_OBJC_CLASS_defined.
1393 * objc-private/module-abi-8.h (struct
1394 objc_method_description_list): New.
1395 (struct objc_class): Only define if
1396 __objc_STRUCT_OBJC_CLASS_defined is undefined.
1397 * objc/runtime.h (class_getName): New.
1398 (objc_getProtocol): New.
1399 (objc_copyProtocolList): New.
1400 (class_addProtocol): New.
1401 (class_conformsToProtocol): New.
1402 (class_copyProtocolList): New.
1403 (protocol_conformsToProtocol): New.
1404 (protocol_isEqual): New.
1405 (protocol_getName): New.
1406 (protocol_getMethodDescription): New.
1407 (protocol_copyMethodDescriptionList): New.
1408 (protocol_getProperty): New.
1409 (protocol_copyPropertyList): New.
1410 (protocol_copyProtocolList): New.
1411 * class.c (class_getName): New.
1412 * selector.c (sel_isEqual): New.
1414 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1416 * selector.c (sel_getName): Return "<null selector>" for a NULL
1418 (sel_get_name): Return 0 for a NULL argument.
1419 * objc/runtime.h (sel_getName): Updated documentation.
1421 * objc-private/hash.h (class_hash_table): Unused declaration
1423 (module_hash_table): Same.
1424 * objc/deprecated/hash.h: Same changes.
1426 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
1428 * class.c (objc_getClassList): New.
1429 (objc_getRequiredClass): New.
1430 (objc_getMetaClass): New.
1431 (objc_lookupClass): New.
1432 (objc_getClass): New.
1433 (__objc_get_unknown_class_handler): New.
1434 (objc_setGetUnknownClassHandler): New.
1435 (objc_get_class): Use __objc_get_unknown_class_handler.
1436 (objc_lookup_class): Call objc_getClass.
1437 * objc/objc-api.h: Updated comment and copyright notice.
1438 * objc/runtime.h: Updated comments.
1439 (objc_getClass): New.
1440 (objc_lookupClass): New.
1441 (objc_getMetaClass): New.
1442 (objc_getRequiredClass): New.
1443 (objc_getClassList): New.
1444 (objc_setGetUnknownClassHandler): New.
1445 (objc_get_unknown_class_handler): New.
1446 * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1447 instead of __objc_runtime_INCLUDE_GNU as include guard.
1448 * objc-private/error.h (_objc_abort): Mark as noreturn.
1450 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
1452 * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1454 * objc/objc.h: Updated comments.
1455 * objc/runtime.h (object_getClass): New.
1456 (object_getClassName): New.
1457 (object_setClass): New.
1458 (class_getInstanceVariable): New.
1459 (object_getIndexedIvars): New.
1460 (object_getInstanceVariable): New.
1461 (object_setInstanceVariable): New.
1462 (object_getIvar): New.
1463 (object_setIvar): New.
1464 (ivar_getName): New.
1465 (ivar_getOffset): New.
1466 (ivar_getTypeEncoding): New.
1467 * objc-private/module-abi-8.h (struct objc_class): Added.
1468 * objects.c (object_getClassName): New.
1469 (object_setClass): New.
1471 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
1473 * objc/objc.h: Updated comments.
1474 * objc/objc-api.h: (object_copy): Added one argument; use a
1475 #define to maintain backwards-compatibility. Moved
1476 _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1477 objc_get_uninstalled_dtable into
1478 objc/deprecated/objc_get_uninstalled_dtable.h and
1479 objc/deprecated/objc_object_alloc.h. Include these files.
1480 * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1481 * objc/deprecated/objc_object_alloc.h: New.
1482 * objc/runtime.h (set_getName): New.
1485 (sel_registerName): New.
1486 (sel_registerTypedName): New.
1488 (class_createInstance): New.
1490 (object_dispose): New.
1491 * objects.c: Do not include tconfig.h. Include gc_typed.h if
1492 building the garbage collection version.
1493 (__objc_object_alloc): Removed.
1494 (__objc_object_copy): Removed.
1495 (__objc_object_dispose): Removed.
1496 (class_createInstance): New from code in class_create_instance.
1497 Cast second argument of GC_malloc_explicitly_typed. Use
1498 objc_calloc. Do not call _objc_object_alloc.
1499 (class_create_instance): Call class_createInstance.
1500 (object_copy): Added extraBytes argument. Do not call
1502 (object_dispose): Do not call _objc_object_dispose.
1503 * memory.c (objc_free): When using garbage collection, mark the
1505 * selector.c (sel_getName): New.
1506 (sel_get_name): Call sel_getName.
1508 (sel_get_type): Call sel_getType.
1509 (sel_registerName): New.
1510 (sel_register_name): Call sel_registerName.
1511 (sel_registerTypedName): New.
1512 (sel_register_typed_name): Call sel_registerTypedName.
1514 (sel_get_uid): Call sel_getUid.
1516 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
1518 * objc/objc-api.h: Define Method, Method_t, Category and
1519 Category_t. Prevent including this file at the same time as
1520 objc/runtime.h. Updated comments.
1521 * objc/deprecated/struct_objc_method.h: Do not define Method,
1523 * objc/deprecated/struct_objc_category.h: Do not define Category,
1525 * objc-private/module-abi-8.h: New file containing a copy of all
1526 the structure definitions. Not used yet.
1527 * objc/encoding.h (objc_aligned_size): Removed duplicate
1528 declaration. Updated comments.
1529 * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1530 Category, struct objc_method_description, _C_ID and similar,
1531 _C_CONST and similar and _F_CONST and similar. Added
1532 objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1533 objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1534 objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1535 struct objc_struct_layout, objc_layout_structure,
1536 objc_layout_structure_next_member, objc_layout_finish_structure,
1537 objc_layout_structure_get_info. Prevent including this file at
1538 the same time as objc/objc-api.h.
1540 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
1542 * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1543 struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1544 struct_objc_method_list.h, struct_objc_module.h,
1545 struct_objc_protocol_list.h, struct_objc_symtab.h.
1546 * objc/deprecated/struct_objc_category.h: New.
1547 * objc/deprecated/struct_objc_ivar.h: New.
1548 * objc/deprecated/struct_objc_ivar_list.h: New.
1549 * objc/deprecated/struct_objc_method.h: New.
1550 * objc/deprecated/struct_objc_method_list.h: New.
1551 * objc/deprecated/struct_objc_module.h: New.
1552 * objc/deprecated/struct_objc_protocol_list.h: New.
1553 * objc/deprecated/struct_objc_symtab.h: New.
1554 * objc/deprecated/struct_objc_static_instances.h: New.
1555 * objc/objc-api.h: Definitions of deprecated structures moved into
1556 the above header fragment files in objc/deprecated/. Include the
1557 files instead of definition the structures here. Updated
1559 * objc/runtime.h: Updated comments. Do not include objc-api.h.
1560 (objc_set_enumeration_mutation_handler): Renamed to
1561 objc_setEnumerationMutationHandler.
1562 * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1563 to objc_setEnumerationMutationHandler.
1564 * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1565 objc_setExceptionMatcher.
1566 (objc_set_uncaught_exception_handler): Renamed to
1567 objc_setUncaughtExceptionHandler.
1568 * exception.c: Same changes.
1570 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
1572 * objc-sync.c: Include objc-private/common.h.
1574 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
1576 * objc-foreach.c: Include objc-private/common.h.
1577 * objc/deprecated/METHOD_NULL.h: New file.
1578 * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1579 defining METHOD_NULL here.
1580 * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1581 * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1583 ([-respondsTo:]): Same change.
1584 * objc/objc-api.h (method_get_imp): Converted it into a normal
1585 function so that we can hide the internals of struct objc_method.
1586 * sendmsg.c (method_get_imp): Implemented.
1588 2010-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
1590 * objc/objc-api.h (struct objc_super, Super, Super_t,
1591 objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1592 objc_msg_forward2): Declarations moved to objc/message.h. Include
1594 * objc/message.h: Added such declarations; updated comments.
1596 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
1598 Implemented fast enumeration for Objective-C.
1599 * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1600 (OBJC_H): Added runtime.h
1601 * objc-foreach.c: New file.
1602 * objc/runtime.h: New file.
1604 2010-09-30 Kai Tietz <kai.tietz@onevision.com>
1606 * objc/deprecated/struct_objc_class.h: Add padding
1607 to avoid warning with -Wpadded.
1609 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
1611 * encoding.c (objc_sizeof_type): Added support for vector type and
1612 for double long types.
1613 (objc_alignof_type): Same change.
1614 (objc_skip_typespec): Same change.
1615 * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1616 instead of '!' since '!' is already used for _C_VECTOR.
1617 * objc/objc-api.h (_C_LNG_DBL): Added.
1619 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
1621 * libobjc_entry.c: File removed.
1623 2010-09-26 Kai Tietz <kai.tietz@onevision.com>
1625 * sendmsg.c (objc_msg_lookup): Remove inline.
1626 (objc_get_uninstalled_dtable): Likewise.
1627 * encoding.c (objc_skip_type_qualifiers): Likewise.
1628 (objc_skip_offset): Likewise.
1629 * archive.c (__objc_write_object): Likewise
1630 (__objc_write_class):
1631 (__objc_write_selector):
1633 (objc_read_unsigned_char):
1635 (objc_read_unsigned_short):
1638 (__objc_read_nbyte_uint):
1639 (objc_read_unsigned_int):
1640 (objc_read_unsigned_long):
1641 * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1642 (objc_EXPORT): Likewise.
1643 * objc/message.h (objc-decls.h): Add include.
1644 * objc/objc-api.h: Mark API by objc_EXPORT.
1645 * libobjc.def (__objc_responds_to): Removed.
1647 2010-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
1649 * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1651 * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1652 objc/sarray.h replaced with a placeholder including the file from
1653 the deprecated/ directory.
1654 * objc-private/sarray.h: New file (private copy of sarray.h).
1655 * hash.c: Include <assert.h> instead of "assert.h"
1656 * sarray.c: Include <assert.h> instead of "assert.h". Include
1657 objc-private/sarray.h instead of objc/sarray.h.
1658 * selector.c: Include objc-private/sarray.h instead of
1660 * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h
1661 instead of objc/sarray.h.
1662 * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
1664 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
1666 * objc-private/objc-list.h (list_remove_elem): Unused function
1667 removed. (list_nth): Unused function removed. (list_find):
1668 Unused function removed. (list_lenght): Unused function removed.
1670 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
1672 * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1673 replaced with a placeholder including the file from the
1674 deprecated/ directory.
1675 * objc/objc-api.h: Updated includes.
1676 * objc/typedstream.h: Updated includes.
1677 * objc-private/hash.h: New file (private copy of hash.h).
1678 * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1679 objc/objc-list.h replaced with a placeholder including the file
1680 from the deprecated/ directory.
1681 * objc-private/objc-list.h: New file (private copy of objc-list.h).
1682 * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1683 instead of objc/hash.h and objc/objc-list.h.
1684 * selector.c: Same change.
1685 * class.c: Added include <string.h>, which used to be implicitly included
1686 when hash.h was included.
1687 * exception.c: Same change.
1688 * objects.c: Same change.
1689 * sarray.c: Same change.
1690 * sendmsg.c: Same change.
1691 * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1693 2010-09-14 Nicola Pero <nicola.pero@meta-innovation.com>
1695 Implemented objc_sync_enter() and objc_sync_exit(), which are
1696 required by @synchronized() to work.
1697 * objc-sync.c: New file.
1698 * objc/objc-sync.h: New file.
1699 * objc-private/objc-sync.h: New file.
1700 * init.c (__objc_exec_class): Call __objc_sync_init() during the
1701 Objective-C runtime startup.
1702 * Makefile.in: Added objc-sync.c and objc-sync.h.
1703 * configure.ac: Added GCC_CHECK_TLS.
1704 * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1705 * configure: Regenerated.
1706 * config.h.in: Regenerated.
1708 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1710 * Makefile.in (%_gc.lo): New pattern rules to build the
1711 garbage-collected version of the library. Removed rules for
1712 specific files that are no longer needed. Standardized all rules.
1713 (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1714 (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1716 (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1718 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1720 * memory.c (objc_calloc): Fixed call to GC_malloc when building
1721 with Garbage Colletion.
1723 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1725 * memory.c: Do not include objc-private/runtime.h.
1727 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1729 * objc/deprecated/objc_malloc.h: New file.
1730 * objc/deprecated/objc_valloc.h: New file.
1731 * objc/objc-api.h: Include the files instead of defining
1732 objc_valloc, _objc_malloc() and similar.
1733 * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1735 * memory.c: Removed the extra layer of indirection of _objc_malloc
1737 (objc_calloc): Use GC_malloc in the garbage-collected
1738 implementation as GC_malloc returns memory that is already freed.
1739 (objc_valloc): Deprecated.
1741 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1743 * objc/deprecated/objc_error.h: New file.
1744 * objc/objc-api.h: Include deprecated/objc_error.h instead of
1745 defining objc_error and related.
1746 * error.c: New file. Added _objc_abort function which replaces
1747 objc_error. No change in functionality as they both print an
1749 * misc.c: File removed. Code moved into memory.c and error.c.
1750 * memory.c: New file.
1751 * objc-private/error.h: New file.
1752 * archive.c: Include objc-private/error.h and use _objc_abort
1753 instead of objc_error everywhere.
1754 * class.c: Same change.
1755 * encoding.c: Same change.
1756 * init.c: Same change, and simplified init_check_module_version.
1757 * memory.c: Same change.
1758 * sendmsg.c: Same change.
1759 * thr.c: Same change.
1760 * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1761 (OBJ_H): Reordered list.
1762 (OBJS): Removed misc.lo, added memory.lo and error.lo.
1763 (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1764 (misc_gc.lo): Rule removed.
1765 (error_gc.lo): Rule added.
1766 (memory_gc.lo): Rule added.
1768 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1770 * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1771 to check the API version. Added some comments.
1773 * objc-private/common.h: New file.
1774 * NXConstStr.m: Include objc-private/common.h.
1775 * Object.m: Same change.
1776 * Protocol.m: Same change.
1777 * archive.c: Same change.
1778 * class.c: Same change.
1779 * encoding.c: Same change.
1780 * exception.c: Same change.
1781 * gc.c: Same change.
1782 * hash.c: Same change.
1783 * init.c: Same change.
1784 * libobjc_entry.c: Same change.
1785 * linking.m: Same change.
1786 * misc.c: Same change (and added a comment).
1787 * nil_method.c: Same change.
1788 * objects.c: Same change.
1789 * sarray.c: Same change.
1790 * selector.c: Same change.
1791 * sendmsg.c: Same change.
1792 * thr.c: Same change.
1794 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
1796 * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1798 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
1800 * archive.c: Removed not needed includes.
1801 * class.c: Same change.
1802 * hash.c: Same change.
1803 * misc.c: Same change.
1804 * nil_method.c: Same change.
1805 * objects.c: Same change.
1806 * sarray.c: Same change.
1807 * sendmsg.c: Same change.
1808 * thr.c: Same change.
1810 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
1812 * objc/runtime.h: Moved to objc-private/runtime.h. Do not include
1813 all the objc/*.h files.
1814 * objc-private/runtime.h: New file.
1815 * archive.c: Include objc-private/runtime.h (and required objc/*.h
1816 files) instead of objc/runtime.h.
1817 * class.c: Same change.
1818 * hash.c: Same change.
1819 * init.c: Same change.
1820 * misc.c: Same change.
1821 * nil_method.c: Same change.
1822 * objects.c: Same change.
1823 * sarray.c: Same change.
1824 * selector.c: Same change.
1825 * sendmsg.c: Same change.
1826 * thr.c: Same change.
1828 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
1830 * objc/deprecated/struct_objc_selector.h: New file. Definition of
1831 'struct objc_selector' and 'sel_eq' moved here.
1832 * objc/deprecated/struct_objc_protocol.h: New file. Definition of
1833 'struct objc_procotol' moved here.
1834 * objc/deprecated/struct_objc_class.h: New file. Definition of
1835 'struct objc_class' moved here.
1836 * objc/deprecated/MetaClass.h: New file. Definition of MetClass
1838 * objc/deprecated/STR.h: New file. Definition of STR moved here.
1839 * objc/message.h: New file. Definitions for relval_t, apply_t,
1840 arglist, arglist_t and objc_msg_lookup were moved here.
1841 * objc/objc.h: Include the above files instead of defining the
1842 corresponding structs, types and functions here. Added new opaque
1843 definitions for SEL and Class. Use Class and not 'struct
1844 objc_class *' in the definition of 'struct objc_object'.
1845 Commented all types defined in the file. Removed special
1846 definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1848 * objc/deprecated/objc-unexpected-exception.h: Renamed to
1849 objc_unexpected_exception.h.
1850 * objc/objc-api.h: Updated include of
1851 objc-unexpetected-exception.h
1852 * objc/objc-exception.h: Updated comments.
1853 * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1854 files. Reindented list of files.
1856 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
1858 * objc/objc-api.h (objc_trace): Unused variable removed.
1860 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
1862 * objc/deprecated: New directory.
1863 * objc/deprecated/README: New file.
1864 * objc/README: New file.
1865 * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1866 objc/typedstream.h replaced with a placeholder including the file
1867 from the deprecated/ directory.
1868 * objc/deprecated/objc-unexpected-exception.h: New file with the
1869 definition of _objc_unexpected_exception.
1870 * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1871 instead of defining _objc_unexpected_exception.
1872 * objc/deprecated/Object.h: New file with the deprecated Object
1873 methods in a 'Deprecated' category.
1874 * objc/Object.h Include deprecated/Object.h instead of defining
1875 the deprecated methods.
1876 * Object.m: Moved deprecated methods into 'Deprecated' category.
1877 * objc-private: New directory.
1878 * objc-private/README: New file.
1879 * Makefile.in (OBJC_DEPRECATED_H): New variable.
1880 (install-headers): Create installation directory for
1881 OBJC_DEPRECATED_H headers, and install them.
1883 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
1885 * objc/objc-exception.h: Fixed include of objc.h.
1887 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
1889 * objc/objc-exception.h: New file.
1890 * exception.c (objc_set_uncaught_exception_handler): Implemented.
1891 (objc_set_exception_matcher): Implemented.
1892 (objc_exception_throw): Use the uncaught exception handler if set.
1893 (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1895 (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
1896 up. Removed segmentation fault when value is 'nil'.
1897 * objc/objc-api.h (_objc_unexpected_exception): Mark as
1899 * Makefile.in (exception.lo, exception_gc.lo): Use
1900 -Wno-deprecated-declarations when compiling.
1901 (OBJC_H): Added objc-exception.h
1903 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
1905 * objc/typedstream.h: Deprecate all functions in the file. This
1907 * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1908 [-awake]): Documented that these methods are deprecated. Added a
1909 brief description of the Object class and its relationship to the
1911 * Makefile.in: Compile archive.c and Object.m with
1912 -Wno-deprecated-declarations.
1914 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
1916 Removed obsolete intermediate threading layer.
1917 * thr.c: Use __gthread_objc_xxx functions directly instead of
1918 __objc_thread_xxx ones.
1919 * objc/thr.h: Removed prototypes of no longer existing
1920 __objc_thread_xxx functions.
1921 * Makefile.in: Removed thr-objc.lo.
1922 * thr-dce.c: File removed.
1923 * thr-decosf1.c: File removed.
1924 * thr-irix.c: File removed.
1925 * thr-mach.c: File removed.
1926 * thr-objc.c: File removed.
1927 * thr-os2.c: File removed.
1928 * thr-posix.c: File removed.
1929 * thr-pthreads.c: File removed.
1930 * thr-rtems.c: File removed.
1931 * thr-single.c: File removed.
1932 * thr-solaris.c: File removed.
1933 * thr-vxworks.c: File removed.
1934 * thr-win32.c: File removed.
1935 * README.threads: File removed.
1936 * THREADS.MACH: File removed.
1939 2010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
1941 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1943 2010-09-06 Iain Sandoe <iains@gcc.gnu.org>
1945 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1946 Add a comment as to why, update FIXME comments.
1948 2010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
1950 * makefile.dos: Obsolete file removed.
1952 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1954 * aclocal.m4: Regenerate.
1956 2010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
1959 * configure.ac (extra_ldflags_libobjc): Define appropriately for
1960 Cygwin and MinGW hosts.
1961 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1962 (libobjc.dll): Likewise.
1963 * configure: Regenerate.
1965 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1967 * configure: Regenerate.
1969 2009-11-28 Jakub Jelinek <jakub@redhat.com>
1971 * sarray.c (sarray_free): Use old_buckets variable.
1972 * encoding.c (objc_layout_structure_next_member): Remove unused
1973 bfld_type_size variable.
1975 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1977 * configure.ac (AC_PREREQ): Bump to 2.64.
1979 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1981 * aclocal.m4: Regenerate.
1982 * configure: Regenerate.
1983 * config.h.in: Regenerate.
1985 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1987 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
1989 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1991 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
1993 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
1995 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1997 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
1999 2009-04-09 Nick Clifton <nickc@redhat.com>
2001 * sendmsg.c: Change copyright header to refer to version 3 of
2002 the GNU General Public License with version 3.1 of the GCC
2003 Runtime Library Exception and to point readers at the COPYING3
2004 and COPYING3.RUNTIME files and the FSF's license web page.
2005 * NXConstStr.m: Likewise.
2006 * Object.m: Likewise.
2007 * Protocol.m: Likewise.
2008 * archive.c: Likewise.
2009 * class.c: Likewise.
2010 * encoding.c: Likewise.
2011 * exception.c: Likewise.
2015 * libobjc_entry.c: Likewise.
2016 * linking.m: Likewise.
2018 * nil_method.c: Likewise.
2019 * objc/NXConstStr.h: Likewise.
2020 * objc/Object.h: Likewise.
2021 * objc/Protocol.h: Likewise.
2022 * objc/encoding.h: Likewise.
2023 * objc/hash.h: Likewise.
2024 * objc/objc-api.h: Likewise.
2025 * objc/objc-decls.h: Likewise.
2026 * objc/objc-list.h: Likewise.
2027 * objc/objc.h: Likewise.
2028 * objc/runtime.h: Likewise.
2029 * objc/sarray.h: Likewise.
2030 * objc/thr.h: Likewise.
2031 * objc/typedstream.h: Likewise.
2032 * objects.c: Likewise.
2033 * sarray.c: Likewise.
2034 * selector.c: Likewise.
2035 * thr-dce.c: Likewise.
2036 * thr-decosf1.c: Likewise.
2037 * thr-irix.c: Likewise.
2038 * thr-mach.c: Likewise.
2039 * thr-objc.c: Likewise.
2040 * thr-os2.c: Likewise.
2041 * thr-posix.c: Likewise.
2042 * thr-pthreads.c: Likewise.
2043 * thr-rtems.c: Likewise.
2044 * thr-single.c: Likewise.
2045 * thr-solaris.c: Likewise.
2046 * thr-vxworks.c: Likewise.
2047 * thr-win32.c: Likewise.
2049 * libobjc.def: Change copyright header to refer to version 3 of
2050 the GNU General Public License and to point readers at the COPYING3
2051 file and the FSF's license web page.
2052 * makefile.dos: Likewise.
2054 2009-04-09 Jakub Jelinek <jakub@redhat.com>
2056 * Makefile.in: Change copyright header to refer to version
2057 3 of the GNU General Public License and to point readers at the
2058 COPYING3 file and the FSF's license web page.
2059 * configure.ac: Likewise.
2061 2009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
2062 David Ayers <ayers@fsfe.org>
2065 * objc/objc-api.h (_objc_unexpected_exception): Declare
2066 new hook. Update copyright dates.
2067 * exception.c (objc_exception_throw): Use hook. Update
2069 * libobjc.def (_objc_unexpected_exception): Export hook.
2070 Update copyright dates.
2072 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2074 * configure: Regenerate.
2076 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2078 * configure: Regenerate.
2080 2008-11-21 Kai Tietz <kai.tietz@onevision.com>
2082 * Object.m (errno): Replaced by errno.h include.
2083 (compare): Cast self to id to prevent warning on comparison.
2084 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
2086 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
2087 * thr-win32.c (__objc_thread_detach): Remove type warning.
2088 (__objc_thread_id): Likewise.
2089 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
2092 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
2093 Steve Ellcey <sje@cup.hp.com>
2095 * configure: Regenerate for new libtool.
2096 * config.h.in: Regenerate for new libtool.
2098 2008-07-18 Matthias Klose <doko@ubuntu.com>
2100 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
2102 2008-07-18 Matthias Klose <doko@ubuntu.com>
2104 * Makefile.in: Include ../boehm-gc/threads.mk.
2105 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
2107 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2109 * Makefile.in (install-info): New stub target.
2111 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2113 * configure: Regenerate.
2115 2008-06-14 Kai Tietz <kai.tietz@onevision.com>
2117 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
2118 if HAVE_GETIPINFO is not defined.
2120 2008-06-10 Kai Tietz <kai.tietz@onevision.com>
2122 * Object.m (compare): Add type id.
2123 * objc/Object.h: Likewise.
2124 * archive.c (objc_read_class): Use size_t to extend version to be
2125 size of pointer scalar width.
2126 * sendmsg.c (rtx): Undefine it before redefinition.
2127 (__objc_print_dtable_stats): Cast arguments to long as intended.
2129 2008-05-30 Julian Brown <julian@codesourcery.com>
2131 * exception.c (__objc_exception_class): Initialise as constant
2132 array for ARM EABI. Change macro to static const for non-ARM EABI.
2133 (ObjcException): Add note about structure layout. Remove landingPad
2134 and handlerSwitchValue for ARM EABI.
2135 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
2137 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
2138 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
2139 ARM EABI unwinding support.
2140 (objc_exception_throw): Use memcpy to initialise exception class.
2142 2008-05-25 Alan Modra <amodra@bigpond.net.au>
2144 * encoding.c (strip_array_types): Rename from get_inner_array_type.
2145 (rs6000_special_round_type_align): Update.
2147 2008-05-09 Julian Brown <julian@codesourcery.com>
2149 * Makefile.in (LTLDFLAGS): New.
2150 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
2152 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
2155 * aclocal.m4: Regenerate.
2156 * configure: Regenerate.
2158 2008-01-24 David Edelsohn <edelsohn@gnu.org>
2160 * configure: Regenerate.
2162 2007-10-14 H.J. Lu <hongjiu.lu@intel.com>
2164 * configure.ac: Don't run config-ml.in directly.
2165 (multilib_arg): New.
2166 * configure: Regenerated.
2168 2007-08-06 Andrew Pinski <pinskia@gmail.com>
2171 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
2172 of _Unwind_Word for variables which are used in
2173 read_uleb128/read_sleb128.
2174 (PERSONALITY_FUNCTION): Likewise.
2176 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
2178 * aclocal.m4: Regenerated.
2180 2007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
2182 * configure.ac: Fix a typo in *-*-darwin clause.
2183 * configure: Regenerated.
2185 2007-06-02 H.J. Lu <hongjiu.lu@intel.com>
2187 * configure.ac: Fix a typo.
2188 * configure: Regenerated.
2190 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
2192 * configure: Regenerate.
2194 2007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
2196 * Makefile.in: Replace all uses of libext with libsuffix.
2197 * configure.ac: Likewise.
2198 * configure: Regenerate.
2201 * Makefile.in: Remove all uses of $(libext).
2203 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
2205 * Makefile.in: Remove all uses of $(libext).
2207 2007-05-23 Steve Ellcey <sje@cup.hp.com>
2209 * configure: Regenerate.
2210 * aclocal.m4: Regenerate.
2212 2007-04-21 Andrew Ruder <andy@aeruder.net>
2214 * sendmsg.c (__objc_get_forward_imp): Call
2215 __objc_msg_forward2 for real.
2217 2007-04-09 Andrew Ruder <andy@aeruder.net>
2219 * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2220 external libraries to provide a function that returns the real
2221 forwarding function based on both the selector and the receiver.
2222 * objc/objc-api.h: Define __objc_msg_forward2.
2224 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
2226 * Makefile.in: Add dummy install-pdf target.
2228 2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
2230 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2233 2006-10-31 Geoffrey Keating <geoffk@apple.com>
2235 * encoding.c (darwin_rs6000_special_round_type_align): New.
2237 2006-10-14 Geoffrey Keating <geoffk@apple.com>
2239 * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2240 * configure.ac: Use multi.m4 from aclocal rather than custom
2241 code. Use multi_basedir instead of toplevel_srcdir.
2242 * aclocal.m4: Regenerate.
2243 * configure: Regenerate.
2245 2006-10-10 Brooks Moses <bmoses@stanford.edu>
2247 * Makefile.in: Added empty "pdf" target.
2249 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
2251 * configure: Regenerate.
2253 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
2255 * Makefile.in: Add install-html target. Add install-html to .PHONY
2257 2006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2260 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2262 2006-01-24 David Ayers <d.ayers@inode.at>
2265 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2266 and insure the new strings are '\0' termintated.
2268 2006-01-24 David Ayers <d.ayers@inode.at>
2271 * configure.ac: Add include directives for --enable-objc-gc.
2272 * Makefile.in: Ditto.
2273 * configure: Regenerate.
2275 * gc.c (__objc_class_structure_encoding): Increment the used bytes
2276 instead of the local pointer to them.
2278 2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
2281 * objc/objc-api.c (_C_COMPLEX): New define.
2282 * encoding.c (objc_sizeof_type): Handle _C_Complex.
2283 (objc_alignof_type): Likewise.
2284 (objc_skip_typespec): Likewise.
2286 2005-12-15 David Ayers <d.ayers@inode.at>
2289 * README (+load,+initialize): Fix documentation to reflect
2290 intended and implemented semantics for +load and +initialize.
2292 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
2294 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2296 (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2297 (rs6000_special_round_type_align): Update for the ABI fix.
2298 (objc_layout_finish_structure): Correct the encoding which is passed to
2301 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
2304 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2305 but use the struct layout functions.
2306 (objc_alignof_type): Likewise.
2307 (objc_layout_structure): Handle _C_UNION_B also.
2308 (objc_layout_structure_next_member): Likewise.
2309 (objc_layout_finish_structure): Likewise.
2311 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
2314 * objc/objc-api.h (_C_BOOL): New define.
2315 * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2316 (objc_alignof_type): Likewise.
2317 (objc_skip_typespec): Likewise.
2319 2005-11-20 David Ayers <d.ayers@inode.at>
2322 * objc/hash.h: Remove deprecated hash API.
2323 * hash_compat.c: Remove.
2324 * Makefile.in: Remove reference to hash_compat.c.
2326 * configure.ac (VERSION): Bump library version to 2:0:0.
2327 * configure: Regenerate.
2329 2005-11-09 Alexandre Oliva <aoliva@redhat.com>
2332 * thr-objc.c (_XOPEN_SOURCE): Define.
2334 2005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
2337 * objc/objc-api.h (struct objc_ivar): Move definition to
2340 2005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
2341 Rasmus Hahn <rassahah@neofonie.de>
2344 * archive.c (objc_write_type): Correct the element offset.
2345 (objc_read_type): Likewise.
2347 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
2349 * All files: Update FSF address.
2351 2005-08-13 Marcin Koziej <creep@desk.pl>
2352 Andrew Pinski <pinskia@physics.uc.edu>
2355 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2357 2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
2359 * Makefile.in (extra_ldflags_libobjc): New.
2360 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2361 (libobjc_gc$(libext).la): Likewise.
2362 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2363 "-Wl,-single_module".
2364 * configure: Regenerate.
2365 * linking.m (_objcInit): Remove.
2367 2005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
2370 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2372 2005-06-08 David Ayers <d.ayers@inode.at>
2374 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2375 objc/encoding.h, objc/hash.h, objc/objc-api.h,
2376 objc/runtime.h, objc/sarray.h, objc/thr.h,
2377 objc/typedstream.h: Do not include Objective-C headers as
2380 2005-06-07 David Ayers <d.ayers@inode.at>
2382 * archive.c, init.c, selector.c: Include hash.h.
2383 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2384 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2385 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2386 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2387 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2388 Include Objective-C headers with quotes and objc/ directory
2391 2005-05-19 Richard Henderson <rth@redhat.com>
2393 * exception.c: Revert last change.
2395 2005-05-19 David Ayers <d.ayers@inode.at>
2397 * exception.c: Include tsystem.h for unwind.h.
2399 2005-05-09 Mike Stump <mrs@apple.com>
2401 * configure: Regenerate.
2403 2005-04-12 Mike Stump <mrs@apple.com>
2405 * configure: Regenerate.
2407 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2409 * Makefile.in: Set gcc_version here.
2410 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
2411 in definition of toolexeclibdir so that $(gcc_version) is expanded
2413 * aclocal.m4, configure: Regenerate.
2415 2005-03-03 David Ayers <d.ayers@inode.at>
2417 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2418 version reference. Correct typo.
2420 2005-03-02 David Ayers <d.ayers@inode.at>
2423 * Makefile.in (OBJS): Add hash_compat.lo.
2424 (OBJS_GC): Add hash_compat_gc.lo.
2425 (hash_compat_gc.lo): New target and rule.
2426 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2427 (hash_next, hash_value_for_key, hash_is_key_in_hash)
2428 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2429 with objc_. Add deprecated non prefixed inlined versions.
2430 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2432 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2433 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2435 * hash_compat.c: New file.
2436 * archive.c: Update callers.
2438 * selector.c: Likewise.
2439 * libobjc.def: Add objc_ versions of hash functions.
2441 2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
2444 * Makefile.in (GTHREAD_FLAGS): Remove.
2445 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2446 * thr-objc.c: Include config.h.
2447 * configure.ac: Instead of looking at GCC's makefile, figure out if
2448 GTHREAD_FLAGS should be defined by looking at the `thread model'
2450 * configure: Regenerate.
2451 * config.h.in: Regenerate.
2453 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
2456 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2457 (Determine CFLAGS for gthread): Use $host_subdir.
2458 * configure: Regenerate.
2459 * Makefile.in (host_subdir): New.
2462 2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
2465 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2467 Include limits.h and stdlib.h.
2468 Define BITS_PER_WORD.
2470 2004-12-12 Alexander Malmberg <alexander@malmberg.org>
2472 * selector.c (__objc_init_selector_tables): Add missing void to
2475 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
2477 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2478 * configure, aclocal.m4: Regenerate.
2480 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
2482 * configure: Regenerate for libtool change.
2484 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
2486 * configure: Regenerate for libtool reversion.
2488 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
2490 * configure: Regenerate for libtool change.
2492 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
2494 * aclocal.m4, config.h.in: Regenerate.
2496 2004-10-08 Mike Stump <mrs@apple.com>
2497 Andrew Pinski <pinskia@physics.uc.edu>
2499 * aclocal.m4: Rename to ...
2500 * acinclude.m4: here and also use m4_include instead of sinclude.
2501 * aclocal.m4: Regenerate.
2502 * configure: Regenerate.
2503 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2504 * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2506 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
2508 * archive.c: Fix all the warnings about passing unsigned char*
2509 to char* and the other way too.
2511 2004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
2514 * exception.c: Include config.h
2515 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2517 * configure.ac: Find out what exception handling code we use.
2518 * configure: Regenerate.
2519 * config.h.in: New file, regenerate.
2521 2004-09-16 Andrew Pinski <apinski@apple.com>
2523 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2525 2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
2527 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2528 ACX_NONCANONICAL_TARGET.
2529 * configure: Regenerate.
2531 2004-08-13 Ziemowit Laski <zlaski@apple.com>
2533 * objc/sarray.h: Hoist include of assert.h near the top of file,
2534 and mark the remainder of the file 'extern "C"'.
2536 2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
2538 * objc/Object.h: Move includes out of extern "C" blocks.
2539 * objc/encoding.h: Likewise.
2540 * objc/hash.h: Likewise.
2541 * objc/objc-api.h: Likewise.
2542 * objc/runtime.h: Likewise.
2543 * objc/sarray.h: Likewise.
2544 * objc/typedstream.h: Likewise.
2546 2004-08-12 Ziemowit Laski <zlaski@apple.com>
2548 * objc/NXConstStr.h: Update copyright date; bracket with
2549 'extern "C"' for C++ use; make include syntax consistent
2550 by using <...> instead of "..."; hoist <objc/...> includes
2551 above the 'extern "C"' block.
2552 * objc/Object.h: Likewise.
2553 * objc/Protocol.h: Likewise.
2554 * objc/encoding.h: Likewise.
2555 * objc/hash.h: Likewise.
2556 * objc/runtime.h: Likewise.
2557 * objc/sarray.h: Likewise.
2558 * objc/thr.h: Likewise.
2559 * objc/typedstream.h: Likewise.
2560 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2561 (objc_static_instances): For C++ case, do away with
2563 (objc_method): Hoist definition to file scope.
2564 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2565 class_get_instance_method, class_create_instance,
2566 class_get_class_name, class_get_instance_size,
2567 class_get_meta_class, class_get_super_class, class_get_version,
2568 class_is_class, class_is_meta_class, class_set_version,
2569 class_get_gc_object_type, class_ivar_set_gcinvisible,
2570 get_imp): Rename 'class' parameter to '_class'.
2571 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2572 * objc/objc.h: Update copyright date.
2573 (arglist_t): Provide a union tag.
2575 2004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
2577 * thr.c (__objc_thread_detach_function): Do not mark as volatile
2578 but instead use the attribute noreturn.
2580 2004-06-28 Zack Weinberg <zack@codesourcery.com>
2582 * encoding.c: Rename target_flags with a #define to avoid
2583 conflict with a prior declaration.
2585 2004-06-24 Andrew Pinski <apinski@apple.com>
2587 * objc/encoding.h: Wrap the functions with extern "C" for C++
2589 * objc/hash.h: Likewise.
2590 * objc/objc-api.h: Likewise.
2591 * objc/objc-list.h: Likewise.
2592 * objc/runtime.h: Likewise.
2593 * objc/sarray.h: Likewise.
2594 * objc/thr.h: Likewise.
2595 * objc/typedstream.h: Likewise.
2598 2004-06-21 Nick Clifton <nickc@redhat.com>
2600 * encoding.c (BITS_PER_UNIT): Define if a definition is not
2603 2004-06-20 Alexander Malmberg <alexander@malmberg.org>
2605 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2606 (exception_gc.lo): New.
2607 (OBJS_GC): Add exception_gc.lo.
2609 2004-06-17 Richard Henderson <rth@redhat.com>
2611 * exception.c: New file.
2612 * Makefile.in (exception.lo): New.
2615 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
2617 * linking.m (_objcInit): New empty function
2620 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
2622 * configure.ac: Support --enable-shared=libobjc.
2623 * configure: Regenerate.
2626 * configure.ac: Do not disable shared by default.
2627 * configure: Regenerate.
2629 2004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
2631 * Protocol.m ([-isEqual:]): Small optimizations returning
2632 immediately if the argument is equal to self, and accessing
2633 the argument's name directly if it's a protocol.
2635 2004-06-03 David Ayers <d.ayers@inode.at>
2637 * Protocol.m ([-isEqual:]): Test the class of the argument.
2639 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
2641 * configure.ac (includedir): Rename to ...
2643 * Makefile.in: s/includedir/includedirname/.
2646 * configure.ac (includedir): Set to "include"
2648 (libext) Set to empty except for Darwin.
2649 * configure: Regenerate
2650 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2651 s/include/$(includedir)/g.
2653 2004-05-25 Daniel Jacobowitz <drow@false.org>
2655 * Makefile.in: Add .NOEXPORT.
2657 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
2659 Merge from the libobjc-branch
2660 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
2662 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2664 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
2666 * Makefile.in (OBJC_H): Add objc-deps.h.
2668 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
2670 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2671 ([-hash], [-isEqual:]): New methods.
2673 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
2675 * sarray.c (sarray_free): Add a better comment.
2677 2004-01-27 Adam Fedor <fedor@gnu.org>
2679 * hash.c (hash_add): Cast cachep to int.
2680 * selector.c (__sel_register_typed_name): Cast
2681 soffset_decode to int.
2683 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
2685 * selector.c: Rename register_selectors_from_list to
2686 __objc_register_selectors_from_list. Update caller.
2687 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2688 while registering selectors. Use __sel_register_typed_name instead
2689 of sel_register_typed_name. Check for NULL method_name:s.
2690 (pool_alloc_selector): New function.
2691 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2692 selector structures.
2693 * sendmsg.c (class_add_method_list): Use
2694 __objc_register_selectors_from_list.
2695 * objc/runtime.h: Add __objc_register_selectors_from_list.
2697 2004-01-25 Adam Fedor <fedor@gnu.org>
2698 Nicola Pero <n.pero@mi.flashnet.it>
2699 Andrew Pinski <pinskia@physics.uc.edu>
2701 * objc/objc-decls.h: New file.
2702 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2703 (_objc_load_callback): Likewise.
2704 (_objc_object_alloc): Likewise.
2705 (_objc_object_copy): Likewise.
2706 (_objc_object_dispose): Likewise.
2708 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
2710 * archive.c: s/__inline__/inline
2711 * sendmsg.c: Likewise.
2713 * encoding.c: Remove FIXME about the warning
2714 about unused variable.
2715 * sendmsg.c: Add a FIXME comment saying that
2716 this should be using libffi.
2718 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2721 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
2723 * archive.c (objc_read_class): Initialize class_name.
2724 (objc_read_selector): Initialize selector_name.
2726 2004-05-09 Richard Sandiford <rsandifo@redhat.com>
2728 * Makefile.in (toolexecdir): Remove trailing space.
2730 2004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
2733 * configure.ac: De-precious CC so multilibs work.
2734 * configure: Regenerate.
2736 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
2738 * configure.ac: Restore toolexecdir.
2739 * Makefile.in: Restore toolexecdir.
2740 * configure: Regenerate.
2742 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
2744 * configure.ac: Remove (unused) glibcpp_prefixdir.
2745 * configure: Regenerate.
2747 * configure.in: Rename to configure.ac.
2748 * Makefile.in: Update to match.
2750 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2751 Replace glibcpp_toolexeclibdir with toolexeclibdir.
2752 * configure.in: Remove glibcpp_toolexecdir (unused).
2753 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
2754 config.h or stamp-h (unused). Move one comment to the right place.
2755 * configure: Regenerate.
2756 * config.h.in: Remove (unused).
2758 * config.h.in: Regenerate with autoheader.
2760 * Makefile.in: Remove (unused) gcc_version_trigger.
2761 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
2762 gcc_version_trigger.
2763 * configure: Regenerate.
2765 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2766 Sort file into sections. Remove dnl where appropriate. Fix
2768 * configure: Regenerate.
2770 * configure.in: Replace old AC_PROG_CC hack with new one.
2771 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2772 are no subdirectory output files, so this is fine). Change prereq
2774 * aclocal.m4: Include ../config/no-executables.m4.
2775 * configure: Regenerate with autoconf 2.59.
2777 * configure.in: Improve comments on gthread_cflags. Improve m4
2778 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2779 * configure: Regenerate.
2781 * configure.in: Move PACKAGE and VERSION settings up top. Remove
2782 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
2783 redundant checks for values of RANLIB, AR, INSTALL.
2784 * configure: Regenerate.
2786 * configure.in: Clean up handling of
2787 --enable-version-specific-runtime-libs and related variables;
2788 replace 'if test' with 'case' where reasonable. Fix comments.
2789 Remove useless libstdcxx_interface.
2790 * configure: Regenerate.
2792 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2793 Replace uses of target_alias with target_noncanonical.
2794 * aclocal.m4: Include ../config/acx.m4.
2795 * configure: Regenerate.
2796 * Makefile.in: Replace uses of target_alias with target_noncanonical.
2797 Fix copyright statement.
2799 * configure.in: Hand-inline bulky, confusing macros from
2800 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
2801 Update copyright notice. Remove stuff for automake, which isn't
2802 used in this directory. Remove emacs local variables.
2803 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
2804 * configure: Regenerate.
2806 2004-03-16 Manfred Hollstein <mh@suse.com>
2808 * Makefile.in, configure.in, configure: Update copyright years.
2810 2004-03-15 Manfred Hollstein <mh@suse.com>
2812 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2813 definition from configure.in.
2814 * configure.in (PACKAGE): Add definition.
2815 (VERSION): Add definition; substitute it in output files.
2816 * configure: Re-generate.
2818 2004-03-05 Ziemowit Laski <zlaski@apple.com>
2820 * objc/hash.h (hash_string, compare_strings):
2821 Add type-casts to make Objective-C++ happy.
2822 * objc/typedstream.h (objc_get_stream_class_version):
2823 Rename parameter from 'class' to 'class_name' to make
2824 Objective-C++ happy.
2826 2004-03-01 Michael Matz <matz@suse.de>
2828 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2830 2004-02-06 Ziemowit Laski <zlaski@apple.com>
2832 * objc/objc-api.h (objc_super): The 'class' field shall
2833 be named 'super_class' #ifdef __cplusplus.
2835 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
2838 * encoding.c (rs6000_special_round_type_align): Define.
2840 2004-01-14 Adam Fedor <fedor@gnu.org>
2843 * selector.c (__objc_register_instance_methods_to_class): Free
2844 new_list if not used.
2846 2004-01-09 Andrew Ruder <aeruder@ksu.edu>
2849 * sarray.c (sarray_free): Free array->is_copy_of latter.
2851 2003-12-01 Zack Weinberg <zack@codesourcery.com>
2854 * Protocol.m (descriptionForInstanceMethod): Don't dereference
2855 instance_methods if it's NULL.
2856 (descriptionForClassMethod): Likewise for class_methods.
2858 2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2860 * Makefile.in (runtime-info.h): Remove -Wp.
2862 2003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2864 * Makefile.in (CC1OBJ): Remove.
2865 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2867 Use .m extension for temporary file.
2868 Remove assembler temp file.
2870 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
2872 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2874 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2876 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2878 2003-09-09 Alan Modra <amodra@bigpond.net.au>
2880 * configure: Regenerate.
2882 2003-08-27 Alexander Malmberg <alexander@malmberg.org>
2884 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2885 (libdir)/gcc-lib/ when installing.
2886 * configure: Regenerate.
2888 Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
2891 * sendmsg.c (get_imp): Fixed rare threading problem.
2892 (__objc_responds_to): Similar fixes.
2893 (objc_msg_lookup): Similar fixes.
2894 (__objc_init_install_dtable): Lock the runtime before checking if the
2897 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
2899 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2900 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2901 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2902 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2903 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2904 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2905 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2906 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2907 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2908 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2909 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2911 Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
2912 Nicola Pero <n.pero@mi.flashnet.it>
2915 * init.c (class_superclass_of_class): New function.
2916 (create_tree_of_subclasses_inherited_from): Use it.
2917 (__objc_tree_insert_class): Likewise.
2918 (class_is_subclass_of_class): Likewise.
2920 2003-04-11 David Chad <davidc@freebsd.org>
2921 Loren J. Rittle <ljrittle@acm.org>
2924 * objc/hash.h (hash_string): Constify correctly.
2925 (compare_ptrs): Use direct compare.
2926 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2927 * objc/sarray.h: Global rename index to indx to avoid shadow.
2929 2003-03-12 Andreas Schwab <schwab@suse.de>
2931 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2932 glibcpp_toolexeclibdir.
2933 * configure: Rebuilt.
2935 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
2937 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2939 * configure: Rebuilt.
2941 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
2943 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2944 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2945 version_specific_libs is enabled.
2946 * configure: Rebuilt.
2948 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2950 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2951 (install-libs, install-headers): Prepend $(DESTDIR) to
2952 destination paths in all (un)installation commands.
2954 2002-12-02 Zack Weinberg <zack@codesourcery.com>
2956 * thr-objc.c: Include coretypes.h and tm.h.
2958 2002-12-01 Zack Weinberg <zack@codesourcery.com>
2960 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2962 2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
2964 * configure.in: Remove skip-this-dir support.
2965 * configure: Regenerate.
2967 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2969 * Makefile.in (all): Fix multilib parallel build.
2971 Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
2973 * sendmsg.c (nil_method): Declare not to take a variable number of
2975 (objc_msg_lookup): Cast nil_method to IMP before returning it.
2976 (objc_msg_lookup_super): The same.
2978 2002-09-10 Jan Hubicka <jh@suse.cz>
2980 * nil_method.c (nil_method): No longer defined with variable
2983 2002-07-02 Rodney Brown <rbrown64@csc.com.au>
2985 * objc/encoding.h: Fix formatting.
2986 * objc/hash.h: Likewise.
2987 * objc/objc-api.h: Likewise.
2988 * objc/runtime.h: Likewise.
2989 * objc/thr.h: Likewise.
2990 * archive.c: Likewise.
2991 * class.c: Likewise.
2992 * encoding.c: Likewise.
2997 * nil_method.c: Likewise.
2998 * objects.c: Likewise.
2999 * sarray.c: Likewise.
3000 * selector.c: Likewise.
3001 * sendmsg.c: Likewise.
3002 * thr-mach.c: Likewise.
3005 2002-06-25 DJ Delorie <dj@redhat.com>
3007 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
3008 GLIBCPP_TOPREL_CONFIGURE.
3009 * configure.in: Call it before AC_CANONICAL_SYSTEM.
3010 * configure: Regenerate.
3012 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3014 * Object.m (forward, read, write): Fix unused parameter warnings.
3015 * encoding.c: Include <stdlib.h>.
3016 (target_flags): Mark with attribute unused.
3018 * runtime.h (__objc_selector_max_index): Change to unsigned int.
3019 (__objc_generate_gc_type_description): Prototype.
3020 * selector.c (__objc_selector_max_index): Change to unsigned int.
3022 Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
3024 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
3025 we always have a return value: if __objc_msg_forward does not
3026 supply a forwarding implementation, return the default
3027 __builtin_apply based one.
3029 2002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3031 * Object.m: Fix signed/unsigned warning.
3032 * Protocol.m: Likewise.
3033 * archive.c: Always include stdlib.h.
3034 (objc_read_short, objc_read_unsigned_short, objc_read_int,
3035 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
3036 Fix signed/unsigned warning.
3037 (objc_write_type, objc_read_type, objc_write_types,
3038 objc_read_types): Ensure ctype 8-bit safety.
3039 (__objc_no_write, __objc_no_read): Mark unused parameters.
3040 * class.c (class_table_setup): Specify void arg.
3041 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
3042 objc_skip_typespec, objc_skip_offset,
3043 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
3044 (objc_layout_structure_next_member): Ensure variables are
3046 * gc.c (__objc_generate_gc_type_description,
3047 class_ivar_set_gcinvisible): Mark unused parameters.
3048 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
3050 (__objc_init_protocols) Fix signed/unsigned warning.
3051 * nil_method.c (nil_method): Mark unused parameters.
3052 * thr.h (objc_thread_callback): Specify void arg.
3053 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
3054 signed/unsigned warning.
3055 (sarray_free): Fix formatting.
3056 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
3057 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
3059 2002-06-09 Andreas Jaeger <aj@suse.de>
3061 * encoding.c (objc_layout_structure_next_member): Remove unused
3064 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3066 * Makefile.in (SHELL): Set to @SHELL@.
3068 (ALL_CFLAGS): Add $(WARN_CFLAGS).
3070 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3072 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
3073 * configure: Regenerate.
3075 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
3077 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
3078 script entry, and set LD to it when configuring multilibs.
3079 * configure: Rebuilt.
3081 2002-04-19 David O'Brien <obrien@FreeBSD.org>
3083 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
3085 2002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
3088 * objc/objc-api.h (struct objc_protocol_list): Change type of
3089 member count from int to size_t.
3091 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3094 * aclocal.m4: Replace with version copied from libstdc++-v3.
3095 * configure.in: Update for changes to aclocal and Makefile.
3096 * configure: Regenerate.
3097 * Makefile.in: Correct install of multilibs and shared libs, use
3098 INSTALL_DATA for include files.
3100 Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
3102 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
3103 categories - when an unclaimed category was found, the loop was
3104 doing two steps forward instead of one, so that in certain cases
3105 it was failing to properly load all the categories. (Reported
3106 with fix by Alexander Malmberg <alexander@malmberg.org>).
3108 2001-11-14 Aldy Hernandez <aldyh@redhat.com>
3110 * encoding.c: Add target_flags.
3112 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
3114 * objc/objc-api.h (_C_VECTOR): New.
3116 * encoding.c (VECTOR_TYPE): New.
3118 Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
3120 * class.c: Rewritten the class table to use optimized, lock-free
3121 lookup. This more than doubles the speed of class method
3122 invocations. (class_table_setup), (class_table_insert),
3123 (class_table_replace), (class_table_get_safe),
3124 (class_table_next), (class_table_print),
3125 (class_table_print_histogram): New functions.
3126 (__objc_init_class_tables): Use class_table_setup.
3127 (__objc_add_class_to_hash): Use class_table_get_safe and
3128 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
3129 assert the existence of the table; do not lock the runtime; use
3130 class_table_get_safe. (objc_next_class): Use class_table_next.
3131 (__objc_resolve_class_links): Use class_table_next.
3132 (class_pose_as): Use class_table_replace.
3134 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
3136 * gc.c: Removed the DEBUG declaration.
3138 Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
3140 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
3141 rather than through objc_thread_id, to save a function call.
3142 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
3145 Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
3147 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
3148 to cast an id to a Class, which can not be done. Make the check
3149 by using CLS_ISMETA on the class pointer instead.
3150 (object_is_meta_class): Similar fix.
3152 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
3154 * configure.in (AC_EXEEXT): Work around in case it expands to
3155 nothing, as in autoconf 2.50.
3156 * acinclude.m4: Likewise.
3157 * configure: Rebuilt.
3159 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
3161 * THREADS: Explain that when we compile libobjc inside GCC, we
3162 always use thr-objc.c as a backend, which uses GCC's thread code.
3164 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
3166 * init.c (__objc_send_message_in_list): When setting a new entry
3167 in __objc_load_methods use the method IMP as key, but check to see
3168 if the method is in the hashtable by looking at the IMP also.
3169 Also ... call the method after adding it to the hashtable rather
3170 than before ... thus preventing an obscure possibility of infinite
3171 recursion if a +load method itself loads a subclass.
3173 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
3175 * init.c (__objc_send_message_in_list): When setting a new entry
3176 in __objc_load_methods use the method name as key, not the method
3177 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
3179 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
3181 * objc-features.texi: Move to ../gcc/objc.texi.
3183 * Makefile.in: Don't generate documentation from
3186 2001-05-01 Mark Mitchell <mark@codesourcery.com>
3188 * fdl.texi: New file.
3189 * objc-features.texi: Simplify.
3190 * Makefile.in: Adjust accordingly.
3192 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3194 * objc-features.texi: Use the GFDL.
3196 Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
3198 * encoding.c (REAL_TYPE): Define.
3200 2001-03-19 David Edelsohn <edelsohn@gnu.org>
3202 * encoding.c (TYPE_MODE): Define.
3204 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
3206 * thr.c (objc_thread_add): New function.
3207 (objc_thread_remove): Ditto.
3208 * objc/thr.h: Declare them.
3209 * libobjc.def: Mention them.
3211 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
3213 * objc-features.texi: Document the @compatibility_alias compiler
3214 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3216 Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3218 * sendmsg.c (__objc_forward): Delete strlen() declaration.
3220 2001-02-08 Geoffrey Keating <geoffk@redhat.com>
3222 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3223 we're not interested in the result and they might fail.
3224 * configure: Regenerated.
3226 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
3228 * objc-features.texi: Use @email.
3230 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
3232 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3235 2000-01-11 Richard Earnshaw <rearnsha@arm.com>
3237 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3238 determines the value dynamically.
3240 Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
3242 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3243 libraries to provide a function that returns the real forwarding
3244 function. This can alleviate problems __builtin_apply() and
3245 friends have on various platforms. (Solution suggested by Helge
3248 * objc/objc-api.h: Define __objc_msg_forward.
3250 * sendmsg.c: Define gen_rtx_REG.
3252 2000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3254 * thr-rtems.c: New file. Stub to compile.
3256 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3258 * configure: Rebuilt with new libtool.m4.
3260 Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
3262 * configure.in: Create a config.h file. Check for <sched.h>.
3263 * configure: Regenerate.
3265 * config.h.in: Check for <sched.h>.
3267 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
3269 * configure: Regenerate after change to ../libtool.m4.
3271 2000-08-14 Andreas Schwab <schwab@suse.de>
3273 * objc-features.texi (Top): Move @menu at end of node.
3275 2000-08-11 Manfred Hollstein <manfredh@redhat.com>
3277 * objc-features.texi: Move @node Top before @menu.
3279 Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
3281 * objc-features.texi: Documented the new -fconstant-string-class
3284 Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
3286 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3287 improve the Posix thread support for Objective-C.
3289 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
3291 * aclocal.m4: Replace copy of ../libtool.m4 with
3292 sinclude(../libtool.m4).
3294 Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
3296 * configure.in: Added libtool support; build shared libraries
3297 if --enable-shared was passed on command line.
3298 * Makefile.in: Modified most compilation commands to use libtool.
3299 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3300 libtool distribution.
3302 Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
3304 * sarray.c, Object.m: Removed the explicit prototypes for strlen
3305 and memcpy on 64-bit platforms (Suggested by Rodney Brown
3308 2000-05-12 H.J. Lu (hjl@gnu.org)
3310 * Makefile.in (GTHREAD_FLAGS): New.
3311 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3312 (OBJC_THREAD_FILE): Changed to thr-objc.
3314 * configure.in (GTHREAD_FLAGS): New, check and replace it for
3316 (OBJC_THREAD_FILE): Removed.
3320 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3322 * objc/hash.h: Include string.h.
3324 2000-04-15 David Edelsohn <edelsohn@gnu.org>
3326 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3328 2000-04-12 Jakub Jelinek <jakub@redhat.com>
3330 * Object.m (strlen): Provide prototype on all 64bit platforms,
3332 * sarray.c (memcpy): Likewise.
3333 * encoding.c (objc_layout_finish_structure): Don't use
3334 ROUND_TYPE_ALIGN on sparc.
3336 * encoding.c (objc_layout_structure_next_member): Do the whole
3337 procedure even for the first member, so that we get correct
3340 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
3342 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3345 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
3347 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3349 Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
3351 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3353 Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
3355 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3356 the compiler when building C code.
3358 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
3360 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3361 libdir, libsubdir and tooldir.
3363 Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
3365 * init.c (__objc_force_linking): Make global.
3367 Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
3369 * configure.in (AC_EXEEXT): Remove call.
3370 (compiler_name): Explicitly check with no extension and .exe
3372 * configure: Regenerate.
3374 Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
3376 * Makefile.in (CC1OBJ): Define in terms of CC.
3377 (runtime-info.h): Use.
3379 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3381 * objc-features.texi: Updated the URL to Boehm's GC page.
3383 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3385 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3386 the char as being signed (patch from Daniel Jacobowitz
3389 Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
3391 * configure.in (AC_PREREQ): Update to 2.13.
3392 (AC_EXEEXT): Call to find possible file extension.
3393 (compiler_name): Use.
3394 * configure: Regenerate.
3396 Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
3398 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3400 Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
3402 * configure.in (thread_file): Correct and simplify code to find
3404 * configure: Rebuilt.
3406 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
3408 * configure.in (compiler_name): Add check to detect if this
3409 language's compiler has been built.
3410 * configure: Regenerate.
3412 Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3414 * configure.in: Use AC_PREREQ(2.12.1).
3416 Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
3418 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3420 Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3422 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3424 Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3426 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3428 Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
3430 * objc-features.texi (Top): Changed the email address.
3431 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3433 Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
3435 * encoding.c: Redefine get_inner_array_type to get the first entry
3438 Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
3440 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3441 (objc_get_type_qualifiers): Similarly.
3442 * objc/encoding.h (_C_BYREF): Define.
3445 1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
3447 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3448 works out on 64-bit systems.
3450 Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
3452 * Makefile.in (INCLUDES): Make it multilib-friendly.
3454 Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
3456 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3458 Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
3459 Jeffrey A Law (law@cygnus.com)
3461 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3462 (FLAGS_TO_PASS): Added.
3463 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3465 * archive.c: Change config.h to tconfig.h.
3467 * configure.in: Find gcc's object directory even for multilibs.
3469 Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
3471 * configure.in: Escape ^ in grep string.
3472 * configure: Rebuilt.
3474 Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
3476 * All .h files pushed down into the objc/ subdirectory.
3477 * Makefile.in (copy_headers): Corresponding changes.
3478 * configure.in (AC_INIT): Corresponding changes.
3479 * configure: Rebuilt.
3481 1998-09-30 Ben Elliston <bje@cygnus.com>
3482 Jeff Law <law@cygnus.com>
3484 * Makefile.in: Rewrite.
3486 * configure.in: Likewise.
3488 * configure: Regenerate.
3490 * All .c files. Remove "objc" prefix when including objc header
3491 files. Include tconfig.h, not ../tconfig.h.
3493 Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
3495 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3496 (get_inner_array_type): Define.
3498 1998-09-21 Ben Elliston <bje@cygnus.com>
3500 * New directory. Moved files from ../gcc/objc.
3502 Copyright (C) 1998-2018 Free Software Foundation, Inc.
3504 Copying and distribution of this file, with or without modification,
3505 are permitted in any medium without royalty provided the copyright
3506 notice and this notice are preserved.