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