]> git.ipfire.org Git - thirdparty/gcc.git/blame - libobjc/ChangeLog
cfgrtl.c (rtl_verify_flow_info_1): When checking insns in a bb, don't inspect BLOCK_F...
[thirdparty/gcc.git] / libobjc / ChangeLog
CommitLineData
8d488306
AP
12004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
2
3 * archive.c: Fix all the warnings about passing unsigned char*
4 to char* and the other way too.
5
049bc404
AP
62004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
7
8 PR libobjc/16448
9 * exception.c: Include config.h
10 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
11 SJLJ_EXCEPTIONS.
12 * configure.ac: Find out what exception handling code we use.
13 * configure: Regenerate.
14 * config.h.in: New file, regenerate.
15
45f17969
AP
162004-09-16 Andrew Pinski <apinski@apple.com>
17
18 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
19
1506eac1
NN
202004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
21
22 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
23 ACX_NONCANONICAL_TARGET.
24 * configure: Regenerate.
25
f13bb199
ZL
262004-08-13 Ziemowit Laski <zlaski@apple.com>
27
28 * objc/sarray.h: Hoist include of assert.h near the top of file,
29 and mark the remainder of the file 'extern "C"'.
30
9567d415
AP
312004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
32
33 * objc/Object.h: Move includes out of extern "C" blocks.
34 * objc/encoding.h: Likewise.
35 * objc/hash.h: Likewise.
36 * objc/objc-api.h: Likewise.
37 * objc/runtime.h: Likewise.
38 * objc/sarray.h: Likewise.
39 * objc/typedstream.h: Likewise.
40
1a6213c3
ZL
412004-08-12 Ziemowit Laski <zlaski@apple.com>
42
43 * objc/NXConstStr.h: Update copyright date; bracket with
44 'extern "C"' for C++ use; make include syntax consistent
45 by using <...> instead of "..."; hoist <objc/...> includes
46 above the 'extern "C"' block.
47 * objc/Object.h: Likewise.
48 * objc/Protocol.h: Likewise.
49 * objc/encoding.h: Likewise.
50 * objc/hash.h: Likewise.
51 * objc/runtime.h: Likewise.
52 * objc/sarray.h: Likewise.
53 * objc/thr.h: Likewise.
54 * objc/typedstream.h: Likewise.
55 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
56 (objc_static_instances): For C++ case, do away with
57 zero-sized array.
58 (objc_method): Hoist definition to file scope.
59 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
60 class_get_instance_method, class_create_instance,
61 class_get_class_name, class_get_instance_size,
62 class_get_meta_class, class_get_super_class, class_get_version,
63 class_is_class, class_is_meta_class, class_set_version,
64 class_get_gc_object_type, class_ivar_set_gcinvisible,
65 get_imp): Rename 'class' parameter to '_class'.
66 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
67 * objc/objc.h: Update copyright date.
68 (arglist_t): Provide a union tag.
69
bc012a44
AP
702004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
71
72 * thr.c (__objc_thread_detach_function): Do not mark as volatile
73 but instead use the attribute noreturn.
74
0cf61401
ZW
752004-06-28 Zack Weinberg <zack@codesourcery.com>
76
77 * encoding.c: Rename target_flags with a #define to avoid
78 conflict with a prior declaration.
79
6f0aa5e1
AP
802004-06-24 Andrew Pinski <apinski@apple.com>
81
82 * objc/encoding.h: Wrap the functions with extern "C" for C++
0cf61401 83 mode.
6f0aa5e1
AP
84 * objc/hash.h: Likewise.
85 * objc/objc-api.h: Likewise.
86 * objc/objc-list.h: Likewise.
87 * objc/runtime.h: Likewise.
88 * objc/sarray.h: Likewise.
89 * objc/thr.h: Likewise.
90 * objc/typedstream.h: Likewise.
91
92
e7ebc32a
NC
932004-06-21 Nick Clifton <nickc@redhat.com>
94
95 * encoding.c (BITS_PER_UNIT): Define if a definition is not
96 provided.
97
5520b936
AM
982004-06-20 Alexander Malmberg <alexander@malmberg.org>
99
0cf61401
ZW
100 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
101 (exception_gc.lo): New.
102 (OBJS_GC): Add exception_gc.lo.
103
a776161b
RH
1042004-06-17 Richard Henderson <rth@redhat.com>
105
106 * exception.c: New file.
107 * Makefile.in (exception.lo): New.
108 (OBJS): Add it.
109
da727eab
AP
1102004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
111
112 * linking.m (_objcInit): New empty function
113 for Darwin only.
114
3f35ff6f
AP
1152004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
116
684c64bf
AP
117 * configure.ac: Support --enable-shared=libobjc.
118 * configure: Regenerate.
119
3f35ff6f
AP
120 PR libobjc/15901
121 * configure.ac: Do not disable shared by default.
122 * configure: Regenerate.
123
1600b7d6
NP
1242004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
125
126 * Protocol.m ([-isEqual:]): Small optimizations returning
127 immediately if the argument is equal to self, and accessing
128 the argument's name directly if it's a protocol.
129
1302004-06-03 David Ayers <d.ayers@inode.at>
131
132 * Protocol.m ([-isEqual:]): Test the class of the argument.
133
ff65de76
AP
1342004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
135
7d34a5a9
AP
136 * configure.ac (includedir): Rename to ...
137 (includedirname).
138 * Makefile.in: s/includedir/includedirname/.
139
ff65de76
AP
140 PR target/11572
141 * configure.ac (includedir): Set to "include"
142 except for Darwin.
143 (libext) Set to empty except for Darwin.
144 * configure: Regenerate
145 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
146 s/include/$(includedir)/g.
147
54b2f310
DJ
1482004-05-25 Daniel Jacobowitz <drow@false.org>
149
150 * Makefile.in: Add .NOEXPORT.
151
435317e2
AP
1522004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
153
154 Merge from the libobjc-branch
155 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 156
435317e2 157 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
0cf61401 158
435317e2 159 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 160
435317e2 161 * Makefile.in (OBJC_H): Add objc-deps.h.
0cf61401 162
435317e2 163 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
0cf61401 164
435317e2
AP
165 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
166 ([-hash], [-isEqual:]): New methods.
0cf61401 167
435317e2 168 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
0cf61401 169
435317e2 170 * sarray.c (sarray_free): Add a better comment.
0cf61401 171
435317e2 172 2004-01-27 Adam Fedor <fedor@gnu.org>
0cf61401 173
435317e2
AP
174 * hash.c (hash_add): Cast cachep to int.
175 * selector.c (__sel_register_typed_name): Cast
176 soffset_decode to int.
0cf61401 177
435317e2 178 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
0cf61401 179
435317e2
AP
180 * selector.c: Rename register_selectors_from_list to
181 __objc_register_selectors_from_list. Update caller.
182 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
183 while registering selectors. Use __sel_register_typed_name instead
184 of sel_register_typed_name. Check for NULL method_name:s.
185 (pool_alloc_selector): New function.
186 (__sel_register_typed_name): Use pool_alloc_selector to allocate
187 selector structures.
188 * sendmsg.c (class_add_method_list): Use
189 __objc_register_selectors_from_list.
190 * objc/runtime.h: Add __objc_register_selectors_from_list.
0cf61401 191
435317e2 192 2004-01-25 Adam Fedor <fedor@gnu.org>
0cf61401
ZW
193 Nicola Pero <n.pero@mi.flashnet.it>
194 Andrew Pinski <pinskia@physics.uc.edu>
195
435317e2
AP
196 * objc/objc-decls.h: New file.
197 * objc/objc-api.h (_objc_lookup_class): Mark as export.
198 (_objc_load_callback): Likewise.
199 (_objc_object_alloc): Likewise.
200 (_objc_object_copy): Likewise.
201 (_objc_object_dispose): Likewise.
0cf61401 202
435317e2 203 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 204
435317e2 205 * archive.c: s/__inline__/inline
0cf61401
ZW
206 * sendmsg.c: Likewise.
207
435317e2
AP
208 * encoding.c: Remove FIXME about the warning
209 about unused variable.
210 * sendmsg.c: Add a FIXME comment saying that
211 this should be using libffi.
0cf61401 212
435317e2 213 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
0cf61401 214
435317e2 215
755bddc8
AP
2162004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
217
218 * archive.c (objc_read_class): Initialize class_name.
219 (objc_read_selector): Initialize selector_name.
220
eb01299a
RS
2212004-05-09 Richard Sandiford <rsandifo@redhat.com>
222
223 * Makefile.in (toolexecdir): Remove trailing space.
224
db7f3c69
NN
2252004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
226
227 PR libobjc/14948
228 * configure.ac: De-precious CC so multilibs work.
229 * configure: Regenerate.
230
a42a57cb
NN
2312004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
232
233 * configure.ac: Restore toolexecdir.
234 * Makefile.in: Restore toolexecdir.
235 * configure: Regenerate.
236
9c01f395
NN
2372004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
238
d770b996
NN
239 * configure.ac: Remove (unused) glibcpp_prefixdir.
240 * configure: Regenerate.
241
3adc31d1
NN
242 * configure.in: Rename to configure.ac.
243 * Makefile.in: Update to match.
244
608e1e0c
NN
245 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
246 Replace glibcpp_toolexeclibdir with toolexeclibdir.
247 * configure.in: Remove glibcpp_toolexecdir (unused).
248 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
249 config.h or stamp-h (unused). Move one comment to the right place.
250 * configure: Regenerate.
251 * config.h.in: Remove (unused).
252
88b16960
NN
253 * config.h.in: Regenerate with autoheader.
254
af0c82b3
NN
255 * Makefile.in: Remove (unused) gcc_version_trigger.
256 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
257 gcc_version_trigger.
258 * configure: Regenerate.
259
252dde64
NN
260 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
261 Sort file into sections. Remove dnl where appropriate. Fix
262 other style issues.
263 * configure: Regenerate.
264
88386050
NN
265 * configure.in: Replace old AC_PROG_CC hack with new one.
266 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
267 are no subdirectory output files, so this is fine). Change prereq
268 to autoconf 2.59.
269 * aclocal.m4: Include ../config/no-executables.m4.
270 * configure: Regenerate with autoconf 2.59.
271
b43e7294
NN
272 * configure.in: Improve comments on gthread_cflags. Improve m4
273 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
274 * configure: Regenerate.
275
1fcfac98
NN
276 * configure.in: Move PACKAGE and VERSION settings up top. Remove
277 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
278 redundant checks for values of RANLIB, AR, INSTALL.
279 * configure: Regenerate.
280
9c01f395
NN
281 * configure.in: Clean up handling of
282 --enable-version-specific-runtime-libs and related variables;
283 replace 'if test' with 'case' where reasonable. Fix comments.
284 Remove useless libstdcxx_interface.
285 * configure: Regenerate.
286
287 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
288 Replace uses of target_alias with target_noncanonical.
289 * aclocal.m4: Include ../config/acx.m4.
290 * configure: Regenerate.
291 * Makefile.in: Replace uses of target_alias with target_noncanonical.
292 Fix copyright statement.
293
294 * configure.in: Hand-inline bulky, confusing macros from
295 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
296 Update copyright notice. Remove stuff for automake, which isn't
297 used in this directory. Remove emacs local variables.
298 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
299 * configure: Regenerate.
300
1adc3fec
MH
3012004-03-16 Manfred Hollstein <mh@suse.com>
302
303 * Makefile.in, configure.in, configure: Update copyright years.
304
68a1af87
MH
3052004-03-15 Manfred Hollstein <mh@suse.com>
306
307 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
308 definition from configure.in.
309 * configure.in (PACKAGE): Add definition.
310 (VERSION): Add definition; substitute it in output files.
311 * configure: Re-generate.
312
d5e63fce
ZL
3132004-03-05 Ziemowit Laski <zlaski@apple.com>
314
315 * objc/hash.h (hash_string, compare_strings):
316 Add type-casts to make Objective-C++ happy.
317 * objc/typedstream.h (objc_get_stream_class_version):
318 Rename parameter from 'class' to 'class_name' to make
319 Objective-C++ happy.
320
8f8cdf33
MM
3212004-03-01 Michael Matz <matz@suse.de>
322
323 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
324
25fe8680
ZL
3252004-02-06 Ziemowit Laski <zlaski@apple.com>
326
327 * objc/objc-api.h (objc_super): The 'class' field shall
328 be named 'super_class' #ifdef __cplusplus.
329
95727fb8
AP
3302004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
331
332 PR target/10781
333 * encoding.c (rs6000_special_round_type_align): Define.
334
5af0e6ae
AF
3352004-01-14 Adam Fedor <fedor@gnu.org>
336
337 PR libobjc/12155
338 * selector.c (__objc_register_instance_methods_to_class): Free
339 new_list if not used.
340
b39f1868
AR
3412004-01-09 Andrew Ruder <aeruder@ksu.edu>
342
343 PR libobjc/11904
344 * sarray.c (sarray_free): Free array->is_copy_of latter.
345
75d3baee
ZW
3462003-12-01 Zack Weinberg <zack@codesourcery.com>
347
348 PR 11433
349 * Protocol.m (descriptionForInstanceMethod): Don't dereference
350 instance_methods if it's NULL.
351 (descriptionForClassMethod): Likewise for class_methods.
352
7989e4dc
RO
3532003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
354
355 * Makefile.in (runtime-info.h): Remove -Wp.
356
54b98a47
RO
3572003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
358
359 * Makefile.in (CC1OBJ): Remove.
360 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
361 correctly.
362 Use .m extension for temporary file.
363 Remove assembler temp file.
364
beca20d2
JM
3652003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
366
367 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
368
05dcec66
RO
3692003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
370
371 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
372
e517f636
AM
3732003-09-09 Alan Modra <amodra@bigpond.net.au>
374
375 * configure: Regenerate.
376
45dff86e
AM
3772003-08-27 Alexander Malmberg <alexander@malmberg.org>
378
379 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
380 (libdir)/gcc-lib/ when installing.
381 * configure: Regenerate.
382
c19f8e35
NP
383Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
384
385 libobjc/9969
386 * sendmsg.c (get_imp): Fixed rare threading problem.
387 (__objc_responds_to): Similar fixes.
388 (objc_msg_lookup): Similar fixes.
389 (__objc_init_install_dtable): Lock the runtime before checking if the
390 table is installed.
75d3baee 391
6c82ad25
NN
3922003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
393
38709cad
NN
394 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
395 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
396 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
397 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
75d3baee 398 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
38709cad 399 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
6c82ad25
NN
400 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
401 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
402 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
403 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
404 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
405
e083f3f9 406Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
75d3baee 407 Nicola Pero <n.pero@mi.flashnet.it>
e083f3f9
RFM
408
409 libobjc/10742
410 * init.c (class_superclass_of_class): New function.
411 (create_tree_of_subclasses_inherited_from): Use it.
412 (__objc_tree_insert_class): Likewise.
413 (class_is_subclass_of_class): Likewise.
75d3baee 414
0b87e18e
DC
4152003-04-11 David Chad <davidc@freebsd.org>
416 Loren J. Rittle <ljrittle@acm.org>
417
418 libobjc/8562
419 * objc/hash.h (hash_string): Constify correctly.
420 (compare_ptrs): Use direct compare.
421 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
422 * objc/sarray.h: Global rename index to indx to avoid shadow.
423
ff8b9ca8
AS
4242003-03-12 Andreas Schwab <schwab@suse.de>
425
426 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
427 glibcpp_toolexeclibdir.
428 * configure: Rebuilt.
429
3343fdd2
AO
4302003-02-20 Alexandre Oliva <aoliva@redhat.com>
431
432 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
433 config.status.
434 * configure: Rebuilt.
435
c5e3e1ed
AO
4362003-01-27 Alexandre Oliva <aoliva@redhat.com>
437
438 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
439 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
440 version_specific_libs is enabled.
441 * configure: Rebuilt.
442
90e5b39f
CC
4432003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
444
445 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
446 (install-libs, install-headers): Prepend $(DESTDIR) to
447 destination paths in all (un)installation commands.
448
4977bab6
ZW
4492002-12-02 Zack Weinberg <zack@codesourcery.com>
450
451 * thr-objc.c: Include coretypes.h and tm.h.
452
4532002-12-01 Zack Weinberg <zack@codesourcery.com>
454
455 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
456
4572002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
458
459 * configure.in: Remove skip-this-dir support.
460 * configure: Regenerate.
461
6c5d742e
KG
4622002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
463
464 * Makefile.in (all): Fix multilib parallel build.
465
c2a68741
NP
466Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
467
468 * sendmsg.c (nil_method): Declare not to take a variable number of
469 args.
470 (objc_msg_lookup): Cast nil_method to IMP before returning it.
471 (objc_msg_lookup_super): The same.
472
edf4d41e
JH
4732002-09-10 Jan Hubicka <jh@suse.cz>
474
65a8189e
AJ
475 * nil_method.c (nil_method): No longer defined with variable
476 arguments.
edf4d41e 477
40165636
RB
4782002-07-02 Rodney Brown <rbrown64@csc.com.au>
479
480 * objc/encoding.h: Fix formatting.
481 * objc/hash.h: Likewise.
482 * objc/objc-api.h: Likewise.
483 * objc/runtime.h: Likewise.
484 * objc/thr.h: Likewise.
485 * archive.c: Likewise.
486 * class.c: Likewise.
487 * encoding.c: Likewise.
488 * gc.c: Likewise.
489 * hash.c: Likewise.
490 * init.c: Likewise.
491 * misc.c: Likewise.
492 * nil_method.c: Likewise.
493 * objects.c: Likewise.
494 * sarray.c: Likewise.
495 * selector.c: Likewise.
496 * sendmsg.c: Likewise.
497 * thr-mach.c: Likewise.
498 * thr.c: Likewise.
499
aebb8c22
DD
5002002-06-25 DJ Delorie <dj@redhat.com>
501
502 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
503 GLIBCPP_TOPREL_CONFIGURE.
504 * configure.in: Call it before AC_CANONICAL_SYSTEM.
505 * configure: Regenerate.
506
b62cc13a
KG
5072002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
508
509 * Object.m (forward, read, write): Fix unused parameter warnings.
510 * encoding.c: Include <stdlib.h>.
511 (target_flags): Mark with attribute unused.
512 (atoi): Delete.
513 * runtime.h (__objc_selector_max_index): Change to unsigned int.
514 (__objc_generate_gc_type_description): Prototype.
515 * selector.c (__objc_selector_max_index): Change to unsigned int.
516
10cb24df
NP
517Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
518
519 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
520 we always have a return value: if __objc_msg_forward does not
521 supply a forwarding implementation, return the default
522 __builtin_apply based one.
523
8f8c44cb
KG
5242002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
525
526 * Object.m: Fix signed/unsigned warning.
527 * Protocol.m: Likewise.
528 * archive.c: Always include stdlib.h.
529 (objc_read_short, objc_read_unsigned_short, objc_read_int,
530 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
531 Fix signed/unsigned warning.
532 (objc_write_type, objc_read_type, objc_write_types,
533 objc_read_types): Ensure ctype 8-bit safety.
534 (__objc_no_write, __objc_no_read): Mark unused parameters.
535 * class.c (class_table_setup): Specify void arg.
536 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
537 objc_skip_typespec, objc_skip_offset,
538 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
539 (objc_layout_structure_next_member): Ensure variables are
540 initialized.
541 * gc.c (__objc_generate_gc_type_description,
542 class_ivar_set_gcinvisible): Mark unused parameters.
543 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
544 unused parameters.
545 (__objc_init_protocols) Fix signed/unsigned warning.
546 * nil_method.c (nil_method): Mark unused parameters.
547 * thr.h (objc_thread_callback): Specify void arg.
548 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
549 signed/unsigned warning.
550 (sarray_free): Fix formatting.
551 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
552 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
553
42bac116
AJ
5542002-06-09 Andreas Jaeger <aj@suse.de>
555
556 * encoding.c (objc_layout_structure_next_member): Remove unused
557 variable.
558
9aa338ec
KG
5592002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
560
561 * Makefile.in (SHELL): Set to @SHELL@.
562 (WARN_CFLAGS): New.
563 (ALL_CFLAGS): Add $(WARN_CFLAGS).
564
1e6347d8
RO
5652002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
566
567 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
568 * configure: Regenerate.
569
6706f116
AO
5702002-05-08 Alexandre Oliva <aoliva@redhat.com>
571
572 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
573 script entry, and set LD to it when configuring multilibs.
574 * configure: Rebuilt.
575
d0d091ae
DB
5762002-04-19 David O'Brien <obrien@FreeBSD.org>
577
578 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
579
ed426a38 5802002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
0bd9dd55
HPN
581
582 PR objc/6107
583 * objc/objc-api.h (struct objc_protocol_list): Change type of
584 member count from int to size_t.
585
b150efee
FS
5862002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
587
588 PR libobjc/4039
589 * aclocal.m4: Replace with version copied from libstdc++-v3.
590 * configure.in: Update for changes to aclocal and Makefile.
591 * configure: Regenerate.
592 * Makefile.in: Correct install of multilibs and shared libs, use
593 INSTALL_DATA for include files.
594
e5e0f6f5
NP
595Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
596
597 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
598 categories - when an unclaimed category was found, the loop was
599 doing two steps forward instead of one, so that in certain cases
600 it was failing to properly load all the categories. (Reported
601 with fix by Alexander Malmberg <alexander@malmberg.org>).
602
d5114db1
AH
6032001-11-14 Aldy Hernandez <aldyh@redhat.com>
604
4977bab6 605 * encoding.c: Add target_flags.
d5114db1 606
f4fdaeda
AH
6072001-11-07 Aldy Hernandez <aldyh@redhat.com>
608
609 * objc/objc-api.h (_C_VECTOR): New.
610
611 * encoding.c (VECTOR_TYPE): New.
612
26e51caa
NP
613Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
614
615 * class.c: Rewritten the class table to use optimized, lock-free
4977bab6
ZW
616 lookup. This more than doubles the speed of class method
617 invocations. (class_table_setup), (class_table_insert),
618 (class_table_replace), (class_table_get_safe),
619 (class_table_next), (class_table_print),
620 (class_table_print_histogram): New functions.
621 (__objc_init_class_tables): Use class_table_setup.
622 (__objc_add_class_to_hash): Use class_table_get_safe and
623 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
624 assert the existence of the table; do not lock the runtime; use
625 class_table_get_safe. (objc_next_class): Use class_table_next.
626 (__objc_resolve_class_links): Use class_table_next.
627 (class_pose_as): Use class_table_replace.
26e51caa 628
71a18acf
OP
6292001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
630
631 * gc.c: Removed the DEBUG declaration.
632
5f1ecf82
NP
633Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
634
635 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
636 rather than through objc_thread_id, to save a function call.
637 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
638 Ditto.
639
42d28de5
NP
640Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
641
642 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
643 to cast an id to a Class, which can not be done. Make the check
644 by using CLS_ISMETA on the class pointer instead.
645 (object_is_meta_class): Similar fix.
646
4173be7f
AO
6472001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
648
649 * configure.in (AC_EXEEXT): Work around in case it expands to
650 nothing, as in autoconf 2.50.
651 * acinclude.m4: Likewise.
652 * configure: Rebuilt.
653
27132e64
NP
6542001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
655
656 * THREADS: Explain that when we compile libobjc inside GCC, we
657 always use thr-objc.c as a backend, which uses GCC's thread code.
658
e6be21fe
RFM
6592001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
660
661 * init.c (__objc_send_message_in_list): When setting a new entry
662 in __objc_load_methods use the method IMP as key, but check to see
663 if the method is in the hashtable by looking at the IMP also.
664 Also ... call the method after adding it to the hashtable rather
665 than before ... thus preventing an obscure possibility of infinite
666 recursion if a +load method itself loads a subclass.
667
12e01066
OP
6682001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
669
670 * init.c (__objc_send_message_in_list): When setting a new entry
671 in __objc_load_methods use the method name as key, not the method
672 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
673
10c179f3
JM
6742001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
675
676 * objc-features.texi: Move to ../gcc/objc.texi.
677 * fdl.texi: Remove.
678 * Makefile.in: Don't generate documentation from
679 objc-features.texi.
680
bcecb0b0
MM
6812001-05-01 Mark Mitchell <mark@codesourcery.com>
682
683 * fdl.texi: New file.
684 * objc-features.texi: Simplify.
685 * Makefile.in: Adjust accordingly.
686
c3aac512
MM
6872001-04-30 Mark Mitchell <mark@codesourcery.com>
688
689 * objc-features.texi: Use the GFDL.
690
49073def
JW
691Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
692
693 * encoding.c (REAL_TYPE): Define.
694
120d59bf
DE
6952001-03-19 David Edelsohn <edelsohn@gnu.org>
696
697 * encoding.c (TYPE_MODE): Define.
698
b894530e
NP
6992001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
700
701 * thr.c (objc_thread_add): New function.
702 (objc_thread_remove): Ditto.
703 * objc/thr.h: Declare them.
704 * libobjc.def: Mention them.
705
11014a3b
OP
7062001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
707
708 * objc-features.texi: Document the @compatibility_alias compiler
709 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
710
a79ffa5a
RO
711Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
712
713 * sendmsg.c (__objc_forward): Delete strlen() declaration.
714
7c6b0e92
GK
7152001-02-08 Geoffrey Keating <geoffk@redhat.com>
716
717 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
718 we're not interested in the result and they might fail.
719 * configure: Regenerated.
720
01d9cb8b
JM
7212001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
722
723 * objc-features.texi: Use @email.
724
0fc39d8a
JM
7252001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
726
727 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
728 printf.
729
919ee051
RE
7302000-01-11 Richard Earnshaw <rearnsha@arm.com>
731
732 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
733 determines the value dynamically.
734
1104c18d
OP
735Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
736
737 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
738 libraries to provide a function that returns the real forwarding
739 function. This can alleviate problems __builtin_apply() and
740 friends have on various platforms. (Solution suggested by Helge
741 Hess.)
42bac116 742
1104c18d
OP
743 * objc/objc-api.h: Define __objc_msg_forward.
744
745 * sendmsg.c: Define gen_rtx_REG.
746
68c9c61a
RC
7472000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
748
42bac116 749 * thr-rtems.c: New file. Stub to compile.
68c9c61a 750
6d93bca4
AO
7512000-09-06 Alexandre Oliva <aoliva@redhat.com>
752
753 * configure: Rebuilt with new libtool.m4.
754
9d10fcf9
OP
755Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
756
757 * configure.in: Create a config.h file. Check for <sched.h>.
758 * configure: Regenerate.
759
760 * config.h.in: Check for <sched.h>.
761
57119aa9
ZW
7622000-08-14 Zack Weinberg <zack@wolery.cumb.org>
763
764 * configure: Regenerate after change to ../libtool.m4.
765
b310e725
AS
7662000-08-14 Andreas Schwab <schwab@suse.de>
767
768 * objc-features.texi (Top): Move @menu at end of node.
769
82fbe835
MH
7702000-08-11 Manfred Hollstein <manfredh@redhat.com>
771
772 * objc-features.texi: Move @node Top before @menu.
773
b3dc253f
OP
774Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
775
776 * objc-features.texi: Documented the new -fconstant-string-class
777 option.
778
9bc3876e
OP
779Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
780
781 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
782 improve the Posix thread support for Objective-C.
783
8cab40f7
ZW
7842000-08-04 Zack Weinberg <zack@wolery.cumb.org>
785
786 * aclocal.m4: Replace copy of ../libtool.m4 with
787 sinclude(../libtool.m4).
788
c161c99b
NP
789Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
790
42bac116 791 * configure.in: Added libtool support; build shared libraries
c161c99b
NP
792 if --enable-shared was passed on command line.
793 * Makefile.in: Modified most compilation commands to use libtool.
794 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
795 libtool distribution.
796
9c14a607
OP
797Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
798
799 * sarray.c, Object.m: Removed the explicit prototypes for strlen
800 and memcpy on 64-bit platforms (Suggested by Rodney Brown
801 <rdb@cup.hp.com>).
802
15794a95
L
8032000-05-12 H.J. Lu (hjl@gnu.org)
804
805 * Makefile.in (GTHREAD_FLAGS): New.
806 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
807 (OBJC_THREAD_FILE): Changed to thr-objc.
808
809 * configure.in (GTHREAD_FLAGS): New, check and replace it for
810 Makefile.
811 (OBJC_THREAD_FILE): Removed.
812
813 * thr-objc.c: New.
814
8dd8d754
KG
8152000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
816
817 * objc/hash.h: Include string.h.
818
39b48e02
DE
8192000-04-15 David Edelsohn <edelsohn@gnu.org>
820
821 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
822
bcdb1106
JJ
8232000-04-12 Jakub Jelinek <jakub@redhat.com>
824
825 * Object.m (strlen): Provide prototype on all 64bit platforms,
826 not only alpha.
827 * sarray.c (memcpy): Likewise.
828 * encoding.c (objc_layout_finish_structure): Don't use
829 ROUND_TYPE_ALIGN on sparc.
830
35f10998
JJ
831 * encoding.c (objc_layout_structure_next_member): Do the whole
832 procedure even for the first member, so that we get correct
833 alignment.
834
2e3120e8
ZW
8352000-03-29 Zack Weinberg <zack@wolery.cumb.org>
836
837 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
838 comments.
839
6fc605d8
ZW
8402000-02-23 Zack Weinberg <zack@wolery.cumb.org>
841
842 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
843
224a6bca
CB
844Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
845
846 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
847
e36e6e02
JL
848Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
849
850 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
851 the compiler when building C code.
42bac116 852
76632dd0
DJ
853Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
854
855 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
856 libdir, libsubdir and tooldir.
857
6000b42b
JDA
858Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
859
860 * init.c (__objc_force_linking): Make global.
861
6de94858
JL
862Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
863
864 * configure.in (AC_EXEEXT): Remove call.
865 (compiler_name): Explicitly check with no extension and .exe
866 extension.
867 * configure: Regenerate.
868
7af06410
MK
869Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
870
871 * Makefile.in (CC1OBJ): Define in terms of CC.
872 (runtime-info.h): Use.
873
09608fa2
OP
874Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
875
876 * objc-features.texi: Updated the URL to Boehm's GC page.
877
56d654e4
OP
878Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
879
880 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
881 the char as being signed (patch from Daniel Jacobowitz
882 <drow@false.org>).
883
e33abc2d
MK
884Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
885
886 * configure.in (AC_PREREQ): Update to 2.13.
887 (AC_EXEEXT): Call to find possible file extension.
888 (compiler_name): Use.
889 * configure: Regenerate.
890
ab87f8c8
JL
891Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
892
893 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
894
79014e6f
JL
895Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
896
897 * configure.in (thread_file): Correct and simplify code to find
898 the thread file.
899 * configure: Rebuilt.
900
71205e0b
MH
9011998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
902
903 * configure.in (compiler_name): Add check to detect if this
904 language's compiler has been built.
905 * configure: Regenerate.
906
223a8848
KG
907Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
908
909 * configure.in: Use AC_PREREQ(2.12.1).
910
74285159
JL
911Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
912
913 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
914
84beab38
KG
915Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
916
917 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
918
8a829fd9
KG
919Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
920
921 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
922
befb6d14
OP
923Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
924
925 * objc-features.texi (Top): Changed the email address.
926 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
927
928Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
929
930 * encoding.c: Redefine get_inner_array_type to get the first entry
42bac116 931 in the structure.
befb6d14 932
1df287f8
RFM
933Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
934
935 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
936 (objc_get_type_qualifiers): Similarly.
937 * objc/encoding.h (_C_BYREF): Define.
938 (_F_BYREF): Define.
939
07181a20
DM
9401998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
941
942 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
943 works out on 64-bit systems.
944
5e2f657b
AO
945Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
946
ceff9b14 947 * Makefile.in (INCLUDES): Make it multilib-friendly.
5e2f657b 948
4afb3646
L
949Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
950
951 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
952
4102f627
RL
953Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
954 Jeffrey A Law (law@cygnus.com)
955
956 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
957 (FLAGS_TO_PASS): Added.
958 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
959
960 * archive.c: Change config.h to tconfig.h.
961
962 * configure.in: Find gcc's object directory even for multilibs.
963
964Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
5ae4c799
RL
965
966 * configure.in: Escape ^ in grep string.
967 * configure: Rebuilt.
968
789eb4f5
JL
969Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
970
971 * All .h files pushed down into the objc/ subdirectory.
972 * Makefile.in (copy_headers): Corresponding changes.
973 * configure.in (AC_INIT): Corresponding changes.
974 * configure: Rebuilt.
975
bce1b489
BE
9761998-09-30 Ben Elliston <bje@cygnus.com>
977 Jeff Law <law@cygnus.com>
978
979 * Makefile.in: Rewrite.
980
981 * configure.in: Likewise.
982
983 * configure: Regenerate.
984
985 * All .c files. Remove "objc" prefix when including objc header
986 files. Include tconfig.h, not ../tconfig.h.
987
2e5f02a3
OP
988Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
989
990 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
991 (get_inner_array_type): Define.
992
88e17b57
BE
9931998-09-21 Ben Elliston <bje@cygnus.com>
994
995 * New directory. Moved files from ../gcc/objc.