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