OSDN Git Service

Tidied up/fixed compilation of exception.c
[pf3gnuchains/gcc-fork.git] / libobjc / ChangeLog
1 2004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2
3         * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
4         (exception_gc.lo): New.
5         (OBJS_GC): Add exception_gc.lo.
6         
7 2004-06-17  Richard Henderson  <rth@redhat.com>
8
9         * exception.c: New file.
10         * Makefile.in (exception.lo): New.
11         (OBJS): Add it.
12
13 2004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
14
15         * linking.m (_objcInit): New empty function
16         for Darwin only.
17
18 2004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
19
20         * configure.ac: Support --enable-shared=libobjc.
21         * configure: Regenerate.
22
23         PR libobjc/15901
24         * configure.ac: Do not disable shared by default.
25         * configure: Regenerate.
26
27 2004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
28
29         * Protocol.m ([-isEqual:]): Small optimizations returning
30         immediately if the argument is equal to self, and accessing
31         the argument's name directly if it's a protocol.
32
33 2004-06-03  David Ayers  <d.ayers@inode.at>
34
35         * Protocol.m ([-isEqual:]): Test the class of the argument.
36
37 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
38
39         * configure.ac (includedir): Rename to ...
40         (includedirname).
41         * Makefile.in: s/includedir/includedirname/.
42
43         PR target/11572
44         * configure.ac (includedir): Set to "include"
45         except for Darwin.
46         (libext) Set to empty except for Darwin.
47         * configure: Regenerate
48         * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
49         s/include/$(includedir)/g.
50
51 2004-05-25  Daniel Jacobowitz  <drow@false.org>
52
53         * Makefile.in: Add .NOEXPORT.
54
55 2004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
56
57         Merge from the libobjc-branch
58         2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
59         
60                 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
61         
62         2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
63         
64                 * Makefile.in (OBJC_H): Add objc-deps.h.
65         
66         2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
67         
68                 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
69                 ([-hash], [-isEqual:]): New methods.
70         
71         2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
72         
73                 * sarray.c (sarray_free): Add a better comment.
74         
75         2004-01-27  Adam Fedor  <fedor@gnu.org>
76         
77                 * hash.c (hash_add): Cast cachep to int.
78                 * selector.c (__sel_register_typed_name): Cast
79                 soffset_decode to int.
80         
81         2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
82         
83                 * selector.c: Rename register_selectors_from_list to
84                 __objc_register_selectors_from_list. Update caller.
85                 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
86                 while registering selectors. Use __sel_register_typed_name instead
87                 of sel_register_typed_name. Check for NULL method_name:s.
88                 (pool_alloc_selector): New function.
89                 (__sel_register_typed_name): Use pool_alloc_selector to allocate
90                 selector structures.
91                 * sendmsg.c (class_add_method_list): Use
92                 __objc_register_selectors_from_list.
93                 * objc/runtime.h: Add __objc_register_selectors_from_list.
94         
95         2004-01-25  Adam Fedor  <fedor@gnu.org>
96                     Nicola Pero  <n.pero@mi.flashnet.it>
97                     Andrew Pinski  <pinskia@physics.uc.edu>
98         
99                 * objc/objc-decls.h: New file.
100                 * objc/objc-api.h (_objc_lookup_class): Mark as export.
101                 (_objc_load_callback): Likewise.
102                 (_objc_object_alloc): Likewise.
103                 (_objc_object_copy): Likewise.
104                 (_objc_object_dispose): Likewise.
105         
106         2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
107         
108                 * archive.c: s/__inline__/inline
109                 * sendmsg.c: Likewise. 
110         
111                 * encoding.c: Remove FIXME about the warning
112                 about unused variable.
113                 * sendmsg.c: Add a FIXME comment saying that
114                 this should be using libffi.
115         
116                 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
117         
118
119 2004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
120
121         * archive.c (objc_read_class): Initialize class_name.
122         (objc_read_selector): Initialize selector_name.
123
124 2004-05-09  Richard Sandiford  <rsandifo@redhat.com>
125
126         * Makefile.in (toolexecdir): Remove trailing space.
127
128 2004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
129
130         PR libobjc/14948
131         * configure.ac: De-precious CC so multilibs work.
132         * configure: Regenerate.
133
134 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
135
136         * configure.ac: Restore toolexecdir.
137         * Makefile.in: Restore toolexecdir.
138         * configure: Regenerate.
139
140 2004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
141
142         * configure.ac: Remove (unused) glibcpp_prefixdir.
143         * configure: Regenerate.
144
145         * configure.in: Rename to configure.ac.
146         * Makefile.in: Update to match.
147
148         * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
149         Replace glibcpp_toolexeclibdir with toolexeclibdir.
150         * configure.in: Remove glibcpp_toolexecdir (unused).
151         Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
152         config.h or stamp-h (unused).  Move one comment to the right place.
153         * configure: Regenerate.
154         * config.h.in: Remove (unused).
155
156         * config.h.in: Regenerate with autoheader.
157
158         * Makefile.in: Remove (unused) gcc_version_trigger.
159         * configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
160         gcc_version_trigger.
161         * configure: Regenerate.
162
163         * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
164         Sort file into sections.  Remove dnl where appropriate.  Fix
165         other style issues.
166         * configure: Regenerate.
167
168         * configure.in: Replace old AC_PROG_CC hack with new one.
169         Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
170         are no subdirectory output files, so this is fine).  Change prereq
171         to autoconf 2.59.
172         * aclocal.m4: Include ../config/no-executables.m4.
173         * configure: Regenerate with autoconf 2.59.
174
175         * configure.in: Improve comments on gthread_cflags.  Improve m4
176         quotation, and replace 'if test' with 'case', for --enable-objc-gc.
177         * configure: Regenerate.
178
179         * configure.in: Move PACKAGE and VERSION settings up top.  Remove
180         unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
181         redundant checks for values of RANLIB, AR, INSTALL.
182         * configure: Regenerate.
183
184         * configure.in: Clean up handling of
185         --enable-version-specific-runtime-libs and related variables;
186         replace 'if test' with 'case' where reasonable.  Fix comments.
187         Remove useless libstdcxx_interface.
188         * configure: Regenerate.
189
190         * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
191         Replace uses of target_alias with target_noncanonical.
192         * aclocal.m4: Include ../config/acx.m4.
193         * configure: Regenerate.
194         * Makefile.in: Replace uses of target_alias with target_noncanonical.
195         Fix copyright statement.
196
197         * configure.in: Hand-inline bulky, confusing macros from
198         aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
199         Update copyright notice.  Remove stuff for automake, which isn't
200         used in this directory.  Remove emacs local variables.
201         * aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
202         * configure: Regenerate.
203
204 2004-03-16  Manfred Hollstein  <mh@suse.com>
205
206         * Makefile.in, configure.in, configure: Update copyright years.
207
208 2004-03-15  Manfred Hollstein  <mh@suse.com>
209
210         * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
211         definition from configure.in.
212         * configure.in (PACKAGE): Add definition.
213         (VERSION): Add definition; substitute it in output files.
214         * configure: Re-generate.
215
216 2004-03-05  Ziemowit Laski  <zlaski@apple.com>
217
218         * objc/hash.h (hash_string, compare_strings):
219         Add type-casts to make Objective-C++ happy.
220         * objc/typedstream.h (objc_get_stream_class_version):
221         Rename parameter from 'class' to 'class_name' to make
222         Objective-C++ happy.
223
224 2004-03-01  Michael Matz  <matz@suse.de>
225
226         * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
227
228 2004-02-06  Ziemowit Laski  <zlaski@apple.com>
229
230         * objc/objc-api.h (objc_super): The 'class' field shall
231         be named 'super_class' #ifdef __cplusplus.
232
233 2004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
234
235         PR target/10781
236         * encoding.c (rs6000_special_round_type_align): Define.
237
238 2004-01-14  Adam Fedor  <fedor@gnu.org>
239
240         PR libobjc/12155
241         * selector.c (__objc_register_instance_methods_to_class): Free
242         new_list if not used.
243
244 2004-01-09  Andrew Ruder  <aeruder@ksu.edu>
245
246         PR libobjc/11904
247         * sarray.c (sarray_free): Free array->is_copy_of latter.
248
249 2003-12-01  Zack Weinberg  <zack@codesourcery.com>
250
251         PR 11433
252         * Protocol.m (descriptionForInstanceMethod): Don't dereference
253         instance_methods if it's NULL.
254         (descriptionForClassMethod): Likewise for class_methods.
255
256 2003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
257
258         * Makefile.in (runtime-info.h): Remove -Wp.
259
260 2003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
261
262         * Makefile.in (CC1OBJ): Remove.
263         (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
264         correctly.
265         Use .m extension for temporary file.
266         Remove assembler temp file.
267
268 2003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
269
270         * objc/hash.h (hash_string): Don't use a cast as an lvalue.
271
272 2003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
273
274         * Makefile.in (runtime-info.h): Use MULTIFLAGS.
275
276 2003-09-09  Alan Modra  <amodra@bigpond.net.au>
277
278         * configure: Regenerate.
279
280 2003-08-27  Alexander Malmberg  <alexander@malmberg.org>
281
282         * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
283         (libdir)/gcc-lib/ when installing.
284         * configure: Regenerate.
285
286 Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
287
288         libobjc/9969
289         * sendmsg.c (get_imp): Fixed rare threading problem.
290         (__objc_responds_to): Similar fixes.
291         (objc_msg_lookup): Similar fixes.
292         (__objc_init_install_dtable): Lock the runtime before checking if the
293         table is installed.
294
295 2003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
296
297         * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
298         makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
299         selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
300         thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
301         thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
302         thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
303         * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
304         class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
305         objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
306         objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
307         objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
308
309 Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
310                           Nicola Pero  <n.pero@mi.flashnet.it>
311
312         libobjc/10742
313         * init.c (class_superclass_of_class): New function.
314         (create_tree_of_subclasses_inherited_from): Use it.
315         (__objc_tree_insert_class): Likewise.
316         (class_is_subclass_of_class): Likewise.
317
318 2003-04-11  David Chad  <davidc@freebsd.org>
319             Loren J. Rittle  <ljrittle@acm.org>
320
321         libobjc/8562
322         * objc/hash.h (hash_string): Constify correctly.
323         (compare_ptrs): Use direct compare.
324         * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
325         * objc/sarray.h: Global rename index to indx to avoid shadow.
326
327 2003-03-12  Andreas Schwab  <schwab@suse.de>
328
329         * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
330         glibcpp_toolexeclibdir.
331         * configure: Rebuilt.
332
333 2003-02-20  Alexandre Oliva  <aoliva@redhat.com>
334
335         * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
336         config.status.
337         * configure: Rebuilt.
338
339 2003-01-27  Alexandre Oliva  <aoliva@redhat.com>
340
341         * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
342         $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
343         version_specific_libs is enabled.
344         * configure: Rebuilt.
345
346 2003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
347
348         * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
349         (install-libs, install-headers): Prepend $(DESTDIR) to
350         destination paths in all (un)installation commands.
351
352 2002-12-02  Zack Weinberg  <zack@codesourcery.com>
353
354         * thr-objc.c: Include coretypes.h and tm.h.
355
356 2002-12-01  Zack Weinberg  <zack@codesourcery.com>
357
358         * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
359
360 2002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
361
362         * configure.in: Remove skip-this-dir support.
363         * configure: Regenerate.
364
365 2002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
366
367         * Makefile.in (all): Fix multilib parallel build.
368
369 Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
370
371         * sendmsg.c (nil_method): Declare not to take a variable number of
372         args.
373         (objc_msg_lookup): Cast nil_method to IMP before returning it.
374         (objc_msg_lookup_super): The same.
375
376 2002-09-10  Jan Hubicka  <jh@suse.cz>
377
378         * nil_method.c (nil_method): No longer defined with variable
379         arguments.
380
381 2002-07-02  Rodney Brown  <rbrown64@csc.com.au>
382
383         * objc/encoding.h: Fix formatting.
384         * objc/hash.h: Likewise.
385         * objc/objc-api.h: Likewise.
386         * objc/runtime.h: Likewise.
387         * objc/thr.h: Likewise.
388         * archive.c: Likewise.
389         * class.c: Likewise.
390         * encoding.c: Likewise.
391         * gc.c: Likewise.
392         * hash.c: Likewise.
393         * init.c: Likewise.
394         * misc.c: Likewise.
395         * nil_method.c: Likewise.
396         * objects.c: Likewise.
397         * sarray.c: Likewise.
398         * selector.c: Likewise.
399         * sendmsg.c: Likewise.
400         * thr-mach.c: Likewise.
401         * thr.c: Likewise.
402
403 2002-06-25  DJ Delorie  <dj@redhat.com>
404
405         * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
406         GLIBCPP_TOPREL_CONFIGURE.
407         * configure.in: Call it before AC_CANONICAL_SYSTEM.
408         * configure: Regenerate.
409
410 2002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
411
412         * Object.m (forward, read, write): Fix unused parameter warnings.
413         * encoding.c: Include <stdlib.h>.
414         (target_flags): Mark with attribute unused.
415         (atoi): Delete.
416         * runtime.h (__objc_selector_max_index): Change to unsigned int.
417         (__objc_generate_gc_type_description): Prototype.
418         * selector.c (__objc_selector_max_index): Change to unsigned int.
419
420 Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
421
422         * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
423         we always have a return value: if __objc_msg_forward does not
424         supply a forwarding implementation, return the default
425         __builtin_apply based one.
426
427 2002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
428
429         * Object.m: Fix signed/unsigned warning.
430         * Protocol.m: Likewise.
431         * archive.c: Always include stdlib.h.
432         (objc_read_short, objc_read_unsigned_short, objc_read_int,
433         objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
434         Fix signed/unsigned warning.
435         (objc_write_type, objc_read_type, objc_write_types,
436         objc_read_types): Ensure ctype 8-bit safety.
437         (__objc_no_write, __objc_no_read): Mark unused parameters.
438         * class.c (class_table_setup): Specify void arg.
439         * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
440         objc_skip_typespec, objc_skip_offset,
441         objc_layout_structure_next_member): Ensure ctype 8-bit safety.
442         (objc_layout_structure_next_member): Ensure variables are
443         initialized.
444         * gc.c (__objc_generate_gc_type_description,
445         class_ivar_set_gcinvisible): Mark unused parameters.
446         * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
447         unused parameters.
448         (__objc_init_protocols) Fix signed/unsigned warning.
449         * nil_method.c (nil_method): Mark unused parameters.
450         * thr.h (objc_thread_callback): Specify void arg.
451         * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
452         signed/unsigned warning.
453         (sarray_free): Fix formatting.
454         * selector.c (sel_types_match): Ensure ctype 8-bit safety.
455         * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
456
457 2002-06-09  Andreas Jaeger  <aj@suse.de>
458
459         * encoding.c (objc_layout_structure_next_member): Remove unused
460         variable.
461
462 2002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
463
464         * Makefile.in (SHELL): Set to @SHELL@.
465         (WARN_CFLAGS): New.
466         (ALL_CFLAGS): Add $(WARN_CFLAGS).
467
468 2002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
469
470         * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
471         * configure: Regenerate.
472
473 2002-05-08  Alexandre Oliva  <aoliva@redhat.com>
474
475         * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
476         script entry, and set LD to it when configuring multilibs.
477         * configure: Rebuilt.
478
479 2002-04-19  David O'Brien  <obrien@FreeBSD.org>
480
481         * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
482
483 2002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
484
485         PR objc/6107
486         * objc/objc-api.h (struct objc_protocol_list): Change type of
487         member count from int to size_t.
488
489 2002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
490
491         PR libobjc/4039
492         * aclocal.m4: Replace with version copied from libstdc++-v3.
493         * configure.in: Update for changes to aclocal and Makefile.
494         * configure: Regenerate.
495         * Makefile.in: Correct install of multilibs and shared libs, use
496         INSTALL_DATA for include files.
497
498 Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
499
500         * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
501         categories - when an unclaimed category was found, the loop was
502         doing two steps forward instead of one, so that in certain cases
503         it was failing to properly load all the categories.  (Reported
504         with fix by Alexander Malmberg <alexander@malmberg.org>).
505
506 2001-11-14  Aldy Hernandez  <aldyh@redhat.com>
507
508         * encoding.c: Add target_flags.
509
510 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
511
512          * objc/objc-api.h (_C_VECTOR): New.
513
514          * encoding.c (VECTOR_TYPE): New.
515
516 Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
517
518         * class.c: Rewritten the class table to use optimized, lock-free
519         lookup.  This more than doubles the speed of class method
520         invocations.  (class_table_setup), (class_table_insert),
521         (class_table_replace), (class_table_get_safe),
522         (class_table_next), (class_table_print),
523         (class_table_print_histogram): New functions.
524         (__objc_init_class_tables): Use class_table_setup.
525         (__objc_add_class_to_hash): Use class_table_get_safe and
526         class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
527         assert the existence of the table; do not lock the runtime; use
528         class_table_get_safe.  (objc_next_class): Use class_table_next.
529         (__objc_resolve_class_links): Use class_table_next.
530         (class_pose_as): Use class_table_replace.
531
532 2001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
533
534         * gc.c: Removed the DEBUG declaration.
535
536 Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
537
538         * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
539         rather than through objc_thread_id, to save a function call.
540         (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
541         Ditto.
542
543 Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
544
545         * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
546         to cast an id to a Class, which can not be done.  Make the check
547         by using CLS_ISMETA on the class pointer instead.
548         (object_is_meta_class): Similar fix.
549
550 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
551
552         * configure.in (AC_EXEEXT): Work around in case it expands to
553         nothing, as in autoconf 2.50.
554         * acinclude.m4: Likewise.
555         * configure: Rebuilt.
556
557 2001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
558
559         * THREADS: Explain that when we compile libobjc inside GCC, we
560         always use thr-objc.c as a backend, which uses GCC's thread code.
561
562 2001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
563
564         * init.c (__objc_send_message_in_list): When setting a new entry
565         in __objc_load_methods use the method IMP as key, but check to see
566         if the method is in the hashtable by looking at the IMP also.
567         Also ... call the method after adding it to the hashtable rather
568         than before ... thus preventing an obscure possibility of infinite
569         recursion if a +load method itself loads a subclass.
570
571 2001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
572
573         * init.c (__objc_send_message_in_list): When setting a new entry
574         in __objc_load_methods use the method name as key, not the method
575         IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
576
577 2001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
578
579         * objc-features.texi: Move to ../gcc/objc.texi.
580         * fdl.texi: Remove.
581         * Makefile.in: Don't generate documentation from
582         objc-features.texi.
583
584 2001-05-01  Mark Mitchell  <mark@codesourcery.com>
585
586         * fdl.texi: New file.
587         * objc-features.texi: Simplify.
588         * Makefile.in: Adjust accordingly.
589
590 2001-04-30  Mark Mitchell  <mark@codesourcery.com>
591
592         * objc-features.texi: Use the GFDL.
593
594 Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
595
596         * encoding.c (REAL_TYPE): Define.
597
598 2001-03-19  David Edelsohn  <edelsohn@gnu.org>
599
600         * encoding.c (TYPE_MODE): Define.
601
602 2001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
603
604         * thr.c (objc_thread_add): New function.
605         (objc_thread_remove): Ditto.
606         * objc/thr.h: Declare them.
607         * libobjc.def: Mention them.
608
609 2001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
610
611         * objc-features.texi: Document the @compatibility_alias compiler
612         directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
613
614 Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
615
616         * sendmsg.c (__objc_forward): Delete strlen() declaration.
617
618 2001-02-08  Geoffrey Keating  <geoffk@redhat.com>
619
620         * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
621         we're not interested in the result and they might fail.
622         * configure: Regenerated.
623
624 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
625
626         * objc-features.texi: Use @email.
627
628 2001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
629
630         * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
631         printf.
632
633 2000-01-11  Richard Earnshaw  <rearnsha@arm.com>
634
635         * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
636         determines the value dynamically.
637
638 Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
639
640         * sendmsg.c: Added __objc_msg_forward, a hook that allows external
641         libraries to provide a function that returns the real forwarding
642         function. This can alleviate problems __builtin_apply() and
643         friends have on various platforms. (Solution suggested by Helge
644         Hess.)
645
646         * objc/objc-api.h: Define __objc_msg_forward.
647
648         * sendmsg.c: Define gen_rtx_REG.
649
650 2000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
651
652         * thr-rtems.c: New file. Stub to compile.
653
654 2000-09-06  Alexandre Oliva  <aoliva@redhat.com>
655
656         * configure: Rebuilt with new libtool.m4.
657
658 Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
659
660         * configure.in: Create a config.h file. Check for <sched.h>.
661         * configure: Regenerate.
662
663         * config.h.in: Check for <sched.h>.
664
665 2000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
666
667         * configure: Regenerate after change to ../libtool.m4.
668
669 2000-08-14  Andreas Schwab  <schwab@suse.de>
670
671         * objc-features.texi (Top): Move @menu at end of node.
672
673 2000-08-11  Manfred Hollstein  <manfredh@redhat.com>
674
675         * objc-features.texi: Move @node Top before @menu.
676
677 Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
678
679         * objc-features.texi: Documented the new -fconstant-string-class
680         option.
681
682 Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
683
684         * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
685         improve the Posix thread support for Objective-C.
686
687 2000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
688
689         * aclocal.m4: Replace copy of ../libtool.m4 with
690         sinclude(../libtool.m4).
691
692 Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
693
694         * configure.in: Added libtool support; build shared libraries
695         if --enable-shared was passed on command line.
696         * Makefile.in: Modified most compilation commands to use libtool.
697         * aclocal.m4: New symbolic link to the ../libtool.m4, from the
698         libtool distribution.
699
700 Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
701
702         * sarray.c, Object.m: Removed the explicit prototypes for strlen
703         and memcpy on 64-bit platforms (Suggested by Rodney Brown
704         <rdb@cup.hp.com>).
705
706 2000-05-12  H.J. Lu  (hjl@gnu.org)
707
708         * Makefile.in (GTHREAD_FLAGS): New.
709         (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
710         (OBJC_THREAD_FILE): Changed to thr-objc.
711
712         * configure.in (GTHREAD_FLAGS): New, check and replace it for
713         Makefile.
714         (OBJC_THREAD_FILE): Removed.
715
716         * thr-objc.c: New.
717
718 2000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
719
720         * objc/hash.h: Include string.h.
721
722 2000-04-15  David Edelsohn  <edelsohn@gnu.org>
723
724         * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
725
726 2000-04-12  Jakub Jelinek  <jakub@redhat.com>
727
728         * Object.m (strlen): Provide prototype on all 64bit platforms,
729         not only alpha.
730         * sarray.c (memcpy): Likewise.
731         * encoding.c (objc_layout_finish_structure): Don't use
732         ROUND_TYPE_ALIGN on sparc.
733
734         * encoding.c (objc_layout_structure_next_member): Do the whole
735         procedure even for the first member, so that we get correct
736         alignment.
737
738 2000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
739
740         * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
741         comments.
742
743 2000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
744
745         * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
746
747 Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
748
749         * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
750
751 Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
752
753         * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
754         the compiler when building C code.
755
756 Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
757
758         * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
759         libdir, libsubdir and tooldir.
760
761 Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
762
763         * init.c (__objc_force_linking): Make global.
764
765 Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
766
767         * configure.in (AC_EXEEXT): Remove call.
768         (compiler_name): Explicitly check with no extension and .exe
769         extension.
770         * configure: Regenerate.
771
772 Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
773
774         * Makefile.in (CC1OBJ): Define in terms of CC.
775         (runtime-info.h): Use.
776
777 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
778
779         * objc-features.texi: Updated the URL to Boehm's GC page.
780
781 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
782
783         * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
784         the char as being signed (patch from Daniel Jacobowitz
785         <drow@false.org>).
786
787 Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
788
789         * configure.in (AC_PREREQ): Update to 2.13.
790         (AC_EXEEXT): Call to find possible file extension.
791         (compiler_name): Use.
792         * configure: Regenerate.
793
794 Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
795
796         * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
797
798 Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
799
800         * configure.in (thread_file): Correct and simplify code to find
801         the thread file.
802         * configure: Rebuilt.
803
804 1998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
805
806         * configure.in (compiler_name): Add check to detect if this
807         language's compiler has been built.
808         * configure: Regenerate.
809
810 Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
811
812         *  configure.in: Use AC_PREREQ(2.12.1).
813
814 Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
815
816         * Makefile.in (runtime-info.h): Avoid GNU make extensions.
817
818 Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
819
820         * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
821
822 Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
823
824         * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
825
826 Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
827
828         * objc-features.texi (Top): Changed the email address.
829         * objc-features.texi (Garbage Collection): Use @uref instead of @url.
830
831 Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
832
833         * encoding.c: Redefine get_inner_array_type to get the first entry
834         in the structure.
835
836 Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
837
838         * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
839         (objc_get_type_qualifiers): Similarly.
840         * objc/encoding.h (_C_BYREF): Define.
841         (_F_BYREF): Define.
842
843 1998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
844
845         * objc/sarray.h: Make boffset be an unsigned long when sparc so it
846         works out on 64-bit systems.
847
848 Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
849
850         * Makefile.in (INCLUDES): Make it multilib-friendly.
851
852 Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
853
854         * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
855
856 Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
857                          Jeffrey A Law  (law@cygnus.com)
858
859         * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
860         (FLAGS_TO_PASS): Added.
861         (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
862
863         * archive.c: Change config.h to tconfig.h.
864
865         * configure.in: Find gcc's object directory even for multilibs.
866
867 Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
868
869         * configure.in: Escape ^ in grep string.
870         * configure: Rebuilt.
871
872 Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
873
874         * All .h files pushed down into the objc/ subdirectory.
875         * Makefile.in (copy_headers): Corresponding changes.
876         * configure.in (AC_INIT): Corresponding changes.
877         * configure: Rebuilt.
878
879 1998-09-30  Ben Elliston  <bje@cygnus.com>
880             Jeff Law      <law@cygnus.com>
881
882         * Makefile.in: Rewrite.
883
884         * configure.in: Likewise.
885
886         * configure: Regenerate.
887
888         * All .c files.  Remove "objc" prefix when including objc header
889         files.  Include tconfig.h, not ../tconfig.h.
890
891 Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
892
893         * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
894         (get_inner_array_type): Define.
895
896 1998-09-21  Ben Elliston  <bje@cygnus.com>
897
898         * New directory.  Moved files from ../gcc/objc.