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