OSDN Git Service

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