OSDN Git Service

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