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