* config/xtensa/linux.h (TARGET_OS_CPP_BUILTINS): Remove definition of
[official-gcc.git] / libobjc / ChangeLog
blob1f00adf9524fe58e8a33588c820d3a56278e6f88
1 2003-04-11  David Chad  <davidc@freebsd.org>
2             Loren J. Rittle  <ljrittle@acm.org>
4         libobjc/8562
5         * objc/hash.h (hash_string): Constify correctly.
6         (compare_ptrs): Use direct compare.
7         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
8         * objc/sarray.h: Global rename index to indx to avoid shadow.
10 2003-03-12  Andreas Schwab  <schwab@suse.de>
12         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
13         glibcpp_toolexeclibdir.
14         * configure: Rebuilt.
16 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
18         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
19         config.status.
20         * configure: Rebuilt.
22 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
24         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
25         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
26         version_specific_libs is enabled.
27         * configure: Rebuilt.
29 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
31         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
32         (install-libs, install-headers): Prepend $(DESTDIR) to
33         destination paths in all (un)installation commands.
35 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
37         * thr-objc.c: Include coretypes.h and tm.h.
39 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
41         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
43 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
45         * configure.in: Remove skip-this-dir support.
46         * configure: Regenerate.
48 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
50         * Makefile.in (all): Fix multilib parallel build.
52 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
54         * sendmsg.c (nil_method): Declare not to take a variable number of
55         args.
56         (objc_msg_lookup): Cast nil_method to IMP before returning it.
57         (objc_msg_lookup_super): The same.
59 2002-09-10  Jan Hubicka  <jh@suse.cz>
61         * nil_method.c (nil_method): No longer defined with variable
62         arguments.
64 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
66         * objc/encoding.h: Fix formatting.
67         * objc/hash.h: Likewise.
68         * objc/objc-api.h: Likewise.
69         * objc/runtime.h: Likewise.
70         * objc/thr.h: Likewise.
71         * archive.c: Likewise.
72         * class.c: Likewise.
73         * encoding.c: Likewise.
74         * gc.c: Likewise.
75         * hash.c: Likewise.
76         * init.c: Likewise.
77         * misc.c: Likewise.
78         * nil_method.c: Likewise.
79         * objects.c: Likewise.
80         * sarray.c: Likewise.
81         * selector.c: Likewise.
82         * sendmsg.c: Likewise.
83         * thr-mach.c: Likewise.
84         * thr.c: Likewise.
86 2002-06-25  DJ Delorie  <dj@redhat.com>
88         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
89         GLIBCPP_TOPREL_CONFIGURE.
90         * configure.in: Call it before AC_CANONICAL_SYSTEM.
91         * configure: Regenerate.
93 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
95         * Object.m (forward, read, write): Fix unused parameter warnings.
96         * encoding.c: Include <stdlib.h>.
97         (target_flags): Mark with attribute unused.
98         (atoi): Delete.
99         * runtime.h (__objc_selector_max_index): Change to unsigned int.
100         (__objc_generate_gc_type_description): Prototype.
101         * selector.c (__objc_selector_max_index): Change to unsigned int.
103 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
105         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
106         we always have a return value: if __objc_msg_forward does not
107         supply a forwarding implementation, return the default
108         __builtin_apply based one.
110 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
112         * Object.m: Fix signed/unsigned warning.
113         * Protocol.m: Likewise.
114         * archive.c: Always include stdlib.h.
115         (objc_read_short, objc_read_unsigned_short, objc_read_int,
116         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
117         Fix signed/unsigned warning.
118         (objc_write_type, objc_read_type, objc_write_types,
119         objc_read_types): Ensure ctype 8-bit safety.
120         (__objc_no_write, __objc_no_read): Mark unused parameters.
121         * class.c (class_table_setup): Specify void arg.
122         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
123         objc_skip_typespec, objc_skip_offset,
124         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
125         (objc_layout_structure_next_member): Ensure variables are
126         initialized.
127         * gc.c (__objc_generate_gc_type_description,
128         class_ivar_set_gcinvisible): Mark unused parameters.
129         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
130         unused parameters.
131         (__objc_init_protocols) Fix signed/unsigned warning.
132         * nil_method.c (nil_method): Mark unused parameters.
133         * thr.h (objc_thread_callback): Specify void arg.
134         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
135         signed/unsigned warning.
136         (sarray_free): Fix formatting.
137         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
138         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
140 2002-06-09  Andreas Jaeger  <aj@suse.de>
142         * encoding.c (objc_layout_structure_next_member): Remove unused
143         variable.
145 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
147         * Makefile.in (SHELL): Set to @SHELL@.
148         (WARN_CFLAGS): New.
149         (ALL_CFLAGS): Add $(WARN_CFLAGS).
151 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
153         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
154         * configure: Regenerate.
156 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
158         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
159         script entry, and set LD to it when configuring multilibs.
160         * configure: Rebuilt.
162 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
164         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
166 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
168         PR objc/6107
169         * objc/objc-api.h (struct objc_protocol_list): Change type of
170         member count from int to size_t.
172 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
174         PR libobjc/4039
175         * aclocal.m4: Replace with version copied from libstdc++-v3.
176         * configure.in: Update for changes to aclocal and Makefile.
177         * configure: Regenerate.
178         * Makefile.in: Correct install of multilibs and shared libs, use
179         INSTALL_DATA for include files.
181 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
183         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
184         categories - when an unclaimed category was found, the loop was
185         doing two steps forward instead of one, so that in certain cases
186         it was failing to properly load all the categories.  (Reported
187         with fix by Alexander Malmberg <alexander@malmberg.org>).
189 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
191         * encoding.c: Add target_flags.
193 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
195          * objc/objc-api.h (_C_VECTOR): New.
197          * encoding.c (VECTOR_TYPE): New.
199 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
201         * class.c: Rewritten the class table to use optimized, lock-free
202         lookup.  This more than doubles the speed of class method
203         invocations.  (class_table_setup), (class_table_insert),
204         (class_table_replace), (class_table_get_safe),
205         (class_table_next), (class_table_print),
206         (class_table_print_histogram): New functions.
207         (__objc_init_class_tables): Use class_table_setup.
208         (__objc_add_class_to_hash): Use class_table_get_safe and
209         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
210         assert the existence of the table; do not lock the runtime; use
211         class_table_get_safe.  (objc_next_class): Use class_table_next.
212         (__objc_resolve_class_links): Use class_table_next.
213         (class_pose_as): Use class_table_replace.
215 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
217         * gc.c: Removed the DEBUG declaration.
219 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
221         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
222         rather than through objc_thread_id, to save a function call.
223         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
224         Ditto.
226 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
228         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
229         to cast an id to a Class, which can not be done.  Make the check
230         by using CLS_ISMETA on the class pointer instead.
231         (object_is_meta_class): Similar fix.
233 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
235         * configure.in (AC_EXEEXT): Work around in case it expands to
236         nothing, as in autoconf 2.50.
237         * acinclude.m4: Likewise.
238         * configure: Rebuilt.
240 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
242         * THREADS: Explain that when we compile libobjc inside GCC, we
243         always use thr-objc.c as a backend, which uses GCC's thread code.
245 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
247         * init.c (__objc_send_message_in_list): When setting a new entry
248         in __objc_load_methods use the method IMP as key, but check to see
249         if the method is in the hashtable by looking at the IMP also.
250         Also ... call the method after adding it to the hashtable rather
251         than before ... thus preventing an obscure possibility of infinite
252         recursion if a +load method itself loads a subclass.
254 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
256         * init.c (__objc_send_message_in_list): When setting a new entry
257         in __objc_load_methods use the method name as key, not the method
258         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
260 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
262         * objc-features.texi: Move to ../gcc/objc.texi.
263         * fdl.texi: Remove.
264         * Makefile.in: Don't generate documentation from
265         objc-features.texi.
267 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
269         * fdl.texi: New file.
270         * objc-features.texi: Simplify.
271         * Makefile.in: Adjust accordingly.
273 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
275         * objc-features.texi: Use the GFDL.
277 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
279         * encoding.c (REAL_TYPE): Define.
281 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
283         * encoding.c (TYPE_MODE): Define.
285 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
287         * thr.c (objc_thread_add): New function.
288         (objc_thread_remove): Ditto.
289         * objc/thr.h: Declare them.
290         * libobjc.def: Mention them.
292 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
294         * objc-features.texi: Document the @compatibility_alias compiler
295         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
297 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
299         * sendmsg.c (__objc_forward): Delete strlen() declaration.
301 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
303         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
304         we're not interested in the result and they might fail.
305         * configure: Regenerated.
307 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
309         * objc-features.texi: Use @email.
311 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
313         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
314         printf.
316 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
318         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
319         determines the value dynamically.
321 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
323         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
324         libraries to provide a function that returns the real forwarding
325         function. This can alleviate problems __builtin_apply() and
326         friends have on various platforms. (Solution suggested by Helge
327         Hess.)
329         * objc/objc-api.h: Define __objc_msg_forward.
331         * sendmsg.c: Define gen_rtx_REG.
333 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
335         * thr-rtems.c: New file. Stub to compile.
337 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
339         * configure: Rebuilt with new libtool.m4.
341 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
343         * configure.in: Create a config.h file. Check for <sched.h>.
344         * configure: Regenerate.
346         * config.h.in: Check for <sched.h>.
348 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
350         * configure: Regenerate after change to ../libtool.m4.
352 2000-08-14  Andreas Schwab  <schwab@suse.de>
354         * objc-features.texi (Top): Move @menu at end of node.
356 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
358         * objc-features.texi: Move @node Top before @menu.
360 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
362         * objc-features.texi: Documented the new -fconstant-string-class
363         option.
365 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
367         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
368         improve the Posix thread support for Objective-C.
370 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
372         * aclocal.m4: Replace copy of ../libtool.m4 with
373         sinclude(../libtool.m4).
375 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
377         * configure.in: Added libtool support; build shared libraries
378         if --enable-shared was passed on command line.
379         * Makefile.in: Modified most compilation commands to use libtool.
380         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
381         libtool distribution.
383 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
385         * sarray.c, Object.m: Removed the explicit prototypes for strlen
386         and memcpy on 64-bit platforms (Suggested by Rodney Brown
387         <rdb@cup.hp.com>).
389 2000-05-12  H.J. Lu  (hjl@gnu.org)
391         * Makefile.in (GTHREAD_FLAGS): New.
392         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
393         (OBJC_THREAD_FILE): Changed to thr-objc.
395         * configure.in (GTHREAD_FLAGS): New, check and replace it for
396         Makefile.
397         (OBJC_THREAD_FILE): Removed.
399         * thr-objc.c: New.
401 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
403         * objc/hash.h: Include string.h.
405 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
407         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
409 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
411         * Object.m (strlen): Provide prototype on all 64bit platforms,
412         not only alpha.
413         * sarray.c (memcpy): Likewise.
414         * encoding.c (objc_layout_finish_structure): Don't use
415         ROUND_TYPE_ALIGN on sparc.
417         * encoding.c (objc_layout_structure_next_member): Do the whole
418         procedure even for the first member, so that we get correct
419         alignment.
421 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
423         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
424         comments.
426 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
428         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
430 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
432         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
434 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
436         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
437         the compiler when building C code.
439 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
441         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
442         libdir, libsubdir and tooldir.
444 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
446         * init.c (__objc_force_linking): Make global.
448 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
450         * configure.in (AC_EXEEXT): Remove call.
451         (compiler_name): Explicitly check with no extension and .exe
452         extension.
453         * configure: Regenerate.
455 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
457         * Makefile.in (CC1OBJ): Define in terms of CC.
458         (runtime-info.h): Use.
460 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
462         * objc-features.texi: Updated the URL to Boehm's GC page.
464 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
466         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
467         the char as being signed (patch from Daniel Jacobowitz
468         <drow@false.org>).
470 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
472         * configure.in (AC_PREREQ): Update to 2.13.
473         (AC_EXEEXT): Call to find possible file extension.
474         (compiler_name): Use.
475         * configure: Regenerate.
477 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
479         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
481 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
483         * configure.in (thread_file): Correct and simplify code to find
484         the thread file.
485         * configure: Rebuilt.
487 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
489         * configure.in (compiler_name): Add check to detect if this
490         language's compiler has been built.
491         * configure: Regenerate.
493 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
495         *  configure.in: Use AC_PREREQ(2.12.1).
497 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
499         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
501 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
503         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
505 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
507         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
509 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
511         * objc-features.texi (Top): Changed the email address.
512         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
514 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
516         * encoding.c: Redefine get_inner_array_type to get the first entry
517         in the structure.
519 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
521         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
522         (objc_get_type_qualifiers): Similarly.
523         * objc/encoding.h (_C_BYREF): Define.
524         (_F_BYREF): Define.
526 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
528         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
529         works out on 64-bit systems.
531 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
533         * Makefile.in (INCLUDES): Make it multilib-friendly.
535 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
537         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
539 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
540                          Jeffrey A Law  (law@cygnus.com)
542         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
543         (FLAGS_TO_PASS): Added.
544         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
546         * archive.c: Change config.h to tconfig.h.
548         * configure.in: Find gcc's object directory even for multilibs.
550 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
552         * configure.in: Escape ^ in grep string.
553         * configure: Rebuilt.
555 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
557         * All .h files pushed down into the objc/ subdirectory.
558         * Makefile.in (copy_headers): Corresponding changes.
559         * configure.in (AC_INIT): Corresponding changes.
560         * configure: Rebuilt.
562 1998-09-30  Ben Elliston  <bje@cygnus.com>
563             Jeff Law      <law@cygnus.com>
565         * Makefile.in: Rewrite.
567         * configure.in: Likewise.
569         * configure: Regenerate.
571         * All .c files.  Remove "objc" prefix when including objc header
572         files.  Include tconfig.h, not ../tconfig.h.
574 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
576         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
577         (get_inner_array_type): Define.
579 1998-09-21  Ben Elliston  <bje@cygnus.com>
581         * New directory.  Moved files from ../gcc/objc.