OSDN Git Service

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