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