OSDN Git Service

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