OSDN Git Service

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