OSDN Git Service

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