Fix typo.
[official-gcc.git] / libobjc / ChangeLog
blobc10832bccc54d996b4a6639e5e04b9ef880ce00d
1 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
3         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
4         ACX_NONCANONICAL_TARGET.
5         * configure: Regenerate.
7 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
9         * objc/sarray.h: Hoist include of assert.h near the top of file,
10         and mark the remainder of the file 'extern "C"'.
12 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
14         * objc/Object.h: Move includes out of extern "C" blocks.
15         * objc/encoding.h: Likewise.
16         * objc/hash.h: Likewise.
17         * objc/objc-api.h: Likewise.
18         * objc/runtime.h: Likewise.
19         * objc/sarray.h: Likewise.
20         * objc/typedstream.h: Likewise.
22 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
24         * objc/NXConstStr.h: Update copyright date; bracket with
25         'extern "C"' for C++ use; make include syntax consistent
26         by using <...> instead of "..."; hoist <objc/...> includes
27         above the 'extern "C"' block.
28         * objc/Object.h: Likewise.
29         * objc/Protocol.h: Likewise.
30         * objc/encoding.h: Likewise.
31         * objc/hash.h: Likewise.
32         * objc/runtime.h: Likewise.
33         * objc/sarray.h: Likewise.
34         * objc/thr.h: Likewise.
35         * objc/typedstream.h: Likewise.
36         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
37         (objc_static_instances): For C++ case, do away with
38         zero-sized array.
39         (objc_method): Hoist definition to file scope.
40         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
41         class_get_instance_method, class_create_instance, 
42         class_get_class_name, class_get_instance_size,
43         class_get_meta_class, class_get_super_class, class_get_version,
44         class_is_class, class_is_meta_class, class_set_version,
45         class_get_gc_object_type, class_ivar_set_gcinvisible,
46         get_imp): Rename 'class' parameter to '_class'.
47         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
48         * objc/objc.h: Update copyright date.
49         (arglist_t): Provide a union tag.
51 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
53         * thr.c (__objc_thread_detach_function): Do not mark as volatile
54         but instead use the attribute noreturn.
56 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
58         * encoding.c: Rename target_flags with a #define to avoid
59         conflict with a prior declaration.
61 2004-06-24  Andrew Pinski  <apinski@apple.com>
63         * objc/encoding.h: Wrap the functions with extern "C" for C++
64         mode.
65         * objc/hash.h: Likewise.
66         * objc/objc-api.h: Likewise.
67         * objc/objc-list.h: Likewise.
68         * objc/runtime.h: Likewise.
69         * objc/sarray.h: Likewise.
70         * objc/thr.h: Likewise.
71         * objc/typedstream.h: Likewise.
74 2004-06-21  Nick Clifton  <nickc@redhat.com>
76         * encoding.c (BITS_PER_UNIT): Define if a definition is not
77         provided.
79 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
81         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
82         (exception_gc.lo): New.
83         (OBJS_GC): Add exception_gc.lo.
85 2004-06-17  Richard Henderson  <rth@redhat.com>
87         * exception.c: New file.
88         * Makefile.in (exception.lo): New.
89         (OBJS): Add it.
91 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
93         * linking.m (_objcInit): New empty function
94         for Darwin only.
96 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
98         * configure.ac: Support --enable-shared=libobjc.
99         * configure: Regenerate.
101         PR libobjc/15901
102         * configure.ac: Do not disable shared by default.
103         * configure: Regenerate.
105 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
107         * Protocol.m ([-isEqual:]): Small optimizations returning
108         immediately if the argument is equal to self, and accessing
109         the argument's name directly if it's a protocol.
111 2004-06-03  David Ayers  <d.ayers@inode.at>
113         * Protocol.m ([-isEqual:]): Test the class of the argument.
115 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
117         * configure.ac (includedir): Rename to ...
118         (includedirname).
119         * Makefile.in: s/includedir/includedirname/.
121         PR target/11572
122         * configure.ac (includedir): Set to "include"
123         except for Darwin.
124         (libext) Set to empty except for Darwin.
125         * configure: Regenerate
126         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
127         s/include/$(includedir)/g.
129 2004-05-25  Daniel Jacobowitz  <drow@false.org>
131         * Makefile.in: Add .NOEXPORT.
133 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
135         Merge from the libobjc-branch
136         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
138                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
140         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
142                 * Makefile.in (OBJC_H): Add objc-deps.h.
144         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
146                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
147                 ([-hash], [-isEqual:]): New methods.
149         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
151                 * sarray.c (sarray_free): Add a better comment.
153         2004-01-27  Adam Fedor  <fedor@gnu.org>
155                 * hash.c (hash_add): Cast cachep to int.
156                 * selector.c (__sel_register_typed_name): Cast
157                 soffset_decode to int.
159         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
161                 * selector.c: Rename register_selectors_from_list to
162                 __objc_register_selectors_from_list. Update caller.
163                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
164                 while registering selectors. Use __sel_register_typed_name instead
165                 of sel_register_typed_name. Check for NULL method_name:s.
166                 (pool_alloc_selector): New function.
167                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
168                 selector structures.
169                 * sendmsg.c (class_add_method_list): Use
170                 __objc_register_selectors_from_list.
171                 * objc/runtime.h: Add __objc_register_selectors_from_list.
173         2004-01-25  Adam Fedor  <fedor@gnu.org>
174                     Nicola Pero  <n.pero@mi.flashnet.it>
175                     Andrew Pinski  <pinskia@physics.uc.edu>
177                 * objc/objc-decls.h: New file.
178                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
179                 (_objc_load_callback): Likewise.
180                 (_objc_object_alloc): Likewise.
181                 (_objc_object_copy): Likewise.
182                 (_objc_object_dispose): Likewise.
184         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
186                 * archive.c: s/__inline__/inline
187                 * sendmsg.c: Likewise.
189                 * encoding.c: Remove FIXME about the warning
190                 about unused variable.
191                 * sendmsg.c: Add a FIXME comment saying that
192                 this should be using libffi.
194                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
197 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
199         * archive.c (objc_read_class): Initialize class_name.
200         (objc_read_selector): Initialize selector_name.
202 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
204         * Makefile.in (toolexecdir): Remove trailing space.
206 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
208         PR libobjc/14948
209         * configure.ac: De-precious CC so multilibs work.
210         * configure: Regenerate.
212 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
214         * configure.ac: Restore toolexecdir.
215         * Makefile.in: Restore toolexecdir.
216         * configure: Regenerate.
218 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
220         * configure.ac: Remove (unused) glibcpp_prefixdir.
221         * configure: Regenerate.
223         * configure.in: Rename to configure.ac.
224         * Makefile.in: Update to match.
226         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
227         Replace glibcpp_toolexeclibdir with toolexeclibdir.
228         * configure.in: Remove glibcpp_toolexecdir (unused).
229         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
230         config.h or stamp-h (unused).  Move one comment to the right place.
231         * configure: Regenerate.
232         * config.h.in: Remove (unused).
234         * config.h.in: Regenerate with autoheader.
236         * Makefile.in: Remove (unused) gcc_version_trigger.
237         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
238         gcc_version_trigger.
239         * configure: Regenerate.
241         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
242         Sort file into sections.  Remove dnl where appropriate.  Fix
243         other style issues.
244         * configure: Regenerate.
246         * configure.in: Replace old AC_PROG_CC hack with new one.
247         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
248         are no subdirectory output files, so this is fine).  Change prereq
249         to autoconf 2.59.
250         * aclocal.m4: Include ../config/no-executables.m4.
251         * configure: Regenerate with autoconf 2.59.
253         * configure.in: Improve comments on gthread_cflags.  Improve m4
254         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
255         * configure: Regenerate.
257         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
258         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
259         redundant checks for values of RANLIB, AR, INSTALL.
260         * configure: Regenerate.
262         * configure.in: Clean up handling of
263         --enable-version-specific-runtime-libs and related variables;
264         replace 'if test' with 'case' where reasonable.  Fix comments.
265         Remove useless libstdcxx_interface.
266         * configure: Regenerate.
268         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
269         Replace uses of target_alias with target_noncanonical.
270         * aclocal.m4: Include ../config/acx.m4.
271         * configure: Regenerate.
272         * Makefile.in: Replace uses of target_alias with target_noncanonical.
273         Fix copyright statement.
275         * configure.in: Hand-inline bulky, confusing macros from
276         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
277         Update copyright notice.  Remove stuff for automake, which isn't
278         used in this directory.  Remove emacs local variables.
279         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
280         * configure: Regenerate.
282 2004-03-16  Manfred Hollstein  <mh@suse.com>
284         * Makefile.in, configure.in, configure: Update copyright years.
286 2004-03-15  Manfred Hollstein  <mh@suse.com>
288         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
289         definition from configure.in.
290         * configure.in (PACKAGE): Add definition.
291         (VERSION): Add definition; substitute it in output files.
292         * configure: Re-generate.
294 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
296         * objc/hash.h (hash_string, compare_strings):
297         Add type-casts to make Objective-C++ happy.
298         * objc/typedstream.h (objc_get_stream_class_version):
299         Rename parameter from 'class' to 'class_name' to make
300         Objective-C++ happy.
302 2004-03-01  Michael Matz  <matz@suse.de>
304         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
306 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
308         * objc/objc-api.h (objc_super): The 'class' field shall
309         be named 'super_class' #ifdef __cplusplus.
311 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
313         PR target/10781
314         * encoding.c (rs6000_special_round_type_align): Define.
316 2004-01-14  Adam Fedor  <fedor@gnu.org>
318         PR libobjc/12155
319         * selector.c (__objc_register_instance_methods_to_class): Free
320         new_list if not used.
322 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
324         PR libobjc/11904
325         * sarray.c (sarray_free): Free array->is_copy_of latter.
327 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
329         PR 11433
330         * Protocol.m (descriptionForInstanceMethod): Don't dereference
331         instance_methods if it's NULL.
332         (descriptionForClassMethod): Likewise for class_methods.
334 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
336         * Makefile.in (runtime-info.h): Remove -Wp.
338 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
340         * Makefile.in (CC1OBJ): Remove.
341         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
342         correctly.
343         Use .m extension for temporary file.
344         Remove assembler temp file.
346 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
348         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
350 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
352         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
354 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
356         * configure: Regenerate.
358 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
360         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
361         (libdir)/gcc-lib/ when installing.
362         * configure: Regenerate.
364 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
366         libobjc/9969
367         * sendmsg.c (get_imp): Fixed rare threading problem.
368         (__objc_responds_to): Similar fixes.
369         (objc_msg_lookup): Similar fixes.
370         (__objc_init_install_dtable): Lock the runtime before checking if the
371         table is installed.
373 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
375         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
376         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
377         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
378         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
379         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
380         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
381         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
382         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
383         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
384         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
385         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
387 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
388                           Nicola Pero  <n.pero@mi.flashnet.it>
390         libobjc/10742
391         * init.c (class_superclass_of_class): New function.
392         (create_tree_of_subclasses_inherited_from): Use it.
393         (__objc_tree_insert_class): Likewise.
394         (class_is_subclass_of_class): Likewise.
396 2003-04-11  David Chad  <davidc@freebsd.org>
397             Loren J. Rittle  <ljrittle@acm.org>
399         libobjc/8562
400         * objc/hash.h (hash_string): Constify correctly.
401         (compare_ptrs): Use direct compare.
402         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
403         * objc/sarray.h: Global rename index to indx to avoid shadow.
405 2003-03-12  Andreas Schwab  <schwab@suse.de>
407         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
408         glibcpp_toolexeclibdir.
409         * configure: Rebuilt.
411 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
413         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
414         config.status.
415         * configure: Rebuilt.
417 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
419         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
420         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
421         version_specific_libs is enabled.
422         * configure: Rebuilt.
424 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
426         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
427         (install-libs, install-headers): Prepend $(DESTDIR) to
428         destination paths in all (un)installation commands.
430 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
432         * thr-objc.c: Include coretypes.h and tm.h.
434 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
436         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
438 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
440         * configure.in: Remove skip-this-dir support.
441         * configure: Regenerate.
443 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
445         * Makefile.in (all): Fix multilib parallel build.
447 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
449         * sendmsg.c (nil_method): Declare not to take a variable number of
450         args.
451         (objc_msg_lookup): Cast nil_method to IMP before returning it.
452         (objc_msg_lookup_super): The same.
454 2002-09-10  Jan Hubicka  <jh@suse.cz>
456         * nil_method.c (nil_method): No longer defined with variable
457         arguments.
459 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
461         * objc/encoding.h: Fix formatting.
462         * objc/hash.h: Likewise.
463         * objc/objc-api.h: Likewise.
464         * objc/runtime.h: Likewise.
465         * objc/thr.h: Likewise.
466         * archive.c: Likewise.
467         * class.c: Likewise.
468         * encoding.c: Likewise.
469         * gc.c: Likewise.
470         * hash.c: Likewise.
471         * init.c: Likewise.
472         * misc.c: Likewise.
473         * nil_method.c: Likewise.
474         * objects.c: Likewise.
475         * sarray.c: Likewise.
476         * selector.c: Likewise.
477         * sendmsg.c: Likewise.
478         * thr-mach.c: Likewise.
479         * thr.c: Likewise.
481 2002-06-25  DJ Delorie  <dj@redhat.com>
483         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
484         GLIBCPP_TOPREL_CONFIGURE.
485         * configure.in: Call it before AC_CANONICAL_SYSTEM.
486         * configure: Regenerate.
488 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
490         * Object.m (forward, read, write): Fix unused parameter warnings.
491         * encoding.c: Include <stdlib.h>.
492         (target_flags): Mark with attribute unused.
493         (atoi): Delete.
494         * runtime.h (__objc_selector_max_index): Change to unsigned int.
495         (__objc_generate_gc_type_description): Prototype.
496         * selector.c (__objc_selector_max_index): Change to unsigned int.
498 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
500         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
501         we always have a return value: if __objc_msg_forward does not
502         supply a forwarding implementation, return the default
503         __builtin_apply based one.
505 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
507         * Object.m: Fix signed/unsigned warning.
508         * Protocol.m: Likewise.
509         * archive.c: Always include stdlib.h.
510         (objc_read_short, objc_read_unsigned_short, objc_read_int,
511         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
512         Fix signed/unsigned warning.
513         (objc_write_type, objc_read_type, objc_write_types,
514         objc_read_types): Ensure ctype 8-bit safety.
515         (__objc_no_write, __objc_no_read): Mark unused parameters.
516         * class.c (class_table_setup): Specify void arg.
517         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
518         objc_skip_typespec, objc_skip_offset,
519         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
520         (objc_layout_structure_next_member): Ensure variables are
521         initialized.
522         * gc.c (__objc_generate_gc_type_description,
523         class_ivar_set_gcinvisible): Mark unused parameters.
524         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
525         unused parameters.
526         (__objc_init_protocols) Fix signed/unsigned warning.
527         * nil_method.c (nil_method): Mark unused parameters.
528         * thr.h (objc_thread_callback): Specify void arg.
529         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
530         signed/unsigned warning.
531         (sarray_free): Fix formatting.
532         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
533         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
535 2002-06-09  Andreas Jaeger  <aj@suse.de>
537         * encoding.c (objc_layout_structure_next_member): Remove unused
538         variable.
540 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
542         * Makefile.in (SHELL): Set to @SHELL@.
543         (WARN_CFLAGS): New.
544         (ALL_CFLAGS): Add $(WARN_CFLAGS).
546 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
548         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
549         * configure: Regenerate.
551 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
553         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
554         script entry, and set LD to it when configuring multilibs.
555         * configure: Rebuilt.
557 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
559         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
561 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
563         PR objc/6107
564         * objc/objc-api.h (struct objc_protocol_list): Change type of
565         member count from int to size_t.
567 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
569         PR libobjc/4039
570         * aclocal.m4: Replace with version copied from libstdc++-v3.
571         * configure.in: Update for changes to aclocal and Makefile.
572         * configure: Regenerate.
573         * Makefile.in: Correct install of multilibs and shared libs, use
574         INSTALL_DATA for include files.
576 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
578         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
579         categories - when an unclaimed category was found, the loop was
580         doing two steps forward instead of one, so that in certain cases
581         it was failing to properly load all the categories.  (Reported
582         with fix by Alexander Malmberg <alexander@malmberg.org>).
584 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
586         * encoding.c: Add target_flags.
588 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
590          * objc/objc-api.h (_C_VECTOR): New.
592          * encoding.c (VECTOR_TYPE): New.
594 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
596         * class.c: Rewritten the class table to use optimized, lock-free
597         lookup.  This more than doubles the speed of class method
598         invocations.  (class_table_setup), (class_table_insert),
599         (class_table_replace), (class_table_get_safe),
600         (class_table_next), (class_table_print),
601         (class_table_print_histogram): New functions.
602         (__objc_init_class_tables): Use class_table_setup.
603         (__objc_add_class_to_hash): Use class_table_get_safe and
604         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
605         assert the existence of the table; do not lock the runtime; use
606         class_table_get_safe.  (objc_next_class): Use class_table_next.
607         (__objc_resolve_class_links): Use class_table_next.
608         (class_pose_as): Use class_table_replace.
610 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
612         * gc.c: Removed the DEBUG declaration.
614 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
616         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
617         rather than through objc_thread_id, to save a function call.
618         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
619         Ditto.
621 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
623         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
624         to cast an id to a Class, which can not be done.  Make the check
625         by using CLS_ISMETA on the class pointer instead.
626         (object_is_meta_class): Similar fix.
628 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
630         * configure.in (AC_EXEEXT): Work around in case it expands to
631         nothing, as in autoconf 2.50.
632         * acinclude.m4: Likewise.
633         * configure: Rebuilt.
635 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
637         * THREADS: Explain that when we compile libobjc inside GCC, we
638         always use thr-objc.c as a backend, which uses GCC's thread code.
640 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
642         * init.c (__objc_send_message_in_list): When setting a new entry
643         in __objc_load_methods use the method IMP as key, but check to see
644         if the method is in the hashtable by looking at the IMP also.
645         Also ... call the method after adding it to the hashtable rather
646         than before ... thus preventing an obscure possibility of infinite
647         recursion if a +load method itself loads a subclass.
649 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
651         * init.c (__objc_send_message_in_list): When setting a new entry
652         in __objc_load_methods use the method name as key, not the method
653         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
655 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
657         * objc-features.texi: Move to ../gcc/objc.texi.
658         * fdl.texi: Remove.
659         * Makefile.in: Don't generate documentation from
660         objc-features.texi.
662 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
664         * fdl.texi: New file.
665         * objc-features.texi: Simplify.
666         * Makefile.in: Adjust accordingly.
668 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
670         * objc-features.texi: Use the GFDL.
672 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
674         * encoding.c (REAL_TYPE): Define.
676 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
678         * encoding.c (TYPE_MODE): Define.
680 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
682         * thr.c (objc_thread_add): New function.
683         (objc_thread_remove): Ditto.
684         * objc/thr.h: Declare them.
685         * libobjc.def: Mention them.
687 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
689         * objc-features.texi: Document the @compatibility_alias compiler
690         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
692 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
694         * sendmsg.c (__objc_forward): Delete strlen() declaration.
696 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
698         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
699         we're not interested in the result and they might fail.
700         * configure: Regenerated.
702 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
704         * objc-features.texi: Use @email.
706 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
708         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
709         printf.
711 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
713         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
714         determines the value dynamically.
716 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
718         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
719         libraries to provide a function that returns the real forwarding
720         function. This can alleviate problems __builtin_apply() and
721         friends have on various platforms. (Solution suggested by Helge
722         Hess.)
724         * objc/objc-api.h: Define __objc_msg_forward.
726         * sendmsg.c: Define gen_rtx_REG.
728 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
730         * thr-rtems.c: New file. Stub to compile.
732 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
734         * configure: Rebuilt with new libtool.m4.
736 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
738         * configure.in: Create a config.h file. Check for <sched.h>.
739         * configure: Regenerate.
741         * config.h.in: Check for <sched.h>.
743 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
745         * configure: Regenerate after change to ../libtool.m4.
747 2000-08-14  Andreas Schwab  <schwab@suse.de>
749         * objc-features.texi (Top): Move @menu at end of node.
751 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
753         * objc-features.texi: Move @node Top before @menu.
755 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
757         * objc-features.texi: Documented the new -fconstant-string-class
758         option.
760 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
762         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
763         improve the Posix thread support for Objective-C.
765 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
767         * aclocal.m4: Replace copy of ../libtool.m4 with
768         sinclude(../libtool.m4).
770 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
772         * configure.in: Added libtool support; build shared libraries
773         if --enable-shared was passed on command line.
774         * Makefile.in: Modified most compilation commands to use libtool.
775         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
776         libtool distribution.
778 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
780         * sarray.c, Object.m: Removed the explicit prototypes for strlen
781         and memcpy on 64-bit platforms (Suggested by Rodney Brown
782         <rdb@cup.hp.com>).
784 2000-05-12  H.J. Lu  (hjl@gnu.org)
786         * Makefile.in (GTHREAD_FLAGS): New.
787         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
788         (OBJC_THREAD_FILE): Changed to thr-objc.
790         * configure.in (GTHREAD_FLAGS): New, check and replace it for
791         Makefile.
792         (OBJC_THREAD_FILE): Removed.
794         * thr-objc.c: New.
796 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
798         * objc/hash.h: Include string.h.
800 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
802         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
804 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
806         * Object.m (strlen): Provide prototype on all 64bit platforms,
807         not only alpha.
808         * sarray.c (memcpy): Likewise.
809         * encoding.c (objc_layout_finish_structure): Don't use
810         ROUND_TYPE_ALIGN on sparc.
812         * encoding.c (objc_layout_structure_next_member): Do the whole
813         procedure even for the first member, so that we get correct
814         alignment.
816 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
818         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
819         comments.
821 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
823         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
825 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
827         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
829 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
831         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
832         the compiler when building C code.
834 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
836         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
837         libdir, libsubdir and tooldir.
839 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
841         * init.c (__objc_force_linking): Make global.
843 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
845         * configure.in (AC_EXEEXT): Remove call.
846         (compiler_name): Explicitly check with no extension and .exe
847         extension.
848         * configure: Regenerate.
850 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
852         * Makefile.in (CC1OBJ): Define in terms of CC.
853         (runtime-info.h): Use.
855 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
857         * objc-features.texi: Updated the URL to Boehm's GC page.
859 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
861         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
862         the char as being signed (patch from Daniel Jacobowitz
863         <drow@false.org>).
865 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
867         * configure.in (AC_PREREQ): Update to 2.13.
868         (AC_EXEEXT): Call to find possible file extension.
869         (compiler_name): Use.
870         * configure: Regenerate.
872 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
874         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
876 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
878         * configure.in (thread_file): Correct and simplify code to find
879         the thread file.
880         * configure: Rebuilt.
882 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
884         * configure.in (compiler_name): Add check to detect if this
885         language's compiler has been built.
886         * configure: Regenerate.
888 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
890         *  configure.in: Use AC_PREREQ(2.12.1).
892 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
894         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
896 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
898         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
900 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
902         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
904 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
906         * objc-features.texi (Top): Changed the email address.
907         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
909 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
911         * encoding.c: Redefine get_inner_array_type to get the first entry
912         in the structure.
914 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
916         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
917         (objc_get_type_qualifiers): Similarly.
918         * objc/encoding.h (_C_BYREF): Define.
919         (_F_BYREF): Define.
921 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
923         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
924         works out on 64-bit systems.
926 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
928         * Makefile.in (INCLUDES): Make it multilib-friendly.
930 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
932         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
934 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
935                          Jeffrey A Law  (law@cygnus.com)
937         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
938         (FLAGS_TO_PASS): Added.
939         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
941         * archive.c: Change config.h to tconfig.h.
943         * configure.in: Find gcc's object directory even for multilibs.
945 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
947         * configure.in: Escape ^ in grep string.
948         * configure: Rebuilt.
950 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
952         * All .h files pushed down into the objc/ subdirectory.
953         * Makefile.in (copy_headers): Corresponding changes.
954         * configure.in (AC_INIT): Corresponding changes.
955         * configure: Rebuilt.
957 1998-09-30  Ben Elliston  <bje@cygnus.com>
958             Jeff Law      <law@cygnus.com>
960         * Makefile.in: Rewrite.
962         * configure.in: Likewise.
964         * configure: Regenerate.
966         * All .c files.  Remove "objc" prefix when including objc header
967         files.  Include tconfig.h, not ../tconfig.h.
969 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
971         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
972         (get_inner_array_type): Define.
974 1998-09-21  Ben Elliston  <bje@cygnus.com>
976         * New directory.  Moved files from ../gcc/objc.