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