OSDN Git Service

* objc/typedstream.h: Deprecate all functions in the file. This
[pf3gnuchains/gcc-fork.git] / libobjc / ChangeLog
1 2010-09-08  Nicola Pero  <nicola@nicola.brainstorm.co.uk>
2
3         * objc/typedstream.h: Deprecate all functions in the file.  This
4         file is obsolete.
5         * objc/Object.h ([+streamVersion:], [-read:], [-write:],
6         [-awake]): Documented that these methods are deprecated.  Added a
7         brief description of the Object class and its relationship to the
8         NSObject class.
9         * Makefile.in: Compile archive.c and Object.m with
10         -Wno-deprecated-declarations.
11
12 2010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
13
14         Removed obsolete intermediate threading layer.
15         * thr.c: Use __gthread_objc_xxx functions directly instead of
16         __objc_thread_xxx ones.
17         * objc/thr.h: Removed prototypes of no longer existing
18         __objc_thread_xxx functions.
19         * Makefile.in: Removed thr-objc.lo.
20         * thr-dce.c: File removed.
21         * thr-decosf1.c: File removed.
22         * thr-irix.c: File removed.
23         * thr-mach.c: File removed.
24         * thr-objc.c: File removed.
25         * thr-os2.c: File removed.
26         * thr-posix.c: File removed.
27         * thr-pthreads.c: File removed.
28         * thr-rtems.c: File removed.
29         * thr-single.c: File removed.
30         * thr-solaris.c: File removed.
31         * thr-vxworks.c: File removed.
32         * thr-win32.c: File removed.
33         * README.threads: File removed.
34         * THREADS.MACH: File removed.
35         * THREADS: Updated.
36
37 2010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
38
39         * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
40
41 2010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
42
43         * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
44         Add a comment as to why, update FIXME comments.
45
46 2010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
47
48         * makefile.dos: Obsolete file removed.
49         
50 2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
51
52         * aclocal.m4: Regenerate.
53
54 2010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
55
56         PR libobjc/30445
57         * configure.ac (extra_ldflags_libobjc): Define appropriately for
58         Cygwin and MinGW hosts.
59         * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
60         (libobjc.dll): Likewise.
61         * configure: Regenerate.
62
63 2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
64
65         * configure: Regenerate.
66
67 2009-11-28  Jakub Jelinek  <jakub@redhat.com>
68
69         * sarray.c (sarray_free): Use old_buckets variable.
70         * encoding.c (objc_layout_structure_next_member): Remove unused
71         bfld_type_size variable.
72
73 2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
74
75         * configure.ac (AC_PREREQ): Bump to 2.64.
76
77 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
78
79         * aclocal.m4: Regenerate.
80         * configure: Regenerate.
81         * config.h.in: Regenerate.
82
83 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
84
85         * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
86
87 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
88
89         * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
90         New variables.
91         ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
92
93 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
94
95         * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
96
97 2009-04-09  Nick Clifton  <nickc@redhat.com>
98
99         * sendmsg.c: Change copyright header to refer to version 3 of
100         the GNU General Public License with version 3.1 of the GCC
101         Runtime Library Exception and to point readers at the COPYING3
102         and COPYING3.RUNTIME files and the FSF's license web page.
103         * NXConstStr.m: Likewise.
104         * Object.m: Likewise.
105         * Protocol.m: Likewise.
106         * archive.c: Likewise.
107         * class.c: Likewise.
108         * encoding.c: Likewise.
109         * exception.c: Likewise.
110         * gc.c: Likewise.
111         * hash.c: Likewise.
112         * init.c: Likewise.
113         * libobjc_entry.c: Likewise.
114         * linking.m: Likewise.
115         * misc.c: Likewise.
116         * nil_method.c: Likewise.
117         * objc/NXConstStr.h: Likewise.
118         * objc/Object.h: Likewise.
119         * objc/Protocol.h: Likewise.
120         * objc/encoding.h: Likewise.
121         * objc/hash.h: Likewise.
122         * objc/objc-api.h: Likewise.
123         * objc/objc-decls.h: Likewise.
124         * objc/objc-list.h: Likewise.
125         * objc/objc.h: Likewise.
126         * objc/runtime.h: Likewise.
127         * objc/sarray.h: Likewise.
128         * objc/thr.h: Likewise.
129         * objc/typedstream.h: Likewise.
130         * objects.c: Likewise.
131         * sarray.c: Likewise.
132         * selector.c: Likewise.
133         * thr-dce.c: Likewise.
134         * thr-decosf1.c: Likewise.
135         * thr-irix.c: Likewise.
136         * thr-mach.c: Likewise.
137         * thr-objc.c: Likewise.
138         * thr-os2.c: Likewise.
139         * thr-posix.c: Likewise.
140         * thr-pthreads.c: Likewise.
141         * thr-rtems.c: Likewise.
142         * thr-single.c: Likewise.
143         * thr-solaris.c: Likewise.
144         * thr-vxworks.c: Likewise.
145         * thr-win32.c: Likewise.
146         * thr.c: Likewise.
147         * libobjc.def: Change copyright header to refer to version 3 of
148         the GNU General Public License and to point readers at the COPYING3
149         file and the FSF's license web page.
150         * makefile.dos: Likewise.
151
152 2009-04-09  Jakub Jelinek  <jakub@redhat.com>
153
154         * Makefile.in: Change copyright header to refer to version
155         3 of the GNU General Public License and to point readers at the
156         COPYING3 file and the FSF's license web page.
157         * configure.ac: Likewise.
158
159 2009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
160             David Ayers  <ayers@fsfe.org>
161
162         PR libobjc/27466
163         * objc/objc-api.h (_objc_unexpected_exception): Declare
164         new hook.  Update copyright dates.
165         * exception.c (objc_exception_throw): Use hook.  Update
166         copyright dates.
167         * libobjc.def (_objc_unexpected_exception): Export hook.
168         Update copyright dates.
169         
170 2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
171
172         * configure: Regenerate.
173
174 2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
175
176         * configure: Regenerate.
177
178 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>
179
180         *  Object.m (errno): Replaced by errno.h include.
181         (compare): Cast self to id to prevent warning on comparison.
182         * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
183         already there.
184         * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
185         * thr-win32.c (__objc_thread_detach): Remove type warning.
186         (__objc_thread_id): Likewise.
187         * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
188         for noreturn.
189
190 2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
191             Steve Ellcey  <sje@cup.hp.com>
192
193         * configure: Regenerate for new libtool.
194         * config.h.in: Regenerate for new libtool.
195
196 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
197
198         * Makefile.in: Ignore missing ../boehm-gc/threads.mk. 
199
200 2008-07-18  Matthias Klose  <doko@ubuntu.com> 
201
202         * Makefile.in: Include ../boehm-gc/threads.mk. 
203         (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
204
205 2008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
206
207         * Makefile.in (install-info): New stub target.
208
209 2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
210
211         * configure: Regenerate.
212
213 2008-06-14  Kai Tietz  <kai.tietz@onevision.com>
214
215         * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
216         if HAVE_GETIPINFO is not defined.
217
218 2008-06-10  Kai Tietz  <kai.tietz@onevision.com>
219
220         * Object.m (compare): Add type id.
221         * objc/Object.h: Likewise.
222         * archive.c (objc_read_class): Use size_t to extend version to be
223         size of pointer scalar width.
224         * sendmsg.c (rtx): Undefine it before redefinition.
225         (__objc_print_dtable_stats): Cast arguments to long as intended.
226
227 2008-05-30  Julian Brown  <julian@codesourcery.com>
228
229         * exception.c (__objc_exception_class): Initialise as constant
230         array for ARM EABI. Change macro to static const for non-ARM EABI.
231         (ObjcException): Add note about structure layout. Remove landingPad
232         and handlerSwitchValue for ARM EABI.
233         (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
234         of function.
235         (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
236         (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
237         ARM EABI unwinding support.
238         (objc_exception_throw): Use memcpy to initialise exception class.
239
240 2008-05-25  Alan Modra  <amodra@bigpond.net.au>
241
242         * encoding.c (strip_array_types): Rename from get_inner_array_type.
243         (rs6000_special_round_type_align): Update.
244
245 2008-05-09  Julian Brown  <julian@codesourcery.com>
246
247         * Makefile.in (LTLDFLAGS): New.
248         (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
249
250 2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
251
252         PR bootstrap/35457
253         * aclocal.m4: Regenerate.
254         * configure: Regenerate.
255
256 2008-01-24  David Edelsohn  <edelsohn@gnu.org>
257
258         * configure: Regenerate.
259
260 2007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
261
262         * configure.ac: Don't run config-ml.in directly.
263         (multilib_arg): New.
264         * configure: Regenerated.
265
266 2007-08-06  Andrew Pinski  <pinskia@gmail.com>
267
268         PR libobjc/30731
269         * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
270         of _Unwind_Word for variables which are used in
271         read_uleb128/read_sleb128.
272         (PERSONALITY_FUNCTION): Likewise.
273
274 2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
275
276         * aclocal.m4: Regenerated.
277
278 2007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
279
280         * configure.ac: Fix a typo in *-*-darwin clause.
281         * configure: Regenerated.
282
283 2007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
284
285         * configure.ac: Fix a typo.
286         * configure: Regenerated.
287
288 2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
289
290         * configure: Regenerate.
291
292 2007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
293
294         * Makefile.in: Replace all uses of libext with libsuffix.
295         * configure.ac: Likewise.
296         * configure: Regenerate.
297
298         Revert:
299         * Makefile.in: Remove all uses of $(libext).
300
301 2007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
302
303         * Makefile.in: Remove all uses of $(libext).
304
305 2007-05-23  Steve Ellcey  <sje@cup.hp.com>
306
307         * configure: Regenerate.
308         * aclocal.m4: Regenerate.
309
310 2007-04-21  Andrew Ruder  <andy@aeruder.net>
311
312         * sendmsg.c (__objc_get_forward_imp): Call
313         __objc_msg_forward2 for real.
314
315 2007-04-09  Andrew Ruder  <andy@aeruder.net>
316
317         * sendmsg.c: Added __objc_msg_forward2, a hook that allows
318         external libraries to provide a function that returns the real
319         forwarding function based on both the selector and the receiver.
320         * objc/objc-api.h: Define __objc_msg_forward2.
321
322 2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
323
324         * Makefile.in: Add dummy install-pdf target.
325
326 2007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
327
328         * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
329         unused warning.
330         
331 2006-10-31  Geoffrey Keating  <geoffk@apple.com>
332
333         * encoding.c (darwin_rs6000_special_round_type_align): New.
334
335 2006-10-14  Geoffrey Keating  <geoffk@apple.com>
336
337         * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
338         * configure.ac: Use multi.m4 from aclocal rather than custom
339         code.  Use multi_basedir instead of toplevel_srcdir.
340         * aclocal.m4: Regenerate.
341         * configure: Regenerate.
342
343 2006-10-10  Brooks Moses  <bmoses@stanford.edu>
344
345         * Makefile.in: Added empty "pdf" target.
346
347 2006-07-18  Paolo Bonzini  <bonzini@gnu.org>
348
349         * configure: Regenerate.
350
351 2006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
352
353         * Makefile.in: Add install-html target. Add install-html to .PHONY
354
355 2006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
356
357         PR libobjc/26309
358         * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
359
360 2006-01-24  David Ayers  <d.ayers@inode.at>
361
362         PR libobjc/9751
363         * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
364         and insure the new strings are '\0' termintated.
365
366 2006-01-24  David Ayers  <d.ayers@inode.at>
367
368         PR libobjc/13946
369         * configure.ac: Add include directives for --enable-objc-gc.
370         * Makefile.in: Ditto.
371         * configure: Regenerate.
372
373         * gc.c (__objc_class_structure_encoding): Increment the used bytes
374         instead of the local pointer to them.
375
376 2005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
377
378         PR objc/25360
379         * objc/objc-api.c (_C_COMPLEX): New define.
380         * encoding.c (objc_sizeof_type): Handle _C_Complex.
381         (objc_alignof_type): Likewise.
382         (objc_skip_typespec): Likewise.
383
384 2005-12-15  David Ayers  <d.ayers@inode.at>
385
386         PR libobjc/14382
387         * README (+load,+initialize): Fix documentation to reflect
388         intended and implemented semantics for +load and +initialize.
389         
390 2005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
391
392         * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
393         the name.
394         (get_inner_array_type): Fix to skip over _C_ARY_B and size.
395         (rs6000_special_round_type_align): Update for the ABI fix.
396         (objc_layout_finish_structure): Correct the encoding which is passed to
397         ROUND_TYPE_ALIGN.
398
399 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
400
401         PR libobjc/25347
402         * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
403         but use the struct layout functions.
404         (objc_alignof_type): Likewise.
405         (objc_layout_structure): Handle _C_UNION_B also.
406         (objc_layout_structure_next_member): Likewise.
407         (objc_layout_finish_structure): Likewise.
408
409 2005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
410
411         PR libobjc/25346
412         * objc/objc-api.h (_C_BOOL): New define.
413         * encoding.c (objc_sizeof_type): Handle _C_BOOL.
414         (objc_alignof_type): Likewise.
415         (objc_skip_typespec): Likewise.
416
417 2005-11-20  David Ayers  <d.ayers@inode.at>
418
419         PR libobjc/19024
420         * objc/hash.h: Remove deprecated hash API.
421         * hash_compat.c: Remove.
422         * Makefile.in: Remove reference to hash_compat.c.
423
424         * configure.ac (VERSION): Bump library version to 2:0:0.
425         * configure: Regenerate.
426
427 2005-11-09  Alexandre Oliva  <aoliva@redhat.com>
428
429         PR other/4372
430         * thr-objc.c (_XOPEN_SOURCE): Define.
431
432 2005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
433
434         PR libobjc/23612
435         * objc/objc-api.h (struct objc_ivar): Move definition to
436         global scope.
437
438 2005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
439             Rasmus Hahn  <rassahah@neofonie.de>
440
441         PR libobjc/23108
442         * archive.c (objc_write_type): Correct the element offset.
443         (objc_read_type): Likewise.
444
445 2005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
446
447         * All files: Update FSF address.
448
449 2005-08-13  Marcin Koziej  <creep@desk.pl>
450             Andrew Pinski  <pinskia@physics.uc.edu>
451
452         PR libobjc/22492
453         * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
454
455 2005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
456
457         * Makefile.in (extra_ldflags_libobjc): New.
458         (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
459         (libobjc_gc$(libext).la): Likewise.
460         * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
461         "-Wl,-single_module".
462         * configure: Regenerate.
463         * linking.m (_objcInit): Remove.
464
465 2005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
466
467         PR libobjc/22606
468         * Makefile.in (ALL_CFLAGS): Add -fexceptions.
469
470 2005-06-08  David Ayers  <d.ayers@inode.at>
471
472         * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
473         objc/encoding.h, objc/hash.h, objc/objc-api.h,
474         objc/runtime.h, objc/sarray.h, objc/thr.h, 
475         objc/typedstream.h: Do not include Objective-C headers as
476         system headers.
477
478 2005-06-07  David Ayers  <d.ayers@inode.at>
479
480         * archive.c, init.c, selector.c: Include hash.h.
481         * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
482         init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
483         sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
484         thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
485         thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
486         Include Objective-C headers with quotes and objc/ directory
487         prefix.
488
489 2005-05-19  Richard Henderson  <rth@redhat.com>
490
491         * exception.c: Revert last change.
492
493 2005-05-19  David Ayers  <d.ayers@inode.at>
494
495         * exception.c: Include tsystem.h for unwind.h.
496
497 2005-05-09  Mike Stump  <mrs@apple.com>
498
499         * configure: Regenerate.
500
501 2005-04-12  Mike Stump  <mrs@apple.com>
502
503         * configure: Regenerate.
504
505 2005-03-21  Zack Weinberg  <zack@codesourcery.com>
506
507         * Makefile.in: Set gcc_version here.
508         * configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
509         in definition of toolexeclibdir so that $(gcc_version) is expanded
510         by the Makefile.
511         * aclocal.m4, configure: Regenerate.
512
513 2005-03-03  David Ayers  <d.ayers@inode.at>
514
515         * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
516         version reference.  Correct typo.
517
518 2005-03-02  David Ayers  <d.ayers@inode.at>
519
520         PR libobjc/19024
521         * Makefile.in (OBJS): Add hash_compat.lo.
522         (OBJS_GC): Add hash_compat_gc.lo.
523         (hash_compat_gc.lo): New target and rule.
524         * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
525         (hash_next, hash_value_for_key, hash_is_key_in_hash)
526         (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
527         with objc_.  Add deprecated non prefixed inlined versions.
528         (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
529         declarations.
530         * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
531         (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
532         update callers.
533         * hash_compat.c: New file.
534         * archive.c: Update callers.
535         * init.c: Likewise.
536         * selector.c: Likewise.
537         * libobjc.def: Add objc_ versions of hash functions.
538
539 2005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
540
541         PR libobjc/20252
542         * Makefile.in (GTHREAD_FLAGS): Remove.
543         (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
544         * thr-objc.c: Include config.h.
545         * configure.ac: Instead of looking at GCC's makefile, figure out if
546         GTHREAD_FLAGS should be defined by looking at the `thread model'
547         of the current gcc.
548         * configure: Regenerate.
549         * config.h.in: Regenerate.
550
551 2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
552
553         PR bootstrap/17383
554         * configure.ac: Call GCC_TOPLEV_SUBDIRS.
555         (Determine CFLAGS for gthread): Use $host_subdir.
556         * configure: Regenerate.
557         * Makefile.in (host_subdir): New.
558         (INCLUDES): Use it.
559
560 2004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
561
562         PR libobjc/12035
563         * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
564         they are not used.
565         Include limits.h and stdlib.h.
566         Define BITS_PER_WORD.
567
568 2004-12-12  Alexander Malmberg  <alexander@malmberg.org>
569
570         * selector.c (__objc_init_selector_tables): Add missing void to
571         definition.
572
573 2004-12-02  Richard Sandiford  <rsandifo@redhat.com>
574
575         * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
576         * configure, aclocal.m4: Regenerate.
577
578 2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
579
580         * configure: Regenerate for libtool change.
581
582 2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
583
584         * configure: Regenerate for libtool reversion.
585
586 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
587
588         * configure: Regenerate for libtool change.
589
590 2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
591
592         * aclocal.m4, config.h.in: Regenerate.
593
594 2004-10-08  Mike Stump  <mrs@apple.com>
595             Andrew Pinski  <pinskia@physics.uc.edu>
596
597         * aclocal.m4: Rename to ...
598         * acinclude.m4: here and also use m4_include instead of sinclude.
599         * aclocal.m4: Regenerate.
600         * configure: Regenerate.
601         * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
602         * Makefile.in (configure): Add @MAINT@ infront of configure.ac
603
604 2004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
605
606         * archive.c: Fix all the warnings about passing unsigned char*
607         to char* and the other way too.
608
609 2004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
610
611         PR libobjc/16448
612         * exception.c: Include config.h
613         (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
614         SJLJ_EXCEPTIONS.
615         * configure.ac: Find out what exception handling code we use.
616         * configure: Regenerate.
617         * config.h.in: New file, regenerate.
618
619 2004-09-16  Andrew Pinski  <apinski@apple.com>
620
621         * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
622
623 2004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
624
625         * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
626         ACX_NONCANONICAL_TARGET.
627         * configure: Regenerate.
628
629 2004-08-13  Ziemowit Laski  <zlaski@apple.com>
630
631         * objc/sarray.h: Hoist include of assert.h near the top of file,
632         and mark the remainder of the file 'extern "C"'.
633
634 2004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
635
636         * objc/Object.h: Move includes out of extern "C" blocks.
637         * objc/encoding.h: Likewise.
638         * objc/hash.h: Likewise.
639         * objc/objc-api.h: Likewise.
640         * objc/runtime.h: Likewise.
641         * objc/sarray.h: Likewise.
642         * objc/typedstream.h: Likewise.
643
644 2004-08-12  Ziemowit Laski  <zlaski@apple.com>
645
646         * objc/NXConstStr.h: Update copyright date; bracket with
647         'extern "C"' for C++ use; make include syntax consistent
648         by using <...> instead of "..."; hoist <objc/...> includes
649         above the 'extern "C"' block.
650         * objc/Object.h: Likewise.
651         * objc/Protocol.h: Likewise.
652         * objc/encoding.h: Likewise.
653         * objc/hash.h: Likewise.
654         * objc/runtime.h: Likewise.
655         * objc/sarray.h: Likewise.
656         * objc/thr.h: Likewise.
657         * objc/typedstream.h: Likewise.
658         * objc/objc-api.h: Add 'extern "C"' block for C++ use.
659         (objc_static_instances): For C++ case, do away with
660         zero-sized array.
661         (objc_method): Hoist definition to file scope.
662         (_objc_load_callback, _objc_object_alloc, class_get_class_method,
663         class_get_instance_method, class_create_instance,
664         class_get_class_name, class_get_instance_size,
665         class_get_meta_class, class_get_super_class, class_get_version,
666         class_is_class, class_is_meta_class, class_set_version,
667         class_get_gc_object_type, class_ivar_set_gcinvisible,
668         get_imp): Rename 'class' parameter to '_class'.
669         * objc/objc-list.h: Add 'extern "C"' block for C++ use.
670         * objc/objc.h: Update copyright date.
671         (arglist_t): Provide a union tag.
672
673 2004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
674
675         * thr.c (__objc_thread_detach_function): Do not mark as volatile
676         but instead use the attribute noreturn.
677
678 2004-06-28  Zack Weinberg  <zack@codesourcery.com>
679
680         * encoding.c: Rename target_flags with a #define to avoid
681         conflict with a prior declaration.
682
683 2004-06-24  Andrew Pinski  <apinski@apple.com>
684
685         * objc/encoding.h: Wrap the functions with extern "C" for C++
686         mode.
687         * objc/hash.h: Likewise.
688         * objc/objc-api.h: Likewise.
689         * objc/objc-list.h: Likewise.
690         * objc/runtime.h: Likewise.
691         * objc/sarray.h: Likewise.
692         * objc/thr.h: Likewise.
693         * objc/typedstream.h: Likewise.
694
695
696 2004-06-21  Nick Clifton  <nickc@redhat.com>
697
698         * encoding.c (BITS_PER_UNIT): Define if a definition is not
699         provided.
700
701 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
702
703         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
704         (exception_gc.lo): New.
705         (OBJS_GC): Add exception_gc.lo.
706
707 2004-06-17  Richard Henderson  <rth@redhat.com>
708
709         * exception.c: New file.
710         * Makefile.in (exception.lo): New.
711         (OBJS): Add it.
712
713 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
714
715         * linking.m (_objcInit): New empty function
716         for Darwin only.
717
718 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
719
720         * configure.ac: Support --enable-shared=libobjc.
721         * configure: Regenerate.
722
723         PR libobjc/15901
724         * configure.ac: Do not disable shared by default.
725         * configure: Regenerate.
726
727 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
728
729         * Protocol.m ([-isEqual:]): Small optimizations returning
730         immediately if the argument is equal to self, and accessing
731         the argument's name directly if it's a protocol.
732
733 2004-06-03  David Ayers  <d.ayers@inode.at>
734
735         * Protocol.m ([-isEqual:]): Test the class of the argument.
736
737 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
738
739         * configure.ac (includedir): Rename to ...
740         (includedirname).
741         * Makefile.in: s/includedir/includedirname/.
742
743         PR target/11572
744         * configure.ac (includedir): Set to "include"
745         except for Darwin.
746         (libext) Set to empty except for Darwin.
747         * configure: Regenerate
748         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
749         s/include/$(includedir)/g.
750
751 2004-05-25  Daniel Jacobowitz  <drow@false.org>
752
753         * Makefile.in: Add .NOEXPORT.
754
755 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
756
757         Merge from the libobjc-branch
758         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
759
760                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
761
762         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
763
764                 * Makefile.in (OBJC_H): Add objc-deps.h.
765
766         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
767
768                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
769                 ([-hash], [-isEqual:]): New methods.
770
771         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
772
773                 * sarray.c (sarray_free): Add a better comment.
774
775         2004-01-27  Adam Fedor  <fedor@gnu.org>
776
777                 * hash.c (hash_add): Cast cachep to int.
778                 * selector.c (__sel_register_typed_name): Cast
779                 soffset_decode to int.
780
781         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
782
783                 * selector.c: Rename register_selectors_from_list to
784                 __objc_register_selectors_from_list. Update caller.
785                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
786                 while registering selectors. Use __sel_register_typed_name instead
787                 of sel_register_typed_name. Check for NULL method_name:s.
788                 (pool_alloc_selector): New function.
789                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
790                 selector structures.
791                 * sendmsg.c (class_add_method_list): Use
792                 __objc_register_selectors_from_list.
793                 * objc/runtime.h: Add __objc_register_selectors_from_list.
794
795         2004-01-25  Adam Fedor  <fedor@gnu.org>
796                     Nicola Pero  <n.pero@mi.flashnet.it>
797                     Andrew Pinski  <pinskia@physics.uc.edu>
798
799                 * objc/objc-decls.h: New file.
800                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
801                 (_objc_load_callback): Likewise.
802                 (_objc_object_alloc): Likewise.
803                 (_objc_object_copy): Likewise.
804                 (_objc_object_dispose): Likewise.
805
806         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
807
808                 * archive.c: s/__inline__/inline
809                 * sendmsg.c: Likewise.
810
811                 * encoding.c: Remove FIXME about the warning
812                 about unused variable.
813                 * sendmsg.c: Add a FIXME comment saying that
814                 this should be using libffi.
815
816                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
817
818
819 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
820
821         * archive.c (objc_read_class): Initialize class_name.
822         (objc_read_selector): Initialize selector_name.
823
824 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
825
826         * Makefile.in (toolexecdir): Remove trailing space.
827
828 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
829
830         PR libobjc/14948
831         * configure.ac: De-precious CC so multilibs work.
832         * configure: Regenerate.
833
834 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
835
836         * configure.ac: Restore toolexecdir.
837         * Makefile.in: Restore toolexecdir.
838         * configure: Regenerate.
839
840 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
841
842         * configure.ac: Remove (unused) glibcpp_prefixdir.
843         * configure: Regenerate.
844
845         * configure.in: Rename to configure.ac.
846         * Makefile.in: Update to match.
847
848         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
849         Replace glibcpp_toolexeclibdir with toolexeclibdir.
850         * configure.in: Remove glibcpp_toolexecdir (unused).
851         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
852         config.h or stamp-h (unused).  Move one comment to the right place.
853         * configure: Regenerate.
854         * config.h.in: Remove (unused).
855
856         * config.h.in: Regenerate with autoheader.
857
858         * Makefile.in: Remove (unused) gcc_version_trigger.
859         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
860         gcc_version_trigger.
861         * configure: Regenerate.
862
863         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
864         Sort file into sections.  Remove dnl where appropriate.  Fix
865         other style issues.
866         * configure: Regenerate.
867
868         * configure.in: Replace old AC_PROG_CC hack with new one.
869         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
870         are no subdirectory output files, so this is fine).  Change prereq
871         to autoconf 2.59.
872         * aclocal.m4: Include ../config/no-executables.m4.
873         * configure: Regenerate with autoconf 2.59.
874
875         * configure.in: Improve comments on gthread_cflags.  Improve m4
876         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
877         * configure: Regenerate.
878
879         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
880         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
881         redundant checks for values of RANLIB, AR, INSTALL.
882         * configure: Regenerate.
883
884         * configure.in: Clean up handling of
885         --enable-version-specific-runtime-libs and related variables;
886         replace 'if test' with 'case' where reasonable.  Fix comments.
887         Remove useless libstdcxx_interface.
888         * configure: Regenerate.
889
890         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
891         Replace uses of target_alias with target_noncanonical.
892         * aclocal.m4: Include ../config/acx.m4.
893         * configure: Regenerate.
894         * Makefile.in: Replace uses of target_alias with target_noncanonical.
895         Fix copyright statement.
896
897         * configure.in: Hand-inline bulky, confusing macros from
898         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
899         Update copyright notice.  Remove stuff for automake, which isn't
900         used in this directory.  Remove emacs local variables.
901         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
902         * configure: Regenerate.
903
904 2004-03-16  Manfred Hollstein  <mh@suse.com>
905
906         * Makefile.in, configure.in, configure: Update copyright years.
907
908 2004-03-15  Manfred Hollstein  <mh@suse.com>
909
910         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
911         definition from configure.in.
912         * configure.in (PACKAGE): Add definition.
913         (VERSION): Add definition; substitute it in output files.
914         * configure: Re-generate.
915
916 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
917
918         * objc/hash.h (hash_string, compare_strings):
919         Add type-casts to make Objective-C++ happy.
920         * objc/typedstream.h (objc_get_stream_class_version):
921         Rename parameter from 'class' to 'class_name' to make
922         Objective-C++ happy.
923
924 2004-03-01  Michael Matz  <matz@suse.de>
925
926         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
927
928 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
929
930         * objc/objc-api.h (objc_super): The 'class' field shall
931         be named 'super_class' #ifdef __cplusplus.
932
933 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
934
935         PR target/10781
936         * encoding.c (rs6000_special_round_type_align): Define.
937
938 2004-01-14  Adam Fedor  <fedor@gnu.org>
939
940         PR libobjc/12155
941         * selector.c (__objc_register_instance_methods_to_class): Free
942         new_list if not used.
943
944 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
945
946         PR libobjc/11904
947         * sarray.c (sarray_free): Free array->is_copy_of latter.
948
949 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
950
951         PR 11433
952         * Protocol.m (descriptionForInstanceMethod): Don't dereference
953         instance_methods if it's NULL.
954         (descriptionForClassMethod): Likewise for class_methods.
955
956 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
957
958         * Makefile.in (runtime-info.h): Remove -Wp.
959
960 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
961
962         * Makefile.in (CC1OBJ): Remove.
963         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
964         correctly.
965         Use .m extension for temporary file.
966         Remove assembler temp file.
967
968 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
969
970         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
971
972 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
973
974         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
975
976 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
977
978         * configure: Regenerate.
979
980 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
981
982         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
983         (libdir)/gcc-lib/ when installing.
984         * configure: Regenerate.
985
986 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
987
988         libobjc/9969
989         * sendmsg.c (get_imp): Fixed rare threading problem.
990         (__objc_responds_to): Similar fixes.
991         (objc_msg_lookup): Similar fixes.
992         (__objc_init_install_dtable): Lock the runtime before checking if the
993         table is installed.
994
995 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
996
997         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
998         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
999         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
1000         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
1001         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
1002         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
1003         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
1004         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
1005         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
1006         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
1007         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
1008
1009 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
1010                           Nicola Pero  <n.pero@mi.flashnet.it>
1011
1012         libobjc/10742
1013         * init.c (class_superclass_of_class): New function.
1014         (create_tree_of_subclasses_inherited_from): Use it.
1015         (__objc_tree_insert_class): Likewise.
1016         (class_is_subclass_of_class): Likewise.
1017
1018 2003-04-11  David Chad  <davidc@freebsd.org>
1019             Loren J. Rittle  <ljrittle@acm.org>
1020
1021         libobjc/8562
1022         * objc/hash.h (hash_string): Constify correctly.
1023         (compare_ptrs): Use direct compare.
1024         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
1025         * objc/sarray.h: Global rename index to indx to avoid shadow.
1026
1027 2003-03-12  Andreas Schwab  <schwab@suse.de>
1028
1029         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1030         glibcpp_toolexeclibdir.
1031         * configure: Rebuilt.
1032
1033 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
1034
1035         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1036         config.status.
1037         * configure: Rebuilt.
1038
1039 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
1040
1041         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
1042         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1043         version_specific_libs is enabled.
1044         * configure: Rebuilt.
1045
1046 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
1047
1048         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1049         (install-libs, install-headers): Prepend $(DESTDIR) to
1050         destination paths in all (un)installation commands.
1051
1052 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
1053
1054         * thr-objc.c: Include coretypes.h and tm.h.
1055
1056 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
1057
1058         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
1059
1060 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
1061
1062         * configure.in: Remove skip-this-dir support.
1063         * configure: Regenerate.
1064
1065 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1066
1067         * Makefile.in (all): Fix multilib parallel build.
1068
1069 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
1070
1071         * sendmsg.c (nil_method): Declare not to take a variable number of
1072         args.
1073         (objc_msg_lookup): Cast nil_method to IMP before returning it.
1074         (objc_msg_lookup_super): The same.
1075
1076 2002-09-10  Jan Hubicka  <jh@suse.cz>
1077
1078         * nil_method.c (nil_method): No longer defined with variable
1079         arguments.
1080
1081 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
1082
1083         * objc/encoding.h: Fix formatting.
1084         * objc/hash.h: Likewise.
1085         * objc/objc-api.h: Likewise.
1086         * objc/runtime.h: Likewise.
1087         * objc/thr.h: Likewise.
1088         * archive.c: Likewise.
1089         * class.c: Likewise.
1090         * encoding.c: Likewise.
1091         * gc.c: Likewise.
1092         * hash.c: Likewise.
1093         * init.c: Likewise.
1094         * misc.c: Likewise.
1095         * nil_method.c: Likewise.
1096         * objects.c: Likewise.
1097         * sarray.c: Likewise.
1098         * selector.c: Likewise.
1099         * sendmsg.c: Likewise.
1100         * thr-mach.c: Likewise.
1101         * thr.c: Likewise.
1102
1103 2002-06-25  DJ Delorie  <dj@redhat.com>
1104
1105         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
1106         GLIBCPP_TOPREL_CONFIGURE.
1107         * configure.in: Call it before AC_CANONICAL_SYSTEM.
1108         * configure: Regenerate.
1109
1110 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1111
1112         * Object.m (forward, read, write): Fix unused parameter warnings.
1113         * encoding.c: Include <stdlib.h>.
1114         (target_flags): Mark with attribute unused.
1115         (atoi): Delete.
1116         * runtime.h (__objc_selector_max_index): Change to unsigned int.
1117         (__objc_generate_gc_type_description): Prototype.
1118         * selector.c (__objc_selector_max_index): Change to unsigned int.
1119
1120 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
1121
1122         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
1123         we always have a return value: if __objc_msg_forward does not
1124         supply a forwarding implementation, return the default
1125         __builtin_apply based one.
1126
1127 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1128
1129         * Object.m: Fix signed/unsigned warning.
1130         * Protocol.m: Likewise.
1131         * archive.c: Always include stdlib.h.
1132         (objc_read_short, objc_read_unsigned_short, objc_read_int,
1133         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
1134         Fix signed/unsigned warning.
1135         (objc_write_type, objc_read_type, objc_write_types,
1136         objc_read_types): Ensure ctype 8-bit safety.
1137         (__objc_no_write, __objc_no_read): Mark unused parameters.
1138         * class.c (class_table_setup): Specify void arg.
1139         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
1140         objc_skip_typespec, objc_skip_offset,
1141         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
1142         (objc_layout_structure_next_member): Ensure variables are
1143         initialized.
1144         * gc.c (__objc_generate_gc_type_description,
1145         class_ivar_set_gcinvisible): Mark unused parameters.
1146         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
1147         unused parameters.
1148         (__objc_init_protocols) Fix signed/unsigned warning.
1149         * nil_method.c (nil_method): Mark unused parameters.
1150         * thr.h (objc_thread_callback): Specify void arg.
1151         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
1152         signed/unsigned warning.
1153         (sarray_free): Fix formatting.
1154         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
1155         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
1156
1157 2002-06-09  Andreas Jaeger  <aj@suse.de>
1158
1159         * encoding.c (objc_layout_structure_next_member): Remove unused
1160         variable.
1161
1162 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1163
1164         * Makefile.in (SHELL): Set to @SHELL@.
1165         (WARN_CFLAGS): New.
1166         (ALL_CFLAGS): Add $(WARN_CFLAGS).
1167
1168 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1169
1170         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
1171         * configure: Regenerate.
1172
1173 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
1174
1175         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1176         script entry, and set LD to it when configuring multilibs.
1177         * configure: Rebuilt.
1178
1179 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
1180
1181         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
1182
1183 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
1184
1185         PR objc/6107
1186         * objc/objc-api.h (struct objc_protocol_list): Change type of
1187         member count from int to size_t.
1188
1189 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
1190
1191         PR libobjc/4039
1192         * aclocal.m4: Replace with version copied from libstdc++-v3.
1193         * configure.in: Update for changes to aclocal and Makefile.
1194         * configure: Regenerate.
1195         * Makefile.in: Correct install of multilibs and shared libs, use
1196         INSTALL_DATA for include files.
1197
1198 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
1199
1200         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
1201         categories - when an unclaimed category was found, the loop was
1202         doing two steps forward instead of one, so that in certain cases
1203         it was failing to properly load all the categories.  (Reported
1204         with fix by Alexander Malmberg <alexander@malmberg.org>).
1205
1206 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
1207
1208         * encoding.c: Add target_flags.
1209
1210 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
1211
1212          * objc/objc-api.h (_C_VECTOR): New.
1213
1214          * encoding.c (VECTOR_TYPE): New.
1215
1216 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
1217
1218         * class.c: Rewritten the class table to use optimized, lock-free
1219         lookup.  This more than doubles the speed of class method
1220         invocations.  (class_table_setup), (class_table_insert),
1221         (class_table_replace), (class_table_get_safe),
1222         (class_table_next), (class_table_print),
1223         (class_table_print_histogram): New functions.
1224         (__objc_init_class_tables): Use class_table_setup.
1225         (__objc_add_class_to_hash): Use class_table_get_safe and
1226         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
1227         assert the existence of the table; do not lock the runtime; use
1228         class_table_get_safe.  (objc_next_class): Use class_table_next.
1229         (__objc_resolve_class_links): Use class_table_next.
1230         (class_pose_as): Use class_table_replace.
1231
1232 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
1233
1234         * gc.c: Removed the DEBUG declaration.
1235
1236 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
1237
1238         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
1239         rather than through objc_thread_id, to save a function call.
1240         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
1241         Ditto.
1242
1243 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
1244
1245         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
1246         to cast an id to a Class, which can not be done.  Make the check
1247         by using CLS_ISMETA on the class pointer instead.
1248         (object_is_meta_class): Similar fix.
1249
1250 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
1251
1252         * configure.in (AC_EXEEXT): Work around in case it expands to
1253         nothing, as in autoconf 2.50.
1254         * acinclude.m4: Likewise.
1255         * configure: Rebuilt.
1256
1257 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
1258
1259         * THREADS: Explain that when we compile libobjc inside GCC, we
1260         always use thr-objc.c as a backend, which uses GCC's thread code.
1261
1262 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
1263
1264         * init.c (__objc_send_message_in_list): When setting a new entry
1265         in __objc_load_methods use the method IMP as key, but check to see
1266         if the method is in the hashtable by looking at the IMP also.
1267         Also ... call the method after adding it to the hashtable rather
1268         than before ... thus preventing an obscure possibility of infinite
1269         recursion if a +load method itself loads a subclass.
1270
1271 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
1272
1273         * init.c (__objc_send_message_in_list): When setting a new entry
1274         in __objc_load_methods use the method name as key, not the method
1275         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
1276
1277 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
1278
1279         * objc-features.texi: Move to ../gcc/objc.texi.
1280         * fdl.texi: Remove.
1281         * Makefile.in: Don't generate documentation from
1282         objc-features.texi.
1283
1284 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
1285
1286         * fdl.texi: New file.
1287         * objc-features.texi: Simplify.
1288         * Makefile.in: Adjust accordingly.
1289
1290 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
1291
1292         * objc-features.texi: Use the GFDL.
1293
1294 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
1295
1296         * encoding.c (REAL_TYPE): Define.
1297
1298 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
1299
1300         * encoding.c (TYPE_MODE): Define.
1301
1302 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
1303
1304         * thr.c (objc_thread_add): New function.
1305         (objc_thread_remove): Ditto.
1306         * objc/thr.h: Declare them.
1307         * libobjc.def: Mention them.
1308
1309 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
1310
1311         * objc-features.texi: Document the @compatibility_alias compiler
1312         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
1313
1314 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
1315
1316         * sendmsg.c (__objc_forward): Delete strlen() declaration.
1317
1318 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
1319
1320         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
1321         we're not interested in the result and they might fail.
1322         * configure: Regenerated.
1323
1324 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
1325
1326         * objc-features.texi: Use @email.
1327
1328 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
1329
1330         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
1331         printf.
1332
1333 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
1334
1335         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
1336         determines the value dynamically.
1337
1338 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
1339
1340         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
1341         libraries to provide a function that returns the real forwarding
1342         function. This can alleviate problems __builtin_apply() and
1343         friends have on various platforms. (Solution suggested by Helge
1344         Hess.)
1345
1346         * objc/objc-api.h: Define __objc_msg_forward.
1347
1348         * sendmsg.c: Define gen_rtx_REG.
1349
1350 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1351
1352         * thr-rtems.c: New file. Stub to compile.
1353
1354 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
1355
1356         * configure: Rebuilt with new libtool.m4.
1357
1358 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
1359
1360         * configure.in: Create a config.h file. Check for <sched.h>.
1361         * configure: Regenerate.
1362
1363         * config.h.in: Check for <sched.h>.
1364
1365 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
1366
1367         * configure: Regenerate after change to ../libtool.m4.
1368
1369 2000-08-14  Andreas Schwab  <schwab@suse.de>
1370
1371         * objc-features.texi (Top): Move @menu at end of node.
1372
1373 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
1374
1375         * objc-features.texi: Move @node Top before @menu.
1376
1377 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
1378
1379         * objc-features.texi: Documented the new -fconstant-string-class
1380         option.
1381
1382 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
1383
1384         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
1385         improve the Posix thread support for Objective-C.
1386
1387 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
1388
1389         * aclocal.m4: Replace copy of ../libtool.m4 with
1390         sinclude(../libtool.m4).
1391
1392 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
1393
1394         * configure.in: Added libtool support; build shared libraries
1395         if --enable-shared was passed on command line.
1396         * Makefile.in: Modified most compilation commands to use libtool.
1397         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
1398         libtool distribution.
1399
1400 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
1401
1402         * sarray.c, Object.m: Removed the explicit prototypes for strlen
1403         and memcpy on 64-bit platforms (Suggested by Rodney Brown
1404         <rdb@cup.hp.com>).
1405
1406 2000-05-12  H.J. Lu  (hjl@gnu.org)
1407
1408         * Makefile.in (GTHREAD_FLAGS): New.
1409         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
1410         (OBJC_THREAD_FILE): Changed to thr-objc.
1411
1412         * configure.in (GTHREAD_FLAGS): New, check and replace it for
1413         Makefile.
1414         (OBJC_THREAD_FILE): Removed.
1415
1416         * thr-objc.c: New.
1417
1418 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1419
1420         * objc/hash.h: Include string.h.
1421
1422 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
1423
1424         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
1425
1426 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
1427
1428         * Object.m (strlen): Provide prototype on all 64bit platforms,
1429         not only alpha.
1430         * sarray.c (memcpy): Likewise.
1431         * encoding.c (objc_layout_finish_structure): Don't use
1432         ROUND_TYPE_ALIGN on sparc.
1433
1434         * encoding.c (objc_layout_structure_next_member): Do the whole
1435         procedure even for the first member, so that we get correct
1436         alignment.
1437
1438 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
1439
1440         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
1441         comments.
1442
1443 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
1444
1445         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
1446
1447 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
1448
1449         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
1450
1451 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
1452
1453         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
1454         the compiler when building C code.
1455
1456 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
1457
1458         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1459         libdir, libsubdir and tooldir.
1460
1461 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
1462
1463         * init.c (__objc_force_linking): Make global.
1464
1465 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
1466
1467         * configure.in (AC_EXEEXT): Remove call.
1468         (compiler_name): Explicitly check with no extension and .exe
1469         extension.
1470         * configure: Regenerate.
1471
1472 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1473
1474         * Makefile.in (CC1OBJ): Define in terms of CC.
1475         (runtime-info.h): Use.
1476
1477 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1478
1479         * objc-features.texi: Updated the URL to Boehm's GC page.
1480
1481 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1482
1483         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
1484         the char as being signed (patch from Daniel Jacobowitz
1485         <drow@false.org>).
1486
1487 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
1488
1489         * configure.in (AC_PREREQ): Update to 2.13.
1490         (AC_EXEEXT): Call to find possible file extension.
1491         (compiler_name): Use.
1492         * configure: Regenerate.
1493
1494 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
1495
1496         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
1497
1498 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
1499
1500         * configure.in (thread_file): Correct and simplify code to find
1501         the thread file.
1502         * configure: Rebuilt.
1503
1504 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
1505
1506         * configure.in (compiler_name): Add check to detect if this
1507         language's compiler has been built.
1508         * configure: Regenerate.
1509
1510 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1511
1512         *  configure.in: Use AC_PREREQ(2.12.1).
1513
1514 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
1515
1516         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
1517
1518 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1519
1520         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
1521
1522 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
1523
1524         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
1525
1526 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
1527
1528         * objc-features.texi (Top): Changed the email address.
1529         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
1530
1531 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
1532
1533         * encoding.c: Redefine get_inner_array_type to get the first entry
1534         in the structure.
1535
1536 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
1537
1538         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
1539         (objc_get_type_qualifiers): Similarly.
1540         * objc/encoding.h (_C_BYREF): Define.
1541         (_F_BYREF): Define.
1542
1543 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
1544
1545         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
1546         works out on 64-bit systems.
1547
1548 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
1549
1550         * Makefile.in (INCLUDES): Make it multilib-friendly.
1551
1552 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
1553
1554         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
1555
1556 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
1557                          Jeffrey A Law  (law@cygnus.com)
1558
1559         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
1560         (FLAGS_TO_PASS): Added.
1561         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
1562
1563         * archive.c: Change config.h to tconfig.h.
1564
1565         * configure.in: Find gcc's object directory even for multilibs.
1566
1567 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
1568
1569         * configure.in: Escape ^ in grep string.
1570         * configure: Rebuilt.
1571
1572 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
1573
1574         * All .h files pushed down into the objc/ subdirectory.
1575         * Makefile.in (copy_headers): Corresponding changes.
1576         * configure.in (AC_INIT): Corresponding changes.
1577         * configure: Rebuilt.
1578
1579 1998-09-30  Ben Elliston  <bje@cygnus.com>
1580             Jeff Law      <law@cygnus.com>
1581
1582         * Makefile.in: Rewrite.
1583
1584         * configure.in: Likewise.
1585
1586         * configure: Regenerate.
1587
1588         * All .c files.  Remove "objc" prefix when including objc header
1589         files.  Include tconfig.h, not ../tconfig.h.
1590
1591 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
1592
1593         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
1594         (get_inner_array_type): Define.
1595
1596 1998-09-21  Ben Elliston  <bje@cygnus.com>
1597
1598         * New directory.  Moved files from ../gcc/objc.