]> git.ipfire.org Git - thirdparty/gcc.git/blame - libobjc/ChangeLog
PR c++/45983
[thirdparty/gcc.git] / libobjc / ChangeLog
CommitLineData
8612dc73 12010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
2
3 * Protocol.m: Include objc/runtime.h and
4 objc-private/module-abi-8.h instead of objc/objc-api.h. Do not
5 repeat Protocol's instance variables.
6 (struct objc_method_description_list): Do not define here.
7 ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
8 ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
9 selectors directly instead of getting names and then using strcmp.
10 ([descriptionForClassMethod:]): Same change.
11 ([-isEqual:]): Reimplemented on top of protocol_isEqual().
12 * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
13 to compare selectors directly instead of getting names and then
14 using strcmp.
15 * objc/Protocol.h: Updated comments.
16
3f47b787 172010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
1e13b876 18
19 * init.c (__objc_init_protocol): New function which fixes up a
20 protocol's class pointer, registers it with the runtime, register
21 all protocol selectors and registers associated protocols too.
22 (objc_init_statics): Detect if we are initializing protocols, and
23 if so, use __objc_init_protocol instead of only fixing up the
24 class pointer.
25 (__objc_init_protocls): Use __objc_init_protocol.
26 * objc-private/module-abi-8.h: Updated comments.
27 * objc-private/runtime.h
28 (__objc_register_selectors_from_description_list): New.
29 * selector.c (__objc_register_selectors_from_description_list):
30 New. (struct objc_method_description_list): Declare.
31 * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
32 when accessing the name of a method, which is now correctly a SEL.
33 ([-descriptionForClassMethod:]): Same change.
34 * protocols.c (protocol_getMethodDescription): Same change.
35 * objc/runtime.h: Updated comments.
36 (sel_registerTypedName): Fixed typo in function name.
37
570c5a3d 382010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
39
40 PR libobjc/23214
41 * init.c (objc_init_statics): Do not skip the initialization of a
42 statics list if the first object has already been initialized; in
43 the case of Protocols, while the first one may have been
44 initialized, some others may not have been initialized yet.
45
a70d256d 462010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
47
48 * Makefile.in (OBJC_DEPRECATED_H): Added
49 objc_get_uninstalled_dtable, objc_object_alloc.h and
50 struct_objc_static_instances.h.
51
0f7745af 522010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
53
54 * encoding.c (method_copyReturnType): New.
55 (method_copyArgumentType): New.
56 (method_getReturnType): New.
57 (method_getArgumentType): New.
58 * methods.c (method_getDescription): New.
59 * objc/runtime.h (method_copyReturnType): New.
60 (method_copyArgumentType): New.
61 (method_getReturnType): New.
62 (method_getArgumentType): New.
63 (method_getDescription): New.
64
eda7c0d6 652010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
66
67 * encoding.c: Tidied up comments.
68 (objc_skip_variable_name): New static inline function.
69 (objc_sizeof_type): Use objc_skip_variable_name instead of copying
70 the same code over and over.
71 (objc_alignof_type): Same.
72 (objc_aligned_size): Same.
73 (objc_promoted_size): Same.
74 (objc_skip_typespec): Same.
75 (objc_layout_structure_next_member): Same.
76 (objc_skip_offset): Skip a '-' before the digits (if any). Fixed
77 historical bug where objc_skip_offset would skip one byte even if
78 there is no offset: check that the first offset digit is actually
79 a digit before skipping it.
80 (objc_skip_type_qualifiers): Mark as inline.
81 (objc_skip_typespec): Mark as inline.
82
1da9f882 832010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
84
85 * Makefile.in (C_SOURCE_FILES): Added methods.c.
86 * encoding.c (method_getNumberOfArguments): New.
87 (method_get_number_of_arguments): Call
88 method_getNumberOfArguments.
89 * ivars.c (ivar_getName): Check for NULL variable argument.
90 (ivar_getOffset): Check for NULL variable argument.
91 (ivar_getTypeEncoding): Check for NULL variable argument.
92 (class_copyIvarList): New.
93 * methods.c: New.
94 * protocols.c (class_copyProtocolList): Check for Nil class_
95 argument.
96 * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
97 'struct objc_method_list *' instead of MethodList_t.
98 (class_getMethodImplementation): New.
99 (class_respondsToSelector): New.
100 (class_getInstanceMethod): New.
101 (class_getClassMethod): New.
102 * objc/runtime.h: Updated comments.
103 (class_copyIvarList): New.
104 (class_getInstanceMethod): New.
105 (class_getClassMethod): New.
106 (class_getMethodImplementation): New.
107 (class_respondsToSelector): New.
108 (method_getName): New.
109 (method_getImplementation): New.
110 (method_getTypeEncoding): New.
111 (class_copyMethodList): New.
112 (method_getNumberOfArguments): New.
113
f75aa158 1142010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
115
116 * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
117 instead of objc/objc-api.h.
118 (objc_get_unknown_class_handler): Do not define.
119 (class_isMetaClass): New.
120 (class_getSuperclass): New.
121 (class_getVersion): New.
122 (class_setVersion): New.
123 (class_getInstanceSize): New.
124 * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
125 (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
126 objc_get_super_class.
127 (get_ttype_entry): Use objc_getRequiredClass instead of
128 objc_get_class.
129 * ivars.c (class_getClassVariable): New.
130 * objects.c: Include objc/runtime.h, objc/thr.h and
131 objc-private/module-abi-8.h instead of objc/objc-api.h
132 * objc/runtime.h (class_getClassVariable): New.
133 (class_isMetaClass): New.
134 (class_getSuperclass): New.
135 (class_getVersion): New.
136 (class_setVersion): New.
137 (class_getInstanceSize): New.
138 * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
139 objc/objc-api.h)
140 (__CLS_INFO): Same.
141 (__CLS_ISINFO): Same.
142 (__CLS_SETINFO): Same.
143 (CLS_ISMETA): Same.
144 (CLS_ISCLASS): Same.
145 (CLS_ISRESOLV): Same.
146 (CLS_SETRESOLV): Same.
147 (CLS_ISINITIALIZED): Same.
148 (CLS_SETINITIALIZED): Same.
149 (CLS_GETNUMBER): Same.
150 (CLS_SETNUMBER): Same.
151
6ee7a276 1522010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
153
154 * archive.c: Do not include objc/objc.h.
155 * class.c: Do not include objc/objc.h.
156 * encoding.c: Include objc/runtime.h, ctype.h and
157 objc-private/module-abi-8.h instead of objc/objc-api.h and
158 objc/encoding.h.
159 * error.c: Do not include objc/objc.h.
160 * gc.c: Include tconfig.h and objc/encoding.h only if
161 OBJC_WITH_GC.
162 * hash.c: Include objc/runtime.h and objc/thr.h instead of
163 objc/objc-api.h. Do not include objc/objc.h.
164 * init.c: Do not include objc/objc.h.
165 * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
166 objc/thr.h instead of objc/objc-api.h. Do not include
167 objc/objc.h.
168 * linking.m: Tidied comment.
169 * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
170 Do not include objc/objc.h.
171 * objects.c: Do not include objc/objc.h.
172 * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
173 * protocols.c: Do not include objc/objc.h.
174 * sarray.c: Include objc/runtime.h instead of objc/objc-api.h. Do
175 not include objc/objc.h.
176 * selector.c: Do not include objc/objc.h.
177 * sendmsg.c: Do not include objc/objc.h.
178 * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
179 Do not include objc/objc.h.
180 * objc/objc-decls.h: Reindented code.
181 * objc/runtime.h Include objc-decls.h. Updated comments.
182 (objc_malloc): New.
183 (objc_atomic_malloc): New.
184 (objc_calloc): New.
185 (objc_realloc): New.
186 (objc_free): New.
187 * objc-private/runtime.h: Updated comments.
188
e983fc72 1892010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
190
191 * Makefile.in (C_SOURCE_FILES): Added protocols.c.
192 * objc-private/protocols.h: New.
193 * protocols.c: New.
194 * init.c: Include objc-private/protocols.h.
195 (__objc_exec_class): Call __objc_protocols_init on startup.
196 (__objc_init_protocols): Call __objc_protocols_add_protocol.
197 * objc-private/runtime.h: Use (struct objc_method_list *) instead
198 of MethodList_t, and (struct objc_method *) instead of Method_t.
199 * objc/deprecated/struct_objc_class.h: Define
200 __objc_STRUCT_OBJC_CLASS_defined.
201 * objc-private/module-abi-8.h (struct
202 objc_method_description_list): New.
203 (struct objc_class): Only define if
204 __objc_STRUCT_OBJC_CLASS_defined is undefined.
205 * objc/runtime.h (class_getName): New.
206 (objc_getProtocol): New.
207 (objc_copyProtocolList): New.
208 (class_addProtocol): New.
209 (class_conformsToProtocol): New.
210 (class_copyProtocolList): New.
211 (protocol_conformsToProtocol): New.
212 (protocol_isEqual): New.
213 (protocol_getName): New.
214 (protocol_getMethodDescription): New.
215 (protocol_copyMethodDescriptionList): New.
216 (protocol_getProperty): New.
217 (protocol_copyPropertyList): New.
218 (protocol_copyProtocolList): New.
219 * class.c (class_getName): New.
220 * selector.c (sel_isEqual): New.
221
f9c4db38 2222010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
223
224 * selector.c (sel_getName): Return "<null selector>" for a NULL
225 argument.
226 (sel_get_name): Return 0 for a NULL argument.
227 * objc/runtime.h (sel_getName): Updated documentation.
228
229 * objc-private/hash.h (class_hash_table): Unused declaration
230 removed.
231 (module_hash_table): Same.
232 * objc/deprecated/hash.h: Same changes.
233
86bde516 2342010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
235
236 * class.c (objc_getClassList): New.
237 (objc_getRequiredClass): New.
238 (objc_getMetaClass): New.
239 (objc_lookupClass): New.
240 (objc_getClass): New.
241 (__objc_get_unknown_class_handler): New.
242 (objc_setGetUnknownClassHandler): New.
243 (objc_get_class): Use __objc_get_unknown_class_handler.
244 (objc_lookup_class): Call objc_getClass.
245 * objc/objc-api.h: Updated comment and copyright notice.
246 * objc/runtime.h: Updated comments.
247 (objc_getClass): New.
248 (objc_lookupClass): New.
249 (objc_getMetaClass): New.
250 (objc_getRequiredClass): New.
251 (objc_getClassList): New.
252 (objc_setGetUnknownClassHandler): New.
253 (objc_get_unknown_class_handler): New.
254 * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
255 instead of __objc_runtime_INCLUDE_GNU as include guard.
256 * objc-private/error.h (_objc_abort): Mark as noreturn.
257
631bc351 2582010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
259
260 * Makefile.in (C_SOURCE_FILES): Added ivars.c.
261 * ivars.c: New.
262 * objc/objc.h: Updated comments.
263 * objc/runtime.h (object_getClass): New.
264 (object_getClassName): New.
265 (object_setClass): New.
266 (class_getInstanceVariable): New.
267 (object_getIndexedIvars): New.
268 (object_getInstanceVariable): New.
269 (object_setInstanceVariable): New.
270 (object_getIvar): New.
271 (object_setIvar): New.
272 (ivar_getName): New.
273 (ivar_getOffset): New.
274 (ivar_getTypeEncoding): New.
275 * objc-private/module-abi-8.h (struct objc_class): Added.
276 * objects.c (object_getClassName): New.
277 (object_setClass): New.
278
3c744362 2792010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
280
281 * objc/objc.h: Updated comments.
282 * objc/objc-api.h: (object_copy): Added one argument; use a
283 #define to maintain backwards-compatibility. Moved
284 _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
285 objc_get_uninstalled_dtable into
286 objc/deprecated/objc_get_uninstalled_dtable.h and
287 objc/deprecated/objc_object_alloc.h. Include these files.
288 * objc/deprecated/objc_get_uninstalled_dtable.h: New.
289 * objc/deprecated/objc_object_alloc.h: New.
290 * objc/runtime.h (set_getName): New.
291 (sel_getType): New.
292 (sel_getUid): New.
293 (sel_registerName): New.
294 (sel_registerTypedName): New.
295 (sel_isEqual): New.
296 (class_createInstance): New.
297 (object_copy): New.
298 (object_dispose): New.
299 * objects.c: Do not include tconfig.h. Include gc_typed.h if
300 building the garbage collection version.
301 (__objc_object_alloc): Removed.
302 (__objc_object_copy): Removed.
303 (__objc_object_dispose): Removed.
304 (class_createInstance): New from code in class_create_instance.
305 Cast second argument of GC_malloc_explicitly_typed. Use
306 objc_calloc. Do not call _objc_object_alloc.
307 (class_create_instance): Call class_createInstance.
308 (object_copy): Added extraBytes argument. Do not call
309 _objc_object_copy.
310 (object_dispose): Do not call _objc_object_dispose.
311 * memory.c (objc_free): When using garbage collection, mark the
312 argument as unused.
313 * selector.c (sel_getName): New.
314 (sel_get_name): Call sel_getName.
315 (sel_getType): New.
316 (sel_get_type): Call sel_getType.
317 (sel_registerName): New.
318 (sel_register_name): Call sel_registerName.
319 (sel_registerTypedName): New.
320 (sel_register_typed_name): Call sel_registerTypedName.
321 (sel_getUid): New.
322 (sel_get_uid): Call sel_getUid.
323
ae8c76bf 3242010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
325
326 * objc/objc-api.h: Define Method, Method_t, Category and
327 Category_t. Prevent including this file at the same time as
328 objc/runtime.h. Updated comments.
329 * objc/deprecated/struct_objc_method.h: Do not define Method,
330 Method_t.
331 * objc/deprecated/struct_objc_category.h: Do not define Category,
332 Category_t.
333 * objc-private/module-abi-8.h: New file containing a copy of all
334 the structure definitions. Not used yet.
335 * objc/encoding.h (objc_aligned_size): Removed duplicate
336 declaration. Updated comments.
337 * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
338 Category, struct objc_method_description, _C_ID and similar,
339 _C_CONST and similar and _F_CONST and similar. Added
340 objc_sizeof_type, objc_alignof_type, objc_aligned_size,
341 objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
342 objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
343 struct objc_struct_layout, objc_layout_structure,
344 objc_layout_structure_next_member, objc_layout_finish_structure,
345 objc_layout_structure_get_info. Prevent including this file at
346 the same time as objc/objc-api.h.
347
011c3116 3482010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
349
350 * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
351 struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
352 struct_objc_method_list.h, struct_objc_module.h,
353 struct_objc_protocol_list.h, struct_objc_symtab.h.
354 * objc/deprecated/struct_objc_category.h: New.
355 * objc/deprecated/struct_objc_ivar.h: New.
356 * objc/deprecated/struct_objc_ivar_list.h: New.
357 * objc/deprecated/struct_objc_method.h: New.
358 * objc/deprecated/struct_objc_method_list.h: New.
359 * objc/deprecated/struct_objc_module.h: New.
360 * objc/deprecated/struct_objc_protocol_list.h: New.
361 * objc/deprecated/struct_objc_symtab.h: New.
362 * objc/deprecated/struct_objc_static_instances.h: New.
363 * objc/objc-api.h: Definitions of deprecated structures moved into
364 the above header fragment files in objc/deprecated/. Include the
365 files instead of definition the structures here. Updated
366 comments.
367 * objc/runtime.h: Updated comments. Do not include objc-api.h.
368 (objc_set_enumeration_mutation_handler): Renamed to
369 objc_setEnumerationMutationHandler.
370 * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
371 to objc_setEnumerationMutationHandler.
372 * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
373 objc_setExceptionMatcher.
374 (objc_set_uncaught_exception_handler): Renamed to
375 objc_setUncaughtExceptionHandler.
376 * exception.c: Same changes.
377
1ccdc1e5 3782010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
379
380 * objc-sync.c: Include objc-private/common.h.
381
83b8166b 3822010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
383
384 * objc-foreach.c: Include objc-private/common.h.
385 * objc/deprecated/METHOD_NULL.h: New file.
386 * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
387 defining METHOD_NULL here.
388 * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
389 * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
390 METHOD_NULL.
391 ([-respondsTo:]): Same change.
392 * objc/objc-api.h (method_get_imp): Converted it into a normal
393 function so that we can hide the internals of struct objc_method.
394 * sendmsg.c (method_get_imp): Implemented.
395
8dedc4ce 3962010-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
397
398 * objc/objc-api.h (struct objc_super, Super, Super_t,
399 objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
400 objc_msg_forward2): Declarations moved to objc/message.h. Include
401 message.h here.
402 * objc/message.h: Added such declarations; updated comments.
403
0a65c3bb 4042010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
405
406 Implemented fast enumeration for Objective-C.
407 * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
408 (OBJC_H): Added runtime.h
409 * objc-foreach.c: New file.
410 * objc/runtime.h: New file.
411
45cbadf0 4122010-09-30 Kai Tietz <kai.tietz@onevision.com>
413
414 * objc/deprecated/struct_objc_class.h: Add padding
415 to avoid warning with -Wpadded.
416
f8ee0563 4172010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
418
419 * encoding.c (objc_sizeof_type): Added support for vector type and
420 for double long types.
421 (objc_alignof_type): Same change.
422 (objc_skip_typespec): Same change.
423 * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
424 instead of '!' since '!' is already used for _C_VECTOR.
425 * objc/objc-api.h (_C_LNG_DBL): Added.
426
3adf81d8 4272010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
428
429 * libobjc_entry.c: File removed.
430
14df393a 4312010-09-26 Kai Tietz <kai.tietz@onevision.com>
432
e573db50 433 * sendmsg.c (objc_msg_lookup): Remove inline.
14df393a 434 (objc_get_uninstalled_dtable): Likewise.
435 * encoding.c (objc_skip_type_qualifiers): Likewise.
436 (objc_skip_offset): Likewise.
437 * archive.c (__objc_write_object): Likewise
438 (__objc_write_class):
439 (__objc_write_selector):
440 (objc_read_char):
441 (objc_read_unsigned_char):
442 (objc_read_short):
443 (objc_read_unsigned_short):
444 (objc_read_int):
445 (objc_read_long):
446 (__objc_read_nbyte_uint):
447 (objc_read_unsigned_int):
448 (objc_read_unsigned_long):
449 * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
450 (objc_EXPORT): Likewise.
451 * objc/message.h (objc-decls.h): Add include.
452 * objc/objc-api.h: Mark API by objc_EXPORT.
453 * libobjc.def (__objc_responds_to): Removed.
454
54d533d3 4552010-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
456
457 * hash.c: Include objc-private/hash.h instead of objc/hash.h.
458
459 * objc/sarray.h: Moved into objc/deprecated/sarray.h;
460 objc/sarray.h replaced with a placeholder including the file from
461 the deprecated/ directory.
462 * objc-private/sarray.h: New file (private copy of sarray.h).
463 * hash.c: Include <assert.h> instead of "assert.h"
464 * sarray.c: Include <assert.h> instead of "assert.h". Include
465 objc-private/sarray.h instead of objc/sarray.h.
466 * selector.c: Include objc-private/sarray.h instead of
467 objc/sarray.h.
468 * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h
469 instead of objc/sarray.h.
470 * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
471
41c3fcad 4722010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
473
474 * objc-private/objc-list.h (list_remove_elem): Unused function
475 removed. (list_nth): Unused function removed. (list_find):
476 Unused function removed. (list_lenght): Unused function removed.
477
1a46e3f1 4782010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
479
480 * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
481 replaced with a placeholder including the file from the
482 deprecated/ directory.
483 * objc/objc-api.h: Updated includes.
484 * objc/typedstream.h: Updated includes.
485 * objc-private/hash.h: New file (private copy of hash.h).
486 * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
487 objc/objc-list.h replaced with a placeholder including the file
488 from the deprecated/ directory.
489 * objc-private/objc-list.h: New file (private copy of objc-list.h).
490 * init.c: Include objc-private/hash.h and objc-private/objc-list.h
491 instead of objc/hash.h and objc/objc-list.h.
492 * selector.c: Same change.
493 * class.c: Added include <string.h>, which used to be implicitly included
494 when hash.h was included.
495 * exception.c: Same change.
496 * objects.c: Same change.
497 * sarray.c: Same change.
498 * sendmsg.c: Same change.
499 * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
1a46e3f1 500
a2a8dcb1 5012010-09-14 Nicola Pero <nicola.pero@meta-innovation.com>
502
503 Implemented objc_sync_enter() and objc_sync_exit(), which are
504 required by @synchronized() to work.
505 * objc-sync.c: New file.
506 * objc/objc-sync.h: New file.
507 * objc-private/objc-sync.h: New file.
508 * init.c (__objc_exec_class): Call __objc_sync_init() during the
509 Objective-C runtime startup.
510 * Makefile.in: Added objc-sync.c and objc-sync.h.
511 * configure.ac: Added GCC_CHECK_TLS.
512 * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
513 * configure: Regenerated.
514 * config.h.in: Regenerated.
515
db7e3326 5162010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
517
518 * Makefile.in (%_gc.lo): New pattern rules to build the
519 garbage-collected version of the library. Removed rules for
520 specific files that are no longer needed. Standardized all rules.
521 (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
522 (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
523 OBJC_SOURCE_FILES.
524 (INCLUDES): Removed the unused include -I$(srcdir)/objc.
525
5262010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
527
528 * memory.c (objc_calloc): Fixed call to GC_malloc when building
529 with Garbage Colletion.
530
564846ac 5312010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
532
533 * memory.c: Do not include objc-private/runtime.h.
534
bb882a43 5352010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
536
537 * objc/deprecated/objc_malloc.h: New file.
538 * objc/deprecated/objc_valloc.h: New file.
539 * objc/objc-api.h: Include the files instead of defining
540 objc_valloc, _objc_malloc() and similar.
541 * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
542 objc_malloc.h.
543 * memory.c: Removed the extra layer of indirection of _objc_malloc
544 and similar.
545 (objc_calloc): Use GC_malloc in the garbage-collected
546 implementation as GC_malloc returns memory that is already freed.
547 (objc_valloc): Deprecated.
548
c3a945cd 5492010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
550
551 * objc/deprecated/objc_error.h: New file.
552 * objc/objc-api.h: Include deprecated/objc_error.h instead of
553 defining objc_error and related.
554 * error.c: New file. Added _objc_abort function which replaces
555 objc_error. No change in functionality as they both print an
556 error and abort.
557 * misc.c: File removed. Code moved into memory.c and error.c.
558 * memory.c: New file.
559 * objc-private/error.h: New file.
560 * archive.c: Include objc-private/error.h and use _objc_abort
561 instead of objc_error everywhere.
562 * class.c: Same change.
563 * encoding.c: Same change.
564 * init.c: Same change, and simplified init_check_module_version.
565 * memory.c: Same change.
566 * sendmsg.c: Same change.
567 * thr.c: Same change.
568 * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
569 (OBJ_H): Reordered list.
570 (OBJS): Removed misc.lo, added memory.lo and error.lo.
571 (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
572 (misc_gc.lo): Rule removed.
573 (error_gc.lo): Rule added.
574 (memory_gc.lo): Rule added.
575
e58aa1bc 5762010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
577
578 * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
579 to check the API version. Added some comments.
580
581 * objc-private/common.h: New file.
582 * NXConstStr.m: Include objc-private/common.h.
583 * Object.m: Same change.
584 * Protocol.m: Same change.
585 * archive.c: Same change.
586 * class.c: Same change.
587 * encoding.c: Same change.
588 * exception.c: Same change.
589 * gc.c: Same change.
590 * hash.c: Same change.
591 * init.c: Same change.
592 * libobjc_entry.c: Same change.
593 * linking.m: Same change.
594 * misc.c: Same change (and added a comment).
595 * nil_method.c: Same change.
596 * objects.c: Same change.
597 * sarray.c: Same change.
598 * selector.c: Same change.
599 * sendmsg.c: Same change.
600 * thr.c: Same change.
601
0c528ee0 6022010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
603
604 * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
605
13085e2a 6062010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
607
608 * archive.c: Removed not needed includes.
609 * class.c: Same change.
610 * hash.c: Same change.
611 * misc.c: Same change.
612 * nil_method.c: Same change.
613 * objects.c: Same change.
614 * sarray.c: Same change.
615 * sendmsg.c: Same change.
616 * thr.c: Same change.
617
88457013 6182010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
619
620 * objc/runtime.h: Moved to objc-private/runtime.h. Do not include
621 all the objc/*.h files.
622 * objc-private/runtime.h: New file.
623 * archive.c: Include objc-private/runtime.h (and required objc/*.h
624 files) instead of objc/runtime.h.
625 * class.c: Same change.
626 * hash.c: Same change.
627 * init.c: Same change.
628 * misc.c: Same change.
629 * nil_method.c: Same change.
630 * objects.c: Same change.
631 * sarray.c: Same change.
632 * selector.c: Same change.
633 * sendmsg.c: Same change.
634 * thr.c: Same change.
635
344bfd09 6362010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
637
638 * objc/deprecated/struct_objc_selector.h: New file. Definition of
639 'struct objc_selector' and 'sel_eq' moved here.
640 * objc/deprecated/struct_objc_protocol.h: New file. Definition of
641 'struct objc_procotol' moved here.
642 * objc/deprecated/struct_objc_class.h: New file. Definition of
643 'struct objc_class' moved here.
644 * objc/deprecated/MetaClass.h: New file. Definition of MetClass
645 moved here.
646 * objc/deprecated/STR.h: New file. Definition of STR moved here.
647 * objc/message.h: New file. Definitions for relval_t, apply_t,
648 arglist, arglist_t and objc_msg_lookup were moved here.
649 * objc/objc.h: Include the above files instead of defining the
650 corresponding structs, types and functions here. Added new opaque
651 definitions for SEL and Class. Use Class and not 'struct
652 objc_class *' in the definition of 'struct objc_object'.
653 Commented all types defined in the file. Removed special
654 definition of BOOL as 'int' on __vxworks; use 'unsigned char'
655 there as well.
656 * objc/deprecated/objc-unexpected-exception.h: Renamed to
657 objc_unexpected_exception.h.
658 * objc/objc-api.h: Updated include of
659 objc-unexpetected-exception.h
660 * objc/objc-exception.h: Updated comments.
661 * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
662 files. Reindented list of files.
663
f99f2daf 6642010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
665
666 * objc/objc-api.h (objc_trace): Unused variable removed.
667
01eb761e 6682010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
669
670 * objc/deprecated: New directory.
671 * objc/deprecated/README: New file.
672 * objc/README: New file.
673 * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
674 objc/typedstream.h replaced with a placeholder including the file
675 from the deprecated/ directory.
676 * objc/deprecated/objc-unexpected-exception.h: New file with the
677 definition of _objc_unexpected_exception.
678 * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
679 instead of defining _objc_unexpected_exception.
680 * objc/deprecated/Object.h: New file with the deprecated Object
681 methods in a 'Deprecated' category.
682 * objc/Object.h Include deprecated/Object.h instead of defining
683 the deprecated methods.
684 * Object.m: Moved deprecated methods into 'Deprecated' category.
685 * objc-private: New directory.
686 * objc-private/README: New file.
687 * Makefile.in (OBJC_DEPRECATED_H): New variable.
688 (install-headers): Create installation directory for
689 OBJC_DEPRECATED_H headers, and install them.
690
6912010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
692
693 * objc/objc-exception.h: Fixed include of objc.h.
694
a5974a58 6952010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
696
697 * objc/objc-exception.h: New file.
698 * exception.c (objc_set_uncaught_exception_handler): Implemented.
699 (objc_set_exception_matcher): Implemented.
700 (objc_exception_throw): Use the uncaught exception handler if set.
701 (PERSONALITY_FUNCTION): Use the exception matcher instead of the
702 hardcoded isKindOf.
703 (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
704 up. Removed segmentation fault when value is 'nil'.
705 * objc/objc-api.h (_objc_unexpected_exception): Mark as
706 deprecated.
707 * Makefile.in (exception.lo, exception_gc.lo): Use
708 -Wno-deprecated-declarations when compiling.
709 (OBJC_H): Added objc-exception.h
710
aaba593f 7112010-09-08 Nicola Pero <nicola@nicola.brainstorm.co.uk>
712
713 * objc/typedstream.h: Deprecate all functions in the file. This
714 file is obsolete.
715 * objc/Object.h ([+streamVersion:], [-read:], [-write:],
716 [-awake]): Documented that these methods are deprecated. Added a
717 brief description of the Object class and its relationship to the
718 NSObject class.
719 * Makefile.in: Compile archive.c and Object.m with
720 -Wno-deprecated-declarations.
721
6ceebb84 7222010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
723
724 Removed obsolete intermediate threading layer.
725 * thr.c: Use __gthread_objc_xxx functions directly instead of
726 __objc_thread_xxx ones.
727 * objc/thr.h: Removed prototypes of no longer existing
728 __objc_thread_xxx functions.
729 * Makefile.in: Removed thr-objc.lo.
730 * thr-dce.c: File removed.
731 * thr-decosf1.c: File removed.
732 * thr-irix.c: File removed.
733 * thr-mach.c: File removed.
734 * thr-objc.c: File removed.
735 * thr-os2.c: File removed.
736 * thr-posix.c: File removed.
737 * thr-pthreads.c: File removed.
738 * thr-rtems.c: File removed.
739 * thr-single.c: File removed.
740 * thr-solaris.c: File removed.
741 * thr-vxworks.c: File removed.
742 * thr-win32.c: File removed.
743 * README.threads: File removed.
744 * THREADS.MACH: File removed.
745 * THREADS: Updated.
746
ec1aa67d 7472010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
748
749 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
750
f55308a5 7512010-09-06 Iain Sandoe <iains@gcc.gnu.org>
752
753 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
754 Add a comment as to why, update FIXME comments.
755
9ebbbe7f 7562010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
757
758 * makefile.dos: Obsolete file removed.
759
e0934084 7602010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
761
762 * aclocal.m4: Regenerate.
763
41f83444 7642010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
765
766 PR libobjc/30445
767 * configure.ac (extra_ldflags_libobjc): Define appropriately for
768 Cygwin and MinGW hosts.
769 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
770 (libobjc.dll): Likewise.
771 * configure: Regenerate.
772
e6408286 7732009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
774
775 * configure: Regenerate.
776
f8061704 7772009-11-28 Jakub Jelinek <jakub@redhat.com>
778
779 * sarray.c (sarray_free): Use old_buckets variable.
780 * encoding.c (objc_layout_structure_next_member): Remove unused
781 bfld_type_size variable.
782
81a71e2b 7832009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
784
785 * configure.ac (AC_PREREQ): Bump to 2.64.
786
cd9a469c 7872009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
788
789 * aclocal.m4: Regenerate.
790 * configure: Regenerate.
791 * config.h.in: Regenerate.
792
60598a3a 7932009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
794
795 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
796
a2655af1 7972009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
798
799 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
800 New variables.
801 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
802
9abe4a66 8032009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
804
805 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
806
6bc9506f 8072009-04-09 Nick Clifton <nickc@redhat.com>
808
809 * sendmsg.c: Change copyright header to refer to version 3 of
810 the GNU General Public License with version 3.1 of the GCC
811 Runtime Library Exception and to point readers at the COPYING3
812 and COPYING3.RUNTIME files and the FSF's license web page.
813 * NXConstStr.m: Likewise.
814 * Object.m: Likewise.
815 * Protocol.m: Likewise.
816 * archive.c: Likewise.
817 * class.c: Likewise.
818 * encoding.c: Likewise.
819 * exception.c: Likewise.
820 * gc.c: Likewise.
821 * hash.c: Likewise.
822 * init.c: Likewise.
823 * libobjc_entry.c: Likewise.
824 * linking.m: Likewise.
825 * misc.c: Likewise.
826 * nil_method.c: Likewise.
827 * objc/NXConstStr.h: Likewise.
828 * objc/Object.h: Likewise.
829 * objc/Protocol.h: Likewise.
830 * objc/encoding.h: Likewise.
831 * objc/hash.h: Likewise.
832 * objc/objc-api.h: Likewise.
833 * objc/objc-decls.h: Likewise.
834 * objc/objc-list.h: Likewise.
835 * objc/objc.h: Likewise.
836 * objc/runtime.h: Likewise.
837 * objc/sarray.h: Likewise.
838 * objc/thr.h: Likewise.
839 * objc/typedstream.h: Likewise.
840 * objects.c: Likewise.
841 * sarray.c: Likewise.
842 * selector.c: Likewise.
843 * thr-dce.c: Likewise.
844 * thr-decosf1.c: Likewise.
845 * thr-irix.c: Likewise.
846 * thr-mach.c: Likewise.
847 * thr-objc.c: Likewise.
848 * thr-os2.c: Likewise.
849 * thr-posix.c: Likewise.
850 * thr-pthreads.c: Likewise.
851 * thr-rtems.c: Likewise.
852 * thr-single.c: Likewise.
853 * thr-solaris.c: Likewise.
854 * thr-vxworks.c: Likewise.
855 * thr-win32.c: Likewise.
856 * thr.c: Likewise.
857 * libobjc.def: Change copyright header to refer to version 3 of
858 the GNU General Public License and to point readers at the COPYING3
859 file and the FSF's license web page.
860 * makefile.dos: Likewise.
861
8622009-04-09 Jakub Jelinek <jakub@redhat.com>
863
864 * Makefile.in: Change copyright header to refer to version
865 3 of the GNU General Public License and to point readers at the
866 COPYING3 file and the FSF's license web page.
867 * configure.ac: Likewise.
868
5d727e51 8692009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
870 David Ayers <ayers@fsfe.org>
871
872 PR libobjc/27466
873 * objc/objc-api.h (_objc_unexpected_exception): Declare
874 new hook. Update copyright dates.
875 * exception.c (objc_exception_throw): Use hook. Update
876 copyright dates.
877 * libobjc.def (_objc_unexpected_exception): Export hook.
878 Update copyright dates.
879
9af964d4 8802009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
881
882 * configure: Regenerate.
883
9e6fd619 8842008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
885
886 * configure: Regenerate.
887
a5095f65 8882008-11-21 Kai Tietz <kai.tietz@onevision.com>
889
890 * Object.m (errno): Replaced by errno.h include.
891 (compare): Cast self to id to prevent warning on comparison.
892 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
893 already there.
894 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
895 * thr-win32.c (__objc_thread_detach): Remove type warning.
896 (__objc_thread_id): Likewise.
897 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
898 for noreturn.
899
3f666fac 9002008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
901 Steve Ellcey <sje@cup.hp.com>
902
903 * configure: Regenerate for new libtool.
904 * config.h.in: Regenerate for new libtool.
905
cec41e68 9062008-07-18 Matthias Klose <doko@ubuntu.com>
907
908 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
909
7170e5e2 9102008-07-18 Matthias Klose <doko@ubuntu.com>
911
912 * Makefile.in: Include ../boehm-gc/threads.mk.
913 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
914
e0f44d87 9152008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
916
917 * Makefile.in (install-info): New stub target.
918
5b2c7553 9192008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
920
921 * configure: Regenerate.
922
108cde79 9232008-06-14 Kai Tietz <kai.tietz@onevision.com>
924
925 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
926 if HAVE_GETIPINFO is not defined.
927
61b5267d 9282008-06-10 Kai Tietz <kai.tietz@onevision.com>
929
930 * Object.m (compare): Add type id.
931 * objc/Object.h: Likewise.
932 * archive.c (objc_read_class): Use size_t to extend version to be
933 size of pointer scalar width.
934 * sendmsg.c (rtx): Undefine it before redefinition.
935 (__objc_print_dtable_stats): Cast arguments to long as intended.
936
ab2a1d30 9372008-05-30 Julian Brown <julian@codesourcery.com>
938
939 * exception.c (__objc_exception_class): Initialise as constant
940 array for ARM EABI. Change macro to static const for non-ARM EABI.
941 (ObjcException): Add note about structure layout. Remove landingPad
942 and handlerSwitchValue for ARM EABI.
943 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
944 of function.
945 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
946 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
947 ARM EABI unwinding support.
948 (objc_exception_throw): Use memcpy to initialise exception class.
949
eec9c06d 9502008-05-25 Alan Modra <amodra@bigpond.net.au>
951
952 * encoding.c (strip_array_types): Rename from get_inner_array_type.
953 (rs6000_special_round_type_align): Update.
954
ac051731 9552008-05-09 Julian Brown <julian@codesourcery.com>
956
957 * Makefile.in (LTLDFLAGS): New.
958 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
959
6a88da51 9602008-04-18 Paolo Bonzini <bonzini@gnu.org>
961
962 PR bootstrap/35457
963 * aclocal.m4: Regenerate.
964 * configure: Regenerate.
965
c20cb8bb 9662008-01-24 David Edelsohn <edelsohn@gnu.org>
967
968 * configure: Regenerate.
969
daf4a08b 9702007-10-14 H.J. Lu <hongjiu.lu@intel.com>
971
972 * configure.ac: Don't run config-ml.in directly.
973 (multilib_arg): New.
974 * configure: Regenerated.
975
75f132d4 9762007-08-06 Andrew Pinski <pinskia@gmail.com>
977
978 PR libobjc/30731
979 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
980 of _Unwind_Word for variables which are used in
981 read_uleb128/read_sleb128.
982 (PERSONALITY_FUNCTION): Likewise.
983
cecc75a9 9842007-07-05 H.J. Lu <hongjiu.lu@intel.com>
985
986 * aclocal.m4: Regenerated.
987
6d7301dc 9882007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
989
990 * configure.ac: Fix a typo in *-*-darwin clause.
991 * configure: Regenerated.
992
1e0545b2 9932007-06-02 H.J. Lu <hongjiu.lu@intel.com>
994
995 * configure.ac: Fix a typo.
996 * configure: Regenerated.
997
07c46636 9982007-06-02 Paolo Bonzini <bonzini@gnu.org>
999
1000 * configure: Regenerate.
1001
f90c9f0e 10022007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
1003
1004 * Makefile.in: Replace all uses of libext with libsuffix.
1005 * configure.ac: Likewise.
1006 * configure: Regenerate.
1007
1008 Revert:
1009 * Makefile.in: Remove all uses of $(libext).
1010
79511dd7 10112007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
1012
1013 * Makefile.in: Remove all uses of $(libext).
1014
542f9784 10152007-05-23 Steve Ellcey <sje@cup.hp.com>
1016
1017 * configure: Regenerate.
1018 * aclocal.m4: Regenerate.
1019
4f80b75a 10202007-04-21 Andrew Ruder <andy@aeruder.net>
1021
1022 * sendmsg.c (__objc_get_forward_imp): Call
1023 __objc_msg_forward2 for real.
1024
1ec32795 10252007-04-09 Andrew Ruder <andy@aeruder.net>
1026
1027 * sendmsg.c: Added __objc_msg_forward2, a hook that allows
1028 external libraries to provide a function that returns the real
1029 forwarding function based on both the selector and the receiver.
1030 * objc/objc-api.h: Define __objc_msg_forward2.
1031
cbb90fc8 10322007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1033
1034 * Makefile.in: Add dummy install-pdf target.
1035
91bf330a 10362007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1037
1038 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
1039 unused warning.
1040
c8dfb8ef 10412006-10-31 Geoffrey Keating <geoffk@apple.com>
1042
1043 * encoding.c (darwin_rs6000_special_round_type_align): New.
1044
ff434425 10452006-10-14 Geoffrey Keating <geoffk@apple.com>
1046
1047 * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
1048 * configure.ac: Use multi.m4 from aclocal rather than custom
1049 code. Use multi_basedir instead of toplevel_srcdir.
1050 * aclocal.m4: Regenerate.
1051 * configure: Regenerate.
1052
51f93521 10532006-10-10 Brooks Moses <bmoses@stanford.edu>
1054
1055 * Makefile.in: Added empty "pdf" target.
1056
3e427a9c 10572006-07-18 Paolo Bonzini <bonzini@gnu.org>
1058
1abbe012 1059 * configure: Regenerate.
3e427a9c 1060
ba0c10ab 10612006-05-23 Carlos O'Donell <carlos@codesourcery.com>
1062
1063 * Makefile.in: Add install-html target. Add install-html to .PHONY
1064
03f0fdd8 10652006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1066
1067 PR libobjc/26309
1068 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
1069
0f151698 10702006-01-24 David Ayers <d.ayers@inode.at>
1071
1072 PR libobjc/9751
1073 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
1074 and insure the new strings are '\0' termintated.
1075
e23e7a91 10762006-01-24 David Ayers <d.ayers@inode.at>
1077
1078 PR libobjc/13946
1079 * configure.ac: Add include directives for --enable-objc-gc.
1080 * Makefile.in: Ditto.
1081 * configure: Regenerate.
1082
1083 * gc.c (__objc_class_structure_encoding): Increment the used bytes
1084 instead of the local pointer to them.
1085
0ee579cd 10862005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
1087
1088 PR objc/25360
1abbe012 1089 * objc/objc-api.c (_C_COMPLEX): New define.
1090 * encoding.c (objc_sizeof_type): Handle _C_Complex.
1091 (objc_alignof_type): Likewise.
1092 (objc_skip_typespec): Likewise.
0ee579cd 1093
680ee79d 10942005-12-15 David Ayers <d.ayers@inode.at>
1095
1096 PR libobjc/14382
1097 * README (+load,+initialize): Fix documentation to reflect
1098 intended and implemented semantics for +load and +initialize.
1099
2be744b2 11002005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
1101
1102 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
1103 the name.
1104 (get_inner_array_type): Fix to skip over _C_ARY_B and size.
1105 (rs6000_special_round_type_align): Update for the ABI fix.
1106 (objc_layout_finish_structure): Correct the encoding which is passed to
1107 ROUND_TYPE_ALIGN.
1108
39be2506 11092005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
1110
1111 PR libobjc/25347
1112 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
1113 but use the struct layout functions.
1114 (objc_alignof_type): Likewise.
1115 (objc_layout_structure): Handle _C_UNION_B also.
1116 (objc_layout_structure_next_member): Likewise.
1117 (objc_layout_finish_structure): Likewise.
1118
f0727156 11192005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
1120
1121 PR libobjc/25346
1122 * objc/objc-api.h (_C_BOOL): New define.
1123 * encoding.c (objc_sizeof_type): Handle _C_BOOL.
1124 (objc_alignof_type): Likewise.
1125 (objc_skip_typespec): Likewise.
1126
ce92776b 11272005-11-20 David Ayers <d.ayers@inode.at>
1128
1129 PR libobjc/19024
1130 * objc/hash.h: Remove deprecated hash API.
1131 * hash_compat.c: Remove.
1132 * Makefile.in: Remove reference to hash_compat.c.
1133
1134 * configure.ac (VERSION): Bump library version to 2:0:0.
1135 * configure: Regenerate.
1136
6251c8ef 11372005-11-09 Alexandre Oliva <aoliva@redhat.com>
1138
1139 PR other/4372
1140 * thr-objc.c (_XOPEN_SOURCE): Define.
1141
64c7c50c 11422005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
1143
1144 PR libobjc/23612
1145 * objc/objc-api.h (struct objc_ivar): Move definition to
1146 global scope.
1147
4a00db2f 11482005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
1149 Rasmus Hahn <rassahah@neofonie.de>
1150
1151 PR libobjc/23108
1152 * archive.c (objc_write_type): Correct the element offset.
1153 (objc_read_type): Likewise.
1154
b1df5b26 11552005-08-17 Kelley Cook <kcook@gcc.gnu.org>
1156
1157 * All files: Update FSF address.
1158
34dcb2fb 11592005-08-13 Marcin Koziej <creep@desk.pl>
1160 Andrew Pinski <pinskia@physics.uc.edu>
1161
1162 PR libobjc/22492
1163 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
1164
a16ff609 11652005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
1166
1167 * Makefile.in (extra_ldflags_libobjc): New.
1168 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
1169 (libobjc_gc$(libext).la): Likewise.
1170 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
1171 "-Wl,-single_module".
1172 * configure: Regenerate.
1173 * linking.m (_objcInit): Remove.
1174
7f0dae42 11752005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
1176
1177 PR libobjc/22606
1178 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
1179
bafbe935 11802005-06-08 David Ayers <d.ayers@inode.at>
1181
1182 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
1183 objc/encoding.h, objc/hash.h, objc/objc-api.h,
1184 objc/runtime.h, objc/sarray.h, objc/thr.h,
1185 objc/typedstream.h: Do not include Objective-C headers as
1186 system headers.
1187
2386cda7 11882005-06-07 David Ayers <d.ayers@inode.at>
1189
1190 * archive.c, init.c, selector.c: Include hash.h.
1191 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
1192 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
1193 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
1194 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
1195 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
1196 Include Objective-C headers with quotes and objc/ directory
1197 prefix.
1198
d65ede2b 11992005-05-19 Richard Henderson <rth@redhat.com>
1200
1201 * exception.c: Revert last change.
1202
5cbe495f 12032005-05-19 David Ayers <d.ayers@inode.at>
1204
1205 * exception.c: Include tsystem.h for unwind.h.
1206
5f0a087e 12072005-05-09 Mike Stump <mrs@apple.com>
1208
1209 * configure: Regenerate.
1210
3bcf2cd5 12112005-04-12 Mike Stump <mrs@apple.com>
1212
1213 * configure: Regenerate.
1214
32ee7eb8 12152005-03-21 Zack Weinberg <zack@codesourcery.com>
1216
1217 * Makefile.in: Set gcc_version here.
1218 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
1219 in definition of toolexeclibdir so that $(gcc_version) is expanded
1220 by the Makefile.
1221 * aclocal.m4, configure: Regenerate.
1222
92effd87 12232005-03-03 David Ayers <d.ayers@inode.at>
1224
1225 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
1226 version reference. Correct typo.
1227
18e20a6b 12282005-03-02 David Ayers <d.ayers@inode.at>
1229
1230 PR libobjc/19024
1231 * Makefile.in (OBJS): Add hash_compat.lo.
1232 (OBJS_GC): Add hash_compat_gc.lo.
1233 (hash_compat_gc.lo): New target and rule.
1234 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
1235 (hash_next, hash_value_for_key, hash_is_key_in_hash)
1236 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
1237 with objc_. Add deprecated non prefixed inlined versions.
1238 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
1239 declarations.
1240 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
1241 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
1242 update callers.
1243 * hash_compat.c: New file.
1244 * archive.c: Update callers.
1245 * init.c: Likewise.
1246 * selector.c: Likewise.
1247 * libobjc.def: Add objc_ versions of hash functions.
1248
576007bc 12492005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
1250
1251 PR libobjc/20252
1252 * Makefile.in (GTHREAD_FLAGS): Remove.
1253 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
1254 * thr-objc.c: Include config.h.
1255 * configure.ac: Instead of looking at GCC's makefile, figure out if
1256 GTHREAD_FLAGS should be defined by looking at the `thread model'
1257 of the current gcc.
1258 * configure: Regenerate.
1259 * config.h.in: Regenerate.
1260
c1eb9e31 12612005-02-28 Paolo Bonzini <bonzini@gnu.org>
1262
1263 PR bootstrap/17383
1264 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
1265 (Determine CFLAGS for gthread): Use $host_subdir.
1266 * configure: Regenerate.
1267 * Makefile.in (host_subdir): New.
1268 (INCLUDES): Use it.
1269
ee258b7c 12702004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
1271
1272 PR libobjc/12035
1273 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
c5703f4d 1274 they are not used.
1275 Include limits.h and stdlib.h.
1276 Define BITS_PER_WORD.
ee258b7c 1277
57490718 12782004-12-12 Alexander Malmberg <alexander@malmberg.org>
1279
1280 * selector.c (__objc_init_selector_tables): Add missing void to
1281 definition.
1282
14ac9144 12832004-12-02 Richard Sandiford <rsandifo@redhat.com>
1284
1285 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1286 * configure, aclocal.m4: Regenerate.
1287
d081dd29 12882004-11-29 Kelley Cook <kcook@gcc.gnu.org>
1289
1290 * configure: Regenerate for libtool change.
1291
a234d196 12922004-11-25 Kelley Cook <kcook@gcc.gnu.org>
1293
1294 * configure: Regenerate for libtool reversion.
1295
7f93fe7a 12962004-11-24 Kelley Cook <kcook@gcc.gnu.org>
1297
1298 * configure: Regenerate for libtool change.
1299
2ce59e1b 13002004-11-24 Kelley Cook <kcook@gcc.gnu.org>
1301
1302 * aclocal.m4, config.h.in: Regenerate.
1303
3c72aa9c 13042004-10-08 Mike Stump <mrs@apple.com>
32ee7eb8 1305 Andrew Pinski <pinskia@physics.uc.edu>
3c72aa9c 1306
1307 * aclocal.m4: Rename to ...
1308 * acinclude.m4: here and also use m4_include instead of sinclude.
1309 * aclocal.m4: Regenerate.
1310 * configure: Regenerate.
1311 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
9d1e93a5 1312 * Makefile.in (configure): Add @MAINT@ infront of configure.ac
3c72aa9c 1313
1ff2b664 13142004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
1315
1316 * archive.c: Fix all the warnings about passing unsigned char*
1317 to char* and the other way too.
1318
e7d4d902 13192004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
1320
1321 PR libobjc/16448
1322 * exception.c: Include config.h
1323 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
1324 SJLJ_EXCEPTIONS.
1325 * configure.ac: Find out what exception handling code we use.
1326 * configure: Regenerate.
1327 * config.h.in: New file, regenerate.
1328
e5333be7 13292004-09-16 Andrew Pinski <apinski@apple.com>
1330
1331 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
1332
f251b3df 13332004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
1334
1335 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
1336 ACX_NONCANONICAL_TARGET.
1337 * configure: Regenerate.
1338
7cde5855 13392004-08-13 Ziemowit Laski <zlaski@apple.com>
1340
1341 * objc/sarray.h: Hoist include of assert.h near the top of file,
1342 and mark the remainder of the file 'extern "C"'.
1343
35072fc1 13442004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
1345
1346 * objc/Object.h: Move includes out of extern "C" blocks.
1347 * objc/encoding.h: Likewise.
1348 * objc/hash.h: Likewise.
1349 * objc/objc-api.h: Likewise.
1350 * objc/runtime.h: Likewise.
1351 * objc/sarray.h: Likewise.
1352 * objc/typedstream.h: Likewise.
1353
b51dff7b 13542004-08-12 Ziemowit Laski <zlaski@apple.com>
1355
1356 * objc/NXConstStr.h: Update copyright date; bracket with
1357 'extern "C"' for C++ use; make include syntax consistent
1358 by using <...> instead of "..."; hoist <objc/...> includes
1359 above the 'extern "C"' block.
1360 * objc/Object.h: Likewise.
1361 * objc/Protocol.h: Likewise.
1362 * objc/encoding.h: Likewise.
1363 * objc/hash.h: Likewise.
1364 * objc/runtime.h: Likewise.
1365 * objc/sarray.h: Likewise.
1366 * objc/thr.h: Likewise.
1367 * objc/typedstream.h: Likewise.
1368 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
1369 (objc_static_instances): For C++ case, do away with
1370 zero-sized array.
1371 (objc_method): Hoist definition to file scope.
1372 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
32ee7eb8 1373 class_get_instance_method, class_create_instance,
b51dff7b 1374 class_get_class_name, class_get_instance_size,
1375 class_get_meta_class, class_get_super_class, class_get_version,
1376 class_is_class, class_is_meta_class, class_set_version,
1377 class_get_gc_object_type, class_ivar_set_gcinvisible,
1378 get_imp): Rename 'class' parameter to '_class'.
1379 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
1380 * objc/objc.h: Update copyright date.
1381 (arglist_t): Provide a union tag.
1382
c1d30c57 13832004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
1384
1385 * thr.c (__objc_thread_detach_function): Do not mark as volatile
1386 but instead use the attribute noreturn.
1387
78f7fe68 13882004-06-28 Zack Weinberg <zack@codesourcery.com>
1389
1390 * encoding.c: Rename target_flags with a #define to avoid
1391 conflict with a prior declaration.
1392
c2740ba8 13932004-06-24 Andrew Pinski <apinski@apple.com>
1394
1395 * objc/encoding.h: Wrap the functions with extern "C" for C++
78f7fe68 1396 mode.
c2740ba8 1397 * objc/hash.h: Likewise.
1398 * objc/objc-api.h: Likewise.
1399 * objc/objc-list.h: Likewise.
1400 * objc/runtime.h: Likewise.
1401 * objc/sarray.h: Likewise.
1402 * objc/thr.h: Likewise.
1403 * objc/typedstream.h: Likewise.
1404
1405
371d0c11 14062004-06-21 Nick Clifton <nickc@redhat.com>
1407
1408 * encoding.c (BITS_PER_UNIT): Define if a definition is not
1409 provided.
1410
98fde024 14112004-06-20 Alexander Malmberg <alexander@malmberg.org>
1412
78f7fe68 1413 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
1414 (exception_gc.lo): New.
1415 (OBJS_GC): Add exception_gc.lo.
1416
2c5cfd29 14172004-06-17 Richard Henderson <rth@redhat.com>
1418
1419 * exception.c: New file.
1420 * Makefile.in (exception.lo): New.
1421 (OBJS): Add it.
1422
f793c280 14232004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
1424
1425 * linking.m (_objcInit): New empty function
1426 for Darwin only.
1427
08a135f0 14282004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
1429
a4761b96 1430 * configure.ac: Support --enable-shared=libobjc.
1431 * configure: Regenerate.
1432
08a135f0 1433 PR libobjc/15901
1434 * configure.ac: Do not disable shared by default.
1435 * configure: Regenerate.
1436
ff2b971f 14372004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
1438
1439 * Protocol.m ([-isEqual:]): Small optimizations returning
1440 immediately if the argument is equal to self, and accessing
1441 the argument's name directly if it's a protocol.
1442
14432004-06-03 David Ayers <d.ayers@inode.at>
1444
1445 * Protocol.m ([-isEqual:]): Test the class of the argument.
1446
166e6519 14472004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1448
ce716239 1449 * configure.ac (includedir): Rename to ...
1450 (includedirname).
1451 * Makefile.in: s/includedir/includedirname/.
1452
166e6519 1453 PR target/11572
1454 * configure.ac (includedir): Set to "include"
1455 except for Darwin.
1456 (libext) Set to empty except for Darwin.
1457 * configure: Regenerate
1458 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
1459 s/include/$(includedir)/g.
1460
428b4753 14612004-05-25 Daniel Jacobowitz <drow@false.org>
1462
1463 * Makefile.in: Add .NOEXPORT.
1464
dd86e3be 14652004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1466
1467 Merge from the libobjc-branch
1468 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
78f7fe68 1469
dd86e3be 1470 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
78f7fe68 1471
dd86e3be 1472 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
78f7fe68 1473
dd86e3be 1474 * Makefile.in (OBJC_H): Add objc-deps.h.
78f7fe68 1475
dd86e3be 1476 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
78f7fe68 1477
dd86e3be 1478 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
1479 ([-hash], [-isEqual:]): New methods.
78f7fe68 1480
dd86e3be 1481 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
78f7fe68 1482
dd86e3be 1483 * sarray.c (sarray_free): Add a better comment.
78f7fe68 1484
dd86e3be 1485 2004-01-27 Adam Fedor <fedor@gnu.org>
78f7fe68 1486
dd86e3be 1487 * hash.c (hash_add): Cast cachep to int.
1488 * selector.c (__sel_register_typed_name): Cast
1489 soffset_decode to int.
78f7fe68 1490
dd86e3be 1491 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
78f7fe68 1492
dd86e3be 1493 * selector.c: Rename register_selectors_from_list to
1494 __objc_register_selectors_from_list. Update caller.
1495 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
1496 while registering selectors. Use __sel_register_typed_name instead
1497 of sel_register_typed_name. Check for NULL method_name:s.
1498 (pool_alloc_selector): New function.
1499 (__sel_register_typed_name): Use pool_alloc_selector to allocate
1500 selector structures.
1501 * sendmsg.c (class_add_method_list): Use
1502 __objc_register_selectors_from_list.
1503 * objc/runtime.h: Add __objc_register_selectors_from_list.
78f7fe68 1504
dd86e3be 1505 2004-01-25 Adam Fedor <fedor@gnu.org>
78f7fe68 1506 Nicola Pero <n.pero@mi.flashnet.it>
1507 Andrew Pinski <pinskia@physics.uc.edu>
1508
dd86e3be 1509 * objc/objc-decls.h: New file.
1510 * objc/objc-api.h (_objc_lookup_class): Mark as export.
1511 (_objc_load_callback): Likewise.
1512 (_objc_object_alloc): Likewise.
1513 (_objc_object_copy): Likewise.
1514 (_objc_object_dispose): Likewise.
78f7fe68 1515
dd86e3be 1516 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
78f7fe68 1517
dd86e3be 1518 * archive.c: s/__inline__/inline
78f7fe68 1519 * sendmsg.c: Likewise.
1520
dd86e3be 1521 * encoding.c: Remove FIXME about the warning
1522 about unused variable.
1523 * sendmsg.c: Add a FIXME comment saying that
1524 this should be using libffi.
78f7fe68 1525
dd86e3be 1526 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
78f7fe68 1527
dd86e3be 1528
051078cb 15292004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
1530
1531 * archive.c (objc_read_class): Initialize class_name.
1532 (objc_read_selector): Initialize selector_name.
1533
57a4c641 15342004-05-09 Richard Sandiford <rsandifo@redhat.com>
1535
1536 * Makefile.in (toolexecdir): Remove trailing space.
1537
b5bed5a5 15382004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
1539
1540 PR libobjc/14948
1541 * configure.ac: De-precious CC so multilibs work.
1542 * configure: Regenerate.
1543
85fe910a 15442004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
1545
1546 * configure.ac: Restore toolexecdir.
1547 * Makefile.in: Restore toolexecdir.
1548 * configure: Regenerate.
1549
9c4e05bc 15502004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
1551
5c89e003 1552 * configure.ac: Remove (unused) glibcpp_prefixdir.
1553 * configure: Regenerate.
1554
4330fb65 1555 * configure.in: Rename to configure.ac.
1556 * Makefile.in: Update to match.
1557
7fc7cb73 1558 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
1559 Replace glibcpp_toolexeclibdir with toolexeclibdir.
1560 * configure.in: Remove glibcpp_toolexecdir (unused).
1561 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
1562 config.h or stamp-h (unused). Move one comment to the right place.
1563 * configure: Regenerate.
1564 * config.h.in: Remove (unused).
1565
db33ae15 1566 * config.h.in: Regenerate with autoheader.
1567
5af8565b 1568 * Makefile.in: Remove (unused) gcc_version_trigger.
1569 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
1570 gcc_version_trigger.
1571 * configure: Regenerate.
1572
0404be24 1573 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
1574 Sort file into sections. Remove dnl where appropriate. Fix
1575 other style issues.
1576 * configure: Regenerate.
1577
109c3844 1578 * configure.in: Replace old AC_PROG_CC hack with new one.
1579 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
1580 are no subdirectory output files, so this is fine). Change prereq
1581 to autoconf 2.59.
1582 * aclocal.m4: Include ../config/no-executables.m4.
1583 * configure: Regenerate with autoconf 2.59.
1584
aaa34aa0 1585 * configure.in: Improve comments on gthread_cflags. Improve m4
1586 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
1587 * configure: Regenerate.
1588
62fa4357 1589 * configure.in: Move PACKAGE and VERSION settings up top. Remove
1590 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
1591 redundant checks for values of RANLIB, AR, INSTALL.
1592 * configure: Regenerate.
1593
9c4e05bc 1594 * configure.in: Clean up handling of
1595 --enable-version-specific-runtime-libs and related variables;
1596 replace 'if test' with 'case' where reasonable. Fix comments.
1597 Remove useless libstdcxx_interface.
1598 * configure: Regenerate.
1599
1600 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
1601 Replace uses of target_alias with target_noncanonical.
1602 * aclocal.m4: Include ../config/acx.m4.
1603 * configure: Regenerate.
1604 * Makefile.in: Replace uses of target_alias with target_noncanonical.
1605 Fix copyright statement.
1606
1607 * configure.in: Hand-inline bulky, confusing macros from
1608 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
1609 Update copyright notice. Remove stuff for automake, which isn't
1610 used in this directory. Remove emacs local variables.
1611 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
1612 * configure: Regenerate.
1613
57517ed7 16142004-03-16 Manfred Hollstein <mh@suse.com>
1615
1616 * Makefile.in, configure.in, configure: Update copyright years.
1617
f01fd551 16182004-03-15 Manfred Hollstein <mh@suse.com>
1619
1620 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
1621 definition from configure.in.
1622 * configure.in (PACKAGE): Add definition.
1623 (VERSION): Add definition; substitute it in output files.
1624 * configure: Re-generate.
1625
85a9f75f 16262004-03-05 Ziemowit Laski <zlaski@apple.com>
1627
1628 * objc/hash.h (hash_string, compare_strings):
1629 Add type-casts to make Objective-C++ happy.
1630 * objc/typedstream.h (objc_get_stream_class_version):
1631 Rename parameter from 'class' to 'class_name' to make
1632 Objective-C++ happy.
1633
e611f5ed 16342004-03-01 Michael Matz <matz@suse.de>
1635
1636 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
1637
7e200d93 16382004-02-06 Ziemowit Laski <zlaski@apple.com>
1639
1640 * objc/objc-api.h (objc_super): The 'class' field shall
1641 be named 'super_class' #ifdef __cplusplus.
1642
d84c6db8 16432004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
1644
1645 PR target/10781
1646 * encoding.c (rs6000_special_round_type_align): Define.
1647
7ac2c97c 16482004-01-14 Adam Fedor <fedor@gnu.org>
1649
1650 PR libobjc/12155
1651 * selector.c (__objc_register_instance_methods_to_class): Free
1652 new_list if not used.
1653
4e2e0242 16542004-01-09 Andrew Ruder <aeruder@ksu.edu>
1655
1656 PR libobjc/11904
1657 * sarray.c (sarray_free): Free array->is_copy_of latter.
1658
c34d298c 16592003-12-01 Zack Weinberg <zack@codesourcery.com>
1660
1661 PR 11433
1662 * Protocol.m (descriptionForInstanceMethod): Don't dereference
1663 instance_methods if it's NULL.
1664 (descriptionForClassMethod): Likewise for class_methods.
1665
5148359d 16662003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1667
1668 * Makefile.in (runtime-info.h): Remove -Wp.
1669
ad911efc 16702003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1671
1672 * Makefile.in (CC1OBJ): Remove.
1673 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
1674 correctly.
1675 Use .m extension for temporary file.
1676 Remove assembler temp file.
1677
6f579207 16782003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
1679
1680 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
1681
61a0eea4 16822003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1683
1684 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
1685
9165b0af 16862003-09-09 Alan Modra <amodra@bigpond.net.au>
1687
1688 * configure: Regenerate.
1689
fcf30240 16902003-08-27 Alexander Malmberg <alexander@malmberg.org>
1691
1692 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
1693 (libdir)/gcc-lib/ when installing.
1694 * configure: Regenerate.
1695
c3176bc8 1696Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
1697
1698 libobjc/9969
1699 * sendmsg.c (get_imp): Fixed rare threading problem.
1700 (__objc_responds_to): Similar fixes.
1701 (objc_msg_lookup): Similar fixes.
1702 (__objc_init_install_dtable): Lock the runtime before checking if the
1703 table is installed.
c34d298c 1704
893d9197 17052003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
1706
a622d84f 1707 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
1708 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
1709 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
1710 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
c34d298c 1711 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
a622d84f 1712 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
893d9197 1713 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
1714 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
1715 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
1716 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
1717 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
1718
83e8faaa 1719Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
c34d298c 1720 Nicola Pero <n.pero@mi.flashnet.it>
83e8faaa 1721
1722 libobjc/10742
1723 * init.c (class_superclass_of_class): New function.
1724 (create_tree_of_subclasses_inherited_from): Use it.
1725 (__objc_tree_insert_class): Likewise.
1726 (class_is_subclass_of_class): Likewise.
c34d298c 1727
c5c4daed 17282003-04-11 David Chad <davidc@freebsd.org>
1729 Loren J. Rittle <ljrittle@acm.org>
1730
1731 libobjc/8562
1732 * objc/hash.h (hash_string): Constify correctly.
1733 (compare_ptrs): Use direct compare.
1734 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
1735 * objc/sarray.h: Global rename index to indx to avoid shadow.
1736
777bb3dc 17372003-03-12 Andreas Schwab <schwab@suse.de>
1738
1739 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1740 glibcpp_toolexeclibdir.
1741 * configure: Rebuilt.
1742
e4e6363f 17432003-02-20 Alexandre Oliva <aoliva@redhat.com>
1744
1745 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1746 config.status.
1747 * configure: Rebuilt.
1748
534a4c5a 17492003-01-27 Alexandre Oliva <aoliva@redhat.com>
1750
1751 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
1752 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1753 version_specific_libs is enabled.
1754 * configure: Rebuilt.
1755
71aad3b8 17562003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1757
1758 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1759 (install-libs, install-headers): Prepend $(DESTDIR) to
1760 destination paths in all (un)installation commands.
1761
805e22b2 17622002-12-02 Zack Weinberg <zack@codesourcery.com>
1763
1764 * thr-objc.c: Include coretypes.h and tm.h.
1765
17662002-12-01 Zack Weinberg <zack@codesourcery.com>
1767
1768 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
1769
17702002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
1771
1772 * configure.in: Remove skip-this-dir support.
1773 * configure: Regenerate.
1774
5f7912d8 17752002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1776
1777 * Makefile.in (all): Fix multilib parallel build.
1778
fb776f7c 1779Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
1780
1781 * sendmsg.c (nil_method): Declare not to take a variable number of
1782 args.
1783 (objc_msg_lookup): Cast nil_method to IMP before returning it.
1784 (objc_msg_lookup_super): The same.
1785
d652db17 17862002-09-10 Jan Hubicka <jh@suse.cz>
1787
4774037d 1788 * nil_method.c (nil_method): No longer defined with variable
1789 arguments.
d652db17 1790
61776355 17912002-07-02 Rodney Brown <rbrown64@csc.com.au>
1792
1793 * objc/encoding.h: Fix formatting.
1794 * objc/hash.h: Likewise.
1795 * objc/objc-api.h: Likewise.
1796 * objc/runtime.h: Likewise.
1797 * objc/thr.h: Likewise.
1798 * archive.c: Likewise.
1799 * class.c: Likewise.
1800 * encoding.c: Likewise.
1801 * gc.c: Likewise.
1802 * hash.c: Likewise.
1803 * init.c: Likewise.
1804 * misc.c: Likewise.
1805 * nil_method.c: Likewise.
1806 * objects.c: Likewise.
1807 * sarray.c: Likewise.
1808 * selector.c: Likewise.
1809 * sendmsg.c: Likewise.
1810 * thr-mach.c: Likewise.
1811 * thr.c: Likewise.
1812
8400ab1c 18132002-06-25 DJ Delorie <dj@redhat.com>
1814
1815 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
1816 GLIBCPP_TOPREL_CONFIGURE.
1817 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1818 * configure: Regenerate.
1819
94627e4f 18202002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1821
1822 * Object.m (forward, read, write): Fix unused parameter warnings.
1823 * encoding.c: Include <stdlib.h>.
1824 (target_flags): Mark with attribute unused.
1825 (atoi): Delete.
1826 * runtime.h (__objc_selector_max_index): Change to unsigned int.
1827 (__objc_generate_gc_type_description): Prototype.
1828 * selector.c (__objc_selector_max_index): Change to unsigned int.
1829
ce04f8fd 1830Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
1831
1832 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
1833 we always have a return value: if __objc_msg_forward does not
1834 supply a forwarding implementation, return the default
1835 __builtin_apply based one.
1836
adff42e6 18372002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1838
1839 * Object.m: Fix signed/unsigned warning.
1840 * Protocol.m: Likewise.
1841 * archive.c: Always include stdlib.h.
1842 (objc_read_short, objc_read_unsigned_short, objc_read_int,
1843 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
1844 Fix signed/unsigned warning.
1845 (objc_write_type, objc_read_type, objc_write_types,
1846 objc_read_types): Ensure ctype 8-bit safety.
1847 (__objc_no_write, __objc_no_read): Mark unused parameters.
1848 * class.c (class_table_setup): Specify void arg.
1849 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
1850 objc_skip_typespec, objc_skip_offset,
1851 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
1852 (objc_layout_structure_next_member): Ensure variables are
1853 initialized.
1854 * gc.c (__objc_generate_gc_type_description,
1855 class_ivar_set_gcinvisible): Mark unused parameters.
1856 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
1857 unused parameters.
1858 (__objc_init_protocols) Fix signed/unsigned warning.
1859 * nil_method.c (nil_method): Mark unused parameters.
1860 * thr.h (objc_thread_callback): Specify void arg.
1861 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
1862 signed/unsigned warning.
1863 (sarray_free): Fix formatting.
1864 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
1865 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
1866
5564b88a 18672002-06-09 Andreas Jaeger <aj@suse.de>
1868
1869 * encoding.c (objc_layout_structure_next_member): Remove unused
1870 variable.
1871
c86bfe45 18722002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1873
1874 * Makefile.in (SHELL): Set to @SHELL@.
1875 (WARN_CFLAGS): New.
1876 (ALL_CFLAGS): Add $(WARN_CFLAGS).
1877
3354d061 18782002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1879
1880 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
1881 * configure: Regenerate.
1882
0b045cf7 18832002-05-08 Alexandre Oliva <aoliva@redhat.com>
1884
1885 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1886 script entry, and set LD to it when configuring multilibs.
1887 * configure: Rebuilt.
1888
8c864ef7 18892002-04-19 David O'Brien <obrien@FreeBSD.org>
1890
1891 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
1892
7729d43d 18932002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
6dd85fea 1894
1895 PR objc/6107
1896 * objc/objc-api.h (struct objc_protocol_list): Change type of
1897 member count from int to size_t.
1898
6ed57656 18992002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1900
1901 PR libobjc/4039
1902 * aclocal.m4: Replace with version copied from libstdc++-v3.
1903 * configure.in: Update for changes to aclocal and Makefile.
1904 * configure: Regenerate.
1905 * Makefile.in: Correct install of multilibs and shared libs, use
1906 INSTALL_DATA for include files.
1907
0ddb9c76 1908Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
1909
1910 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
1911 categories - when an unclaimed category was found, the loop was
1912 doing two steps forward instead of one, so that in certain cases
1913 it was failing to properly load all the categories. (Reported
1914 with fix by Alexander Malmberg <alexander@malmberg.org>).
1915
5047c11e 19162001-11-14 Aldy Hernandez <aldyh@redhat.com>
1917
805e22b2 1918 * encoding.c: Add target_flags.
5047c11e 1919
cd0e3261 19202001-11-07 Aldy Hernandez <aldyh@redhat.com>
1921
1922 * objc/objc-api.h (_C_VECTOR): New.
1923
1924 * encoding.c (VECTOR_TYPE): New.
1925
349400a7 1926Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
1927
1928 * class.c: Rewritten the class table to use optimized, lock-free
805e22b2 1929 lookup. This more than doubles the speed of class method
1930 invocations. (class_table_setup), (class_table_insert),
1931 (class_table_replace), (class_table_get_safe),
1932 (class_table_next), (class_table_print),
1933 (class_table_print_histogram): New functions.
1934 (__objc_init_class_tables): Use class_table_setup.
1935 (__objc_add_class_to_hash): Use class_table_get_safe and
1936 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
1937 assert the existence of the table; do not lock the runtime; use
1938 class_table_get_safe. (objc_next_class): Use class_table_next.
1939 (__objc_resolve_class_links): Use class_table_next.
1940 (class_pose_as): Use class_table_replace.
349400a7 1941
b4b9ecee 19422001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
1943
1944 * gc.c: Removed the DEBUG declaration.
1945
8bae5b95 1946Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
1947
1948 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
1949 rather than through objc_thread_id, to save a function call.
1950 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
1951 Ditto.
1952
af5fe68c 1953Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
1954
1955 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
1956 to cast an id to a Class, which can not be done. Make the check
1957 by using CLS_ISMETA on the class pointer instead.
1958 (object_is_meta_class): Similar fix.
1959
2f39b190 19602001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
1961
1962 * configure.in (AC_EXEEXT): Work around in case it expands to
1963 nothing, as in autoconf 2.50.
1964 * acinclude.m4: Likewise.
1965 * configure: Rebuilt.
1966
43d18c77 19672001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
1968
1969 * THREADS: Explain that when we compile libobjc inside GCC, we
1970 always use thr-objc.c as a backend, which uses GCC's thread code.
1971
cd7d360c 19722001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
1973
1974 * init.c (__objc_send_message_in_list): When setting a new entry
1975 in __objc_load_methods use the method IMP as key, but check to see
1976 if the method is in the hashtable by looking at the IMP also.
1977 Also ... call the method after adding it to the hashtable rather
1978 than before ... thus preventing an obscure possibility of infinite
1979 recursion if a +load method itself loads a subclass.
1980
b10e57a2 19812001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
1982
1983 * init.c (__objc_send_message_in_list): When setting a new entry
1984 in __objc_load_methods use the method name as key, not the method
1985 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
1986
6b515411 19872001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
1988
1989 * objc-features.texi: Move to ../gcc/objc.texi.
1990 * fdl.texi: Remove.
1991 * Makefile.in: Don't generate documentation from
1992 objc-features.texi.
1993
fa3ae5be 19942001-05-01 Mark Mitchell <mark@codesourcery.com>
1995
1996 * fdl.texi: New file.
1997 * objc-features.texi: Simplify.
1998 * Makefile.in: Adjust accordingly.
1999
79485864 20002001-04-30 Mark Mitchell <mark@codesourcery.com>
2001
2002 * objc-features.texi: Use the GFDL.
2003
ae878573 2004Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
2005
2006 * encoding.c (REAL_TYPE): Define.
2007
5c1ebe4d 20082001-03-19 David Edelsohn <edelsohn@gnu.org>
2009
2010 * encoding.c (TYPE_MODE): Define.
2011
ad5a392a 20122001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
2013
2014 * thr.c (objc_thread_add): New function.
2015 (objc_thread_remove): Ditto.
2016 * objc/thr.h: Declare them.
2017 * libobjc.def: Mention them.
2018
d36fe200 20192001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
2020
2021 * objc-features.texi: Document the @compatibility_alias compiler
2022 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
2023
899d0712 2024Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2025
2026 * sendmsg.c (__objc_forward): Delete strlen() declaration.
2027
ce7c4a11 20282001-02-08 Geoffrey Keating <geoffk@redhat.com>
2029
2030 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
2031 we're not interested in the result and they might fail.
2032 * configure: Regenerated.
2033
1aef4dfb 20342001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
2035
2036 * objc-features.texi: Use @email.
2037
5f9d2886 20382001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
2039
2040 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
2041 printf.
2042
496fac8b 20432000-01-11 Richard Earnshaw <rearnsha@arm.com>
2044
2045 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
2046 determines the value dynamically.
2047
f847de15 2048Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
2049
2050 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
2051 libraries to provide a function that returns the real forwarding
2052 function. This can alleviate problems __builtin_apply() and
2053 friends have on various platforms. (Solution suggested by Helge
2054 Hess.)
5564b88a 2055
f847de15 2056 * objc/objc-api.h: Define __objc_msg_forward.
2057
2058 * sendmsg.c: Define gen_rtx_REG.
2059
a6c846da 20602000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2061
5564b88a 2062 * thr-rtems.c: New file. Stub to compile.
a6c846da 2063
1f59acbe 20642000-09-06 Alexandre Oliva <aoliva@redhat.com>
2065
2066 * configure: Rebuilt with new libtool.m4.
2067
0d79105f 2068Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2069
2070 * configure.in: Create a config.h file. Check for <sched.h>.
2071 * configure: Regenerate.
2072
2073 * config.h.in: Check for <sched.h>.
2074
e800dd2f 20752000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2076
2077 * configure: Regenerate after change to ../libtool.m4.
2078
8692c712 20792000-08-14 Andreas Schwab <schwab@suse.de>
2080
2081 * objc-features.texi (Top): Move @menu at end of node.
2082
13cc7b4d 20832000-08-11 Manfred Hollstein <manfredh@redhat.com>
2084
2085 * objc-features.texi: Move @node Top before @menu.
2086
657b083d 2087Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2088
2089 * objc-features.texi: Documented the new -fconstant-string-class
2090 option.
2091
6e6b1a8a 2092Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2093
2094 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
2095 improve the Posix thread support for Objective-C.
2096
6d6a89c5 20972000-08-04 Zack Weinberg <zack@wolery.cumb.org>
2098
2099 * aclocal.m4: Replace copy of ../libtool.m4 with
2100 sinclude(../libtool.m4).
2101
0f72a548 2102Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
2103
5564b88a 2104 * configure.in: Added libtool support; build shared libraries
0f72a548 2105 if --enable-shared was passed on command line.
2106 * Makefile.in: Modified most compilation commands to use libtool.
2107 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
2108 libtool distribution.
2109
6d09d1f2 2110Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2111
2112 * sarray.c, Object.m: Removed the explicit prototypes for strlen
2113 and memcpy on 64-bit platforms (Suggested by Rodney Brown
2114 <rdb@cup.hp.com>).
2115
6319d58e 21162000-05-12 H.J. Lu (hjl@gnu.org)
2117
2118 * Makefile.in (GTHREAD_FLAGS): New.
2119 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
2120 (OBJC_THREAD_FILE): Changed to thr-objc.
2121
2122 * configure.in (GTHREAD_FLAGS): New, check and replace it for
2123 Makefile.
2124 (OBJC_THREAD_FILE): Removed.
2125
2126 * thr-objc.c: New.
2127
e6f6a036 21282000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2129
2130 * objc/hash.h: Include string.h.
2131
b53b6b48 21322000-04-15 David Edelsohn <edelsohn@gnu.org>
2133
2134 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
2135
3c2f1b06 21362000-04-12 Jakub Jelinek <jakub@redhat.com>
2137
2138 * Object.m (strlen): Provide prototype on all 64bit platforms,
2139 not only alpha.
2140 * sarray.c (memcpy): Likewise.
2141 * encoding.c (objc_layout_finish_structure): Don't use
2142 ROUND_TYPE_ALIGN on sparc.
2143
c2e46ff4 2144 * encoding.c (objc_layout_structure_next_member): Do the whole
2145 procedure even for the first member, so that we get correct
2146 alignment.
2147
4876fb4e 21482000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2149
2150 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
2151 comments.
2152
040f791a 21532000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2154
2155 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
2156
792564c1 2157Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
2158
2159 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
2160
2402e02a 2161Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
2162
2163 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
2164 the compiler when building C code.
5564b88a 2165
f92ff492 2166Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2167
2168 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2169 libdir, libsubdir and tooldir.
2170
3dc3ad44 2171Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
2172
2173 * init.c (__objc_force_linking): Make global.
2174
d77c0735 2175Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
2176
2177 * configure.in (AC_EXEEXT): Remove call.
2178 (compiler_name): Explicitly check with no extension and .exe
2179 extension.
2180 * configure: Regenerate.
2181
fa757077 2182Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
2183
2184 * Makefile.in (CC1OBJ): Define in terms of CC.
2185 (runtime-info.h): Use.
2186
dff75b13 2187Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
2188
2189 * objc-features.texi: Updated the URL to Boehm's GC page.
2190
70565d41 2191Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
2192
2193 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
2194 the char as being signed (patch from Daniel Jacobowitz
2195 <drow@false.org>).
2196
ff9549e0 2197Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
2198
2199 * configure.in (AC_PREREQ): Update to 2.13.
2200 (AC_EXEEXT): Call to find possible file extension.
2201 (compiler_name): Use.
2202 * configure: Regenerate.
2203
be2828ce 2204Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
2205
2206 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
2207
5ed09c3b 2208Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
2209
2210 * configure.in (thread_file): Correct and simplify code to find
2211 the thread file.
2212 * configure: Rebuilt.
2213
76103b2c 22141998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
2215
2216 * configure.in (compiler_name): Add check to detect if this
2217 language's compiler has been built.
2218 * configure: Regenerate.
2219
5170365c 2220Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2221
2222 * configure.in: Use AC_PREREQ(2.12.1).
2223
526e84e1 2224Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
2225
2226 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
2227
dbe0221c 2228Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2229
2230 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
2231
27de689d 2232Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2233
2234 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
2235
fbe09d4b 2236Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
2237
2238 * objc-features.texi (Top): Changed the email address.
2239 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
2240
2241Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
2242
2243 * encoding.c: Redefine get_inner_array_type to get the first entry
5564b88a 2244 in the structure.
fbe09d4b 2245
0dff7c81 2246Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
2247
2248 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
2249 (objc_get_type_qualifiers): Similarly.
2250 * objc/encoding.h (_C_BYREF): Define.
2251 (_F_BYREF): Define.
2252
e0392629 22531998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
2254
2255 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
2256 works out on 64-bit systems.
2257
09fa2580 2258Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
2259
ea0cacfb 2260 * Makefile.in (INCLUDES): Make it multilib-friendly.
09fa2580 2261
28f03bef 2262Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
2263
2264 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
2265
7ca6de5f 2266Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
2267 Jeffrey A Law (law@cygnus.com)
2268
2269 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
2270 (FLAGS_TO_PASS): Added.
2271 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
2272
2273 * archive.c: Change config.h to tconfig.h.
2274
2275 * configure.in: Find gcc's object directory even for multilibs.
2276
2277Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
2e6e4a81 2278
2279 * configure.in: Escape ^ in grep string.
2280 * configure: Rebuilt.
2281
3c3646e7 2282Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
2283
2284 * All .h files pushed down into the objc/ subdirectory.
2285 * Makefile.in (copy_headers): Corresponding changes.
2286 * configure.in (AC_INIT): Corresponding changes.
2287 * configure: Rebuilt.
2288
265ab036 22891998-09-30 Ben Elliston <bje@cygnus.com>
2290 Jeff Law <law@cygnus.com>
2291
2292 * Makefile.in: Rewrite.
2293
2294 * configure.in: Likewise.
2295
2296 * configure: Regenerate.
2297
2298 * All .c files. Remove "objc" prefix when including objc header
2299 files. Include tconfig.h, not ../tconfig.h.
2300
2263844a 2301Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
2302
2303 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
2304 (get_inner_array_type): Define.
2305
8a7d0ecc 23061998-09-21 Ben Elliston <bje@cygnus.com>
2307
2308 * New directory. Moved files from ../gcc/objc.