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