1 2010-09-14 Nicola Pero <nicola.pero@meta-innovation.com>
3 Implemented objc_sync_enter() and objc_sync_exit(), which are
4 required by @synchronized() to work.
5 * objc-sync.c: New file.
6 * objc/objc-sync.h: New file.
7 * objc-private/objc-sync.h: New file.
8 * init.c (__objc_exec_class): Call __objc_sync_init() during the
9 Objective-C runtime startup.
10 * Makefile.in: Added objc-sync.c and objc-sync.h.
11 * configure.ac: Added GCC_CHECK_TLS.
12 * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
13 * configure: Regenerated.
14 * config.h.in: Regenerated.
16 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
18 * Makefile.in (%_gc.lo): New pattern rules to build the
19 garbage-collected version of the library. Removed rules for
20 specific files that are no longer needed. Standardized all rules.
21 (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
22 (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
24 (INCLUDES): Removed the unused include -I$(srcdir)/objc.
26 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
28 * memory.c (objc_calloc): Fixed call to GC_malloc when building
29 with Garbage Colletion.
31 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
33 * memory.c: Do not include objc-private/runtime.h.
35 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
37 * objc/deprecated/objc_malloc.h: New file.
38 * objc/deprecated/objc_valloc.h: New file.
39 * objc/objc-api.h: Include the files instead of defining
40 objc_valloc, _objc_malloc() and similar.
41 * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
43 * memory.c: Removed the extra layer of indirection of _objc_malloc
45 (objc_calloc): Use GC_malloc in the garbage-collected
46 implementation as GC_malloc returns memory that is already freed.
47 (objc_valloc): Deprecated.
49 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
51 * objc/deprecated/objc_error.h: New file.
52 * objc/objc-api.h: Include deprecated/objc_error.h instead of
53 defining objc_error and related.
54 * error.c: New file. Added _objc_abort function which replaces
55 objc_error. No change in functionality as they both print an
57 * misc.c: File removed. Code moved into memory.c and error.c.
59 * objc-private/error.h: New file.
60 * archive.c: Include objc-private/error.h and use _objc_abort
61 instead of objc_error everywhere.
62 * class.c: Same change.
63 * encoding.c: Same change.
64 * init.c: Same change, and simplified init_check_module_version.
65 * memory.c: Same change.
66 * sendmsg.c: Same change.
68 * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
69 (OBJ_H): Reordered list.
70 (OBJS): Removed misc.lo, added memory.lo and error.lo.
71 (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
72 (misc_gc.lo): Rule removed.
73 (error_gc.lo): Rule added.
74 (memory_gc.lo): Rule added.
76 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
78 * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
79 to check the API version. Added some comments.
81 * objc-private/common.h: New file.
82 * NXConstStr.m: Include objc-private/common.h.
83 * Object.m: Same change.
84 * Protocol.m: Same change.
85 * archive.c: Same change.
86 * class.c: Same change.
87 * encoding.c: Same change.
88 * exception.c: Same change.
90 * hash.c: Same change.
91 * init.c: Same change.
92 * libobjc_entry.c: Same change.
93 * linking.m: Same change.
94 * misc.c: Same change (and added a comment).
95 * nil_method.c: Same change.
96 * objects.c: Same change.
97 * sarray.c: Same change.
98 * selector.c: Same change.
99 * sendmsg.c: Same change.
100 * thr.c: Same change.
102 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
104 * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
106 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
108 * archive.c: Removed not needed includes.
109 * class.c: Same change.
110 * hash.c: Same change.
111 * misc.c: Same change.
112 * nil_method.c: Same change.
113 * objects.c: Same change.
114 * sarray.c: Same change.
115 * sendmsg.c: Same change.
116 * thr.c: Same change.
118 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
120 * objc/runtime.h: Moved to objc-private/runtime.h. Do not include
121 all the objc/*.h files.
122 * objc-private/runtime.h: New file.
123 * archive.c: Include objc-private/runtime.h (and required objc/*.h
124 files) instead of objc/runtime.h.
125 * class.c: Same change.
126 * hash.c: Same change.
127 * init.c: Same change.
128 * misc.c: Same change.
129 * nil_method.c: Same change.
130 * objects.c: Same change.
131 * sarray.c: Same change.
132 * selector.c: Same change.
133 * sendmsg.c: Same change.
134 * thr.c: Same change.
136 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
138 * objc/deprecated/struct_objc_selector.h: New file. Definition of
139 'struct objc_selector' and 'sel_eq' moved here.
140 * objc/deprecated/struct_objc_protocol.h: New file. Definition of
141 'struct objc_procotol' moved here.
142 * objc/deprecated/struct_objc_class.h: New file. Definition of
143 'struct objc_class' moved here.
144 * objc/deprecated/MetaClass.h: New file. Definition of MetClass
146 * objc/deprecated/STR.h: New file. Definition of STR moved here.
147 * objc/message.h: New file. Definitions for relval_t, apply_t,
148 arglist, arglist_t and objc_msg_lookup were moved here.
149 * objc/objc.h: Include the above files instead of defining the
150 corresponding structs, types and functions here. Added new opaque
151 definitions for SEL and Class. Use Class and not 'struct
152 objc_class *' in the definition of 'struct objc_object'.
153 Commented all types defined in the file. Removed special
154 definition of BOOL as 'int' on __vxworks; use 'unsigned char'
156 * objc/deprecated/objc-unexpected-exception.h: Renamed to
157 objc_unexpected_exception.h.
158 * objc/objc-api.h: Updated include of
159 objc-unexpetected-exception.h
160 * objc/objc-exception.h: Updated comments.
161 * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
162 files. Reindented list of files.
164 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
166 * objc/objc-api.h (objc_trace): Unused variable removed.
168 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
170 * objc/deprecated: New directory.
171 * objc/deprecated/README: New file.
172 * objc/README: New file.
173 * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
174 objc/typedstream.h replaced with a placeholder including the file
175 from the deprecated/ directory.
176 * objc/deprecated/objc-unexpected-exception.h: New file with the
177 definition of _objc_unexpected_exception.
178 * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
179 instead of defining _objc_unexpected_exception.
180 * objc/deprecated/Object.h: New file with the deprecated Object
181 methods in a 'Deprecated' category.
182 * objc/Object.h Include deprecated/Object.h instead of defining
183 the deprecated methods.
184 * Object.m: Moved deprecated methods into 'Deprecated' category.
185 * objc-private: New directory.
186 * objc-private/README: New file.
187 * Makefile.in (OBJC_DEPRECATED_H): New variable.
188 (install-headers): Create installation directory for
189 OBJC_DEPRECATED_H headers, and install them.
191 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
193 * objc/objc-exception.h: Fixed include of objc.h.
195 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
197 * objc/objc-exception.h: New file.
198 * exception.c (objc_set_uncaught_exception_handler): Implemented.
199 (objc_set_exception_matcher): Implemented.
200 (objc_exception_throw): Use the uncaught exception handler if set.
201 (PERSONALITY_FUNCTION): Use the exception matcher instead of the
203 (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
204 up. Removed segmentation fault when value is 'nil'.
205 * objc/objc-api.h (_objc_unexpected_exception): Mark as
207 * Makefile.in (exception.lo, exception_gc.lo): Use
208 -Wno-deprecated-declarations when compiling.
209 (OBJC_H): Added objc-exception.h
211 2010-09-08 Nicola Pero <nicola@nicola.brainstorm.co.uk>
213 * objc/typedstream.h: Deprecate all functions in the file. This
215 * objc/Object.h ([+streamVersion:], [-read:], [-write:],
216 [-awake]): Documented that these methods are deprecated. Added a
217 brief description of the Object class and its relationship to the
219 * Makefile.in: Compile archive.c and Object.m with
220 -Wno-deprecated-declarations.
222 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
224 Removed obsolete intermediate threading layer.
225 * thr.c: Use __gthread_objc_xxx functions directly instead of
226 __objc_thread_xxx ones.
227 * objc/thr.h: Removed prototypes of no longer existing
228 __objc_thread_xxx functions.
229 * Makefile.in: Removed thr-objc.lo.
230 * thr-dce.c: File removed.
231 * thr-decosf1.c: File removed.
232 * thr-irix.c: File removed.
233 * thr-mach.c: File removed.
234 * thr-objc.c: File removed.
235 * thr-os2.c: File removed.
236 * thr-posix.c: File removed.
237 * thr-pthreads.c: File removed.
238 * thr-rtems.c: File removed.
239 * thr-single.c: File removed.
240 * thr-solaris.c: File removed.
241 * thr-vxworks.c: File removed.
242 * thr-win32.c: File removed.
243 * README.threads: File removed.
244 * THREADS.MACH: File removed.
247 2010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
249 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
251 2010-09-06 Iain Sandoe <iains@gcc.gnu.org>
253 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
254 Add a comment as to why, update FIXME comments.
256 2010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
258 * makefile.dos: Obsolete file removed.
260 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
262 * aclocal.m4: Regenerate.
264 2010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
267 * configure.ac (extra_ldflags_libobjc): Define appropriately for
268 Cygwin and MinGW hosts.
269 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
270 (libobjc.dll): Likewise.
271 * configure: Regenerate.
273 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
275 * configure: Regenerate.
277 2009-11-28 Jakub Jelinek <jakub@redhat.com>
279 * sarray.c (sarray_free): Use old_buckets variable.
280 * encoding.c (objc_layout_structure_next_member): Remove unused
281 bfld_type_size variable.
283 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
285 * configure.ac (AC_PREREQ): Bump to 2.64.
287 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
289 * aclocal.m4: Regenerate.
290 * configure: Regenerate.
291 * config.h.in: Regenerate.
293 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
295 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
297 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
299 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
301 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
303 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
305 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
307 2009-04-09 Nick Clifton <nickc@redhat.com>
309 * sendmsg.c: Change copyright header to refer to version 3 of
310 the GNU General Public License with version 3.1 of the GCC
311 Runtime Library Exception and to point readers at the COPYING3
312 and COPYING3.RUNTIME files and the FSF's license web page.
313 * NXConstStr.m: Likewise.
314 * Object.m: Likewise.
315 * Protocol.m: Likewise.
316 * archive.c: Likewise.
318 * encoding.c: Likewise.
319 * exception.c: Likewise.
323 * libobjc_entry.c: Likewise.
324 * linking.m: Likewise.
326 * nil_method.c: Likewise.
327 * objc/NXConstStr.h: Likewise.
328 * objc/Object.h: Likewise.
329 * objc/Protocol.h: Likewise.
330 * objc/encoding.h: Likewise.
331 * objc/hash.h: Likewise.
332 * objc/objc-api.h: Likewise.
333 * objc/objc-decls.h: Likewise.
334 * objc/objc-list.h: Likewise.
335 * objc/objc.h: Likewise.
336 * objc/runtime.h: Likewise.
337 * objc/sarray.h: Likewise.
338 * objc/thr.h: Likewise.
339 * objc/typedstream.h: Likewise.
340 * objects.c: Likewise.
341 * sarray.c: Likewise.
342 * selector.c: Likewise.
343 * thr-dce.c: Likewise.
344 * thr-decosf1.c: Likewise.
345 * thr-irix.c: Likewise.
346 * thr-mach.c: Likewise.
347 * thr-objc.c: Likewise.
348 * thr-os2.c: Likewise.
349 * thr-posix.c: Likewise.
350 * thr-pthreads.c: Likewise.
351 * thr-rtems.c: Likewise.
352 * thr-single.c: Likewise.
353 * thr-solaris.c: Likewise.
354 * thr-vxworks.c: Likewise.
355 * thr-win32.c: Likewise.
357 * libobjc.def: Change copyright header to refer to version 3 of
358 the GNU General Public License and to point readers at the COPYING3
359 file and the FSF's license web page.
360 * makefile.dos: Likewise.
362 2009-04-09 Jakub Jelinek <jakub@redhat.com>
364 * Makefile.in: Change copyright header to refer to version
365 3 of the GNU General Public License and to point readers at the
366 COPYING3 file and the FSF's license web page.
367 * configure.ac: Likewise.
369 2009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
370 David Ayers <ayers@fsfe.org>
373 * objc/objc-api.h (_objc_unexpected_exception): Declare
374 new hook. Update copyright dates.
375 * exception.c (objc_exception_throw): Use hook. Update
377 * libobjc.def (_objc_unexpected_exception): Export hook.
378 Update copyright dates.
380 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
382 * configure: Regenerate.
384 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
386 * configure: Regenerate.
388 2008-11-21 Kai Tietz <kai.tietz@onevision.com>
390 * Object.m (errno): Replaced by errno.h include.
391 (compare): Cast self to id to prevent warning on comparison.
392 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
394 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
395 * thr-win32.c (__objc_thread_detach): Remove type warning.
396 (__objc_thread_id): Likewise.
397 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
400 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
401 Steve Ellcey <sje@cup.hp.com>
403 * configure: Regenerate for new libtool.
404 * config.h.in: Regenerate for new libtool.
406 2008-07-18 Matthias Klose <doko@ubuntu.com>
408 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
410 2008-07-18 Matthias Klose <doko@ubuntu.com>
412 * Makefile.in: Include ../boehm-gc/threads.mk.
413 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
415 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
417 * Makefile.in (install-info): New stub target.
419 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
421 * configure: Regenerate.
423 2008-06-14 Kai Tietz <kai.tietz@onevision.com>
425 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
426 if HAVE_GETIPINFO is not defined.
428 2008-06-10 Kai Tietz <kai.tietz@onevision.com>
430 * Object.m (compare): Add type id.
431 * objc/Object.h: Likewise.
432 * archive.c (objc_read_class): Use size_t to extend version to be
433 size of pointer scalar width.
434 * sendmsg.c (rtx): Undefine it before redefinition.
435 (__objc_print_dtable_stats): Cast arguments to long as intended.
437 2008-05-30 Julian Brown <julian@codesourcery.com>
439 * exception.c (__objc_exception_class): Initialise as constant
440 array for ARM EABI. Change macro to static const for non-ARM EABI.
441 (ObjcException): Add note about structure layout. Remove landingPad
442 and handlerSwitchValue for ARM EABI.
443 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
445 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
446 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
447 ARM EABI unwinding support.
448 (objc_exception_throw): Use memcpy to initialise exception class.
450 2008-05-25 Alan Modra <amodra@bigpond.net.au>
452 * encoding.c (strip_array_types): Rename from get_inner_array_type.
453 (rs6000_special_round_type_align): Update.
455 2008-05-09 Julian Brown <julian@codesourcery.com>
457 * Makefile.in (LTLDFLAGS): New.
458 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
460 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
463 * aclocal.m4: Regenerate.
464 * configure: Regenerate.
466 2008-01-24 David Edelsohn <edelsohn@gnu.org>
468 * configure: Regenerate.
470 2007-10-14 H.J. Lu <hongjiu.lu@intel.com>
472 * configure.ac: Don't run config-ml.in directly.
474 * configure: Regenerated.
476 2007-08-06 Andrew Pinski <pinskia@gmail.com>
479 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
480 of _Unwind_Word for variables which are used in
481 read_uleb128/read_sleb128.
482 (PERSONALITY_FUNCTION): Likewise.
484 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
486 * aclocal.m4: Regenerated.
488 2007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
490 * configure.ac: Fix a typo in *-*-darwin clause.
491 * configure: Regenerated.
493 2007-06-02 H.J. Lu <hongjiu.lu@intel.com>
495 * configure.ac: Fix a typo.
496 * configure: Regenerated.
498 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
500 * configure: Regenerate.
502 2007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
504 * Makefile.in: Replace all uses of libext with libsuffix.
505 * configure.ac: Likewise.
506 * configure: Regenerate.
509 * Makefile.in: Remove all uses of $(libext).
511 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
513 * Makefile.in: Remove all uses of $(libext).
515 2007-05-23 Steve Ellcey <sje@cup.hp.com>
517 * configure: Regenerate.
518 * aclocal.m4: Regenerate.
520 2007-04-21 Andrew Ruder <andy@aeruder.net>
522 * sendmsg.c (__objc_get_forward_imp): Call
523 __objc_msg_forward2 for real.
525 2007-04-09 Andrew Ruder <andy@aeruder.net>
527 * sendmsg.c: Added __objc_msg_forward2, a hook that allows
528 external libraries to provide a function that returns the real
529 forwarding function based on both the selector and the receiver.
530 * objc/objc-api.h: Define __objc_msg_forward2.
532 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
534 * Makefile.in: Add dummy install-pdf target.
536 2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
538 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
541 2006-10-31 Geoffrey Keating <geoffk@apple.com>
543 * encoding.c (darwin_rs6000_special_round_type_align): New.
545 2006-10-14 Geoffrey Keating <geoffk@apple.com>
547 * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
548 * configure.ac: Use multi.m4 from aclocal rather than custom
549 code. Use multi_basedir instead of toplevel_srcdir.
550 * aclocal.m4: Regenerate.
551 * configure: Regenerate.
553 2006-10-10 Brooks Moses <bmoses@stanford.edu>
555 * Makefile.in: Added empty "pdf" target.
557 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
559 * configure: Regenerate.
561 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
563 * Makefile.in: Add install-html target. Add install-html to .PHONY
565 2006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
568 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
570 2006-01-24 David Ayers <d.ayers@inode.at>
573 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
574 and insure the new strings are '\0' termintated.
576 2006-01-24 David Ayers <d.ayers@inode.at>
579 * configure.ac: Add include directives for --enable-objc-gc.
580 * Makefile.in: Ditto.
581 * configure: Regenerate.
583 * gc.c (__objc_class_structure_encoding): Increment the used bytes
584 instead of the local pointer to them.
586 2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
589 * objc/objc-api.c (_C_COMPLEX): New define.
590 * encoding.c (objc_sizeof_type): Handle _C_Complex.
591 (objc_alignof_type): Likewise.
592 (objc_skip_typespec): Likewise.
594 2005-12-15 David Ayers <d.ayers@inode.at>
597 * README (+load,+initialize): Fix documentation to reflect
598 intended and implemented semantics for +load and +initialize.
600 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
602 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
604 (get_inner_array_type): Fix to skip over _C_ARY_B and size.
605 (rs6000_special_round_type_align): Update for the ABI fix.
606 (objc_layout_finish_structure): Correct the encoding which is passed to
609 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
612 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
613 but use the struct layout functions.
614 (objc_alignof_type): Likewise.
615 (objc_layout_structure): Handle _C_UNION_B also.
616 (objc_layout_structure_next_member): Likewise.
617 (objc_layout_finish_structure): Likewise.
619 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
622 * objc/objc-api.h (_C_BOOL): New define.
623 * encoding.c (objc_sizeof_type): Handle _C_BOOL.
624 (objc_alignof_type): Likewise.
625 (objc_skip_typespec): Likewise.
627 2005-11-20 David Ayers <d.ayers@inode.at>
630 * objc/hash.h: Remove deprecated hash API.
631 * hash_compat.c: Remove.
632 * Makefile.in: Remove reference to hash_compat.c.
634 * configure.ac (VERSION): Bump library version to 2:0:0.
635 * configure: Regenerate.
637 2005-11-09 Alexandre Oliva <aoliva@redhat.com>
640 * thr-objc.c (_XOPEN_SOURCE): Define.
642 2005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
645 * objc/objc-api.h (struct objc_ivar): Move definition to
648 2005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
649 Rasmus Hahn <rassahah@neofonie.de>
652 * archive.c (objc_write_type): Correct the element offset.
653 (objc_read_type): Likewise.
655 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
657 * All files: Update FSF address.
659 2005-08-13 Marcin Koziej <creep@desk.pl>
660 Andrew Pinski <pinskia@physics.uc.edu>
663 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
665 2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
667 * Makefile.in (extra_ldflags_libobjc): New.
668 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
669 (libobjc_gc$(libext).la): Likewise.
670 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
671 "-Wl,-single_module".
672 * configure: Regenerate.
673 * linking.m (_objcInit): Remove.
675 2005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
678 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
680 2005-06-08 David Ayers <d.ayers@inode.at>
682 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
683 objc/encoding.h, objc/hash.h, objc/objc-api.h,
684 objc/runtime.h, objc/sarray.h, objc/thr.h,
685 objc/typedstream.h: Do not include Objective-C headers as
688 2005-06-07 David Ayers <d.ayers@inode.at>
690 * archive.c, init.c, selector.c: Include hash.h.
691 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
692 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
693 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
694 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
695 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
696 Include Objective-C headers with quotes and objc/ directory
699 2005-05-19 Richard Henderson <rth@redhat.com>
701 * exception.c: Revert last change.
703 2005-05-19 David Ayers <d.ayers@inode.at>
705 * exception.c: Include tsystem.h for unwind.h.
707 2005-05-09 Mike Stump <mrs@apple.com>
709 * configure: Regenerate.
711 2005-04-12 Mike Stump <mrs@apple.com>
713 * configure: Regenerate.
715 2005-03-21 Zack Weinberg <zack@codesourcery.com>
717 * Makefile.in: Set gcc_version here.
718 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
719 in definition of toolexeclibdir so that $(gcc_version) is expanded
721 * aclocal.m4, configure: Regenerate.
723 2005-03-03 David Ayers <d.ayers@inode.at>
725 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
726 version reference. Correct typo.
728 2005-03-02 David Ayers <d.ayers@inode.at>
731 * Makefile.in (OBJS): Add hash_compat.lo.
732 (OBJS_GC): Add hash_compat_gc.lo.
733 (hash_compat_gc.lo): New target and rule.
734 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
735 (hash_next, hash_value_for_key, hash_is_key_in_hash)
736 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
737 with objc_. Add deprecated non prefixed inlined versions.
738 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
740 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
741 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
743 * hash_compat.c: New file.
744 * archive.c: Update callers.
746 * selector.c: Likewise.
747 * libobjc.def: Add objc_ versions of hash functions.
749 2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
752 * Makefile.in (GTHREAD_FLAGS): Remove.
753 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
754 * thr-objc.c: Include config.h.
755 * configure.ac: Instead of looking at GCC's makefile, figure out if
756 GTHREAD_FLAGS should be defined by looking at the `thread model'
758 * configure: Regenerate.
759 * config.h.in: Regenerate.
761 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
764 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
765 (Determine CFLAGS for gthread): Use $host_subdir.
766 * configure: Regenerate.
767 * Makefile.in (host_subdir): New.
770 2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
773 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
775 Include limits.h and stdlib.h.
776 Define BITS_PER_WORD.
778 2004-12-12 Alexander Malmberg <alexander@malmberg.org>
780 * selector.c (__objc_init_selector_tables): Add missing void to
783 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
785 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
786 * configure, aclocal.m4: Regenerate.
788 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
790 * configure: Regenerate for libtool change.
792 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
794 * configure: Regenerate for libtool reversion.
796 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
798 * configure: Regenerate for libtool change.
800 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
802 * aclocal.m4, config.h.in: Regenerate.
804 2004-10-08 Mike Stump <mrs@apple.com>
805 Andrew Pinski <pinskia@physics.uc.edu>
807 * aclocal.m4: Rename to ...
808 * acinclude.m4: here and also use m4_include instead of sinclude.
809 * aclocal.m4: Regenerate.
810 * configure: Regenerate.
811 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
812 * Makefile.in (configure): Add @MAINT@ infront of configure.ac
814 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
816 * archive.c: Fix all the warnings about passing unsigned char*
817 to char* and the other way too.
819 2004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
822 * exception.c: Include config.h
823 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
825 * configure.ac: Find out what exception handling code we use.
826 * configure: Regenerate.
827 * config.h.in: New file, regenerate.
829 2004-09-16 Andrew Pinski <apinski@apple.com>
831 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
833 2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
835 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
836 ACX_NONCANONICAL_TARGET.
837 * configure: Regenerate.
839 2004-08-13 Ziemowit Laski <zlaski@apple.com>
841 * objc/sarray.h: Hoist include of assert.h near the top of file,
842 and mark the remainder of the file 'extern "C"'.
844 2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
846 * objc/Object.h: Move includes out of extern "C" blocks.
847 * objc/encoding.h: Likewise.
848 * objc/hash.h: Likewise.
849 * objc/objc-api.h: Likewise.
850 * objc/runtime.h: Likewise.
851 * objc/sarray.h: Likewise.
852 * objc/typedstream.h: Likewise.
854 2004-08-12 Ziemowit Laski <zlaski@apple.com>
856 * objc/NXConstStr.h: Update copyright date; bracket with
857 'extern "C"' for C++ use; make include syntax consistent
858 by using <...> instead of "..."; hoist <objc/...> includes
859 above the 'extern "C"' block.
860 * objc/Object.h: Likewise.
861 * objc/Protocol.h: Likewise.
862 * objc/encoding.h: Likewise.
863 * objc/hash.h: Likewise.
864 * objc/runtime.h: Likewise.
865 * objc/sarray.h: Likewise.
866 * objc/thr.h: Likewise.
867 * objc/typedstream.h: Likewise.
868 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
869 (objc_static_instances): For C++ case, do away with
871 (objc_method): Hoist definition to file scope.
872 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
873 class_get_instance_method, class_create_instance,
874 class_get_class_name, class_get_instance_size,
875 class_get_meta_class, class_get_super_class, class_get_version,
876 class_is_class, class_is_meta_class, class_set_version,
877 class_get_gc_object_type, class_ivar_set_gcinvisible,
878 get_imp): Rename 'class' parameter to '_class'.
879 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
880 * objc/objc.h: Update copyright date.
881 (arglist_t): Provide a union tag.
883 2004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
885 * thr.c (__objc_thread_detach_function): Do not mark as volatile
886 but instead use the attribute noreturn.
888 2004-06-28 Zack Weinberg <zack@codesourcery.com>
890 * encoding.c: Rename target_flags with a #define to avoid
891 conflict with a prior declaration.
893 2004-06-24 Andrew Pinski <apinski@apple.com>
895 * objc/encoding.h: Wrap the functions with extern "C" for C++
897 * objc/hash.h: Likewise.
898 * objc/objc-api.h: Likewise.
899 * objc/objc-list.h: Likewise.
900 * objc/runtime.h: Likewise.
901 * objc/sarray.h: Likewise.
902 * objc/thr.h: Likewise.
903 * objc/typedstream.h: Likewise.
906 2004-06-21 Nick Clifton <nickc@redhat.com>
908 * encoding.c (BITS_PER_UNIT): Define if a definition is not
911 2004-06-20 Alexander Malmberg <alexander@malmberg.org>
913 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
914 (exception_gc.lo): New.
915 (OBJS_GC): Add exception_gc.lo.
917 2004-06-17 Richard Henderson <rth@redhat.com>
919 * exception.c: New file.
920 * Makefile.in (exception.lo): New.
923 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
925 * linking.m (_objcInit): New empty function
928 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
930 * configure.ac: Support --enable-shared=libobjc.
931 * configure: Regenerate.
934 * configure.ac: Do not disable shared by default.
935 * configure: Regenerate.
937 2004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
939 * Protocol.m ([-isEqual:]): Small optimizations returning
940 immediately if the argument is equal to self, and accessing
941 the argument's name directly if it's a protocol.
943 2004-06-03 David Ayers <d.ayers@inode.at>
945 * Protocol.m ([-isEqual:]): Test the class of the argument.
947 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
949 * configure.ac (includedir): Rename to ...
951 * Makefile.in: s/includedir/includedirname/.
954 * configure.ac (includedir): Set to "include"
956 (libext) Set to empty except for Darwin.
957 * configure: Regenerate
958 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
959 s/include/$(includedir)/g.
961 2004-05-25 Daniel Jacobowitz <drow@false.org>
963 * Makefile.in: Add .NOEXPORT.
965 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
967 Merge from the libobjc-branch
968 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
970 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
972 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
974 * Makefile.in (OBJC_H): Add objc-deps.h.
976 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
978 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
979 ([-hash], [-isEqual:]): New methods.
981 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
983 * sarray.c (sarray_free): Add a better comment.
985 2004-01-27 Adam Fedor <fedor@gnu.org>
987 * hash.c (hash_add): Cast cachep to int.
988 * selector.c (__sel_register_typed_name): Cast
989 soffset_decode to int.
991 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
993 * selector.c: Rename register_selectors_from_list to
994 __objc_register_selectors_from_list. Update caller.
995 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
996 while registering selectors. Use __sel_register_typed_name instead
997 of sel_register_typed_name. Check for NULL method_name:s.
998 (pool_alloc_selector): New function.
999 (__sel_register_typed_name): Use pool_alloc_selector to allocate
1000 selector structures.
1001 * sendmsg.c (class_add_method_list): Use
1002 __objc_register_selectors_from_list.
1003 * objc/runtime.h: Add __objc_register_selectors_from_list.
1005 2004-01-25 Adam Fedor <fedor@gnu.org>
1006 Nicola Pero <n.pero@mi.flashnet.it>
1007 Andrew Pinski <pinskia@physics.uc.edu>
1009 * objc/objc-decls.h: New file.
1010 * objc/objc-api.h (_objc_lookup_class): Mark as export.
1011 (_objc_load_callback): Likewise.
1012 (_objc_object_alloc): Likewise.
1013 (_objc_object_copy): Likewise.
1014 (_objc_object_dispose): Likewise.
1016 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
1018 * archive.c: s/__inline__/inline
1019 * sendmsg.c: Likewise.
1021 * encoding.c: Remove FIXME about the warning
1022 about unused variable.
1023 * sendmsg.c: Add a FIXME comment saying that
1024 this should be using libffi.
1026 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
1029 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
1031 * archive.c (objc_read_class): Initialize class_name.
1032 (objc_read_selector): Initialize selector_name.
1034 2004-05-09 Richard Sandiford <rsandifo@redhat.com>
1036 * Makefile.in (toolexecdir): Remove trailing space.
1038 2004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
1041 * configure.ac: De-precious CC so multilibs work.
1042 * configure: Regenerate.
1044 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
1046 * configure.ac: Restore toolexecdir.
1047 * Makefile.in: Restore toolexecdir.
1048 * configure: Regenerate.
1050 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
1052 * configure.ac: Remove (unused) glibcpp_prefixdir.
1053 * configure: Regenerate.
1055 * configure.in: Rename to configure.ac.
1056 * Makefile.in: Update to match.
1058 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
1059 Replace glibcpp_toolexeclibdir with toolexeclibdir.
1060 * configure.in: Remove glibcpp_toolexecdir (unused).
1061 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
1062 config.h or stamp-h (unused). Move one comment to the right place.
1063 * configure: Regenerate.
1064 * config.h.in: Remove (unused).
1066 * config.h.in: Regenerate with autoheader.
1068 * Makefile.in: Remove (unused) gcc_version_trigger.
1069 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
1070 gcc_version_trigger.
1071 * configure: Regenerate.
1073 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
1074 Sort file into sections. Remove dnl where appropriate. Fix
1076 * configure: Regenerate.
1078 * configure.in: Replace old AC_PROG_CC hack with new one.
1079 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
1080 are no subdirectory output files, so this is fine). Change prereq
1082 * aclocal.m4: Include ../config/no-executables.m4.
1083 * configure: Regenerate with autoconf 2.59.
1085 * configure.in: Improve comments on gthread_cflags. Improve m4
1086 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
1087 * configure: Regenerate.
1089 * configure.in: Move PACKAGE and VERSION settings up top. Remove
1090 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
1091 redundant checks for values of RANLIB, AR, INSTALL.
1092 * configure: Regenerate.
1094 * configure.in: Clean up handling of
1095 --enable-version-specific-runtime-libs and related variables;
1096 replace 'if test' with 'case' where reasonable. Fix comments.
1097 Remove useless libstdcxx_interface.
1098 * configure: Regenerate.
1100 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
1101 Replace uses of target_alias with target_noncanonical.
1102 * aclocal.m4: Include ../config/acx.m4.
1103 * configure: Regenerate.
1104 * Makefile.in: Replace uses of target_alias with target_noncanonical.
1105 Fix copyright statement.
1107 * configure.in: Hand-inline bulky, confusing macros from
1108 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
1109 Update copyright notice. Remove stuff for automake, which isn't
1110 used in this directory. Remove emacs local variables.
1111 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
1112 * configure: Regenerate.
1114 2004-03-16 Manfred Hollstein <mh@suse.com>
1116 * Makefile.in, configure.in, configure: Update copyright years.
1118 2004-03-15 Manfred Hollstein <mh@suse.com>
1120 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
1121 definition from configure.in.
1122 * configure.in (PACKAGE): Add definition.
1123 (VERSION): Add definition; substitute it in output files.
1124 * configure: Re-generate.
1126 2004-03-05 Ziemowit Laski <zlaski@apple.com>
1128 * objc/hash.h (hash_string, compare_strings):
1129 Add type-casts to make Objective-C++ happy.
1130 * objc/typedstream.h (objc_get_stream_class_version):
1131 Rename parameter from 'class' to 'class_name' to make
1132 Objective-C++ happy.
1134 2004-03-01 Michael Matz <matz@suse.de>
1136 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
1138 2004-02-06 Ziemowit Laski <zlaski@apple.com>
1140 * objc/objc-api.h (objc_super): The 'class' field shall
1141 be named 'super_class' #ifdef __cplusplus.
1143 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
1146 * encoding.c (rs6000_special_round_type_align): Define.
1148 2004-01-14 Adam Fedor <fedor@gnu.org>
1151 * selector.c (__objc_register_instance_methods_to_class): Free
1152 new_list if not used.
1154 2004-01-09 Andrew Ruder <aeruder@ksu.edu>
1157 * sarray.c (sarray_free): Free array->is_copy_of latter.
1159 2003-12-01 Zack Weinberg <zack@codesourcery.com>
1162 * Protocol.m (descriptionForInstanceMethod): Don't dereference
1163 instance_methods if it's NULL.
1164 (descriptionForClassMethod): Likewise for class_methods.
1166 2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1168 * Makefile.in (runtime-info.h): Remove -Wp.
1170 2003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1172 * Makefile.in (CC1OBJ): Remove.
1173 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
1175 Use .m extension for temporary file.
1176 Remove assembler temp file.
1178 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
1180 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
1182 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1184 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
1186 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1188 * configure: Regenerate.
1190 2003-08-27 Alexander Malmberg <alexander@malmberg.org>
1192 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
1193 (libdir)/gcc-lib/ when installing.
1194 * configure: Regenerate.
1196 Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
1199 * sendmsg.c (get_imp): Fixed rare threading problem.
1200 (__objc_responds_to): Similar fixes.
1201 (objc_msg_lookup): Similar fixes.
1202 (__objc_init_install_dtable): Lock the runtime before checking if the
1205 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
1207 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
1208 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
1209 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
1210 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
1211 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
1212 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
1213 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
1214 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
1215 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
1216 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
1217 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
1219 Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
1220 Nicola Pero <n.pero@mi.flashnet.it>
1223 * init.c (class_superclass_of_class): New function.
1224 (create_tree_of_subclasses_inherited_from): Use it.
1225 (__objc_tree_insert_class): Likewise.
1226 (class_is_subclass_of_class): Likewise.
1228 2003-04-11 David Chad <davidc@freebsd.org>
1229 Loren J. Rittle <ljrittle@acm.org>
1232 * objc/hash.h (hash_string): Constify correctly.
1233 (compare_ptrs): Use direct compare.
1234 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
1235 * objc/sarray.h: Global rename index to indx to avoid shadow.
1237 2003-03-12 Andreas Schwab <schwab@suse.de>
1239 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1240 glibcpp_toolexeclibdir.
1241 * configure: Rebuilt.
1243 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1245 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1247 * configure: Rebuilt.
1249 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1251 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
1252 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1253 version_specific_libs is enabled.
1254 * configure: Rebuilt.
1256 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1258 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1259 (install-libs, install-headers): Prepend $(DESTDIR) to
1260 destination paths in all (un)installation commands.
1262 2002-12-02 Zack Weinberg <zack@codesourcery.com>
1264 * thr-objc.c: Include coretypes.h and tm.h.
1266 2002-12-01 Zack Weinberg <zack@codesourcery.com>
1268 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
1270 2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
1272 * configure.in: Remove skip-this-dir support.
1273 * configure: Regenerate.
1275 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1277 * Makefile.in (all): Fix multilib parallel build.
1279 Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
1281 * sendmsg.c (nil_method): Declare not to take a variable number of
1283 (objc_msg_lookup): Cast nil_method to IMP before returning it.
1284 (objc_msg_lookup_super): The same.
1286 2002-09-10 Jan Hubicka <jh@suse.cz>
1288 * nil_method.c (nil_method): No longer defined with variable
1291 2002-07-02 Rodney Brown <rbrown64@csc.com.au>
1293 * objc/encoding.h: Fix formatting.
1294 * objc/hash.h: Likewise.
1295 * objc/objc-api.h: Likewise.
1296 * objc/runtime.h: Likewise.
1297 * objc/thr.h: Likewise.
1298 * archive.c: Likewise.
1299 * class.c: Likewise.
1300 * encoding.c: Likewise.
1305 * nil_method.c: Likewise.
1306 * objects.c: Likewise.
1307 * sarray.c: Likewise.
1308 * selector.c: Likewise.
1309 * sendmsg.c: Likewise.
1310 * thr-mach.c: Likewise.
1313 2002-06-25 DJ Delorie <dj@redhat.com>
1315 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
1316 GLIBCPP_TOPREL_CONFIGURE.
1317 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1318 * configure: Regenerate.
1320 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1322 * Object.m (forward, read, write): Fix unused parameter warnings.
1323 * encoding.c: Include <stdlib.h>.
1324 (target_flags): Mark with attribute unused.
1326 * runtime.h (__objc_selector_max_index): Change to unsigned int.
1327 (__objc_generate_gc_type_description): Prototype.
1328 * selector.c (__objc_selector_max_index): Change to unsigned int.
1330 Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
1332 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
1333 we always have a return value: if __objc_msg_forward does not
1334 supply a forwarding implementation, return the default
1335 __builtin_apply based one.
1337 2002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1339 * Object.m: Fix signed/unsigned warning.
1340 * Protocol.m: Likewise.
1341 * archive.c: Always include stdlib.h.
1342 (objc_read_short, objc_read_unsigned_short, objc_read_int,
1343 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
1344 Fix signed/unsigned warning.
1345 (objc_write_type, objc_read_type, objc_write_types,
1346 objc_read_types): Ensure ctype 8-bit safety.
1347 (__objc_no_write, __objc_no_read): Mark unused parameters.
1348 * class.c (class_table_setup): Specify void arg.
1349 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
1350 objc_skip_typespec, objc_skip_offset,
1351 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
1352 (objc_layout_structure_next_member): Ensure variables are
1354 * gc.c (__objc_generate_gc_type_description,
1355 class_ivar_set_gcinvisible): Mark unused parameters.
1356 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
1358 (__objc_init_protocols) Fix signed/unsigned warning.
1359 * nil_method.c (nil_method): Mark unused parameters.
1360 * thr.h (objc_thread_callback): Specify void arg.
1361 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
1362 signed/unsigned warning.
1363 (sarray_free): Fix formatting.
1364 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
1365 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
1367 2002-06-09 Andreas Jaeger <aj@suse.de>
1369 * encoding.c (objc_layout_structure_next_member): Remove unused
1372 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1374 * Makefile.in (SHELL): Set to @SHELL@.
1376 (ALL_CFLAGS): Add $(WARN_CFLAGS).
1378 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1380 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
1381 * configure: Regenerate.
1383 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1385 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1386 script entry, and set LD to it when configuring multilibs.
1387 * configure: Rebuilt.
1389 2002-04-19 David O'Brien <obrien@FreeBSD.org>
1391 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
1393 2002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
1396 * objc/objc-api.h (struct objc_protocol_list): Change type of
1397 member count from int to size_t.
1399 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1402 * aclocal.m4: Replace with version copied from libstdc++-v3.
1403 * configure.in: Update for changes to aclocal and Makefile.
1404 * configure: Regenerate.
1405 * Makefile.in: Correct install of multilibs and shared libs, use
1406 INSTALL_DATA for include files.
1408 Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
1410 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
1411 categories - when an unclaimed category was found, the loop was
1412 doing two steps forward instead of one, so that in certain cases
1413 it was failing to properly load all the categories. (Reported
1414 with fix by Alexander Malmberg <alexander@malmberg.org>).
1416 2001-11-14 Aldy Hernandez <aldyh@redhat.com>
1418 * encoding.c: Add target_flags.
1420 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
1422 * objc/objc-api.h (_C_VECTOR): New.
1424 * encoding.c (VECTOR_TYPE): New.
1426 Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
1428 * class.c: Rewritten the class table to use optimized, lock-free
1429 lookup. This more than doubles the speed of class method
1430 invocations. (class_table_setup), (class_table_insert),
1431 (class_table_replace), (class_table_get_safe),
1432 (class_table_next), (class_table_print),
1433 (class_table_print_histogram): New functions.
1434 (__objc_init_class_tables): Use class_table_setup.
1435 (__objc_add_class_to_hash): Use class_table_get_safe and
1436 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
1437 assert the existence of the table; do not lock the runtime; use
1438 class_table_get_safe. (objc_next_class): Use class_table_next.
1439 (__objc_resolve_class_links): Use class_table_next.
1440 (class_pose_as): Use class_table_replace.
1442 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
1444 * gc.c: Removed the DEBUG declaration.
1446 Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
1448 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
1449 rather than through objc_thread_id, to save a function call.
1450 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
1453 Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
1455 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
1456 to cast an id to a Class, which can not be done. Make the check
1457 by using CLS_ISMETA on the class pointer instead.
1458 (object_is_meta_class): Similar fix.
1460 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1462 * configure.in (AC_EXEEXT): Work around in case it expands to
1463 nothing, as in autoconf 2.50.
1464 * acinclude.m4: Likewise.
1465 * configure: Rebuilt.
1467 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
1469 * THREADS: Explain that when we compile libobjc inside GCC, we
1470 always use thr-objc.c as a backend, which uses GCC's thread code.
1472 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
1474 * init.c (__objc_send_message_in_list): When setting a new entry
1475 in __objc_load_methods use the method IMP as key, but check to see
1476 if the method is in the hashtable by looking at the IMP also.
1477 Also ... call the method after adding it to the hashtable rather
1478 than before ... thus preventing an obscure possibility of infinite
1479 recursion if a +load method itself loads a subclass.
1481 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
1483 * init.c (__objc_send_message_in_list): When setting a new entry
1484 in __objc_load_methods use the method name as key, not the method
1485 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
1487 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
1489 * objc-features.texi: Move to ../gcc/objc.texi.
1491 * Makefile.in: Don't generate documentation from
1494 2001-05-01 Mark Mitchell <mark@codesourcery.com>
1496 * fdl.texi: New file.
1497 * objc-features.texi: Simplify.
1498 * Makefile.in: Adjust accordingly.
1500 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1502 * objc-features.texi: Use the GFDL.
1504 Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
1506 * encoding.c (REAL_TYPE): Define.
1508 2001-03-19 David Edelsohn <edelsohn@gnu.org>
1510 * encoding.c (TYPE_MODE): Define.
1512 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
1514 * thr.c (objc_thread_add): New function.
1515 (objc_thread_remove): Ditto.
1516 * objc/thr.h: Declare them.
1517 * libobjc.def: Mention them.
1519 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
1521 * objc-features.texi: Document the @compatibility_alias compiler
1522 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
1524 Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1526 * sendmsg.c (__objc_forward): Delete strlen() declaration.
1528 2001-02-08 Geoffrey Keating <geoffk@redhat.com>
1530 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
1531 we're not interested in the result and they might fail.
1532 * configure: Regenerated.
1534 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1536 * objc-features.texi: Use @email.
1538 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1540 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
1543 2000-01-11 Richard Earnshaw <rearnsha@arm.com>
1545 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
1546 determines the value dynamically.
1548 Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
1550 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
1551 libraries to provide a function that returns the real forwarding
1552 function. This can alleviate problems __builtin_apply() and
1553 friends have on various platforms. (Solution suggested by Helge
1556 * objc/objc-api.h: Define __objc_msg_forward.
1558 * sendmsg.c: Define gen_rtx_REG.
1560 2000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1562 * thr-rtems.c: New file. Stub to compile.
1564 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1566 * configure: Rebuilt with new libtool.m4.
1568 Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1570 * configure.in: Create a config.h file. Check for <sched.h>.
1571 * configure: Regenerate.
1573 * config.h.in: Check for <sched.h>.
1575 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1577 * configure: Regenerate after change to ../libtool.m4.
1579 2000-08-14 Andreas Schwab <schwab@suse.de>
1581 * objc-features.texi (Top): Move @menu at end of node.
1583 2000-08-11 Manfred Hollstein <manfredh@redhat.com>
1585 * objc-features.texi: Move @node Top before @menu.
1587 Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1589 * objc-features.texi: Documented the new -fconstant-string-class
1592 Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1594 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
1595 improve the Posix thread support for Objective-C.
1597 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
1599 * aclocal.m4: Replace copy of ../libtool.m4 with
1600 sinclude(../libtool.m4).
1602 Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
1604 * configure.in: Added libtool support; build shared libraries
1605 if --enable-shared was passed on command line.
1606 * Makefile.in: Modified most compilation commands to use libtool.
1607 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
1608 libtool distribution.
1610 Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1612 * sarray.c, Object.m: Removed the explicit prototypes for strlen
1613 and memcpy on 64-bit platforms (Suggested by Rodney Brown
1616 2000-05-12 H.J. Lu (hjl@gnu.org)
1618 * Makefile.in (GTHREAD_FLAGS): New.
1619 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
1620 (OBJC_THREAD_FILE): Changed to thr-objc.
1622 * configure.in (GTHREAD_FLAGS): New, check and replace it for
1624 (OBJC_THREAD_FILE): Removed.
1628 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1630 * objc/hash.h: Include string.h.
1632 2000-04-15 David Edelsohn <edelsohn@gnu.org>
1634 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
1636 2000-04-12 Jakub Jelinek <jakub@redhat.com>
1638 * Object.m (strlen): Provide prototype on all 64bit platforms,
1640 * sarray.c (memcpy): Likewise.
1641 * encoding.c (objc_layout_finish_structure): Don't use
1642 ROUND_TYPE_ALIGN on sparc.
1644 * encoding.c (objc_layout_structure_next_member): Do the whole
1645 procedure even for the first member, so that we get correct
1648 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1650 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
1653 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
1655 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
1657 Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
1659 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
1661 Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
1663 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
1664 the compiler when building C code.
1666 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1668 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1669 libdir, libsubdir and tooldir.
1671 Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
1673 * init.c (__objc_force_linking): Make global.
1675 Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
1677 * configure.in (AC_EXEEXT): Remove call.
1678 (compiler_name): Explicitly check with no extension and .exe
1680 * configure: Regenerate.
1682 Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
1684 * Makefile.in (CC1OBJ): Define in terms of CC.
1685 (runtime-info.h): Use.
1687 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1689 * objc-features.texi: Updated the URL to Boehm's GC page.
1691 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1693 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
1694 the char as being signed (patch from Daniel Jacobowitz
1697 Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
1699 * configure.in (AC_PREREQ): Update to 2.13.
1700 (AC_EXEEXT): Call to find possible file extension.
1701 (compiler_name): Use.
1702 * configure: Regenerate.
1704 Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
1706 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
1708 Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
1710 * configure.in (thread_file): Correct and simplify code to find
1712 * configure: Rebuilt.
1714 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
1716 * configure.in (compiler_name): Add check to detect if this
1717 language's compiler has been built.
1718 * configure: Regenerate.
1720 Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1722 * configure.in: Use AC_PREREQ(2.12.1).
1724 Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
1726 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
1728 Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1730 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
1732 Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1734 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
1736 Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
1738 * objc-features.texi (Top): Changed the email address.
1739 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
1741 Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
1743 * encoding.c: Redefine get_inner_array_type to get the first entry
1746 Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
1748 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
1749 (objc_get_type_qualifiers): Similarly.
1750 * objc/encoding.h (_C_BYREF): Define.
1753 1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
1755 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
1756 works out on 64-bit systems.
1758 Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
1760 * Makefile.in (INCLUDES): Make it multilib-friendly.
1762 Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
1764 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
1766 Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
1767 Jeffrey A Law (law@cygnus.com)
1769 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
1770 (FLAGS_TO_PASS): Added.
1771 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
1773 * archive.c: Change config.h to tconfig.h.
1775 * configure.in: Find gcc's object directory even for multilibs.
1777 Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
1779 * configure.in: Escape ^ in grep string.
1780 * configure: Rebuilt.
1782 Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
1784 * All .h files pushed down into the objc/ subdirectory.
1785 * Makefile.in (copy_headers): Corresponding changes.
1786 * configure.in (AC_INIT): Corresponding changes.
1787 * configure: Rebuilt.
1789 1998-09-30 Ben Elliston <bje@cygnus.com>
1790 Jeff Law <law@cygnus.com>
1792 * Makefile.in: Rewrite.
1794 * configure.in: Likewise.
1796 * configure: Regenerate.
1798 * All .c files. Remove "objc" prefix when including objc header
1799 files. Include tconfig.h, not ../tconfig.h.
1801 Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
1803 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
1804 (get_inner_array_type): Define.
1806 1998-09-21 Ben Elliston <bje@cygnus.com>
1808 * New directory. Moved files from ../gcc/objc.