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