]> git.ipfire.org Git - thirdparty/gcc.git/blame - libobjc/ChangeLog
re PR target/43137 (redundant register move for sign extending)
[thirdparty/gcc.git] / libobjc / ChangeLog
CommitLineData
265a000d
IS
12010-09-06 Iain Sandoe <iains@gcc.gnu.org>
2
3 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
4 Add a comment as to why, update FIXME comments.
5
7b74bb63
NP
62010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
7
8 * makefile.dos: Obsolete file removed.
9
4d9e8446
RW
102010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
11
12 * aclocal.m4: Regenerate.
13
19222959
DK
142010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
15
16 PR libobjc/30445
17 * configure.ac (extra_ldflags_libobjc): Define appropriately for
18 Cygwin and MinGW hosts.
19 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
20 (libobjc.dll): Likewise.
21 * configure: Regenerate.
22
43e02a8a
RW
232009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
24
25 * configure: Regenerate.
26
288d6a77
JJ
272009-11-28 Jakub Jelinek <jakub@redhat.com>
28
29 * sarray.c (sarray_free): Use old_buckets variable.
30 * encoding.c (objc_layout_structure_next_member): Remove unused
31 bfld_type_size variable.
32
df58e648
RW
332009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
34
35 * configure.ac (AC_PREREQ): Bump to 2.64.
36
5213506e
RW
372009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
38
39 * aclocal.m4: Regenerate.
40 * configure: Regenerate.
41 * config.h.in: Regenerate.
42
84fec8a5
RW
432009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
44
45 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
46
6efbd53f
RW
472009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
48
49 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
50 New variables.
51 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
52
1b3b24c2
RW
532009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
54
55 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
56
748086b7
JJ
572009-04-09 Nick Clifton <nickc@redhat.com>
58
59 * sendmsg.c: Change copyright header to refer to version 3 of
60 the GNU General Public License with version 3.1 of the GCC
61 Runtime Library Exception and to point readers at the COPYING3
62 and COPYING3.RUNTIME files and the FSF's license web page.
63 * NXConstStr.m: Likewise.
64 * Object.m: Likewise.
65 * Protocol.m: Likewise.
66 * archive.c: Likewise.
67 * class.c: Likewise.
68 * encoding.c: Likewise.
69 * exception.c: Likewise.
70 * gc.c: Likewise.
71 * hash.c: Likewise.
72 * init.c: Likewise.
73 * libobjc_entry.c: Likewise.
74 * linking.m: Likewise.
75 * misc.c: Likewise.
76 * nil_method.c: Likewise.
77 * objc/NXConstStr.h: Likewise.
78 * objc/Object.h: Likewise.
79 * objc/Protocol.h: Likewise.
80 * objc/encoding.h: Likewise.
81 * objc/hash.h: Likewise.
82 * objc/objc-api.h: Likewise.
83 * objc/objc-decls.h: Likewise.
84 * objc/objc-list.h: Likewise.
85 * objc/objc.h: Likewise.
86 * objc/runtime.h: Likewise.
87 * objc/sarray.h: Likewise.
88 * objc/thr.h: Likewise.
89 * objc/typedstream.h: Likewise.
90 * objects.c: Likewise.
91 * sarray.c: Likewise.
92 * selector.c: Likewise.
93 * thr-dce.c: Likewise.
94 * thr-decosf1.c: Likewise.
95 * thr-irix.c: Likewise.
96 * thr-mach.c: Likewise.
97 * thr-objc.c: Likewise.
98 * thr-os2.c: Likewise.
99 * thr-posix.c: Likewise.
100 * thr-pthreads.c: Likewise.
101 * thr-rtems.c: Likewise.
102 * thr-single.c: Likewise.
103 * thr-solaris.c: Likewise.
104 * thr-vxworks.c: Likewise.
105 * thr-win32.c: Likewise.
106 * thr.c: Likewise.
107 * libobjc.def: Change copyright header to refer to version 3 of
108 the GNU General Public License and to point readers at the COPYING3
109 file and the FSF's license web page.
110 * makefile.dos: Likewise.
111
1122009-04-09 Jakub Jelinek <jakub@redhat.com>
113
114 * Makefile.in: Change copyright header to refer to version
115 3 of the GNU General Public License and to point readers at the
116 COPYING3 file and the FSF's license web page.
117 * configure.ac: Likewise.
118
faef499b
DA
1192009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
120 David Ayers <ayers@fsfe.org>
121
122 PR libobjc/27466
123 * objc/objc-api.h (_objc_unexpected_exception): Declare
124 new hook. Update copyright dates.
125 * exception.c (objc_exception_throw): Use hook. Update
126 copyright dates.
127 * libobjc.def (_objc_unexpected_exception): Export hook.
128 Update copyright dates.
129
7a9d3fe8
RW
1302009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
131
132 * configure: Regenerate.
133
baafc534
RW
1342008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
135
136 * configure: Regenerate.
137
b15b7ef8
KT
1382008-11-21 Kai Tietz <kai.tietz@onevision.com>
139
140 * Object.m (errno): Replaced by errno.h include.
141 (compare): Cast self to id to prevent warning on comparison.
142 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
143 already there.
144 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
145 * thr-win32.c (__objc_thread_detach): Remove type warning.
146 (__objc_thread_id): Likewise.
147 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
148 for noreturn.
149
467b2e9e
PG
1502008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
151 Steve Ellcey <sje@cup.hp.com>
152
153 * configure: Regenerate for new libtool.
154 * config.h.in: Regenerate for new libtool.
155
920d063d
MK
1562008-07-18 Matthias Klose <doko@ubuntu.com>
157
158 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
159
785fad0a
MK
1602008-07-18 Matthias Klose <doko@ubuntu.com>
161
162 * Makefile.in: Include ../boehm-gc/threads.mk.
163 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
164
a0ed5099
RW
1652008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
166
167 * Makefile.in (install-info): New stub target.
168
18c04407
RW
1692008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
170
171 * configure: Regenerate.
172
b01bd5fe
KT
1732008-06-14 Kai Tietz <kai.tietz@onevision.com>
174
175 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
176 if HAVE_GETIPINFO is not defined.
177
c24aadf3
KT
1782008-06-10 Kai Tietz <kai.tietz@onevision.com>
179
180 * Object.m (compare): Add type id.
181 * objc/Object.h: Likewise.
182 * archive.c (objc_read_class): Use size_t to extend version to be
183 size of pointer scalar width.
184 * sendmsg.c (rtx): Undefine it before redefinition.
185 (__objc_print_dtable_stats): Cast arguments to long as intended.
186
3f6383d3
JB
1872008-05-30 Julian Brown <julian@codesourcery.com>
188
189 * exception.c (__objc_exception_class): Initialise as constant
190 array for ARM EABI. Change macro to static const for non-ARM EABI.
191 (ObjcException): Add note about structure layout. Remove landingPad
192 and handlerSwitchValue for ARM EABI.
193 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
194 of function.
195 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
196 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
197 ARM EABI unwinding support.
198 (objc_exception_throw): Use memcpy to initialise exception class.
199
dd25a747
AM
2002008-05-25 Alan Modra <amodra@bigpond.net.au>
201
202 * encoding.c (strip_array_types): Rename from get_inner_array_type.
203 (rs6000_special_round_type_align): Update.
204
7afa92c5
JB
2052008-05-09 Julian Brown <julian@codesourcery.com>
206
207 * Makefile.in (LTLDFLAGS): New.
208 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
209
deb984e6
PB
2102008-04-18 Paolo Bonzini <bonzini@gnu.org>
211
212 PR bootstrap/35457
213 * aclocal.m4: Regenerate.
214 * configure: Regenerate.
215
e7ad4ca7
DE
2162008-01-24 David Edelsohn <edelsohn@gnu.org>
217
218 * configure: Regenerate.
219
2c888488
L
2202007-10-14 H.J. Lu <hongjiu.lu@intel.com>
221
222 * configure.ac: Don't run config-ml.in directly.
223 (multilib_arg): New.
224 * configure: Regenerated.
225
30cad60d
AP
2262007-08-06 Andrew Pinski <pinskia@gmail.com>
227
228 PR libobjc/30731
229 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
230 of _Unwind_Word for variables which are used in
231 read_uleb128/read_sleb128.
232 (PERSONALITY_FUNCTION): Likewise.
233
12a27363
L
2342007-07-05 H.J. Lu <hongjiu.lu@intel.com>
235
236 * aclocal.m4: Regenerated.
237
af333b9a
AP
2382007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
239
240 * configure.ac: Fix a typo in *-*-darwin clause.
241 * configure: Regenerated.
242
4620d81e
L
2432007-06-02 H.J. Lu <hongjiu.lu@intel.com>
244
245 * configure.ac: Fix a typo.
246 * configure: Regenerated.
247
82a6cadf
PB
2482007-06-02 Paolo Bonzini <bonzini@gnu.org>
249
250 * configure: Regenerate.
251
45d5f86c
AP
2522007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
253
254 * Makefile.in: Replace all uses of libext with libsuffix.
255 * configure.ac: Likewise.
256 * configure: Regenerate.
257
258 Revert:
259 * Makefile.in: Remove all uses of $(libext).
260
8b5dda41
AP
2612007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
262
263 * Makefile.in: Remove all uses of $(libext).
264
1cf3d07d
SE
2652007-05-23 Steve Ellcey <sje@cup.hp.com>
266
267 * configure: Regenerate.
268 * aclocal.m4: Regenerate.
269
8972bcd8
AR
2702007-04-21 Andrew Ruder <andy@aeruder.net>
271
272 * sendmsg.c (__objc_get_forward_imp): Call
273 __objc_msg_forward2 for real.
274
80ae8e8a
AR
2752007-04-09 Andrew Ruder <andy@aeruder.net>
276
277 * sendmsg.c: Added __objc_msg_forward2, a hook that allows
278 external libraries to provide a function that returns the real
279 forwarding function based on both the selector and the receiver.
280 * objc/objc-api.h: Define __objc_msg_forward2.
281
38593123
BM
2822007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
283
284 * Makefile.in: Add dummy install-pdf target.
285
3034b453
MLI
2862007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
287
288 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
289 unused warning.
290
58182de3
GK
2912006-10-31 Geoffrey Keating <geoffk@apple.com>
292
293 * encoding.c (darwin_rs6000_special_round_type_align): New.
294
5b043f08
GK
2952006-10-14 Geoffrey Keating <geoffk@apple.com>
296
297 * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
298 * configure.ac: Use multi.m4 from aclocal rather than custom
299 code. Use multi_basedir instead of toplevel_srcdir.
300 * aclocal.m4: Regenerate.
301 * configure: Regenerate.
302
b5422ad7
BM
3032006-10-10 Brooks Moses <bmoses@stanford.edu>
304
305 * Makefile.in: Added empty "pdf" target.
306
57255173
PB
3072006-07-18 Paolo Bonzini <bonzini@gnu.org>
308
91ba215a 309 * configure: Regenerate.
57255173 310
2788992b
CD
3112006-05-23 Carlos O'Donell <carlos@codesourcery.com>
312
313 * Makefile.in: Add install-html target. Add install-html to .PHONY
314
529490b4
RO
3152006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
316
317 PR libobjc/26309
318 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
319
801a91f9
DA
3202006-01-24 David Ayers <d.ayers@inode.at>
321
322 PR libobjc/9751
323 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
324 and insure the new strings are '\0' termintated.
325
8c3e5222
DA
3262006-01-24 David Ayers <d.ayers@inode.at>
327
328 PR libobjc/13946
329 * configure.ac: Add include directives for --enable-objc-gc.
330 * Makefile.in: Ditto.
331 * configure: Regenerate.
332
333 * gc.c (__objc_class_structure_encoding): Increment the used bytes
334 instead of the local pointer to them.
335
06b11455
AP
3362005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
337
338 PR objc/25360
91ba215a
AP
339 * objc/objc-api.c (_C_COMPLEX): New define.
340 * encoding.c (objc_sizeof_type): Handle _C_Complex.
341 (objc_alignof_type): Likewise.
342 (objc_skip_typespec): Likewise.
06b11455 343
bf5b295c
DA
3442005-12-15 David Ayers <d.ayers@inode.at>
345
346 PR libobjc/14382
347 * README (+load,+initialize): Fix documentation to reflect
348 intended and implemented semantics for +load and +initialize.
349
761c0d29
AP
3502005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
351
352 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
353 the name.
354 (get_inner_array_type): Fix to skip over _C_ARY_B and size.
355 (rs6000_special_round_type_align): Update for the ABI fix.
356 (objc_layout_finish_structure): Correct the encoding which is passed to
357 ROUND_TYPE_ALIGN.
358
4540a3ad
AP
3592005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
360
361 PR libobjc/25347
362 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
363 but use the struct layout functions.
364 (objc_alignof_type): Likewise.
365 (objc_layout_structure): Handle _C_UNION_B also.
366 (objc_layout_structure_next_member): Likewise.
367 (objc_layout_finish_structure): Likewise.
368
153b4898
AP
3692005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
370
371 PR libobjc/25346
372 * objc/objc-api.h (_C_BOOL): New define.
373 * encoding.c (objc_sizeof_type): Handle _C_BOOL.
374 (objc_alignof_type): Likewise.
375 (objc_skip_typespec): Likewise.
376
84700346
DA
3772005-11-20 David Ayers <d.ayers@inode.at>
378
379 PR libobjc/19024
380 * objc/hash.h: Remove deprecated hash API.
381 * hash_compat.c: Remove.
382 * Makefile.in: Remove reference to hash_compat.c.
383
384 * configure.ac (VERSION): Bump library version to 2:0:0.
385 * configure: Regenerate.
386
7ef67393
AO
3872005-11-09 Alexandre Oliva <aoliva@redhat.com>
388
389 PR other/4372
390 * thr-objc.c (_XOPEN_SOURCE): Define.
391
b7add506
UW
3922005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
393
394 PR libobjc/23612
395 * objc/objc-api.h (struct objc_ivar): Move definition to
396 global scope.
397
ca59f04b
AP
3982005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
399 Rasmus Hahn <rassahah@neofonie.de>
400
401 PR libobjc/23108
402 * archive.c (objc_write_type): Correct the element offset.
403 (objc_read_type): Likewise.
404
f9d09c43
KC
4052005-08-17 Kelley Cook <kcook@gcc.gnu.org>
406
407 * All files: Update FSF address.
408
ee1658f3
MK
4092005-08-13 Marcin Koziej <creep@desk.pl>
410 Andrew Pinski <pinskia@physics.uc.edu>
411
412 PR libobjc/22492
413 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
414
a5a813f8
AP
4152005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
416
417 * Makefile.in (extra_ldflags_libobjc): New.
418 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
419 (libobjc_gc$(libext).la): Likewise.
420 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
421 "-Wl,-single_module".
422 * configure: Regenerate.
423 * linking.m (_objcInit): Remove.
424
84fd360d
AP
4252005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
426
427 PR libobjc/22606
428 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
429
cf223603
DA
4302005-06-08 David Ayers <d.ayers@inode.at>
431
432 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
433 objc/encoding.h, objc/hash.h, objc/objc-api.h,
434 objc/runtime.h, objc/sarray.h, objc/thr.h,
435 objc/typedstream.h: Do not include Objective-C headers as
436 system headers.
437
348a3445
DA
4382005-06-07 David Ayers <d.ayers@inode.at>
439
440 * archive.c, init.c, selector.c: Include hash.h.
441 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
442 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
443 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
444 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
445 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
446 Include Objective-C headers with quotes and objc/ directory
447 prefix.
448
4419e343
RH
4492005-05-19 Richard Henderson <rth@redhat.com>
450
451 * exception.c: Revert last change.
452
2e8a88f0
DA
4532005-05-19 David Ayers <d.ayers@inode.at>
454
455 * exception.c: Include tsystem.h for unwind.h.
456
f4c767fd
MS
4572005-05-09 Mike Stump <mrs@apple.com>
458
459 * configure: Regenerate.
460
6dab073b
MS
4612005-04-12 Mike Stump <mrs@apple.com>
462
463 * configure: Regenerate.
464
2b37e3d5
ZW
4652005-03-21 Zack Weinberg <zack@codesourcery.com>
466
467 * Makefile.in: Set gcc_version here.
468 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
469 in definition of toolexeclibdir so that $(gcc_version) is expanded
470 by the Makefile.
471 * aclocal.m4, configure: Regenerate.
472
e59ef543
DA
4732005-03-03 David Ayers <d.ayers@inode.at>
474
475 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
476 version reference. Correct typo.
477
270a1283
DA
4782005-03-02 David Ayers <d.ayers@inode.at>
479
480 PR libobjc/19024
481 * Makefile.in (OBJS): Add hash_compat.lo.
482 (OBJS_GC): Add hash_compat_gc.lo.
483 (hash_compat_gc.lo): New target and rule.
484 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
485 (hash_next, hash_value_for_key, hash_is_key_in_hash)
486 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
487 with objc_. Add deprecated non prefixed inlined versions.
488 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
489 declarations.
490 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
491 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
492 update callers.
493 * hash_compat.c: New file.
494 * archive.c: Update callers.
495 * init.c: Likewise.
496 * selector.c: Likewise.
497 * libobjc.def: Add objc_ versions of hash functions.
498
6886e18e
AP
4992005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
500
501 PR libobjc/20252
502 * Makefile.in (GTHREAD_FLAGS): Remove.
503 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
504 * thr-objc.c: Include config.h.
505 * configure.ac: Instead of looking at GCC's makefile, figure out if
506 GTHREAD_FLAGS should be defined by looking at the `thread model'
507 of the current gcc.
508 * configure: Regenerate.
509 * config.h.in: Regenerate.
510
215c351a
PB
5112005-02-28 Paolo Bonzini <bonzini@gnu.org>
512
513 PR bootstrap/17383
514 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
515 (Determine CFLAGS for gthread): Use $host_subdir.
516 * configure: Regenerate.
517 * Makefile.in (host_subdir): New.
518 (INCLUDES): Use it.
519
63b6f9ea
AP
5202004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
521
522 PR libobjc/12035
523 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
def9360c
AP
524 they are not used.
525 Include limits.h and stdlib.h.
526 Define BITS_PER_WORD.
63b6f9ea 527
64cbe55e
AM
5282004-12-12 Alexander Malmberg <alexander@malmberg.org>
529
530 * selector.c (__objc_init_selector_tables): Add missing void to
531 definition.
532
afabd8e6
RS
5332004-12-02 Richard Sandiford <rsandifo@redhat.com>
534
535 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
536 * configure, aclocal.m4: Regenerate.
537
2539bffe
KC
5382004-11-29 Kelley Cook <kcook@gcc.gnu.org>
539
540 * configure: Regenerate for libtool change.
541
767f726e
KC
5422004-11-25 Kelley Cook <kcook@gcc.gnu.org>
543
544 * configure: Regenerate for libtool reversion.
545
2c92e90f
KC
5462004-11-24 Kelley Cook <kcook@gcc.gnu.org>
547
548 * configure: Regenerate for libtool change.
549
2fc30700
KC
5502004-11-24 Kelley Cook <kcook@gcc.gnu.org>
551
552 * aclocal.m4, config.h.in: Regenerate.
553
dd365157 5542004-10-08 Mike Stump <mrs@apple.com>
2b37e3d5 555 Andrew Pinski <pinskia@physics.uc.edu>
dd365157
MS
556
557 * aclocal.m4: Rename to ...
558 * acinclude.m4: here and also use m4_include instead of sinclude.
559 * aclocal.m4: Regenerate.
560 * configure: Regenerate.
561 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
5a59530d 562 * Makefile.in (configure): Add @MAINT@ infront of configure.ac
dd365157 563
8d488306
AP
5642004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
565
566 * archive.c: Fix all the warnings about passing unsigned char*
567 to char* and the other way too.
568
049bc404
AP
5692004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
570
571 PR libobjc/16448
572 * exception.c: Include config.h
573 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
574 SJLJ_EXCEPTIONS.
575 * configure.ac: Find out what exception handling code we use.
576 * configure: Regenerate.
577 * config.h.in: New file, regenerate.
578
45f17969
AP
5792004-09-16 Andrew Pinski <apinski@apple.com>
580
581 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
582
1506eac1
NN
5832004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
584
585 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
586 ACX_NONCANONICAL_TARGET.
587 * configure: Regenerate.
588
f13bb199
ZL
5892004-08-13 Ziemowit Laski <zlaski@apple.com>
590
591 * objc/sarray.h: Hoist include of assert.h near the top of file,
592 and mark the remainder of the file 'extern "C"'.
593
9567d415
AP
5942004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
595
596 * objc/Object.h: Move includes out of extern "C" blocks.
597 * objc/encoding.h: Likewise.
598 * objc/hash.h: Likewise.
599 * objc/objc-api.h: Likewise.
600 * objc/runtime.h: Likewise.
601 * objc/sarray.h: Likewise.
602 * objc/typedstream.h: Likewise.
603
1a6213c3
ZL
6042004-08-12 Ziemowit Laski <zlaski@apple.com>
605
606 * objc/NXConstStr.h: Update copyright date; bracket with
607 'extern "C"' for C++ use; make include syntax consistent
608 by using <...> instead of "..."; hoist <objc/...> includes
609 above the 'extern "C"' block.
610 * objc/Object.h: Likewise.
611 * objc/Protocol.h: Likewise.
612 * objc/encoding.h: Likewise.
613 * objc/hash.h: Likewise.
614 * objc/runtime.h: Likewise.
615 * objc/sarray.h: Likewise.
616 * objc/thr.h: Likewise.
617 * objc/typedstream.h: Likewise.
618 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
619 (objc_static_instances): For C++ case, do away with
620 zero-sized array.
621 (objc_method): Hoist definition to file scope.
622 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2b37e3d5 623 class_get_instance_method, class_create_instance,
1a6213c3
ZL
624 class_get_class_name, class_get_instance_size,
625 class_get_meta_class, class_get_super_class, class_get_version,
626 class_is_class, class_is_meta_class, class_set_version,
627 class_get_gc_object_type, class_ivar_set_gcinvisible,
628 get_imp): Rename 'class' parameter to '_class'.
629 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
630 * objc/objc.h: Update copyright date.
631 (arglist_t): Provide a union tag.
632
bc012a44
AP
6332004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
634
635 * thr.c (__objc_thread_detach_function): Do not mark as volatile
636 but instead use the attribute noreturn.
637
0cf61401
ZW
6382004-06-28 Zack Weinberg <zack@codesourcery.com>
639
640 * encoding.c: Rename target_flags with a #define to avoid
641 conflict with a prior declaration.
642
6f0aa5e1
AP
6432004-06-24 Andrew Pinski <apinski@apple.com>
644
645 * objc/encoding.h: Wrap the functions with extern "C" for C++
0cf61401 646 mode.
6f0aa5e1
AP
647 * objc/hash.h: Likewise.
648 * objc/objc-api.h: Likewise.
649 * objc/objc-list.h: Likewise.
650 * objc/runtime.h: Likewise.
651 * objc/sarray.h: Likewise.
652 * objc/thr.h: Likewise.
653 * objc/typedstream.h: Likewise.
654
655
e7ebc32a
NC
6562004-06-21 Nick Clifton <nickc@redhat.com>
657
658 * encoding.c (BITS_PER_UNIT): Define if a definition is not
659 provided.
660
5520b936
AM
6612004-06-20 Alexander Malmberg <alexander@malmberg.org>
662
0cf61401
ZW
663 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
664 (exception_gc.lo): New.
665 (OBJS_GC): Add exception_gc.lo.
666
a776161b
RH
6672004-06-17 Richard Henderson <rth@redhat.com>
668
669 * exception.c: New file.
670 * Makefile.in (exception.lo): New.
671 (OBJS): Add it.
672
da727eab
AP
6732004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
674
675 * linking.m (_objcInit): New empty function
676 for Darwin only.
677
3f35ff6f
AP
6782004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
679
684c64bf
AP
680 * configure.ac: Support --enable-shared=libobjc.
681 * configure: Regenerate.
682
3f35ff6f
AP
683 PR libobjc/15901
684 * configure.ac: Do not disable shared by default.
685 * configure: Regenerate.
686
1600b7d6
NP
6872004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
688
689 * Protocol.m ([-isEqual:]): Small optimizations returning
690 immediately if the argument is equal to self, and accessing
691 the argument's name directly if it's a protocol.
692
6932004-06-03 David Ayers <d.ayers@inode.at>
694
695 * Protocol.m ([-isEqual:]): Test the class of the argument.
696
ff65de76
AP
6972004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
698
7d34a5a9
AP
699 * configure.ac (includedir): Rename to ...
700 (includedirname).
701 * Makefile.in: s/includedir/includedirname/.
702
ff65de76
AP
703 PR target/11572
704 * configure.ac (includedir): Set to "include"
705 except for Darwin.
706 (libext) Set to empty except for Darwin.
707 * configure: Regenerate
708 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
709 s/include/$(includedir)/g.
710
54b2f310
DJ
7112004-05-25 Daniel Jacobowitz <drow@false.org>
712
713 * Makefile.in: Add .NOEXPORT.
714
435317e2
AP
7152004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
716
717 Merge from the libobjc-branch
718 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 719
435317e2 720 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
0cf61401 721
435317e2 722 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 723
435317e2 724 * Makefile.in (OBJC_H): Add objc-deps.h.
0cf61401 725
435317e2 726 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
0cf61401 727
435317e2
AP
728 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
729 ([-hash], [-isEqual:]): New methods.
0cf61401 730
435317e2 731 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
0cf61401 732
435317e2 733 * sarray.c (sarray_free): Add a better comment.
0cf61401 734
435317e2 735 2004-01-27 Adam Fedor <fedor@gnu.org>
0cf61401 736
435317e2
AP
737 * hash.c (hash_add): Cast cachep to int.
738 * selector.c (__sel_register_typed_name): Cast
739 soffset_decode to int.
0cf61401 740
435317e2 741 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
0cf61401 742
435317e2
AP
743 * selector.c: Rename register_selectors_from_list to
744 __objc_register_selectors_from_list. Update caller.
745 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
746 while registering selectors. Use __sel_register_typed_name instead
747 of sel_register_typed_name. Check for NULL method_name:s.
748 (pool_alloc_selector): New function.
749 (__sel_register_typed_name): Use pool_alloc_selector to allocate
750 selector structures.
751 * sendmsg.c (class_add_method_list): Use
752 __objc_register_selectors_from_list.
753 * objc/runtime.h: Add __objc_register_selectors_from_list.
0cf61401 754
435317e2 755 2004-01-25 Adam Fedor <fedor@gnu.org>
0cf61401
ZW
756 Nicola Pero <n.pero@mi.flashnet.it>
757 Andrew Pinski <pinskia@physics.uc.edu>
758
435317e2
AP
759 * objc/objc-decls.h: New file.
760 * objc/objc-api.h (_objc_lookup_class): Mark as export.
761 (_objc_load_callback): Likewise.
762 (_objc_object_alloc): Likewise.
763 (_objc_object_copy): Likewise.
764 (_objc_object_dispose): Likewise.
0cf61401 765
435317e2 766 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 767
435317e2 768 * archive.c: s/__inline__/inline
0cf61401
ZW
769 * sendmsg.c: Likewise.
770
435317e2
AP
771 * encoding.c: Remove FIXME about the warning
772 about unused variable.
773 * sendmsg.c: Add a FIXME comment saying that
774 this should be using libffi.
0cf61401 775
435317e2 776 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
0cf61401 777
435317e2 778
755bddc8
AP
7792004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
780
781 * archive.c (objc_read_class): Initialize class_name.
782 (objc_read_selector): Initialize selector_name.
783
eb01299a
RS
7842004-05-09 Richard Sandiford <rsandifo@redhat.com>
785
786 * Makefile.in (toolexecdir): Remove trailing space.
787
db7f3c69
NN
7882004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
789
790 PR libobjc/14948
791 * configure.ac: De-precious CC so multilibs work.
792 * configure: Regenerate.
793
a42a57cb
NN
7942004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
795
796 * configure.ac: Restore toolexecdir.
797 * Makefile.in: Restore toolexecdir.
798 * configure: Regenerate.
799
9c01f395
NN
8002004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
801
d770b996
NN
802 * configure.ac: Remove (unused) glibcpp_prefixdir.
803 * configure: Regenerate.
804
3adc31d1
NN
805 * configure.in: Rename to configure.ac.
806 * Makefile.in: Update to match.
807
608e1e0c
NN
808 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
809 Replace glibcpp_toolexeclibdir with toolexeclibdir.
810 * configure.in: Remove glibcpp_toolexecdir (unused).
811 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
812 config.h or stamp-h (unused). Move one comment to the right place.
813 * configure: Regenerate.
814 * config.h.in: Remove (unused).
815
88b16960
NN
816 * config.h.in: Regenerate with autoheader.
817
af0c82b3
NN
818 * Makefile.in: Remove (unused) gcc_version_trigger.
819 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
820 gcc_version_trigger.
821 * configure: Regenerate.
822
252dde64
NN
823 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
824 Sort file into sections. Remove dnl where appropriate. Fix
825 other style issues.
826 * configure: Regenerate.
827
88386050
NN
828 * configure.in: Replace old AC_PROG_CC hack with new one.
829 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
830 are no subdirectory output files, so this is fine). Change prereq
831 to autoconf 2.59.
832 * aclocal.m4: Include ../config/no-executables.m4.
833 * configure: Regenerate with autoconf 2.59.
834
b43e7294
NN
835 * configure.in: Improve comments on gthread_cflags. Improve m4
836 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
837 * configure: Regenerate.
838
1fcfac98
NN
839 * configure.in: Move PACKAGE and VERSION settings up top. Remove
840 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
841 redundant checks for values of RANLIB, AR, INSTALL.
842 * configure: Regenerate.
843
9c01f395
NN
844 * configure.in: Clean up handling of
845 --enable-version-specific-runtime-libs and related variables;
846 replace 'if test' with 'case' where reasonable. Fix comments.
847 Remove useless libstdcxx_interface.
848 * configure: Regenerate.
849
850 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
851 Replace uses of target_alias with target_noncanonical.
852 * aclocal.m4: Include ../config/acx.m4.
853 * configure: Regenerate.
854 * Makefile.in: Replace uses of target_alias with target_noncanonical.
855 Fix copyright statement.
856
857 * configure.in: Hand-inline bulky, confusing macros from
858 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
859 Update copyright notice. Remove stuff for automake, which isn't
860 used in this directory. Remove emacs local variables.
861 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
862 * configure: Regenerate.
863
1adc3fec
MH
8642004-03-16 Manfred Hollstein <mh@suse.com>
865
866 * Makefile.in, configure.in, configure: Update copyright years.
867
68a1af87
MH
8682004-03-15 Manfred Hollstein <mh@suse.com>
869
870 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
871 definition from configure.in.
872 * configure.in (PACKAGE): Add definition.
873 (VERSION): Add definition; substitute it in output files.
874 * configure: Re-generate.
875
d5e63fce
ZL
8762004-03-05 Ziemowit Laski <zlaski@apple.com>
877
878 * objc/hash.h (hash_string, compare_strings):
879 Add type-casts to make Objective-C++ happy.
880 * objc/typedstream.h (objc_get_stream_class_version):
881 Rename parameter from 'class' to 'class_name' to make
882 Objective-C++ happy.
883
8f8cdf33
MM
8842004-03-01 Michael Matz <matz@suse.de>
885
886 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
887
25fe8680
ZL
8882004-02-06 Ziemowit Laski <zlaski@apple.com>
889
890 * objc/objc-api.h (objc_super): The 'class' field shall
891 be named 'super_class' #ifdef __cplusplus.
892
95727fb8
AP
8932004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
894
895 PR target/10781
896 * encoding.c (rs6000_special_round_type_align): Define.
897
5af0e6ae
AF
8982004-01-14 Adam Fedor <fedor@gnu.org>
899
900 PR libobjc/12155
901 * selector.c (__objc_register_instance_methods_to_class): Free
902 new_list if not used.
903
b39f1868
AR
9042004-01-09 Andrew Ruder <aeruder@ksu.edu>
905
906 PR libobjc/11904
907 * sarray.c (sarray_free): Free array->is_copy_of latter.
908
75d3baee
ZW
9092003-12-01 Zack Weinberg <zack@codesourcery.com>
910
911 PR 11433
912 * Protocol.m (descriptionForInstanceMethod): Don't dereference
913 instance_methods if it's NULL.
914 (descriptionForClassMethod): Likewise for class_methods.
915
7989e4dc
RO
9162003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
917
918 * Makefile.in (runtime-info.h): Remove -Wp.
919
54b98a47
RO
9202003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
921
922 * Makefile.in (CC1OBJ): Remove.
923 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
924 correctly.
925 Use .m extension for temporary file.
926 Remove assembler temp file.
927
beca20d2
JM
9282003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
929
930 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
931
05dcec66
RO
9322003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
933
934 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
935
e517f636
AM
9362003-09-09 Alan Modra <amodra@bigpond.net.au>
937
938 * configure: Regenerate.
939
45dff86e
AM
9402003-08-27 Alexander Malmberg <alexander@malmberg.org>
941
942 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
943 (libdir)/gcc-lib/ when installing.
944 * configure: Regenerate.
945
c19f8e35
NP
946Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
947
948 libobjc/9969
949 * sendmsg.c (get_imp): Fixed rare threading problem.
950 (__objc_responds_to): Similar fixes.
951 (objc_msg_lookup): Similar fixes.
952 (__objc_init_install_dtable): Lock the runtime before checking if the
953 table is installed.
75d3baee 954
6c82ad25
NN
9552003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
956
38709cad
NN
957 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
958 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
959 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
960 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
75d3baee 961 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
38709cad 962 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
6c82ad25
NN
963 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
964 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
965 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
966 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
967 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
968
e083f3f9 969Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
75d3baee 970 Nicola Pero <n.pero@mi.flashnet.it>
e083f3f9
RFM
971
972 libobjc/10742
973 * init.c (class_superclass_of_class): New function.
974 (create_tree_of_subclasses_inherited_from): Use it.
975 (__objc_tree_insert_class): Likewise.
976 (class_is_subclass_of_class): Likewise.
75d3baee 977
0b87e18e
DC
9782003-04-11 David Chad <davidc@freebsd.org>
979 Loren J. Rittle <ljrittle@acm.org>
980
981 libobjc/8562
982 * objc/hash.h (hash_string): Constify correctly.
983 (compare_ptrs): Use direct compare.
984 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
985 * objc/sarray.h: Global rename index to indx to avoid shadow.
986
ff8b9ca8
AS
9872003-03-12 Andreas Schwab <schwab@suse.de>
988
989 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
990 glibcpp_toolexeclibdir.
991 * configure: Rebuilt.
992
3343fdd2
AO
9932003-02-20 Alexandre Oliva <aoliva@redhat.com>
994
995 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
996 config.status.
997 * configure: Rebuilt.
998
c5e3e1ed
AO
9992003-01-27 Alexandre Oliva <aoliva@redhat.com>
1000
1001 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
1002 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1003 version_specific_libs is enabled.
1004 * configure: Rebuilt.
1005
90e5b39f
CC
10062003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1007
1008 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1009 (install-libs, install-headers): Prepend $(DESTDIR) to
1010 destination paths in all (un)installation commands.
1011
4977bab6
ZW
10122002-12-02 Zack Weinberg <zack@codesourcery.com>
1013
1014 * thr-objc.c: Include coretypes.h and tm.h.
1015
10162002-12-01 Zack Weinberg <zack@codesourcery.com>
1017
1018 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
1019
10202002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
1021
1022 * configure.in: Remove skip-this-dir support.
1023 * configure: Regenerate.
1024
6c5d742e
KG
10252002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1026
1027 * Makefile.in (all): Fix multilib parallel build.
1028
c2a68741
NP
1029Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
1030
1031 * sendmsg.c (nil_method): Declare not to take a variable number of
1032 args.
1033 (objc_msg_lookup): Cast nil_method to IMP before returning it.
1034 (objc_msg_lookup_super): The same.
1035
edf4d41e
JH
10362002-09-10 Jan Hubicka <jh@suse.cz>
1037
65a8189e
AJ
1038 * nil_method.c (nil_method): No longer defined with variable
1039 arguments.
edf4d41e 1040
40165636
RB
10412002-07-02 Rodney Brown <rbrown64@csc.com.au>
1042
1043 * objc/encoding.h: Fix formatting.
1044 * objc/hash.h: Likewise.
1045 * objc/objc-api.h: Likewise.
1046 * objc/runtime.h: Likewise.
1047 * objc/thr.h: Likewise.
1048 * archive.c: Likewise.
1049 * class.c: Likewise.
1050 * encoding.c: Likewise.
1051 * gc.c: Likewise.
1052 * hash.c: Likewise.
1053 * init.c: Likewise.
1054 * misc.c: Likewise.
1055 * nil_method.c: Likewise.
1056 * objects.c: Likewise.
1057 * sarray.c: Likewise.
1058 * selector.c: Likewise.
1059 * sendmsg.c: Likewise.
1060 * thr-mach.c: Likewise.
1061 * thr.c: Likewise.
1062
aebb8c22
DD
10632002-06-25 DJ Delorie <dj@redhat.com>
1064
1065 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
1066 GLIBCPP_TOPREL_CONFIGURE.
1067 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1068 * configure: Regenerate.
1069
b62cc13a
KG
10702002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1071
1072 * Object.m (forward, read, write): Fix unused parameter warnings.
1073 * encoding.c: Include <stdlib.h>.
1074 (target_flags): Mark with attribute unused.
1075 (atoi): Delete.
1076 * runtime.h (__objc_selector_max_index): Change to unsigned int.
1077 (__objc_generate_gc_type_description): Prototype.
1078 * selector.c (__objc_selector_max_index): Change to unsigned int.
1079
10cb24df
NP
1080Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
1081
1082 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
1083 we always have a return value: if __objc_msg_forward does not
1084 supply a forwarding implementation, return the default
1085 __builtin_apply based one.
1086
8f8c44cb
KG
10872002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1088
1089 * Object.m: Fix signed/unsigned warning.
1090 * Protocol.m: Likewise.
1091 * archive.c: Always include stdlib.h.
1092 (objc_read_short, objc_read_unsigned_short, objc_read_int,
1093 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
1094 Fix signed/unsigned warning.
1095 (objc_write_type, objc_read_type, objc_write_types,
1096 objc_read_types): Ensure ctype 8-bit safety.
1097 (__objc_no_write, __objc_no_read): Mark unused parameters.
1098 * class.c (class_table_setup): Specify void arg.
1099 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
1100 objc_skip_typespec, objc_skip_offset,
1101 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
1102 (objc_layout_structure_next_member): Ensure variables are
1103 initialized.
1104 * gc.c (__objc_generate_gc_type_description,
1105 class_ivar_set_gcinvisible): Mark unused parameters.
1106 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
1107 unused parameters.
1108 (__objc_init_protocols) Fix signed/unsigned warning.
1109 * nil_method.c (nil_method): Mark unused parameters.
1110 * thr.h (objc_thread_callback): Specify void arg.
1111 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
1112 signed/unsigned warning.
1113 (sarray_free): Fix formatting.
1114 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
1115 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
1116
42bac116
AJ
11172002-06-09 Andreas Jaeger <aj@suse.de>
1118
1119 * encoding.c (objc_layout_structure_next_member): Remove unused
1120 variable.
1121
9aa338ec
KG
11222002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1123
1124 * Makefile.in (SHELL): Set to @SHELL@.
1125 (WARN_CFLAGS): New.
1126 (ALL_CFLAGS): Add $(WARN_CFLAGS).
1127
1e6347d8
RO
11282002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1129
1130 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
1131 * configure: Regenerate.
1132
6706f116
AO
11332002-05-08 Alexandre Oliva <aoliva@redhat.com>
1134
1135 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1136 script entry, and set LD to it when configuring multilibs.
1137 * configure: Rebuilt.
1138
d0d091ae
DB
11392002-04-19 David O'Brien <obrien@FreeBSD.org>
1140
1141 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
1142
ed426a38 11432002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
0bd9dd55
HPN
1144
1145 PR objc/6107
1146 * objc/objc-api.h (struct objc_protocol_list): Change type of
1147 member count from int to size_t.
1148
b150efee
FS
11492002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1150
1151 PR libobjc/4039
1152 * aclocal.m4: Replace with version copied from libstdc++-v3.
1153 * configure.in: Update for changes to aclocal and Makefile.
1154 * configure: Regenerate.
1155 * Makefile.in: Correct install of multilibs and shared libs, use
1156 INSTALL_DATA for include files.
1157
e5e0f6f5
NP
1158Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
1159
1160 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
1161 categories - when an unclaimed category was found, the loop was
1162 doing two steps forward instead of one, so that in certain cases
1163 it was failing to properly load all the categories. (Reported
1164 with fix by Alexander Malmberg <alexander@malmberg.org>).
1165
d5114db1
AH
11662001-11-14 Aldy Hernandez <aldyh@redhat.com>
1167
4977bab6 1168 * encoding.c: Add target_flags.
d5114db1 1169
f4fdaeda
AH
11702001-11-07 Aldy Hernandez <aldyh@redhat.com>
1171
1172 * objc/objc-api.h (_C_VECTOR): New.
1173
1174 * encoding.c (VECTOR_TYPE): New.
1175
26e51caa
NP
1176Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
1177
1178 * class.c: Rewritten the class table to use optimized, lock-free
4977bab6
ZW
1179 lookup. This more than doubles the speed of class method
1180 invocations. (class_table_setup), (class_table_insert),
1181 (class_table_replace), (class_table_get_safe),
1182 (class_table_next), (class_table_print),
1183 (class_table_print_histogram): New functions.
1184 (__objc_init_class_tables): Use class_table_setup.
1185 (__objc_add_class_to_hash): Use class_table_get_safe and
1186 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
1187 assert the existence of the table; do not lock the runtime; use
1188 class_table_get_safe. (objc_next_class): Use class_table_next.
1189 (__objc_resolve_class_links): Use class_table_next.
1190 (class_pose_as): Use class_table_replace.
26e51caa 1191
71a18acf
OP
11922001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
1193
1194 * gc.c: Removed the DEBUG declaration.
1195
5f1ecf82
NP
1196Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
1197
1198 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
1199 rather than through objc_thread_id, to save a function call.
1200 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
1201 Ditto.
1202
42d28de5
NP
1203Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
1204
1205 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
1206 to cast an id to a Class, which can not be done. Make the check
1207 by using CLS_ISMETA on the class pointer instead.
1208 (object_is_meta_class): Similar fix.
1209
4173be7f
AO
12102001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1211
1212 * configure.in (AC_EXEEXT): Work around in case it expands to
1213 nothing, as in autoconf 2.50.
1214 * acinclude.m4: Likewise.
1215 * configure: Rebuilt.
1216
27132e64
NP
12172001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
1218
1219 * THREADS: Explain that when we compile libobjc inside GCC, we
1220 always use thr-objc.c as a backend, which uses GCC's thread code.
1221
e6be21fe
RFM
12222001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
1223
1224 * init.c (__objc_send_message_in_list): When setting a new entry
1225 in __objc_load_methods use the method IMP as key, but check to see
1226 if the method is in the hashtable by looking at the IMP also.
1227 Also ... call the method after adding it to the hashtable rather
1228 than before ... thus preventing an obscure possibility of infinite
1229 recursion if a +load method itself loads a subclass.
1230
12e01066
OP
12312001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
1232
1233 * init.c (__objc_send_message_in_list): When setting a new entry
1234 in __objc_load_methods use the method name as key, not the method
1235 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
1236
10c179f3
JM
12372001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
1238
1239 * objc-features.texi: Move to ../gcc/objc.texi.
1240 * fdl.texi: Remove.
1241 * Makefile.in: Don't generate documentation from
1242 objc-features.texi.
1243
bcecb0b0
MM
12442001-05-01 Mark Mitchell <mark@codesourcery.com>
1245
1246 * fdl.texi: New file.
1247 * objc-features.texi: Simplify.
1248 * Makefile.in: Adjust accordingly.
1249
c3aac512
MM
12502001-04-30 Mark Mitchell <mark@codesourcery.com>
1251
1252 * objc-features.texi: Use the GFDL.
1253
49073def
JW
1254Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
1255
1256 * encoding.c (REAL_TYPE): Define.
1257
120d59bf
DE
12582001-03-19 David Edelsohn <edelsohn@gnu.org>
1259
1260 * encoding.c (TYPE_MODE): Define.
1261
b894530e
NP
12622001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
1263
1264 * thr.c (objc_thread_add): New function.
1265 (objc_thread_remove): Ditto.
1266 * objc/thr.h: Declare them.
1267 * libobjc.def: Mention them.
1268
11014a3b
OP
12692001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
1270
1271 * objc-features.texi: Document the @compatibility_alias compiler
1272 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
1273
a79ffa5a
RO
1274Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1275
1276 * sendmsg.c (__objc_forward): Delete strlen() declaration.
1277
7c6b0e92
GK
12782001-02-08 Geoffrey Keating <geoffk@redhat.com>
1279
1280 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
1281 we're not interested in the result and they might fail.
1282 * configure: Regenerated.
1283
01d9cb8b
JM
12842001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1285
1286 * objc-features.texi: Use @email.
1287
0fc39d8a
JM
12882001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1289
1290 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
1291 printf.
1292
919ee051
RE
12932000-01-11 Richard Earnshaw <rearnsha@arm.com>
1294
1295 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
1296 determines the value dynamically.
1297
1104c18d
OP
1298Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
1299
1300 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
1301 libraries to provide a function that returns the real forwarding
1302 function. This can alleviate problems __builtin_apply() and
1303 friends have on various platforms. (Solution suggested by Helge
1304 Hess.)
42bac116 1305
1104c18d
OP
1306 * objc/objc-api.h: Define __objc_msg_forward.
1307
1308 * sendmsg.c: Define gen_rtx_REG.
1309
68c9c61a
RC
13102000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1311
42bac116 1312 * thr-rtems.c: New file. Stub to compile.
68c9c61a 1313
6d93bca4
AO
13142000-09-06 Alexandre Oliva <aoliva@redhat.com>
1315
1316 * configure: Rebuilt with new libtool.m4.
1317
9d10fcf9
OP
1318Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1319
1320 * configure.in: Create a config.h file. Check for <sched.h>.
1321 * configure: Regenerate.
1322
1323 * config.h.in: Check for <sched.h>.
1324
57119aa9
ZW
13252000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1326
1327 * configure: Regenerate after change to ../libtool.m4.
1328
b310e725
AS
13292000-08-14 Andreas Schwab <schwab@suse.de>
1330
1331 * objc-features.texi (Top): Move @menu at end of node.
1332
82fbe835
MH
13332000-08-11 Manfred Hollstein <manfredh@redhat.com>
1334
1335 * objc-features.texi: Move @node Top before @menu.
1336
b3dc253f
OP
1337Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1338
1339 * objc-features.texi: Documented the new -fconstant-string-class
1340 option.
1341
9bc3876e
OP
1342Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1343
1344 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
1345 improve the Posix thread support for Objective-C.
1346
8cab40f7
ZW
13472000-08-04 Zack Weinberg <zack@wolery.cumb.org>
1348
1349 * aclocal.m4: Replace copy of ../libtool.m4 with
1350 sinclude(../libtool.m4).
1351
c161c99b
NP
1352Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
1353
42bac116 1354 * configure.in: Added libtool support; build shared libraries
c161c99b
NP
1355 if --enable-shared was passed on command line.
1356 * Makefile.in: Modified most compilation commands to use libtool.
1357 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
1358 libtool distribution.
1359
9c14a607
OP
1360Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1361
1362 * sarray.c, Object.m: Removed the explicit prototypes for strlen
1363 and memcpy on 64-bit platforms (Suggested by Rodney Brown
1364 <rdb@cup.hp.com>).
1365
15794a95
L
13662000-05-12 H.J. Lu (hjl@gnu.org)
1367
1368 * Makefile.in (GTHREAD_FLAGS): New.
1369 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
1370 (OBJC_THREAD_FILE): Changed to thr-objc.
1371
1372 * configure.in (GTHREAD_FLAGS): New, check and replace it for
1373 Makefile.
1374 (OBJC_THREAD_FILE): Removed.
1375
1376 * thr-objc.c: New.
1377
8dd8d754
KG
13782000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1379
1380 * objc/hash.h: Include string.h.
1381
39b48e02
DE
13822000-04-15 David Edelsohn <edelsohn@gnu.org>
1383
1384 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
1385
bcdb1106
JJ
13862000-04-12 Jakub Jelinek <jakub@redhat.com>
1387
1388 * Object.m (strlen): Provide prototype on all 64bit platforms,
1389 not only alpha.
1390 * sarray.c (memcpy): Likewise.
1391 * encoding.c (objc_layout_finish_structure): Don't use
1392 ROUND_TYPE_ALIGN on sparc.
1393
35f10998
JJ
1394 * encoding.c (objc_layout_structure_next_member): Do the whole
1395 procedure even for the first member, so that we get correct
1396 alignment.
1397
2e3120e8
ZW
13982000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1399
1400 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
1401 comments.
1402
6fc605d8
ZW
14032000-02-23 Zack Weinberg <zack@wolery.cumb.org>
1404
1405 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
1406
224a6bca
CB
1407Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
1408
1409 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
1410
e36e6e02
JL
1411Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
1412
1413 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
1414 the compiler when building C code.
42bac116 1415
76632dd0
DJ
1416Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1417
1418 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1419 libdir, libsubdir and tooldir.
1420
6000b42b
JDA
1421Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
1422
1423 * init.c (__objc_force_linking): Make global.
1424
6de94858
JL
1425Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
1426
1427 * configure.in (AC_EXEEXT): Remove call.
1428 (compiler_name): Explicitly check with no extension and .exe
1429 extension.
1430 * configure: Regenerate.
1431
7af06410
MK
1432Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
1433
1434 * Makefile.in (CC1OBJ): Define in terms of CC.
1435 (runtime-info.h): Use.
1436
09608fa2
OP
1437Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1438
1439 * objc-features.texi: Updated the URL to Boehm's GC page.
1440
56d654e4
OP
1441Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1442
1443 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
1444 the char as being signed (patch from Daniel Jacobowitz
1445 <drow@false.org>).
1446
e33abc2d
MK
1447Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
1448
1449 * configure.in (AC_PREREQ): Update to 2.13.
1450 (AC_EXEEXT): Call to find possible file extension.
1451 (compiler_name): Use.
1452 * configure: Regenerate.
1453
ab87f8c8
JL
1454Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
1455
1456 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
1457
79014e6f
JL
1458Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
1459
1460 * configure.in (thread_file): Correct and simplify code to find
1461 the thread file.
1462 * configure: Rebuilt.
1463
71205e0b
MH
14641998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
1465
1466 * configure.in (compiler_name): Add check to detect if this
1467 language's compiler has been built.
1468 * configure: Regenerate.
1469
223a8848
KG
1470Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1471
1472 * configure.in: Use AC_PREREQ(2.12.1).
1473
74285159
JL
1474Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
1475
1476 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
1477
84beab38
KG
1478Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1479
1480 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
1481
8a829fd9
KG
1482Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1483
1484 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
1485
befb6d14
OP
1486Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
1487
1488 * objc-features.texi (Top): Changed the email address.
1489 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
1490
1491Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
1492
1493 * encoding.c: Redefine get_inner_array_type to get the first entry
42bac116 1494 in the structure.
befb6d14 1495
1df287f8
RFM
1496Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
1497
1498 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
1499 (objc_get_type_qualifiers): Similarly.
1500 * objc/encoding.h (_C_BYREF): Define.
1501 (_F_BYREF): Define.
1502
07181a20
DM
15031998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
1504
1505 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
1506 works out on 64-bit systems.
1507
5e2f657b
AO
1508Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
1509
ceff9b14 1510 * Makefile.in (INCLUDES): Make it multilib-friendly.
5e2f657b 1511
4afb3646
L
1512Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
1513
1514 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
1515
4102f627
RL
1516Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
1517 Jeffrey A Law (law@cygnus.com)
1518
1519 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
1520 (FLAGS_TO_PASS): Added.
1521 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
1522
1523 * archive.c: Change config.h to tconfig.h.
1524
1525 * configure.in: Find gcc's object directory even for multilibs.
1526
1527Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
5ae4c799
RL
1528
1529 * configure.in: Escape ^ in grep string.
1530 * configure: Rebuilt.
1531
789eb4f5
JL
1532Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
1533
1534 * All .h files pushed down into the objc/ subdirectory.
1535 * Makefile.in (copy_headers): Corresponding changes.
1536 * configure.in (AC_INIT): Corresponding changes.
1537 * configure: Rebuilt.
1538
bce1b489
BE
15391998-09-30 Ben Elliston <bje@cygnus.com>
1540 Jeff Law <law@cygnus.com>
1541
1542 * Makefile.in: Rewrite.
1543
1544 * configure.in: Likewise.
1545
1546 * configure: Regenerate.
1547
1548 * All .c files. Remove "objc" prefix when including objc header
1549 files. Include tconfig.h, not ../tconfig.h.
1550
2e5f02a3
OP
1551Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
1552
1553 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
1554 (get_inner_array_type): Define.
1555
88e17b57
BE
15561998-09-21 Ben Elliston <bje@cygnus.com>
1557
1558 * New directory. Moved files from ../gcc/objc.