OSDN Git Service

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