OSDN Git Service

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