OSDN Git Service

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