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