1 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
3 * objc/objc-exception.h: New file.
4 * exception.c (objc_set_uncaught_exception_handler): Implemented.
5 (objc_set_exception_matcher): Implemented.
6 (objc_exception_throw): Use the uncaught exception handler if set.
7 (PERSONALITY_FUNCTION): Use the exception matcher instead of the
9 (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
10 up. Removed segmentation fault when value is 'nil'.
11 * objc/objc-api.h (_objc_unexpected_exception): Mark as
13 * Makefile.in (exception.lo, exception_gc.lo): Use
14 -Wno-deprecated-declarations when compiling.
15 (OBJC_H): Added objc-exception.h
17 2010-09-08 Nicola Pero <nicola@nicola.brainstorm.co.uk>
19 * objc/typedstream.h: Deprecate all functions in the file. This
21 * objc/Object.h ([+streamVersion:], [-read:], [-write:],
22 [-awake]): Documented that these methods are deprecated. Added a
23 brief description of the Object class and its relationship to the
25 * Makefile.in: Compile archive.c and Object.m with
26 -Wno-deprecated-declarations.
28 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
30 Removed obsolete intermediate threading layer.
31 * thr.c: Use __gthread_objc_xxx functions directly instead of
32 __objc_thread_xxx ones.
33 * objc/thr.h: Removed prototypes of no longer existing
34 __objc_thread_xxx functions.
35 * Makefile.in: Removed thr-objc.lo.
36 * thr-dce.c: File removed.
37 * thr-decosf1.c: File removed.
38 * thr-irix.c: File removed.
39 * thr-mach.c: File removed.
40 * thr-objc.c: File removed.
41 * thr-os2.c: File removed.
42 * thr-posix.c: File removed.
43 * thr-pthreads.c: File removed.
44 * thr-rtems.c: File removed.
45 * thr-single.c: File removed.
46 * thr-solaris.c: File removed.
47 * thr-vxworks.c: File removed.
48 * thr-win32.c: File removed.
49 * README.threads: File removed.
50 * THREADS.MACH: File removed.
53 2010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
55 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
57 2010-09-06 Iain Sandoe <iains@gcc.gnu.org>
59 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
60 Add a comment as to why, update FIXME comments.
62 2010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
64 * makefile.dos: Obsolete file removed.
66 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
68 * aclocal.m4: Regenerate.
70 2010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
73 * configure.ac (extra_ldflags_libobjc): Define appropriately for
74 Cygwin and MinGW hosts.
75 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
76 (libobjc.dll): Likewise.
77 * configure: Regenerate.
79 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
81 * configure: Regenerate.
83 2009-11-28 Jakub Jelinek <jakub@redhat.com>
85 * sarray.c (sarray_free): Use old_buckets variable.
86 * encoding.c (objc_layout_structure_next_member): Remove unused
87 bfld_type_size variable.
89 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
91 * configure.ac (AC_PREREQ): Bump to 2.64.
93 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
95 * aclocal.m4: Regenerate.
96 * configure: Regenerate.
97 * config.h.in: Regenerate.
99 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
101 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
103 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
105 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
107 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
109 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
111 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
113 2009-04-09 Nick Clifton <nickc@redhat.com>
115 * sendmsg.c: Change copyright header to refer to version 3 of
116 the GNU General Public License with version 3.1 of the GCC
117 Runtime Library Exception and to point readers at the COPYING3
118 and COPYING3.RUNTIME files and the FSF's license web page.
119 * NXConstStr.m: Likewise.
120 * Object.m: Likewise.
121 * Protocol.m: Likewise.
122 * archive.c: Likewise.
124 * encoding.c: Likewise.
125 * exception.c: Likewise.
129 * libobjc_entry.c: Likewise.
130 * linking.m: Likewise.
132 * nil_method.c: Likewise.
133 * objc/NXConstStr.h: Likewise.
134 * objc/Object.h: Likewise.
135 * objc/Protocol.h: Likewise.
136 * objc/encoding.h: Likewise.
137 * objc/hash.h: Likewise.
138 * objc/objc-api.h: Likewise.
139 * objc/objc-decls.h: Likewise.
140 * objc/objc-list.h: Likewise.
141 * objc/objc.h: Likewise.
142 * objc/runtime.h: Likewise.
143 * objc/sarray.h: Likewise.
144 * objc/thr.h: Likewise.
145 * objc/typedstream.h: Likewise.
146 * objects.c: Likewise.
147 * sarray.c: Likewise.
148 * selector.c: Likewise.
149 * thr-dce.c: Likewise.
150 * thr-decosf1.c: Likewise.
151 * thr-irix.c: Likewise.
152 * thr-mach.c: Likewise.
153 * thr-objc.c: Likewise.
154 * thr-os2.c: Likewise.
155 * thr-posix.c: Likewise.
156 * thr-pthreads.c: Likewise.
157 * thr-rtems.c: Likewise.
158 * thr-single.c: Likewise.
159 * thr-solaris.c: Likewise.
160 * thr-vxworks.c: Likewise.
161 * thr-win32.c: Likewise.
163 * libobjc.def: Change copyright header to refer to version 3 of
164 the GNU General Public License and to point readers at the COPYING3
165 file and the FSF's license web page.
166 * makefile.dos: Likewise.
168 2009-04-09 Jakub Jelinek <jakub@redhat.com>
170 * Makefile.in: Change copyright header to refer to version
171 3 of the GNU General Public License and to point readers at the
172 COPYING3 file and the FSF's license web page.
173 * configure.ac: Likewise.
175 2009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
176 David Ayers <ayers@fsfe.org>
179 * objc/objc-api.h (_objc_unexpected_exception): Declare
180 new hook. Update copyright dates.
181 * exception.c (objc_exception_throw): Use hook. Update
183 * libobjc.def (_objc_unexpected_exception): Export hook.
184 Update copyright dates.
186 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
188 * configure: Regenerate.
190 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
192 * configure: Regenerate.
194 2008-11-21 Kai Tietz <kai.tietz@onevision.com>
196 * Object.m (errno): Replaced by errno.h include.
197 (compare): Cast self to id to prevent warning on comparison.
198 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
200 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
201 * thr-win32.c (__objc_thread_detach): Remove type warning.
202 (__objc_thread_id): Likewise.
203 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
206 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
207 Steve Ellcey <sje@cup.hp.com>
209 * configure: Regenerate for new libtool.
210 * config.h.in: Regenerate for new libtool.
212 2008-07-18 Matthias Klose <doko@ubuntu.com>
214 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
216 2008-07-18 Matthias Klose <doko@ubuntu.com>
218 * Makefile.in: Include ../boehm-gc/threads.mk.
219 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
221 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
223 * Makefile.in (install-info): New stub target.
225 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
227 * configure: Regenerate.
229 2008-06-14 Kai Tietz <kai.tietz@onevision.com>
231 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
232 if HAVE_GETIPINFO is not defined.
234 2008-06-10 Kai Tietz <kai.tietz@onevision.com>
236 * Object.m (compare): Add type id.
237 * objc/Object.h: Likewise.
238 * archive.c (objc_read_class): Use size_t to extend version to be
239 size of pointer scalar width.
240 * sendmsg.c (rtx): Undefine it before redefinition.
241 (__objc_print_dtable_stats): Cast arguments to long as intended.
243 2008-05-30 Julian Brown <julian@codesourcery.com>
245 * exception.c (__objc_exception_class): Initialise as constant
246 array for ARM EABI. Change macro to static const for non-ARM EABI.
247 (ObjcException): Add note about structure layout. Remove landingPad
248 and handlerSwitchValue for ARM EABI.
249 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
251 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
252 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
253 ARM EABI unwinding support.
254 (objc_exception_throw): Use memcpy to initialise exception class.
256 2008-05-25 Alan Modra <amodra@bigpond.net.au>
258 * encoding.c (strip_array_types): Rename from get_inner_array_type.
259 (rs6000_special_round_type_align): Update.
261 2008-05-09 Julian Brown <julian@codesourcery.com>
263 * Makefile.in (LTLDFLAGS): New.
264 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
266 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
269 * aclocal.m4: Regenerate.
270 * configure: Regenerate.
272 2008-01-24 David Edelsohn <edelsohn@gnu.org>
274 * configure: Regenerate.
276 2007-10-14 H.J. Lu <hongjiu.lu@intel.com>
278 * configure.ac: Don't run config-ml.in directly.
280 * configure: Regenerated.
282 2007-08-06 Andrew Pinski <pinskia@gmail.com>
285 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
286 of _Unwind_Word for variables which are used in
287 read_uleb128/read_sleb128.
288 (PERSONALITY_FUNCTION): Likewise.
290 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
292 * aclocal.m4: Regenerated.
294 2007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
296 * configure.ac: Fix a typo in *-*-darwin clause.
297 * configure: Regenerated.
299 2007-06-02 H.J. Lu <hongjiu.lu@intel.com>
301 * configure.ac: Fix a typo.
302 * configure: Regenerated.
304 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
306 * configure: Regenerate.
308 2007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
310 * Makefile.in: Replace all uses of libext with libsuffix.
311 * configure.ac: Likewise.
312 * configure: Regenerate.
315 * Makefile.in: Remove all uses of $(libext).
317 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
319 * Makefile.in: Remove all uses of $(libext).
321 2007-05-23 Steve Ellcey <sje@cup.hp.com>
323 * configure: Regenerate.
324 * aclocal.m4: Regenerate.
326 2007-04-21 Andrew Ruder <andy@aeruder.net>
328 * sendmsg.c (__objc_get_forward_imp): Call
329 __objc_msg_forward2 for real.
331 2007-04-09 Andrew Ruder <andy@aeruder.net>
333 * sendmsg.c: Added __objc_msg_forward2, a hook that allows
334 external libraries to provide a function that returns the real
335 forwarding function based on both the selector and the receiver.
336 * objc/objc-api.h: Define __objc_msg_forward2.
338 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
340 * Makefile.in: Add dummy install-pdf target.
342 2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
344 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
347 2006-10-31 Geoffrey Keating <geoffk@apple.com>
349 * encoding.c (darwin_rs6000_special_round_type_align): New.
351 2006-10-14 Geoffrey Keating <geoffk@apple.com>
353 * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
354 * configure.ac: Use multi.m4 from aclocal rather than custom
355 code. Use multi_basedir instead of toplevel_srcdir.
356 * aclocal.m4: Regenerate.
357 * configure: Regenerate.
359 2006-10-10 Brooks Moses <bmoses@stanford.edu>
361 * Makefile.in: Added empty "pdf" target.
363 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
365 * configure: Regenerate.
367 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
369 * Makefile.in: Add install-html target. Add install-html to .PHONY
371 2006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
374 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
376 2006-01-24 David Ayers <d.ayers@inode.at>
379 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
380 and insure the new strings are '\0' termintated.
382 2006-01-24 David Ayers <d.ayers@inode.at>
385 * configure.ac: Add include directives for --enable-objc-gc.
386 * Makefile.in: Ditto.
387 * configure: Regenerate.
389 * gc.c (__objc_class_structure_encoding): Increment the used bytes
390 instead of the local pointer to them.
392 2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
395 * objc/objc-api.c (_C_COMPLEX): New define.
396 * encoding.c (objc_sizeof_type): Handle _C_Complex.
397 (objc_alignof_type): Likewise.
398 (objc_skip_typespec): Likewise.
400 2005-12-15 David Ayers <d.ayers@inode.at>
403 * README (+load,+initialize): Fix documentation to reflect
404 intended and implemented semantics for +load and +initialize.
406 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
408 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
410 (get_inner_array_type): Fix to skip over _C_ARY_B and size.
411 (rs6000_special_round_type_align): Update for the ABI fix.
412 (objc_layout_finish_structure): Correct the encoding which is passed to
415 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
418 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
419 but use the struct layout functions.
420 (objc_alignof_type): Likewise.
421 (objc_layout_structure): Handle _C_UNION_B also.
422 (objc_layout_structure_next_member): Likewise.
423 (objc_layout_finish_structure): Likewise.
425 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
428 * objc/objc-api.h (_C_BOOL): New define.
429 * encoding.c (objc_sizeof_type): Handle _C_BOOL.
430 (objc_alignof_type): Likewise.
431 (objc_skip_typespec): Likewise.
433 2005-11-20 David Ayers <d.ayers@inode.at>
436 * objc/hash.h: Remove deprecated hash API.
437 * hash_compat.c: Remove.
438 * Makefile.in: Remove reference to hash_compat.c.
440 * configure.ac (VERSION): Bump library version to 2:0:0.
441 * configure: Regenerate.
443 2005-11-09 Alexandre Oliva <aoliva@redhat.com>
446 * thr-objc.c (_XOPEN_SOURCE): Define.
448 2005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
451 * objc/objc-api.h (struct objc_ivar): Move definition to
454 2005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
455 Rasmus Hahn <rassahah@neofonie.de>
458 * archive.c (objc_write_type): Correct the element offset.
459 (objc_read_type): Likewise.
461 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
463 * All files: Update FSF address.
465 2005-08-13 Marcin Koziej <creep@desk.pl>
466 Andrew Pinski <pinskia@physics.uc.edu>
469 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
471 2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
473 * Makefile.in (extra_ldflags_libobjc): New.
474 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
475 (libobjc_gc$(libext).la): Likewise.
476 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
477 "-Wl,-single_module".
478 * configure: Regenerate.
479 * linking.m (_objcInit): Remove.
481 2005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
484 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
486 2005-06-08 David Ayers <d.ayers@inode.at>
488 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
489 objc/encoding.h, objc/hash.h, objc/objc-api.h,
490 objc/runtime.h, objc/sarray.h, objc/thr.h,
491 objc/typedstream.h: Do not include Objective-C headers as
494 2005-06-07 David Ayers <d.ayers@inode.at>
496 * archive.c, init.c, selector.c: Include hash.h.
497 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
498 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
499 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
500 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
501 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
502 Include Objective-C headers with quotes and objc/ directory
505 2005-05-19 Richard Henderson <rth@redhat.com>
507 * exception.c: Revert last change.
509 2005-05-19 David Ayers <d.ayers@inode.at>
511 * exception.c: Include tsystem.h for unwind.h.
513 2005-05-09 Mike Stump <mrs@apple.com>
515 * configure: Regenerate.
517 2005-04-12 Mike Stump <mrs@apple.com>
519 * configure: Regenerate.
521 2005-03-21 Zack Weinberg <zack@codesourcery.com>
523 * Makefile.in: Set gcc_version here.
524 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
525 in definition of toolexeclibdir so that $(gcc_version) is expanded
527 * aclocal.m4, configure: Regenerate.
529 2005-03-03 David Ayers <d.ayers@inode.at>
531 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
532 version reference. Correct typo.
534 2005-03-02 David Ayers <d.ayers@inode.at>
537 * Makefile.in (OBJS): Add hash_compat.lo.
538 (OBJS_GC): Add hash_compat_gc.lo.
539 (hash_compat_gc.lo): New target and rule.
540 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
541 (hash_next, hash_value_for_key, hash_is_key_in_hash)
542 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
543 with objc_. Add deprecated non prefixed inlined versions.
544 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
546 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
547 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
549 * hash_compat.c: New file.
550 * archive.c: Update callers.
552 * selector.c: Likewise.
553 * libobjc.def: Add objc_ versions of hash functions.
555 2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
558 * Makefile.in (GTHREAD_FLAGS): Remove.
559 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
560 * thr-objc.c: Include config.h.
561 * configure.ac: Instead of looking at GCC's makefile, figure out if
562 GTHREAD_FLAGS should be defined by looking at the `thread model'
564 * configure: Regenerate.
565 * config.h.in: Regenerate.
567 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
570 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
571 (Determine CFLAGS for gthread): Use $host_subdir.
572 * configure: Regenerate.
573 * Makefile.in (host_subdir): New.
576 2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
579 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
581 Include limits.h and stdlib.h.
582 Define BITS_PER_WORD.
584 2004-12-12 Alexander Malmberg <alexander@malmberg.org>
586 * selector.c (__objc_init_selector_tables): Add missing void to
589 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
591 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
592 * configure, aclocal.m4: Regenerate.
594 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
596 * configure: Regenerate for libtool change.
598 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
600 * configure: Regenerate for libtool reversion.
602 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
604 * configure: Regenerate for libtool change.
606 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
608 * aclocal.m4, config.h.in: Regenerate.
610 2004-10-08 Mike Stump <mrs@apple.com>
611 Andrew Pinski <pinskia@physics.uc.edu>
613 * aclocal.m4: Rename to ...
614 * acinclude.m4: here and also use m4_include instead of sinclude.
615 * aclocal.m4: Regenerate.
616 * configure: Regenerate.
617 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
618 * Makefile.in (configure): Add @MAINT@ infront of configure.ac
620 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
622 * archive.c: Fix all the warnings about passing unsigned char*
623 to char* and the other way too.
625 2004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
628 * exception.c: Include config.h
629 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
631 * configure.ac: Find out what exception handling code we use.
632 * configure: Regenerate.
633 * config.h.in: New file, regenerate.
635 2004-09-16 Andrew Pinski <apinski@apple.com>
637 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
639 2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
641 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
642 ACX_NONCANONICAL_TARGET.
643 * configure: Regenerate.
645 2004-08-13 Ziemowit Laski <zlaski@apple.com>
647 * objc/sarray.h: Hoist include of assert.h near the top of file,
648 and mark the remainder of the file 'extern "C"'.
650 2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
652 * objc/Object.h: Move includes out of extern "C" blocks.
653 * objc/encoding.h: Likewise.
654 * objc/hash.h: Likewise.
655 * objc/objc-api.h: Likewise.
656 * objc/runtime.h: Likewise.
657 * objc/sarray.h: Likewise.
658 * objc/typedstream.h: Likewise.
660 2004-08-12 Ziemowit Laski <zlaski@apple.com>
662 * objc/NXConstStr.h: Update copyright date; bracket with
663 'extern "C"' for C++ use; make include syntax consistent
664 by using <...> instead of "..."; hoist <objc/...> includes
665 above the 'extern "C"' block.
666 * objc/Object.h: Likewise.
667 * objc/Protocol.h: Likewise.
668 * objc/encoding.h: Likewise.
669 * objc/hash.h: Likewise.
670 * objc/runtime.h: Likewise.
671 * objc/sarray.h: Likewise.
672 * objc/thr.h: Likewise.
673 * objc/typedstream.h: Likewise.
674 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
675 (objc_static_instances): For C++ case, do away with
677 (objc_method): Hoist definition to file scope.
678 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
679 class_get_instance_method, class_create_instance,
680 class_get_class_name, class_get_instance_size,
681 class_get_meta_class, class_get_super_class, class_get_version,
682 class_is_class, class_is_meta_class, class_set_version,
683 class_get_gc_object_type, class_ivar_set_gcinvisible,
684 get_imp): Rename 'class' parameter to '_class'.
685 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
686 * objc/objc.h: Update copyright date.
687 (arglist_t): Provide a union tag.
689 2004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
691 * thr.c (__objc_thread_detach_function): Do not mark as volatile
692 but instead use the attribute noreturn.
694 2004-06-28 Zack Weinberg <zack@codesourcery.com>
696 * encoding.c: Rename target_flags with a #define to avoid
697 conflict with a prior declaration.
699 2004-06-24 Andrew Pinski <apinski@apple.com>
701 * objc/encoding.h: Wrap the functions with extern "C" for C++
703 * objc/hash.h: Likewise.
704 * objc/objc-api.h: Likewise.
705 * objc/objc-list.h: Likewise.
706 * objc/runtime.h: Likewise.
707 * objc/sarray.h: Likewise.
708 * objc/thr.h: Likewise.
709 * objc/typedstream.h: Likewise.
712 2004-06-21 Nick Clifton <nickc@redhat.com>
714 * encoding.c (BITS_PER_UNIT): Define if a definition is not
717 2004-06-20 Alexander Malmberg <alexander@malmberg.org>
719 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
720 (exception_gc.lo): New.
721 (OBJS_GC): Add exception_gc.lo.
723 2004-06-17 Richard Henderson <rth@redhat.com>
725 * exception.c: New file.
726 * Makefile.in (exception.lo): New.
729 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
731 * linking.m (_objcInit): New empty function
734 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
736 * configure.ac: Support --enable-shared=libobjc.
737 * configure: Regenerate.
740 * configure.ac: Do not disable shared by default.
741 * configure: Regenerate.
743 2004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
745 * Protocol.m ([-isEqual:]): Small optimizations returning
746 immediately if the argument is equal to self, and accessing
747 the argument's name directly if it's a protocol.
749 2004-06-03 David Ayers <d.ayers@inode.at>
751 * Protocol.m ([-isEqual:]): Test the class of the argument.
753 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
755 * configure.ac (includedir): Rename to ...
757 * Makefile.in: s/includedir/includedirname/.
760 * configure.ac (includedir): Set to "include"
762 (libext) Set to empty except for Darwin.
763 * configure: Regenerate
764 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
765 s/include/$(includedir)/g.
767 2004-05-25 Daniel Jacobowitz <drow@false.org>
769 * Makefile.in: Add .NOEXPORT.
771 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
773 Merge from the libobjc-branch
774 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
776 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
778 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
780 * Makefile.in (OBJC_H): Add objc-deps.h.
782 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
784 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
785 ([-hash], [-isEqual:]): New methods.
787 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
789 * sarray.c (sarray_free): Add a better comment.
791 2004-01-27 Adam Fedor <fedor@gnu.org>
793 * hash.c (hash_add): Cast cachep to int.
794 * selector.c (__sel_register_typed_name): Cast
795 soffset_decode to int.
797 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
799 * selector.c: Rename register_selectors_from_list to
800 __objc_register_selectors_from_list. Update caller.
801 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
802 while registering selectors. Use __sel_register_typed_name instead
803 of sel_register_typed_name. Check for NULL method_name:s.
804 (pool_alloc_selector): New function.
805 (__sel_register_typed_name): Use pool_alloc_selector to allocate
807 * sendmsg.c (class_add_method_list): Use
808 __objc_register_selectors_from_list.
809 * objc/runtime.h: Add __objc_register_selectors_from_list.
811 2004-01-25 Adam Fedor <fedor@gnu.org>
812 Nicola Pero <n.pero@mi.flashnet.it>
813 Andrew Pinski <pinskia@physics.uc.edu>
815 * objc/objc-decls.h: New file.
816 * objc/objc-api.h (_objc_lookup_class): Mark as export.
817 (_objc_load_callback): Likewise.
818 (_objc_object_alloc): Likewise.
819 (_objc_object_copy): Likewise.
820 (_objc_object_dispose): Likewise.
822 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
824 * archive.c: s/__inline__/inline
825 * sendmsg.c: Likewise.
827 * encoding.c: Remove FIXME about the warning
828 about unused variable.
829 * sendmsg.c: Add a FIXME comment saying that
830 this should be using libffi.
832 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
835 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
837 * archive.c (objc_read_class): Initialize class_name.
838 (objc_read_selector): Initialize selector_name.
840 2004-05-09 Richard Sandiford <rsandifo@redhat.com>
842 * Makefile.in (toolexecdir): Remove trailing space.
844 2004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
847 * configure.ac: De-precious CC so multilibs work.
848 * configure: Regenerate.
850 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
852 * configure.ac: Restore toolexecdir.
853 * Makefile.in: Restore toolexecdir.
854 * configure: Regenerate.
856 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
858 * configure.ac: Remove (unused) glibcpp_prefixdir.
859 * configure: Regenerate.
861 * configure.in: Rename to configure.ac.
862 * Makefile.in: Update to match.
864 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
865 Replace glibcpp_toolexeclibdir with toolexeclibdir.
866 * configure.in: Remove glibcpp_toolexecdir (unused).
867 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
868 config.h or stamp-h (unused). Move one comment to the right place.
869 * configure: Regenerate.
870 * config.h.in: Remove (unused).
872 * config.h.in: Regenerate with autoheader.
874 * Makefile.in: Remove (unused) gcc_version_trigger.
875 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
877 * configure: Regenerate.
879 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
880 Sort file into sections. Remove dnl where appropriate. Fix
882 * configure: Regenerate.
884 * configure.in: Replace old AC_PROG_CC hack with new one.
885 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
886 are no subdirectory output files, so this is fine). Change prereq
888 * aclocal.m4: Include ../config/no-executables.m4.
889 * configure: Regenerate with autoconf 2.59.
891 * configure.in: Improve comments on gthread_cflags. Improve m4
892 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
893 * configure: Regenerate.
895 * configure.in: Move PACKAGE and VERSION settings up top. Remove
896 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
897 redundant checks for values of RANLIB, AR, INSTALL.
898 * configure: Regenerate.
900 * configure.in: Clean up handling of
901 --enable-version-specific-runtime-libs and related variables;
902 replace 'if test' with 'case' where reasonable. Fix comments.
903 Remove useless libstdcxx_interface.
904 * configure: Regenerate.
906 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
907 Replace uses of target_alias with target_noncanonical.
908 * aclocal.m4: Include ../config/acx.m4.
909 * configure: Regenerate.
910 * Makefile.in: Replace uses of target_alias with target_noncanonical.
911 Fix copyright statement.
913 * configure.in: Hand-inline bulky, confusing macros from
914 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
915 Update copyright notice. Remove stuff for automake, which isn't
916 used in this directory. Remove emacs local variables.
917 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
918 * configure: Regenerate.
920 2004-03-16 Manfred Hollstein <mh@suse.com>
922 * Makefile.in, configure.in, configure: Update copyright years.
924 2004-03-15 Manfred Hollstein <mh@suse.com>
926 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
927 definition from configure.in.
928 * configure.in (PACKAGE): Add definition.
929 (VERSION): Add definition; substitute it in output files.
930 * configure: Re-generate.
932 2004-03-05 Ziemowit Laski <zlaski@apple.com>
934 * objc/hash.h (hash_string, compare_strings):
935 Add type-casts to make Objective-C++ happy.
936 * objc/typedstream.h (objc_get_stream_class_version):
937 Rename parameter from 'class' to 'class_name' to make
940 2004-03-01 Michael Matz <matz@suse.de>
942 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
944 2004-02-06 Ziemowit Laski <zlaski@apple.com>
946 * objc/objc-api.h (objc_super): The 'class' field shall
947 be named 'super_class' #ifdef __cplusplus.
949 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
952 * encoding.c (rs6000_special_round_type_align): Define.
954 2004-01-14 Adam Fedor <fedor@gnu.org>
957 * selector.c (__objc_register_instance_methods_to_class): Free
958 new_list if not used.
960 2004-01-09 Andrew Ruder <aeruder@ksu.edu>
963 * sarray.c (sarray_free): Free array->is_copy_of latter.
965 2003-12-01 Zack Weinberg <zack@codesourcery.com>
968 * Protocol.m (descriptionForInstanceMethod): Don't dereference
969 instance_methods if it's NULL.
970 (descriptionForClassMethod): Likewise for class_methods.
972 2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
974 * Makefile.in (runtime-info.h): Remove -Wp.
976 2003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
978 * Makefile.in (CC1OBJ): Remove.
979 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
981 Use .m extension for temporary file.
982 Remove assembler temp file.
984 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
986 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
988 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
990 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
992 2003-09-09 Alan Modra <amodra@bigpond.net.au>
994 * configure: Regenerate.
996 2003-08-27 Alexander Malmberg <alexander@malmberg.org>
998 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
999 (libdir)/gcc-lib/ when installing.
1000 * configure: Regenerate.
1002 Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
1005 * sendmsg.c (get_imp): Fixed rare threading problem.
1006 (__objc_responds_to): Similar fixes.
1007 (objc_msg_lookup): Similar fixes.
1008 (__objc_init_install_dtable): Lock the runtime before checking if the
1011 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
1013 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
1014 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
1015 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
1016 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
1017 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
1018 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
1019 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
1020 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
1021 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
1022 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
1023 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
1025 Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
1026 Nicola Pero <n.pero@mi.flashnet.it>
1029 * init.c (class_superclass_of_class): New function.
1030 (create_tree_of_subclasses_inherited_from): Use it.
1031 (__objc_tree_insert_class): Likewise.
1032 (class_is_subclass_of_class): Likewise.
1034 2003-04-11 David Chad <davidc@freebsd.org>
1035 Loren J. Rittle <ljrittle@acm.org>
1038 * objc/hash.h (hash_string): Constify correctly.
1039 (compare_ptrs): Use direct compare.
1040 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
1041 * objc/sarray.h: Global rename index to indx to avoid shadow.
1043 2003-03-12 Andreas Schwab <schwab@suse.de>
1045 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1046 glibcpp_toolexeclibdir.
1047 * configure: Rebuilt.
1049 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1051 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1053 * configure: Rebuilt.
1055 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1057 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
1058 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1059 version_specific_libs is enabled.
1060 * configure: Rebuilt.
1062 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1064 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1065 (install-libs, install-headers): Prepend $(DESTDIR) to
1066 destination paths in all (un)installation commands.
1068 2002-12-02 Zack Weinberg <zack@codesourcery.com>
1070 * thr-objc.c: Include coretypes.h and tm.h.
1072 2002-12-01 Zack Weinberg <zack@codesourcery.com>
1074 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
1076 2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
1078 * configure.in: Remove skip-this-dir support.
1079 * configure: Regenerate.
1081 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1083 * Makefile.in (all): Fix multilib parallel build.
1085 Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
1087 * sendmsg.c (nil_method): Declare not to take a variable number of
1089 (objc_msg_lookup): Cast nil_method to IMP before returning it.
1090 (objc_msg_lookup_super): The same.
1092 2002-09-10 Jan Hubicka <jh@suse.cz>
1094 * nil_method.c (nil_method): No longer defined with variable
1097 2002-07-02 Rodney Brown <rbrown64@csc.com.au>
1099 * objc/encoding.h: Fix formatting.
1100 * objc/hash.h: Likewise.
1101 * objc/objc-api.h: Likewise.
1102 * objc/runtime.h: Likewise.
1103 * objc/thr.h: Likewise.
1104 * archive.c: Likewise.
1105 * class.c: Likewise.
1106 * encoding.c: Likewise.
1111 * nil_method.c: Likewise.
1112 * objects.c: Likewise.
1113 * sarray.c: Likewise.
1114 * selector.c: Likewise.
1115 * sendmsg.c: Likewise.
1116 * thr-mach.c: Likewise.
1119 2002-06-25 DJ Delorie <dj@redhat.com>
1121 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
1122 GLIBCPP_TOPREL_CONFIGURE.
1123 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1124 * configure: Regenerate.
1126 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1128 * Object.m (forward, read, write): Fix unused parameter warnings.
1129 * encoding.c: Include <stdlib.h>.
1130 (target_flags): Mark with attribute unused.
1132 * runtime.h (__objc_selector_max_index): Change to unsigned int.
1133 (__objc_generate_gc_type_description): Prototype.
1134 * selector.c (__objc_selector_max_index): Change to unsigned int.
1136 Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
1138 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
1139 we always have a return value: if __objc_msg_forward does not
1140 supply a forwarding implementation, return the default
1141 __builtin_apply based one.
1143 2002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1145 * Object.m: Fix signed/unsigned warning.
1146 * Protocol.m: Likewise.
1147 * archive.c: Always include stdlib.h.
1148 (objc_read_short, objc_read_unsigned_short, objc_read_int,
1149 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
1150 Fix signed/unsigned warning.
1151 (objc_write_type, objc_read_type, objc_write_types,
1152 objc_read_types): Ensure ctype 8-bit safety.
1153 (__objc_no_write, __objc_no_read): Mark unused parameters.
1154 * class.c (class_table_setup): Specify void arg.
1155 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
1156 objc_skip_typespec, objc_skip_offset,
1157 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
1158 (objc_layout_structure_next_member): Ensure variables are
1160 * gc.c (__objc_generate_gc_type_description,
1161 class_ivar_set_gcinvisible): Mark unused parameters.
1162 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
1164 (__objc_init_protocols) Fix signed/unsigned warning.
1165 * nil_method.c (nil_method): Mark unused parameters.
1166 * thr.h (objc_thread_callback): Specify void arg.
1167 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
1168 signed/unsigned warning.
1169 (sarray_free): Fix formatting.
1170 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
1171 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
1173 2002-06-09 Andreas Jaeger <aj@suse.de>
1175 * encoding.c (objc_layout_structure_next_member): Remove unused
1178 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1180 * Makefile.in (SHELL): Set to @SHELL@.
1182 (ALL_CFLAGS): Add $(WARN_CFLAGS).
1184 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1186 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
1187 * configure: Regenerate.
1189 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1191 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1192 script entry, and set LD to it when configuring multilibs.
1193 * configure: Rebuilt.
1195 2002-04-19 David O'Brien <obrien@FreeBSD.org>
1197 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
1199 2002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
1202 * objc/objc-api.h (struct objc_protocol_list): Change type of
1203 member count from int to size_t.
1205 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1208 * aclocal.m4: Replace with version copied from libstdc++-v3.
1209 * configure.in: Update for changes to aclocal and Makefile.
1210 * configure: Regenerate.
1211 * Makefile.in: Correct install of multilibs and shared libs, use
1212 INSTALL_DATA for include files.
1214 Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
1216 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
1217 categories - when an unclaimed category was found, the loop was
1218 doing two steps forward instead of one, so that in certain cases
1219 it was failing to properly load all the categories. (Reported
1220 with fix by Alexander Malmberg <alexander@malmberg.org>).
1222 2001-11-14 Aldy Hernandez <aldyh@redhat.com>
1224 * encoding.c: Add target_flags.
1226 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
1228 * objc/objc-api.h (_C_VECTOR): New.
1230 * encoding.c (VECTOR_TYPE): New.
1232 Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
1234 * class.c: Rewritten the class table to use optimized, lock-free
1235 lookup. This more than doubles the speed of class method
1236 invocations. (class_table_setup), (class_table_insert),
1237 (class_table_replace), (class_table_get_safe),
1238 (class_table_next), (class_table_print),
1239 (class_table_print_histogram): New functions.
1240 (__objc_init_class_tables): Use class_table_setup.
1241 (__objc_add_class_to_hash): Use class_table_get_safe and
1242 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
1243 assert the existence of the table; do not lock the runtime; use
1244 class_table_get_safe. (objc_next_class): Use class_table_next.
1245 (__objc_resolve_class_links): Use class_table_next.
1246 (class_pose_as): Use class_table_replace.
1248 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
1250 * gc.c: Removed the DEBUG declaration.
1252 Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
1254 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
1255 rather than through objc_thread_id, to save a function call.
1256 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
1259 Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
1261 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
1262 to cast an id to a Class, which can not be done. Make the check
1263 by using CLS_ISMETA on the class pointer instead.
1264 (object_is_meta_class): Similar fix.
1266 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1268 * configure.in (AC_EXEEXT): Work around in case it expands to
1269 nothing, as in autoconf 2.50.
1270 * acinclude.m4: Likewise.
1271 * configure: Rebuilt.
1273 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
1275 * THREADS: Explain that when we compile libobjc inside GCC, we
1276 always use thr-objc.c as a backend, which uses GCC's thread code.
1278 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
1280 * init.c (__objc_send_message_in_list): When setting a new entry
1281 in __objc_load_methods use the method IMP as key, but check to see
1282 if the method is in the hashtable by looking at the IMP also.
1283 Also ... call the method after adding it to the hashtable rather
1284 than before ... thus preventing an obscure possibility of infinite
1285 recursion if a +load method itself loads a subclass.
1287 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
1289 * init.c (__objc_send_message_in_list): When setting a new entry
1290 in __objc_load_methods use the method name as key, not the method
1291 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
1293 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
1295 * objc-features.texi: Move to ../gcc/objc.texi.
1297 * Makefile.in: Don't generate documentation from
1300 2001-05-01 Mark Mitchell <mark@codesourcery.com>
1302 * fdl.texi: New file.
1303 * objc-features.texi: Simplify.
1304 * Makefile.in: Adjust accordingly.
1306 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1308 * objc-features.texi: Use the GFDL.
1310 Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
1312 * encoding.c (REAL_TYPE): Define.
1314 2001-03-19 David Edelsohn <edelsohn@gnu.org>
1316 * encoding.c (TYPE_MODE): Define.
1318 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
1320 * thr.c (objc_thread_add): New function.
1321 (objc_thread_remove): Ditto.
1322 * objc/thr.h: Declare them.
1323 * libobjc.def: Mention them.
1325 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
1327 * objc-features.texi: Document the @compatibility_alias compiler
1328 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
1330 Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1332 * sendmsg.c (__objc_forward): Delete strlen() declaration.
1334 2001-02-08 Geoffrey Keating <geoffk@redhat.com>
1336 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
1337 we're not interested in the result and they might fail.
1338 * configure: Regenerated.
1340 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1342 * objc-features.texi: Use @email.
1344 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1346 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
1349 2000-01-11 Richard Earnshaw <rearnsha@arm.com>
1351 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
1352 determines the value dynamically.
1354 Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
1356 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
1357 libraries to provide a function that returns the real forwarding
1358 function. This can alleviate problems __builtin_apply() and
1359 friends have on various platforms. (Solution suggested by Helge
1362 * objc/objc-api.h: Define __objc_msg_forward.
1364 * sendmsg.c: Define gen_rtx_REG.
1366 2000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1368 * thr-rtems.c: New file. Stub to compile.
1370 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1372 * configure: Rebuilt with new libtool.m4.
1374 Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1376 * configure.in: Create a config.h file. Check for <sched.h>.
1377 * configure: Regenerate.
1379 * config.h.in: Check for <sched.h>.
1381 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1383 * configure: Regenerate after change to ../libtool.m4.
1385 2000-08-14 Andreas Schwab <schwab@suse.de>
1387 * objc-features.texi (Top): Move @menu at end of node.
1389 2000-08-11 Manfred Hollstein <manfredh@redhat.com>
1391 * objc-features.texi: Move @node Top before @menu.
1393 Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1395 * objc-features.texi: Documented the new -fconstant-string-class
1398 Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1400 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
1401 improve the Posix thread support for Objective-C.
1403 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
1405 * aclocal.m4: Replace copy of ../libtool.m4 with
1406 sinclude(../libtool.m4).
1408 Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
1410 * configure.in: Added libtool support; build shared libraries
1411 if --enable-shared was passed on command line.
1412 * Makefile.in: Modified most compilation commands to use libtool.
1413 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
1414 libtool distribution.
1416 Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1418 * sarray.c, Object.m: Removed the explicit prototypes for strlen
1419 and memcpy on 64-bit platforms (Suggested by Rodney Brown
1422 2000-05-12 H.J. Lu (hjl@gnu.org)
1424 * Makefile.in (GTHREAD_FLAGS): New.
1425 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
1426 (OBJC_THREAD_FILE): Changed to thr-objc.
1428 * configure.in (GTHREAD_FLAGS): New, check and replace it for
1430 (OBJC_THREAD_FILE): Removed.
1434 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1436 * objc/hash.h: Include string.h.
1438 2000-04-15 David Edelsohn <edelsohn@gnu.org>
1440 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
1442 2000-04-12 Jakub Jelinek <jakub@redhat.com>
1444 * Object.m (strlen): Provide prototype on all 64bit platforms,
1446 * sarray.c (memcpy): Likewise.
1447 * encoding.c (objc_layout_finish_structure): Don't use
1448 ROUND_TYPE_ALIGN on sparc.
1450 * encoding.c (objc_layout_structure_next_member): Do the whole
1451 procedure even for the first member, so that we get correct
1454 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1456 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
1459 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
1461 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
1463 Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
1465 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
1467 Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
1469 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
1470 the compiler when building C code.
1472 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1474 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1475 libdir, libsubdir and tooldir.
1477 Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
1479 * init.c (__objc_force_linking): Make global.
1481 Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
1483 * configure.in (AC_EXEEXT): Remove call.
1484 (compiler_name): Explicitly check with no extension and .exe
1486 * configure: Regenerate.
1488 Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
1490 * Makefile.in (CC1OBJ): Define in terms of CC.
1491 (runtime-info.h): Use.
1493 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1495 * objc-features.texi: Updated the URL to Boehm's GC page.
1497 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1499 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
1500 the char as being signed (patch from Daniel Jacobowitz
1503 Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
1505 * configure.in (AC_PREREQ): Update to 2.13.
1506 (AC_EXEEXT): Call to find possible file extension.
1507 (compiler_name): Use.
1508 * configure: Regenerate.
1510 Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
1512 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
1514 Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
1516 * configure.in (thread_file): Correct and simplify code to find
1518 * configure: Rebuilt.
1520 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
1522 * configure.in (compiler_name): Add check to detect if this
1523 language's compiler has been built.
1524 * configure: Regenerate.
1526 Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1528 * configure.in: Use AC_PREREQ(2.12.1).
1530 Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
1532 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
1534 Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1536 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
1538 Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1540 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
1542 Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
1544 * objc-features.texi (Top): Changed the email address.
1545 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
1547 Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
1549 * encoding.c: Redefine get_inner_array_type to get the first entry
1552 Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
1554 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
1555 (objc_get_type_qualifiers): Similarly.
1556 * objc/encoding.h (_C_BYREF): Define.
1559 1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
1561 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
1562 works out on 64-bit systems.
1564 Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
1566 * Makefile.in (INCLUDES): Make it multilib-friendly.
1568 Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
1570 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
1572 Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
1573 Jeffrey A Law (law@cygnus.com)
1575 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
1576 (FLAGS_TO_PASS): Added.
1577 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
1579 * archive.c: Change config.h to tconfig.h.
1581 * configure.in: Find gcc's object directory even for multilibs.
1583 Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
1585 * configure.in: Escape ^ in grep string.
1586 * configure: Rebuilt.
1588 Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
1590 * All .h files pushed down into the objc/ subdirectory.
1591 * Makefile.in (copy_headers): Corresponding changes.
1592 * configure.in (AC_INIT): Corresponding changes.
1593 * configure: Rebuilt.
1595 1998-09-30 Ben Elliston <bje@cygnus.com>
1596 Jeff Law <law@cygnus.com>
1598 * Makefile.in: Rewrite.
1600 * configure.in: Likewise.
1602 * configure: Regenerate.
1604 * All .c files. Remove "objc" prefix when including objc header
1605 files. Include tconfig.h, not ../tconfig.h.
1607 Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
1609 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
1610 (get_inner_array_type): Define.
1612 1998-09-21 Ben Elliston <bje@cygnus.com>
1614 * New directory. Moved files from ../gcc/objc.