OSDN Git Service

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