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