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