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