xref: /netbsd-src/external/gpl3/gcc/dist/libobjc/ChangeLog (revision b7b7574d3bf8eeb51a1fa3977b59142ec6434a55)
12014-05-22  Release Manager
2
3	* GCC 4.8.3 released.
4
52014-04-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
6
7	Backport from mainline
8	2013-11-15  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9
10	* configure: Regenerate.
11
122013-10-16  Release Manager
13
14	* GCC 4.8.2 released.
15
162013-07-04  Kai Tietz  <ktietz@redhat.com>
17
18	* exception.c: Add check for SjLj to SEH blocks.
19
202013-05-31  Release Manager
21
22	* GCC 4.8.1 released.
23
242013-03-22  Release Manager
25
26	* GCC 4.8.0 released.
27
282013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
29
30	Update copyright years.
31
322012-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
33
34	* encoding.c (TARGET_VSX): Provide definitions based on the
35	current compilation options, and not based off the target options
36	structure.
37	(TARGET_ALTIVEC): Likewise.
38	(TARGET_64BIT): Likewise.
39
402012-09-14  David Edelsohn  <dje.gcc@gmail.com>
41
42	* configure: Regenerated.
43
442012-07-19  Tristan Gingold  <gingold@adacore.com>
45	    Richard Henderson  <rth@redhat.com>
46
47	* exception.c (__gnu_objc_personality_seh0): New function.
48
492012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
50
51	* configure: Regenerated.
52
532012-03-12  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
54
55	* configure.ac (enable_objc_gc): Remove alpha*-dec-osf* handling.
56	* configure: Regenerate.
57
58	* thr.c (_XOPEN_SOURCE): Define unconditionally.
59
602011-11-21  Andreas Tobler  <andreast@fgznet.ch>
61
62	* configure: Regenerate.
63
642011-11-02  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
65
66	* Makefile.in (INCLUDES): Add -I$(MULTIBUILDTOP)../libgcc.
67	* configure.ac (target_thread_file, HAVE_GTHR_DEFAULT): Remove.
68	* configure: Regenerate.
69	* config.h.in: Regenerate.
70
712011-10-17  Paul Brook  <paul@codesourcery.com>
72	    Matthias Klose  <doko@ubuntu.com>
73
74	* exception.c (parse_lsda_header): hardcode ttype_encoding for older
75	ARM EABI toolchains.
76	(get_ttype_entry) Remove __ARM_EABI_UNWINDER__ variant.
77
782011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
79
80	PR libobjc/49883
81	* init.c (__objc_exec_class): Work around a bug in clang's code
82	generation.  Clang sets the class->info field to values different
83	from 0x1 or 0x2 (the only allowed values in the traditional GNU
84	Objective-C runtime ABI) to store some additional information, but
85	this breaks backwards compatibility.  Wipe out all the bits in the
86	fields other than the first two upon loading a class.
87
882011-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
89
90	* class.c (objc_lookup_class): Added back for compatibility with
91	clang which seems to emit calls to it.
92
932011-10-08  Richard Frith-Macdonald <rfm@gnu.org>
94            Nicola Pero  <nicola.pero@meta-innovation.com>
95
96	PR libobjc/50428
97	* sendmsg.c (__objc_send_initialize): If a class does not have an
98	+initialize method, search for an +initialize method in the
99	superclass and in the ancestor classes and execute the first one
100	that is found.  This makes the GNU runtime behave in the same way
101	as the Apple/NeXT runtime with respect to +initialize methods and
102	subclassing.
103
1042011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
105
106	PR libobjc/50002
107	* class.c (__objc_update_classes_with_methods): Iterate over meta
108	classes as well as normal classes when refreshing the method
109	implementations.  This fixes replacing class methods.
110
1112011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
112
113	* class.c (class_getSuperclass): Fixed to work with meta classes
114	still in construction too.
115
1162011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
117
118	* class.c (class_getSuperclass): Fixed typo in comment.
119
1202011-08-06  Nicola Pero  <nicola.pero@meta-innovation.com>
121
122	PR libobjc/49882
123	* class.c (class_getSuperclass): Return the superclass if the
124	class is in construction.
125	* objc/runtime.h (class_getSuperclass): Updated documentation.
126
1272011-08-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
128
129	* Makefile.in (INCLUDES): Search
130	$(srcdir)/$(MULTISRCTOP)../libgcc.
131
1322011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
133
134	* objc/objc.h (__GNU_LIBOBJC__): Bumped to 20110608.
135
1362011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
137
138	* configure.ac (VERSION): Bumped to 4:0:0.
139	* configure (VERSION): Likewise.
140
1412011-06-08  Nicola Pero  <nicola.pero@meta-innovation.com>
142
143	* objc/README: Updated.
144	* objc-private/selector.h: Updated comments.
145
1462011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
147
148	* sendmsg.c (class_get_instance_method): Removed.
149	(class_get_class_method): Removed.
150	(objc_get_uninstalled_dtable): Removed.
151
1522011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
153
154	* objc-private/module-abi-8.h (class_get_instance_size): Removed.
155	* objects.c (class_create_instance): Removed.
156	* error.c (__USE_FIXED_PROTOTYPES__): Removed.
157	* gc.c (__objc_generate_gc_type_description): Use
158	class_getInstanceSize() instead of class_get_instance_size().
159	* selector.c (sel_types_match): Made static.
160	(sel_get_typed_uid): Removed.
161	(sel_get_any_typed_uid): Removed.
162	(sel_get_name): Removed.
163	(sel_get_type): Removed.
164	(sel_register_name): Removed.
165	(sel_register_typed_name): Removed.
166	(sel_get_uid): Removed.
167
1682011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
169
170	* encoding.c (method_get_number_of_arguments): Removed.
171	(method_get_sizeof_arguments): Removed.
172
1732011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
174
175	* class.c (objc_next_class): Removed.
176	(class_pose_as): Removed.
177	(CLASSOF): Removed.
178	(class_table_replace): Removed.
179	(objc_lookup_class): Removed.
180
1812011-06-07  Nicola Pero  <nicola.pero@meta-innovation.com>
182
183	Removed the Traditional Objective-C runtime public API.
184	* Makefile.in (OBJC_DEPRECATED_H): Variable removed.
185	(install-headers): Do not create the objc/deprecated directory and
186	do not install the deprecated headers.
187	(OBJC_H): Removed encoding.h and objc-api.h.
188	* Object.m: Removed all methods with the exception of -class and
189	-isEqual:.  Updated includes.  ([-class]): Use Modern API.
190	* objc/Object.h: Do not include deprecated/Object.h.
191	* objc/deprecated/Object.h: Removed.
192	* linking.m (__objc_linking): Call [Object class] instead of
193	[Object name].
194	* Protocol.m: Removed all methods with the exception of -isEqual:.
195	Updated includes.
196	* objc/Protocol.h: Do not include deprecated/Protocol.h.
197	* objc/deprecated/Protocol.h: Removed.
198	* objc/deprecated/struct_objc_symtab.h: Removed.
199	* objc/deprecated/struct_objc_module.h: Removed.
200	* objc/deprecated/struct_objc_ivar.h: Removed.
201	* objc/deprecated/struct_objc_ivar_list.h: Removed.
202	* objc/deprecated/struct_objc_method.h: Removed.
203	* objc/deprecated/struct_objc_method_list.h: Removed.
204	* objc/deprecated/struct_objc_protocol_list.h: Removed.
205	* objc/deprecated/struct_objc_category.h: Removed.
206	* objc/deprecated/MetaClass.h: Removed.
207	* objc/deprecated/objc_msg_sendv.h: Removed.
208	* objc/deprecated/README: Removed.
209	* objc/deprecated/struct_objc_class.h: Removed.
210	* objc/deprecated/struct_objc_protocol.h: Removed.
211	* objc/deprecated/struct_objc_selector.h: Removed.
212	* objc/encoding.h: Removed.
213	* objc/message.h (struct objc_super): Removed the definition for
214	the Traditional Objective-C runtime API.
215	* objc/objc.h: Do not include objc/objc-decls.h.
216	deprecated/struct_objc_selector.h, deprecated/MetaClass.h,
217	deprecated/struct_objc_class.h, deprecated/struct_objc_protocol.h
218	and deprecated/objc_msg_sendv.h.  Uncommented new definition of
219	Protocol *.
220	* objc/objc-api.h: Removed.
221	* objc/runtime.h: Updated comments.  Removed check to detect
222	concurrent usage of Traditional and Modern APIs.
223	* objc-private/module-abi-8.h: Always define struct objc_class and
224	struct objc_protocol.  (struct objc_protocol_list): Changed type
225	of 'list' argument from 'Protocol *' to 'struct objc_protocol *'.
226	(class_get_instance_size): Added.
227	* objc-private/protocols.h (__objc_protocols_add_protocol): Take a
228	'struct objc_protocol *' as argument, not a 'Protocol *'.
229	* objc-private/runtime.h: Updated comments.
230	* objc-private/selector.h (struct objc_selector, sel_eq): Added.
231	* class.c: Include objc-private/selector.h.
232	(objc_get_meta_class): Return a Class instead of a MetaClass.
233	* encoding.c (method_get_next_argument): Removed.
234	(method_get_first_argument): Removed.
235	(method_get_nth_argument): Removed.
236	* gc.c: Include objc/runtime.h instead of objc/encoding.h.
237	Include objc-private/module-abi-8.h and ctype.h.
238	* protocols.c (__objc_protocols_add_protocol): Take a 'struct
239	objc_protocl *' as argument, not a 'Protocol *'.
240	(class_addProtocol): Added casts to 'struct objc_protocol *' and
241	'Protocol *'.
242	(class_copyProtocolList): Likewise.
243	(protocol_conformsToProtocol): Likewise.
244	(protocol_copyProtocolList): Likewise.
245	* sarray.c: Include objc-private/module-abi-8.h.
246	* sendmsg.c (method_get_next_argument): Removed.
247	(method_get_first_argument): Removed.
248	(method_get_nth_argument): Removed.
249	(objc_msg_sendv): Removed.
250	(arglist_t, retval_t): New.  (class_get_class_method): Take a
251	'Class', not 'MetaClass', argument.
252	* thr.c: Include module-abi-8.h.
253
2542011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
255
256	* Makefile.in (OBJC_DEPRECATED_H): Removed struct_objc_static_instances.h
257	and objc_get_uninstalled_dtable.h.
258	* objc/deprecated/struct_objc_static_instances.h: Removed.
259	* objc/deprecated/objc_get_uninstalled_dtable.h: Removed.
260	* objc/objc-api.h: Do not include deprecated/objc_static_instances.h
261	and deprecated/objc_get_uninstalled_dtable.h.
262
2632011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
264
265	* Makefile.in (OBJC_DEPRECATED_H): Removed objc_object_alloc.h.
266	* objc/deprecated/objc_object_alloc.h: Removed.
267	* objc/objc-api.h: Do not include deprecated/objc_object_alloc.h.
268	* objects.c (_objc_object_alloc, _objc_object_dispose,
269	_objc_object_copy): Removed.
270	* libobjc.def (__objc_object_alloc, __objc_object_copy,
271	__objc_object_dispose): Removed.
272
2732011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
274
275	* Makefile.in (OBJC_DEPRECATED_H): Removed METHOD_NULL.h.
276	* objc/objc-api.h: Do not include deprecated/METHOD_NULL.h.
277	* objc/deprecated/METHOD_NULL.h: Removed.
278
2792011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
280
281	* Makefile.in (OBJC_DEPRECATED_H): Removed objc_valloc.h,
282	objc_malloc.h and objc_unexpected_exception.h.
283	(exception.lo): Do not use -Wno-deprecated-declarations.
284	(exception_gc.lo): Likewise.
285	* objc/objc-api.h: Do not include deprecated/objc_valloc.h,
286	deprecated/objc_malloc.h and
287	deprecated/objc_unexpected_exception.h.
288	* objc/deprecated/objc_valloc.h: Removed.
289	* objc/deprecated/objc_malloc.h: Removed.
290	* objc/deprecated/objc_unexpected_exception.h: Removed.
291	* exception.c (_objc_unexpected_exception): Removed.
292	(objc_exception_throw): Do not check for
293	_objc_unexpected_exception.
294	* memory.c (objc_valloc, _objc_malloc, _objc_atomic_malloc,
295	_objc_valloc, _objc_realloc, _objc_calloc, _objc_free): Removed.
296	* libobjc.def (_objc_unexpected_exception, objc_valloc): Removed.
297
2982011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
299
300	* objc/objc.h: Do not include deprecated/STR.h.
301	* objc/deprecated/STR.h: Removed.
302	* Makefile.in (OBJC_DEPRECATED_H): removed STR.h.
303
3042011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
305
306	* Makefile.in (OBJC_H): Removed hash.h and sarray.h.
307	(OBJC_DEPRECATED_H): Likewise.
308	* libobjc.def (objc_hash_new, objc_hash_delete, objc_hash_add,
309	objc_hash_remove, objc_hash_next, objc_hash_value_for_key,
310	objc_hash_is_key_in_hash, hash_add, hash_delete, hash_new,
311	hash_next, hash_remove, hash_value_for_key, hash_is_key_in_hash,
312	sarray_at_put, sarray_at_put_safe, sarray_free, sarray_lazy_copy,
313	sarray_new, sarray_realloc, sarray_remove_garbage): Removed.
314	* objc/sarray.h: Removed.
315	* objc/hash.h: Removed.
316	* objc/deprecated/sarray.h: Removed.
317	* objc/deprecated/hash.h: Removed.
318	* objc/Object.h: Do not include objc/deprecated/hash.h
319	* Object.m: Include string.h.
320	* objc/objc-api.h: Do not include objc/deprecated/hash.h.
321	* objc-private/common.h (GNU_LIBOBJC_COMPILING_LIBOBJC_ITSELF):
322	Removed.
323
3242011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
325
326	* Object.m ([-forward::]): Removed.
327	* objc/deprecated/Object.h ([-forward::]): Removed.
328	* sendmsg.c (__objc_forward): Updated comments.
329
3302011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
331
332	* Makefile.in (OBJC_H): Removed objc-list.h.
333	(OBJC_DEPRECATED_H): Removed objc-list.h.
334	* objc/objc-list.h: File removed.
335	* objc/deprecated/objc-list.h: File removed.
336
3372011-06-03  Nicola Pero  <nicola.pero@meta-innovation.com>
338
339	* Makefile.in (OBJC_H): Removed typedstream.h.
340	(OBJC_DEPRECATED_H): Removed typedstream.h.
341	(C_SOURCE_FILES): Removed archive.c.
342	(Object.lo): Rule removed.
343	(Object_gc.lo): Likewise.
344	(archive.lo): Likewise.
345	(archive_gc.lo): Likewise.
346	* objc/deprecated/Object.h ([+streamVersion:], [-read], [-write],
347	[-awake]): Removed.
348	Do not include deprecated/typedstream.h.
349	* Object.m: Removed the same methods.
350	* archive.c: File removed.
351	* objc/typedstream.h: File removed.
352	* objc/deprecated/typedstream.h: File removed.
353	* libobjc.def (__objc_read_nbyte_uint, __objc_read_nbyte_ulong,
354	__objc_write_class, __objc_write_object, __objc_write_selector,
355	objc_close_typed_stream, objc_end_of_typed_stream,
356	objc_flush_typed_stream, objc_get_stream_class_version,
357	objc_open_typed_stream, objc_open_typed_stream_for_file,
358	objc_read_array, objc_read_char, objc_read_int, objc_read_long,
359	objc_read_object, objc_read_selector, objc_read_short,
360	objc_read_string, objc_read_type, objc_read_types,
361	objc_read_unsigned_char, objc_read_unsigned_int,
362	objc_read_unsigned_long, objc_read_unsigned_short,
363	objc_write_array, objc_write_char, objc_write_int,
364	objc_write_long, objc_write_object, objc_write_object_reference,
365	objc_write_root_object, objc_write_selector, objc_write_short,
366	objc_write_string, objc_write_string_atomic, objc_write_type,
367	objc_write_types, objc_write_unsigned_char,
368	objc_write_unsigned_int, objc_write_unsigned_long,
369	objc_write_unsigned_short): Removed.
370
3712011-06-02  Nicola Pero  <nicola.pero@meta-innovation.com>
372
373	* Makefile.in (OBJC_DEPRECATED_H): Removed objc_error.h.
374	* objc/deprecated/objc_error.h: Removed.
375	* objc/objc-api.h: Do not include deprecated/objc_error.h.
376	* libobjc.def (objc_error, objc_verror): Removed.
377	* error.c (_objc_error_handler, objc_error, objc_verror,
378	objc_set_error_handler): Removed.
379	* Object.m ([-error:], [-perform:], [-perform:with:],
380	[-perform:with:with], [-subclassResponsibility:],
381	[-notImplemented:], [-shouldNotImplement:], [-doesNotRecognize:]):
382	Removed.
383	* objc/deprecated/Object.h: Removed the same methods.
384	* sendmsg.c (__objc_forward): Do not try to invoke the "error:"
385	method after trying to invoke the "doesNotRecognize:" method.
386
3872011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
388
389	* sendmsg.c: Reindented part of the file.  No non-trivial changes
390	in code.
391
3922011-05-26  Nicola Pero  <nicola.pero@meta-innovation.com>
393
394	* sendmsg.c (__objc_install_dtable_for_class): Use objc_getClass,
395	not objc_lookup_class.
396
3972011-05-25  Richard Frith-Macdonald <rfm@gnu.org>
398	    David Ayers  <ayers@fsfe.org>
399
400	PR libobjc/38307
401	* sendmsg.c: Include objc/hash.h.
402	(get_implementation): New function, mostly with code from get_imp
403	updated to support the new +initialize dispatch table logic.
404	(get_imp): Use get_implementation.
405	(__objc_responds_to): Updated to support the new +initialize
406	dispatch table logic.
407	(class_respondsToSelector): Likewise.
408	(objc_msg_lookup): Use get_implementation.
409	(__objc_init_install_dtable): Removed.
410	(__objc_install_methods_in_dtable): Updated arguments.
411	(__objc_install_dispatch_table_for_class): Renamed to
412	__objc_install_dtable_for_class and updated to support the new
413	+initialize dispatch table logic.
414	(__objc_update_dispatch_table_for_class): Updated to support the
415	new +initialize dispatch table logic.
416	(__objc_forward): Call get_implementation instead of get_imp.
417	(prepared_dtable_table): New.
418	(__objc_prepare_dtable_for_class): New.
419	(__objc_prepared_dtable_for_class): New.
420	(__objc_get_prepared_imp): New.
421	(__objc_install_prepared_dtable_for_class): New.
422
4232011-05-24  Nicola Pero  <nicola.pero@meta-innovation.com>
424
425	PR libobjc/48177
426	* selector.c (__sel_register_typed_name): Use sel_types_match()
427	instead of strcmp() to compare selector types (Suggestion by
428	Richard Frith-Macdonald <rfm@gnu.org>).
429
4302011-04-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
431
432	PR libobjc/32037
433	* Makefile.in (OBJC_GCFLAGS): Move ...
434	* configure.ac (enable_objc_gc): ... here.
435	Add $(libsuffix) to OBJC_BOEHM_GC.
436	* configure: Regenerate.
437
4382011-02-28  Nicola Pero  <nicola.pero@meta-innovation.com>
439
440	* selector.c (sel_getTypedSelector): Return NULL if there are
441	multiple selectors with conflicting types.
442	* objc/runtime.h (sel_getTypedSelector): Updated documentation.
443
4442011-02-28  Richard Frith-Macdonald <rfm@gnu.org>
445
446	PR libobjc/47922
447	* gc.c (class_ivar_set_gcinvisible): Use _C_GCINVISIBLE instead of
448	a hardcoded "!".
449
4502011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
451
452	* configure: Regenerate.
453
4542010-12-26  Nicola Pero  <nicola.pero@meta-innovation.com>
455
456	* init.c (create_tree_of_subclasses_inherited_from): Use
457	class_superclass_of_class instead of assuming a class is
458	unresolved when it could be resolved.  Tidied up assignment and
459	check.
460	(__objc_tree_insert_class): Enhanced DEBUG_PRINTF.
461	(objc_tree_insert_class): Tidied up loop; return immediately upon
462	inserting a class.
463	(__objc_exec_class): Do not set __objc_class_tree_list.
464
4652010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
466
467	* selector.c (sel_getTypedSelector): Return NULL if given a NULL
468	argument.
469	(sel_registerTypedName): Same.
470	(sel_registerName): Same.
471	* objc/runtime.h: Updated documentation.
472
4732010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
474
475	* objc/runtime.h (class_addIvar): Updated documentation.  The
476	alignment is actually the log_2 of the alignment in bytes.
477	* ivars.c (class_addIvar): Corresponding change to the
478	implementation.
479
4802010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
481
482	* objc/runtime.h (sel_getType): Renamed to sel_getTypeEncoding to
483	be consistent with method_getTypeEncoding and
484	ivar_getTypeEncoding.
485	(sel_copyTypedSelectorList, sel_getTypedSelector): New.
486	* selector.c (sel_getType): Renamed to sel_getTypeEncoding.
487	(sel_copyTypedSelectorList, sel_getTypedSelector): New.
488	(sel_get_type): Updated call to sel_getType.
489
4902010-12-24  Nicola Pero  <nicola.pero@meta-innovation.com>
491
492	* objc/runtime.h (class_conformsToProtocol,
493	class_copyProtocolList): Updated documentation.
494
4952010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
496
497	* init.c (create_tree_of_subclasses_inherited_from): Updated
498	DEBUG_PRINTF messages.
499	(__objc_tree_insert_class): Same.
500	(__objc_send_load_using_method_list): Same.
501	(__objc_send_load): Same.
502	(__objc_exec_class): Same.  In particular, do not print the module
503	name since it is no longer used.
504	* sendmsg.c (__objc_send_initialize): Added DEBUG_PRINTFs for
505	tracking +initialize calls.
506	(__objc_update_dispatch_table_for_class): Added DEBUG_PRINTFs for
507	tracking updates of dispatch tables.
508	(__objc_install_dispatch_table_for_class): Same.
509
5102010-12-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
511
512	* Makefile.in (libobjc$(libsuffix).la): Link with -Wc,-shared-libgcc.
513	(libobjc_gc$(libsuffix).la): Likewise.
514
5152010-12-23  Nicola Pero  <nicola.pero@meta-innovation.com>
516
517	* sendmsg.c (class_addMethod): Return NO if the method already
518	exists in the class.
519
5202010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
521
522	* init.c (duplicate_classes): New.
523	(__objc_exec_class): Initialize duplicate_classes.
524	(__objc_create_classes_tree): Ignore classes in the
525	duplicate_classes table.
526	(__objc_call_load_callback): Same.
527	(__objc_init_class): If a duplicate class is found, add it to
528	duplicate_classes instead of aborting.  Return YES if the class is
529	not a duplicate, and NO if it is.
530	* objc-private/runtime.h (__objc_init_class): Updated prototype.
531
5322010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
533
534	* objc-private/objc-list.h: Reindented file.  No code changes.
535	* objc-private/sarray.h: Same change.
536
5372010-12-22  Nicola Pero  <nicola.pero@meta-innovation.com>
538
539	* objc-private/accessors.h: Removed 'extern "C"' guards.  This
540	file is never compiled with C++.
541	* objc-private/hash.h: Same change.
542	* objc-private/objc-list.h: Same change.
543	* objc-private/objc-sync.h: Same change.
544	* objc-private/protocols.h: Same change.
545	* objc-private/runtime.h: Same change.
546	* objc-private/sarray.h: Same change.
547	* objc-private/selector.h: Same change.
548
5492010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
550
551	PR libobjc/18764
552	* class.c (__objc_add_class_to_hash): Return YES if the class was
553	added, and NO if it already existed.
554	* init.c (__objc_init_class): If __objc_add_class_to_hash returns
555	NO, then abort the program with an error message.
556	* objc-private/runtime.h (__objc_add_class_to_hash): Updated
557	declaration.
558
5592010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
560
561	* init.c (_objc_load_callback): Initialize with 0.
562	(__objc_call_callback): Renamed to __objc_call_load_callback.
563	Check _objc_load_callback only once, and if it is not set, return
564	immediately.
565	(objc_send_load): Updated call to __objc_call_callback.
566
5672010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
568
569	PR libobjc/16110
570	* init.c (__objc_send_message_in_list): Renamed to
571	__objc_send_load_using_method_list.  Do not take an 'op' argument.
572	Register the 'load' selector if needed.
573	(__objc_send_load): Do not register the 'load' selector.  Updated
574	call to __objc_send_message_in_list.
575	(__objc_create_classes_tree): Add the class of any claimed
576	category that was loaded in the module to the list of classes for
577	which we try to execute +load.
578
5792010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
580
581	* objc-private/common.h: When DEBUG is defined, include <stdio.h>.
582	Updated comments.
583	* init.c (__objc_tree_insert_class): Use %p, not %x, when printing
584	a pointer using DEBUG_PRINTF.
585
5862010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
587
588	PR libobjc/45953
589	* selector.c (__sel_register_typed_name): When registering a new
590	selector with the same name as an existing one, reuse the existing
591	name string.  Also updated types, casts and comments in the whole
592	function.
593
5942010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
595
596	* objc-private/module-abi-8.h (struct objc_symtab): Declare 'refs'
597	to be 'struct objc_selector *' and not 'SEL'.
598	* init.c (__objc_exec_class): Call
599	__objc_register_selectors_from_module instead of iterating over
600	each selector and calling __sel_register_typed_name for each.
601	* objc-private/selector.h: Declare
602	__objc_register_selectors_from_module instead of
603	__sel_register_typed_name.
604	* selector.c (__objc_register_selectors_from_module): New.
605	(__sel_register_typed_name): Made static.
606
6072010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
608
609	* linking.m: Do not include objc/NXConstStr.h.
610
6112010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
612
613	* objc-private/runtime.h (DEBUG_PRINTF): Moved from here ...
614	* objc-private/common.h (DEBUG_PRINTF): To here.
615	* hash.c: Do not include objc-private/runtime.h and objc/thr.h.
616
6172010-12-21  Nicola Pero  <nicola.pero@meta-innovation.com>
618
619	* hash.c: Tidied up comments and indentation.  No code changes.
620
6212010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
622
623	PR libobjc/47012
624	* accessors.m (objc_getProperty): If not atomic, do not
625	retain/autorelease the returned value.
626
6272010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
628
629	* objc-private/runtime.h (__objc_selector_max_index,
630	__objc_init_selector_tables, __objc_register_selectors_from_class,
631	__objc_register_selectors_from_list,
632	__objc_register_selectors_from_description_list): Moved to ...
633	* objc-private/selector.h: ... here.
634
6352010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
636
637	* objc-private/runtime.h (__objc_class_links_resolved): Removed.
638	(__objc_print_dtable_stats): Removed.
639	(__sel_register_typed_name): Removed.
640	* sendmsg.c (__objc_print_dtable_stats): Use 'void' as argument.
641
6422010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
643
644	* init.c (__objc_exec_class): Call __objc_resolve_class_links (),
645	if appropriate, after loading the module.
646
6472010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
648
649	* sendmsg.c (method_setImplementation): Do not declare.
650
6512010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
652
653	* objc/message.h: Updated comments.
654	* objc/runtime.h: Updated comments.
655
6562010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
657
658	* class.c (objc_lookupClass): Renamed to objc_lookUpClass.
659	* protocols.c: Updated all calls to objc_lookupClass to call
660	objc_lookUpClass instead.
661	* sendmsg.c (objc_lookupClass): Do not declare.
662	(get_imp): Update call to objc_lookupClass to call
663	objc_lookUpClass instead.
664	* objc/runtime.h (objc_lookupClass): Renamed to objc_lookUpClass.
665
6662010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
667
668	* objc/runtime.h (class_ivar_set_gcinvisible): Declare.
669	* sendmsg.c (_CLS_IN_CONSTRUCTION, CLS_IS_IN_CONSTRUCTION): Do not
670	define.  Updated comments.
671
6722010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
673
674	* objc/encoding.h: Updated comments.
675	* objc/runtime.h: Updated comments.
676	(objc_setGetUnknownClassHandler): Mark with objc_EXPORT.
677	(objc_sizeof_type): Same.
678	(objc_alignof_type): Same.
679	(objc_aligned_size): Same.
680	(objc_promoted_size): Same.
681	(objc_skip_type_qualifiers): Same.
682	(objc_skip_typespec): Same.
683	(objc_skip_offset): Same.
684	(objc_skip_argspec): Same.
685	(objc_get_type_qualifiers): Same.
686	(objc_layout_structure): Same.
687	(objc_layout_structure_next_member): Same.
688	(objc_layout_finish_structure): Same.
689	(objc_layout_structure_get_info): Same.
690
6912010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
692
693	* init.c: Updated comments.
694	* objc/objc-api.h: Updated comments.
695	* objc/runtime.h (_objc_load_callback): Declare.
696
6972010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
698
699	* objc/Object.h: Include deprecated/typedstream.h and
700	deprecated/hash.h instead of typedstream.h.  Updated comments.
701
7022010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
703
704	* Makefile.in (OBJC_DEPRECATED_H): Added objc_msg_sendv.h.
705	* objc/deprecated/objc_msg_sendv.h: New.
706	* objc/message.h: Do not define retval_t, apply_t, arglist,
707	arglist_t, objc_msg_sendv, now in
708	objc/deprecated/objc_msg_sendv.h.
709	* objc/objc.h: Do not include message.h; include
710	objc/deprecated/objc_msg_sendv.h instead.  Tidied up comments.
711	* sendmsg.c: Include objc/message.h.
712	* thr.c: Include objc/message.h.
713
7142010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
715
716	* objc/objc-exception.h: Include objc-decls.h.  Mark all
717	functions with objc_EXPORT.
718	* objc/objc-sync.h: Same change.
719
7202010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
721
722	* Protocol.m: Moved all methods, with the exception of -isEqual:,
723	into the 'Deprecated' category.
724	* objc/Protocol.h: Removed all methods, moved to
725	objc/deprecated/Protocol.h.  Include objc/deprecated/Protocol.h.
726	* objc/deprecated/Protocol.h: New.
727	* Makefile.in (OBJC_DEPRECATED_H): Added Protocol.h.
728
7292010-12-19  Nicola Pero  <nicola.pero@meta-innovation.com>
730
731	* init.c: Include objc-private/selector.h.  Do not declare
732	__sel_register_typed_name.
733	* objc-private/selector.h (__sel_register_typed_name): Declare.
734	* selector.c: Include objc-private/selector.h.
735
7362010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
737
738	* class.c: Tidied up comments and indentation.  No code changes.
739	* error.c: Same.
740	* exception.c: Same.
741	* init.c: Same.
742	* ivars.c: Same.
743	* memory.c: Same.
744	* objc-foreach.c: Same.
745	* objc-sync.c: Same.
746	* objects.c: Same.
747	* protocols.c: Same.
748	* sarray.c: Same.
749	* thr.c: Same.
750
7512010-12-17  Nicola Pero  <nicola.pero@meta-innovation.com>
752
753	* init.c: Include objc/runtime.h and objc-private/module-abi-8.h
754	instead of objc/objc-api.h.
755	(init_check_module_version): Take a 'struct objc_module *'
756	argument instead of 'Module_t'.  Use 'struct objc_module *'
757	instead of 'Module_t'.
758	(__objc_created_classes_tree): Take a 'struct objc_module *'
759	argument instead of 'Module_t'; use 'struct objc_symtab *' instead
760	of 'Symtab_t'.
761	(__objc_call_callback): Take a 'struct objc_module *' argument
762	instead of 'Module_t'; use 'struct objc_symtab *' instead of
763	'Symtab_t' and 'struct objc_category *' instead of 'Category_t'.
764	(_objc_load_callback): Take a 'struct objc_category *' argument
765	instead of 'Category *'.
766	(class_superclass_of_class): Use objc_getClass() instead of
767	objc_lookup_class().
768	(create_tree_of_subclasses_inherited_from): Same change (also, use
769	an explicit 'if' instead of '?').
770	(objc_init_statics): Same change.
771	(objc_send_load): Same change.
772	(__objc_init_protocol): same change.
773	(__objc_send_message_in_list): Take a 'struct objc_method_list *'
774	argument instead of 'MethodList_t'.  Use 'struct objc_method *'
775	instead of 'Method_t'.
776	(__objc_send_load): Use 'struct objc_method_list *' instead of
777	'MethodList_t'.  Use sel_registerName() instead of
778	sel_register_name().
779	(__objc_exec_class): Take a 'struct objc_module *' argument
780	instead of 'Module_t'.  Use 'struct objc_symtab *' instead of
781	'Symtab_t'.  Use objc_getClass() instead of objc_lookup_class().
782	Use 'struct objc_category *' instead of 'Category_t'.
783
7842010-12-16  Nicola Pero  <nicola.pero@meta-innovation.com>
785
786	* sendmsg.c: Include objc/runtime.h instead of objc/objc-api.h.
787	Include objc-private/module-abi-8.h and objc-private/selector.h
788	instead of objc/encoding.h.
789	(objc_msg_lookup_super): Use super->super_class instead of
790	super->class.
791	(method_get_first_argument, method_get_next_argument): Declare
792	locally.
793	(class_get_instance_method): Declare before using.
794	(objc_msg_sendv): Use 'struct objc_method' instead of 'Method'.
795	(__objc_init_dispatch_tables, __objc_send_initialize): Use
796	sel_registerName() instead of sel_register_name().
797	(__objc_forward): Use sel_getName() instead of sel_get_name().
798	(objc_get_uninstalled_dtable): Use 'void' as argument.
799	* objc-private/selector.h: New.
800
8012010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
802
803	* objc/message.h (objc_super): When using the modern API, do not
804	define Super and Super_t, and always use 'super_class' for the
805	super class field.
806	(objc_msg_lookup_super): Updated prototype to use 'struct
807	objc_super *' instead of 'Super_t'.
808	* sendmsg.c (objc_msg_lookup_super): Updated prototype to use
809	'struct objc_super *' instead of 'Super_t'.
810
8112010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
812
813	* objc/message.h: Update comments, reindented code and moved
814	deprecated types and functions at the end of the file.  No code
815	changes.
816
8172010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
818
819	* ivars.c (class_addIvar): Use the 'size' argument instead of
820	trying to calculate it using objc_sizeof_type().
821	* objc/runtime.h (class_addIvar): Updated comments.
822
8232010-12-15  Nicola Pero  <nicola.pero@meta-innovation.com>
824
825	* sendmsg.c: Reindented some code and tidied up comments.  No
826	actual code changes.
827
8282010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
829
830	* objc/Object.h: Moved all the methods, with the exception of
831	-class and -isEqual:, into ...
832	* objc/deprecated/Object.h: here.
833	* Object.m: Moved all the methods, with the exception of -class
834	and -isEqual: into the 'Deprecated' category.
835
8362010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
837
838	* objects.c (object_copy): Do not #undef as we are no longer
839	including objc/objc-api.h.
840	* selector.c: Include objc/runtime.h and
841	objc-private/module-abi-8.h.  Do not include objc/objc-api.h and
842	objc/encoding.h.  Updated
843	(__objc_register_selectors_from_class): Use struct
844	objc_method_list * instead of MethodList_t.
845	(__objc_register_selectors_from_list): Use Method instead of
846	Method_t.
847	(struct objc_method_description_list): Do not define here.
848	(__objc_register_instance_methods_to_class): Use struct
849	objc_method_list * instead of MethodList_t and Method instead of
850	Method_t.
851
8522010-12-14  Nicola Pero  <nicola.pero@meta-innovation.com>
853
854	* selector.c: Reindented some code and tidied up comments.  No
855	actual code changes.
856
8572010-12-13  Iain Sandoe  <iains@gcc.gnu.org>
858
859	* encoding.c (_darwin_rs6000_special_round_type_align): New.
860	(darwin_rs6000_special_round_type_align): Adjust to use new routine.
861
8622010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
863
864	* sendmsg.c (selector_resolveClassMethod): New.
865	(selector_resolveInstanceMethod): New.
866	(__objc_resolve_class_method): New.
867	(__objc_resolve_instance_method): New.
868	(get_imp): Call __objc_resolve_class_method or
869	__objc_resolve_instance_method at the appropriate time.
870	(objc_msg_lookup): Same.
871	(class_getClassMethod): Same.
872	(class_getInstanceMethod): Same.
873	(__objc_init_dispatch_tables): Initialize
874	selector_resolveClassMethod and selector_resolveInstanceMethod.
875	* objc/runtime.h: Updated documentation of class_getClassMethod,
876	class_getInstanceMethod and class_getMethodImplementation.
877
8782010-12-11  Nicola Pero  <nicola.pero@meta-innovation.com>
879
880	* objc-private/module-abi-8.h (struct objc_symtab): Updated
881	description of sel_ref_cnt and refs.
882	* objc/deprecated/struct_objc_symtab.h (objc_symtab): Same change.
883
8842010-12-06  Dave Korn  <dave.korn.cygwin@gmail.com>
885
886	PR target/40125
887	PR lto/46695
888	* configure.ac (extra_ldflags_libobjc): Invoke ACX_LT_HOST_FLAGS.
889	* Makefile.in (lt_host_flags): Import AC_SUBST'd value.
890	* aclocal.m4: Regenerate.
891	* configure: Regenerate.
892
8932010-12-03  Matthias Klose  <doko@ubuntu.com>
894
895	* configure.ac (VERSION): Bump the version to 3:0:0.
896	* configure: Regenerate.
897
8982010-11-23  Richard Frith-Macdonald <rfm@gnu.org>
899
900	* sendmsg.c (get_imp): Fixed call to __objc_get_forward_imp to
901	pass nil as the receiver since we don't know the receiver at this
902	point.
903
9042010-11-18  Nicola Pero  <nicola.pero@meta-innovation.com>
905
906	* ivars.c: Include stdlib.h.
907	* protocols.c: Same change.
908
9092010-10-24  Nicola Pero  <nicola.pero@meta-innovation.com>
910
911	* Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
912	* accessors.m: New.
913	* init.c: Include objc-private/accessors.h.
914	(__objc_exec_class): Call __objc_accessors_init.
915	* objc-private/accessors.h: New.
916
9172010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
918
919	* objc/message.h: Moved initial includes outside of extern "C".
920	* objc/runtime.h: Add extern "C" for Objective-C++.
921
9222010-10-17  Nicola Pero  <nicola.pero@meta-innovation.com>
923
924	* init.c (objc_send_load): Do not wait for NXConstantString to be
925	registered before executing +load.  There is no point if
926	-fconstant-string-class=xxx is used when compiling all modules,
927	as is the case for almost all users.
928	* linking.m (__objc_linking): Do not try to forcefully link in
929	NXConstantString.
930
9312010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
932
933	* objc/runtime.h: Updated comments.
934	(class_addMethod): New.
935	(class_addIvar): New.
936	(class_replaceMethod): New.
937	(objc_allocateClassPair): New.
938	(objc_registerClassPair): New.
939	(objc_disposeClassPair): New.
940	* class.c (objc_allocateClassPair): New.
941	(objc_registerClassPair): New.
942	(objc_disposeClassPair): New.
943	(class_getSuperclass): Return Nil if a class is in construction.
944	* init.c (__objc_exec_class): Call __objc_init_class.
945	(__objc_init_class): New.
946	* ivars.c (class_copyIvarList): Return NULL if class is in
947	construction.  Do not lock the runtime mutex.
948	(class_getInstanceVariable): Return NULL if class is in
949	construction.  Do not lock the runtime mutex.
950	(class_addIvar): New.
951	* sendmsg.c (class_addMethod): New.
952	(class_replaceMethod): New.
953	* objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
954	(_CLS_IN_CONSTRUCTION): New.
955	(CLS_IS_IN_CONSTRUCTION): New.
956	(CLS_SET_IN_CONSTRUCTION): New.
957	(CLS_SET_NOT_IN_CONSTRUCTION): New.
958	* objc-private/runtime.h (__objc_init_class): New.
959
9602010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
961
962	* class.c (class_getSuperclass): Call __objc_resolve_class_links
963	if the class is not resolved yet.
964	* ivars.c (class_getInstanceVariable): Use class_getSuperclass.
965
9662010-10-16  Nicola Pero  <nicola.pero@meta-innovation.com>
967
968	* objc/runtime.h (class_getIvarLayout): New.
969	(class_getWeakIvarLayout): New.
970	(class_setIvarLayout): New.
971	(class_setWeakIvarLayout): New.
972	* ivars.c (class_getIvarLayout): New.
973	(class_getWeakIvarLayout): New.
974	(class_setIvarLayout): New.
975	(class_setWeakIvarLayout): New.
976
9772010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
978
979	* objc/runtime.h (class_copyPropertyList): New.
980	(class_getProperty): New.
981	(property_getAttributes): New.
982	(property_getName): New.
983	* ivars.c (class_copyPropertyList): New.
984	(class_getProperty): New.
985	(property_getAttributes): New.
986	(property_getName): New.
987
9882010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
989
990	* objc-private/runtime.h (__objc_update_classes_with_methods): New.
991	* class.c (__objc_update_classes_with_methods): New.
992	(objc_getClassList): Do not lock the class lock.
993	* methods.c (method_exchangeImplementations): New.
994	(method_setImplementation): New.
995	* objc/runtime.h (method_setImplementation): New.
996	(method_exchangeImplementations): New.
997
9982010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
999
1000	* Protocol.m: Include objc/runtime.h and
1001	objc-private/module-abi-8.h instead of objc/objc-api.h.  Do not
1002	repeat Protocol's instance variables.
1003	(struct objc_method_description_list): Do not define here.
1004	([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
1005	([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
1006	selectors directly instead of getting names and then using strcmp.
1007	([descriptionForClassMethod:]): Same change.
1008	([-isEqual:]): Reimplemented on top of protocol_isEqual().
1009	* protocols.c (protocol_getMethodDescription): Use sel_isEqual()
1010	to compare selectors directly instead of getting names and then
1011	using strcmp.
1012	* objc/Protocol.h: Updated comments.
1013
10142010-10-15  Nicola Pero  <nicola.pero@meta-innovation.com>
1015
1016	* init.c (__objc_init_protocol): New function which fixes up a
1017	protocol's class pointer, registers it with the runtime, register
1018	all protocol selectors and registers associated protocols too.
1019	(objc_init_statics): Detect if we are initializing protocols, and
1020	if so, use __objc_init_protocol instead of only fixing up the
1021	class pointer.
1022	(__objc_init_protocls): Use __objc_init_protocol.
1023	* objc-private/module-abi-8.h: Updated comments.
1024	* objc-private/runtime.h
1025	(__objc_register_selectors_from_description_list): New.
1026	* selector.c (__objc_register_selectors_from_description_list):
1027	New.  (struct objc_method_description_list): Declare.
1028	* Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
1029	when accessing the name of a method, which is now correctly a SEL.
1030	([-descriptionForClassMethod:]): Same change.
1031	* protocols.c (protocol_getMethodDescription): Same change.
1032	* objc/runtime.h: Updated comments.
1033	(sel_registerTypedName): Fixed typo in function name.
1034
10352010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1036
1037	PR libobjc/23214
1038	* init.c (objc_init_statics): Do not skip the initialization of a
1039	statics list if the first object has already been initialized; in
1040	the case of Protocols, while the first one may have been
1041	initialized, some others may not have been initialized yet.
1042
10432010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1044
1045	* Makefile.in (OBJC_DEPRECATED_H): Added
1046	objc_get_uninstalled_dtable, objc_object_alloc.h and
1047	struct_objc_static_instances.h.
1048
10492010-10-13  Nicola Pero  <nicola.pero@meta-innovation.com>
1050
1051	* encoding.c (method_copyReturnType): New.
1052	(method_copyArgumentType): New.
1053	(method_getReturnType): New.
1054	(method_getArgumentType): New.
1055	* methods.c (method_getDescription): New.
1056	* objc/runtime.h (method_copyReturnType): New.
1057	(method_copyArgumentType): New.
1058	(method_getReturnType): New.
1059	(method_getArgumentType): New.
1060	(method_getDescription): New.
1061
10622010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1063
1064	* encoding.c: Tidied up comments.
1065	(objc_skip_variable_name): New static inline function.
1066	(objc_sizeof_type): Use objc_skip_variable_name instead of copying
1067	the same code over and over.
1068	(objc_alignof_type): Same.
1069	(objc_aligned_size): Same.
1070	(objc_promoted_size): Same.
1071	(objc_skip_typespec): Same.
1072	(objc_layout_structure_next_member): Same.
1073	(objc_skip_offset): Skip a '-' before the digits (if any).  Fixed
1074	historical bug where objc_skip_offset would skip one byte even if
1075	there is no offset: check that the first offset digit is actually
1076	a digit before skipping it.
1077	(objc_skip_type_qualifiers): Mark as inline.
1078	(objc_skip_typespec): Mark as inline.
1079
10802010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1081
1082	* Makefile.in (C_SOURCE_FILES): Added methods.c.
1083	* encoding.c (method_getNumberOfArguments): New.
1084	(method_get_number_of_arguments): Call
1085	method_getNumberOfArguments.
1086	* ivars.c (ivar_getName): Check for NULL variable argument.
1087	(ivar_getOffset): Check for NULL variable argument.
1088	(ivar_getTypeEncoding): Check for NULL variable argument.
1089	(class_copyIvarList): New.
1090	* methods.c: New.
1091	* protocols.c (class_copyProtocolList): Check for Nil class_
1092	argument.
1093	* sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
1094	'struct objc_method_list *' instead of MethodList_t.
1095	(class_getMethodImplementation): New.
1096	(class_respondsToSelector): New.
1097	(class_getInstanceMethod): New.
1098	(class_getClassMethod): New.
1099	* objc/runtime.h: Updated comments.
1100	(class_copyIvarList): New.
1101	(class_getInstanceMethod): New.
1102	(class_getClassMethod): New.
1103	(class_getMethodImplementation): New.
1104	(class_respondsToSelector): New.
1105	(method_getName): New.
1106	(method_getImplementation): New.
1107	(method_getTypeEncoding): New.
1108	(class_copyMethodList): New.
1109	(method_getNumberOfArguments): New.
1110
11112010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1112
1113	* class.c: Include objc/runtime.h and objc-private/module-abi-8.h
1114	instead of objc/objc-api.h.
1115	(objc_get_unknown_class_handler): Do not define.
1116	(class_isMetaClass): New.
1117	(class_getSuperclass): New.
1118	(class_getVersion): New.
1119	(class_setVersion): New.
1120	(class_getInstanceSize): New.
1121	* exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
1122	(is_kind_of_exception_matcher): Use objc_getSuperclass instead of
1123	objc_get_super_class.
1124	(get_ttype_entry): Use objc_getRequiredClass instead of
1125	objc_get_class.
1126	* ivars.c (class_getClassVariable): New.
1127	* objects.c: Include objc/runtime.h, objc/thr.h and
1128	objc-private/module-abi-8.h instead of objc/objc-api.h
1129	* objc/runtime.h (class_getClassVariable): New.
1130	(class_isMetaClass): New.
1131	(class_getSuperclass): New.
1132	(class_getVersion): New.
1133	(class_setVersion): New.
1134	(class_getInstanceSize): New.
1135	* objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
1136	objc/objc-api.h)
1137	(__CLS_INFO): Same.
1138	(__CLS_ISINFO): Same.
1139	(__CLS_SETINFO): Same.
1140	(CLS_ISMETA): Same.
1141	(CLS_ISCLASS): Same.
1142	(CLS_ISRESOLV): Same.
1143	(CLS_SETRESOLV): Same.
1144	(CLS_ISINITIALIZED): Same.
1145	(CLS_SETINITIALIZED): Same.
1146	(CLS_GETNUMBER): Same.
1147	(CLS_SETNUMBER): Same.
1148
11492010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1150
1151	* archive.c: Do not include objc/objc.h.
1152	* class.c: Do not include objc/objc.h.
1153	* encoding.c: Include objc/runtime.h, ctype.h and
1154	objc-private/module-abi-8.h instead of objc/objc-api.h and
1155	objc/encoding.h.
1156	* error.c: Do not include objc/objc.h.
1157	* gc.c: Include tconfig.h and objc/encoding.h only if
1158	OBJC_WITH_GC.
1159	* hash.c: Include objc/runtime.h and objc/thr.h instead of
1160	objc/objc-api.h.  Do not include objc/objc.h.
1161	* init.c: Do not include objc/objc.h.
1162	* ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
1163	objc/thr.h instead of objc/objc-api.h.  Do not include
1164	objc/objc.h.
1165	* linking.m: Tidied comment.
1166	* memory.c: Include objc/runtime.h instead of objc/objc-api.h.
1167	Do not include objc/objc.h.
1168	* objects.c: Do not include objc/objc.h.
1169	* objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
1170	* protocols.c: Do not include objc/objc.h.
1171	* sarray.c: Include objc/runtime.h instead of objc/objc-api.h.  Do
1172	not include objc/objc.h.
1173	* selector.c: Do not include objc/objc.h.
1174	* sendmsg.c: Do not include objc/objc.h.
1175	* thr.c: Include objc/runtime.h instead of objc/objc-api.h.
1176	Do not include objc/objc.h.
1177	* objc/objc-decls.h: Reindented code.
1178	* objc/runtime.h Include objc-decls.h.  Updated comments.
1179	(objc_malloc): New.
1180	(objc_atomic_malloc): New.
1181	(objc_calloc): New.
1182	(objc_realloc): New.
1183	(objc_free): New.
1184	* objc-private/runtime.h: Updated comments.
1185
11862010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1187
1188	* Makefile.in (C_SOURCE_FILES): Added protocols.c.
1189	* objc-private/protocols.h: New.
1190	* protocols.c: New.
1191	* init.c: Include objc-private/protocols.h.
1192	(__objc_exec_class): Call __objc_protocols_init on startup.
1193	(__objc_init_protocols): Call __objc_protocols_add_protocol.
1194	* objc-private/runtime.h: Use (struct objc_method_list *) instead
1195	of MethodList_t, and (struct objc_method *) instead of Method_t.
1196	* objc/deprecated/struct_objc_class.h: Define
1197	__objc_STRUCT_OBJC_CLASS_defined.
1198	* objc-private/module-abi-8.h (struct
1199	objc_method_description_list): New.
1200	(struct objc_class): Only define if
1201	__objc_STRUCT_OBJC_CLASS_defined is undefined.
1202	* objc/runtime.h (class_getName): New.
1203	(objc_getProtocol): New.
1204	(objc_copyProtocolList): New.
1205	(class_addProtocol): New.
1206	(class_conformsToProtocol): New.
1207	(class_copyProtocolList): New.
1208	(protocol_conformsToProtocol): New.
1209	(protocol_isEqual): New.
1210	(protocol_getName): New.
1211	(protocol_getMethodDescription): New.
1212	(protocol_copyMethodDescriptionList): New.
1213	(protocol_getProperty): New.
1214	(protocol_copyPropertyList): New.
1215	(protocol_copyProtocolList): New.
1216	* class.c (class_getName): New.
1217	* selector.c (sel_isEqual): New.
1218
12192010-10-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1220
1221	* selector.c (sel_getName): Return "<null selector>" for a NULL
1222	argument.
1223	(sel_get_name): Return 0 for a NULL argument.
1224	* objc/runtime.h (sel_getName): Updated documentation.
1225
1226	* objc-private/hash.h (class_hash_table): Unused declaration
1227	removed.
1228	(module_hash_table): Same.
1229	* objc/deprecated/hash.h: Same changes.
1230
12312010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1232
1233	* class.c (objc_getClassList): New.
1234	(objc_getRequiredClass): New.
1235	(objc_getMetaClass): New.
1236	(objc_lookupClass): New.
1237	(objc_getClass): New.
1238	(__objc_get_unknown_class_handler): New.
1239	(objc_setGetUnknownClassHandler): New.
1240	(objc_get_class): Use __objc_get_unknown_class_handler.
1241	(objc_lookup_class): Call objc_getClass.
1242	* objc/objc-api.h: Updated comment and copyright notice.
1243	* objc/runtime.h: Updated comments.
1244	(objc_getClass): New.
1245	(objc_lookupClass): New.
1246	(objc_getMetaClass): New.
1247	(objc_getRequiredClass): New.
1248	(objc_getClassList): New.
1249	(objc_setGetUnknownClassHandler): New.
1250	(objc_get_unknown_class_handler): New.
1251	* objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
1252	instead of __objc_runtime_INCLUDE_GNU as include guard.
1253	* objc-private/error.h (_objc_abort): Mark as noreturn.
1254
12552010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1256
1257	* Makefile.in (C_SOURCE_FILES): Added ivars.c.
1258	* ivars.c: New.
1259	* objc/objc.h: Updated comments.
1260	* objc/runtime.h (object_getClass): New.
1261	(object_getClassName): New.
1262	(object_setClass): New.
1263	(class_getInstanceVariable): New.
1264	(object_getIndexedIvars): New.
1265	(object_getInstanceVariable): New.
1266	(object_setInstanceVariable): New.
1267	(object_getIvar): New.
1268	(object_setIvar): New.
1269	(ivar_getName): New.
1270	(ivar_getOffset): New.
1271	(ivar_getTypeEncoding): New.
1272	* objc-private/module-abi-8.h (struct objc_class): Added.
1273	* objects.c (object_getClassName): New.
1274	(object_setClass): New.
1275
12762010-10-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1277
1278	* objc/objc.h: Updated comments.
1279	* objc/objc-api.h: (object_copy): Added one argument; use a
1280	#define to maintain backwards-compatibility.  Moved
1281	_objc_object_alloc, _objc_object_copy, _objc_object_dispose and
1282	objc_get_uninstalled_dtable into
1283	objc/deprecated/objc_get_uninstalled_dtable.h and
1284	objc/deprecated/objc_object_alloc.h.  Include these files.
1285	* objc/deprecated/objc_get_uninstalled_dtable.h: New.
1286	* objc/deprecated/objc_object_alloc.h: New.
1287	* objc/runtime.h (set_getName): New.
1288	(sel_getType): New.
1289	(sel_getUid): New.
1290	(sel_registerName): New.
1291	(sel_registerTypedName): New.
1292	(sel_isEqual): New.
1293	(class_createInstance): New.
1294	(object_copy): New.
1295	(object_dispose): New.
1296	* objects.c: Do not include tconfig.h.  Include gc_typed.h if
1297	building the garbage collection version.
1298	(__objc_object_alloc): Removed.
1299	(__objc_object_copy): Removed.
1300	(__objc_object_dispose): Removed.
1301	(class_createInstance): New from code in class_create_instance.
1302	Cast second argument of GC_malloc_explicitly_typed.  Use
1303	objc_calloc.  Do not call _objc_object_alloc.
1304	(class_create_instance): Call class_createInstance.
1305	(object_copy): Added extraBytes argument.  Do not call
1306	_objc_object_copy.
1307	(object_dispose): Do not call _objc_object_dispose.
1308	* memory.c (objc_free): When using garbage collection, mark the
1309	argument as unused.
1310	* selector.c (sel_getName): New.
1311	(sel_get_name): Call sel_getName.
1312	(sel_getType): New.
1313	(sel_get_type): Call sel_getType.
1314	(sel_registerName): New.
1315	(sel_register_name): Call sel_registerName.
1316	(sel_registerTypedName): New.
1317	(sel_register_typed_name): Call sel_registerTypedName.
1318	(sel_getUid): New.
1319	(sel_get_uid): Call sel_getUid.
1320
13212010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1322
1323	* objc/objc-api.h: Define Method, Method_t, Category and
1324	Category_t.  Prevent including this file at the same time as
1325	objc/runtime.h.  Updated comments.
1326	* objc/deprecated/struct_objc_method.h: Do not define Method,
1327	Method_t.
1328	* objc/deprecated/struct_objc_category.h: Do not define Category,
1329	Category_t.
1330	* objc-private/module-abi-8.h: New file containing a copy of all
1331	the structure definitions.  Not used yet.
1332	* objc/encoding.h (objc_aligned_size): Removed duplicate
1333	declaration.  Updated comments.
1334	* objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
1335	Category, struct objc_method_description, _C_ID and similar,
1336	_C_CONST and similar and _F_CONST and similar.  Added
1337	objc_sizeof_type, objc_alignof_type, objc_aligned_size,
1338	objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
1339	objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
1340	struct objc_struct_layout, objc_layout_structure,
1341	objc_layout_structure_next_member, objc_layout_finish_structure,
1342	objc_layout_structure_get_info.  Prevent including this file at
1343	the same time as objc/objc-api.h.
1344
13452010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1346
1347	* Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
1348	struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
1349	struct_objc_method_list.h, struct_objc_module.h,
1350	struct_objc_protocol_list.h, struct_objc_symtab.h.
1351	* objc/deprecated/struct_objc_category.h: New.
1352	* objc/deprecated/struct_objc_ivar.h: New.
1353	* objc/deprecated/struct_objc_ivar_list.h: New.
1354	* objc/deprecated/struct_objc_method.h: New.
1355	* objc/deprecated/struct_objc_method_list.h: New.
1356	* objc/deprecated/struct_objc_module.h: New.
1357	* objc/deprecated/struct_objc_protocol_list.h: New.
1358	* objc/deprecated/struct_objc_symtab.h: New.
1359	* objc/deprecated/struct_objc_static_instances.h: New.
1360	* objc/objc-api.h: Definitions of deprecated structures moved into
1361	the above header fragment files in objc/deprecated/.  Include the
1362	files instead of definition the structures here.  Updated
1363	comments.
1364	* objc/runtime.h: Updated comments.  Do not include objc-api.h.
1365	(objc_set_enumeration_mutation_handler): Renamed to
1366	objc_setEnumerationMutationHandler.
1367	* objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
1368	to objc_setEnumerationMutationHandler.
1369	* objc/objc-exception.h (objc_set_exception_matcher): Renamed to
1370	objc_setExceptionMatcher.
1371	(objc_set_uncaught_exception_handler): Renamed to
1372	objc_setUncaughtExceptionHandler.
1373	* exception.c: Same changes.
1374
13752010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1376
1377	* objc-sync.c: Include objc-private/common.h.
1378
13792010-10-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1380
1381	* objc-foreach.c: Include objc-private/common.h.
1382	* objc/deprecated/METHOD_NULL.h: New file.
1383	* objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
1384	defining METHOD_NULL here.
1385	* Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
1386	* Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
1387	METHOD_NULL.
1388	([-respondsTo:]): Same change.
1389	* objc/objc-api.h (method_get_imp): Converted it into a normal
1390	function so that we can hide the internals of struct objc_method.
1391	* sendmsg.c (method_get_imp): Implemented.
1392
13932010-10-09  Nicola Pero  <nicola.pero@meta-innovation.com>
1394
1395	* objc/objc-api.h (struct objc_super, Super, Super_t,
1396	objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
1397	objc_msg_forward2): Declarations moved to objc/message.h.  Include
1398	message.h here.
1399	* objc/message.h: Added such declarations; updated comments.
1400
14012010-10-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1402
1403	Implemented fast enumeration for Objective-C.
1404	* Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
1405	(OBJC_H): Added runtime.h
1406	* objc-foreach.c: New file.
1407	* objc/runtime.h: New file.
1408
14092010-09-30  Kai Tietz  <kai.tietz@onevision.com>
1410
1411	* objc/deprecated/struct_objc_class.h: Add padding
1412	to avoid warning with -Wpadded.
1413
14142010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1415
1416	* encoding.c (objc_sizeof_type): Added support for vector type and
1417	for double long types.
1418	(objc_alignof_type): Same change.
1419	(objc_skip_typespec): Same change.
1420	* objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
1421	instead of '!' since '!' is already used for _C_VECTOR.
1422	* objc/objc-api.h (_C_LNG_DBL): Added.
1423
14242010-09-26  Nicola Pero  <nicola.pero@meta-innovation.com>
1425
1426	* libobjc_entry.c: File removed.
1427
14282010-09-26  Kai Tietz  <kai.tietz@onevision.com>
1429
1430	* sendmsg.c (objc_msg_lookup): Remove inline.
1431	(objc_get_uninstalled_dtable): Likewise.
1432	* encoding.c (objc_skip_type_qualifiers): Likewise.
1433	(objc_skip_offset): Likewise.
1434	* archive.c (__objc_write_object): Likewise
1435	(__objc_write_class):
1436	(__objc_write_selector):
1437	(objc_read_char):
1438	(objc_read_unsigned_char):
1439	(objc_read_short):
1440	(objc_read_unsigned_short):
1441	(objc_read_int):
1442	(objc_read_long):
1443	(__objc_read_nbyte_uint):
1444	(objc_read_unsigned_int):
1445	(objc_read_unsigned_long):
1446	* objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
1447	(objc_EXPORT): Likewise.
1448	* objc/message.h (objc-decls.h): Add include.
1449	* objc/objc-api.h: Mark API by objc_EXPORT.
1450	* libobjc.def (__objc_responds_to): Removed.
1451
14522010-09-18  Nicola Pero  <nicola.pero@meta-innovation.com>
1453
1454	* hash.c: Include objc-private/hash.h instead of objc/hash.h.
1455
1456	* objc/sarray.h: Moved into objc/deprecated/sarray.h;
1457	objc/sarray.h replaced with a placeholder including the file from
1458	the deprecated/ directory.
1459	* objc-private/sarray.h: New file (private copy of sarray.h).
1460	* hash.c: Include <assert.h> instead of "assert.h"
1461	* sarray.c: Include <assert.h> instead of "assert.h".  Include
1462	objc-private/sarray.h instead of objc/sarray.h.
1463	* selector.c: Include objc-private/sarray.h instead of
1464	objc/sarray.h.
1465	* sendmsg.c: Include <assert.h>.  Include objc-private/sarray.h
1466	instead of objc/sarray.h.
1467	* Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
1468
14692010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1470
1471	* objc-private/objc-list.h (list_remove_elem): Unused function
1472	removed.  (list_nth): Unused function removed.  (list_find):
1473	Unused function removed.  (list_lenght): Unused function removed.
1474
14752010-09-17  Nicola Pero  <nicola.pero@meta-innovation.com>
1476
1477	* objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
1478	replaced with a placeholder including the file from the
1479	deprecated/ directory.
1480	* objc/objc-api.h: Updated includes.
1481	* objc/typedstream.h: Updated includes.
1482	* objc-private/hash.h: New file (private copy of hash.h).
1483	* objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
1484	objc/objc-list.h replaced with a placeholder including the file
1485	from the deprecated/ directory.
1486	* objc-private/objc-list.h: New file (private copy of objc-list.h).
1487	* init.c: Include objc-private/hash.h and objc-private/objc-list.h
1488	instead of objc/hash.h and objc/objc-list.h.
1489	* selector.c: Same change.
1490	* class.c: Added include <string.h>, which used to be implicitly included
1491	when hash.h was included.
1492	* exception.c: Same change.
1493	* objects.c: Same change.
1494	* sarray.c: Same change.
1495	* sendmsg.c: Same change.
1496	* Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1497
14982010-09-14  Nicola Pero  <nicola.pero@meta-innovation.com>
1499
1500	Implemented objc_sync_enter() and objc_sync_exit(), which are
1501	required by @synchronized() to work.
1502	* objc-sync.c: New file.
1503	* objc/objc-sync.h: New file.
1504	* objc-private/objc-sync.h: New file.
1505	* init.c (__objc_exec_class): Call __objc_sync_init() during the
1506	Objective-C runtime startup.
1507	* Makefile.in: Added objc-sync.c and objc-sync.h.
1508	* configure.ac: Added GCC_CHECK_TLS.
1509	* acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
1510	* configure: Regenerated.
1511	* config.h.in: Regenerated.
1512
15132010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1514
1515	* Makefile.in (%_gc.lo): New pattern rules to build the
1516	garbage-collected version of the library.  Removed rules for
1517	specific files that are no longer needed.  Standardized all rules.
1518	(C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
1519	(OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
1520	OBJC_SOURCE_FILES.
1521	(INCLUDES): Removed the unused include -I$(srcdir)/objc.
1522
15232010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1524
1525	* memory.c (objc_calloc): Fixed call to GC_malloc when building
1526	with Garbage Colletion.
1527
15282010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1529
1530	* memory.c: Do not include objc-private/runtime.h.
1531
15322010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1533
1534	* objc/deprecated/objc_malloc.h: New file.
1535	* objc/deprecated/objc_valloc.h: New file.
1536	* objc/objc-api.h: Include the files instead of defining
1537	objc_valloc, _objc_malloc() and similar.
1538	* Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
1539	objc_malloc.h.
1540	* memory.c: Removed the extra layer of indirection of _objc_malloc
1541	and similar.
1542	(objc_calloc): Use GC_malloc in the garbage-collected
1543	implementation as GC_malloc returns memory that is already freed.
1544	(objc_valloc): Deprecated.
1545
15462010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1547
1548	* objc/deprecated/objc_error.h: New file.
1549	* objc/objc-api.h: Include deprecated/objc_error.h instead of
1550	defining objc_error and related.
1551	* error.c: New file.  Added _objc_abort function which replaces
1552	objc_error.  No change in functionality as they both print an
1553	error and abort.
1554	* misc.c: File removed.  Code moved into memory.c and error.c.
1555	* memory.c: New file.
1556	* objc-private/error.h: New file.
1557	* archive.c: Include objc-private/error.h and use _objc_abort
1558	instead of objc_error everywhere.
1559	* class.c: Same change.
1560	* encoding.c: Same change.
1561	* init.c: Same change, and simplified init_check_module_version.
1562	* memory.c: Same change.
1563	* sendmsg.c:  Same change.
1564	* thr.c: Same change.
1565	* Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
1566	(OBJ_H): Reordered list.
1567	(OBJS): Removed misc.lo, added memory.lo and error.lo.
1568	(OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
1569	(misc_gc.lo): Rule removed.
1570	(error_gc.lo): Rule added.
1571	(memory_gc.lo): Rule added.
1572
15732010-09-12  Nicola Pero  <nicola.pero@meta-innovation.com>
1574
1575	* objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
1576	to check the API version.  Added some comments.
1577
1578	* objc-private/common.h: New file.
1579	* NXConstStr.m: Include objc-private/common.h.
1580	* Object.m: Same change.
1581	* Protocol.m: Same change.
1582	* archive.c: Same change.
1583	* class.c: Same change.
1584	* encoding.c: Same change.
1585	* exception.c: Same change.
1586	* gc.c: Same change.
1587	* hash.c: Same change.
1588	* init.c: Same change.
1589	* libobjc_entry.c: Same change.
1590	* linking.m: Same change.
1591	* misc.c: Same change (and added a comment).
1592	* nil_method.c: Same change.
1593	* objects.c: Same change.
1594	* sarray.c: Same change.
1595	* selector.c: Same change.
1596	* sendmsg.c: Same change.
1597	* thr.c: Same change.
1598
15992010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1600
1601	* objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
1602
16032010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1604
1605	* archive.c: Removed not needed includes.
1606	* class.c: Same change.
1607	* hash.c: Same change.
1608	* misc.c: Same change.
1609	* nil_method.c: Same change.
1610	* objects.c: Same change.
1611	* sarray.c: Same change.
1612	* sendmsg.c: Same change.
1613	* thr.c: Same change.
1614
16152010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1616
1617	* objc/runtime.h: Moved to objc-private/runtime.h.  Do not include
1618	all the objc/*.h files.
1619	* objc-private/runtime.h: New file.
1620	* archive.c: Include objc-private/runtime.h (and required objc/*.h
1621	files) instead of objc/runtime.h.
1622	* class.c: Same change.
1623	* hash.c: Same change.
1624	* init.c: Same change.
1625	* misc.c: Same change.
1626	* nil_method.c: Same change.
1627	* objects.c: Same change.
1628	* sarray.c: Same change.
1629	* selector.c: Same change.
1630	* sendmsg.c: Same change.
1631	* thr.c: Same change.
1632
16332010-09-11  Nicola Pero  <nicola.pero@meta-innovation.com>
1634
1635	* objc/deprecated/struct_objc_selector.h: New file.  Definition of
1636	'struct objc_selector' and 'sel_eq' moved here.
1637	* objc/deprecated/struct_objc_protocol.h: New file.  Definition of
1638	'struct objc_procotol' moved here.
1639	* objc/deprecated/struct_objc_class.h: New file.  Definition of
1640	'struct objc_class' moved here.
1641	* objc/deprecated/MetaClass.h: New file.  Definition of MetClass
1642	moved here.
1643	* objc/deprecated/STR.h: New file.  Definition of STR moved here.
1644	* objc/message.h: New file.  Definitions for relval_t, apply_t,
1645	arglist, arglist_t and objc_msg_lookup were moved here.
1646	* objc/objc.h: Include the above files instead of defining the
1647	corresponding structs, types and functions here.  Added new opaque
1648	definitions for SEL and Class.  Use Class and not 'struct
1649	objc_class *' in the definition of 'struct objc_object'.
1650	Commented all types defined in the file.  Removed special
1651	definition of BOOL as 'int' on __vxworks; use 'unsigned char'
1652	there as well.
1653	* objc/deprecated/objc-unexpected-exception.h: Renamed to
1654	objc_unexpected_exception.h.
1655	* objc/objc-api.h: Updated include of
1656	objc-unexpetected-exception.h
1657	* objc/objc-exception.h: Updated comments.
1658	* Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
1659	files.  Reindented list of files.
1660
16612010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1662
1663	* objc/objc-api.h (objc_trace): Unused variable removed.
1664
16652010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1666
1667	* objc/deprecated: New directory.
1668	* objc/deprecated/README: New file.
1669	* objc/README: New file.
1670	* objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
1671	objc/typedstream.h replaced with a placeholder including the file
1672	from the deprecated/ directory.
1673	* objc/deprecated/objc-unexpected-exception.h: New file with the
1674	definition of _objc_unexpected_exception.
1675	* objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
1676	instead of defining _objc_unexpected_exception.
1677	* objc/deprecated/Object.h: New file with the deprecated Object
1678	methods in a 'Deprecated' category.
1679	* objc/Object.h Include deprecated/Object.h instead of defining
1680	the deprecated methods.
1681	* Object.m: Moved deprecated methods into 'Deprecated' category.
1682	* objc-private: New directory.
1683	* objc-private/README: New file.
1684	* Makefile.in (OBJC_DEPRECATED_H): New variable.
1685	(install-headers): Create installation directory for
1686	OBJC_DEPRECATED_H headers, and install them.
1687
16882010-09-10  Nicola Pero  <nicola.pero@meta-innovation.com>
1689
1690	* objc/objc-exception.h: Fixed include of objc.h.
1691
16922010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1693
1694	* objc/objc-exception.h: New file.
1695	* exception.c (objc_set_uncaught_exception_handler): Implemented.
1696	(objc_set_exception_matcher): Implemented.
1697	(objc_exception_throw): Use the uncaught exception handler if set.
1698	(PERSONALITY_FUNCTION): Use the exception matcher instead of the
1699	hardcoded isKindOf.
1700	(isKindOf): Renamed to is_kind_of_exception_matcher.  Tidied code
1701	up.  Removed segmentation fault when value is 'nil'.
1702	* objc/objc-api.h (_objc_unexpected_exception): Mark as
1703	deprecated.
1704	* Makefile.in (exception.lo, exception_gc.lo): Use
1705	-Wno-deprecated-declarations when compiling.
1706	(OBJC_H): Added objc-exception.h
1707
17082010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1709
1710	* objc/typedstream.h: Deprecate all functions in the file.  This
1711	file is obsolete.
1712	* objc/Object.h ([+streamVersion:], [-read:], [-write:],
1713	[-awake]): Documented that these methods are deprecated.  Added a
1714	brief description of the Object class and its relationship to the
1715	NSObject class.
1716	* Makefile.in: Compile archive.c and Object.m with
1717	-Wno-deprecated-declarations.
1718
17192010-09-08  Nicola Pero  <nicola.pero@meta-innovation.com>
1720
1721	Removed obsolete intermediate threading layer.
1722	* thr.c: Use __gthread_objc_xxx functions directly instead of
1723	__objc_thread_xxx ones.
1724	* objc/thr.h: Removed prototypes of no longer existing
1725	__objc_thread_xxx functions.
1726	* Makefile.in: Removed thr-objc.lo.
1727	* thr-dce.c: File removed.
1728	* thr-decosf1.c: File removed.
1729	* thr-irix.c: File removed.
1730	* thr-mach.c: File removed.
1731	* thr-objc.c: File removed.
1732	* thr-os2.c: File removed.
1733	* thr-posix.c: File removed.
1734	* thr-pthreads.c: File removed.
1735	* thr-rtems.c: File removed.
1736	* thr-single.c: File removed.
1737	* thr-solaris.c: File removed.
1738	* thr-vxworks.c: File removed.
1739	* thr-win32.c: File removed.
1740	* README.threads: File removed.
1741	* THREADS.MACH: File removed.
1742	* THREADS: Updated.
1743
17442010-09-07  Nicola Pero  <nicola.pero@meta-innovation.com>
1745
1746	* Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
1747
17482010-09-06  Iain Sandoe  <iains@gcc.gnu.org>
1749
1750	* encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
1751	Add a comment as to why, update FIXME comments.
1752
17532010-09-06  Nicola Pero  <nicola.pero@meta-innovation.com>
1754
1755	* makefile.dos: Obsolete file removed.
1756
17572010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1758
1759	* aclocal.m4: Regenerate.
1760
17612010-03-23  Dave Korn  <dave.korn.cygwin@gmail.com>
1762
1763	PR libobjc/30445
1764	* configure.ac (extra_ldflags_libobjc): Define appropriately for
1765	Cygwin and MinGW hosts.
1766	* Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
1767	(libobjc.dll): Likewise.
1768	* configure: Regenerate.
1769
17702009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1771
1772	* configure: Regenerate.
1773
17742009-11-28  Jakub Jelinek  <jakub@redhat.com>
1775
1776	* sarray.c (sarray_free): Use old_buckets variable.
1777	* encoding.c (objc_layout_structure_next_member): Remove unused
1778	bfld_type_size variable.
1779
17802009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1781
1782	* configure.ac (AC_PREREQ): Bump to 2.64.
1783
17842009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1785
1786	* aclocal.m4: Regenerate.
1787	* configure: Regenerate.
1788	* config.h.in: Regenerate.
1789
17902009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1791
1792	* Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
1793
17942009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1795
1796	* Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
1797	New variables.
1798	($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
1799
18002009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1801
1802	* configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
1803
18042009-04-09  Nick Clifton  <nickc@redhat.com>
1805
1806	* sendmsg.c: Change copyright header to refer to version 3 of
1807	the GNU General Public License with version 3.1 of the GCC
1808	Runtime Library Exception and to point readers at the COPYING3
1809	and COPYING3.RUNTIME files and the FSF's license web page.
1810	* NXConstStr.m: Likewise.
1811	* Object.m: Likewise.
1812	* Protocol.m: Likewise.
1813	* archive.c: Likewise.
1814	* class.c: Likewise.
1815	* encoding.c: Likewise.
1816	* exception.c: Likewise.
1817	* gc.c: Likewise.
1818	* hash.c: Likewise.
1819	* init.c: Likewise.
1820	* libobjc_entry.c: Likewise.
1821	* linking.m: Likewise.
1822	* misc.c: Likewise.
1823	* nil_method.c: Likewise.
1824	* objc/NXConstStr.h: Likewise.
1825	* objc/Object.h: Likewise.
1826	* objc/Protocol.h: Likewise.
1827	* objc/encoding.h: Likewise.
1828	* objc/hash.h: Likewise.
1829	* objc/objc-api.h: Likewise.
1830	* objc/objc-decls.h: Likewise.
1831	* objc/objc-list.h: Likewise.
1832	* objc/objc.h: Likewise.
1833	* objc/runtime.h: Likewise.
1834	* objc/sarray.h: Likewise.
1835	* objc/thr.h: Likewise.
1836	* objc/typedstream.h: Likewise.
1837	* objects.c: Likewise.
1838	* sarray.c: Likewise.
1839	* selector.c: Likewise.
1840	* thr-dce.c: Likewise.
1841	* thr-decosf1.c: Likewise.
1842	* thr-irix.c: Likewise.
1843	* thr-mach.c: Likewise.
1844	* thr-objc.c: Likewise.
1845	* thr-os2.c: Likewise.
1846	* thr-posix.c: Likewise.
1847	* thr-pthreads.c: Likewise.
1848	* thr-rtems.c: Likewise.
1849	* thr-single.c: Likewise.
1850	* thr-solaris.c: Likewise.
1851	* thr-vxworks.c: Likewise.
1852	* thr-win32.c: Likewise.
1853	* thr.c: Likewise.
1854	* libobjc.def: Change copyright header to refer to version 3 of
1855	the GNU General Public License and to point readers at the COPYING3
1856	file and the FSF's license web page.
1857	* makefile.dos: Likewise.
1858
18592009-04-09  Jakub Jelinek  <jakub@redhat.com>
1860
1861	* Makefile.in: Change copyright header to refer to version
1862	3 of the GNU General Public License and to point readers at the
1863	COPYING3 file and the FSF's license web page.
1864	* configure.ac: Likewise.
1865
18662009-03-12  Richard Frith-Macdonald  <rfm@gnu.org>
1867	    David Ayers  <ayers@fsfe.org>
1868
1869	PR libobjc/27466
1870	* objc/objc-api.h (_objc_unexpected_exception): Declare
1871	new hook.  Update copyright dates.
1872	* exception.c (objc_exception_throw): Use hook.  Update
1873	copyright dates.
1874	* libobjc.def (_objc_unexpected_exception): Export hook.
1875	Update copyright dates.
1876
18772009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1878
1879	* configure: Regenerate.
1880
18812008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1882
1883	* configure: Regenerate.
1884
18852008-11-21  Kai Tietz  <kai.tietz@onevision.com>
1886
1887	*  Object.m (errno): Replaced by errno.h include.
1888	(compare): Cast self to id to prevent warning on comparison.
1889	* objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
1890	already there.
1891	* sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
1892	* thr-win32.c (__objc_thread_detach): Remove type warning.
1893	(__objc_thread_id): Likewise.
1894	* thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
1895	for noreturn.
1896
18972008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
1898            Steve Ellcey  <sje@cup.hp.com>
1899
1900	* configure: Regenerate for new libtool.
1901	* config.h.in: Regenerate for new libtool.
1902
19032008-07-18  Matthias Klose  <doko@ubuntu.com>
1904
1905	* Makefile.in: Ignore missing ../boehm-gc/threads.mk.
1906
19072008-07-18  Matthias Klose  <doko@ubuntu.com>
1908
1909	* Makefile.in: Include ../boehm-gc/threads.mk.
1910	(OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
1911
19122008-07-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1913
1914	* Makefile.in (install-info): New stub target.
1915
19162008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1917
1918	* configure: Regenerate.
1919
19202008-06-14  Kai Tietz  <kai.tietz@onevision.com>
1921
1922	* exception.c (PERSONALITY_FUNCTION): Remove extra decrement
1923	if HAVE_GETIPINFO is not defined.
1924
19252008-06-10  Kai Tietz  <kai.tietz@onevision.com>
1926
1927	* Object.m (compare): Add type id.
1928	* objc/Object.h: Likewise.
1929	* archive.c (objc_read_class): Use size_t to extend version to be
1930	size of pointer scalar width.
1931	* sendmsg.c (rtx): Undefine it before redefinition.
1932	(__objc_print_dtable_stats): Cast arguments to long as intended.
1933
19342008-05-30  Julian Brown  <julian@codesourcery.com>
1935
1936	* exception.c (__objc_exception_class): Initialise as constant
1937	array for ARM EABI. Change macro to static const for non-ARM EABI.
1938	(ObjcException): Add note about structure layout. Remove landingPad
1939	and handlerSwitchValue for ARM EABI.
1940	(get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
1941	of function.
1942	(CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
1943	(PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
1944	ARM EABI unwinding support.
1945	(objc_exception_throw): Use memcpy to initialise exception class.
1946
19472008-05-25  Alan Modra  <amodra@bigpond.net.au>
1948
1949	* encoding.c (strip_array_types): Rename from get_inner_array_type.
1950	(rs6000_special_round_type_align): Update.
1951
19522008-05-09  Julian Brown  <julian@codesourcery.com>
1953
1954	* Makefile.in (LTLDFLAGS): New.
1955	(libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
1956
19572008-04-18  Paolo Bonzini  <bonzini@gnu.org>
1958
1959	PR bootstrap/35457
1960	* aclocal.m4: Regenerate.
1961	* configure: Regenerate.
1962
19632008-01-24  David Edelsohn  <edelsohn@gnu.org>
1964
1965	* configure: Regenerate.
1966
19672007-10-14  H.J. Lu  <hongjiu.lu@intel.com>
1968
1969	* configure.ac: Don't run config-ml.in directly.
1970	(multilib_arg): New.
1971	* configure: Regenerated.
1972
19732007-08-06  Andrew Pinski  <pinskia@gmail.com>
1974
1975	PR libobjc/30731
1976	* exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
1977	of _Unwind_Word for variables which are used in
1978	read_uleb128/read_sleb128.
1979	(PERSONALITY_FUNCTION): Likewise.
1980
19812007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
1982
1983	* aclocal.m4: Regenerated.
1984
19852007-06-03  Andrew Pinski  <andrew_pinski@playstation.sony.com>
1986
1987	* configure.ac: Fix a typo in *-*-darwin clause.
1988	* configure: Regenerated.
1989
19902007-06-02  H.J. Lu  <hongjiu.lu@intel.com>
1991
1992	* configure.ac: Fix a typo.
1993	* configure: Regenerated.
1994
19952007-06-02  Paolo Bonzini  <bonzini@gnu.org>
1996
1997	* configure: Regenerate.
1998
19992007-06-01  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2000
2001	* Makefile.in: Replace all uses of libext with libsuffix.
2002	* configure.ac: Likewise.
2003	* configure: Regenerate.
2004
2005	Revert:
2006	* Makefile.in: Remove all uses of $(libext).
2007
20082007-05-23  Andrew Pinski  <andrew_pinski@playstation.sony.com>
2009
2010	* Makefile.in: Remove all uses of $(libext).
2011
20122007-05-23  Steve Ellcey  <sje@cup.hp.com>
2013
2014	* configure: Regenerate.
2015	* aclocal.m4: Regenerate.
2016
20172007-04-21  Andrew Ruder  <andy@aeruder.net>
2018
2019	* sendmsg.c (__objc_get_forward_imp): Call
2020	__objc_msg_forward2 for real.
2021
20222007-04-09  Andrew Ruder  <andy@aeruder.net>
2023
2024	* sendmsg.c: Added __objc_msg_forward2, a hook that allows
2025	external libraries to provide a function that returns the real
2026	forwarding function based on both the selector and the receiver.
2027	* objc/objc-api.h: Define __objc_msg_forward2.
2028
20292007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
2030
2031	* Makefile.in: Add dummy install-pdf target.
2032
20332007-02-18  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
2034
2035	* objc/objc-list.h (list_free): Add keyword 'inline' to avoid
2036	unused warning.
2037
20382006-10-31  Geoffrey Keating  <geoffk@apple.com>
2039
2040	* encoding.c (darwin_rs6000_special_round_type_align): New.
2041
20422006-10-14  Geoffrey Keating  <geoffk@apple.com>
2043
2044	* Makefile.in: Use multi_basedir instead of toplevel_srcdir.
2045	* configure.ac: Use multi.m4 from aclocal rather than custom
2046	code.  Use multi_basedir instead of toplevel_srcdir.
2047	* aclocal.m4: Regenerate.
2048	* configure: Regenerate.
2049
20502006-10-10  Brooks Moses  <bmoses@stanford.edu>
2051
2052	* Makefile.in: Added empty "pdf" target.
2053
20542006-07-18  Paolo Bonzini  <bonzini@gnu.org>
2055
2056	* configure: Regenerate.
2057
20582006-05-23  Carlos O'Donell  <carlos@codesourcery.com>
2059
2060	* Makefile.in: Add install-html target. Add install-html to .PHONY
2061
20622006-02-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2063
2064	PR libobjc/26309
2065	* thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
2066
20672006-01-24  David Ayers  <d.ayers@inode.at>
2068
2069	PR libobjc/9751
2070	* gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
2071	and insure the new strings are '\0' termintated.
2072
20732006-01-24  David Ayers  <d.ayers@inode.at>
2074
2075	PR libobjc/13946
2076	* configure.ac: Add include directives for --enable-objc-gc.
2077	* Makefile.in: Ditto.
2078	* configure: Regenerate.
2079
2080	* gc.c (__objc_class_structure_encoding): Increment the used bytes
2081	instead of the local pointer to them.
2082
20832005-12-14  Andrew Pinski  <pinskia@physics.uc.edu>
2084
2085	PR objc/25360
2086	* objc/objc-api.c (_C_COMPLEX): New define.
2087	* encoding.c (objc_sizeof_type): Handle _C_Complex.
2088	(objc_alignof_type): Likewise.
2089	(objc_skip_typespec): Likewise.
2090
20912005-12-15  David Ayers  <d.ayers@inode.at>
2092
2093	PR libobjc/14382
2094	* README (+load,+initialize): Fix documentation to reflect
2095	intended and implemented semantics for +load and +initialize.
2096
20972005-12-12  Andrew Pinski  <pinskia@physics.uc.edu>
2098
2099	* encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
2100	the name.
2101	(get_inner_array_type): Fix to skip over _C_ARY_B and size.
2102	(rs6000_special_round_type_align): Update for the ABI fix.
2103	(objc_layout_finish_structure): Correct the encoding which is passed to
2104	ROUND_TYPE_ALIGN.
2105
21062005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2107
2108	PR libobjc/25347
2109	* encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
2110	but use the struct layout functions.
2111	(objc_alignof_type): Likewise.
2112	(objc_layout_structure): Handle _C_UNION_B also.
2113	(objc_layout_structure_next_member): Likewise.
2114	(objc_layout_finish_structure): Likewise.
2115
21162005-12-11  Andrew Pinski  <pinskia@physics.uc.edu>
2117
2118	PR libobjc/25346
2119	* objc/objc-api.h (_C_BOOL): New define.
2120	* encoding.c (objc_sizeof_type): Handle _C_BOOL.
2121	(objc_alignof_type): Likewise.
2122	(objc_skip_typespec): Likewise.
2123
21242005-11-20  David Ayers  <d.ayers@inode.at>
2125
2126	PR libobjc/19024
2127	* objc/hash.h: Remove deprecated hash API.
2128	* hash_compat.c: Remove.
2129	* Makefile.in: Remove reference to hash_compat.c.
2130
2131	* configure.ac (VERSION): Bump library version to 2:0:0.
2132	* configure: Regenerate.
2133
21342005-11-09  Alexandre Oliva  <aoliva@redhat.com>
2135
2136	PR other/4372
2137	* thr-objc.c (_XOPEN_SOURCE): Define.
2138
21392005-10-07  Ulrich Weigand  <uweigand@de.ibm.com>
2140
2141	PR libobjc/23612
2142	* objc/objc-api.h (struct objc_ivar): Move definition to
2143	global scope.
2144
21452005-09-04  Andrew Pinski  <pinskia@physics.uc.edu>
2146            Rasmus Hahn  <rassahah@neofonie.de>
2147
2148	PR libobjc/23108
2149	* archive.c (objc_write_type): Correct the element offset.
2150	(objc_read_type): Likewise.
2151
21522005-08-17  Kelley Cook  <kcook@gcc.gnu.org>
2153
2154	* All files: Update FSF address.
2155
21562005-08-13  Marcin Koziej  <creep@desk.pl>
2157            Andrew Pinski  <pinskia@physics.uc.edu>
2158
2159	PR libobjc/22492
2160	* exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
2161
21622005-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2163
2164	* Makefile.in (extra_ldflags_libobjc): New.
2165	(libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
2166	(libobjc_gc$(libext).la): Likewise.
2167	* configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
2168	"-Wl,-single_module".
2169	* configure: Regenerate.
2170	* linking.m (_objcInit): Remove.
2171
21722005-07-26  Andrew Pinski  <pinskia@physics.uc.edu>
2173
2174	PR libobjc/22606
2175	* Makefile.in (ALL_CFLAGS): Add -fexceptions.
2176
21772005-06-08  David Ayers  <d.ayers@inode.at>
2178
2179	* objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
2180	objc/encoding.h, objc/hash.h, objc/objc-api.h,
2181	objc/runtime.h, objc/sarray.h, objc/thr.h,
2182	objc/typedstream.h: Do not include Objective-C headers as
2183	system headers.
2184
21852005-06-07  David Ayers  <d.ayers@inode.at>
2186
2187	* archive.c, init.c, selector.c: Include hash.h.
2188	* archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
2189	init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
2190	sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
2191	thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
2192	thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
2193	Include Objective-C headers with quotes and objc/ directory
2194	prefix.
2195
21962005-05-19  Richard Henderson  <rth@redhat.com>
2197
2198	* exception.c: Revert last change.
2199
22002005-05-19  David Ayers  <d.ayers@inode.at>
2201
2202	* exception.c: Include tsystem.h for unwind.h.
2203
22042005-05-09  Mike Stump  <mrs@apple.com>
2205
2206	* configure: Regenerate.
2207
22082005-04-12  Mike Stump  <mrs@apple.com>
2209
2210	* configure: Regenerate.
2211
22122005-03-21  Zack Weinberg  <zack@codesourcery.com>
2213
2214	* Makefile.in: Set gcc_version here.
2215	* configure.ac: Do not invoke TL_AC_GCC_VERSION.  Adjust quoting
2216	in definition of toolexeclibdir so that $(gcc_version) is expanded
2217	by the Makefile.
2218	* aclocal.m4, configure: Regenerate.
2219
22202005-03-03  David Ayers  <d.ayers@inode.at>
2221
2222	* objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
2223	version reference.  Correct typo.
2224
22252005-03-02  David Ayers  <d.ayers@inode.at>
2226
2227	PR libobjc/19024
2228	* Makefile.in (OBJS): Add hash_compat.lo.
2229	(OBJS_GC): Add hash_compat_gc.lo.
2230	(hash_compat_gc.lo): New target and rule.
2231	* objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
2232	(hash_next, hash_value_for_key, hash_is_key_in_hash)
2233	(hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
2234	with objc_.  Add deprecated non prefixed inlined versions.
2235	(OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
2236	declarations.
2237	* hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
2238	(hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
2239	update callers.
2240	* hash_compat.c: New file.
2241	* archive.c: Update callers.
2242	* init.c: Likewise.
2243	* selector.c: Likewise.
2244	* libobjc.def: Add objc_ versions of hash functions.
2245
22462005-02-28  Andrew Pinski <pinskia@physics.uc.edu>
2247
2248	PR libobjc/20252
2249	* Makefile.in (GTHREAD_FLAGS): Remove.
2250	(ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
2251	* thr-objc.c: Include config.h.
2252	* configure.ac: Instead of looking at GCC's makefile, figure out if
2253	GTHREAD_FLAGS should be defined by looking at the `thread model'
2254	of the current gcc.
2255	* configure: Regenerate.
2256	* config.h.in: Regenerate.
2257
22582005-02-28  Paolo Bonzini  <bonzini@gnu.org>
2259
2260	PR bootstrap/17383
2261	* configure.ac: Call GCC_TOPLEV_SUBDIRS.
2262	(Determine CFLAGS for gthread): Use $host_subdir.
2263	* configure: Regenerate.
2264	* Makefile.in (host_subdir): New.
2265	(INCLUDES): Use it.
2266
22672004-12-20  Andrew Pinski  <pinskia@physics.uc.edu>
2268
2269	PR libobjc/12035
2270	* gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
2271	they are not used.
2272	Include limits.h and stdlib.h.
2273	Define BITS_PER_WORD.
2274
22752004-12-12  Alexander Malmberg  <alexander@malmberg.org>
2276
2277	* selector.c (__objc_init_selector_tables): Add missing void to
2278	definition.
2279
22802004-12-02  Richard Sandiford  <rsandifo@redhat.com>
2281
2282	* configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
2283	* configure, aclocal.m4: Regenerate.
2284
22852004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
2286
2287	* configure: Regenerate for libtool change.
2288
22892004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
2290
2291	* configure: Regenerate for libtool reversion.
2292
22932004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2294
2295	* configure: Regenerate for libtool change.
2296
22972004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
2298
2299	* aclocal.m4, config.h.in: Regenerate.
2300
23012004-10-08  Mike Stump  <mrs@apple.com>
2302	    Andrew Pinski  <pinskia@physics.uc.edu>
2303
2304	* aclocal.m4: Rename to ...
2305	* acinclude.m4: here and also use m4_include instead of sinclude.
2306	* aclocal.m4: Regenerate.
2307	* configure: Regenerate.
2308	* configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
2309	* Makefile.in (configure): Add @MAINT@ infront of configure.ac
2310
23112004-10-08  Andrew Pinski  <pinskia@physics.uc.edu>
2312
2313	* archive.c: Fix all the warnings about passing unsigned char*
2314	to char* and the other way too.
2315
23162004-09-16  Andrew Pinski  <pinskia@physics.uc.edu>
2317
2318	PR libobjc/16448
2319	* exception.c: Include config.h
2320	(objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
2321	SJLJ_EXCEPTIONS.
2322	* configure.ac: Find out what exception handling code we use.
2323	* configure: Regenerate.
2324	* config.h.in: New file, regenerate.
2325
23262004-09-16  Andrew Pinski  <apinski@apple.com>
2327
2328	* encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
2329
23302004-08-28  Nathanael Nerode  <neroden@gcc.gnu.org>
2331
2332	* configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
2333	ACX_NONCANONICAL_TARGET.
2334	* configure: Regenerate.
2335
23362004-08-13  Ziemowit Laski  <zlaski@apple.com>
2337
2338	* objc/sarray.h: Hoist include of assert.h near the top of file,
2339	and mark the remainder of the file 'extern "C"'.
2340
23412004-08-13  Andrew Pinski  <pinskia@physics.uc.edu>
2342
2343	* objc/Object.h: Move includes out of extern "C" blocks.
2344	* objc/encoding.h: Likewise.
2345	* objc/hash.h: Likewise.
2346	* objc/objc-api.h: Likewise.
2347	* objc/runtime.h: Likewise.
2348	* objc/sarray.h: Likewise.
2349	* objc/typedstream.h: Likewise.
2350
23512004-08-12  Ziemowit Laski  <zlaski@apple.com>
2352
2353	* objc/NXConstStr.h: Update copyright date; bracket with
2354	'extern "C"' for C++ use; make include syntax consistent
2355	by using <...> instead of "..."; hoist <objc/...> includes
2356	above the 'extern "C"' block.
2357	* objc/Object.h: Likewise.
2358	* objc/Protocol.h: Likewise.
2359	* objc/encoding.h: Likewise.
2360	* objc/hash.h: Likewise.
2361	* objc/runtime.h: Likewise.
2362	* objc/sarray.h: Likewise.
2363	* objc/thr.h: Likewise.
2364	* objc/typedstream.h: Likewise.
2365	* objc/objc-api.h: Add 'extern "C"' block for C++ use.
2366	(objc_static_instances): For C++ case, do away with
2367	zero-sized array.
2368	(objc_method): Hoist definition to file scope.
2369	(_objc_load_callback, _objc_object_alloc, class_get_class_method,
2370	class_get_instance_method, class_create_instance,
2371	class_get_class_name, class_get_instance_size,
2372	class_get_meta_class, class_get_super_class, class_get_version,
2373	class_is_class, class_is_meta_class, class_set_version,
2374	class_get_gc_object_type, class_ivar_set_gcinvisible,
2375	get_imp): Rename 'class' parameter to '_class'.
2376	* objc/objc-list.h: Add 'extern "C"' block for C++ use.
2377	* objc/objc.h: Update copyright date.
2378	(arglist_t): Provide a union tag.
2379
23802004-07-22  Andrew Pinski  <pinskia@physics.uc.edu>
2381
2382	* thr.c (__objc_thread_detach_function): Do not mark as volatile
2383	but instead use the attribute noreturn.
2384
23852004-06-28  Zack Weinberg  <zack@codesourcery.com>
2386
2387	* encoding.c: Rename target_flags with a #define to avoid
2388	conflict with a prior declaration.
2389
23902004-06-24  Andrew Pinski  <apinski@apple.com>
2391
2392	* objc/encoding.h: Wrap the functions with extern "C" for C++
2393	mode.
2394	* objc/hash.h: Likewise.
2395	* objc/objc-api.h: Likewise.
2396	* objc/objc-list.h: Likewise.
2397	* objc/runtime.h: Likewise.
2398	* objc/sarray.h: Likewise.
2399	* objc/thr.h: Likewise.
2400	* objc/typedstream.h: Likewise.
2401
2402
24032004-06-21  Nick Clifton  <nickc@redhat.com>
2404
2405	* encoding.c (BITS_PER_UNIT): Define if a definition is not
2406	provided.
2407
24082004-06-20  Alexander Malmberg  <alexander@malmberg.org>
2409
2410	* Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
2411	(exception_gc.lo): New.
2412	(OBJS_GC): Add exception_gc.lo.
2413
24142004-06-17  Richard Henderson  <rth@redhat.com>
2415
2416	* exception.c: New file.
2417	* Makefile.in (exception.lo): New.
2418	(OBJS): Add it.
2419
24202004-06-14  Andrew Pinski  <pinskia@physics.uc.edu>
2421
2422	* linking.m (_objcInit): New empty function
2423	for Darwin only.
2424
24252004-06-11  Andrew Pinski  <pinskia@physics.uc.edu>
2426
2427	* configure.ac: Support --enable-shared=libobjc.
2428	* configure: Regenerate.
2429
2430	PR libobjc/15901
2431	* configure.ac: Do not disable shared by default.
2432	* configure: Regenerate.
2433
24342004-06-03  Nicola Pero  <n.pero@mi.flashnet.it>
2435
2436	* Protocol.m ([-isEqual:]): Small optimizations returning
2437	immediately if the argument is equal to self, and accessing
2438	the argument's name directly if it's a protocol.
2439
24402004-06-03  David Ayers  <d.ayers@inode.at>
2441
2442	* Protocol.m ([-isEqual:]): Test the class of the argument.
2443
24442004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2445
2446	* configure.ac (includedir): Rename to ...
2447	(includedirname).
2448	* Makefile.in: s/includedir/includedirname/.
2449
2450	PR target/11572
2451	* configure.ac (includedir): Set to "include"
2452	except for Darwin.
2453	(libext) Set to empty except for Darwin.
2454	* configure: Regenerate
2455	* Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
2456	s/include/$(includedir)/g.
2457
24582004-05-25  Daniel Jacobowitz  <drow@false.org>
2459
2460	* Makefile.in: Add .NOEXPORT.
2461
24622004-05-25  Andrew Pinski  <pinskia@physics.uc.edu>
2463
2464	Merge from the libobjc-branch
2465	2004-02-09  Andrew Pinski  <pinskia@physics.uc.edu>
2466
2467		* Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
2468
2469	2004-02-03  Andrew Pinski  <pinskia@physics.uc.edu>
2470
2471		* Makefile.in (OBJC_H): Add objc-deps.h.
2472
2473	2004-01-27  Nicola Pero  <n.pero@mi.flashnet.it>
2474
2475		* Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
2476		([-hash], [-isEqual:]): New methods.
2477
2478	2004-01-27  Richard Frith-Macdonald <rfm@gnu.org>
2479
2480		* sarray.c (sarray_free): Add a better comment.
2481
2482	2004-01-27  Adam Fedor  <fedor@gnu.org>
2483
2484		* hash.c (hash_add): Cast cachep to int.
2485		* selector.c (__sel_register_typed_name): Cast
2486		soffset_decode to int.
2487
2488	2004-01-27  Alexander Malmberg  <alexander@malmberg.org>
2489
2490		* selector.c: Rename register_selectors_from_list to
2491		__objc_register_selectors_from_list. Update caller.
2492		(__objc_register_selectors_from_list): Lock __objc_runtime_mutex
2493		while registering selectors. Use __sel_register_typed_name instead
2494		of sel_register_typed_name. Check for NULL method_name:s.
2495		(pool_alloc_selector): New function.
2496		(__sel_register_typed_name): Use pool_alloc_selector to allocate
2497		selector structures.
2498		* sendmsg.c (class_add_method_list): Use
2499		__objc_register_selectors_from_list.
2500		* objc/runtime.h: Add __objc_register_selectors_from_list.
2501
2502	2004-01-25  Adam Fedor  <fedor@gnu.org>
2503		    Nicola Pero  <n.pero@mi.flashnet.it>
2504		    Andrew Pinski  <pinskia@physics.uc.edu>
2505
2506		* objc/objc-decls.h: New file.
2507		* objc/objc-api.h (_objc_lookup_class): Mark as export.
2508		(_objc_load_callback): Likewise.
2509		(_objc_object_alloc): Likewise.
2510		(_objc_object_copy): Likewise.
2511		(_objc_object_dispose): Likewise.
2512
2513	2004-01-25  Andrew Pinski  <pinskia@physics.uc.edu>
2514
2515		* archive.c: s/__inline__/inline
2516		* sendmsg.c: Likewise.
2517
2518		* encoding.c: Remove FIXME about the warning
2519		about unused variable.
2520		* sendmsg.c: Add a FIXME comment saying that
2521		this should be using libffi.
2522
2523		* Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
2524
2525
25262004-05-13  Andrew Pinski  <pinskia@physics.uc.edu>
2527
2528	* archive.c (objc_read_class): Initialize class_name.
2529	(objc_read_selector): Initialize selector_name.
2530
25312004-05-09  Richard Sandiford  <rsandifo@redhat.com>
2532
2533	* Makefile.in (toolexecdir): Remove trailing space.
2534
25352004-04-15  Nathanael Nerode  <neroden@gcc.gnu.org>
2536
2537	PR libobjc/14948
2538	* configure.ac: De-precious CC so multilibs work.
2539	* configure: Regenerate.
2540
25412004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
2542
2543	* configure.ac: Restore toolexecdir.
2544	* Makefile.in: Restore toolexecdir.
2545	* configure: Regenerate.
2546
25472004-04-09  Nathanael Nerode  <neroden@gcc.gnu.org>
2548
2549	* configure.ac: Remove (unused) glibcpp_prefixdir.
2550	* configure: Regenerate.
2551
2552	* configure.in: Rename to configure.ac.
2553	* Makefile.in: Update to match.
2554
2555	* Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
2556	Replace glibcpp_toolexeclibdir with toolexeclibdir.
2557	* configure.in: Remove glibcpp_toolexecdir (unused).
2558	Replace glibcpp_toolexeclibdir with toolexeclibdir.  Don't generate
2559	config.h or stamp-h (unused).  Move one comment to the right place.
2560	* configure: Regenerate.
2561	* config.h.in: Remove (unused).
2562
2563	* config.h.in: Regenerate with autoheader.
2564
2565	* Makefile.in: Remove (unused) gcc_version_trigger.
2566	* configure.in: Remove (unused) glibcpp_builddir.  Don't AC_SUBST
2567	gcc_version_trigger.
2568	* configure: Regenerate.
2569
2570	* configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
2571	Sort file into sections.  Remove dnl where appropriate.  Fix
2572	other style issues.
2573	* configure: Regenerate.
2574
2575	* configure.in: Replace old AC_PROG_CC hack with new one.
2576	Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
2577	are no subdirectory output files, so this is fine).  Change prereq
2578	to autoconf 2.59.
2579	* aclocal.m4: Include ../config/no-executables.m4.
2580	* configure: Regenerate with autoconf 2.59.
2581
2582	* configure.in: Improve comments on gthread_cflags.  Improve m4
2583	quotation, and replace 'if test' with 'case', for --enable-objc-gc.
2584	* configure: Regenerate.
2585
2586	* configure.in: Move PACKAGE and VERSION settings up top.  Remove
2587	unused call to AC_PROG_LN_S.  Default RANLIB to ':'.  Remove
2588	redundant checks for values of RANLIB, AR, INSTALL.
2589	* configure: Regenerate.
2590
2591	* configure.in: Clean up handling of
2592	--enable-version-specific-runtime-libs and related variables;
2593	replace 'if test' with 'case' where reasonable.  Fix comments.
2594	Remove useless libstdcxx_interface.
2595	* configure: Regenerate.
2596
2597	* configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
2598	Replace uses of target_alias with target_noncanonical.
2599	* aclocal.m4: Include ../config/acx.m4.
2600	* configure: Regenerate.
2601	* Makefile.in: Replace uses of target_alias with target_noncanonical.
2602	Fix copyright statement.
2603
2604	* configure.in: Hand-inline bulky, confusing macros from
2605	aclocal.m4.  Replace references to "GNU Objective C" with "GCC".
2606	Update copyright notice.  Remove stuff for automake, which isn't
2607	used in this directory.  Remove emacs local variables.
2608	* aclocal.m4: Remove hand-inlined macros.  Update copyright notice.
2609	* configure: Regenerate.
2610
26112004-03-16  Manfred Hollstein  <mh@suse.com>
2612
2613	* Makefile.in, configure.in, configure: Update copyright years.
2614
26152004-03-15  Manfred Hollstein  <mh@suse.com>
2616
2617	* Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
2618	definition from configure.in.
2619	* configure.in (PACKAGE): Add definition.
2620	(VERSION): Add definition; substitute it in output files.
2621	* configure: Re-generate.
2622
26232004-03-05  Ziemowit Laski  <zlaski@apple.com>
2624
2625	* objc/hash.h (hash_string, compare_strings):
2626	Add type-casts to make Objective-C++ happy.
2627	* objc/typedstream.h (objc_get_stream_class_version):
2628	Rename parameter from 'class' to 'class_name' to make
2629	Objective-C++ happy.
2630
26312004-03-01  Michael Matz  <matz@suse.de>
2632
2633	* Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
2634
26352004-02-06  Ziemowit Laski  <zlaski@apple.com>
2636
2637	* objc/objc-api.h (objc_super): The 'class' field shall
2638	be named 'super_class' #ifdef __cplusplus.
2639
26402004-01-17  Andrew Pinski  <pinskia@physics.uc.edu>
2641
2642	PR target/10781
2643	* encoding.c (rs6000_special_round_type_align): Define.
2644
26452004-01-14  Adam Fedor  <fedor@gnu.org>
2646
2647	PR libobjc/12155
2648	* selector.c (__objc_register_instance_methods_to_class): Free
2649	new_list if not used.
2650
26512004-01-09  Andrew Ruder  <aeruder@ksu.edu>
2652
2653	PR libobjc/11904
2654	* sarray.c (sarray_free): Free array->is_copy_of latter.
2655
26562003-12-01  Zack Weinberg  <zack@codesourcery.com>
2657
2658	PR 11433
2659	* Protocol.m (descriptionForInstanceMethod): Don't dereference
2660	instance_methods if it's NULL.
2661	(descriptionForClassMethod): Likewise for class_methods.
2662
26632003-10-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2664
2665	* Makefile.in (runtime-info.h): Remove -Wp.
2666
26672003-10-21  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2668
2669	* Makefile.in (CC1OBJ): Remove.
2670	(runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
2671	correctly.
2672	Use .m extension for temporary file.
2673	Remove assembler temp file.
2674
26752003-10-20  Joseph S. Myers  <jsm@polyomino.org.uk>
2676
2677	* objc/hash.h (hash_string): Don't use a cast as an lvalue.
2678
26792003-10-17  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2680
2681	* Makefile.in (runtime-info.h): Use MULTIFLAGS.
2682
26832003-09-09  Alan Modra  <amodra@bigpond.net.au>
2684
2685	* configure: Regenerate.
2686
26872003-08-27  Alexander Malmberg  <alexander@malmberg.org>
2688
2689	* Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
2690	(libdir)/gcc-lib/ when installing.
2691	* configure: Regenerate.
2692
2693Thu Jul 10 10:27:43 2003  Nicola Pero  <n.pero@mi.flashnet.it>
2694
2695	libobjc/9969
2696	* sendmsg.c (get_imp): Fixed rare threading problem.
2697	(__objc_responds_to): Similar fixes.
2698	(objc_msg_lookup): Similar fixes.
2699	(__objc_init_install_dtable): Lock the runtime before checking if the
2700	table is installed.
2701
27022003-05-23  Nathanael Nerode  <neroden@gcc.gnu.org>
2703
2704	* hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
2705	makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
2706	selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
2707	thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
2708	thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
2709	thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
2710	* Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
2711	class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
2712	objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
2713	objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
2714	objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
2715
2716Tue May 13 14:56:03 2003  Richard Frith-Macdonald <rfm@gnu.org>
2717			  Nicola Pero  <n.pero@mi.flashnet.it>
2718
2719	libobjc/10742
2720	* init.c (class_superclass_of_class): New function.
2721	(create_tree_of_subclasses_inherited_from): Use it.
2722	(__objc_tree_insert_class): Likewise.
2723	(class_is_subclass_of_class): Likewise.
2724
27252003-04-11  David Chad  <davidc@freebsd.org>
2726	    Loren J. Rittle  <ljrittle@acm.org>
2727
2728	libobjc/8562
2729	* objc/hash.h (hash_string): Constify correctly.
2730	(compare_ptrs): Use direct compare.
2731	* objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
2732	* objc/sarray.h: Global rename index to indx to avoid shadow.
2733
27342003-03-12  Andreas Schwab  <schwab@suse.de>
2735
2736	* aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
2737	glibcpp_toolexeclibdir.
2738	* configure: Rebuilt.
2739
27402003-02-20  Alexandre Oliva  <aoliva@redhat.com>
2741
2742	* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
2743	config.status.
2744	* configure: Rebuilt.
2745
27462003-01-27  Alexandre Oliva  <aoliva@redhat.com>
2747
2748	* aclocal.m4 (glibcpp_toolexeclibdir): Instead of
2749	$(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
2750	version_specific_libs is enabled.
2751	* configure: Rebuilt.
2752
27532003-01-09  Christian Cornelssen  <ccorn@cs.tu-berlin.de>
2754
2755	* Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
2756	(install-libs, install-headers): Prepend $(DESTDIR) to
2757	destination paths in all (un)installation commands.
2758
27592002-12-02  Zack Weinberg  <zack@codesourcery.com>
2760
2761	* thr-objc.c: Include coretypes.h and tm.h.
2762
27632002-12-01  Zack Weinberg  <zack@codesourcery.com>
2764
2765	* encoding.c, sendmsg.c: Include coretypes.h and tm.h.
2766
27672002-11-26  Nathanael Nerode  <neroden@gcc.gnu.org>
2768
2769	* configure.in: Remove skip-this-dir support.
2770	* configure: Regenerate.
2771
27722002-09-22  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2773
2774	* Makefile.in (all): Fix multilib parallel build.
2775
2776Thu Sep 12 12:44:37 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2777
2778	* sendmsg.c (nil_method): Declare not to take a variable number of
2779	args.
2780	(objc_msg_lookup): Cast nil_method to IMP before returning it.
2781	(objc_msg_lookup_super): The same.
2782
27832002-09-10  Jan Hubicka  <jh@suse.cz>
2784
2785	* nil_method.c (nil_method): No longer defined with variable
2786	arguments.
2787
27882002-07-02  Rodney Brown  <rbrown64@csc.com.au>
2789
2790	* objc/encoding.h: Fix formatting.
2791	* objc/hash.h: Likewise.
2792	* objc/objc-api.h: Likewise.
2793	* objc/runtime.h: Likewise.
2794	* objc/thr.h: Likewise.
2795	* archive.c: Likewise.
2796	* class.c: Likewise.
2797	* encoding.c: Likewise.
2798	* gc.c: Likewise.
2799	* hash.c: Likewise.
2800	* init.c: Likewise.
2801	* misc.c: Likewise.
2802	* nil_method.c: Likewise.
2803	* objects.c: Likewise.
2804	* sarray.c: Likewise.
2805	* selector.c: Likewise.
2806	* sendmsg.c: Likewise.
2807	* thr-mach.c: Likewise.
2808	* thr.c: Likewise.
2809
28102002-06-25  DJ Delorie  <dj@redhat.com>
2811
2812	* aclocal.m4 (GLIBCPP_CONFIGURE): Split out
2813	GLIBCPP_TOPREL_CONFIGURE.
2814	* configure.in: Call it before AC_CANONICAL_SYSTEM.
2815	* configure: Regenerate.
2816
28172002-06-21  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2818
2819	* Object.m (forward, read, write): Fix unused parameter warnings.
2820	* encoding.c: Include <stdlib.h>.
2821	(target_flags): Mark with attribute unused.
2822	(atoi): Delete.
2823	* runtime.h (__objc_selector_max_index): Change to unsigned int.
2824	(__objc_generate_gc_type_description): Prototype.
2825	* selector.c (__objc_selector_max_index): Change to unsigned int.
2826
2827Mon Jun 17 18:37:42 2002  Nicola Pero  <n.pero@mi.flashnet.it>
2828
2829	* sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
2830	we always have a return value: if __objc_msg_forward does not
2831	supply a forwarding implementation, return the default
2832	__builtin_apply based one.
2833
28342002-06-15  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2835
2836	* Object.m: Fix signed/unsigned warning.
2837	* Protocol.m: Likewise.
2838	* archive.c: Always include stdlib.h.
2839	(objc_read_short, objc_read_unsigned_short, objc_read_int,
2840	objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
2841	Fix signed/unsigned warning.
2842	(objc_write_type, objc_read_type, objc_write_types,
2843	objc_read_types): Ensure ctype 8-bit safety.
2844	(__objc_no_write, __objc_no_read): Mark unused parameters.
2845	* class.c (class_table_setup): Specify void arg.
2846	* encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
2847	objc_skip_typespec, objc_skip_offset,
2848	objc_layout_structure_next_member): Ensure ctype 8-bit safety.
2849	(objc_layout_structure_next_member): Ensure variables are
2850	initialized.
2851	* gc.c (__objc_generate_gc_type_description,
2852	class_ivar_set_gcinvisible): Mark unused parameters.
2853	* init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
2854	unused parameters.
2855	(__objc_init_protocols) Fix signed/unsigned warning.
2856	* nil_method.c (nil_method): Mark unused parameters.
2857	* thr.h (objc_thread_callback): Specify void arg.
2858	* sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
2859	signed/unsigned warning.
2860	(sarray_free): Fix formatting.
2861	* selector.c (sel_types_match): Ensure ctype 8-bit safety.
2862	* sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
2863
28642002-06-09  Andreas Jaeger  <aj@suse.de>
2865
2866	* encoding.c (objc_layout_structure_next_member): Remove unused
2867	variable.
2868
28692002-05-20  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
2870
2871	* Makefile.in (SHELL): Set to @SHELL@.
2872	(WARN_CFLAGS): New.
2873	(ALL_CFLAGS): Add $(WARN_CFLAGS).
2874
28752002-05-16  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
2876
2877	* aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
2878	* configure: Regenerate.
2879
28802002-05-08  Alexandre Oliva  <aoliva@redhat.com>
2881
2882	* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
2883	script entry, and set LD to it when configuring multilibs.
2884	* configure: Rebuilt.
2885
28862002-04-19  David O'Brien  <obrien@FreeBSD.org>
2887
2888	* encoding.c (MAX, MIN, ROUNDING): #undef before defining.
2889
28902002-04-09  Hans-Peter Nilsson  <hp@bitrange.com>
2891
2892	PR objc/6107
2893	* objc/objc-api.h (struct objc_protocol_list): Change type of
2894	member count from int to size_t.
2895
28962002-02-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
2897
2898	PR libobjc/4039
2899	* aclocal.m4: Replace with version copied from libstdc++-v3.
2900	* configure.in: Update for changes to aclocal and Makefile.
2901	* configure: Regenerate.
2902	* Makefile.in: Correct install of multilibs and shared libs, use
2903	INSTALL_DATA for include files.
2904
2905Mon Dec 17 17:02:12 2001  Nicola Pero  <nicola@brainstorm.co.uk>
2906
2907	* init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
2908	categories - when an unclaimed category was found, the loop was
2909	doing two steps forward instead of one, so that in certain cases
2910	it was failing to properly load all the categories.  (Reported
2911	with fix by Alexander Malmberg <alexander@malmberg.org>).
2912
29132001-11-14  Aldy Hernandez  <aldyh@redhat.com>
2914
2915	* encoding.c: Add target_flags.
2916
29172001-11-07  Aldy Hernandez  <aldyh@redhat.com>
2918
2919	 * objc/objc-api.h (_C_VECTOR): New.
2920
2921	 * encoding.c (VECTOR_TYPE): New.
2922
2923Mon Oct 29 21:29:21 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2924
2925	* class.c: Rewritten the class table to use optimized, lock-free
2926	lookup.  This more than doubles the speed of class method
2927	invocations.  (class_table_setup), (class_table_insert),
2928	(class_table_replace), (class_table_get_safe),
2929	(class_table_next), (class_table_print),
2930	(class_table_print_histogram): New functions.
2931	(__objc_init_class_tables): Use class_table_setup.
2932	(__objc_add_class_to_hash): Use class_table_get_safe and
2933	class_table_insert.  (objc_lookup_class), (objc_get_class): Do not
2934	assert the existence of the table; do not lock the runtime; use
2935	class_table_get_safe.  (objc_next_class): Use class_table_next.
2936	(__objc_resolve_class_links): Use class_table_next.
2937	(class_pose_as): Use class_table_replace.
2938
29392001-09-10  Ovidiu Predescu  <ovidiu@cup.hp.com>
2940
2941	* gc.c: Removed the DEBUG declaration.
2942
2943Wed Jul 18 12:48:56 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2944
2945	* thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
2946	rather than through objc_thread_id, to save a function call.
2947	(objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
2948	Ditto.
2949
2950Mon Jul 16 12:15:00 2001  Nicola Pero  <n.pero@mi.flashnet.it>
2951
2952	* objc/objc-api.h (object_is_class): Fixed - buggy code was trying
2953	to cast an id to a Class, which can not be done.  Make the check
2954	by using CLS_ISMETA on the class pointer instead.
2955	(object_is_meta_class): Similar fix.
2956
29572001-06-09  Alexandre Oliva  <aoliva@redhat.com>, Stephen L Moshier  <moshier@mediaone.net>
2958
2959	* configure.in (AC_EXEEXT): Work around in case it expands to
2960	nothing, as in autoconf 2.50.
2961	* acinclude.m4: Likewise.
2962	* configure: Rebuilt.
2963
29642001-06-08  Nicola Pero  <n.pero@mi.flashnet.it>
2965
2966	* THREADS: Explain that when we compile libobjc inside GCC, we
2967	always use thr-objc.c as a backend, which uses GCC's thread code.
2968
29692001-06-06  Richard Frith-Macdonald  <rrfm@gnu.org>
2970
2971	* init.c (__objc_send_message_in_list): When setting a new entry
2972	in __objc_load_methods use the method IMP as key, but check to see
2973	if the method is in the hashtable by looking at the IMP also.
2974	Also ... call the method after adding it to the hashtable rather
2975	than before ... thus preventing an obscure possibility of infinite
2976	recursion if a +load method itself loads a subclass.
2977
29782001-05-25  Ovidiu Predescu  <ovidiu@cup.hp.com>
2979
2980	* init.c (__objc_send_message_in_list): When setting a new entry
2981	in __objc_load_methods use the method name as key, not the method
2982	IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
2983
29842001-05-09  Joseph S. Myers  <jsm28@cam.ac.uk>
2985
2986	* objc-features.texi: Move to ../gcc/objc.texi.
2987	* fdl.texi: Remove.
2988	* Makefile.in: Don't generate documentation from
2989	objc-features.texi.
2990
29912001-05-01  Mark Mitchell  <mark@codesourcery.com>
2992
2993	* fdl.texi: New file.
2994	* objc-features.texi: Simplify.
2995	* Makefile.in: Adjust accordingly.
2996
29972001-04-30  Mark Mitchell  <mark@codesourcery.com>
2998
2999	* objc-features.texi: Use the GFDL.
3000
3001Wed Mar 21 04:44:58 EST 2001  John Wehle  (john@feith.com)
3002
3003	* encoding.c (REAL_TYPE): Define.
3004
30052001-03-19  David Edelsohn  <edelsohn@gnu.org>
3006
3007	* encoding.c (TYPE_MODE): Define.
3008
30092001-03-14  Nicola Pero  <n.pero@mi.flashnet.it>
3010
3011	* thr.c (objc_thread_add): New function.
3012	(objc_thread_remove): Ditto.
3013	* objc/thr.h: Declare them.
3014	* libobjc.def: Mention them.
3015
30162001-02-28  Ovidiu Predescu  <ovidiu@cup.hp.com>
3017
3018	* objc-features.texi: Document the @compatibility_alias compiler
3019	directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
3020
3021Fri Feb 23 18:12:00 2001  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
3022
3023	* sendmsg.c (__objc_forward): Delete strlen() declaration.
3024
30252001-02-08  Geoffrey Keating  <geoffk@redhat.com>
3026
3027	* configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
3028	we're not interested in the result and they might fail.
3029	* configure: Regenerated.
3030
30312001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3032
3033	* objc-features.texi: Use @email.
3034
30352001-01-12  Joseph S. Myers  <jsm28@cam.ac.uk>
3036
3037	* sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
3038	printf.
3039
30402000-01-11  Richard Earnshaw  <rearnsha@arm.com>
3041
3042	* encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
3043	determines the value dynamically.
3044
3045Wed Jan  3 00:49:10 2001  Ovidiu Predescu  <ovidiu@cup.hp.com>
3046
3047	* sendmsg.c: Added __objc_msg_forward, a hook that allows external
3048	libraries to provide a function that returns the real forwarding
3049	function. This can alleviate problems __builtin_apply() and
3050	friends have on various platforms. (Solution suggested by Helge
3051	Hess.)
3052
3053	* objc/objc-api.h: Define __objc_msg_forward.
3054
3055	* sendmsg.c: Define gen_rtx_REG.
3056
30572000-12-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
3058
3059	* thr-rtems.c: New file. Stub to compile.
3060
30612000-09-06  Alexandre Oliva  <aoliva@redhat.com>
3062
3063	* configure: Rebuilt with new libtool.m4.
3064
3065Tue Aug 15 00:38:56 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3066
3067	* configure.in: Create a config.h file. Check for <sched.h>.
3068	* configure: Regenerate.
3069
3070	* config.h.in: Check for <sched.h>.
3071
30722000-08-14  Zack Weinberg  <zack@wolery.cumb.org>
3073
3074	* configure: Regenerate after change to ../libtool.m4.
3075
30762000-08-14  Andreas Schwab  <schwab@suse.de>
3077
3078	* objc-features.texi (Top): Move @menu at end of node.
3079
30802000-08-11  Manfred Hollstein  <manfredh@redhat.com>
3081
3082	* objc-features.texi: Move @node Top before @menu.
3083
3084Sun Aug  6 23:27:49 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3085
3086	* objc-features.texi: Documented the new -fconstant-string-class
3087	option.
3088
3089Sun Aug  6 22:51:16 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3090
3091	* thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
3092	improve the Posix thread support for Objective-C.
3093
30942000-08-04  Zack Weinberg  <zack@wolery.cumb.org>
3095
3096	* aclocal.m4: Replace copy of ../libtool.m4 with
3097	sinclude(../libtool.m4).
3098
3099Fri Jul 28 08:58:02 2000  Nicola Pero  <nicola@brainstorm.co.uk>
3100
3101	* configure.in: Added libtool support; build shared libraries
3102	if --enable-shared was passed on command line.
3103	* Makefile.in: Modified most compilation commands to use libtool.
3104	* aclocal.m4: New symbolic link to the ../libtool.m4, from the
3105	libtool distribution.
3106
3107Sat Jul 29 00:10:21 2000  Ovidiu Predescu  <ovidiu@cup.hp.com>
3108
3109	* sarray.c, Object.m: Removed the explicit prototypes for strlen
3110	and memcpy on 64-bit platforms (Suggested by Rodney Brown
3111	<rdb@cup.hp.com>).
3112
31132000-05-12  H.J. Lu  (hjl@gnu.org)
3114
3115	* Makefile.in (GTHREAD_FLAGS): New.
3116	(ALL_CFLAGS): Add $(GTHREAD_FLAGS).
3117	(OBJC_THREAD_FILE): Changed to thr-objc.
3118
3119	* configure.in (GTHREAD_FLAGS): New, check and replace it for
3120	Makefile.
3121	(OBJC_THREAD_FILE): Removed.
3122
3123	* thr-objc.c: New.
3124
31252000-07-13  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3126
3127	* objc/hash.h: Include string.h.
3128
31292000-04-15  David Edelsohn  <edelsohn@gnu.org>
3130
3131	* Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
3132
31332000-04-12  Jakub Jelinek  <jakub@redhat.com>
3134
3135	* Object.m (strlen): Provide prototype on all 64bit platforms,
3136	not only alpha.
3137	* sarray.c (memcpy): Likewise.
3138	* encoding.c (objc_layout_finish_structure): Don't use
3139	ROUND_TYPE_ALIGN on sparc.
3140
3141	* encoding.c (objc_layout_structure_next_member): Do the whole
3142	procedure even for the first member, so that we get correct
3143	alignment.
3144
31452000-03-29  Zack Weinberg  <zack@wolery.cumb.org>
3146
3147	* objc/Protocol.h, objc/objc-list.h: Change #endif labels to
3148	comments.
3149
31502000-02-23  Zack Weinberg  <zack@wolery.cumb.org>
3151
3152	* Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
3153
3154Thu Sep 23 07:19:12 1999   Chris Ball <cball@fmco.com>
3155
3156	* thr-posix.c (__objc_mutex_deallocate): made deallocate work.
3157
3158Tue Sep 21 07:47:10 1999  Jeffrey A Law  (law@cygnus.com)
3159
3160	* Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
3161	the compiler when building C code.
3162
3163Fri Aug  6 23:32:29 1999  Daniel Jacobowitz <drow@drow.them.org>
3164
3165	* Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
3166	libdir, libsubdir and tooldir.
3167
3168Mon Jun 21 05:40:15 1999  John David Anglin <dave@hiauly1>
3169
3170	* init.c (__objc_force_linking): Make global.
3171
3172Thu May 20 03:20:59 1999  Jeffrey A Law  (law@cygnus.com)
3173
3174	* configure.in (AC_EXEEXT): Remove call.
3175	(compiler_name): Explicitly check with no extension and .exe
3176	extension.
3177	* configure: Regenerate.
3178
3179Sun Apr 25 01:15:34 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3180
3181	* Makefile.in (CC1OBJ): Define in terms of CC.
3182	(runtime-info.h): Use.
3183
3184Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3185
3186	* objc-features.texi: Updated the URL to Boehm's GC page.
3187
3188Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
3189
3190	* archive.c (__objc_code_char, __objc_write_char): Explicitly specify
3191	the char as being signed (patch from Daniel Jacobowitz
3192	<drow@false.org>).
3193
3194Wed Mar 24 22:41:28 1999  Mumit Khan  <khan@xraylith.wisc.edu>
3195
3196	* configure.in (AC_PREREQ): Update to 2.13.
3197	(AC_EXEEXT): Call to find possible file extension.
3198	(compiler_name): Use.
3199	* configure: Regenerate.
3200
3201Wed Jan 27 02:31:01 1999  Jeffrey A Law  (law@cygnus.com)
3202
3203	* Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
3204
3205Tue Jan  5 01:38:53 1999  Jeffrey A Law  (law@cygnus.com)
3206
3207	* configure.in (thread_file): Correct and simplify code to find
3208	the thread file.
3209	* configure: Rebuilt.
3210
32111998-11-26  Manfred Hollstein  <manfred@s-direktnet.de>
3212
3213	* configure.in (compiler_name): Add check to detect if this
3214	language's compiler has been built.
3215	* configure: Regenerate.
3216
3217Mon Nov 23 16:50:28 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3218
3219	*  configure.in: Use AC_PREREQ(2.12.1).
3220
3221Thu Nov 19 20:33:37 1998  Jeffrey A Law  (law@cygnus.com)
3222
3223	* Makefile.in (runtime-info.h): Avoid GNU make extensions.
3224
3225Sun Nov  8 17:46:14 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3226
3227	* Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
3228
3229Thu Oct 22 14:34:06 1998  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
3230
3231	* configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
3232
3233Sat Oct 17 05:21:31 1998  Ovidiu Predescu  <ovidiu@slip.net>
3234
3235	* objc-features.texi (Top): Changed the email address.
3236	* objc-features.texi (Garbage Collection): Use @uref instead of @url.
3237
3238Mon Oct 11 21:25:27 1998  Ovidiu Predescu  <ovidiu@slip.net>
3239
3240	* encoding.c: Redefine get_inner_array_type to get the first entry
3241	in the structure.
3242
3243Thu Oct  8 12:21:14 1998  Richard Frith-Macdonald <richard@brainstorm.co.uk>
3244
3245	* encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
3246	(objc_get_type_qualifiers): Similarly.
3247	* objc/encoding.h (_C_BYREF): Define.
3248	(_F_BYREF): Define.
3249
32501998-10-07  David S. Miller  <davem@pierdol.cobaltmicro.com>
3251
3252	* objc/sarray.h: Make boffset be an unsigned long when sparc so it
3253	works out on 64-bit systems.
3254
3255Tue Oct  6 20:32:06 1998  Alexandre Oliva  <oliva@dcc.unicamp.br>
3256
3257	* Makefile.in (INCLUDES): Make it multilib-friendly.
3258
3259Fri Oct  2 07:12:14 1998  H.J. Lu  (hjl@gnu.org)
3260
3261	* Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
3262
3263Thu Oct  1 22:33:03 1998 Robert Lipe  <robertl@dgii.com>
3264			 Jeffrey A Law  (law@cygnus.com)
3265
3266	* Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
3267	(FLAGS_TO_PASS): Added.
3268	(runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
3269
3270	* archive.c: Change config.h to tconfig.h.
3271
3272	* configure.in: Find gcc's object directory even for multilibs.
3273
3274Wed Sep 30 18:17:17 1998  Robert Lipe  <robertl@dgii.com>
3275
3276	* configure.in: Escape ^ in grep string.
3277	* configure: Rebuilt.
3278
3279Wed Sep 30 09:14:52 1998  Jeffrey A Law  (law@cygnus.com)
3280
3281	* All .h files pushed down into the objc/ subdirectory.
3282	* Makefile.in (copy_headers): Corresponding changes.
3283	* configure.in (AC_INIT): Corresponding changes.
3284	* configure: Rebuilt.
3285
32861998-09-30  Ben Elliston  <bje@cygnus.com>
3287	    Jeff Law	  <law@cygnus.com>
3288
3289	* Makefile.in: Rewrite.
3290
3291	* configure.in: Likewise.
3292
3293	* configure: Regenerate.
3294
3295	* All .c files.  Remove "objc" prefix when including objc header
3296	files.  Include tconfig.h, not ../tconfig.h.
3297
3298Mon Sep 21 23:27:10 1998  Ovidiu Predescu <ovidiu@slip.net>
3299
3300	* encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
3301	(get_inner_array_type): Define.
3302
33031998-09-21  Ben Elliston  <bje@cygnus.com>
3304
3305	* New directory.  Moved files from ../gcc/objc.
3306