OSDN Git Service

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