1 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
5 * objc/runtime.h: Change "can not" to "cannot".
7 2019-01-09 Sandra Loosemore <sandra@codesourcery.com>
11 * class.c: Mechanically replace "can not" with "cannot".
12 * objc/runtime.h: Likewise.
13 * sendmsg.c: Likewise.
15 2019-01-01 Jakub Jelinek <jakub@redhat.com>
17 Update copyright years.
19 2018-10-31 Joseph Myers <joseph@codesourcery.com>
22 * configure.ac: Remove AC_PREREQ.
23 * aclocal.m4, config.h.in, configure: Regenerate.
25 2018-04-24 H.J. Lu <hongjiu.lu@intel.com>
27 * configure: Regenerated.
29 2018-04-19 Jakub Jelinek <jakub@redhat.com>
31 * configure: Regenerated.
33 2018-04-18 David Malcolm <dmalcolm@redhat.com>
36 * configure: Regenerate.
38 2018-02-14 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
41 * configure: Regenerate.
43 2018-01-03 Jakub Jelinek <jakub@redhat.com>
45 Update copyright years.
47 2017-11-23 Tom de Vries <tom@codesourcery.com>
49 * class.c (CLASS_TABLE_HASH): Wrap in "do {} while (0)".
51 2017-11-17 Igor Tsimbalist <igor.v.tsimbalist@intel.com>
53 * Makefile.in: Regenerate.
54 * aclocal.m4: Likeiwse.
55 * configure: Likewise.
56 * configure.ac: Set CET_FLAGS. Update XCFLAGS.
58 2017-08-30 Richard Sandiford <richard.sandiford@linaro.org>
59 Alan Hayward <alan.hayward@arm.com>
60 David Sherwood <david.sherwood@arm.com>
62 * encoding.c (_darwin_rs6000_special_round_type_align): Prefix mode
63 names with E_ in case statements.
65 2017-02-07 Richard Biener <rguenther@suse.de>
67 PR tree-optimization/79256
69 * encoding.c (objc_layout_structure_next_member): Adjust
70 ADJUST_FIELD_ALIGN usage.
72 2017-01-18 Matthias Klose <doko@ubuntu.com>
75 * configure.ac: Allow default for --with-target-bdw-gc-include.
76 * configure: Regenerate.
79 * configure.ac: Use the libgc.la file when available.
80 * configure: Regenerate.
82 2017-01-17 Jakub Jelinek <jakub@redhat.com>
85 * configure: Regenerated.
86 * configure.ac: Add GCC_BASE_VER.
87 * Makefile.in (gcc_version): Use @get_gcc_base_ver@ instead of cat to
88 get version from BASE-VER file.
89 * configure: Regenerated.
91 2017-01-01 Jakub Jelinek <jakub@redhat.com>
93 Update copyright years.
95 2016-12-01 Matthias Klose <doko@ubuntu.com>
97 * configure.ac: Don't use pkg-config to check for bdw-gc.
98 * configure: Regenerate.
100 2016-11-30 Matthias Klose <doko@ubuntu.com>
102 * configure.ac: Set BDW_GC_CFLAGS and BDW_GC_LIBS after checking
103 for the existence of the pkg-config modules.
106 2016-11-30 Jakub Jelinek <jakub@redhat.com>
108 * configure.ac (--enable-objc-gc): If not given, default to
110 * configure: Regenerated.
112 2016-11-30 Matthias Klose <doko@ubuntu.com>
114 * configure.ac (--enable-objc-gc): Allow to configure with a
115 system provided boehm-gc.
116 * configure: Regenerate.
117 * Makefile.in (OBJC_BOEHM_GC_LIBS): Get value from configure.
118 * gc.c: Include system bdw-gc headers.
119 * memory.c: Likewise.
120 * objects.c: Likewise.
122 2016-11-15 Matthias Klose <doko@ubuntu.com>
124 * aclocal.m4: Regenerate.
125 * configure: Likewise.
127 2016-01-04 Jakub Jelinek <jakub@redhat.com>
129 Update copyright years.
131 2015-11-07 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
134 * encoding.c (_darwin_rs6000_special_round_type_align): Use
135 __CHAR_BIT__ instead of BITS_PER_UNIT.
136 (objc_sizeof_type): Likewise.
137 (objc_layout_structure): Likewise.
138 (objc_layout_structure_next_member): Likewise.
139 (objc_layout_finish_structure): Likewise.
140 (objc_layout_structure_get_info): Likewise.
142 2015-11-03 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
145 * encoding.c (objc_layout_finish_structure): Remove usage of
148 2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
151 * sendmsg.c (tm.h): Remove include.
153 2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
156 * sendmsg.c (gen_rtx): Remove macro.
157 (gen_rtx_MEM): Likewise.
158 (gen_rtx_REG): Likewise.
161 2015-09-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
164 * sendmsg.c: Remove check of STRUCT_VALUE macro.
166 2015-05-13 Eric Botcazou <ebotcazou@adacore.com>
168 * configure.ac: Remove manual SJLJ check.
169 * config.h.in: Regenerate.
170 * configure: Likewise.
171 * exception.c: Replace SJLJ_EXCEPTIONS by __USING_SJLJ_EXCEPTIONS__.
173 2015-05-13 Michael Haubenwallner <michael.haubenwallner@ssi-schaefer.com>
175 * aclocal.m4: Regenerated with automake-1.11.6.
177 2015-05-04 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
179 * configure: Regenerate.
181 2015-05-01 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
183 * acinclude.m4: Include bitfields.m4.
184 * config.h.in: Regenerate.
185 * configure: Likewise.
186 * configure.ac: Invoke gt_BITFIELD_TYPE_MATTERS.
187 * encoding.c: Check HAVE_BITFIELD_TYPE_MATTERS.
189 2015-04-29 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
191 * encoding.c (objc_layout_structure_next_member): Check the value of
192 PCC_BITFIELD_TYPE_MATTERS not if it is defined.
194 2015-02-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
197 * thr.c (_XOPEN_SOURCE): Remove.
199 2015-01-27 Matthias Klose <doko@ubuntu.com>
201 * sendmsg.c: Add prototypes for __objc_get_forward_imp and get_imp.
203 2015-01-09 Dimitris Papavasiliou <dpapavas@gmail.com>
206 * ivars.c: Add a check for classes without instance
207 variables, which have a NULL ivar list pointer.
209 2015-01-05 Jakub Jelinek <jakub@redhat.com>
211 Update copyright years.
213 2014-11-21 H.J. Lu <hongjiu.lu@intel.com>
216 * configure: Regenerated.
218 2014-11-11 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
221 * configure: Regenerate.
223 2014-11-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
225 * thr.c (_XOPEN_SOURCE): Define as 600.
227 2014-07-27 Alan Modra <amodra@gmail.com>
228 Matthias Klose <doko@ubuntu.com>
232 * encoding.c: Define rs6000_special_adjust_field_align_p.
234 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
236 Update copyright years
238 2013-09-20 Alan Modra <amodra@gmail.com>
240 * configure: Regenerate.
242 2013-07-21 OndÅej BÃlka <neleai@seznam.cz>
244 * class.c: Fix typos.
245 * encoding.c: Likewise.
247 * objc-private/runtime.h: Likewise.
248 * objc/runtime.h: Likewise.
249 * objc-sync.c: Likewise.
251 2013-07-04 Kai Tietz <ktietz@redhat.com>
253 * exception.c: Add check for SjLj to SEH blocks.
255 2013-02-03 Richard Sandiford <rdsandiford@googlemail.com>
257 Update copyright years.
259 2012-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
261 * encoding.c (TARGET_VSX): Provide definitions based on the
262 current compilation options, and not based off the target options
264 (TARGET_ALTIVEC): Likewise.
265 (TARGET_64BIT): Likewise.
267 2012-09-14 David Edelsohn <dje.gcc@gmail.com>
269 * configure: Regenerated.
271 2012-07-19 Tristan Gingold <gingold@adacore.com>
272 Richard Henderson <rth@redhat.com>
274 * exception.c (__gnu_objc_personality_seh0): New function.
276 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
278 * configure: Regenerated.
280 2012-03-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
282 * configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
283 * configure: Regenerate.
285 * thr.c (_XOPEN_SOURCE): Define unconditionally.
287 2011-11-21 Andreas Tobler <andreast@fgznet.ch>
289 * configure: Regenerate.
291 2011-11-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
293 * Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
294 * configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
295 * configure: Regenerate.
296 * config.h.in: Regenerate.
298 2011-10-17 Paul Brook <paul@codesourcery.com>
299 Matthias Klose <doko@ubuntu.com>
301 * exception.c (parse_lsda_header): hardcode ttype_encoding for older
303 (get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
305 2011-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
308 * init.c (__objc_exec_class): Work around a bug in clang's code
309 generation. Clang sets the class->info field to values different
310 from 0x1 or 0x2 (the only allowed values in the traditional GNU
311 Objective-C runtime ABI) to store some additional information, but
312 this breaks backwards compatibility. Wipe out all the bits in the
313 fields other than the first two upon loading a class.
315 2011-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
317 * class.c (objc_lookup_class): Added back for compatibility with
318 clang which seems to emit calls to it.
320 2011-10-08 Richard Frith-Macdonald <rfm@gnu.org>
321 Nicola Pero <nicola.pero@meta-innovation.com>
324 * sendmsg.c (__objc_send_initialize): If a class does not have an
325 +initialize method, search for an +initialize method in the
326 superclass and in the ancestor classes and execute the first one
327 that is found. This makes the GNU runtime behave in the same way
328 as the Apple/NeXT runtime with respect to +initialize methods and
331 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
334 * class.c (__objc_update_classes_with_methods): Iterate over meta
335 classes as well as normal classes when refreshing the method
336 implementations. This fixes replacing class methods.
338 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
340 * class.c (class_getSuperclass): Fixed to work with meta classes
341 still in construction too.
343 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
345 * class.c (class_getSuperclass): Fixed typo in comment.
347 2011-08-06 Nicola Pero <nicola.pero@meta-innovation.com>
350 * class.c (class_getSuperclass): Return the superclass if the
351 class is in construction.
352 * objc/runtime.h (class_getSuperclass): Updated documentation.
354 2011-08-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
356 * Makefile.in (INCLUDES): Search
357 $(srcdir)/$(MULTISRCTOP)../libgcc.
359 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
361 * objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
363 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
365 * configure.ac (VERSION): Bumped to 4:0:0.
366 * configure (VERSION): Likewise.
368 2011-06-08 Nicola Pero <nicola.pero@meta-innovation.com>
370 * objc/README: Updated.
371 * objc-private/selector.h: Updated comments.
373 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
375 * sendmsg.c (class_get_instance_method): Removed.
376 (class_get_class_method): Removed.
377 (objc_get_uninstalled_dtable): Removed.
379 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
381 * objc-private/module-abi-8.h (class_get_instance_size): Removed.
382 * objects.c (class_create_instance): Removed.
383 * error.c (__USE_FIXED_PROTOTYPES__): Removed.
384 * gc.c (__objc_generate_gc_type_description): Use
385 class_getInstanceSize() instead of class_get_instance_size().
386 * selector.c (sel_types_match): Made static.
387 (sel_get_typed_uid): Removed.
388 (sel_get_any_typed_uid): Removed.
389 (sel_get_name): Removed.
390 (sel_get_type): Removed.
391 (sel_register_name): Removed.
392 (sel_register_typed_name): Removed.
393 (sel_get_uid): Removed.
395 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
397 * encoding.c (method_get_number_of_arguments): Removed.
398 (method_get_sizeof_arguments): Removed.
400 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
402 * class.c (objc_next_class): Removed.
403 (class_pose_as): Removed.
405 (class_table_replace): Removed.
406 (objc_lookup_class): Removed.
408 2011-06-07 Nicola Pero <nicola.pero@meta-innovation.com>
410 Removed the Traditional Objective-C runtime public API.
411 * Makefile.in (OBJC_DEPRECATED_H): Variable removed.
412 (install-headers): Do not create the objc/deprecated directory and
413 do not install the deprecated headers.
414 (OBJC_H): Removed encoding.h and objc-api.h.
415 * Object.m: Removed all methods with the exception of -class and
416 -isEqual:. Updated includes. ([-class]): Use Modern API.
417 * objc/Object.h: Do not include deprecated/Object.h.
418 * objc/deprecated/Object.h: Removed.
419 * linking.m (__objc_linking): Call [Object class] instead of
421 * Protocol.m: Removed all methods with the exception of -isEqual:.
423 * objc/Protocol.h: Do not include deprecated/Protocol.h.
424 * objc/deprecated/Protocol.h: Removed.
425 * objc/deprecated/struct_objc_symtab.h: Removed.
426 * objc/deprecated/struct_objc_module.h: Removed.
427 * objc/deprecated/struct_objc_ivar.h: Removed.
428 * objc/deprecated/struct_objc_ivar_list.h: Removed.
429 * objc/deprecated/struct_objc_method.h: Removed.
430 * objc/deprecated/struct_objc_method_list.h: Removed.
431 * objc/deprecated/struct_objc_protocol_list.h: Removed.
432 * objc/deprecated/struct_objc_category.h: Removed.
433 * objc/deprecated/MetaClass.h: Removed.
434 * objc/deprecated/objc_msg_sendv.h: Removed.
435 * objc/deprecated/README: Removed.
436 * objc/deprecated/struct_objc_class.h: Removed.
437 * objc/deprecated/struct_objc_protocol.h: Removed.
438 * objc/deprecated/struct_objc_selector.h: Removed.
439 * objc/encoding.h: Removed.
440 * objc/message.h (struct objc_super): Removed the definition for
441 the Traditional Objective-C runtime API.
442 * objc/objc.h: Do not include objc/objc-decls.h.
443 deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
444 deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
445 and deprecated/objc_msg_sendv.h. Uncommented new definition of
447 * objc/objc-api.h: Removed.
448 * objc/runtime.h: Updated comments. Removed check to detect
449 concurrent usage of Traditional and Modern APIs.
450 * objc-private/module-abi-8.h: Always define struct objc_class and
451 struct objc_protocol. (struct objc_protocol_list): Changed type
452 of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
453 (class_get_instance_size): Added.
454 * objc-private/protocols.h (__objc_protocols_add_protocol): Take a
455 'struct objc_protocol *' as argument, not a 'Protocol *'.
456 * objc-private/runtime.h: Updated comments.
457 * objc-private/selector.h (struct objc_selector, sel_eq): Added.
458 * class.c: Include objc-private/selector.h.
459 (objc_get_meta_class): Return a Class instead of a MetaClass.
460 * encoding.c (method_get_next_argument): Removed.
461 (method_get_first_argument): Removed.
462 (method_get_nth_argument): Removed.
463 * gc.c: Include objc/runtime.h instead of objc/encoding.h.
464 Include objc-private/module-abi-8.h and ctype.h.
465 * protocols.c (__objc_protocols_add_protocol): Take a 'struct
466 objc_protocl *' as argument, not a 'Protocol *'.
467 (class_addProtocol): Added casts to 'struct objc_protocol *' and
469 (class_copyProtocolList): Likewise.
470 (protocol_conformsToProtocol): Likewise.
471 (protocol_copyProtocolList): Likewise.
472 * sarray.c: Include objc-private/module-abi-8.h.
473 * sendmsg.c (method_get_next_argument): Removed.
474 (method_get_first_argument): Removed.
475 (method_get_nth_argument): Removed.
476 (objc_msg_sendv): Removed.
477 (arglist_t, retval_t): New. (class_get_class_method): Take a
478 'Class', not 'MetaClass', argument.
479 * thr.c: Include module-abi-8.h.
481 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
483 * Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
484 and objc_get_uninstalled_dtable.h.
485 * objc/deprecated/struct_objc_static_instances.h: Removed.
486 * objc/deprecated/objc_get_uninstalled_dtable.h: Removed.
487 * objc/objc-api.h: Do not include deprecated/objc_static_instances.h
488 and deprecated/objc_get_uninstalled_dtable.h.
490 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
492 * Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
493 * objc/deprecated/objc_object_alloc.h: Removed.
494 * objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
495 * objects.c (_objc_object_alloc, _objc_object_dispose,
496 _objc_object_copy): Removed.
497 * libobjc.def (__objc_object_alloc, __objc_object_copy,
498 __objc_object_dispose): Removed.
500 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
502 * Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
503 * objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
504 * objc/deprecated/METHOD_NULL.h: Removed.
506 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
508 * Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
509 objc_malloc.h and objc_unexpected_exception.h.
510 (exception.lo): Do not use -Wno-deprecated-declarations.
511 (exception_gc.lo): Likewise.
512 * objc/objc-api.h: Do not include deprecated/objc_valloc.h,
513 deprecated/objc_malloc.h and
514 deprecated/objc_unexpected_exception.h.
515 * objc/deprecated/objc_valloc.h: Removed.
516 * objc/deprecated/objc_malloc.h: Removed.
517 * objc/deprecated/objc_unexpected_exception.h: Removed.
518 * exception.c (_objc_unexpected_exception): Removed.
519 (objc_exception_throw): Do not check for
520 _objc_unexpected_exception.
521 * memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
522 _objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.
523 * libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
525 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
527 * objc/objc.h: Do not include deprecated/STR.h.
528 * objc/deprecated/STR.h: Removed.
529 * Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
531 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
533 * Makefile.in (OBJC_H): Removed hash.h and sarray.h.
534 (OBJC_DEPRECATED_H): Likewise.
535 * libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
536 objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
537 objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
538 hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
539 sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
540 sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
541 * objc/sarray.h: Removed.
542 * objc/hash.h: Removed.
543 * objc/deprecated/sarray.h: Removed.
544 * objc/deprecated/hash.h: Removed.
545 * objc/Object.h: Do not include objc/deprecated/hash.h
546 * Object.m: Include string.h.
547 * objc/objc-api.h: Do not include objc/deprecated/hash.h.
548 * objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
551 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
553 * Object.m ([-forward::]): Removed.
554 * objc/deprecated/Object.h ([-forward::]): Removed.
555 * sendmsg.c (__objc_forward): Updated comments.
557 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
559 * Makefile.in (OBJC_H): Removed objc-list.h.
560 (OBJC_DEPRECATED_H): Removed objc-list.h.
561 * objc/objc-list.h: File removed.
562 * objc/deprecated/objc-list.h: File removed.
564 2011-06-03 Nicola Pero <nicola.pero@meta-innovation.com>
566 * Makefile.in (OBJC_H): Removed typedstream.h.
567 (OBJC_DEPRECATED_H): Removed typedstream.h.
568 (C_SOURCE_FILES): Removed archive.c.
569 (Object.lo): Rule removed.
570 (Object_gc.lo): Likewise.
571 (archive.lo): Likewise.
572 (archive_gc.lo): Likewise.
573 * objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
575 Do not include deprecated/typedstream.h.
576 * Object.m: Removed the same methods.
577 * archive.c: File removed.
578 * objc/typedstream.h: File removed.
579 * objc/deprecated/typedstream.h: File removed.
580 * libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
581 __objc_write_class, __objc_write_object, __objc_write_selector,
582 objc_close_typed_stream, objc_end_of_typed_stream,
583 objc_flush_typed_stream, objc_get_stream_class_version,
584 objc_open_typed_stream, objc_open_typed_stream_for_file,
585 objc_read_array, objc_read_char, objc_read_int, objc_read_long,
586 objc_read_object, objc_read_selector, objc_read_short,
587 objc_read_string, objc_read_type, objc_read_types,
588 objc_read_unsigned_char, objc_read_unsigned_int,
589 objc_read_unsigned_long, objc_read_unsigned_short,
590 objc_write_array, objc_write_char, objc_write_int,
591 objc_write_long, objc_write_object, objc_write_object_reference,
592 objc_write_root_object, objc_write_selector, objc_write_short,
593 objc_write_string, objc_write_string_atomic, objc_write_type,
594 objc_write_types, objc_write_unsigned_char,
595 objc_write_unsigned_int, objc_write_unsigned_long,
596 objc_write_unsigned_short): Removed.
598 2011-06-02 Nicola Pero <nicola.pero@meta-innovation.com>
600 * Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
601 * objc/deprecated/objc_error.h: Removed.
602 * objc/objc-api.h: Do not include deprecated/objc_error.h.
603 * libobjc.def (objc_error, objc_verror): Removed.
604 * error.c (_objc_error_handler, objc_error, objc_verror,
605 objc_set_error_handler): Removed.
606 * Object.m ([-error:], [-perform:], [-perform:with:],
607 [-perform:with:with], [-subclassResponsibility:],
608 [-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
610 * objc/deprecated/Object.h: Removed the same methods.
611 * sendmsg.c (__objc_forward): Do not try to invoke the "error:"
612 method after trying to invoke the "doesNotRecognize:" method.
614 2011-05-26 Nicola Pero <nicola.pero@meta-innovation.com>
616 * sendmsg.c: Reindented part of the file. No non-trivial changes
619 2011-05-26 Nicola Pero <nicola.pero@meta-innovation.com>
621 * sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
622 not objc_lookup_class.
624 2011-05-25 Richard Frith-Macdonald <rfm@gnu.org>
625 David Ayers <ayers@fsfe.org>
628 * sendmsg.c: Include objc/hash.h.
629 (get_implementation): New function, mostly with code from get_imp
630 updated to support the new +initialize dispatch table logic.
631 (get_imp): Use get_implementation.
632 (__objc_responds_to): Updated to support the new +initialize
633 dispatch table logic.
634 (class_respondsToSelector): Likewise.
635 (objc_msg_lookup): Use get_implementation.
636 (__objc_init_install_dtable): Removed.
637 (__objc_install_methods_in_dtable): Updated arguments.
638 (__objc_install_dispatch_table_for_class): Renamed to
639 __objc_install_dtable_for_class and updated to support the new
640 +initialize dispatch table logic.
641 (__objc_update_dispatch_table_for_class): Updated to support the
642 new +initialize dispatch table logic.
643 (__objc_forward): Call get_implementation instead of get_imp.
644 (prepared_dtable_table): New.
645 (__objc_prepare_dtable_for_class): New.
646 (__objc_prepared_dtable_for_class): New.
647 (__objc_get_prepared_imp): New.
648 (__objc_install_prepared_dtable_for_class): New.
650 2011-05-24 Nicola Pero <nicola.pero@meta-innovation.com>
653 * selector.c (__sel_register_typed_name): Use sel_types_match()
654 instead of strcmp() to compare selector types (Suggestion by
655 Richard Frith-Macdonald <rfm@gnu.org>).
657 2011-04-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
660 * Makefile.in (OBJC_GCFLAGS): Move ...
661 * configure.ac (enable_objc_gc): ... here.
662 Add $(libsuffix) to OBJC_BOEHM_GC.
663 * configure: Regenerate.
665 2011-02-28 Nicola Pero <nicola.pero@meta-innovation.com>
667 * selector.c (sel_getTypedSelector): Return NULL if there are
668 multiple selectors with conflicting types.
669 * objc/runtime.h (sel_getTypedSelector): Updated documentation.
671 2011-02-28 Richard Frith-Macdonald <rfm@gnu.org>
674 * gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
677 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
679 * configure: Regenerate.
681 2010-12-26 Nicola Pero <nicola.pero@meta-innovation.com>
683 * init.c (create_tree_of_subclasses_inherited_from): Use
684 class_superclass_of_class instead of assuming a class is
685 unresolved when it could be resolved. Tidied up assignment and
687 (__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
688 (objc_tree_insert_class): Tidied up loop; return immediately upon
690 (__objc_exec_class): Do not set __objc_class_tree_list.
692 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
694 * selector.c (sel_getTypedSelector): Return NULL if given a NULL
696 (sel_registerTypedName): Same.
697 (sel_registerName): Same.
698 * objc/runtime.h: Updated documentation.
700 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
702 * objc/runtime.h (class_addIvar): Updated documentation. The
703 alignment is actually the log_2 of the alignment in bytes.
704 * ivars.c (class_addIvar): Corresponding change to the
707 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
709 * objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
710 be consistent with method_getTypeEncoding and
711 ivar_getTypeEncoding.
712 (sel_copyTypedSelectorList, sel_getTypedSelector): New.
713 * selector.c (sel_getType): Renamed to sel_getTypeEncoding.
714 (sel_copyTypedSelectorList, sel_getTypedSelector): New.
715 (sel_get_type): Updated call to sel_getType.
717 2010-12-24 Nicola Pero <nicola.pero@meta-innovation.com>
719 * objc/runtime.h (class_conformsToProtocol,
720 class_copyProtocolList): Updated documentation.
722 2010-12-23 Nicola Pero <nicola.pero@meta-innovation.com>
724 * init.c (create_tree_of_subclasses_inherited_from): Updated
725 DEBUG_PRINTF messages.
726 (__objc_tree_insert_class): Same.
727 (__objc_send_load_using_method_list): Same.
728 (__objc_send_load): Same.
729 (__objc_exec_class): Same. In particular, do not print the module
730 name since it is no longer used.
731 * sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
732 tracking +initialize calls.
733 (__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
734 tracking updates of dispatch tables.
735 (__objc_install_dispatch_table_for_class): Same.
737 2010-12-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
739 * Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
740 (libobjc_gc$(libsuffix).la): Likewise.
742 2010-12-23 Nicola Pero <nicola.pero@meta-innovation.com>
744 * sendmsg.c (class_addMethod): Return NO if the method already
747 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
749 * init.c (duplicate_classes): New.
750 (__objc_exec_class): Initialize duplicate_classes.
751 (__objc_create_classes_tree): Ignore classes in the
752 duplicate_classes table.
753 (__objc_call_load_callback): Same.
754 (__objc_init_class): If a duplicate class is found, add it to
755 duplicate_classes instead of aborting. Return YES if the class is
756 not a duplicate, and NO if it is.
757 * objc-private/runtime.h (__objc_init_class): Updated prototype.
759 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
761 * objc-private/objc-list.h: Reindented file. No code changes.
762 * objc-private/sarray.h: Same change.
764 2010-12-22 Nicola Pero <nicola.pero@meta-innovation.com>
766 * objc-private/accessors.h: Removed 'extern "C"' guards. This
767 file is never compiled with C++.
768 * objc-private/hash.h: Same change.
769 * objc-private/objc-list.h: Same change.
770 * objc-private/objc-sync.h: Same change.
771 * objc-private/protocols.h: Same change.
772 * objc-private/runtime.h: Same change.
773 * objc-private/sarray.h: Same change.
774 * objc-private/selector.h: Same change.
776 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
779 * class.c (__objc_add_class_to_hash): Return YES if the class was
780 added, and NO if it already existed.
781 * init.c (__objc_init_class): If __objc_add_class_to_hash returns
782 NO, then abort the program with an error message.
783 * objc-private/runtime.h (__objc_add_class_to_hash): Updated
786 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
788 * init.c (_objc_load_callback): Initialize with 0.
789 (__objc_call_callback): Renamed to __objc_call_load_callback.
790 Check _objc_load_callback only once, and if it is not set, return
792 (objc_send_load): Updated call to __objc_call_callback.
794 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
797 * init.c (__objc_send_message_in_list): Renamed to
798 __objc_send_load_using_method_list. Do not take an 'op' argument.
799 Register the 'load' selector if needed.
800 (__objc_send_load): Do not register the 'load' selector. Updated
801 call to __objc_send_message_in_list.
802 (__objc_create_classes_tree): Add the class of any claimed
803 category that was loaded in the module to the list of classes for
804 which we try to execute +load.
806 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
808 * objc-private/common.h: When DEBUG is defined, include <stdio.h>.
810 * init.c (__objc_tree_insert_class): Use %p, not %x, when printing
811 a pointer using DEBUG_PRINTF.
813 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
816 * selector.c (__sel_register_typed_name): When registering a new
817 selector with the same name as an existing one, reuse the existing
818 name string. Also updated types, casts and comments in the whole
821 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
823 * objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
824 to be 'struct objc_selector *' and not 'SEL'.
825 * init.c (__objc_exec_class): Call
826 __objc_register_selectors_from_module instead of iterating over
827 each selector and calling __sel_register_typed_name for each.
828 * objc-private/selector.h: Declare
829 __objc_register_selectors_from_module instead of
830 __sel_register_typed_name.
831 * selector.c (__objc_register_selectors_from_module): New.
832 (__sel_register_typed_name): Made static.
834 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
836 * linking.m: Do not include objc/NXConstStr.h.
838 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
840 * objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
841 * objc-private/common.h (DEBUG_PRINTF): To here.
842 * hash.c: Do not include objc-private/runtime.h and objc/thr.h.
844 2010-12-21 Nicola Pero <nicola.pero@meta-innovation.com>
846 * hash.c: Tidied up comments and indentation. No code changes.
848 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
851 * accessors.m (objc_getProperty): If not atomic, do not
852 retain/autorelease the returned value.
854 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
856 * objc-private/runtime.h (__objc_selector_max_index,
857 __objc_init_selector_tables, __objc_register_selectors_from_class,
858 __objc_register_selectors_from_list,
859 __objc_register_selectors_from_description_list): Moved to ...
860 * objc-private/selector.h: ... here.
862 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
864 * objc-private/runtime.h (__objc_class_links_resolved): Removed.
865 (__objc_print_dtable_stats): Removed.
866 (__sel_register_typed_name): Removed.
867 * sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
869 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
871 * init.c (__objc_exec_class): Call __objc_resolve_class_links (),
872 if appropriate, after loading the module.
874 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
876 * sendmsg.c (method_setImplementation): Do not declare.
878 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
880 * objc/message.h: Updated comments.
881 * objc/runtime.h: Updated comments.
883 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
885 * class.c (objc_lookupClass): Renamed to objc_lookUpClass.
886 * protocols.c: Updated all calls to objc_lookupClass to call
887 objc_lookUpClass instead.
888 * sendmsg.c (objc_lookupClass): Do not declare.
889 (get_imp): Update call to objc_lookupClass to call
890 objc_lookUpClass instead.
891 * objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
893 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
895 * objc/runtime.h (class_ivar_set_gcinvisible): Declare.
896 * sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
897 define. Updated comments.
899 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
901 * objc/encoding.h: Updated comments.
902 * objc/runtime.h: Updated comments.
903 (objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
904 (objc_sizeof_type): Same.
905 (objc_alignof_type): Same.
906 (objc_aligned_size): Same.
907 (objc_promoted_size): Same.
908 (objc_skip_type_qualifiers): Same.
909 (objc_skip_typespec): Same.
910 (objc_skip_offset): Same.
911 (objc_skip_argspec): Same.
912 (objc_get_type_qualifiers): Same.
913 (objc_layout_structure): Same.
914 (objc_layout_structure_next_member): Same.
915 (objc_layout_finish_structure): Same.
916 (objc_layout_structure_get_info): Same.
918 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
920 * init.c: Updated comments.
921 * objc/objc-api.h: Updated comments.
922 * objc/runtime.h (_objc_load_callback): Declare.
924 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
926 * objc/Object.h: Include deprecated/typedstream.h and
927 deprecated/hash.h instead of typedstream.h. Updated comments.
929 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
931 * Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
932 * objc/deprecated/objc_msg_sendv.h: New.
933 * objc/message.h: Do not define retval_t, apply_t, arglist,
934 arglist_t, objc_msg_sendv, now in
935 objc/deprecated/objc_msg_sendv.h.
936 * objc/objc.h: Do not include message.h; include
937 objc/deprecated/objc_msg_sendv.h instead. Tidied up comments.
938 * sendmsg.c: Include objc/message.h.
939 * thr.c: Include objc/message.h.
941 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
943 * objc/objc-exception.h: Include objc-decls.h. Mark all
944 functions with objc_EXPORT.
945 * objc/objc-sync.h: Same change.
947 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
949 * Protocol.m: Moved all methods, with the exception of -isEqual:,
950 into the 'Deprecated' category.
951 * objc/Protocol.h: Removed all methods, moved to
952 objc/deprecated/Protocol.h. Include objc/deprecated/Protocol.h.
953 * objc/deprecated/Protocol.h: New.
954 * Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
956 2010-12-19 Nicola Pero <nicola.pero@meta-innovation.com>
958 * init.c: Include objc-private/selector.h. Do not declare
959 __sel_register_typed_name.
960 * objc-private/selector.h (__sel_register_typed_name): Declare.
961 * selector.c: Include objc-private/selector.h.
963 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com>
965 * class.c: Tidied up comments and indentation. No code changes.
971 * objc-foreach.c: Same.
978 2010-12-17 Nicola Pero <nicola.pero@meta-innovation.com>
980 * init.c: Include objc/runtime.h and objc-private/module-abi-8.h
981 instead of objc/objc-api.h.
982 (init_check_module_version): Take a 'struct objc_module *'
983 argument instead of 'Module_t'. Use 'struct objc_module *'
984 instead of 'Module_t'.
985 (__objc_created_classes_tree): Take a 'struct objc_module *'
986 argument instead of 'Module_t'; use 'struct objc_symtab *' instead
988 (__objc_call_callback): Take a 'struct objc_module *' argument
989 instead of 'Module_t'; use 'struct objc_symtab *' instead of
990 'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
991 (_objc_load_callback): Take a 'struct objc_category *' argument
992 instead of 'Category *'.
993 (class_superclass_of_class): Use objc_getClass() instead of
995 (create_tree_of_subclasses_inherited_from): Same change (also, use
996 an explicit 'if' instead of '?').
997 (objc_init_statics): Same change.
998 (objc_send_load): Same change.
999 (__objc_init_protocol): same change.
1000 (__objc_send_message_in_list): Take a 'struct objc_method_list *'
1001 argument instead of 'MethodList_t'. Use 'struct objc_method *'
1002 instead of 'Method_t'.
1003 (__objc_send_load): Use 'struct objc_method_list *' instead of
1004 'MethodList_t'. Use sel_registerName() instead of
1005 sel_register_name().
1006 (__objc_exec_class): Take a 'struct objc_module *' argument
1007 instead of 'Module_t'. Use 'struct objc_symtab *' instead of
1008 'Symtab_t'. Use objc_getClass() instead of objc_lookup_class().
1009 Use 'struct objc_category *' instead of 'Category_t'.
1011 2010-12-16 Nicola Pero <nicola.pero@meta-innovation.com>
1013 * sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
1014 Include objc-private/module-abi-8.h and objc-private/selector.h
1015 instead of objc/encoding.h.
1016 (objc_msg_lookup_super): Use super->super_class instead of
1018 (method_get_first_argument, method_get_next_argument): Declare
1020 (class_get_instance_method): Declare before using.
1021 (objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
1022 (__objc_init_dispatch_tables, __objc_send_initialize): Use
1023 sel_registerName() instead of sel_register_name().
1024 (__objc_forward): Use sel_getName() instead of sel_get_name().
1025 (objc_get_uninstalled_dtable): Use 'void' as argument.
1026 * objc-private/selector.h: New.
1028 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
1030 * objc/message.h (objc_super): When using the modern API, do not
1031 define Super and Super_t, and always use 'super_class' for the
1033 (objc_msg_lookup_super): Updated prototype to use 'struct
1034 objc_super *' instead of 'Super_t'.
1035 * sendmsg.c (objc_msg_lookup_super): Updated prototype to use
1036 'struct objc_super *' instead of 'Super_t'.
1038 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
1040 * objc/message.h: Update comments, reindented code and moved
1041 deprecated types and functions at the end of the file. No code
1044 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
1046 * ivars.c (class_addIvar): Use the 'size' argument instead of
1047 trying to calculate it using objc_sizeof_type().
1048 * objc/runtime.h (class_addIvar): Updated comments.
1050 2010-12-15 Nicola Pero <nicola.pero@meta-innovation.com>
1052 * sendmsg.c: Reindented some code and tidied up comments. No
1053 actual code changes.
1055 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
1057 * objc/Object.h: Moved all the methods, with the exception of
1058 -class and -isEqual:, into ...
1059 * objc/deprecated/Object.h: here.
1060 * Object.m: Moved all the methods, with the exception of -class
1061 and -isEqual: into the 'Deprecated' category.
1063 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
1065 * objects.c (object_copy): Do not #undef as we are no longer
1066 including objc/objc-api.h.
1067 * selector.c: Include objc/runtime.h and
1068 objc-private/module-abi-8.h. Do not include objc/objc-api.h and
1069 objc/encoding.h. Updated
1070 (__objc_register_selectors_from_class): Use struct
1071 objc_method_list * instead of MethodList_t.
1072 (__objc_register_selectors_from_list): Use Method instead of
1074 (struct objc_method_description_list): Do not define here.
1075 (__objc_register_instance_methods_to_class): Use struct
1076 objc_method_list * instead of MethodList_t and Method instead of
1079 2010-12-14 Nicola Pero <nicola.pero@meta-innovation.com>
1081 * selector.c: Reindented some code and tidied up comments. No
1082 actual code changes.
1084 2010-12-13 Iain Sandoe <iains@gcc.gnu.org>
1086 * encoding.c (_darwin_rs6000_special_round_type_align): New.
1087 (darwin_rs6000_special_round_type_align): Adjust to use new routine.
1089 2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
1091 * sendmsg.c (selector_resolveClassMethod): New.
1092 (selector_resolveInstanceMethod): New.
1093 (__objc_resolve_class_method): New.
1094 (__objc_resolve_instance_method): New.
1095 (get_imp): Call __objc_resolve_class_method or
1096 __objc_resolve_instance_method at the appropriate time.
1097 (objc_msg_lookup): Same.
1098 (class_getClassMethod): Same.
1099 (class_getInstanceMethod): Same.
1100 (__objc_init_dispatch_tables): Initialize
1101 selector_resolveClassMethod and selector_resolveInstanceMethod.
1102 * objc/runtime.h: Updated documentation of class_getClassMethod,
1103 class_getInstanceMethod and class_getMethodImplementation.
1105 2010-12-11 Nicola Pero <nicola.pero@meta-innovation.com>
1107 * objc-private/module-abi-8.h (struct objc_symtab): Updated
1108 description of sel_ref_cnt and refs.
1109 * objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
1111 2010-12-06 Dave Korn <dave.korn.cygwin@gmail.com>
1115 * configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
1116 * Makefile.in (lt_host_flags): Import AC_SUBST'd value.
1117 * aclocal.m4: Regenerate.
1118 * configure: Regenerate.
1120 2010-12-03 Matthias Klose <doko@ubuntu.com>
1122 * configure.ac (VERSION): Bump the version to 3:0:0.
1123 * configure: Regenerate.
1125 2010-11-23 Richard Frith-Macdonald <rfm@gnu.org>
1127 * sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
1128 pass nil as the receiver since we don't know the receiver at this
1131 2010-11-18 Nicola Pero <nicola.pero@meta-innovation.com>
1133 * ivars.c: Include stdlib.h.
1134 * protocols.c: Same change.
1136 2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
1138 * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
1140 * init.c: Include objc-private/accessors.h.
1141 (__objc_exec_class): Call __objc_accessors_init.
1142 * objc-private/accessors.h: New.
1144 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
1146 * objc/message.h: Moved initial includes outside of extern "C".
1147 * objc/runtime.h: Add extern "C" for Objective-C++.
1149 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
1151 * init.c (objc_send_load): Do not wait for NXConstantString to be
1152 registered before executing +load. There is no point if
1153 -fconstant-string-class=xxx is used when compiling all modules,
1154 as is the case for almost all users.
1155 * linking.m (__objc_linking): Do not try to forcefully link in
1158 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
1160 * objc/runtime.h: Updated comments.
1161 (class_addMethod): New.
1162 (class_addIvar): New.
1163 (class_replaceMethod): New.
1164 (objc_allocateClassPair): New.
1165 (objc_registerClassPair): New.
1166 (objc_disposeClassPair): New.
1167 * class.c (objc_allocateClassPair): New.
1168 (objc_registerClassPair): New.
1169 (objc_disposeClassPair): New.
1170 (class_getSuperclass): Return Nil if a class is in construction.
1171 * init.c (__objc_exec_class): Call __objc_init_class.
1172 (__objc_init_class): New.
1173 * ivars.c (class_copyIvarList): Return NULL if class is in
1174 construction. Do not lock the runtime mutex.
1175 (class_getInstanceVariable): Return NULL if class is in
1176 construction. Do not lock the runtime mutex.
1177 (class_addIvar): New.
1178 * sendmsg.c (class_addMethod): New.
1179 (class_replaceMethod): New.
1180 * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
1181 (_CLS_IN_CONSTRUCTION): New.
1182 (CLS_IS_IN_CONSTRUCTION): New.
1183 (CLS_SET_IN_CONSTRUCTION): New.
1184 (CLS_SET_NOT_IN_CONSTRUCTION): New.
1185 * objc-private/runtime.h (__objc_init_class): New.
1187 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
1189 * class.c (class_getSuperclass): Call __objc_resolve_class_links
1190 if the class is not resolved yet.
1191 * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
1193 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
1195 * objc/runtime.h (class_getIvarLayout): New.
1196 (class_getWeakIvarLayout): New.
1197 (class_setIvarLayout): New.
1198 (class_setWeakIvarLayout): New.
1199 * ivars.c (class_getIvarLayout): New.
1200 (class_getWeakIvarLayout): New.
1201 (class_setIvarLayout): New.
1202 (class_setWeakIvarLayout): New.
1204 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
1206 * objc/runtime.h (class_copyPropertyList): New.
1207 (class_getProperty): New.
1208 (property_getAttributes): New.
1209 (property_getName): New.
1210 * ivars.c (class_copyPropertyList): New.
1211 (class_getProperty): New.
1212 (property_getAttributes): New.
1213 (property_getName): New.
1215 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
1217 * objc-private/runtime.h (__objc_update_classes_with_methods): New.
1218 * class.c (__objc_update_classes_with_methods): New.
1219 (objc_getClassList): Do not lock the class lock.
1220 * methods.c (method_exchangeImplementations): New.
1221 (method_setImplementation): New.
1222 * objc/runtime.h (method_setImplementation): New.
1223 (method_exchangeImplementations): New.
1225 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
1227 * Protocol.m: Include objc/runtime.h and
1228 objc-private/module-abi-8.h instead of objc/objc-api.h. Do not
1229 repeat Protocol's instance variables.
1230 (struct objc_method_description_list): Do not define here.
1231 ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1232 ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1233 selectors directly instead of getting names and then using strcmp.
1234 ([descriptionForClassMethod:]): Same change.
1235 ([-isEqual:]): Reimplemented on top of protocol_isEqual().
1236 * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1237 to compare selectors directly instead of getting names and then
1239 * objc/Protocol.h: Updated comments.
1241 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
1243 * init.c (__objc_init_protocol): New function which fixes up a
1244 protocol's class pointer, registers it with the runtime, register
1245 all protocol selectors and registers associated protocols too.
1246 (objc_init_statics): Detect if we are initializing protocols, and
1247 if so, use __objc_init_protocol instead of only fixing up the
1249 (__objc_init_protocls): Use __objc_init_protocol.
1250 * objc-private/module-abi-8.h: Updated comments.
1251 * objc-private/runtime.h
1252 (__objc_register_selectors_from_description_list): New.
1253 * selector.c (__objc_register_selectors_from_description_list):
1254 New. (struct objc_method_description_list): Declare.
1255 * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1256 when accessing the name of a method, which is now correctly a SEL.
1257 ([-descriptionForClassMethod:]): Same change.
1258 * protocols.c (protocol_getMethodDescription): Same change.
1259 * objc/runtime.h: Updated comments.
1260 (sel_registerTypedName): Fixed typo in function name.
1262 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
1265 * init.c (objc_init_statics): Do not skip the initialization of a
1266 statics list if the first object has already been initialized; in
1267 the case of Protocols, while the first one may have been
1268 initialized, some others may not have been initialized yet.
1270 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
1272 * Makefile.in (OBJC_DEPRECATED_H): Added
1273 objc_get_uninstalled_dtable, objc_object_alloc.h and
1274 struct_objc_static_instances.h.
1276 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
1278 * encoding.c (method_copyReturnType): New.
1279 (method_copyArgumentType): New.
1280 (method_getReturnType): New.
1281 (method_getArgumentType): New.
1282 * methods.c (method_getDescription): New.
1283 * objc/runtime.h (method_copyReturnType): New.
1284 (method_copyArgumentType): New.
1285 (method_getReturnType): New.
1286 (method_getArgumentType): New.
1287 (method_getDescription): New.
1289 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1291 * encoding.c: Tidied up comments.
1292 (objc_skip_variable_name): New static inline function.
1293 (objc_sizeof_type): Use objc_skip_variable_name instead of copying
1294 the same code over and over.
1295 (objc_alignof_type): Same.
1296 (objc_aligned_size): Same.
1297 (objc_promoted_size): Same.
1298 (objc_skip_typespec): Same.
1299 (objc_layout_structure_next_member): Same.
1300 (objc_skip_offset): Skip a '-' before the digits (if any). Fixed
1301 historical bug where objc_skip_offset would skip one byte even if
1302 there is no offset: check that the first offset digit is actually
1303 a digit before skipping it.
1304 (objc_skip_type_qualifiers): Mark as inline.
1305 (objc_skip_typespec): Mark as inline.
1307 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1309 * Makefile.in (C_SOURCE_FILES): Added methods.c.
1310 * encoding.c (method_getNumberOfArguments): New.
1311 (method_get_number_of_arguments): Call
1312 method_getNumberOfArguments.
1313 * ivars.c (ivar_getName): Check for NULL variable argument.
1314 (ivar_getOffset): Check for NULL variable argument.
1315 (ivar_getTypeEncoding): Check for NULL variable argument.
1316 (class_copyIvarList): New.
1318 * protocols.c (class_copyProtocolList): Check for Nil class_
1320 * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1321 'struct objc_method_list *' instead of MethodList_t.
1322 (class_getMethodImplementation): New.
1323 (class_respondsToSelector): New.
1324 (class_getInstanceMethod): New.
1325 (class_getClassMethod): New.
1326 * objc/runtime.h: Updated comments.
1327 (class_copyIvarList): New.
1328 (class_getInstanceMethod): New.
1329 (class_getClassMethod): New.
1330 (class_getMethodImplementation): New.
1331 (class_respondsToSelector): New.
1332 (method_getName): New.
1333 (method_getImplementation): New.
1334 (method_getTypeEncoding): New.
1335 (class_copyMethodList): New.
1336 (method_getNumberOfArguments): New.
1338 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1340 * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1341 instead of objc/objc-api.h.
1342 (objc_get_unknown_class_handler): Do not define.
1343 (class_isMetaClass): New.
1344 (class_getSuperclass): New.
1345 (class_getVersion): New.
1346 (class_setVersion): New.
1347 (class_getInstanceSize): New.
1348 * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1349 (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1350 objc_get_super_class.
1351 (get_ttype_entry): Use objc_getRequiredClass instead of
1353 * ivars.c (class_getClassVariable): New.
1354 * objects.c: Include objc/runtime.h, objc/thr.h and
1355 objc-private/module-abi-8.h instead of objc/objc-api.h
1356 * objc/runtime.h (class_getClassVariable): New.
1357 (class_isMetaClass): New.
1358 (class_getSuperclass): New.
1359 (class_getVersion): New.
1360 (class_setVersion): New.
1361 (class_getInstanceSize): New.
1362 * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1365 (__CLS_ISINFO): Same.
1366 (__CLS_SETINFO): Same.
1368 (CLS_ISCLASS): Same.
1369 (CLS_ISRESOLV): Same.
1370 (CLS_SETRESOLV): Same.
1371 (CLS_ISINITIALIZED): Same.
1372 (CLS_SETINITIALIZED): Same.
1373 (CLS_GETNUMBER): Same.
1374 (CLS_SETNUMBER): Same.
1376 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1378 * archive.c: Do not include objc/objc.h.
1379 * class.c: Do not include objc/objc.h.
1380 * encoding.c: Include objc/runtime.h, ctype.h and
1381 objc-private/module-abi-8.h instead of objc/objc-api.h and
1383 * error.c: Do not include objc/objc.h.
1384 * gc.c: Include tconfig.h and objc/encoding.h only if
1386 * hash.c: Include objc/runtime.h and objc/thr.h instead of
1387 objc/objc-api.h. Do not include objc/objc.h.
1388 * init.c: Do not include objc/objc.h.
1389 * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1390 objc/thr.h instead of objc/objc-api.h. Do not include
1392 * linking.m: Tidied comment.
1393 * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1394 Do not include objc/objc.h.
1395 * objects.c: Do not include objc/objc.h.
1396 * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1397 * protocols.c: Do not include objc/objc.h.
1398 * sarray.c: Include objc/runtime.h instead of objc/objc-api.h. Do
1399 not include objc/objc.h.
1400 * selector.c: Do not include objc/objc.h.
1401 * sendmsg.c: Do not include objc/objc.h.
1402 * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1403 Do not include objc/objc.h.
1404 * objc/objc-decls.h: Reindented code.
1405 * objc/runtime.h Include objc-decls.h. Updated comments.
1407 (objc_atomic_malloc): New.
1409 (objc_realloc): New.
1411 * objc-private/runtime.h: Updated comments.
1413 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1415 * Makefile.in (C_SOURCE_FILES): Added protocols.c.
1416 * objc-private/protocols.h: New.
1418 * init.c: Include objc-private/protocols.h.
1419 (__objc_exec_class): Call __objc_protocols_init on startup.
1420 (__objc_init_protocols): Call __objc_protocols_add_protocol.
1421 * objc-private/runtime.h: Use (struct objc_method_list *) instead
1422 of MethodList_t, and (struct objc_method *) instead of Method_t.
1423 * objc/deprecated/struct_objc_class.h: Define
1424 __objc_STRUCT_OBJC_CLASS_defined.
1425 * objc-private/module-abi-8.h (struct
1426 objc_method_description_list): New.
1427 (struct objc_class): Only define if
1428 __objc_STRUCT_OBJC_CLASS_defined is undefined.
1429 * objc/runtime.h (class_getName): New.
1430 (objc_getProtocol): New.
1431 (objc_copyProtocolList): New.
1432 (class_addProtocol): New.
1433 (class_conformsToProtocol): New.
1434 (class_copyProtocolList): New.
1435 (protocol_conformsToProtocol): New.
1436 (protocol_isEqual): New.
1437 (protocol_getName): New.
1438 (protocol_getMethodDescription): New.
1439 (protocol_copyMethodDescriptionList): New.
1440 (protocol_getProperty): New.
1441 (protocol_copyPropertyList): New.
1442 (protocol_copyProtocolList): New.
1443 * class.c (class_getName): New.
1444 * selector.c (sel_isEqual): New.
1446 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
1448 * selector.c (sel_getName): Return "<null selector>" for a NULL
1450 (sel_get_name): Return 0 for a NULL argument.
1451 * objc/runtime.h (sel_getName): Updated documentation.
1453 * objc-private/hash.h (class_hash_table): Unused declaration
1455 (module_hash_table): Same.
1456 * objc/deprecated/hash.h: Same changes.
1458 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
1460 * class.c (objc_getClassList): New.
1461 (objc_getRequiredClass): New.
1462 (objc_getMetaClass): New.
1463 (objc_lookupClass): New.
1464 (objc_getClass): New.
1465 (__objc_get_unknown_class_handler): New.
1466 (objc_setGetUnknownClassHandler): New.
1467 (objc_get_class): Use __objc_get_unknown_class_handler.
1468 (objc_lookup_class): Call objc_getClass.
1469 * objc/objc-api.h: Updated comment and copyright notice.
1470 * objc/runtime.h: Updated comments.
1471 (objc_getClass): New.
1472 (objc_lookupClass): New.
1473 (objc_getMetaClass): New.
1474 (objc_getRequiredClass): New.
1475 (objc_getClassList): New.
1476 (objc_setGetUnknownClassHandler): New.
1477 (objc_get_unknown_class_handler): New.
1478 * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1479 instead of __objc_runtime_INCLUDE_GNU as include guard.
1480 * objc-private/error.h (_objc_abort): Mark as noreturn.
1482 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
1484 * Makefile.in (C_SOURCE_FILES): Added ivars.c.
1486 * objc/objc.h: Updated comments.
1487 * objc/runtime.h (object_getClass): New.
1488 (object_getClassName): New.
1489 (object_setClass): New.
1490 (class_getInstanceVariable): New.
1491 (object_getIndexedIvars): New.
1492 (object_getInstanceVariable): New.
1493 (object_setInstanceVariable): New.
1494 (object_getIvar): New.
1495 (object_setIvar): New.
1496 (ivar_getName): New.
1497 (ivar_getOffset): New.
1498 (ivar_getTypeEncoding): New.
1499 * objc-private/module-abi-8.h (struct objc_class): Added.
1500 * objects.c (object_getClassName): New.
1501 (object_setClass): New.
1503 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
1505 * objc/objc.h: Updated comments.
1506 * objc/objc-api.h: (object_copy): Added one argument; use a
1507 #define to maintain backwards-compatibility. Moved
1508 _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1509 objc_get_uninstalled_dtable into
1510 objc/deprecated/objc_get_uninstalled_dtable.h and
1511 objc/deprecated/objc_object_alloc.h. Include these files.
1512 * objc/deprecated/objc_get_uninstalled_dtable.h: New.
1513 * objc/deprecated/objc_object_alloc.h: New.
1514 * objc/runtime.h (set_getName): New.
1517 (sel_registerName): New.
1518 (sel_registerTypedName): New.
1520 (class_createInstance): New.
1522 (object_dispose): New.
1523 * objects.c: Do not include tconfig.h. Include gc_typed.h if
1524 building the garbage collection version.
1525 (__objc_object_alloc): Removed.
1526 (__objc_object_copy): Removed.
1527 (__objc_object_dispose): Removed.
1528 (class_createInstance): New from code in class_create_instance.
1529 Cast second argument of GC_malloc_explicitly_typed. Use
1530 objc_calloc. Do not call _objc_object_alloc.
1531 (class_create_instance): Call class_createInstance.
1532 (object_copy): Added extraBytes argument. Do not call
1534 (object_dispose): Do not call _objc_object_dispose.
1535 * memory.c (objc_free): When using garbage collection, mark the
1537 * selector.c (sel_getName): New.
1538 (sel_get_name): Call sel_getName.
1540 (sel_get_type): Call sel_getType.
1541 (sel_registerName): New.
1542 (sel_register_name): Call sel_registerName.
1543 (sel_registerTypedName): New.
1544 (sel_register_typed_name): Call sel_registerTypedName.
1546 (sel_get_uid): Call sel_getUid.
1548 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
1550 * objc/objc-api.h: Define Method, Method_t, Category and
1551 Category_t. Prevent including this file at the same time as
1552 objc/runtime.h. Updated comments.
1553 * objc/deprecated/struct_objc_method.h: Do not define Method,
1555 * objc/deprecated/struct_objc_category.h: Do not define Category,
1557 * objc-private/module-abi-8.h: New file containing a copy of all
1558 the structure definitions. Not used yet.
1559 * objc/encoding.h (objc_aligned_size): Removed duplicate
1560 declaration. Updated comments.
1561 * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1562 Category, struct objc_method_description, _C_ID and similar,
1563 _C_CONST and similar and _F_CONST and similar. Added
1564 objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1565 objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1566 objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1567 struct objc_struct_layout, objc_layout_structure,
1568 objc_layout_structure_next_member, objc_layout_finish_structure,
1569 objc_layout_structure_get_info. Prevent including this file at
1570 the same time as objc/objc-api.h.
1572 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
1574 * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1575 struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1576 struct_objc_method_list.h, struct_objc_module.h,
1577 struct_objc_protocol_list.h, struct_objc_symtab.h.
1578 * objc/deprecated/struct_objc_category.h: New.
1579 * objc/deprecated/struct_objc_ivar.h: New.
1580 * objc/deprecated/struct_objc_ivar_list.h: New.
1581 * objc/deprecated/struct_objc_method.h: New.
1582 * objc/deprecated/struct_objc_method_list.h: New.
1583 * objc/deprecated/struct_objc_module.h: New.
1584 * objc/deprecated/struct_objc_protocol_list.h: New.
1585 * objc/deprecated/struct_objc_symtab.h: New.
1586 * objc/deprecated/struct_objc_static_instances.h: New.
1587 * objc/objc-api.h: Definitions of deprecated structures moved into
1588 the above header fragment files in objc/deprecated/. Include the
1589 files instead of definition the structures here. Updated
1591 * objc/runtime.h: Updated comments. Do not include objc-api.h.
1592 (objc_set_enumeration_mutation_handler): Renamed to
1593 objc_setEnumerationMutationHandler.
1594 * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1595 to objc_setEnumerationMutationHandler.
1596 * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1597 objc_setExceptionMatcher.
1598 (objc_set_uncaught_exception_handler): Renamed to
1599 objc_setUncaughtExceptionHandler.
1600 * exception.c: Same changes.
1602 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
1604 * objc-sync.c: Include objc-private/common.h.
1606 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
1608 * objc-foreach.c: Include objc-private/common.h.
1609 * objc/deprecated/METHOD_NULL.h: New file.
1610 * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1611 defining METHOD_NULL here.
1612 * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1613 * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1615 ([-respondsTo:]): Same change.
1616 * objc/objc-api.h (method_get_imp): Converted it into a normal
1617 function so that we can hide the internals of struct objc_method.
1618 * sendmsg.c (method_get_imp): Implemented.
1620 2010-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
1622 * objc/objc-api.h (struct objc_super, Super, Super_t,
1623 objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1624 objc_msg_forward2): Declarations moved to objc/message.h. Include
1626 * objc/message.h: Added such declarations; updated comments.
1628 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
1630 Implemented fast enumeration for Objective-C.
1631 * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1632 (OBJC_H): Added runtime.h
1633 * objc-foreach.c: New file.
1634 * objc/runtime.h: New file.
1636 2010-09-30 Kai Tietz <kai.tietz@onevision.com>
1638 * objc/deprecated/struct_objc_class.h: Add padding
1639 to avoid warning with -Wpadded.
1641 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
1643 * encoding.c (objc_sizeof_type): Added support for vector type and
1644 for double long types.
1645 (objc_alignof_type): Same change.
1646 (objc_skip_typespec): Same change.
1647 * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1648 instead of '!' since '!' is already used for _C_VECTOR.
1649 * objc/objc-api.h (_C_LNG_DBL): Added.
1651 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
1653 * libobjc_entry.c: File removed.
1655 2010-09-26 Kai Tietz <kai.tietz@onevision.com>
1657 * sendmsg.c (objc_msg_lookup): Remove inline.
1658 (objc_get_uninstalled_dtable): Likewise.
1659 * encoding.c (objc_skip_type_qualifiers): Likewise.
1660 (objc_skip_offset): Likewise.
1661 * archive.c (__objc_write_object): Likewise
1662 (__objc_write_class):
1663 (__objc_write_selector):
1665 (objc_read_unsigned_char):
1667 (objc_read_unsigned_short):
1670 (__objc_read_nbyte_uint):
1671 (objc_read_unsigned_int):
1672 (objc_read_unsigned_long):
1673 * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1674 (objc_EXPORT): Likewise.
1675 * objc/message.h (objc-decls.h): Add include.
1676 * objc/objc-api.h: Mark API by objc_EXPORT.
1677 * libobjc.def (__objc_responds_to): Removed.
1679 2010-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
1681 * hash.c: Include objc-private/hash.h instead of objc/hash.h.
1683 * objc/sarray.h: Moved into objc/deprecated/sarray.h;
1684 objc/sarray.h replaced with a placeholder including the file from
1685 the deprecated/ directory.
1686 * objc-private/sarray.h: New file (private copy of sarray.h).
1687 * hash.c: Include <assert.h> instead of "assert.h"
1688 * sarray.c: Include <assert.h> instead of "assert.h". Include
1689 objc-private/sarray.h instead of objc/sarray.h.
1690 * selector.c: Include objc-private/sarray.h instead of
1692 * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h
1693 instead of objc/sarray.h.
1694 * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
1696 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
1698 * objc-private/objc-list.h (list_remove_elem): Unused function
1699 removed. (list_nth): Unused function removed. (list_find):
1700 Unused function removed. (list_lenght): Unused function removed.
1702 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
1704 * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1705 replaced with a placeholder including the file from the
1706 deprecated/ directory.
1707 * objc/objc-api.h: Updated includes.
1708 * objc/typedstream.h: Updated includes.
1709 * objc-private/hash.h: New file (private copy of hash.h).
1710 * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1711 objc/objc-list.h replaced with a placeholder including the file
1712 from the deprecated/ directory.
1713 * objc-private/objc-list.h: New file (private copy of objc-list.h).
1714 * init.c: Include objc-private/hash.h and objc-private/objc-list.h
1715 instead of objc/hash.h and objc/objc-list.h.
1716 * selector.c: Same change.
1717 * class.c: Added include <string.h>, which used to be implicitly included
1718 when hash.h was included.
1719 * exception.c: Same change.
1720 * objects.c: Same change.
1721 * sarray.c: Same change.
1722 * sendmsg.c: Same change.
1723 * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1725 2010-09-14 Nicola Pero <nicola.pero@meta-innovation.com>
1727 Implemented objc_sync_enter() and objc_sync_exit(), which are
1728 required by @synchronized() to work.
1729 * objc-sync.c: New file.
1730 * objc/objc-sync.h: New file.
1731 * objc-private/objc-sync.h: New file.
1732 * init.c (__objc_exec_class): Call __objc_sync_init() during the
1733 Objective-C runtime startup.
1734 * Makefile.in: Added objc-sync.c and objc-sync.h.
1735 * configure.ac: Added GCC_CHECK_TLS.
1736 * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1737 * configure: Regenerated.
1738 * config.h.in: Regenerated.
1740 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1742 * Makefile.in (%_gc.lo): New pattern rules to build the
1743 garbage-collected version of the library. Removed rules for
1744 specific files that are no longer needed. Standardized all rules.
1745 (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1746 (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1748 (INCLUDES): Removed the unused include -I$(srcdir)/objc.
1750 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1752 * memory.c (objc_calloc): Fixed call to GC_malloc when building
1753 with Garbage Colletion.
1755 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1757 * memory.c: Do not include objc-private/runtime.h.
1759 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1761 * objc/deprecated/objc_malloc.h: New file.
1762 * objc/deprecated/objc_valloc.h: New file.
1763 * objc/objc-api.h: Include the files instead of defining
1764 objc_valloc, _objc_malloc() and similar.
1765 * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1767 * memory.c: Removed the extra layer of indirection of _objc_malloc
1769 (objc_calloc): Use GC_malloc in the garbage-collected
1770 implementation as GC_malloc returns memory that is already freed.
1771 (objc_valloc): Deprecated.
1773 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1775 * objc/deprecated/objc_error.h: New file.
1776 * objc/objc-api.h: Include deprecated/objc_error.h instead of
1777 defining objc_error and related.
1778 * error.c: New file. Added _objc_abort function which replaces
1779 objc_error. No change in functionality as they both print an
1781 * misc.c: File removed. Code moved into memory.c and error.c.
1782 * memory.c: New file.
1783 * objc-private/error.h: New file.
1784 * archive.c: Include objc-private/error.h and use _objc_abort
1785 instead of objc_error everywhere.
1786 * class.c: Same change.
1787 * encoding.c: Same change.
1788 * init.c: Same change, and simplified init_check_module_version.
1789 * memory.c: Same change.
1790 * sendmsg.c: Same change.
1791 * thr.c: Same change.
1792 * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1793 (OBJ_H): Reordered list.
1794 (OBJS): Removed misc.lo, added memory.lo and error.lo.
1795 (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1796 (misc_gc.lo): Rule removed.
1797 (error_gc.lo): Rule added.
1798 (memory_gc.lo): Rule added.
1800 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
1802 * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1803 to check the API version. Added some comments.
1805 * objc-private/common.h: New file.
1806 * NXConstStr.m: Include objc-private/common.h.
1807 * Object.m: Same change.
1808 * Protocol.m: Same change.
1809 * archive.c: Same change.
1810 * class.c: Same change.
1811 * encoding.c: Same change.
1812 * exception.c: Same change.
1813 * gc.c: Same change.
1814 * hash.c: Same change.
1815 * init.c: Same change.
1816 * libobjc_entry.c: Same change.
1817 * linking.m: Same change.
1818 * misc.c: Same change (and added a comment).
1819 * nil_method.c: Same change.
1820 * objects.c: Same change.
1821 * sarray.c: Same change.
1822 * selector.c: Same change.
1823 * sendmsg.c: Same change.
1824 * thr.c: Same change.
1826 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
1828 * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1830 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
1832 * archive.c: Removed not needed includes.
1833 * class.c: Same change.
1834 * hash.c: Same change.
1835 * misc.c: Same change.
1836 * nil_method.c: Same change.
1837 * objects.c: Same change.
1838 * sarray.c: Same change.
1839 * sendmsg.c: Same change.
1840 * thr.c: Same change.
1842 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
1844 * objc/runtime.h: Moved to objc-private/runtime.h. Do not include
1845 all the objc/*.h files.
1846 * objc-private/runtime.h: New file.
1847 * archive.c: Include objc-private/runtime.h (and required objc/*.h
1848 files) instead of objc/runtime.h.
1849 * class.c: Same change.
1850 * hash.c: Same change.
1851 * init.c: Same change.
1852 * misc.c: Same change.
1853 * nil_method.c: Same change.
1854 * objects.c: Same change.
1855 * sarray.c: Same change.
1856 * selector.c: Same change.
1857 * sendmsg.c: Same change.
1858 * thr.c: Same change.
1860 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
1862 * objc/deprecated/struct_objc_selector.h: New file. Definition of
1863 'struct objc_selector' and 'sel_eq' moved here.
1864 * objc/deprecated/struct_objc_protocol.h: New file. Definition of
1865 'struct objc_procotol' moved here.
1866 * objc/deprecated/struct_objc_class.h: New file. Definition of
1867 'struct objc_class' moved here.
1868 * objc/deprecated/MetaClass.h: New file. Definition of MetClass
1870 * objc/deprecated/STR.h: New file. Definition of STR moved here.
1871 * objc/message.h: New file. Definitions for relval_t, apply_t,
1872 arglist, arglist_t and objc_msg_lookup were moved here.
1873 * objc/objc.h: Include the above files instead of defining the
1874 corresponding structs, types and functions here. Added new opaque
1875 definitions for SEL and Class. Use Class and not 'struct
1876 objc_class *' in the definition of 'struct objc_object'.
1877 Commented all types defined in the file. Removed special
1878 definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1880 * objc/deprecated/objc-unexpected-exception.h: Renamed to
1881 objc_unexpected_exception.h.
1882 * objc/objc-api.h: Updated include of
1883 objc-unexpetected-exception.h
1884 * objc/objc-exception.h: Updated comments.
1885 * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1886 files. Reindented list of files.
1888 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
1890 * objc/objc-api.h (objc_trace): Unused variable removed.
1892 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
1894 * objc/deprecated: New directory.
1895 * objc/deprecated/README: New file.
1896 * objc/README: New file.
1897 * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1898 objc/typedstream.h replaced with a placeholder including the file
1899 from the deprecated/ directory.
1900 * objc/deprecated/objc-unexpected-exception.h: New file with the
1901 definition of _objc_unexpected_exception.
1902 * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1903 instead of defining _objc_unexpected_exception.
1904 * objc/deprecated/Object.h: New file with the deprecated Object
1905 methods in a 'Deprecated' category.
1906 * objc/Object.h Include deprecated/Object.h instead of defining
1907 the deprecated methods.
1908 * Object.m: Moved deprecated methods into 'Deprecated' category.
1909 * objc-private: New directory.
1910 * objc-private/README: New file.
1911 * Makefile.in (OBJC_DEPRECATED_H): New variable.
1912 (install-headers): Create installation directory for
1913 OBJC_DEPRECATED_H headers, and install them.
1915 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
1917 * objc/objc-exception.h: Fixed include of objc.h.
1919 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
1921 * objc/objc-exception.h: New file.
1922 * exception.c (objc_set_uncaught_exception_handler): Implemented.
1923 (objc_set_exception_matcher): Implemented.
1924 (objc_exception_throw): Use the uncaught exception handler if set.
1925 (PERSONALITY_FUNCTION): Use the exception matcher instead of the
1927 (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
1928 up. Removed segmentation fault when value is 'nil'.
1929 * objc/objc-api.h (_objc_unexpected_exception): Mark as
1931 * Makefile.in (exception.lo, exception_gc.lo): Use
1932 -Wno-deprecated-declarations when compiling.
1933 (OBJC_H): Added objc-exception.h
1935 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
1937 * objc/typedstream.h: Deprecate all functions in the file. This
1939 * objc/Object.h ([+streamVersion:], [-read:], [-write:],
1940 [-awake]): Documented that these methods are deprecated. Added a
1941 brief description of the Object class and its relationship to the
1943 * Makefile.in: Compile archive.c and Object.m with
1944 -Wno-deprecated-declarations.
1946 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
1948 Removed obsolete intermediate threading layer.
1949 * thr.c: Use __gthread_objc_xxx functions directly instead of
1950 __objc_thread_xxx ones.
1951 * objc/thr.h: Removed prototypes of no longer existing
1952 __objc_thread_xxx functions.
1953 * Makefile.in: Removed thr-objc.lo.
1954 * thr-dce.c: File removed.
1955 * thr-decosf1.c: File removed.
1956 * thr-irix.c: File removed.
1957 * thr-mach.c: File removed.
1958 * thr-objc.c: File removed.
1959 * thr-os2.c: File removed.
1960 * thr-posix.c: File removed.
1961 * thr-pthreads.c: File removed.
1962 * thr-rtems.c: File removed.
1963 * thr-single.c: File removed.
1964 * thr-solaris.c: File removed.
1965 * thr-vxworks.c: File removed.
1966 * thr-win32.c: File removed.
1967 * README.threads: File removed.
1968 * THREADS.MACH: File removed.
1971 2010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
1973 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1975 2010-09-06 Iain Sandoe <iains@gcc.gnu.org>
1977 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1978 Add a comment as to why, update FIXME comments.
1980 2010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
1982 * makefile.dos: Obsolete file removed.
1984 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1986 * aclocal.m4: Regenerate.
1988 2010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
1991 * configure.ac (extra_ldflags_libobjc): Define appropriately for
1992 Cygwin and MinGW hosts.
1993 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1994 (libobjc.dll): Likewise.
1995 * configure: Regenerate.
1997 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1999 * configure: Regenerate.
2001 2009-11-28 Jakub Jelinek <jakub@redhat.com>
2003 * sarray.c (sarray_free): Use old_buckets variable.
2004 * encoding.c (objc_layout_structure_next_member): Remove unused
2005 bfld_type_size variable.
2007 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2009 * configure.ac (AC_PREREQ): Bump to 2.64.
2011 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2013 * aclocal.m4: Regenerate.
2014 * configure: Regenerate.
2015 * config.h.in: Regenerate.
2017 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2019 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
2021 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2023 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
2025 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
2027 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2029 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
2031 2009-04-09 Nick Clifton <nickc@redhat.com>
2033 * sendmsg.c: Change copyright header to refer to version 3 of
2034 the GNU General Public License with version 3.1 of the GCC
2035 Runtime Library Exception and to point readers at the COPYING3
2036 and COPYING3.RUNTIME files and the FSF's license web page.
2037 * NXConstStr.m: Likewise.
2038 * Object.m: Likewise.
2039 * Protocol.m: Likewise.
2040 * archive.c: Likewise.
2041 * class.c: Likewise.
2042 * encoding.c: Likewise.
2043 * exception.c: Likewise.
2047 * libobjc_entry.c: Likewise.
2048 * linking.m: Likewise.
2050 * nil_method.c: Likewise.
2051 * objc/NXConstStr.h: Likewise.
2052 * objc/Object.h: Likewise.
2053 * objc/Protocol.h: Likewise.
2054 * objc/encoding.h: Likewise.
2055 * objc/hash.h: Likewise.
2056 * objc/objc-api.h: Likewise.
2057 * objc/objc-decls.h: Likewise.
2058 * objc/objc-list.h: Likewise.
2059 * objc/objc.h: Likewise.
2060 * objc/runtime.h: Likewise.
2061 * objc/sarray.h: Likewise.
2062 * objc/thr.h: Likewise.
2063 * objc/typedstream.h: Likewise.
2064 * objects.c: Likewise.
2065 * sarray.c: Likewise.
2066 * selector.c: Likewise.
2067 * thr-dce.c: Likewise.
2068 * thr-decosf1.c: Likewise.
2069 * thr-irix.c: Likewise.
2070 * thr-mach.c: Likewise.
2071 * thr-objc.c: Likewise.
2072 * thr-os2.c: Likewise.
2073 * thr-posix.c: Likewise.
2074 * thr-pthreads.c: Likewise.
2075 * thr-rtems.c: Likewise.
2076 * thr-single.c: Likewise.
2077 * thr-solaris.c: Likewise.
2078 * thr-vxworks.c: Likewise.
2079 * thr-win32.c: Likewise.
2081 * libobjc.def: Change copyright header to refer to version 3 of
2082 the GNU General Public License and to point readers at the COPYING3
2083 file and the FSF's license web page.
2084 * makefile.dos: Likewise.
2086 2009-04-09 Jakub Jelinek <jakub@redhat.com>
2088 * Makefile.in: Change copyright header to refer to version
2089 3 of the GNU General Public License and to point readers at the
2090 COPYING3 file and the FSF's license web page.
2091 * configure.ac: Likewise.
2093 2009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
2094 David Ayers <ayers@fsfe.org>
2097 * objc/objc-api.h (_objc_unexpected_exception): Declare
2098 new hook. Update copyright dates.
2099 * exception.c (objc_exception_throw): Use hook. Update
2101 * libobjc.def (_objc_unexpected_exception): Export hook.
2102 Update copyright dates.
2104 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2106 * configure: Regenerate.
2108 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2110 * configure: Regenerate.
2112 2008-11-21 Kai Tietz <kai.tietz@onevision.com>
2114 * Object.m (errno): Replaced by errno.h include.
2115 (compare): Cast self to id to prevent warning on comparison.
2116 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
2118 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
2119 * thr-win32.c (__objc_thread_detach): Remove type warning.
2120 (__objc_thread_id): Likewise.
2121 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
2124 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
2125 Steve Ellcey <sje@cup.hp.com>
2127 * configure: Regenerate for new libtool.
2128 * config.h.in: Regenerate for new libtool.
2130 2008-07-18 Matthias Klose <doko@ubuntu.com>
2132 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
2134 2008-07-18 Matthias Klose <doko@ubuntu.com>
2136 * Makefile.in: Include ../boehm-gc/threads.mk.
2137 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
2139 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2141 * Makefile.in (install-info): New stub target.
2143 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2145 * configure: Regenerate.
2147 2008-06-14 Kai Tietz <kai.tietz@onevision.com>
2149 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
2150 if HAVE_GETIPINFO is not defined.
2152 2008-06-10 Kai Tietz <kai.tietz@onevision.com>
2154 * Object.m (compare): Add type id.
2155 * objc/Object.h: Likewise.
2156 * archive.c (objc_read_class): Use size_t to extend version to be
2157 size of pointer scalar width.
2158 * sendmsg.c (rtx): Undefine it before redefinition.
2159 (__objc_print_dtable_stats): Cast arguments to long as intended.
2161 2008-05-30 Julian Brown <julian@codesourcery.com>
2163 * exception.c (__objc_exception_class): Initialise as constant
2164 array for ARM EABI. Change macro to static const for non-ARM EABI.
2165 (ObjcException): Add note about structure layout. Remove landingPad
2166 and handlerSwitchValue for ARM EABI.
2167 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
2169 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
2170 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
2171 ARM EABI unwinding support.
2172 (objc_exception_throw): Use memcpy to initialise exception class.
2174 2008-05-25 Alan Modra <amodra@bigpond.net.au>
2176 * encoding.c (strip_array_types): Rename from get_inner_array_type.
2177 (rs6000_special_round_type_align): Update.
2179 2008-05-09 Julian Brown <julian@codesourcery.com>
2181 * Makefile.in (LTLDFLAGS): New.
2182 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
2184 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
2187 * aclocal.m4: Regenerate.
2188 * configure: Regenerate.
2190 2008-01-24 David Edelsohn <edelsohn@gnu.org>
2192 * configure: Regenerate.
2194 2007-10-14 H.J. Lu <hongjiu.lu@intel.com>
2196 * configure.ac: Don't run config-ml.in directly.
2197 (multilib_arg): New.
2198 * configure: Regenerated.
2200 2007-08-06 Andrew Pinski <pinskia@gmail.com>
2203 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
2204 of _Unwind_Word for variables which are used in
2205 read_uleb128/read_sleb128.
2206 (PERSONALITY_FUNCTION): Likewise.
2208 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
2210 * aclocal.m4: Regenerated.
2212 2007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
2214 * configure.ac: Fix a typo in *-*-darwin clause.
2215 * configure: Regenerated.
2217 2007-06-02 H.J. Lu <hongjiu.lu@intel.com>
2219 * configure.ac: Fix a typo.
2220 * configure: Regenerated.
2222 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
2224 * configure: Regenerate.
2226 2007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
2228 * Makefile.in: Replace all uses of libext with libsuffix.
2229 * configure.ac: Likewise.
2230 * configure: Regenerate.
2233 * Makefile.in: Remove all uses of $(libext).
2235 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
2237 * Makefile.in: Remove all uses of $(libext).
2239 2007-05-23 Steve Ellcey <sje@cup.hp.com>
2241 * configure: Regenerate.
2242 * aclocal.m4: Regenerate.
2244 2007-04-21 Andrew Ruder <andy@aeruder.net>
2246 * sendmsg.c (__objc_get_forward_imp): Call
2247 __objc_msg_forward2 for real.
2249 2007-04-09 Andrew Ruder <andy@aeruder.net>
2251 * sendmsg.c: Added __objc_msg_forward2, a hook that allows
2252 external libraries to provide a function that returns the real
2253 forwarding function based on both the selector and the receiver.
2254 * objc/objc-api.h: Define __objc_msg_forward2.
2256 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
2258 * Makefile.in: Add dummy install-pdf target.
2260 2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
2262 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2265 2006-10-31 Geoffrey Keating <geoffk@apple.com>
2267 * encoding.c (darwin_rs6000_special_round_type_align): New.
2269 2006-10-14 Geoffrey Keating <geoffk@apple.com>
2271 * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2272 * configure.ac: Use multi.m4 from aclocal rather than custom
2273 code. Use multi_basedir instead of toplevel_srcdir.
2274 * aclocal.m4: Regenerate.
2275 * configure: Regenerate.
2277 2006-10-10 Brooks Moses <bmoses@stanford.edu>
2279 * Makefile.in: Added empty "pdf" target.
2281 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
2283 * configure: Regenerate.
2285 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
2287 * Makefile.in: Add install-html target. Add install-html to .PHONY
2289 2006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2292 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2294 2006-01-24 David Ayers <d.ayers@inode.at>
2297 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2298 and insure the new strings are '\0' termintated.
2300 2006-01-24 David Ayers <d.ayers@inode.at>
2303 * configure.ac: Add include directives for --enable-objc-gc.
2304 * Makefile.in: Ditto.
2305 * configure: Regenerate.
2307 * gc.c (__objc_class_structure_encoding): Increment the used bytes
2308 instead of the local pointer to them.
2310 2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
2313 * objc/objc-api.c (_C_COMPLEX): New define.
2314 * encoding.c (objc_sizeof_type): Handle _C_Complex.
2315 (objc_alignof_type): Likewise.
2316 (objc_skip_typespec): Likewise.
2318 2005-12-15 David Ayers <d.ayers@inode.at>
2321 * README (+load,+initialize): Fix documentation to reflect
2322 intended and implemented semantics for +load and +initialize.
2324 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
2326 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2328 (get_inner_array_type): Fix to skip over _C_ARY_B and size.
2329 (rs6000_special_round_type_align): Update for the ABI fix.
2330 (objc_layout_finish_structure): Correct the encoding which is passed to
2333 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
2336 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2337 but use the struct layout functions.
2338 (objc_alignof_type): Likewise.
2339 (objc_layout_structure): Handle _C_UNION_B also.
2340 (objc_layout_structure_next_member): Likewise.
2341 (objc_layout_finish_structure): Likewise.
2343 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
2346 * objc/objc-api.h (_C_BOOL): New define.
2347 * encoding.c (objc_sizeof_type): Handle _C_BOOL.
2348 (objc_alignof_type): Likewise.
2349 (objc_skip_typespec): Likewise.
2351 2005-11-20 David Ayers <d.ayers@inode.at>
2354 * objc/hash.h: Remove deprecated hash API.
2355 * hash_compat.c: Remove.
2356 * Makefile.in: Remove reference to hash_compat.c.
2358 * configure.ac (VERSION): Bump library version to 2:0:0.
2359 * configure: Regenerate.
2361 2005-11-09 Alexandre Oliva <aoliva@redhat.com>
2364 * thr-objc.c (_XOPEN_SOURCE): Define.
2366 2005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
2369 * objc/objc-api.h (struct objc_ivar): Move definition to
2372 2005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
2373 Rasmus Hahn <rassahah@neofonie.de>
2376 * archive.c (objc_write_type): Correct the element offset.
2377 (objc_read_type): Likewise.
2379 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
2381 * All files: Update FSF address.
2383 2005-08-13 Marcin Koziej <creep@desk.pl>
2384 Andrew Pinski <pinskia@physics.uc.edu>
2387 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2389 2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
2391 * Makefile.in (extra_ldflags_libobjc): New.
2392 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2393 (libobjc_gc$(libext).la): Likewise.
2394 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2395 "-Wl,-single_module".
2396 * configure: Regenerate.
2397 * linking.m (_objcInit): Remove.
2399 2005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
2402 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
2404 2005-06-08 David Ayers <d.ayers@inode.at>
2406 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2407 objc/encoding.h, objc/hash.h, objc/objc-api.h,
2408 objc/runtime.h, objc/sarray.h, objc/thr.h,
2409 objc/typedstream.h: Do not include Objective-C headers as
2412 2005-06-07 David Ayers <d.ayers@inode.at>
2414 * archive.c, init.c, selector.c: Include hash.h.
2415 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2416 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2417 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2418 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2419 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2420 Include Objective-C headers with quotes and objc/ directory
2423 2005-05-19 Richard Henderson <rth@redhat.com>
2425 * exception.c: Revert last change.
2427 2005-05-19 David Ayers <d.ayers@inode.at>
2429 * exception.c: Include tsystem.h for unwind.h.
2431 2005-05-09 Mike Stump <mrs@apple.com>
2433 * configure: Regenerate.
2435 2005-04-12 Mike Stump <mrs@apple.com>
2437 * configure: Regenerate.
2439 2005-03-21 Zack Weinberg <zack@codesourcery.com>
2441 * Makefile.in: Set gcc_version here.
2442 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
2443 in definition of toolexeclibdir so that $(gcc_version) is expanded
2445 * aclocal.m4, configure: Regenerate.
2447 2005-03-03 David Ayers <d.ayers@inode.at>
2449 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2450 version reference. Correct typo.
2452 2005-03-02 David Ayers <d.ayers@inode.at>
2455 * Makefile.in (OBJS): Add hash_compat.lo.
2456 (OBJS_GC): Add hash_compat_gc.lo.
2457 (hash_compat_gc.lo): New target and rule.
2458 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2459 (hash_next, hash_value_for_key, hash_is_key_in_hash)
2460 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2461 with objc_. Add deprecated non prefixed inlined versions.
2462 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2464 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2465 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2467 * hash_compat.c: New file.
2468 * archive.c: Update callers.
2470 * selector.c: Likewise.
2471 * libobjc.def: Add objc_ versions of hash functions.
2473 2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
2476 * Makefile.in (GTHREAD_FLAGS): Remove.
2477 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2478 * thr-objc.c: Include config.h.
2479 * configure.ac: Instead of looking at GCC's makefile, figure out if
2480 GTHREAD_FLAGS should be defined by looking at the `thread model'
2482 * configure: Regenerate.
2483 * config.h.in: Regenerate.
2485 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
2488 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
2489 (Determine CFLAGS for gthread): Use $host_subdir.
2490 * configure: Regenerate.
2491 * Makefile.in (host_subdir): New.
2494 2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
2497 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2499 Include limits.h and stdlib.h.
2500 Define BITS_PER_WORD.
2502 2004-12-12 Alexander Malmberg <alexander@malmberg.org>
2504 * selector.c (__objc_init_selector_tables): Add missing void to
2507 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
2509 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2510 * configure, aclocal.m4: Regenerate.
2512 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
2514 * configure: Regenerate for libtool change.
2516 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
2518 * configure: Regenerate for libtool reversion.
2520 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
2522 * configure: Regenerate for libtool change.
2524 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
2526 * aclocal.m4, config.h.in: Regenerate.
2528 2004-10-08 Mike Stump <mrs@apple.com>
2529 Andrew Pinski <pinskia@physics.uc.edu>
2531 * aclocal.m4: Rename to ...
2532 * acinclude.m4: here and also use m4_include instead of sinclude.
2533 * aclocal.m4: Regenerate.
2534 * configure: Regenerate.
2535 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2536 * Makefile.in (configure): Add @MAINT@ infront of configure.ac
2538 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
2540 * archive.c: Fix all the warnings about passing unsigned char*
2541 to char* and the other way too.
2543 2004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
2546 * exception.c: Include config.h
2547 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2549 * configure.ac: Find out what exception handling code we use.
2550 * configure: Regenerate.
2551 * config.h.in: New file, regenerate.
2553 2004-09-16 Andrew Pinski <apinski@apple.com>
2555 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2557 2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
2559 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2560 ACX_NONCANONICAL_TARGET.
2561 * configure: Regenerate.
2563 2004-08-13 Ziemowit Laski <zlaski@apple.com>
2565 * objc/sarray.h: Hoist include of assert.h near the top of file,
2566 and mark the remainder of the file 'extern "C"'.
2568 2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
2570 * objc/Object.h: Move includes out of extern "C" blocks.
2571 * objc/encoding.h: Likewise.
2572 * objc/hash.h: Likewise.
2573 * objc/objc-api.h: Likewise.
2574 * objc/runtime.h: Likewise.
2575 * objc/sarray.h: Likewise.
2576 * objc/typedstream.h: Likewise.
2578 2004-08-12 Ziemowit Laski <zlaski@apple.com>
2580 * objc/NXConstStr.h: Update copyright date; bracket with
2581 'extern "C"' for C++ use; make include syntax consistent
2582 by using <...> instead of "..."; hoist <objc/...> includes
2583 above the 'extern "C"' block.
2584 * objc/Object.h: Likewise.
2585 * objc/Protocol.h: Likewise.
2586 * objc/encoding.h: Likewise.
2587 * objc/hash.h: Likewise.
2588 * objc/runtime.h: Likewise.
2589 * objc/sarray.h: Likewise.
2590 * objc/thr.h: Likewise.
2591 * objc/typedstream.h: Likewise.
2592 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
2593 (objc_static_instances): For C++ case, do away with
2595 (objc_method): Hoist definition to file scope.
2596 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2597 class_get_instance_method, class_create_instance,
2598 class_get_class_name, class_get_instance_size,
2599 class_get_meta_class, class_get_super_class, class_get_version,
2600 class_is_class, class_is_meta_class, class_set_version,
2601 class_get_gc_object_type, class_ivar_set_gcinvisible,
2602 get_imp): Rename 'class' parameter to '_class'.
2603 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
2604 * objc/objc.h: Update copyright date.
2605 (arglist_t): Provide a union tag.
2607 2004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
2609 * thr.c (__objc_thread_detach_function): Do not mark as volatile
2610 but instead use the attribute noreturn.
2612 2004-06-28 Zack Weinberg <zack@codesourcery.com>
2614 * encoding.c: Rename target_flags with a #define to avoid
2615 conflict with a prior declaration.
2617 2004-06-24 Andrew Pinski <apinski@apple.com>
2619 * objc/encoding.h: Wrap the functions with extern "C" for C++
2621 * objc/hash.h: Likewise.
2622 * objc/objc-api.h: Likewise.
2623 * objc/objc-list.h: Likewise.
2624 * objc/runtime.h: Likewise.
2625 * objc/sarray.h: Likewise.
2626 * objc/thr.h: Likewise.
2627 * objc/typedstream.h: Likewise.
2630 2004-06-21 Nick Clifton <nickc@redhat.com>
2632 * encoding.c (BITS_PER_UNIT): Define if a definition is not
2635 2004-06-20 Alexander Malmberg <alexander@malmberg.org>
2637 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2638 (exception_gc.lo): New.
2639 (OBJS_GC): Add exception_gc.lo.
2641 2004-06-17 Richard Henderson <rth@redhat.com>
2643 * exception.c: New file.
2644 * Makefile.in (exception.lo): New.
2647 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
2649 * linking.m (_objcInit): New empty function
2652 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
2654 * configure.ac: Support --enable-shared=libobjc.
2655 * configure: Regenerate.
2658 * configure.ac: Do not disable shared by default.
2659 * configure: Regenerate.
2661 2004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
2663 * Protocol.m ([-isEqual:]): Small optimizations returning
2664 immediately if the argument is equal to self, and accessing
2665 the argument's name directly if it's a protocol.
2667 2004-06-03 David Ayers <d.ayers@inode.at>
2669 * Protocol.m ([-isEqual:]): Test the class of the argument.
2671 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
2673 * configure.ac (includedir): Rename to ...
2675 * Makefile.in: s/includedir/includedirname/.
2678 * configure.ac (includedir): Set to "include"
2680 (libext) Set to empty except for Darwin.
2681 * configure: Regenerate
2682 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2683 s/include/$(includedir)/g.
2685 2004-05-25 Daniel Jacobowitz <drow@false.org>
2687 * Makefile.in: Add .NOEXPORT.
2689 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
2691 Merge from the libobjc-branch
2692 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
2694 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2696 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
2698 * Makefile.in (OBJC_H): Add objc-deps.h.
2700 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
2702 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2703 ([-hash], [-isEqual:]): New methods.
2705 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
2707 * sarray.c (sarray_free): Add a better comment.
2709 2004-01-27 Adam Fedor <fedor@gnu.org>
2711 * hash.c (hash_add): Cast cachep to int.
2712 * selector.c (__sel_register_typed_name): Cast
2713 soffset_decode to int.
2715 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
2717 * selector.c: Rename register_selectors_from_list to
2718 __objc_register_selectors_from_list. Update caller.
2719 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2720 while registering selectors. Use __sel_register_typed_name instead
2721 of sel_register_typed_name. Check for NULL method_name:s.
2722 (pool_alloc_selector): New function.
2723 (__sel_register_typed_name): Use pool_alloc_selector to allocate
2724 selector structures.
2725 * sendmsg.c (class_add_method_list): Use
2726 __objc_register_selectors_from_list.
2727 * objc/runtime.h: Add __objc_register_selectors_from_list.
2729 2004-01-25 Adam Fedor <fedor@gnu.org>
2730 Nicola Pero <n.pero@mi.flashnet.it>
2731 Andrew Pinski <pinskia@physics.uc.edu>
2733 * objc/objc-decls.h: New file.
2734 * objc/objc-api.h (_objc_lookup_class): Mark as export.
2735 (_objc_load_callback): Likewise.
2736 (_objc_object_alloc): Likewise.
2737 (_objc_object_copy): Likewise.
2738 (_objc_object_dispose): Likewise.
2740 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
2742 * archive.c: s/__inline__/inline
2743 * sendmsg.c: Likewise.
2745 * encoding.c: Remove FIXME about the warning
2746 about unused variable.
2747 * sendmsg.c: Add a FIXME comment saying that
2748 this should be using libffi.
2750 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2753 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
2755 * archive.c (objc_read_class): Initialize class_name.
2756 (objc_read_selector): Initialize selector_name.
2758 2004-05-09 Richard Sandiford <rsandifo@redhat.com>
2760 * Makefile.in (toolexecdir): Remove trailing space.
2762 2004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
2765 * configure.ac: De-precious CC so multilibs work.
2766 * configure: Regenerate.
2768 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
2770 * configure.ac: Restore toolexecdir.
2771 * Makefile.in: Restore toolexecdir.
2772 * configure: Regenerate.
2774 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
2776 * configure.ac: Remove (unused) glibcpp_prefixdir.
2777 * configure: Regenerate.
2779 * configure.in: Rename to configure.ac.
2780 * Makefile.in: Update to match.
2782 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2783 Replace glibcpp_toolexeclibdir with toolexeclibdir.
2784 * configure.in: Remove glibcpp_toolexecdir (unused).
2785 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
2786 config.h or stamp-h (unused). Move one comment to the right place.
2787 * configure: Regenerate.
2788 * config.h.in: Remove (unused).
2790 * config.h.in: Regenerate with autoheader.
2792 * Makefile.in: Remove (unused) gcc_version_trigger.
2793 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
2794 gcc_version_trigger.
2795 * configure: Regenerate.
2797 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2798 Sort file into sections. Remove dnl where appropriate. Fix
2800 * configure: Regenerate.
2802 * configure.in: Replace old AC_PROG_CC hack with new one.
2803 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2804 are no subdirectory output files, so this is fine). Change prereq
2806 * aclocal.m4: Include ../config/no-executables.m4.
2807 * configure: Regenerate with autoconf 2.59.
2809 * configure.in: Improve comments on gthread_cflags. Improve m4
2810 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2811 * configure: Regenerate.
2813 * configure.in: Move PACKAGE and VERSION settings up top. Remove
2814 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
2815 redundant checks for values of RANLIB, AR, INSTALL.
2816 * configure: Regenerate.
2818 * configure.in: Clean up handling of
2819 --enable-version-specific-runtime-libs and related variables;
2820 replace 'if test' with 'case' where reasonable. Fix comments.
2821 Remove useless libstdcxx_interface.
2822 * configure: Regenerate.
2824 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2825 Replace uses of target_alias with target_noncanonical.
2826 * aclocal.m4: Include ../config/acx.m4.
2827 * configure: Regenerate.
2828 * Makefile.in: Replace uses of target_alias with target_noncanonical.
2829 Fix copyright statement.
2831 * configure.in: Hand-inline bulky, confusing macros from
2832 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
2833 Update copyright notice. Remove stuff for automake, which isn't
2834 used in this directory. Remove emacs local variables.
2835 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
2836 * configure: Regenerate.
2838 2004-03-16 Manfred Hollstein <mh@suse.com>
2840 * Makefile.in, configure.in, configure: Update copyright years.
2842 2004-03-15 Manfred Hollstein <mh@suse.com>
2844 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2845 definition from configure.in.
2846 * configure.in (PACKAGE): Add definition.
2847 (VERSION): Add definition; substitute it in output files.
2848 * configure: Re-generate.
2850 2004-03-05 Ziemowit Laski <zlaski@apple.com>
2852 * objc/hash.h (hash_string, compare_strings):
2853 Add type-casts to make Objective-C++ happy.
2854 * objc/typedstream.h (objc_get_stream_class_version):
2855 Rename parameter from 'class' to 'class_name' to make
2856 Objective-C++ happy.
2858 2004-03-01 Michael Matz <matz@suse.de>
2860 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2862 2004-02-06 Ziemowit Laski <zlaski@apple.com>
2864 * objc/objc-api.h (objc_super): The 'class' field shall
2865 be named 'super_class' #ifdef __cplusplus.
2867 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
2870 * encoding.c (rs6000_special_round_type_align): Define.
2872 2004-01-14 Adam Fedor <fedor@gnu.org>
2875 * selector.c (__objc_register_instance_methods_to_class): Free
2876 new_list if not used.
2878 2004-01-09 Andrew Ruder <aeruder@ksu.edu>
2881 * sarray.c (sarray_free): Free array->is_copy_of latter.
2883 2003-12-01 Zack Weinberg <zack@codesourcery.com>
2886 * Protocol.m (descriptionForInstanceMethod): Don't dereference
2887 instance_methods if it's NULL.
2888 (descriptionForClassMethod): Likewise for class_methods.
2890 2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2892 * Makefile.in (runtime-info.h): Remove -Wp.
2894 2003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2896 * Makefile.in (CC1OBJ): Remove.
2897 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2899 Use .m extension for temporary file.
2900 Remove assembler temp file.
2902 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
2904 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
2906 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2908 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
2910 2003-09-09 Alan Modra <amodra@bigpond.net.au>
2912 * configure: Regenerate.
2914 2003-08-27 Alexander Malmberg <alexander@malmberg.org>
2916 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2917 (libdir)/gcc-lib/ when installing.
2918 * configure: Regenerate.
2920 Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
2923 * sendmsg.c (get_imp): Fixed rare threading problem.
2924 (__objc_responds_to): Similar fixes.
2925 (objc_msg_lookup): Similar fixes.
2926 (__objc_init_install_dtable): Lock the runtime before checking if the
2929 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
2931 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2932 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2933 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2934 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2935 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2936 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2937 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2938 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2939 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2940 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2941 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2943 Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
2944 Nicola Pero <n.pero@mi.flashnet.it>
2947 * init.c (class_superclass_of_class): New function.
2948 (create_tree_of_subclasses_inherited_from): Use it.
2949 (__objc_tree_insert_class): Likewise.
2950 (class_is_subclass_of_class): Likewise.
2952 2003-04-11 David Chad <davidc@freebsd.org>
2953 Loren J. Rittle <ljrittle@acm.org>
2956 * objc/hash.h (hash_string): Constify correctly.
2957 (compare_ptrs): Use direct compare.
2958 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2959 * objc/sarray.h: Global rename index to indx to avoid shadow.
2961 2003-03-12 Andreas Schwab <schwab@suse.de>
2963 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2964 glibcpp_toolexeclibdir.
2965 * configure: Rebuilt.
2967 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
2969 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2971 * configure: Rebuilt.
2973 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
2975 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2976 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2977 version_specific_libs is enabled.
2978 * configure: Rebuilt.
2980 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
2982 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2983 (install-libs, install-headers): Prepend $(DESTDIR) to
2984 destination paths in all (un)installation commands.
2986 2002-12-02 Zack Weinberg <zack@codesourcery.com>
2988 * thr-objc.c: Include coretypes.h and tm.h.
2990 2002-12-01 Zack Weinberg <zack@codesourcery.com>
2992 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2994 2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
2996 * configure.in: Remove skip-this-dir support.
2997 * configure: Regenerate.
2999 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3001 * Makefile.in (all): Fix multilib parallel build.
3003 Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
3005 * sendmsg.c (nil_method): Declare not to take a variable number of
3007 (objc_msg_lookup): Cast nil_method to IMP before returning it.
3008 (objc_msg_lookup_super): The same.
3010 2002-09-10 Jan Hubicka <jh@suse.cz>
3012 * nil_method.c (nil_method): No longer defined with variable
3015 2002-07-02 Rodney Brown <rbrown64@csc.com.au>
3017 * objc/encoding.h: Fix formatting.
3018 * objc/hash.h: Likewise.
3019 * objc/objc-api.h: Likewise.
3020 * objc/runtime.h: Likewise.
3021 * objc/thr.h: Likewise.
3022 * archive.c: Likewise.
3023 * class.c: Likewise.
3024 * encoding.c: Likewise.
3029 * nil_method.c: Likewise.
3030 * objects.c: Likewise.
3031 * sarray.c: Likewise.
3032 * selector.c: Likewise.
3033 * sendmsg.c: Likewise.
3034 * thr-mach.c: Likewise.
3037 2002-06-25 DJ Delorie <dj@redhat.com>
3039 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
3040 GLIBCPP_TOPREL_CONFIGURE.
3041 * configure.in: Call it before AC_CANONICAL_SYSTEM.
3042 * configure: Regenerate.
3044 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3046 * Object.m (forward, read, write): Fix unused parameter warnings.
3047 * encoding.c: Include <stdlib.h>.
3048 (target_flags): Mark with attribute unused.
3050 * runtime.h (__objc_selector_max_index): Change to unsigned int.
3051 (__objc_generate_gc_type_description): Prototype.
3052 * selector.c (__objc_selector_max_index): Change to unsigned int.
3054 Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
3056 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
3057 we always have a return value: if __objc_msg_forward does not
3058 supply a forwarding implementation, return the default
3059 __builtin_apply based one.
3061 2002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3063 * Object.m: Fix signed/unsigned warning.
3064 * Protocol.m: Likewise.
3065 * archive.c: Always include stdlib.h.
3066 (objc_read_short, objc_read_unsigned_short, objc_read_int,
3067 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
3068 Fix signed/unsigned warning.
3069 (objc_write_type, objc_read_type, objc_write_types,
3070 objc_read_types): Ensure ctype 8-bit safety.
3071 (__objc_no_write, __objc_no_read): Mark unused parameters.
3072 * class.c (class_table_setup): Specify void arg.
3073 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
3074 objc_skip_typespec, objc_skip_offset,
3075 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
3076 (objc_layout_structure_next_member): Ensure variables are
3078 * gc.c (__objc_generate_gc_type_description,
3079 class_ivar_set_gcinvisible): Mark unused parameters.
3080 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
3082 (__objc_init_protocols) Fix signed/unsigned warning.
3083 * nil_method.c (nil_method): Mark unused parameters.
3084 * thr.h (objc_thread_callback): Specify void arg.
3085 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
3086 signed/unsigned warning.
3087 (sarray_free): Fix formatting.
3088 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
3089 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
3091 2002-06-09 Andreas Jaeger <aj@suse.de>
3093 * encoding.c (objc_layout_structure_next_member): Remove unused
3096 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3098 * Makefile.in (SHELL): Set to @SHELL@.
3100 (ALL_CFLAGS): Add $(WARN_CFLAGS).
3102 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3104 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
3105 * configure: Regenerate.
3107 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
3109 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
3110 script entry, and set LD to it when configuring multilibs.
3111 * configure: Rebuilt.
3113 2002-04-19 David O'Brien <obrien@FreeBSD.org>
3115 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
3117 2002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
3120 * objc/objc-api.h (struct objc_protocol_list): Change type of
3121 member count from int to size_t.
3123 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
3126 * aclocal.m4: Replace with version copied from libstdc++-v3.
3127 * configure.in: Update for changes to aclocal and Makefile.
3128 * configure: Regenerate.
3129 * Makefile.in: Correct install of multilibs and shared libs, use
3130 INSTALL_DATA for include files.
3132 Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
3134 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
3135 categories - when an unclaimed category was found, the loop was
3136 doing two steps forward instead of one, so that in certain cases
3137 it was failing to properly load all the categories. (Reported
3138 with fix by Alexander Malmberg <alexander@malmberg.org>).
3140 2001-11-14 Aldy Hernandez <aldyh@redhat.com>
3142 * encoding.c: Add target_flags.
3144 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
3146 * objc/objc-api.h (_C_VECTOR): New.
3148 * encoding.c (VECTOR_TYPE): New.
3150 Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
3152 * class.c: Rewritten the class table to use optimized, lock-free
3153 lookup. This more than doubles the speed of class method
3154 invocations. (class_table_setup), (class_table_insert),
3155 (class_table_replace), (class_table_get_safe),
3156 (class_table_next), (class_table_print),
3157 (class_table_print_histogram): New functions.
3158 (__objc_init_class_tables): Use class_table_setup.
3159 (__objc_add_class_to_hash): Use class_table_get_safe and
3160 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
3161 assert the existence of the table; do not lock the runtime; use
3162 class_table_get_safe. (objc_next_class): Use class_table_next.
3163 (__objc_resolve_class_links): Use class_table_next.
3164 (class_pose_as): Use class_table_replace.
3166 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
3168 * gc.c: Removed the DEBUG declaration.
3170 Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
3172 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
3173 rather than through objc_thread_id, to save a function call.
3174 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
3177 Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
3179 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
3180 to cast an id to a Class, which can not be done. Make the check
3181 by using CLS_ISMETA on the class pointer instead.
3182 (object_is_meta_class): Similar fix.
3184 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
3186 * configure.in (AC_EXEEXT): Work around in case it expands to
3187 nothing, as in autoconf 2.50.
3188 * acinclude.m4: Likewise.
3189 * configure: Rebuilt.
3191 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
3193 * THREADS: Explain that when we compile libobjc inside GCC, we
3194 always use thr-objc.c as a backend, which uses GCC's thread code.
3196 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
3198 * init.c (__objc_send_message_in_list): When setting a new entry
3199 in __objc_load_methods use the method IMP as key, but check to see
3200 if the method is in the hashtable by looking at the IMP also.
3201 Also ... call the method after adding it to the hashtable rather
3202 than before ... thus preventing an obscure possibility of infinite
3203 recursion if a +load method itself loads a subclass.
3205 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
3207 * init.c (__objc_send_message_in_list): When setting a new entry
3208 in __objc_load_methods use the method name as key, not the method
3209 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
3211 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
3213 * objc-features.texi: Move to ../gcc/objc.texi.
3215 * Makefile.in: Don't generate documentation from
3218 2001-05-01 Mark Mitchell <mark@codesourcery.com>
3220 * fdl.texi: New file.
3221 * objc-features.texi: Simplify.
3222 * Makefile.in: Adjust accordingly.
3224 2001-04-30 Mark Mitchell <mark@codesourcery.com>
3226 * objc-features.texi: Use the GFDL.
3228 Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
3230 * encoding.c (REAL_TYPE): Define.
3232 2001-03-19 David Edelsohn <edelsohn@gnu.org>
3234 * encoding.c (TYPE_MODE): Define.
3236 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
3238 * thr.c (objc_thread_add): New function.
3239 (objc_thread_remove): Ditto.
3240 * objc/thr.h: Declare them.
3241 * libobjc.def: Mention them.
3243 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
3245 * objc-features.texi: Document the @compatibility_alias compiler
3246 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3248 Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
3250 * sendmsg.c (__objc_forward): Delete strlen() declaration.
3252 2001-02-08 Geoffrey Keating <geoffk@redhat.com>
3254 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3255 we're not interested in the result and they might fail.
3256 * configure: Regenerated.
3258 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
3260 * objc-features.texi: Use @email.
3262 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
3264 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3267 2000-01-11 Richard Earnshaw <rearnsha@arm.com>
3269 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3270 determines the value dynamically.
3272 Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
3274 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
3275 libraries to provide a function that returns the real forwarding
3276 function. This can alleviate problems __builtin_apply() and
3277 friends have on various platforms. (Solution suggested by Helge
3280 * objc/objc-api.h: Define __objc_msg_forward.
3282 * sendmsg.c: Define gen_rtx_REG.
3284 2000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3286 * thr-rtems.c: New file. Stub to compile.
3288 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
3290 * configure: Rebuilt with new libtool.m4.
3292 Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
3294 * configure.in: Create a config.h file. Check for <sched.h>.
3295 * configure: Regenerate.
3297 * config.h.in: Check for <sched.h>.
3299 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
3301 * configure: Regenerate after change to ../libtool.m4.
3303 2000-08-14 Andreas Schwab <schwab@suse.de>
3305 * objc-features.texi (Top): Move @menu at end of node.
3307 2000-08-11 Manfred Hollstein <manfredh@redhat.com>
3309 * objc-features.texi: Move @node Top before @menu.
3311 Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
3313 * objc-features.texi: Documented the new -fconstant-string-class
3316 Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
3318 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3319 improve the Posix thread support for Objective-C.
3321 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
3323 * aclocal.m4: Replace copy of ../libtool.m4 with
3324 sinclude(../libtool.m4).
3326 Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
3328 * configure.in: Added libtool support; build shared libraries
3329 if --enable-shared was passed on command line.
3330 * Makefile.in: Modified most compilation commands to use libtool.
3331 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
3332 libtool distribution.
3334 Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
3336 * sarray.c, Object.m: Removed the explicit prototypes for strlen
3337 and memcpy on 64-bit platforms (Suggested by Rodney Brown
3340 2000-05-12 H.J. Lu (hjl@gnu.org)
3342 * Makefile.in (GTHREAD_FLAGS): New.
3343 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3344 (OBJC_THREAD_FILE): Changed to thr-objc.
3346 * configure.in (GTHREAD_FLAGS): New, check and replace it for
3348 (OBJC_THREAD_FILE): Removed.
3352 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3354 * objc/hash.h: Include string.h.
3356 2000-04-15 David Edelsohn <edelsohn@gnu.org>
3358 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3360 2000-04-12 Jakub Jelinek <jakub@redhat.com>
3362 * Object.m (strlen): Provide prototype on all 64bit platforms,
3364 * sarray.c (memcpy): Likewise.
3365 * encoding.c (objc_layout_finish_structure): Don't use
3366 ROUND_TYPE_ALIGN on sparc.
3368 * encoding.c (objc_layout_structure_next_member): Do the whole
3369 procedure even for the first member, so that we get correct
3372 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
3374 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3377 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
3379 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3381 Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
3383 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3385 Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
3387 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3388 the compiler when building C code.
3390 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
3392 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3393 libdir, libsubdir and tooldir.
3395 Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
3397 * init.c (__objc_force_linking): Make global.
3399 Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
3401 * configure.in (AC_EXEEXT): Remove call.
3402 (compiler_name): Explicitly check with no extension and .exe
3404 * configure: Regenerate.
3406 Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
3408 * Makefile.in (CC1OBJ): Define in terms of CC.
3409 (runtime-info.h): Use.
3411 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3413 * objc-features.texi: Updated the URL to Boehm's GC page.
3415 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3417 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3418 the char as being signed (patch from Daniel Jacobowitz
3421 Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
3423 * configure.in (AC_PREREQ): Update to 2.13.
3424 (AC_EXEEXT): Call to find possible file extension.
3425 (compiler_name): Use.
3426 * configure: Regenerate.
3428 Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
3430 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3432 Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
3434 * configure.in (thread_file): Correct and simplify code to find
3436 * configure: Rebuilt.
3438 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
3440 * configure.in (compiler_name): Add check to detect if this
3441 language's compiler has been built.
3442 * configure: Regenerate.
3444 Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3446 * configure.in: Use AC_PREREQ(2.12.1).
3448 Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
3450 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
3452 Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3454 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3456 Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
3458 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3460 Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
3462 * objc-features.texi (Top): Changed the email address.
3463 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
3465 Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
3467 * encoding.c: Redefine get_inner_array_type to get the first entry
3470 Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
3472 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3473 (objc_get_type_qualifiers): Similarly.
3474 * objc/encoding.h (_C_BYREF): Define.
3477 1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
3479 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
3480 works out on 64-bit systems.
3482 Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
3484 * Makefile.in (INCLUDES): Make it multilib-friendly.
3486 Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
3488 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3490 Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
3491 Jeffrey A Law (law@cygnus.com)
3493 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3494 (FLAGS_TO_PASS): Added.
3495 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3497 * archive.c: Change config.h to tconfig.h.
3499 * configure.in: Find gcc's object directory even for multilibs.
3501 Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
3503 * configure.in: Escape ^ in grep string.
3504 * configure: Rebuilt.
3506 Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
3508 * All .h files pushed down into the objc/ subdirectory.
3509 * Makefile.in (copy_headers): Corresponding changes.
3510 * configure.in (AC_INIT): Corresponding changes.
3511 * configure: Rebuilt.
3513 1998-09-30 Ben Elliston <bje@cygnus.com>
3514 Jeff Law <law@cygnus.com>
3516 * Makefile.in: Rewrite.
3518 * configure.in: Likewise.
3520 * configure: Regenerate.
3522 * All .c files. Remove "objc" prefix when including objc header
3523 files. Include tconfig.h, not ../tconfig.h.
3525 Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
3527 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3528 (get_inner_array_type): Define.
3530 1998-09-21 Ben Elliston <bje@cygnus.com>
3532 * New directory. Moved files from ../gcc/objc.
3534 Copyright (C) 1998-2019 Free Software Foundation, Inc.
3536 Copying and distribution of this file, with or without modification,
3537 are permitted in any medium without royalty provided the copyright
3538 notice and this notice are preserved.