objc-exception.h: New file.
[gcc.git] / libobjc / ChangeLog
1 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
2
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
8 hardcoded isKindOf.
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
12 deprecated.
13 * Makefile.in (exception.lo, exception_gc.lo): Use
14 -Wno-deprecated-declarations when compiling.
15 (OBJC_H): Added objc-exception.h
16
17 2010-09-08 Nicola Pero <nicola@nicola.brainstorm.co.uk>
18
19 * objc/typedstream.h: Deprecate all functions in the file. This
20 file is obsolete.
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
24 NSObject class.
25 * Makefile.in: Compile archive.c and Object.m with
26 -Wno-deprecated-declarations.
27
28 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
29
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.
51 * THREADS: Updated.
52
53 2010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
54
55 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
56
57 2010-09-06 Iain Sandoe <iains@gcc.gnu.org>
58
59 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
60 Add a comment as to why, update FIXME comments.
61
62 2010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
63
64 * makefile.dos: Obsolete file removed.
65
66 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
67
68 * aclocal.m4: Regenerate.
69
70 2010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
71
72 PR libobjc/30445
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.
78
79 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
80
81 * configure: Regenerate.
82
83 2009-11-28 Jakub Jelinek <jakub@redhat.com>
84
85 * sarray.c (sarray_free): Use old_buckets variable.
86 * encoding.c (objc_layout_structure_next_member): Remove unused
87 bfld_type_size variable.
88
89 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
90
91 * configure.ac (AC_PREREQ): Bump to 2.64.
92
93 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
94
95 * aclocal.m4: Regenerate.
96 * configure: Regenerate.
97 * config.h.in: Regenerate.
98
99 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
100
101 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
102
103 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
104
105 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
106 New variables.
107 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
108
109 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
110
111 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
112
113 2009-04-09 Nick Clifton <nickc@redhat.com>
114
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.
123 * class.c: Likewise.
124 * encoding.c: Likewise.
125 * exception.c: Likewise.
126 * gc.c: Likewise.
127 * hash.c: Likewise.
128 * init.c: Likewise.
129 * libobjc_entry.c: Likewise.
130 * linking.m: Likewise.
131 * misc.c: 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.
162 * thr.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.
167
168 2009-04-09 Jakub Jelinek <jakub@redhat.com>
169
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.
174
175 2009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
176 David Ayers <ayers@fsfe.org>
177
178 PR libobjc/27466
179 * objc/objc-api.h (_objc_unexpected_exception): Declare
180 new hook. Update copyright dates.
181 * exception.c (objc_exception_throw): Use hook. Update
182 copyright dates.
183 * libobjc.def (_objc_unexpected_exception): Export hook.
184 Update copyright dates.
185
186 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
187
188 * configure: Regenerate.
189
190 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
191
192 * configure: Regenerate.
193
194 2008-11-21 Kai Tietz <kai.tietz@onevision.com>
195
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
199 already there.
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 ()
204 for noreturn.
205
206 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
207 Steve Ellcey <sje@cup.hp.com>
208
209 * configure: Regenerate for new libtool.
210 * config.h.in: Regenerate for new libtool.
211
212 2008-07-18 Matthias Klose <doko@ubuntu.com>
213
214 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
215
216 2008-07-18 Matthias Klose <doko@ubuntu.com>
217
218 * Makefile.in: Include ../boehm-gc/threads.mk.
219 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
220
221 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
222
223 * Makefile.in (install-info): New stub target.
224
225 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
226
227 * configure: Regenerate.
228
229 2008-06-14 Kai Tietz <kai.tietz@onevision.com>
230
231 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
232 if HAVE_GETIPINFO is not defined.
233
234 2008-06-10 Kai Tietz <kai.tietz@onevision.com>
235
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.
242
243 2008-05-30 Julian Brown <julian@codesourcery.com>
244
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
250 of function.
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.
255
256 2008-05-25 Alan Modra <amodra@bigpond.net.au>
257
258 * encoding.c (strip_array_types): Rename from get_inner_array_type.
259 (rs6000_special_round_type_align): Update.
260
261 2008-05-09 Julian Brown <julian@codesourcery.com>
262
263 * Makefile.in (LTLDFLAGS): New.
264 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
265
266 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
267
268 PR bootstrap/35457
269 * aclocal.m4: Regenerate.
270 * configure: Regenerate.
271
272 2008-01-24 David Edelsohn <edelsohn@gnu.org>
273
274 * configure: Regenerate.
275
276 2007-10-14 H.J. Lu <hongjiu.lu@intel.com>
277
278 * configure.ac: Don't run config-ml.in directly.
279 (multilib_arg): New.
280 * configure: Regenerated.
281
282 2007-08-06 Andrew Pinski <pinskia@gmail.com>
283
284 PR libobjc/30731
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.
289
290 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
291
292 * aclocal.m4: Regenerated.
293
294 2007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
295
296 * configure.ac: Fix a typo in *-*-darwin clause.
297 * configure: Regenerated.
298
299 2007-06-02 H.J. Lu <hongjiu.lu@intel.com>
300
301 * configure.ac: Fix a typo.
302 * configure: Regenerated.
303
304 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
305
306 * configure: Regenerate.
307
308 2007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
309
310 * Makefile.in: Replace all uses of libext with libsuffix.
311 * configure.ac: Likewise.
312 * configure: Regenerate.
313
314 Revert:
315 * Makefile.in: Remove all uses of $(libext).
316
317 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
318
319 * Makefile.in: Remove all uses of $(libext).
320
321 2007-05-23 Steve Ellcey <sje@cup.hp.com>
322
323 * configure: Regenerate.
324 * aclocal.m4: Regenerate.
325
326 2007-04-21 Andrew Ruder <andy@aeruder.net>
327
328 * sendmsg.c (__objc_get_forward_imp): Call
329 __objc_msg_forward2 for real.
330
331 2007-04-09 Andrew Ruder <andy@aeruder.net>
332
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.
337
338 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
339
340 * Makefile.in: Add dummy install-pdf target.
341
342 2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
343
344 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
345 unused warning.
346
347 2006-10-31 Geoffrey Keating <geoffk@apple.com>
348
349 * encoding.c (darwin_rs6000_special_round_type_align): New.
350
351 2006-10-14 Geoffrey Keating <geoffk@apple.com>
352
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.
358
359 2006-10-10 Brooks Moses <bmoses@stanford.edu>
360
361 * Makefile.in: Added empty "pdf" target.
362
363 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
364
365 * configure: Regenerate.
366
367 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
368
369 * Makefile.in: Add install-html target. Add install-html to .PHONY
370
371 2006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
372
373 PR libobjc/26309
374 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
375
376 2006-01-24 David Ayers <d.ayers@inode.at>
377
378 PR libobjc/9751
379 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
380 and insure the new strings are '\0' termintated.
381
382 2006-01-24 David Ayers <d.ayers@inode.at>
383
384 PR libobjc/13946
385 * configure.ac: Add include directives for --enable-objc-gc.
386 * Makefile.in: Ditto.
387 * configure: Regenerate.
388
389 * gc.c (__objc_class_structure_encoding): Increment the used bytes
390 instead of the local pointer to them.
391
392 2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
393
394 PR objc/25360
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.
399
400 2005-12-15 David Ayers <d.ayers@inode.at>
401
402 PR libobjc/14382
403 * README (+load,+initialize): Fix documentation to reflect
404 intended and implemented semantics for +load and +initialize.
405
406 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
407
408 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
409 the name.
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
413 ROUND_TYPE_ALIGN.
414
415 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
416
417 PR libobjc/25347
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.
424
425 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
426
427 PR libobjc/25346
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.
432
433 2005-11-20 David Ayers <d.ayers@inode.at>
434
435 PR libobjc/19024
436 * objc/hash.h: Remove deprecated hash API.
437 * hash_compat.c: Remove.
438 * Makefile.in: Remove reference to hash_compat.c.
439
440 * configure.ac (VERSION): Bump library version to 2:0:0.
441 * configure: Regenerate.
442
443 2005-11-09 Alexandre Oliva <aoliva@redhat.com>
444
445 PR other/4372
446 * thr-objc.c (_XOPEN_SOURCE): Define.
447
448 2005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
449
450 PR libobjc/23612
451 * objc/objc-api.h (struct objc_ivar): Move definition to
452 global scope.
453
454 2005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
455 Rasmus Hahn <rassahah@neofonie.de>
456
457 PR libobjc/23108
458 * archive.c (objc_write_type): Correct the element offset.
459 (objc_read_type): Likewise.
460
461 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
462
463 * All files: Update FSF address.
464
465 2005-08-13 Marcin Koziej <creep@desk.pl>
466 Andrew Pinski <pinskia@physics.uc.edu>
467
468 PR libobjc/22492
469 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
470
471 2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
472
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.
480
481 2005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
482
483 PR libobjc/22606
484 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
485
486 2005-06-08 David Ayers <d.ayers@inode.at>
487
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
492 system headers.
493
494 2005-06-07 David Ayers <d.ayers@inode.at>
495
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
503 prefix.
504
505 2005-05-19 Richard Henderson <rth@redhat.com>
506
507 * exception.c: Revert last change.
508
509 2005-05-19 David Ayers <d.ayers@inode.at>
510
511 * exception.c: Include tsystem.h for unwind.h.
512
513 2005-05-09 Mike Stump <mrs@apple.com>
514
515 * configure: Regenerate.
516
517 2005-04-12 Mike Stump <mrs@apple.com>
518
519 * configure: Regenerate.
520
521 2005-03-21 Zack Weinberg <zack@codesourcery.com>
522
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
526 by the Makefile.
527 * aclocal.m4, configure: Regenerate.
528
529 2005-03-03 David Ayers <d.ayers@inode.at>
530
531 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
532 version reference. Correct typo.
533
534 2005-03-02 David Ayers <d.ayers@inode.at>
535
536 PR libobjc/19024
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
545 declarations.
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
548 update callers.
549 * hash_compat.c: New file.
550 * archive.c: Update callers.
551 * init.c: Likewise.
552 * selector.c: Likewise.
553 * libobjc.def: Add objc_ versions of hash functions.
554
555 2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
556
557 PR libobjc/20252
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'
563 of the current gcc.
564 * configure: Regenerate.
565 * config.h.in: Regenerate.
566
567 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
568
569 PR bootstrap/17383
570 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
571 (Determine CFLAGS for gthread): Use $host_subdir.
572 * configure: Regenerate.
573 * Makefile.in (host_subdir): New.
574 (INCLUDES): Use it.
575
576 2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
577
578 PR libobjc/12035
579 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
580 they are not used.
581 Include limits.h and stdlib.h.
582 Define BITS_PER_WORD.
583
584 2004-12-12 Alexander Malmberg <alexander@malmberg.org>
585
586 * selector.c (__objc_init_selector_tables): Add missing void to
587 definition.
588
589 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
590
591 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
592 * configure, aclocal.m4: Regenerate.
593
594 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
595
596 * configure: Regenerate for libtool change.
597
598 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
599
600 * configure: Regenerate for libtool reversion.
601
602 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
603
604 * configure: Regenerate for libtool change.
605
606 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
607
608 * aclocal.m4, config.h.in: Regenerate.
609
610 2004-10-08 Mike Stump <mrs@apple.com>
611 Andrew Pinski <pinskia@physics.uc.edu>
612
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
619
620 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
621
622 * archive.c: Fix all the warnings about passing unsigned char*
623 to char* and the other way too.
624
625 2004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
626
627 PR libobjc/16448
628 * exception.c: Include config.h
629 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
630 SJLJ_EXCEPTIONS.
631 * configure.ac: Find out what exception handling code we use.
632 * configure: Regenerate.
633 * config.h.in: New file, regenerate.
634
635 2004-09-16 Andrew Pinski <apinski@apple.com>
636
637 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
638
639 2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
640
641 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
642 ACX_NONCANONICAL_TARGET.
643 * configure: Regenerate.
644
645 2004-08-13 Ziemowit Laski <zlaski@apple.com>
646
647 * objc/sarray.h: Hoist include of assert.h near the top of file,
648 and mark the remainder of the file 'extern "C"'.
649
650 2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
651
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.
659
660 2004-08-12 Ziemowit Laski <zlaski@apple.com>
661
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
676 zero-sized array.
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.
688
689 2004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
690
691 * thr.c (__objc_thread_detach_function): Do not mark as volatile
692 but instead use the attribute noreturn.
693
694 2004-06-28 Zack Weinberg <zack@codesourcery.com>
695
696 * encoding.c: Rename target_flags with a #define to avoid
697 conflict with a prior declaration.
698
699 2004-06-24 Andrew Pinski <apinski@apple.com>
700
701 * objc/encoding.h: Wrap the functions with extern "C" for C++
702 mode.
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.
710
711
712 2004-06-21 Nick Clifton <nickc@redhat.com>
713
714 * encoding.c (BITS_PER_UNIT): Define if a definition is not
715 provided.
716
717 2004-06-20 Alexander Malmberg <alexander@malmberg.org>
718
719 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
720 (exception_gc.lo): New.
721 (OBJS_GC): Add exception_gc.lo.
722
723 2004-06-17 Richard Henderson <rth@redhat.com>
724
725 * exception.c: New file.
726 * Makefile.in (exception.lo): New.
727 (OBJS): Add it.
728
729 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
730
731 * linking.m (_objcInit): New empty function
732 for Darwin only.
733
734 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
735
736 * configure.ac: Support --enable-shared=libobjc.
737 * configure: Regenerate.
738
739 PR libobjc/15901
740 * configure.ac: Do not disable shared by default.
741 * configure: Regenerate.
742
743 2004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
744
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.
748
749 2004-06-03 David Ayers <d.ayers@inode.at>
750
751 * Protocol.m ([-isEqual:]): Test the class of the argument.
752
753 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
754
755 * configure.ac (includedir): Rename to ...
756 (includedirname).
757 * Makefile.in: s/includedir/includedirname/.
758
759 PR target/11572
760 * configure.ac (includedir): Set to "include"
761 except for Darwin.
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.
766
767 2004-05-25 Daniel Jacobowitz <drow@false.org>
768
769 * Makefile.in: Add .NOEXPORT.
770
771 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
772
773 Merge from the libobjc-branch
774 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
775
776 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
777
778 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
779
780 * Makefile.in (OBJC_H): Add objc-deps.h.
781
782 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
783
784 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
785 ([-hash], [-isEqual:]): New methods.
786
787 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
788
789 * sarray.c (sarray_free): Add a better comment.
790
791 2004-01-27 Adam Fedor <fedor@gnu.org>
792
793 * hash.c (hash_add): Cast cachep to int.
794 * selector.c (__sel_register_typed_name): Cast
795 soffset_decode to int.
796
797 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
798
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
806 selector structures.
807 * sendmsg.c (class_add_method_list): Use
808 __objc_register_selectors_from_list.
809 * objc/runtime.h: Add __objc_register_selectors_from_list.
810
811 2004-01-25 Adam Fedor <fedor@gnu.org>
812 Nicola Pero <n.pero@mi.flashnet.it>
813 Andrew Pinski <pinskia@physics.uc.edu>
814
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.
821
822 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
823
824 * archive.c: s/__inline__/inline
825 * sendmsg.c: Likewise.
826
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.
831
832 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
833
834
835 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
836
837 * archive.c (objc_read_class): Initialize class_name.
838 (objc_read_selector): Initialize selector_name.
839
840 2004-05-09 Richard Sandiford <rsandifo@redhat.com>
841
842 * Makefile.in (toolexecdir): Remove trailing space.
843
844 2004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
845
846 PR libobjc/14948
847 * configure.ac: De-precious CC so multilibs work.
848 * configure: Regenerate.
849
850 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
851
852 * configure.ac: Restore toolexecdir.
853 * Makefile.in: Restore toolexecdir.
854 * configure: Regenerate.
855
856 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
857
858 * configure.ac: Remove (unused) glibcpp_prefixdir.
859 * configure: Regenerate.
860
861 * configure.in: Rename to configure.ac.
862 * Makefile.in: Update to match.
863
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).
871
872 * config.h.in: Regenerate with autoheader.
873
874 * Makefile.in: Remove (unused) gcc_version_trigger.
875 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
876 gcc_version_trigger.
877 * configure: Regenerate.
878
879 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
880 Sort file into sections. Remove dnl where appropriate. Fix
881 other style issues.
882 * configure: Regenerate.
883
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
887 to autoconf 2.59.
888 * aclocal.m4: Include ../config/no-executables.m4.
889 * configure: Regenerate with autoconf 2.59.
890
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.
894
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.
899
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.
905
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.
912
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.
919
920 2004-03-16 Manfred Hollstein <mh@suse.com>
921
922 * Makefile.in, configure.in, configure: Update copyright years.
923
924 2004-03-15 Manfred Hollstein <mh@suse.com>
925
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.
931
932 2004-03-05 Ziemowit Laski <zlaski@apple.com>
933
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
938 Objective-C++ happy.
939
940 2004-03-01 Michael Matz <matz@suse.de>
941
942 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
943
944 2004-02-06 Ziemowit Laski <zlaski@apple.com>
945
946 * objc/objc-api.h (objc_super): The 'class' field shall
947 be named 'super_class' #ifdef __cplusplus.
948
949 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
950
951 PR target/10781
952 * encoding.c (rs6000_special_round_type_align): Define.
953
954 2004-01-14 Adam Fedor <fedor@gnu.org>
955
956 PR libobjc/12155
957 * selector.c (__objc_register_instance_methods_to_class): Free
958 new_list if not used.
959
960 2004-01-09 Andrew Ruder <aeruder@ksu.edu>
961
962 PR libobjc/11904
963 * sarray.c (sarray_free): Free array->is_copy_of latter.
964
965 2003-12-01 Zack Weinberg <zack@codesourcery.com>
966
967 PR 11433
968 * Protocol.m (descriptionForInstanceMethod): Don't dereference
969 instance_methods if it's NULL.
970 (descriptionForClassMethod): Likewise for class_methods.
971
972 2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
973
974 * Makefile.in (runtime-info.h): Remove -Wp.
975
976 2003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
977
978 * Makefile.in (CC1OBJ): Remove.
979 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
980 correctly.
981 Use .m extension for temporary file.
982 Remove assembler temp file.
983
984 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
985
986 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
987
988 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
989
990 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
991
992 2003-09-09 Alan Modra <amodra@bigpond.net.au>
993
994 * configure: Regenerate.
995
996 2003-08-27 Alexander Malmberg <alexander@malmberg.org>
997
998 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
999 (libdir)/gcc-lib/ when installing.
1000 * configure: Regenerate.
1001
1002 Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
1003
1004 libobjc/9969
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
1009 table is installed.
1010
1011 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
1012
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".
1024
1025 Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
1026 Nicola Pero <n.pero@mi.flashnet.it>
1027
1028 libobjc/10742
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.
1033
1034 2003-04-11 David Chad <davidc@freebsd.org>
1035 Loren J. Rittle <ljrittle@acm.org>
1036
1037 libobjc/8562
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.
1042
1043 2003-03-12 Andreas Schwab <schwab@suse.de>
1044
1045 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1046 glibcpp_toolexeclibdir.
1047 * configure: Rebuilt.
1048
1049 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1050
1051 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1052 config.status.
1053 * configure: Rebuilt.
1054
1055 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1056
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.
1061
1062 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1063
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.
1067
1068 2002-12-02 Zack Weinberg <zack@codesourcery.com>
1069
1070 * thr-objc.c: Include coretypes.h and tm.h.
1071
1072 2002-12-01 Zack Weinberg <zack@codesourcery.com>
1073
1074 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
1075
1076 2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
1077
1078 * configure.in: Remove skip-this-dir support.
1079 * configure: Regenerate.
1080
1081 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1082
1083 * Makefile.in (all): Fix multilib parallel build.
1084
1085 Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
1086
1087 * sendmsg.c (nil_method): Declare not to take a variable number of
1088 args.
1089 (objc_msg_lookup): Cast nil_method to IMP before returning it.
1090 (objc_msg_lookup_super): The same.
1091
1092 2002-09-10 Jan Hubicka <jh@suse.cz>
1093
1094 * nil_method.c (nil_method): No longer defined with variable
1095 arguments.
1096
1097 2002-07-02 Rodney Brown <rbrown64@csc.com.au>
1098
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.
1107 * gc.c: Likewise.
1108 * hash.c: Likewise.
1109 * init.c: Likewise.
1110 * misc.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.
1117 * thr.c: Likewise.
1118
1119 2002-06-25 DJ Delorie <dj@redhat.com>
1120
1121 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
1122 GLIBCPP_TOPREL_CONFIGURE.
1123 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1124 * configure: Regenerate.
1125
1126 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1127
1128 * Object.m (forward, read, write): Fix unused parameter warnings.
1129 * encoding.c: Include <stdlib.h>.
1130 (target_flags): Mark with attribute unused.
1131 (atoi): Delete.
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.
1135
1136 Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
1137
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.
1142
1143 2002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1144
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
1159 initialized.
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
1163 unused parameters.
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.
1172
1173 2002-06-09 Andreas Jaeger <aj@suse.de>
1174
1175 * encoding.c (objc_layout_structure_next_member): Remove unused
1176 variable.
1177
1178 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1179
1180 * Makefile.in (SHELL): Set to @SHELL@.
1181 (WARN_CFLAGS): New.
1182 (ALL_CFLAGS): Add $(WARN_CFLAGS).
1183
1184 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1185
1186 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
1187 * configure: Regenerate.
1188
1189 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1190
1191 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1192 script entry, and set LD to it when configuring multilibs.
1193 * configure: Rebuilt.
1194
1195 2002-04-19 David O'Brien <obrien@FreeBSD.org>
1196
1197 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
1198
1199 2002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
1200
1201 PR objc/6107
1202 * objc/objc-api.h (struct objc_protocol_list): Change type of
1203 member count from int to size_t.
1204
1205 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1206
1207 PR libobjc/4039
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.
1213
1214 Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
1215
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>).
1221
1222 2001-11-14 Aldy Hernandez <aldyh@redhat.com>
1223
1224 * encoding.c: Add target_flags.
1225
1226 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
1227
1228 * objc/objc-api.h (_C_VECTOR): New.
1229
1230 * encoding.c (VECTOR_TYPE): New.
1231
1232 Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
1233
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.
1247
1248 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
1249
1250 * gc.c: Removed the DEBUG declaration.
1251
1252 Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
1253
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):
1257 Ditto.
1258
1259 Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
1260
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.
1265
1266 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1267
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.
1272
1273 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
1274
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.
1277
1278 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
1279
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.
1286
1287 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
1288
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>).
1292
1293 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
1294
1295 * objc-features.texi: Move to ../gcc/objc.texi.
1296 * fdl.texi: Remove.
1297 * Makefile.in: Don't generate documentation from
1298 objc-features.texi.
1299
1300 2001-05-01 Mark Mitchell <mark@codesourcery.com>
1301
1302 * fdl.texi: New file.
1303 * objc-features.texi: Simplify.
1304 * Makefile.in: Adjust accordingly.
1305
1306 2001-04-30 Mark Mitchell <mark@codesourcery.com>
1307
1308 * objc-features.texi: Use the GFDL.
1309
1310 Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
1311
1312 * encoding.c (REAL_TYPE): Define.
1313
1314 2001-03-19 David Edelsohn <edelsohn@gnu.org>
1315
1316 * encoding.c (TYPE_MODE): Define.
1317
1318 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
1319
1320 * thr.c (objc_thread_add): New function.
1321 (objc_thread_remove): Ditto.
1322 * objc/thr.h: Declare them.
1323 * libobjc.def: Mention them.
1324
1325 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
1326
1327 * objc-features.texi: Document the @compatibility_alias compiler
1328 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
1329
1330 Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1331
1332 * sendmsg.c (__objc_forward): Delete strlen() declaration.
1333
1334 2001-02-08 Geoffrey Keating <geoffk@redhat.com>
1335
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.
1339
1340 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1341
1342 * objc-features.texi: Use @email.
1343
1344 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1345
1346 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
1347 printf.
1348
1349 2000-01-11 Richard Earnshaw <rearnsha@arm.com>
1350
1351 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
1352 determines the value dynamically.
1353
1354 Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
1355
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
1360 Hess.)
1361
1362 * objc/objc-api.h: Define __objc_msg_forward.
1363
1364 * sendmsg.c: Define gen_rtx_REG.
1365
1366 2000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1367
1368 * thr-rtems.c: New file. Stub to compile.
1369
1370 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
1371
1372 * configure: Rebuilt with new libtool.m4.
1373
1374 Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1375
1376 * configure.in: Create a config.h file. Check for <sched.h>.
1377 * configure: Regenerate.
1378
1379 * config.h.in: Check for <sched.h>.
1380
1381 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1382
1383 * configure: Regenerate after change to ../libtool.m4.
1384
1385 2000-08-14 Andreas Schwab <schwab@suse.de>
1386
1387 * objc-features.texi (Top): Move @menu at end of node.
1388
1389 2000-08-11 Manfred Hollstein <manfredh@redhat.com>
1390
1391 * objc-features.texi: Move @node Top before @menu.
1392
1393 Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1394
1395 * objc-features.texi: Documented the new -fconstant-string-class
1396 option.
1397
1398 Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1399
1400 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
1401 improve the Posix thread support for Objective-C.
1402
1403 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
1404
1405 * aclocal.m4: Replace copy of ../libtool.m4 with
1406 sinclude(../libtool.m4).
1407
1408 Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
1409
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.
1415
1416 Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1417
1418 * sarray.c, Object.m: Removed the explicit prototypes for strlen
1419 and memcpy on 64-bit platforms (Suggested by Rodney Brown
1420 <rdb@cup.hp.com>).
1421
1422 2000-05-12 H.J. Lu (hjl@gnu.org)
1423
1424 * Makefile.in (GTHREAD_FLAGS): New.
1425 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
1426 (OBJC_THREAD_FILE): Changed to thr-objc.
1427
1428 * configure.in (GTHREAD_FLAGS): New, check and replace it for
1429 Makefile.
1430 (OBJC_THREAD_FILE): Removed.
1431
1432 * thr-objc.c: New.
1433
1434 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1435
1436 * objc/hash.h: Include string.h.
1437
1438 2000-04-15 David Edelsohn <edelsohn@gnu.org>
1439
1440 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
1441
1442 2000-04-12 Jakub Jelinek <jakub@redhat.com>
1443
1444 * Object.m (strlen): Provide prototype on all 64bit platforms,
1445 not only alpha.
1446 * sarray.c (memcpy): Likewise.
1447 * encoding.c (objc_layout_finish_structure): Don't use
1448 ROUND_TYPE_ALIGN on sparc.
1449
1450 * encoding.c (objc_layout_structure_next_member): Do the whole
1451 procedure even for the first member, so that we get correct
1452 alignment.
1453
1454 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1455
1456 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
1457 comments.
1458
1459 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
1460
1461 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
1462
1463 Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
1464
1465 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
1466
1467 Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
1468
1469 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
1470 the compiler when building C code.
1471
1472 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1473
1474 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1475 libdir, libsubdir and tooldir.
1476
1477 Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
1478
1479 * init.c (__objc_force_linking): Make global.
1480
1481 Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
1482
1483 * configure.in (AC_EXEEXT): Remove call.
1484 (compiler_name): Explicitly check with no extension and .exe
1485 extension.
1486 * configure: Regenerate.
1487
1488 Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
1489
1490 * Makefile.in (CC1OBJ): Define in terms of CC.
1491 (runtime-info.h): Use.
1492
1493 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1494
1495 * objc-features.texi: Updated the URL to Boehm's GC page.
1496
1497 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1498
1499 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
1500 the char as being signed (patch from Daniel Jacobowitz
1501 <drow@false.org>).
1502
1503 Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
1504
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.
1509
1510 Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
1511
1512 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
1513
1514 Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
1515
1516 * configure.in (thread_file): Correct and simplify code to find
1517 the thread file.
1518 * configure: Rebuilt.
1519
1520 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
1521
1522 * configure.in (compiler_name): Add check to detect if this
1523 language's compiler has been built.
1524 * configure: Regenerate.
1525
1526 Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1527
1528 * configure.in: Use AC_PREREQ(2.12.1).
1529
1530 Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
1531
1532 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
1533
1534 Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1535
1536 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
1537
1538 Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1539
1540 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
1541
1542 Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
1543
1544 * objc-features.texi (Top): Changed the email address.
1545 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
1546
1547 Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
1548
1549 * encoding.c: Redefine get_inner_array_type to get the first entry
1550 in the structure.
1551
1552 Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
1553
1554 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
1555 (objc_get_type_qualifiers): Similarly.
1556 * objc/encoding.h (_C_BYREF): Define.
1557 (_F_BYREF): Define.
1558
1559 1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
1560
1561 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
1562 works out on 64-bit systems.
1563
1564 Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
1565
1566 * Makefile.in (INCLUDES): Make it multilib-friendly.
1567
1568 Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
1569
1570 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
1571
1572 Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
1573 Jeffrey A Law (law@cygnus.com)
1574
1575 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
1576 (FLAGS_TO_PASS): Added.
1577 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
1578
1579 * archive.c: Change config.h to tconfig.h.
1580
1581 * configure.in: Find gcc's object directory even for multilibs.
1582
1583 Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
1584
1585 * configure.in: Escape ^ in grep string.
1586 * configure: Rebuilt.
1587
1588 Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
1589
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.
1594
1595 1998-09-30 Ben Elliston <bje@cygnus.com>
1596 Jeff Law <law@cygnus.com>
1597
1598 * Makefile.in: Rewrite.
1599
1600 * configure.in: Likewise.
1601
1602 * configure: Regenerate.
1603
1604 * All .c files. Remove "objc" prefix when including objc header
1605 files. Include tconfig.h, not ../tconfig.h.
1606
1607 Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
1608
1609 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
1610 (get_inner_array_type): Define.
1611
1612 1998-09-21 Ben Elliston <bje@cygnus.com>
1613
1614 * New directory. Moved files from ../gcc/objc.