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