OSDN Git Service

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