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