OSDN Git Service

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