* config/frv/frv.md (*adddi3_internal): Change name to...
[official-gcc.git] / libobjc / ChangeLog
blob8f06ee8a758275b2650c5a9df90447d0c0cabbdf
1 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
3         * archive.c: Fix all the warnings about passing unsigned char*
4         to char* and the other way too.
6 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
8         PR libobjc/16448
9         * exception.c: Include config.h
10         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
11         SJLJ_EXCEPTIONS.
12         * configure.ac: Find out what exception handling code we use.
13         * configure: Regenerate.
14         * config.h.in: New file, regenerate.
16 2004-09-16  Andrew Pinski  <apinski@apple.com>
18         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
20 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
22         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
23         ACX_NONCANONICAL_TARGET.
24         * configure: Regenerate.
26 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
28         * objc/sarray.h: Hoist include of assert.h near the top of file,
29         and mark the remainder of the file 'extern "C"'.
31 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
33         * objc/Object.h: Move includes out of extern "C" blocks.
34         * objc/encoding.h: Likewise.
35         * objc/hash.h: Likewise.
36         * objc/objc-api.h: Likewise.
37         * objc/runtime.h: Likewise.
38         * objc/sarray.h: Likewise.
39         * objc/typedstream.h: Likewise.
41 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
43         * objc/NXConstStr.h: Update copyright date; bracket with
44         'extern "C"' for C++ use; make include syntax consistent
45         by using <...> instead of "..."; hoist <objc/...> includes
46         above the 'extern "C"' block.
47         * objc/Object.h: Likewise.
48         * objc/Protocol.h: Likewise.
49         * objc/encoding.h: Likewise.
50         * objc/hash.h: Likewise.
51         * objc/runtime.h: Likewise.
52         * objc/sarray.h: Likewise.
53         * objc/thr.h: Likewise.
54         * objc/typedstream.h: Likewise.
55         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
56         (objc_static_instances): For C++ case, do away with
57         zero-sized array.
58         (objc_method): Hoist definition to file scope.
59         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
60         class_get_instance_method, class_create_instance, 
61         class_get_class_name, class_get_instance_size,
62         class_get_meta_class, class_get_super_class, class_get_version,
63         class_is_class, class_is_meta_class, class_set_version,
64         class_get_gc_object_type, class_ivar_set_gcinvisible,
65         get_imp): Rename 'class' parameter to '_class'.
66         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
67         * objc/objc.h: Update copyright date.
68         (arglist_t): Provide a union tag.
70 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
72         * thr.c (__objc_thread_detach_function): Do not mark as volatile
73         but instead use the attribute noreturn.
75 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
77         * encoding.c: Rename target_flags with a #define to avoid
78         conflict with a prior declaration.
80 2004-06-24  Andrew Pinski  <apinski@apple.com>
82         * objc/encoding.h: Wrap the functions with extern "C" for C++
83         mode.
84         * objc/hash.h: Likewise.
85         * objc/objc-api.h: Likewise.
86         * objc/objc-list.h: Likewise.
87         * objc/runtime.h: Likewise.
88         * objc/sarray.h: Likewise.
89         * objc/thr.h: Likewise.
90         * objc/typedstream.h: Likewise.
93 2004-06-21  Nick Clifton  <nickc@redhat.com>
95         * encoding.c (BITS_PER_UNIT): Define if a definition is not
96         provided.
98 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
100         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
101         (exception_gc.lo): New.
102         (OBJS_GC): Add exception_gc.lo.
104 2004-06-17  Richard Henderson  <rth@redhat.com>
106         * exception.c: New file.
107         * Makefile.in (exception.lo): New.
108         (OBJS): Add it.
110 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
112         * linking.m (_objcInit): New empty function
113         for Darwin only.
115 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
117         * configure.ac: Support --enable-shared=libobjc.
118         * configure: Regenerate.
120         PR libobjc/15901
121         * configure.ac: Do not disable shared by default.
122         * configure: Regenerate.
124 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
126         * Protocol.m ([-isEqual:]): Small optimizations returning
127         immediately if the argument is equal to self, and accessing
128         the argument's name directly if it's a protocol.
130 2004-06-03  David Ayers  <d.ayers@inode.at>
132         * Protocol.m ([-isEqual:]): Test the class of the argument.
134 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
136         * configure.ac (includedir): Rename to ...
137         (includedirname).
138         * Makefile.in: s/includedir/includedirname/.
140         PR target/11572
141         * configure.ac (includedir): Set to "include"
142         except for Darwin.
143         (libext) Set to empty except for Darwin.
144         * configure: Regenerate
145         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
146         s/include/$(includedir)/g.
148 2004-05-25  Daniel Jacobowitz  <drow@false.org>
150         * Makefile.in: Add .NOEXPORT.
152 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
154         Merge from the libobjc-branch
155         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
157                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
159         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
161                 * Makefile.in (OBJC_H): Add objc-deps.h.
163         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
165                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
166                 ([-hash], [-isEqual:]): New methods.
168         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
170                 * sarray.c (sarray_free): Add a better comment.
172         2004-01-27  Adam Fedor  <fedor@gnu.org>
174                 * hash.c (hash_add): Cast cachep to int.
175                 * selector.c (__sel_register_typed_name): Cast
176                 soffset_decode to int.
178         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
180                 * selector.c: Rename register_selectors_from_list to
181                 __objc_register_selectors_from_list. Update caller.
182                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
183                 while registering selectors. Use __sel_register_typed_name instead
184                 of sel_register_typed_name. Check for NULL method_name:s.
185                 (pool_alloc_selector): New function.
186                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
187                 selector structures.
188                 * sendmsg.c (class_add_method_list): Use
189                 __objc_register_selectors_from_list.
190                 * objc/runtime.h: Add __objc_register_selectors_from_list.
192         2004-01-25  Adam Fedor  <fedor@gnu.org>
193                     Nicola Pero  <n.pero@mi.flashnet.it>
194                     Andrew Pinski  <pinskia@physics.uc.edu>
196                 * objc/objc-decls.h: New file.
197                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
198                 (_objc_load_callback): Likewise.
199                 (_objc_object_alloc): Likewise.
200                 (_objc_object_copy): Likewise.
201                 (_objc_object_dispose): Likewise.
203         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
205                 * archive.c: s/__inline__/inline
206                 * sendmsg.c: Likewise.
208                 * encoding.c: Remove FIXME about the warning
209                 about unused variable.
210                 * sendmsg.c: Add a FIXME comment saying that
211                 this should be using libffi.
213                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
216 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
218         * archive.c (objc_read_class): Initialize class_name.
219         (objc_read_selector): Initialize selector_name.
221 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
223         * Makefile.in (toolexecdir): Remove trailing space.
225 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
227         PR libobjc/14948
228         * configure.ac: De-precious CC so multilibs work.
229         * configure: Regenerate.
231 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
233         * configure.ac: Restore toolexecdir.
234         * Makefile.in: Restore toolexecdir.
235         * configure: Regenerate.
237 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
239         * configure.ac: Remove (unused) glibcpp_prefixdir.
240         * configure: Regenerate.
242         * configure.in: Rename to configure.ac.
243         * Makefile.in: Update to match.
245         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
246         Replace glibcpp_toolexeclibdir with toolexeclibdir.
247         * configure.in: Remove glibcpp_toolexecdir (unused).
248         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
249         config.h or stamp-h (unused).  Move one comment to the right place.
250         * configure: Regenerate.
251         * config.h.in: Remove (unused).
253         * config.h.in: Regenerate with autoheader.
255         * Makefile.in: Remove (unused) gcc_version_trigger.
256         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
257         gcc_version_trigger.
258         * configure: Regenerate.
260         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
261         Sort file into sections.  Remove dnl where appropriate.  Fix
262         other style issues.
263         * configure: Regenerate.
265         * configure.in: Replace old AC_PROG_CC hack with new one.
266         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
267         are no subdirectory output files, so this is fine).  Change prereq
268         to autoconf 2.59.
269         * aclocal.m4: Include ../config/no-executables.m4.
270         * configure: Regenerate with autoconf 2.59.
272         * configure.in: Improve comments on gthread_cflags.  Improve m4
273         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
274         * configure: Regenerate.
276         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
277         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
278         redundant checks for values of RANLIB, AR, INSTALL.
279         * configure: Regenerate.
281         * configure.in: Clean up handling of
282         --enable-version-specific-runtime-libs and related variables;
283         replace 'if test' with 'case' where reasonable.  Fix comments.
284         Remove useless libstdcxx_interface.
285         * configure: Regenerate.
287         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
288         Replace uses of target_alias with target_noncanonical.
289         * aclocal.m4: Include ../config/acx.m4.
290         * configure: Regenerate.
291         * Makefile.in: Replace uses of target_alias with target_noncanonical.
292         Fix copyright statement.
294         * configure.in: Hand-inline bulky, confusing macros from
295         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
296         Update copyright notice.  Remove stuff for automake, which isn't
297         used in this directory.  Remove emacs local variables.
298         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
299         * configure: Regenerate.
301 2004-03-16  Manfred Hollstein  <mh@suse.com>
303         * Makefile.in, configure.in, configure: Update copyright years.
305 2004-03-15  Manfred Hollstein  <mh@suse.com>
307         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
308         definition from configure.in.
309         * configure.in (PACKAGE): Add definition.
310         (VERSION): Add definition; substitute it in output files.
311         * configure: Re-generate.
313 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
315         * objc/hash.h (hash_string, compare_strings):
316         Add type-casts to make Objective-C++ happy.
317         * objc/typedstream.h (objc_get_stream_class_version):
318         Rename parameter from 'class' to 'class_name' to make
319         Objective-C++ happy.
321 2004-03-01  Michael Matz  <matz@suse.de>
323         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
325 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
327         * objc/objc-api.h (objc_super): The 'class' field shall
328         be named 'super_class' #ifdef __cplusplus.
330 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
332         PR target/10781
333         * encoding.c (rs6000_special_round_type_align): Define.
335 2004-01-14  Adam Fedor  <fedor@gnu.org>
337         PR libobjc/12155
338         * selector.c (__objc_register_instance_methods_to_class): Free
339         new_list if not used.
341 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
343         PR libobjc/11904
344         * sarray.c (sarray_free): Free array->is_copy_of latter.
346 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
348         PR 11433
349         * Protocol.m (descriptionForInstanceMethod): Don't dereference
350         instance_methods if it's NULL.
351         (descriptionForClassMethod): Likewise for class_methods.
353 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
355         * Makefile.in (runtime-info.h): Remove -Wp.
357 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
359         * Makefile.in (CC1OBJ): Remove.
360         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
361         correctly.
362         Use .m extension for temporary file.
363         Remove assembler temp file.
365 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
367         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
369 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
371         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
373 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
375         * configure: Regenerate.
377 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
379         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
380         (libdir)/gcc-lib/ when installing.
381         * configure: Regenerate.
383 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
385         libobjc/9969
386         * sendmsg.c (get_imp): Fixed rare threading problem.
387         (__objc_responds_to): Similar fixes.
388         (objc_msg_lookup): Similar fixes.
389         (__objc_init_install_dtable): Lock the runtime before checking if the
390         table is installed.
392 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
394         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
395         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
396         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
397         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
398         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
399         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
400         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
401         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
402         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
403         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
404         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
406 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
407                           Nicola Pero  <n.pero@mi.flashnet.it>
409         libobjc/10742
410         * init.c (class_superclass_of_class): New function.
411         (create_tree_of_subclasses_inherited_from): Use it.
412         (__objc_tree_insert_class): Likewise.
413         (class_is_subclass_of_class): Likewise.
415 2003-04-11  David Chad  <davidc@freebsd.org>
416             Loren J. Rittle  <ljrittle@acm.org>
418         libobjc/8562
419         * objc/hash.h (hash_string): Constify correctly.
420         (compare_ptrs): Use direct compare.
421         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
422         * objc/sarray.h: Global rename index to indx to avoid shadow.
424 2003-03-12  Andreas Schwab  <schwab@suse.de>
426         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
427         glibcpp_toolexeclibdir.
428         * configure: Rebuilt.
430 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
432         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
433         config.status.
434         * configure: Rebuilt.
436 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
438         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
439         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
440         version_specific_libs is enabled.
441         * configure: Rebuilt.
443 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
445         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
446         (install-libs, install-headers): Prepend $(DESTDIR) to
447         destination paths in all (un)installation commands.
449 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
451         * thr-objc.c: Include coretypes.h and tm.h.
453 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
455         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
457 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
459         * configure.in: Remove skip-this-dir support.
460         * configure: Regenerate.
462 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
464         * Makefile.in (all): Fix multilib parallel build.
466 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
468         * sendmsg.c (nil_method): Declare not to take a variable number of
469         args.
470         (objc_msg_lookup): Cast nil_method to IMP before returning it.
471         (objc_msg_lookup_super): The same.
473 2002-09-10  Jan Hubicka  <jh@suse.cz>
475         * nil_method.c (nil_method): No longer defined with variable
476         arguments.
478 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
480         * objc/encoding.h: Fix formatting.
481         * objc/hash.h: Likewise.
482         * objc/objc-api.h: Likewise.
483         * objc/runtime.h: Likewise.
484         * objc/thr.h: Likewise.
485         * archive.c: Likewise.
486         * class.c: Likewise.
487         * encoding.c: Likewise.
488         * gc.c: Likewise.
489         * hash.c: Likewise.
490         * init.c: Likewise.
491         * misc.c: Likewise.
492         * nil_method.c: Likewise.
493         * objects.c: Likewise.
494         * sarray.c: Likewise.
495         * selector.c: Likewise.
496         * sendmsg.c: Likewise.
497         * thr-mach.c: Likewise.
498         * thr.c: Likewise.
500 2002-06-25  DJ Delorie  <dj@redhat.com>
502         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
503         GLIBCPP_TOPREL_CONFIGURE.
504         * configure.in: Call it before AC_CANONICAL_SYSTEM.
505         * configure: Regenerate.
507 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
509         * Object.m (forward, read, write): Fix unused parameter warnings.
510         * encoding.c: Include <stdlib.h>.
511         (target_flags): Mark with attribute unused.
512         (atoi): Delete.
513         * runtime.h (__objc_selector_max_index): Change to unsigned int.
514         (__objc_generate_gc_type_description): Prototype.
515         * selector.c (__objc_selector_max_index): Change to unsigned int.
517 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
519         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
520         we always have a return value: if __objc_msg_forward does not
521         supply a forwarding implementation, return the default
522         __builtin_apply based one.
524 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
526         * Object.m: Fix signed/unsigned warning.
527         * Protocol.m: Likewise.
528         * archive.c: Always include stdlib.h.
529         (objc_read_short, objc_read_unsigned_short, objc_read_int,
530         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
531         Fix signed/unsigned warning.
532         (objc_write_type, objc_read_type, objc_write_types,
533         objc_read_types): Ensure ctype 8-bit safety.
534         (__objc_no_write, __objc_no_read): Mark unused parameters.
535         * class.c (class_table_setup): Specify void arg.
536         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
537         objc_skip_typespec, objc_skip_offset,
538         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
539         (objc_layout_structure_next_member): Ensure variables are
540         initialized.
541         * gc.c (__objc_generate_gc_type_description,
542         class_ivar_set_gcinvisible): Mark unused parameters.
543         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
544         unused parameters.
545         (__objc_init_protocols) Fix signed/unsigned warning.
546         * nil_method.c (nil_method): Mark unused parameters.
547         * thr.h (objc_thread_callback): Specify void arg.
548         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
549         signed/unsigned warning.
550         (sarray_free): Fix formatting.
551         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
552         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
554 2002-06-09  Andreas Jaeger  <aj@suse.de>
556         * encoding.c (objc_layout_structure_next_member): Remove unused
557         variable.
559 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
561         * Makefile.in (SHELL): Set to @SHELL@.
562         (WARN_CFLAGS): New.
563         (ALL_CFLAGS): Add $(WARN_CFLAGS).
565 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
567         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
568         * configure: Regenerate.
570 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
572         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
573         script entry, and set LD to it when configuring multilibs.
574         * configure: Rebuilt.
576 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
578         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
580 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
582         PR objc/6107
583         * objc/objc-api.h (struct objc_protocol_list): Change type of
584         member count from int to size_t.
586 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
588         PR libobjc/4039
589         * aclocal.m4: Replace with version copied from libstdc++-v3.
590         * configure.in: Update for changes to aclocal and Makefile.
591         * configure: Regenerate.
592         * Makefile.in: Correct install of multilibs and shared libs, use
593         INSTALL_DATA for include files.
595 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
597         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
598         categories - when an unclaimed category was found, the loop was
599         doing two steps forward instead of one, so that in certain cases
600         it was failing to properly load all the categories.  (Reported
601         with fix by Alexander Malmberg <alexander@malmberg.org>).
603 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
605         * encoding.c: Add target_flags.
607 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
609          * objc/objc-api.h (_C_VECTOR): New.
611          * encoding.c (VECTOR_TYPE): New.
613 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
615         * class.c: Rewritten the class table to use optimized, lock-free
616         lookup.  This more than doubles the speed of class method
617         invocations.  (class_table_setup), (class_table_insert),
618         (class_table_replace), (class_table_get_safe),
619         (class_table_next), (class_table_print),
620         (class_table_print_histogram): New functions.
621         (__objc_init_class_tables): Use class_table_setup.
622         (__objc_add_class_to_hash): Use class_table_get_safe and
623         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
624         assert the existence of the table; do not lock the runtime; use
625         class_table_get_safe.  (objc_next_class): Use class_table_next.
626         (__objc_resolve_class_links): Use class_table_next.
627         (class_pose_as): Use class_table_replace.
629 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
631         * gc.c: Removed the DEBUG declaration.
633 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
635         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
636         rather than through objc_thread_id, to save a function call.
637         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
638         Ditto.
640 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
642         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
643         to cast an id to a Class, which can not be done.  Make the check
644         by using CLS_ISMETA on the class pointer instead.
645         (object_is_meta_class): Similar fix.
647 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
649         * configure.in (AC_EXEEXT): Work around in case it expands to
650         nothing, as in autoconf 2.50.
651         * acinclude.m4: Likewise.
652         * configure: Rebuilt.
654 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
656         * THREADS: Explain that when we compile libobjc inside GCC, we
657         always use thr-objc.c as a backend, which uses GCC's thread code.
659 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
661         * init.c (__objc_send_message_in_list): When setting a new entry
662         in __objc_load_methods use the method IMP as key, but check to see
663         if the method is in the hashtable by looking at the IMP also.
664         Also ... call the method after adding it to the hashtable rather
665         than before ... thus preventing an obscure possibility of infinite
666         recursion if a +load method itself loads a subclass.
668 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
670         * init.c (__objc_send_message_in_list): When setting a new entry
671         in __objc_load_methods use the method name as key, not the method
672         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
674 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
676         * objc-features.texi: Move to ../gcc/objc.texi.
677         * fdl.texi: Remove.
678         * Makefile.in: Don't generate documentation from
679         objc-features.texi.
681 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
683         * fdl.texi: New file.
684         * objc-features.texi: Simplify.
685         * Makefile.in: Adjust accordingly.
687 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
689         * objc-features.texi: Use the GFDL.
691 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
693         * encoding.c (REAL_TYPE): Define.
695 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
697         * encoding.c (TYPE_MODE): Define.
699 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
701         * thr.c (objc_thread_add): New function.
702         (objc_thread_remove): Ditto.
703         * objc/thr.h: Declare them.
704         * libobjc.def: Mention them.
706 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
708         * objc-features.texi: Document the @compatibility_alias compiler
709         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
711 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
713         * sendmsg.c (__objc_forward): Delete strlen() declaration.
715 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
717         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
718         we're not interested in the result and they might fail.
719         * configure: Regenerated.
721 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
723         * objc-features.texi: Use @email.
725 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
727         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
728         printf.
730 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
732         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
733         determines the value dynamically.
735 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
737         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
738         libraries to provide a function that returns the real forwarding
739         function. This can alleviate problems __builtin_apply() and
740         friends have on various platforms. (Solution suggested by Helge
741         Hess.)
743         * objc/objc-api.h: Define __objc_msg_forward.
745         * sendmsg.c: Define gen_rtx_REG.
747 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
749         * thr-rtems.c: New file. Stub to compile.
751 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
753         * configure: Rebuilt with new libtool.m4.
755 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
757         * configure.in: Create a config.h file. Check for <sched.h>.
758         * configure: Regenerate.
760         * config.h.in: Check for <sched.h>.
762 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
764         * configure: Regenerate after change to ../libtool.m4.
766 2000-08-14  Andreas Schwab  <schwab@suse.de>
768         * objc-features.texi (Top): Move @menu at end of node.
770 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
772         * objc-features.texi: Move @node Top before @menu.
774 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
776         * objc-features.texi: Documented the new -fconstant-string-class
777         option.
779 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
781         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
782         improve the Posix thread support for Objective-C.
784 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
786         * aclocal.m4: Replace copy of ../libtool.m4 with
787         sinclude(../libtool.m4).
789 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
791         * configure.in: Added libtool support; build shared libraries
792         if --enable-shared was passed on command line.
793         * Makefile.in: Modified most compilation commands to use libtool.
794         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
795         libtool distribution.
797 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
799         * sarray.c, Object.m: Removed the explicit prototypes for strlen
800         and memcpy on 64-bit platforms (Suggested by Rodney Brown
801         <rdb@cup.hp.com>).
803 2000-05-12  H.J. Lu  (hjl@gnu.org)
805         * Makefile.in (GTHREAD_FLAGS): New.
806         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
807         (OBJC_THREAD_FILE): Changed to thr-objc.
809         * configure.in (GTHREAD_FLAGS): New, check and replace it for
810         Makefile.
811         (OBJC_THREAD_FILE): Removed.
813         * thr-objc.c: New.
815 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
817         * objc/hash.h: Include string.h.
819 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
821         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
823 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
825         * Object.m (strlen): Provide prototype on all 64bit platforms,
826         not only alpha.
827         * sarray.c (memcpy): Likewise.
828         * encoding.c (objc_layout_finish_structure): Don't use
829         ROUND_TYPE_ALIGN on sparc.
831         * encoding.c (objc_layout_structure_next_member): Do the whole
832         procedure even for the first member, so that we get correct
833         alignment.
835 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
837         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
838         comments.
840 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
842         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
844 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
846         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
848 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
850         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
851         the compiler when building C code.
853 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
855         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
856         libdir, libsubdir and tooldir.
858 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
860         * init.c (__objc_force_linking): Make global.
862 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
864         * configure.in (AC_EXEEXT): Remove call.
865         (compiler_name): Explicitly check with no extension and .exe
866         extension.
867         * configure: Regenerate.
869 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
871         * Makefile.in (CC1OBJ): Define in terms of CC.
872         (runtime-info.h): Use.
874 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
876         * objc-features.texi: Updated the URL to Boehm's GC page.
878 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
880         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
881         the char as being signed (patch from Daniel Jacobowitz
882         <drow@false.org>).
884 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
886         * configure.in (AC_PREREQ): Update to 2.13.
887         (AC_EXEEXT): Call to find possible file extension.
888         (compiler_name): Use.
889         * configure: Regenerate.
891 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
893         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
895 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
897         * configure.in (thread_file): Correct and simplify code to find
898         the thread file.
899         * configure: Rebuilt.
901 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
903         * configure.in (compiler_name): Add check to detect if this
904         language's compiler has been built.
905         * configure: Regenerate.
907 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
909         *  configure.in: Use AC_PREREQ(2.12.1).
911 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
913         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
915 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
917         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
919 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
921         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
923 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
925         * objc-features.texi (Top): Changed the email address.
926         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
928 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
930         * encoding.c: Redefine get_inner_array_type to get the first entry
931         in the structure.
933 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
935         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
936         (objc_get_type_qualifiers): Similarly.
937         * objc/encoding.h (_C_BYREF): Define.
938         (_F_BYREF): Define.
940 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
942         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
943         works out on 64-bit systems.
945 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
947         * Makefile.in (INCLUDES): Make it multilib-friendly.
949 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
951         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
953 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
954                          Jeffrey A Law  (law@cygnus.com)
956         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
957         (FLAGS_TO_PASS): Added.
958         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
960         * archive.c: Change config.h to tconfig.h.
962         * configure.in: Find gcc's object directory even for multilibs.
964 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
966         * configure.in: Escape ^ in grep string.
967         * configure: Rebuilt.
969 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
971         * All .h files pushed down into the objc/ subdirectory.
972         * Makefile.in (copy_headers): Corresponding changes.
973         * configure.in (AC_INIT): Corresponding changes.
974         * configure: Rebuilt.
976 1998-09-30  Ben Elliston  <bje@cygnus.com>
977             Jeff Law      <law@cygnus.com>
979         * Makefile.in: Rewrite.
981         * configure.in: Likewise.
983         * configure: Regenerate.
985         * All .c files.  Remove "objc" prefix when including objc header
986         files.  Include tconfig.h, not ../tconfig.h.
988 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
990         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
991         (get_inner_array_type): Define.
993 1998-09-21  Ben Elliston  <bje@cygnus.com>
995         * New directory.  Moved files from ../gcc/objc.