]> git.ipfire.org Git - thirdparty/gcc.git/blame - libobjc/ChangeLog
re PR rtl-optimization/33721 ([meta-bug] Gcc can't properly align stack variable)
[thirdparty/gcc.git] / libobjc / ChangeLog
CommitLineData
6176c2a9
NP
12010-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
2
3 * objc/objc-api.h (struct objc_super, Super, Super_t,
4 objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
5 objc_msg_forward2): Declarations moved to objc/message.h. Include
6 message.h here.
7 * objc/message.h: Added such declarations; updated comments.
8
f05b9d93
NP
92010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
10
11 Implemented fast enumeration for Objective-C.
12 * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
13 (OBJC_H): Added runtime.h
14 * objc-foreach.c: New file.
15 * objc/runtime.h: New file.
16
2de87f04
KT
172010-09-30 Kai Tietz <kai.tietz@onevision.com>
18
19 * objc/deprecated/struct_objc_class.h: Add padding
20 to avoid warning with -Wpadded.
21
177b48f9
NP
222010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
23
24 * encoding.c (objc_sizeof_type): Added support for vector type and
25 for double long types.
26 (objc_alignof_type): Same change.
27 (objc_skip_typespec): Same change.
28 * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
29 instead of '!' since '!' is already used for _C_VECTOR.
30 * objc/objc-api.h (_C_LNG_DBL): Added.
31
d284c684
NP
322010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
33
34 * libobjc_entry.c: File removed.
35
7116b6ea
KT
362010-09-26 Kai Tietz <kai.tietz@onevision.com>
37
bd74d88b 38 * sendmsg.c (objc_msg_lookup): Remove inline.
7116b6ea
KT
39 (objc_get_uninstalled_dtable): Likewise.
40 * encoding.c (objc_skip_type_qualifiers): Likewise.
41 (objc_skip_offset): Likewise.
42 * archive.c (__objc_write_object): Likewise
43 (__objc_write_class):
44 (__objc_write_selector):
45 (objc_read_char):
46 (objc_read_unsigned_char):
47 (objc_read_short):
48 (objc_read_unsigned_short):
49 (objc_read_int):
50 (objc_read_long):
51 (__objc_read_nbyte_uint):
52 (objc_read_unsigned_int):
53 (objc_read_unsigned_long):
54 * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
55 (objc_EXPORT): Likewise.
56 * objc/message.h (objc-decls.h): Add include.
57 * objc/objc-api.h: Mark API by objc_EXPORT.
58 * libobjc.def (__objc_responds_to): Removed.
59
5d3b14bd
NP
602010-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
61
62 * hash.c: Include objc-private/hash.h instead of objc/hash.h.
63
64 * objc/sarray.h: Moved into objc/deprecated/sarray.h;
65 objc/sarray.h replaced with a placeholder including the file from
66 the deprecated/ directory.
67 * objc-private/sarray.h: New file (private copy of sarray.h).
68 * hash.c: Include <assert.h> instead of "assert.h"
69 * sarray.c: Include <assert.h> instead of "assert.h". Include
70 objc-private/sarray.h instead of objc/sarray.h.
71 * selector.c: Include objc-private/sarray.h instead of
72 objc/sarray.h.
73 * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h
74 instead of objc/sarray.h.
75 * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
76
349cfd93
NP
772010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
78
79 * objc-private/objc-list.h (list_remove_elem): Unused function
80 removed. (list_nth): Unused function removed. (list_find):
81 Unused function removed. (list_lenght): Unused function removed.
82
5be9cdc1
NP
832010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
84
85 * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
86 replaced with a placeholder including the file from the
87 deprecated/ directory.
88 * objc/objc-api.h: Updated includes.
89 * objc/typedstream.h: Updated includes.
90 * objc-private/hash.h: New file (private copy of hash.h).
91 * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
92 objc/objc-list.h replaced with a placeholder including the file
93 from the deprecated/ directory.
94 * objc-private/objc-list.h: New file (private copy of objc-list.h).
95 * init.c: Include objc-private/hash.h and objc-private/objc-list.h
96 instead of objc/hash.h and objc/objc-list.h.
97 * selector.c: Same change.
98 * class.c: Added include <string.h>, which used to be implicitly included
99 when hash.h was included.
100 * exception.c: Same change.
101 * objects.c: Same change.
102 * sarray.c: Same change.
103 * sendmsg.c: Same change.
104 * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
5be9cdc1 105
fd312537
NP
1062010-09-14 Nicola Pero <nicola.pero@meta-innovation.com>
107
108 Implemented objc_sync_enter() and objc_sync_exit(), which are
109 required by @synchronized() to work.
110 * objc-sync.c: New file.
111 * objc/objc-sync.h: New file.
112 * objc-private/objc-sync.h: New file.
113 * init.c (__objc_exec_class): Call __objc_sync_init() during the
114 Objective-C runtime startup.
115 * Makefile.in: Added objc-sync.c and objc-sync.h.
116 * configure.ac: Added GCC_CHECK_TLS.
117 * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
118 * configure: Regenerated.
119 * config.h.in: Regenerated.
120
7e268280
NP
1212010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
122
123 * Makefile.in (%_gc.lo): New pattern rules to build the
124 garbage-collected version of the library. Removed rules for
125 specific files that are no longer needed. Standardized all rules.
126 (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
127 (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
128 OBJC_SOURCE_FILES.
129 (INCLUDES): Removed the unused include -I$(srcdir)/objc.
130
1312010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
132
133 * memory.c (objc_calloc): Fixed call to GC_malloc when building
134 with Garbage Colletion.
135
457e68e7
NP
1362010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
137
138 * memory.c: Do not include objc-private/runtime.h.
139
d1be5d82
NP
1402010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
141
142 * objc/deprecated/objc_malloc.h: New file.
143 * objc/deprecated/objc_valloc.h: New file.
144 * objc/objc-api.h: Include the files instead of defining
145 objc_valloc, _objc_malloc() and similar.
146 * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
147 objc_malloc.h.
148 * memory.c: Removed the extra layer of indirection of _objc_malloc
149 and similar.
150 (objc_calloc): Use GC_malloc in the garbage-collected
151 implementation as GC_malloc returns memory that is already freed.
152 (objc_valloc): Deprecated.
153
7b869986
NP
1542010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
155
156 * objc/deprecated/objc_error.h: New file.
157 * objc/objc-api.h: Include deprecated/objc_error.h instead of
158 defining objc_error and related.
159 * error.c: New file. Added _objc_abort function which replaces
160 objc_error. No change in functionality as they both print an
161 error and abort.
162 * misc.c: File removed. Code moved into memory.c and error.c.
163 * memory.c: New file.
164 * objc-private/error.h: New file.
165 * archive.c: Include objc-private/error.h and use _objc_abort
166 instead of objc_error everywhere.
167 * class.c: Same change.
168 * encoding.c: Same change.
169 * init.c: Same change, and simplified init_check_module_version.
170 * memory.c: Same change.
171 * sendmsg.c: Same change.
172 * thr.c: Same change.
173 * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
174 (OBJ_H): Reordered list.
175 (OBJS): Removed misc.lo, added memory.lo and error.lo.
176 (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
177 (misc_gc.lo): Rule removed.
178 (error_gc.lo): Rule added.
179 (memory_gc.lo): Rule added.
180
6dead247
NP
1812010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
182
183 * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
184 to check the API version. Added some comments.
185
186 * objc-private/common.h: New file.
187 * NXConstStr.m: Include objc-private/common.h.
188 * Object.m: Same change.
189 * Protocol.m: Same change.
190 * archive.c: Same change.
191 * class.c: Same change.
192 * encoding.c: Same change.
193 * exception.c: Same change.
194 * gc.c: Same change.
195 * hash.c: Same change.
196 * init.c: Same change.
197 * libobjc_entry.c: Same change.
198 * linking.m: Same change.
199 * misc.c: Same change (and added a comment).
200 * nil_method.c: Same change.
201 * objects.c: Same change.
202 * sarray.c: Same change.
203 * selector.c: Same change.
204 * sendmsg.c: Same change.
205 * thr.c: Same change.
206
83c28dfd
NP
2072010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
208
209 * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
210
0c11b8fb
NP
2112010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
212
213 * archive.c: Removed not needed includes.
214 * class.c: Same change.
215 * hash.c: Same change.
216 * misc.c: Same change.
217 * nil_method.c: Same change.
218 * objects.c: Same change.
219 * sarray.c: Same change.
220 * sendmsg.c: Same change.
221 * thr.c: Same change.
222
a19fac96
NP
2232010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
224
225 * objc/runtime.h: Moved to objc-private/runtime.h. Do not include
226 all the objc/*.h files.
227 * objc-private/runtime.h: New file.
228 * archive.c: Include objc-private/runtime.h (and required objc/*.h
229 files) instead of objc/runtime.h.
230 * class.c: Same change.
231 * hash.c: Same change.
232 * init.c: Same change.
233 * misc.c: Same change.
234 * nil_method.c: Same change.
235 * objects.c: Same change.
236 * sarray.c: Same change.
237 * selector.c: Same change.
238 * sendmsg.c: Same change.
239 * thr.c: Same change.
240
3d0d8739
NP
2412010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
242
243 * objc/deprecated/struct_objc_selector.h: New file. Definition of
244 'struct objc_selector' and 'sel_eq' moved here.
245 * objc/deprecated/struct_objc_protocol.h: New file. Definition of
246 'struct objc_procotol' moved here.
247 * objc/deprecated/struct_objc_class.h: New file. Definition of
248 'struct objc_class' moved here.
249 * objc/deprecated/MetaClass.h: New file. Definition of MetClass
250 moved here.
251 * objc/deprecated/STR.h: New file. Definition of STR moved here.
252 * objc/message.h: New file. Definitions for relval_t, apply_t,
253 arglist, arglist_t and objc_msg_lookup were moved here.
254 * objc/objc.h: Include the above files instead of defining the
255 corresponding structs, types and functions here. Added new opaque
256 definitions for SEL and Class. Use Class and not 'struct
257 objc_class *' in the definition of 'struct objc_object'.
258 Commented all types defined in the file. Removed special
259 definition of BOOL as 'int' on __vxworks; use 'unsigned char'
260 there as well.
261 * objc/deprecated/objc-unexpected-exception.h: Renamed to
262 objc_unexpected_exception.h.
263 * objc/objc-api.h: Updated include of
264 objc-unexpetected-exception.h
265 * objc/objc-exception.h: Updated comments.
266 * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
267 files. Reindented list of files.
268
4c26f0a5
NP
2692010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
270
271 * objc/objc-api.h (objc_trace): Unused variable removed.
272
e976a775
NP
2732010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
274
275 * objc/deprecated: New directory.
276 * objc/deprecated/README: New file.
277 * objc/README: New file.
278 * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
279 objc/typedstream.h replaced with a placeholder including the file
280 from the deprecated/ directory.
281 * objc/deprecated/objc-unexpected-exception.h: New file with the
282 definition of _objc_unexpected_exception.
283 * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
284 instead of defining _objc_unexpected_exception.
285 * objc/deprecated/Object.h: New file with the deprecated Object
286 methods in a 'Deprecated' category.
287 * objc/Object.h Include deprecated/Object.h instead of defining
288 the deprecated methods.
289 * Object.m: Moved deprecated methods into 'Deprecated' category.
290 * objc-private: New directory.
291 * objc-private/README: New file.
292 * Makefile.in (OBJC_DEPRECATED_H): New variable.
293 (install-headers): Create installation directory for
294 OBJC_DEPRECATED_H headers, and install them.
295
2962010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
297
298 * objc/objc-exception.h: Fixed include of objc.h.
299
e30511ed
NP
3002010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
301
302 * objc/objc-exception.h: New file.
303 * exception.c (objc_set_uncaught_exception_handler): Implemented.
304 (objc_set_exception_matcher): Implemented.
305 (objc_exception_throw): Use the uncaught exception handler if set.
306 (PERSONALITY_FUNCTION): Use the exception matcher instead of the
307 hardcoded isKindOf.
308 (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
309 up. Removed segmentation fault when value is 'nil'.
310 * objc/objc-api.h (_objc_unexpected_exception): Mark as
311 deprecated.
312 * Makefile.in (exception.lo, exception_gc.lo): Use
313 -Wno-deprecated-declarations when compiling.
314 (OBJC_H): Added objc-exception.h
315
4470254f
NP
3162010-09-08 Nicola Pero <nicola@nicola.brainstorm.co.uk>
317
318 * objc/typedstream.h: Deprecate all functions in the file. This
319 file is obsolete.
320 * objc/Object.h ([+streamVersion:], [-read:], [-write:],
321 [-awake]): Documented that these methods are deprecated. Added a
322 brief description of the Object class and its relationship to the
323 NSObject class.
324 * Makefile.in: Compile archive.c and Object.m with
325 -Wno-deprecated-declarations.
326
88a2722e
NP
3272010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
328
329 Removed obsolete intermediate threading layer.
330 * thr.c: Use __gthread_objc_xxx functions directly instead of
331 __objc_thread_xxx ones.
332 * objc/thr.h: Removed prototypes of no longer existing
333 __objc_thread_xxx functions.
334 * Makefile.in: Removed thr-objc.lo.
335 * thr-dce.c: File removed.
336 * thr-decosf1.c: File removed.
337 * thr-irix.c: File removed.
338 * thr-mach.c: File removed.
339 * thr-objc.c: File removed.
340 * thr-os2.c: File removed.
341 * thr-posix.c: File removed.
342 * thr-pthreads.c: File removed.
343 * thr-rtems.c: File removed.
344 * thr-single.c: File removed.
345 * thr-solaris.c: File removed.
346 * thr-vxworks.c: File removed.
347 * thr-win32.c: File removed.
348 * README.threads: File removed.
349 * THREADS.MACH: File removed.
350 * THREADS: Updated.
351
29b71c02
NP
3522010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
353
354 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
355
265a000d
IS
3562010-09-06 Iain Sandoe <iains@gcc.gnu.org>
357
358 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
359 Add a comment as to why, update FIXME comments.
360
7b74bb63
NP
3612010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
362
363 * makefile.dos: Obsolete file removed.
364
4d9e8446
RW
3652010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
366
367 * aclocal.m4: Regenerate.
368
19222959
DK
3692010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
370
371 PR libobjc/30445
372 * configure.ac (extra_ldflags_libobjc): Define appropriately for
373 Cygwin and MinGW hosts.
374 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
375 (libobjc.dll): Likewise.
376 * configure: Regenerate.
377
43e02a8a
RW
3782009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
379
380 * configure: Regenerate.
381
288d6a77
JJ
3822009-11-28 Jakub Jelinek <jakub@redhat.com>
383
384 * sarray.c (sarray_free): Use old_buckets variable.
385 * encoding.c (objc_layout_structure_next_member): Remove unused
386 bfld_type_size variable.
387
df58e648
RW
3882009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
389
390 * configure.ac (AC_PREREQ): Bump to 2.64.
391
5213506e
RW
3922009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
393
394 * aclocal.m4: Regenerate.
395 * configure: Regenerate.
396 * config.h.in: Regenerate.
397
84fec8a5
RW
3982009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
399
400 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
401
6efbd53f
RW
4022009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
403
404 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
405 New variables.
406 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
407
1b3b24c2
RW
4082009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
409
410 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
411
748086b7
JJ
4122009-04-09 Nick Clifton <nickc@redhat.com>
413
414 * sendmsg.c: Change copyright header to refer to version 3 of
415 the GNU General Public License with version 3.1 of the GCC
416 Runtime Library Exception and to point readers at the COPYING3
417 and COPYING3.RUNTIME files and the FSF's license web page.
418 * NXConstStr.m: Likewise.
419 * Object.m: Likewise.
420 * Protocol.m: Likewise.
421 * archive.c: Likewise.
422 * class.c: Likewise.
423 * encoding.c: Likewise.
424 * exception.c: Likewise.
425 * gc.c: Likewise.
426 * hash.c: Likewise.
427 * init.c: Likewise.
428 * libobjc_entry.c: Likewise.
429 * linking.m: Likewise.
430 * misc.c: Likewise.
431 * nil_method.c: Likewise.
432 * objc/NXConstStr.h: Likewise.
433 * objc/Object.h: Likewise.
434 * objc/Protocol.h: Likewise.
435 * objc/encoding.h: Likewise.
436 * objc/hash.h: Likewise.
437 * objc/objc-api.h: Likewise.
438 * objc/objc-decls.h: Likewise.
439 * objc/objc-list.h: Likewise.
440 * objc/objc.h: Likewise.
441 * objc/runtime.h: Likewise.
442 * objc/sarray.h: Likewise.
443 * objc/thr.h: Likewise.
444 * objc/typedstream.h: Likewise.
445 * objects.c: Likewise.
446 * sarray.c: Likewise.
447 * selector.c: Likewise.
448 * thr-dce.c: Likewise.
449 * thr-decosf1.c: Likewise.
450 * thr-irix.c: Likewise.
451 * thr-mach.c: Likewise.
452 * thr-objc.c: Likewise.
453 * thr-os2.c: Likewise.
454 * thr-posix.c: Likewise.
455 * thr-pthreads.c: Likewise.
456 * thr-rtems.c: Likewise.
457 * thr-single.c: Likewise.
458 * thr-solaris.c: Likewise.
459 * thr-vxworks.c: Likewise.
460 * thr-win32.c: Likewise.
461 * thr.c: Likewise.
462 * libobjc.def: Change copyright header to refer to version 3 of
463 the GNU General Public License and to point readers at the COPYING3
464 file and the FSF's license web page.
465 * makefile.dos: Likewise.
466
4672009-04-09 Jakub Jelinek <jakub@redhat.com>
468
469 * Makefile.in: Change copyright header to refer to version
470 3 of the GNU General Public License and to point readers at the
471 COPYING3 file and the FSF's license web page.
472 * configure.ac: Likewise.
473
faef499b
DA
4742009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
475 David Ayers <ayers@fsfe.org>
476
477 PR libobjc/27466
478 * objc/objc-api.h (_objc_unexpected_exception): Declare
479 new hook. Update copyright dates.
480 * exception.c (objc_exception_throw): Use hook. Update
481 copyright dates.
482 * libobjc.def (_objc_unexpected_exception): Export hook.
483 Update copyright dates.
484
7a9d3fe8
RW
4852009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
486
487 * configure: Regenerate.
488
baafc534
RW
4892008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
490
491 * configure: Regenerate.
492
b15b7ef8
KT
4932008-11-21 Kai Tietz <kai.tietz@onevision.com>
494
495 * Object.m (errno): Replaced by errno.h include.
496 (compare): Cast self to id to prevent warning on comparison.
497 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
498 already there.
499 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
500 * thr-win32.c (__objc_thread_detach): Remove type warning.
501 (__objc_thread_id): Likewise.
502 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
503 for noreturn.
504
467b2e9e
PG
5052008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
506 Steve Ellcey <sje@cup.hp.com>
507
508 * configure: Regenerate for new libtool.
509 * config.h.in: Regenerate for new libtool.
510
920d063d
MK
5112008-07-18 Matthias Klose <doko@ubuntu.com>
512
513 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
514
785fad0a
MK
5152008-07-18 Matthias Klose <doko@ubuntu.com>
516
517 * Makefile.in: Include ../boehm-gc/threads.mk.
518 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
519
a0ed5099
RW
5202008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
521
522 * Makefile.in (install-info): New stub target.
523
18c04407
RW
5242008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
525
526 * configure: Regenerate.
527
b01bd5fe
KT
5282008-06-14 Kai Tietz <kai.tietz@onevision.com>
529
530 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
531 if HAVE_GETIPINFO is not defined.
532
c24aadf3
KT
5332008-06-10 Kai Tietz <kai.tietz@onevision.com>
534
535 * Object.m (compare): Add type id.
536 * objc/Object.h: Likewise.
537 * archive.c (objc_read_class): Use size_t to extend version to be
538 size of pointer scalar width.
539 * sendmsg.c (rtx): Undefine it before redefinition.
540 (__objc_print_dtable_stats): Cast arguments to long as intended.
541
3f6383d3
JB
5422008-05-30 Julian Brown <julian@codesourcery.com>
543
544 * exception.c (__objc_exception_class): Initialise as constant
545 array for ARM EABI. Change macro to static const for non-ARM EABI.
546 (ObjcException): Add note about structure layout. Remove landingPad
547 and handlerSwitchValue for ARM EABI.
548 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
549 of function.
550 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
551 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
552 ARM EABI unwinding support.
553 (objc_exception_throw): Use memcpy to initialise exception class.
554
dd25a747
AM
5552008-05-25 Alan Modra <amodra@bigpond.net.au>
556
557 * encoding.c (strip_array_types): Rename from get_inner_array_type.
558 (rs6000_special_round_type_align): Update.
559
7afa92c5
JB
5602008-05-09 Julian Brown <julian@codesourcery.com>
561
562 * Makefile.in (LTLDFLAGS): New.
563 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
564
deb984e6
PB
5652008-04-18 Paolo Bonzini <bonzini@gnu.org>
566
567 PR bootstrap/35457
568 * aclocal.m4: Regenerate.
569 * configure: Regenerate.
570
e7ad4ca7
DE
5712008-01-24 David Edelsohn <edelsohn@gnu.org>
572
573 * configure: Regenerate.
574
2c888488
L
5752007-10-14 H.J. Lu <hongjiu.lu@intel.com>
576
577 * configure.ac: Don't run config-ml.in directly.
578 (multilib_arg): New.
579 * configure: Regenerated.
580
30cad60d
AP
5812007-08-06 Andrew Pinski <pinskia@gmail.com>
582
583 PR libobjc/30731
584 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
585 of _Unwind_Word for variables which are used in
586 read_uleb128/read_sleb128.
587 (PERSONALITY_FUNCTION): Likewise.
588
12a27363
L
5892007-07-05 H.J. Lu <hongjiu.lu@intel.com>
590
591 * aclocal.m4: Regenerated.
592
af333b9a
AP
5932007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
594
595 * configure.ac: Fix a typo in *-*-darwin clause.
596 * configure: Regenerated.
597
4620d81e
L
5982007-06-02 H.J. Lu <hongjiu.lu@intel.com>
599
600 * configure.ac: Fix a typo.
601 * configure: Regenerated.
602
82a6cadf
PB
6032007-06-02 Paolo Bonzini <bonzini@gnu.org>
604
605 * configure: Regenerate.
606
45d5f86c
AP
6072007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
608
609 * Makefile.in: Replace all uses of libext with libsuffix.
610 * configure.ac: Likewise.
611 * configure: Regenerate.
612
613 Revert:
614 * Makefile.in: Remove all uses of $(libext).
615
8b5dda41
AP
6162007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
617
618 * Makefile.in: Remove all uses of $(libext).
619
1cf3d07d
SE
6202007-05-23 Steve Ellcey <sje@cup.hp.com>
621
622 * configure: Regenerate.
623 * aclocal.m4: Regenerate.
624
8972bcd8
AR
6252007-04-21 Andrew Ruder <andy@aeruder.net>
626
627 * sendmsg.c (__objc_get_forward_imp): Call
628 __objc_msg_forward2 for real.
629
80ae8e8a
AR
6302007-04-09 Andrew Ruder <andy@aeruder.net>
631
632 * sendmsg.c: Added __objc_msg_forward2, a hook that allows
633 external libraries to provide a function that returns the real
634 forwarding function based on both the selector and the receiver.
635 * objc/objc-api.h: Define __objc_msg_forward2.
636
38593123
BM
6372007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
638
639 * Makefile.in: Add dummy install-pdf target.
640
3034b453
MLI
6412007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
642
643 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
644 unused warning.
645
58182de3
GK
6462006-10-31 Geoffrey Keating <geoffk@apple.com>
647
648 * encoding.c (darwin_rs6000_special_round_type_align): New.
649
5b043f08
GK
6502006-10-14 Geoffrey Keating <geoffk@apple.com>
651
652 * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
653 * configure.ac: Use multi.m4 from aclocal rather than custom
654 code. Use multi_basedir instead of toplevel_srcdir.
655 * aclocal.m4: Regenerate.
656 * configure: Regenerate.
657
b5422ad7
BM
6582006-10-10 Brooks Moses <bmoses@stanford.edu>
659
660 * Makefile.in: Added empty "pdf" target.
661
57255173
PB
6622006-07-18 Paolo Bonzini <bonzini@gnu.org>
663
91ba215a 664 * configure: Regenerate.
57255173 665
2788992b
CD
6662006-05-23 Carlos O'Donell <carlos@codesourcery.com>
667
668 * Makefile.in: Add install-html target. Add install-html to .PHONY
669
529490b4
RO
6702006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
671
672 PR libobjc/26309
673 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
674
801a91f9
DA
6752006-01-24 David Ayers <d.ayers@inode.at>
676
677 PR libobjc/9751
678 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
679 and insure the new strings are '\0' termintated.
680
8c3e5222
DA
6812006-01-24 David Ayers <d.ayers@inode.at>
682
683 PR libobjc/13946
684 * configure.ac: Add include directives for --enable-objc-gc.
685 * Makefile.in: Ditto.
686 * configure: Regenerate.
687
688 * gc.c (__objc_class_structure_encoding): Increment the used bytes
689 instead of the local pointer to them.
690
06b11455
AP
6912005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
692
693 PR objc/25360
91ba215a
AP
694 * objc/objc-api.c (_C_COMPLEX): New define.
695 * encoding.c (objc_sizeof_type): Handle _C_Complex.
696 (objc_alignof_type): Likewise.
697 (objc_skip_typespec): Likewise.
06b11455 698
bf5b295c
DA
6992005-12-15 David Ayers <d.ayers@inode.at>
700
701 PR libobjc/14382
702 * README (+load,+initialize): Fix documentation to reflect
703 intended and implemented semantics for +load and +initialize.
704
761c0d29
AP
7052005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
706
707 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
708 the name.
709 (get_inner_array_type): Fix to skip over _C_ARY_B and size.
710 (rs6000_special_round_type_align): Update for the ABI fix.
711 (objc_layout_finish_structure): Correct the encoding which is passed to
712 ROUND_TYPE_ALIGN.
713
4540a3ad
AP
7142005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
715
716 PR libobjc/25347
717 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
718 but use the struct layout functions.
719 (objc_alignof_type): Likewise.
720 (objc_layout_structure): Handle _C_UNION_B also.
721 (objc_layout_structure_next_member): Likewise.
722 (objc_layout_finish_structure): Likewise.
723
153b4898
AP
7242005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
725
726 PR libobjc/25346
727 * objc/objc-api.h (_C_BOOL): New define.
728 * encoding.c (objc_sizeof_type): Handle _C_BOOL.
729 (objc_alignof_type): Likewise.
730 (objc_skip_typespec): Likewise.
731
84700346
DA
7322005-11-20 David Ayers <d.ayers@inode.at>
733
734 PR libobjc/19024
735 * objc/hash.h: Remove deprecated hash API.
736 * hash_compat.c: Remove.
737 * Makefile.in: Remove reference to hash_compat.c.
738
739 * configure.ac (VERSION): Bump library version to 2:0:0.
740 * configure: Regenerate.
741
7ef67393
AO
7422005-11-09 Alexandre Oliva <aoliva@redhat.com>
743
744 PR other/4372
745 * thr-objc.c (_XOPEN_SOURCE): Define.
746
b7add506
UW
7472005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
748
749 PR libobjc/23612
750 * objc/objc-api.h (struct objc_ivar): Move definition to
751 global scope.
752
ca59f04b
AP
7532005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
754 Rasmus Hahn <rassahah@neofonie.de>
755
756 PR libobjc/23108
757 * archive.c (objc_write_type): Correct the element offset.
758 (objc_read_type): Likewise.
759
f9d09c43
KC
7602005-08-17 Kelley Cook <kcook@gcc.gnu.org>
761
762 * All files: Update FSF address.
763
ee1658f3
MK
7642005-08-13 Marcin Koziej <creep@desk.pl>
765 Andrew Pinski <pinskia@physics.uc.edu>
766
767 PR libobjc/22492
768 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
769
a5a813f8
AP
7702005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
771
772 * Makefile.in (extra_ldflags_libobjc): New.
773 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
774 (libobjc_gc$(libext).la): Likewise.
775 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
776 "-Wl,-single_module".
777 * configure: Regenerate.
778 * linking.m (_objcInit): Remove.
779
84fd360d
AP
7802005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
781
782 PR libobjc/22606
783 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
784
cf223603
DA
7852005-06-08 David Ayers <d.ayers@inode.at>
786
787 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
788 objc/encoding.h, objc/hash.h, objc/objc-api.h,
789 objc/runtime.h, objc/sarray.h, objc/thr.h,
790 objc/typedstream.h: Do not include Objective-C headers as
791 system headers.
792
348a3445
DA
7932005-06-07 David Ayers <d.ayers@inode.at>
794
795 * archive.c, init.c, selector.c: Include hash.h.
796 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
797 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
798 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
799 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
800 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
801 Include Objective-C headers with quotes and objc/ directory
802 prefix.
803
4419e343
RH
8042005-05-19 Richard Henderson <rth@redhat.com>
805
806 * exception.c: Revert last change.
807
2e8a88f0
DA
8082005-05-19 David Ayers <d.ayers@inode.at>
809
810 * exception.c: Include tsystem.h for unwind.h.
811
f4c767fd
MS
8122005-05-09 Mike Stump <mrs@apple.com>
813
814 * configure: Regenerate.
815
6dab073b
MS
8162005-04-12 Mike Stump <mrs@apple.com>
817
818 * configure: Regenerate.
819
2b37e3d5
ZW
8202005-03-21 Zack Weinberg <zack@codesourcery.com>
821
822 * Makefile.in: Set gcc_version here.
823 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
824 in definition of toolexeclibdir so that $(gcc_version) is expanded
825 by the Makefile.
826 * aclocal.m4, configure: Regenerate.
827
e59ef543
DA
8282005-03-03 David Ayers <d.ayers@inode.at>
829
830 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
831 version reference. Correct typo.
832
270a1283
DA
8332005-03-02 David Ayers <d.ayers@inode.at>
834
835 PR libobjc/19024
836 * Makefile.in (OBJS): Add hash_compat.lo.
837 (OBJS_GC): Add hash_compat_gc.lo.
838 (hash_compat_gc.lo): New target and rule.
839 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
840 (hash_next, hash_value_for_key, hash_is_key_in_hash)
841 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
842 with objc_. Add deprecated non prefixed inlined versions.
843 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
844 declarations.
845 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
846 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
847 update callers.
848 * hash_compat.c: New file.
849 * archive.c: Update callers.
850 * init.c: Likewise.
851 * selector.c: Likewise.
852 * libobjc.def: Add objc_ versions of hash functions.
853
6886e18e
AP
8542005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
855
856 PR libobjc/20252
857 * Makefile.in (GTHREAD_FLAGS): Remove.
858 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
859 * thr-objc.c: Include config.h.
860 * configure.ac: Instead of looking at GCC's makefile, figure out if
861 GTHREAD_FLAGS should be defined by looking at the `thread model'
862 of the current gcc.
863 * configure: Regenerate.
864 * config.h.in: Regenerate.
865
215c351a
PB
8662005-02-28 Paolo Bonzini <bonzini@gnu.org>
867
868 PR bootstrap/17383
869 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
870 (Determine CFLAGS for gthread): Use $host_subdir.
871 * configure: Regenerate.
872 * Makefile.in (host_subdir): New.
873 (INCLUDES): Use it.
874
63b6f9ea
AP
8752004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
876
877 PR libobjc/12035
878 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
def9360c
AP
879 they are not used.
880 Include limits.h and stdlib.h.
881 Define BITS_PER_WORD.
63b6f9ea 882
64cbe55e
AM
8832004-12-12 Alexander Malmberg <alexander@malmberg.org>
884
885 * selector.c (__objc_init_selector_tables): Add missing void to
886 definition.
887
afabd8e6
RS
8882004-12-02 Richard Sandiford <rsandifo@redhat.com>
889
890 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
891 * configure, aclocal.m4: Regenerate.
892
2539bffe
KC
8932004-11-29 Kelley Cook <kcook@gcc.gnu.org>
894
895 * configure: Regenerate for libtool change.
896
767f726e
KC
8972004-11-25 Kelley Cook <kcook@gcc.gnu.org>
898
899 * configure: Regenerate for libtool reversion.
900
2c92e90f
KC
9012004-11-24 Kelley Cook <kcook@gcc.gnu.org>
902
903 * configure: Regenerate for libtool change.
904
2fc30700
KC
9052004-11-24 Kelley Cook <kcook@gcc.gnu.org>
906
907 * aclocal.m4, config.h.in: Regenerate.
908
dd365157 9092004-10-08 Mike Stump <mrs@apple.com>
2b37e3d5 910 Andrew Pinski <pinskia@physics.uc.edu>
dd365157
MS
911
912 * aclocal.m4: Rename to ...
913 * acinclude.m4: here and also use m4_include instead of sinclude.
914 * aclocal.m4: Regenerate.
915 * configure: Regenerate.
916 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
5a59530d 917 * Makefile.in (configure): Add @MAINT@ infront of configure.ac
dd365157 918
8d488306
AP
9192004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
920
921 * archive.c: Fix all the warnings about passing unsigned char*
922 to char* and the other way too.
923
049bc404
AP
9242004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
925
926 PR libobjc/16448
927 * exception.c: Include config.h
928 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
929 SJLJ_EXCEPTIONS.
930 * configure.ac: Find out what exception handling code we use.
931 * configure: Regenerate.
932 * config.h.in: New file, regenerate.
933
45f17969
AP
9342004-09-16 Andrew Pinski <apinski@apple.com>
935
936 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
937
1506eac1
NN
9382004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
939
940 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
941 ACX_NONCANONICAL_TARGET.
942 * configure: Regenerate.
943
f13bb199
ZL
9442004-08-13 Ziemowit Laski <zlaski@apple.com>
945
946 * objc/sarray.h: Hoist include of assert.h near the top of file,
947 and mark the remainder of the file 'extern "C"'.
948
9567d415
AP
9492004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
950
951 * objc/Object.h: Move includes out of extern "C" blocks.
952 * objc/encoding.h: Likewise.
953 * objc/hash.h: Likewise.
954 * objc/objc-api.h: Likewise.
955 * objc/runtime.h: Likewise.
956 * objc/sarray.h: Likewise.
957 * objc/typedstream.h: Likewise.
958
1a6213c3
ZL
9592004-08-12 Ziemowit Laski <zlaski@apple.com>
960
961 * objc/NXConstStr.h: Update copyright date; bracket with
962 'extern "C"' for C++ use; make include syntax consistent
963 by using <...> instead of "..."; hoist <objc/...> includes
964 above the 'extern "C"' block.
965 * objc/Object.h: Likewise.
966 * objc/Protocol.h: Likewise.
967 * objc/encoding.h: Likewise.
968 * objc/hash.h: Likewise.
969 * objc/runtime.h: Likewise.
970 * objc/sarray.h: Likewise.
971 * objc/thr.h: Likewise.
972 * objc/typedstream.h: Likewise.
973 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
974 (objc_static_instances): For C++ case, do away with
975 zero-sized array.
976 (objc_method): Hoist definition to file scope.
977 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
2b37e3d5 978 class_get_instance_method, class_create_instance,
1a6213c3
ZL
979 class_get_class_name, class_get_instance_size,
980 class_get_meta_class, class_get_super_class, class_get_version,
981 class_is_class, class_is_meta_class, class_set_version,
982 class_get_gc_object_type, class_ivar_set_gcinvisible,
983 get_imp): Rename 'class' parameter to '_class'.
984 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
985 * objc/objc.h: Update copyright date.
986 (arglist_t): Provide a union tag.
987
bc012a44
AP
9882004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
989
990 * thr.c (__objc_thread_detach_function): Do not mark as volatile
991 but instead use the attribute noreturn.
992
0cf61401
ZW
9932004-06-28 Zack Weinberg <zack@codesourcery.com>
994
995 * encoding.c: Rename target_flags with a #define to avoid
996 conflict with a prior declaration.
997
6f0aa5e1
AP
9982004-06-24 Andrew Pinski <apinski@apple.com>
999
1000 * objc/encoding.h: Wrap the functions with extern "C" for C++
0cf61401 1001 mode.
6f0aa5e1
AP
1002 * objc/hash.h: Likewise.
1003 * objc/objc-api.h: Likewise.
1004 * objc/objc-list.h: Likewise.
1005 * objc/runtime.h: Likewise.
1006 * objc/sarray.h: Likewise.
1007 * objc/thr.h: Likewise.
1008 * objc/typedstream.h: Likewise.
1009
1010
e7ebc32a
NC
10112004-06-21 Nick Clifton <nickc@redhat.com>
1012
1013 * encoding.c (BITS_PER_UNIT): Define if a definition is not
1014 provided.
1015
5520b936
AM
10162004-06-20 Alexander Malmberg <alexander@malmberg.org>
1017
0cf61401
ZW
1018 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
1019 (exception_gc.lo): New.
1020 (OBJS_GC): Add exception_gc.lo.
1021
a776161b
RH
10222004-06-17 Richard Henderson <rth@redhat.com>
1023
1024 * exception.c: New file.
1025 * Makefile.in (exception.lo): New.
1026 (OBJS): Add it.
1027
da727eab
AP
10282004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
1029
1030 * linking.m (_objcInit): New empty function
1031 for Darwin only.
1032
3f35ff6f
AP
10332004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
1034
684c64bf
AP
1035 * configure.ac: Support --enable-shared=libobjc.
1036 * configure: Regenerate.
1037
3f35ff6f
AP
1038 PR libobjc/15901
1039 * configure.ac: Do not disable shared by default.
1040 * configure: Regenerate.
1041
1600b7d6
NP
10422004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
1043
1044 * Protocol.m ([-isEqual:]): Small optimizations returning
1045 immediately if the argument is equal to self, and accessing
1046 the argument's name directly if it's a protocol.
1047
10482004-06-03 David Ayers <d.ayers@inode.at>
1049
1050 * Protocol.m ([-isEqual:]): Test the class of the argument.
1051
ff65de76
AP
10522004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1053
7d34a5a9
AP
1054 * configure.ac (includedir): Rename to ...
1055 (includedirname).
1056 * Makefile.in: s/includedir/includedirname/.
1057
ff65de76
AP
1058 PR target/11572
1059 * configure.ac (includedir): Set to "include"
1060 except for Darwin.
1061 (libext) Set to empty except for Darwin.
1062 * configure: Regenerate
1063 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
1064 s/include/$(includedir)/g.
1065
54b2f310
DJ
10662004-05-25 Daniel Jacobowitz <drow@false.org>
1067
1068 * Makefile.in: Add .NOEXPORT.
1069
435317e2
AP
10702004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1071
1072 Merge from the libobjc-branch
1073 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 1074
435317e2 1075 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
0cf61401 1076
435317e2 1077 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 1078
435317e2 1079 * Makefile.in (OBJC_H): Add objc-deps.h.
0cf61401 1080
435317e2 1081 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
0cf61401 1082
435317e2
AP
1083 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
1084 ([-hash], [-isEqual:]): New methods.
0cf61401 1085
435317e2 1086 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
0cf61401 1087
435317e2 1088 * sarray.c (sarray_free): Add a better comment.
0cf61401 1089
435317e2 1090 2004-01-27 Adam Fedor <fedor@gnu.org>
0cf61401 1091
435317e2
AP
1092 * hash.c (hash_add): Cast cachep to int.
1093 * selector.c (__sel_register_typed_name): Cast
1094 soffset_decode to int.
0cf61401 1095
435317e2 1096 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
0cf61401 1097
435317e2
AP
1098 * selector.c: Rename register_selectors_from_list to
1099 __objc_register_selectors_from_list. Update caller.
1100 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
1101 while registering selectors. Use __sel_register_typed_name instead
1102 of sel_register_typed_name. Check for NULL method_name:s.
1103 (pool_alloc_selector): New function.
1104 (__sel_register_typed_name): Use pool_alloc_selector to allocate
1105 selector structures.
1106 * sendmsg.c (class_add_method_list): Use
1107 __objc_register_selectors_from_list.
1108 * objc/runtime.h: Add __objc_register_selectors_from_list.
0cf61401 1109
435317e2 1110 2004-01-25 Adam Fedor <fedor@gnu.org>
0cf61401
ZW
1111 Nicola Pero <n.pero@mi.flashnet.it>
1112 Andrew Pinski <pinskia@physics.uc.edu>
1113
435317e2
AP
1114 * objc/objc-decls.h: New file.
1115 * objc/objc-api.h (_objc_lookup_class): Mark as export.
1116 (_objc_load_callback): Likewise.
1117 (_objc_object_alloc): Likewise.
1118 (_objc_object_copy): Likewise.
1119 (_objc_object_dispose): Likewise.
0cf61401 1120
435317e2 1121 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
0cf61401 1122
435317e2 1123 * archive.c: s/__inline__/inline
0cf61401
ZW
1124 * sendmsg.c: Likewise.
1125
435317e2
AP
1126 * encoding.c: Remove FIXME about the warning
1127 about unused variable.
1128 * sendmsg.c: Add a FIXME comment saying that
1129 this should be using libffi.
0cf61401 1130
435317e2 1131 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
0cf61401 1132
435317e2 1133
755bddc8
AP
11342004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
1135
1136 * archive.c (objc_read_class): Initialize class_name.
1137 (objc_read_selector): Initialize selector_name.
1138
eb01299a
RS
11392004-05-09 Richard Sandiford <rsandifo@redhat.com>
1140
1141 * Makefile.in (toolexecdir): Remove trailing space.
1142
db7f3c69
NN
11432004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
1144
1145 PR libobjc/14948
1146 * configure.ac: De-precious CC so multilibs work.
1147 * configure: Regenerate.
1148
a42a57cb
NN
11492004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
1150
1151 * configure.ac: Restore toolexecdir.
1152 * Makefile.in: Restore toolexecdir.
1153 * configure: Regenerate.
1154
9c01f395
NN
11552004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
1156
d770b996
NN
1157 * configure.ac: Remove (unused) glibcpp_prefixdir.
1158 * configure: Regenerate.
1159
3adc31d1
NN
1160 * configure.in: Rename to configure.ac.
1161 * Makefile.in: Update to match.
1162
608e1e0c
NN
1163 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
1164 Replace glibcpp_toolexeclibdir with toolexeclibdir.
1165 * configure.in: Remove glibcpp_toolexecdir (unused).
1166 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
1167 config.h or stamp-h (unused). Move one comment to the right place.
1168 * configure: Regenerate.
1169 * config.h.in: Remove (unused).
1170
88b16960
NN
1171 * config.h.in: Regenerate with autoheader.
1172
af0c82b3
NN
1173 * Makefile.in: Remove (unused) gcc_version_trigger.
1174 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
1175 gcc_version_trigger.
1176 * configure: Regenerate.
1177
252dde64
NN
1178 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
1179 Sort file into sections. Remove dnl where appropriate. Fix
1180 other style issues.
1181 * configure: Regenerate.
1182
88386050
NN
1183 * configure.in: Replace old AC_PROG_CC hack with new one.
1184 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
1185 are no subdirectory output files, so this is fine). Change prereq
1186 to autoconf 2.59.
1187 * aclocal.m4: Include ../config/no-executables.m4.
1188 * configure: Regenerate with autoconf 2.59.
1189
b43e7294
NN
1190 * configure.in: Improve comments on gthread_cflags. Improve m4
1191 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
1192 * configure: Regenerate.
1193
1fcfac98
NN
1194 * configure.in: Move PACKAGE and VERSION settings up top. Remove
1195 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
1196 redundant checks for values of RANLIB, AR, INSTALL.
1197 * configure: Regenerate.
1198
9c01f395
NN
1199 * configure.in: Clean up handling of
1200 --enable-version-specific-runtime-libs and related variables;
1201 replace 'if test' with 'case' where reasonable. Fix comments.
1202 Remove useless libstdcxx_interface.
1203 * configure: Regenerate.
1204
1205 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
1206 Replace uses of target_alias with target_noncanonical.
1207 * aclocal.m4: Include ../config/acx.m4.
1208 * configure: Regenerate.
1209 * Makefile.in: Replace uses of target_alias with target_noncanonical.
1210 Fix copyright statement.
1211
1212 * configure.in: Hand-inline bulky, confusing macros from
1213 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
1214 Update copyright notice. Remove stuff for automake, which isn't
1215 used in this directory. Remove emacs local variables.
1216 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
1217 * configure: Regenerate.
1218
1adc3fec
MH
12192004-03-16 Manfred Hollstein <mh@suse.com>
1220
1221 * Makefile.in, configure.in, configure: Update copyright years.
1222
68a1af87
MH
12232004-03-15 Manfred Hollstein <mh@suse.com>
1224
1225 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
1226 definition from configure.in.
1227 * configure.in (PACKAGE): Add definition.
1228 (VERSION): Add definition; substitute it in output files.
1229 * configure: Re-generate.
1230
d5e63fce
ZL
12312004-03-05 Ziemowit Laski <zlaski@apple.com>
1232
1233 * objc/hash.h (hash_string, compare_strings):
1234 Add type-casts to make Objective-C++ happy.
1235 * objc/typedstream.h (objc_get_stream_class_version):
1236 Rename parameter from 'class' to 'class_name' to make
1237 Objective-C++ happy.
1238
8f8cdf33
MM
12392004-03-01 Michael Matz <matz@suse.de>
1240
1241 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
1242
25fe8680
ZL
12432004-02-06 Ziemowit Laski <zlaski@apple.com>
1244
1245 * objc/objc-api.h (objc_super): The 'class' field shall
1246 be named 'super_class' #ifdef __cplusplus.
1247
95727fb8
AP
12482004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
1249
1250 PR target/10781
1251 * encoding.c (rs6000_special_round_type_align): Define.
1252
5af0e6ae
AF
12532004-01-14 Adam Fedor <fedor@gnu.org>
1254
1255 PR libobjc/12155
1256 * selector.c (__objc_register_instance_methods_to_class): Free
1257 new_list if not used.
1258
b39f1868
AR
12592004-01-09 Andrew Ruder <aeruder@ksu.edu>
1260
1261 PR libobjc/11904
1262 * sarray.c (sarray_free): Free array->is_copy_of latter.
1263
75d3baee
ZW
12642003-12-01 Zack Weinberg <zack@codesourcery.com>
1265
1266 PR 11433
1267 * Protocol.m (descriptionForInstanceMethod): Don't dereference
1268 instance_methods if it's NULL.
1269 (descriptionForClassMethod): Likewise for class_methods.
1270
7989e4dc
RO
12712003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1272
1273 * Makefile.in (runtime-info.h): Remove -Wp.
1274
54b98a47
RO
12752003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1276
1277 * Makefile.in (CC1OBJ): Remove.
1278 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
1279 correctly.
1280 Use .m extension for temporary file.
1281 Remove assembler temp file.
1282
beca20d2
JM
12832003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
1284
1285 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
1286
05dcec66
RO
12872003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1288
1289 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
1290
e517f636
AM
12912003-09-09 Alan Modra <amodra@bigpond.net.au>
1292
1293 * configure: Regenerate.
1294
45dff86e
AM
12952003-08-27 Alexander Malmberg <alexander@malmberg.org>
1296
1297 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
1298 (libdir)/gcc-lib/ when installing.
1299 * configure: Regenerate.
1300
c19f8e35
NP
1301Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
1302
1303 libobjc/9969
1304 * sendmsg.c (get_imp): Fixed rare threading problem.
1305 (__objc_responds_to): Similar fixes.
1306 (objc_msg_lookup): Similar fixes.
1307 (__objc_init_install_dtable): Lock the runtime before checking if the
1308 table is installed.
75d3baee 1309
6c82ad25
NN
13102003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
1311
38709cad
NN
1312 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
1313 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
1314 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
1315 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
75d3baee 1316 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
38709cad 1317 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
6c82ad25
NN
1318 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
1319 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
1320 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
1321 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
1322 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
1323
e083f3f9 1324Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
75d3baee 1325 Nicola Pero <n.pero@mi.flashnet.it>
e083f3f9
RFM
1326
1327 libobjc/10742
1328 * init.c (class_superclass_of_class): New function.
1329 (create_tree_of_subclasses_inherited_from): Use it.
1330 (__objc_tree_insert_class): Likewise.
1331 (class_is_subclass_of_class): Likewise.
75d3baee 1332
0b87e18e
DC
13332003-04-11 David Chad <davidc@freebsd.org>
1334 Loren J. Rittle <ljrittle@acm.org>
1335
1336 libobjc/8562
1337 * objc/hash.h (hash_string): Constify correctly.
1338 (compare_ptrs): Use direct compare.
1339 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
1340 * objc/sarray.h: Global rename index to indx to avoid shadow.
1341
ff8b9ca8
AS
13422003-03-12 Andreas Schwab <schwab@suse.de>
1343
1344 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1345 glibcpp_toolexeclibdir.
1346 * configure: Rebuilt.
1347
3343fdd2
AO
13482003-02-20 Alexandre Oliva <aoliva@redhat.com>
1349
1350 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1351 config.status.
1352 * configure: Rebuilt.
1353
c5e3e1ed
AO
13542003-01-27 Alexandre Oliva <aoliva@redhat.com>
1355
1356 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
1357 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1358 version_specific_libs is enabled.
1359 * configure: Rebuilt.
1360
90e5b39f
CC
13612003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1362
1363 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1364 (install-libs, install-headers): Prepend $(DESTDIR) to
1365 destination paths in all (un)installation commands.
1366
4977bab6
ZW
13672002-12-02 Zack Weinberg <zack@codesourcery.com>
1368
1369 * thr-objc.c: Include coretypes.h and tm.h.
1370
13712002-12-01 Zack Weinberg <zack@codesourcery.com>
1372
1373 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
1374
13752002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
1376
1377 * configure.in: Remove skip-this-dir support.
1378 * configure: Regenerate.
1379
6c5d742e
KG
13802002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1381
1382 * Makefile.in (all): Fix multilib parallel build.
1383
c2a68741
NP
1384Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
1385
1386 * sendmsg.c (nil_method): Declare not to take a variable number of
1387 args.
1388 (objc_msg_lookup): Cast nil_method to IMP before returning it.
1389 (objc_msg_lookup_super): The same.
1390
edf4d41e
JH
13912002-09-10 Jan Hubicka <jh@suse.cz>
1392
65a8189e
AJ
1393 * nil_method.c (nil_method): No longer defined with variable
1394 arguments.
edf4d41e 1395
40165636
RB
13962002-07-02 Rodney Brown <rbrown64@csc.com.au>
1397
1398 * objc/encoding.h: Fix formatting.
1399 * objc/hash.h: Likewise.
1400 * objc/objc-api.h: Likewise.
1401 * objc/runtime.h: Likewise.
1402 * objc/thr.h: Likewise.
1403 * archive.c: Likewise.
1404 * class.c: Likewise.
1405 * encoding.c: Likewise.
1406 * gc.c: Likewise.
1407 * hash.c: Likewise.
1408 * init.c: Likewise.
1409 * misc.c: Likewise.
1410 * nil_method.c: Likewise.
1411 * objects.c: Likewise.
1412 * sarray.c: Likewise.
1413 * selector.c: Likewise.
1414 * sendmsg.c: Likewise.
1415 * thr-mach.c: Likewise.
1416 * thr.c: Likewise.
1417
aebb8c22
DD
14182002-06-25 DJ Delorie <dj@redhat.com>
1419
1420 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
1421 GLIBCPP_TOPREL_CONFIGURE.
1422 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1423 * configure: Regenerate.
1424
b62cc13a
KG
14252002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1426
1427 * Object.m (forward, read, write): Fix unused parameter warnings.
1428 * encoding.c: Include <stdlib.h>.
1429 (target_flags): Mark with attribute unused.
1430 (atoi): Delete.
1431 * runtime.h (__objc_selector_max_index): Change to unsigned int.
1432 (__objc_generate_gc_type_description): Prototype.
1433 * selector.c (__objc_selector_max_index): Change to unsigned int.
1434
10cb24df
NP
1435Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
1436
1437 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
1438 we always have a return value: if __objc_msg_forward does not
1439 supply a forwarding implementation, return the default
1440 __builtin_apply based one.
1441
8f8c44cb
KG
14422002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1443
1444 * Object.m: Fix signed/unsigned warning.
1445 * Protocol.m: Likewise.
1446 * archive.c: Always include stdlib.h.
1447 (objc_read_short, objc_read_unsigned_short, objc_read_int,
1448 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
1449 Fix signed/unsigned warning.
1450 (objc_write_type, objc_read_type, objc_write_types,
1451 objc_read_types): Ensure ctype 8-bit safety.
1452 (__objc_no_write, __objc_no_read): Mark unused parameters.
1453 * class.c (class_table_setup): Specify void arg.
1454 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
1455 objc_skip_typespec, objc_skip_offset,
1456 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
1457 (objc_layout_structure_next_member): Ensure variables are
1458 initialized.
1459 * gc.c (__objc_generate_gc_type_description,
1460 class_ivar_set_gcinvisible): Mark unused parameters.
1461 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
1462 unused parameters.
1463 (__objc_init_protocols) Fix signed/unsigned warning.
1464 * nil_method.c (nil_method): Mark unused parameters.
1465 * thr.h (objc_thread_callback): Specify void arg.
1466 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
1467 signed/unsigned warning.
1468 (sarray_free): Fix formatting.
1469 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
1470 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
1471
42bac116
AJ
14722002-06-09 Andreas Jaeger <aj@suse.de>
1473
1474 * encoding.c (objc_layout_structure_next_member): Remove unused
1475 variable.
1476
9aa338ec
KG
14772002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1478
1479 * Makefile.in (SHELL): Set to @SHELL@.
1480 (WARN_CFLAGS): New.
1481 (ALL_CFLAGS): Add $(WARN_CFLAGS).
1482
1e6347d8
RO
14832002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1484
1485 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
1486 * configure: Regenerate.
1487
6706f116
AO
14882002-05-08 Alexandre Oliva <aoliva@redhat.com>
1489
1490 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1491 script entry, and set LD to it when configuring multilibs.
1492 * configure: Rebuilt.
1493
d0d091ae
DB
14942002-04-19 David O'Brien <obrien@FreeBSD.org>
1495
1496 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
1497
ed426a38 14982002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
0bd9dd55
HPN
1499
1500 PR objc/6107
1501 * objc/objc-api.h (struct objc_protocol_list): Change type of
1502 member count from int to size_t.
1503
b150efee
FS
15042002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1505
1506 PR libobjc/4039
1507 * aclocal.m4: Replace with version copied from libstdc++-v3.
1508 * configure.in: Update for changes to aclocal and Makefile.
1509 * configure: Regenerate.
1510 * Makefile.in: Correct install of multilibs and shared libs, use
1511 INSTALL_DATA for include files.
1512
e5e0f6f5
NP
1513Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
1514
1515 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
1516 categories - when an unclaimed category was found, the loop was
1517 doing two steps forward instead of one, so that in certain cases
1518 it was failing to properly load all the categories. (Reported
1519 with fix by Alexander Malmberg <alexander@malmberg.org>).
1520
d5114db1
AH
15212001-11-14 Aldy Hernandez <aldyh@redhat.com>
1522
4977bab6 1523 * encoding.c: Add target_flags.
d5114db1 1524
f4fdaeda
AH
15252001-11-07 Aldy Hernandez <aldyh@redhat.com>
1526
1527 * objc/objc-api.h (_C_VECTOR): New.
1528
1529 * encoding.c (VECTOR_TYPE): New.
1530
26e51caa
NP
1531Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
1532
1533 * class.c: Rewritten the class table to use optimized, lock-free
4977bab6
ZW
1534 lookup. This more than doubles the speed of class method
1535 invocations. (class_table_setup), (class_table_insert),
1536 (class_table_replace), (class_table_get_safe),
1537 (class_table_next), (class_table_print),
1538 (class_table_print_histogram): New functions.
1539 (__objc_init_class_tables): Use class_table_setup.
1540 (__objc_add_class_to_hash): Use class_table_get_safe and
1541 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
1542 assert the existence of the table; do not lock the runtime; use
1543 class_table_get_safe. (objc_next_class): Use class_table_next.
1544 (__objc_resolve_class_links): Use class_table_next.
1545 (class_pose_as): Use class_table_replace.
26e51caa 1546
71a18acf
OP
15472001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
1548
1549 * gc.c: Removed the DEBUG declaration.
1550
5f1ecf82
NP
1551Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
1552
1553 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
1554 rather than through objc_thread_id, to save a function call.
1555 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
1556 Ditto.
1557
42d28de5
NP
1558Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
1559
1560 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
1561 to cast an id to a Class, which can not be done. Make the check
1562 by using CLS_ISMETA on the class pointer instead.
1563 (object_is_meta_class): Similar fix.
1564
4173be7f
AO
15652001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1566
1567 * configure.in (AC_EXEEXT): Work around in case it expands to
1568 nothing, as in autoconf 2.50.
1569 * acinclude.m4: Likewise.
1570 * configure: Rebuilt.
1571
27132e64
NP
15722001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
1573
1574 * THREADS: Explain that when we compile libobjc inside GCC, we
1575 always use thr-objc.c as a backend, which uses GCC's thread code.
1576
e6be21fe
RFM
15772001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
1578
1579 * init.c (__objc_send_message_in_list): When setting a new entry
1580 in __objc_load_methods use the method IMP as key, but check to see
1581 if the method is in the hashtable by looking at the IMP also.
1582 Also ... call the method after adding it to the hashtable rather
1583 than before ... thus preventing an obscure possibility of infinite
1584 recursion if a +load method itself loads a subclass.
1585
12e01066
OP
15862001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
1587
1588 * init.c (__objc_send_message_in_list): When setting a new entry
1589 in __objc_load_methods use the method name as key, not the method
1590 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
1591
10c179f3
JM
15922001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
1593
1594 * objc-features.texi: Move to ../gcc/objc.texi.
1595 * fdl.texi: Remove.
1596 * Makefile.in: Don't generate documentation from
1597 objc-features.texi.
1598
bcecb0b0
MM
15992001-05-01 Mark Mitchell <mark@codesourcery.com>
1600
1601 * fdl.texi: New file.
1602 * objc-features.texi: Simplify.
1603 * Makefile.in: Adjust accordingly.
1604
c3aac512
MM
16052001-04-30 Mark Mitchell <mark@codesourcery.com>
1606
1607 * objc-features.texi: Use the GFDL.
1608
49073def
JW
1609Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
1610
1611 * encoding.c (REAL_TYPE): Define.
1612
120d59bf
DE
16132001-03-19 David Edelsohn <edelsohn@gnu.org>
1614
1615 * encoding.c (TYPE_MODE): Define.
1616
b894530e
NP
16172001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
1618
1619 * thr.c (objc_thread_add): New function.
1620 (objc_thread_remove): Ditto.
1621 * objc/thr.h: Declare them.
1622 * libobjc.def: Mention them.
1623
11014a3b
OP
16242001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
1625
1626 * objc-features.texi: Document the @compatibility_alias compiler
1627 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
1628
a79ffa5a
RO
1629Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1630
1631 * sendmsg.c (__objc_forward): Delete strlen() declaration.
1632
7c6b0e92
GK
16332001-02-08 Geoffrey Keating <geoffk@redhat.com>
1634
1635 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
1636 we're not interested in the result and they might fail.
1637 * configure: Regenerated.
1638
01d9cb8b
JM
16392001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1640
1641 * objc-features.texi: Use @email.
1642
0fc39d8a
JM
16432001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
1644
1645 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
1646 printf.
1647
919ee051
RE
16482000-01-11 Richard Earnshaw <rearnsha@arm.com>
1649
1650 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
1651 determines the value dynamically.
1652
1104c18d
OP
1653Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
1654
1655 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
1656 libraries to provide a function that returns the real forwarding
1657 function. This can alleviate problems __builtin_apply() and
1658 friends have on various platforms. (Solution suggested by Helge
1659 Hess.)
42bac116 1660
1104c18d
OP
1661 * objc/objc-api.h: Define __objc_msg_forward.
1662
1663 * sendmsg.c: Define gen_rtx_REG.
1664
68c9c61a
RC
16652000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
1666
42bac116 1667 * thr-rtems.c: New file. Stub to compile.
68c9c61a 1668
6d93bca4
AO
16692000-09-06 Alexandre Oliva <aoliva@redhat.com>
1670
1671 * configure: Rebuilt with new libtool.m4.
1672
9d10fcf9
OP
1673Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1674
1675 * configure.in: Create a config.h file. Check for <sched.h>.
1676 * configure: Regenerate.
1677
1678 * config.h.in: Check for <sched.h>.
1679
57119aa9
ZW
16802000-08-14 Zack Weinberg <zack@wolery.cumb.org>
1681
1682 * configure: Regenerate after change to ../libtool.m4.
1683
b310e725
AS
16842000-08-14 Andreas Schwab <schwab@suse.de>
1685
1686 * objc-features.texi (Top): Move @menu at end of node.
1687
82fbe835
MH
16882000-08-11 Manfred Hollstein <manfredh@redhat.com>
1689
1690 * objc-features.texi: Move @node Top before @menu.
1691
b3dc253f
OP
1692Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1693
1694 * objc-features.texi: Documented the new -fconstant-string-class
1695 option.
1696
9bc3876e
OP
1697Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1698
1699 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
1700 improve the Posix thread support for Objective-C.
1701
8cab40f7
ZW
17022000-08-04 Zack Weinberg <zack@wolery.cumb.org>
1703
1704 * aclocal.m4: Replace copy of ../libtool.m4 with
1705 sinclude(../libtool.m4).
1706
c161c99b
NP
1707Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
1708
42bac116 1709 * configure.in: Added libtool support; build shared libraries
c161c99b
NP
1710 if --enable-shared was passed on command line.
1711 * Makefile.in: Modified most compilation commands to use libtool.
1712 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
1713 libtool distribution.
1714
9c14a607
OP
1715Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
1716
1717 * sarray.c, Object.m: Removed the explicit prototypes for strlen
1718 and memcpy on 64-bit platforms (Suggested by Rodney Brown
1719 <rdb@cup.hp.com>).
1720
15794a95
L
17212000-05-12 H.J. Lu (hjl@gnu.org)
1722
1723 * Makefile.in (GTHREAD_FLAGS): New.
1724 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
1725 (OBJC_THREAD_FILE): Changed to thr-objc.
1726
1727 * configure.in (GTHREAD_FLAGS): New, check and replace it for
1728 Makefile.
1729 (OBJC_THREAD_FILE): Removed.
1730
1731 * thr-objc.c: New.
1732
8dd8d754
KG
17332000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1734
1735 * objc/hash.h: Include string.h.
1736
39b48e02
DE
17372000-04-15 David Edelsohn <edelsohn@gnu.org>
1738
1739 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
1740
bcdb1106
JJ
17412000-04-12 Jakub Jelinek <jakub@redhat.com>
1742
1743 * Object.m (strlen): Provide prototype on all 64bit platforms,
1744 not only alpha.
1745 * sarray.c (memcpy): Likewise.
1746 * encoding.c (objc_layout_finish_structure): Don't use
1747 ROUND_TYPE_ALIGN on sparc.
1748
35f10998
JJ
1749 * encoding.c (objc_layout_structure_next_member): Do the whole
1750 procedure even for the first member, so that we get correct
1751 alignment.
1752
2e3120e8
ZW
17532000-03-29 Zack Weinberg <zack@wolery.cumb.org>
1754
1755 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
1756 comments.
1757
6fc605d8
ZW
17582000-02-23 Zack Weinberg <zack@wolery.cumb.org>
1759
1760 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
1761
224a6bca
CB
1762Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
1763
1764 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
1765
e36e6e02
JL
1766Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
1767
1768 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
1769 the compiler when building C code.
42bac116 1770
76632dd0
DJ
1771Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
1772
1773 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
1774 libdir, libsubdir and tooldir.
1775
6000b42b
JDA
1776Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
1777
1778 * init.c (__objc_force_linking): Make global.
1779
6de94858
JL
1780Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
1781
1782 * configure.in (AC_EXEEXT): Remove call.
1783 (compiler_name): Explicitly check with no extension and .exe
1784 extension.
1785 * configure: Regenerate.
1786
7af06410
MK
1787Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
1788
1789 * Makefile.in (CC1OBJ): Define in terms of CC.
1790 (runtime-info.h): Use.
1791
09608fa2
OP
1792Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1793
1794 * objc-features.texi: Updated the URL to Boehm's GC page.
1795
56d654e4
OP
1796Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
1797
1798 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
1799 the char as being signed (patch from Daniel Jacobowitz
1800 <drow@false.org>).
1801
e33abc2d
MK
1802Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
1803
1804 * configure.in (AC_PREREQ): Update to 2.13.
1805 (AC_EXEEXT): Call to find possible file extension.
1806 (compiler_name): Use.
1807 * configure: Regenerate.
1808
ab87f8c8
JL
1809Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
1810
1811 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
1812
79014e6f
JL
1813Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
1814
1815 * configure.in (thread_file): Correct and simplify code to find
1816 the thread file.
1817 * configure: Rebuilt.
1818
71205e0b
MH
18191998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
1820
1821 * configure.in (compiler_name): Add check to detect if this
1822 language's compiler has been built.
1823 * configure: Regenerate.
1824
223a8848
KG
1825Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1826
1827 * configure.in: Use AC_PREREQ(2.12.1).
1828
74285159
JL
1829Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
1830
1831 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
1832
84beab38
KG
1833Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1834
1835 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
1836
8a829fd9
KG
1837Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1838
1839 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
1840
befb6d14
OP
1841Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
1842
1843 * objc-features.texi (Top): Changed the email address.
1844 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
1845
1846Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
1847
1848 * encoding.c: Redefine get_inner_array_type to get the first entry
42bac116 1849 in the structure.
befb6d14 1850
1df287f8
RFM
1851Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
1852
1853 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
1854 (objc_get_type_qualifiers): Similarly.
1855 * objc/encoding.h (_C_BYREF): Define.
1856 (_F_BYREF): Define.
1857
07181a20
DM
18581998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
1859
1860 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
1861 works out on 64-bit systems.
1862
5e2f657b
AO
1863Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
1864
ceff9b14 1865 * Makefile.in (INCLUDES): Make it multilib-friendly.
5e2f657b 1866
4afb3646
L
1867Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
1868
1869 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
1870
4102f627
RL
1871Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
1872 Jeffrey A Law (law@cygnus.com)
1873
1874 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
1875 (FLAGS_TO_PASS): Added.
1876 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
1877
1878 * archive.c: Change config.h to tconfig.h.
1879
1880 * configure.in: Find gcc's object directory even for multilibs.
1881
1882Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
5ae4c799
RL
1883
1884 * configure.in: Escape ^ in grep string.
1885 * configure: Rebuilt.
1886
789eb4f5
JL
1887Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
1888
1889 * All .h files pushed down into the objc/ subdirectory.
1890 * Makefile.in (copy_headers): Corresponding changes.
1891 * configure.in (AC_INIT): Corresponding changes.
1892 * configure: Rebuilt.
1893
bce1b489
BE
18941998-09-30 Ben Elliston <bje@cygnus.com>
1895 Jeff Law <law@cygnus.com>
1896
1897 * Makefile.in: Rewrite.
1898
1899 * configure.in: Likewise.
1900
1901 * configure: Regenerate.
1902
1903 * All .c files. Remove "objc" prefix when including objc header
1904 files. Include tconfig.h, not ../tconfig.h.
1905
2e5f02a3
OP
1906Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
1907
1908 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
1909 (get_inner_array_type): Define.
1910
88e17b57
BE
19111998-09-21 Ben Elliston <bje@cygnus.com>
1912
1913 * New directory. Moved files from ../gcc/objc.