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