1 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
3 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
4 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
5 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
6 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
7 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
8 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
9 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
10 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
11 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
12 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
13 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
15 Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
16 Nicola Pero <n.pero@mi.flashnet.it>
19 * init.c (class_superclass_of_class): New function.
20 (create_tree_of_subclasses_inherited_from): Use it.
21 (__objc_tree_insert_class): Likewise.
22 (class_is_subclass_of_class): Likewise.
24 2003-04-11 David Chad <davidc@freebsd.org>
25 Loren J. Rittle <ljrittle@acm.org>
28 * objc/hash.h (hash_string): Constify correctly.
29 (compare_ptrs): Use direct compare.
30 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
31 * objc/sarray.h: Global rename index to indx to avoid shadow.
33 2003-03-12 Andreas Schwab <schwab@suse.de>
35 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
36 glibcpp_toolexeclibdir.
39 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
41 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
45 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
47 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
48 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
49 version_specific_libs is enabled.
52 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
54 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
55 (install-libs, install-headers): Prepend $(DESTDIR) to
56 destination paths in all (un)installation commands.
58 2002-12-02 Zack Weinberg <zack@codesourcery.com>
60 * thr-objc.c: Include coretypes.h and tm.h.
62 2002-12-01 Zack Weinberg <zack@codesourcery.com>
64 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
66 2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
68 * configure.in: Remove skip-this-dir support.
69 * configure: Regenerate.
71 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
73 * Makefile.in (all): Fix multilib parallel build.
75 Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
77 * sendmsg.c (nil_method): Declare not to take a variable number of
79 (objc_msg_lookup): Cast nil_method to IMP before returning it.
80 (objc_msg_lookup_super): The same.
82 2002-09-10 Jan Hubicka <jh@suse.cz>
84 * nil_method.c (nil_method): No longer defined with variable
87 2002-07-02 Rodney Brown <rbrown64@csc.com.au>
89 * objc/encoding.h: Fix formatting.
90 * objc/hash.h: Likewise.
91 * objc/objc-api.h: Likewise.
92 * objc/runtime.h: Likewise.
93 * objc/thr.h: Likewise.
94 * archive.c: Likewise.
96 * encoding.c: Likewise.
101 * nil_method.c: Likewise.
102 * objects.c: Likewise.
103 * sarray.c: Likewise.
104 * selector.c: Likewise.
105 * sendmsg.c: Likewise.
106 * thr-mach.c: Likewise.
109 2002-06-25 DJ Delorie <dj@redhat.com>
111 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
112 GLIBCPP_TOPREL_CONFIGURE.
113 * configure.in: Call it before AC_CANONICAL_SYSTEM.
114 * configure: Regenerate.
116 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
118 * Object.m (forward, read, write): Fix unused parameter warnings.
119 * encoding.c: Include <stdlib.h>.
120 (target_flags): Mark with attribute unused.
122 * runtime.h (__objc_selector_max_index): Change to unsigned int.
123 (__objc_generate_gc_type_description): Prototype.
124 * selector.c (__objc_selector_max_index): Change to unsigned int.
126 Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
128 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
129 we always have a return value: if __objc_msg_forward does not
130 supply a forwarding implementation, return the default
131 __builtin_apply based one.
133 2002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
135 * Object.m: Fix signed/unsigned warning.
136 * Protocol.m: Likewise.
137 * archive.c: Always include stdlib.h.
138 (objc_read_short, objc_read_unsigned_short, objc_read_int,
139 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
140 Fix signed/unsigned warning.
141 (objc_write_type, objc_read_type, objc_write_types,
142 objc_read_types): Ensure ctype 8-bit safety.
143 (__objc_no_write, __objc_no_read): Mark unused parameters.
144 * class.c (class_table_setup): Specify void arg.
145 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
146 objc_skip_typespec, objc_skip_offset,
147 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
148 (objc_layout_structure_next_member): Ensure variables are
150 * gc.c (__objc_generate_gc_type_description,
151 class_ivar_set_gcinvisible): Mark unused parameters.
152 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
154 (__objc_init_protocols) Fix signed/unsigned warning.
155 * nil_method.c (nil_method): Mark unused parameters.
156 * thr.h (objc_thread_callback): Specify void arg.
157 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
158 signed/unsigned warning.
159 (sarray_free): Fix formatting.
160 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
161 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
163 2002-06-09 Andreas Jaeger <aj@suse.de>
165 * encoding.c (objc_layout_structure_next_member): Remove unused
168 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
170 * Makefile.in (SHELL): Set to @SHELL@.
172 (ALL_CFLAGS): Add $(WARN_CFLAGS).
174 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
176 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
177 * configure: Regenerate.
179 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
181 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
182 script entry, and set LD to it when configuring multilibs.
183 * configure: Rebuilt.
185 2002-04-19 David O'Brien <obrien@FreeBSD.org>
187 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
189 2002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
192 * objc/objc-api.h (struct objc_protocol_list): Change type of
193 member count from int to size_t.
195 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
198 * aclocal.m4: Replace with version copied from libstdc++-v3.
199 * configure.in: Update for changes to aclocal and Makefile.
200 * configure: Regenerate.
201 * Makefile.in: Correct install of multilibs and shared libs, use
202 INSTALL_DATA for include files.
204 Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
206 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
207 categories - when an unclaimed category was found, the loop was
208 doing two steps forward instead of one, so that in certain cases
209 it was failing to properly load all the categories. (Reported
210 with fix by Alexander Malmberg <alexander@malmberg.org>).
212 2001-11-14 Aldy Hernandez <aldyh@redhat.com>
214 * encoding.c: Add target_flags.
216 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
218 * objc/objc-api.h (_C_VECTOR): New.
220 * encoding.c (VECTOR_TYPE): New.
222 Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
224 * class.c: Rewritten the class table to use optimized, lock-free
225 lookup. This more than doubles the speed of class method
226 invocations. (class_table_setup), (class_table_insert),
227 (class_table_replace), (class_table_get_safe),
228 (class_table_next), (class_table_print),
229 (class_table_print_histogram): New functions.
230 (__objc_init_class_tables): Use class_table_setup.
231 (__objc_add_class_to_hash): Use class_table_get_safe and
232 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
233 assert the existence of the table; do not lock the runtime; use
234 class_table_get_safe. (objc_next_class): Use class_table_next.
235 (__objc_resolve_class_links): Use class_table_next.
236 (class_pose_as): Use class_table_replace.
238 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
240 * gc.c: Removed the DEBUG declaration.
242 Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
244 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
245 rather than through objc_thread_id, to save a function call.
246 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
249 Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
251 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
252 to cast an id to a Class, which can not be done. Make the check
253 by using CLS_ISMETA on the class pointer instead.
254 (object_is_meta_class): Similar fix.
256 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
258 * configure.in (AC_EXEEXT): Work around in case it expands to
259 nothing, as in autoconf 2.50.
260 * acinclude.m4: Likewise.
261 * configure: Rebuilt.
263 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
265 * THREADS: Explain that when we compile libobjc inside GCC, we
266 always use thr-objc.c as a backend, which uses GCC's thread code.
268 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
270 * init.c (__objc_send_message_in_list): When setting a new entry
271 in __objc_load_methods use the method IMP as key, but check to see
272 if the method is in the hashtable by looking at the IMP also.
273 Also ... call the method after adding it to the hashtable rather
274 than before ... thus preventing an obscure possibility of infinite
275 recursion if a +load method itself loads a subclass.
277 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
279 * init.c (__objc_send_message_in_list): When setting a new entry
280 in __objc_load_methods use the method name as key, not the method
281 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
283 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
285 * objc-features.texi: Move to ../gcc/objc.texi.
287 * Makefile.in: Don't generate documentation from
290 2001-05-01 Mark Mitchell <mark@codesourcery.com>
292 * fdl.texi: New file.
293 * objc-features.texi: Simplify.
294 * Makefile.in: Adjust accordingly.
296 2001-04-30 Mark Mitchell <mark@codesourcery.com>
298 * objc-features.texi: Use the GFDL.
300 Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
302 * encoding.c (REAL_TYPE): Define.
304 2001-03-19 David Edelsohn <edelsohn@gnu.org>
306 * encoding.c (TYPE_MODE): Define.
308 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
310 * thr.c (objc_thread_add): New function.
311 (objc_thread_remove): Ditto.
312 * objc/thr.h: Declare them.
313 * libobjc.def: Mention them.
315 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
317 * objc-features.texi: Document the @compatibility_alias compiler
318 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
320 Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
322 * sendmsg.c (__objc_forward): Delete strlen() declaration.
324 2001-02-08 Geoffrey Keating <geoffk@redhat.com>
326 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
327 we're not interested in the result and they might fail.
328 * configure: Regenerated.
330 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
332 * objc-features.texi: Use @email.
334 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
336 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
339 2000-01-11 Richard Earnshaw <rearnsha@arm.com>
341 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
342 determines the value dynamically.
344 Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
346 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
347 libraries to provide a function that returns the real forwarding
348 function. This can alleviate problems __builtin_apply() and
349 friends have on various platforms. (Solution suggested by Helge
352 * objc/objc-api.h: Define __objc_msg_forward.
354 * sendmsg.c: Define gen_rtx_REG.
356 2000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
358 * thr-rtems.c: New file. Stub to compile.
360 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
362 * configure: Rebuilt with new libtool.m4.
364 Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
366 * configure.in: Create a config.h file. Check for <sched.h>.
367 * configure: Regenerate.
369 * config.h.in: Check for <sched.h>.
371 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
373 * configure: Regenerate after change to ../libtool.m4.
375 2000-08-14 Andreas Schwab <schwab@suse.de>
377 * objc-features.texi (Top): Move @menu at end of node.
379 2000-08-11 Manfred Hollstein <manfredh@redhat.com>
381 * objc-features.texi: Move @node Top before @menu.
383 Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
385 * objc-features.texi: Documented the new -fconstant-string-class
388 Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
390 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
391 improve the Posix thread support for Objective-C.
393 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
395 * aclocal.m4: Replace copy of ../libtool.m4 with
396 sinclude(../libtool.m4).
398 Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
400 * configure.in: Added libtool support; build shared libraries
401 if --enable-shared was passed on command line.
402 * Makefile.in: Modified most compilation commands to use libtool.
403 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
404 libtool distribution.
406 Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
408 * sarray.c, Object.m: Removed the explicit prototypes for strlen
409 and memcpy on 64-bit platforms (Suggested by Rodney Brown
412 2000-05-12 H.J. Lu (hjl@gnu.org)
414 * Makefile.in (GTHREAD_FLAGS): New.
415 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
416 (OBJC_THREAD_FILE): Changed to thr-objc.
418 * configure.in (GTHREAD_FLAGS): New, check and replace it for
420 (OBJC_THREAD_FILE): Removed.
424 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
426 * objc/hash.h: Include string.h.
428 2000-04-15 David Edelsohn <edelsohn@gnu.org>
430 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
432 2000-04-12 Jakub Jelinek <jakub@redhat.com>
434 * Object.m (strlen): Provide prototype on all 64bit platforms,
436 * sarray.c (memcpy): Likewise.
437 * encoding.c (objc_layout_finish_structure): Don't use
438 ROUND_TYPE_ALIGN on sparc.
440 * encoding.c (objc_layout_structure_next_member): Do the whole
441 procedure even for the first member, so that we get correct
444 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
446 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
449 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
451 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
453 Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
455 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
457 Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
459 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
460 the compiler when building C code.
462 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
464 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
465 libdir, libsubdir and tooldir.
467 Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
469 * init.c (__objc_force_linking): Make global.
471 Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
473 * configure.in (AC_EXEEXT): Remove call.
474 (compiler_name): Explicitly check with no extension and .exe
476 * configure: Regenerate.
478 Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
480 * Makefile.in (CC1OBJ): Define in terms of CC.
481 (runtime-info.h): Use.
483 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
485 * objc-features.texi: Updated the URL to Boehm's GC page.
487 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
489 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
490 the char as being signed (patch from Daniel Jacobowitz
493 Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
495 * configure.in (AC_PREREQ): Update to 2.13.
496 (AC_EXEEXT): Call to find possible file extension.
497 (compiler_name): Use.
498 * configure: Regenerate.
500 Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
502 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
504 Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
506 * configure.in (thread_file): Correct and simplify code to find
508 * configure: Rebuilt.
510 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
512 * configure.in (compiler_name): Add check to detect if this
513 language's compiler has been built.
514 * configure: Regenerate.
516 Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
518 * configure.in: Use AC_PREREQ(2.12.1).
520 Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
522 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
524 Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
526 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
528 Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
530 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
532 Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
534 * objc-features.texi (Top): Changed the email address.
535 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
537 Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
539 * encoding.c: Redefine get_inner_array_type to get the first entry
542 Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
544 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
545 (objc_get_type_qualifiers): Similarly.
546 * objc/encoding.h (_C_BYREF): Define.
549 1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
551 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
552 works out on 64-bit systems.
554 Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
556 * Makefile.in (INCLUDES): Make it multilib-friendly.
558 Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
560 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
562 Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
563 Jeffrey A Law (law@cygnus.com)
565 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
566 (FLAGS_TO_PASS): Added.
567 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
569 * archive.c: Change config.h to tconfig.h.
571 * configure.in: Find gcc's object directory even for multilibs.
573 Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
575 * configure.in: Escape ^ in grep string.
576 * configure: Rebuilt.
578 Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
580 * All .h files pushed down into the objc/ subdirectory.
581 * Makefile.in (copy_headers): Corresponding changes.
582 * configure.in (AC_INIT): Corresponding changes.
583 * configure: Rebuilt.
585 1998-09-30 Ben Elliston <bje@cygnus.com>
586 Jeff Law <law@cygnus.com>
588 * Makefile.in: Rewrite.
590 * configure.in: Likewise.
592 * configure: Regenerate.
594 * All .c files. Remove "objc" prefix when including objc header
595 files. Include tconfig.h, not ../tconfig.h.
597 Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
599 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
600 (get_inner_array_type): Define.
602 1998-09-21 Ben Elliston <bje@cygnus.com>
604 * New directory. Moved files from ../gcc/objc.