1 2010-11-18 Nicola Pero <nicola.pero@meta-innovation.com>
3 * ivars.c: Include stdlib.h.
4 * protocols.c: Same change.
6 2010-10-24 Nicola Pero <nicola.pero@meta-innovation.com>
8 * Makefile.in (OBJC_SOURCE_FILES): Added accessors.m.
10 * init.c: Include objc-private/accessors.h.
11 (__objc_exec_class): Call __objc_accessors_init.
12 * objc-private/accessors.h: New.
14 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
16 * objc/message.h: Moved initial includes outside of extern "C".
17 * objc/runtime.h: Add extern "C" for Objective-C++.
19 2010-10-17 Nicola Pero <nicola.pero@meta-innovation.com>
21 * init.c (objc_send_load): Do not wait for NXConstantString to be
22 registered before executing +load. There is no point if
23 -fconstant-string-class=xxx is used when compiling all modules,
24 as is the case for almost all users.
25 * linking.m (__objc_linking): Do not try to forcefully link in
28 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
30 * objc/runtime.h: Updated comments.
31 (class_addMethod): New.
33 (class_replaceMethod): New.
34 (objc_allocateClassPair): New.
35 (objc_registerClassPair): New.
36 (objc_disposeClassPair): New.
37 * class.c (objc_allocateClassPair): New.
38 (objc_registerClassPair): New.
39 (objc_disposeClassPair): New.
40 (class_getSuperclass): Return Nil if a class is in construction.
41 * init.c (__objc_exec_class): Call __objc_init_class.
42 (__objc_init_class): New.
43 * ivars.c (class_copyIvarList): Return NULL if class is in
44 construction. Do not lock the runtime mutex.
45 (class_getInstanceVariable): Return NULL if class is in
46 construction. Do not lock the runtime mutex.
48 * sendmsg.c (class_addMethod): New.
49 (class_replaceMethod): New.
50 * objc-private/module-abi-8.h (__CLS_SETNOTINFO): New.
51 (_CLS_IN_CONSTRUCTION): New.
52 (CLS_IS_IN_CONSTRUCTION): New.
53 (CLS_SET_IN_CONSTRUCTION): New.
54 (CLS_SET_NOT_IN_CONSTRUCTION): New.
55 * objc-private/runtime.h (__objc_init_class): New.
57 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
59 * class.c (class_getSuperclass): Call __objc_resolve_class_links
60 if the class is not resolved yet.
61 * ivars.c (class_getInstanceVariable): Use class_getSuperclass.
63 2010-10-16 Nicola Pero <nicola.pero@meta-innovation.com>
65 * objc/runtime.h (class_getIvarLayout): New.
66 (class_getWeakIvarLayout): New.
67 (class_setIvarLayout): New.
68 (class_setWeakIvarLayout): New.
69 * ivars.c (class_getIvarLayout): New.
70 (class_getWeakIvarLayout): New.
71 (class_setIvarLayout): New.
72 (class_setWeakIvarLayout): New.
74 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
76 * objc/runtime.h (class_copyPropertyList): New.
77 (class_getProperty): New.
78 (property_getAttributes): New.
79 (property_getName): New.
80 * ivars.c (class_copyPropertyList): New.
81 (class_getProperty): New.
82 (property_getAttributes): New.
83 (property_getName): New.
85 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
87 * objc-private/runtime.h (__objc_update_classes_with_methods): New.
88 * class.c (__objc_update_classes_with_methods): New.
89 (objc_getClassList): Do not lock the class lock.
90 * methods.c (method_exchangeImplementations): New.
91 (method_setImplementation): New.
92 * objc/runtime.h (method_setImplementation): New.
93 (method_exchangeImplementations): New.
95 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
97 * Protocol.m: Include objc/runtime.h and
98 objc-private/module-abi-8.h instead of objc/objc-api.h. Do not
99 repeat Protocol's instance variables.
100 (struct objc_method_description_list): Do not define here.
101 ([-conformsTo:]): Reimplemented on top of protocol_conformsTo().
102 ([descriptionForInstanceMethod:]): Use sel_isEqual() to compare
103 selectors directly instead of getting names and then using strcmp.
104 ([descriptionForClassMethod:]): Same change.
105 ([-isEqual:]): Reimplemented on top of protocol_isEqual().
106 * protocols.c (protocol_getMethodDescription): Use sel_isEqual()
107 to compare selectors directly instead of getting names and then
109 * objc/Protocol.h: Updated comments.
111 2010-10-15 Nicola Pero <nicola.pero@meta-innovation.com>
113 * init.c (__objc_init_protocol): New function which fixes up a
114 protocol's class pointer, registers it with the runtime, register
115 all protocol selectors and registers associated protocols too.
116 (objc_init_statics): Detect if we are initializing protocols, and
117 if so, use __objc_init_protocol instead of only fixing up the
119 (__objc_init_protocls): Use __objc_init_protocol.
120 * objc-private/module-abi-8.h: Updated comments.
121 * objc-private/runtime.h
122 (__objc_register_selectors_from_description_list): New.
123 * selector.c (__objc_register_selectors_from_description_list):
124 New. (struct objc_method_description_list): Declare.
125 * Protocol.m ([-descriptionForInstanceMethod:]): Use sel_get_name
126 when accessing the name of a method, which is now correctly a SEL.
127 ([-descriptionForClassMethod:]): Same change.
128 * protocols.c (protocol_getMethodDescription): Same change.
129 * objc/runtime.h: Updated comments.
130 (sel_registerTypedName): Fixed typo in function name.
132 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
135 * init.c (objc_init_statics): Do not skip the initialization of a
136 statics list if the first object has already been initialized; in
137 the case of Protocols, while the first one may have been
138 initialized, some others may not have been initialized yet.
140 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
142 * Makefile.in (OBJC_DEPRECATED_H): Added
143 objc_get_uninstalled_dtable, objc_object_alloc.h and
144 struct_objc_static_instances.h.
146 2010-10-13 Nicola Pero <nicola.pero@meta-innovation.com>
148 * encoding.c (method_copyReturnType): New.
149 (method_copyArgumentType): New.
150 (method_getReturnType): New.
151 (method_getArgumentType): New.
152 * methods.c (method_getDescription): New.
153 * objc/runtime.h (method_copyReturnType): New.
154 (method_copyArgumentType): New.
155 (method_getReturnType): New.
156 (method_getArgumentType): New.
157 (method_getDescription): New.
159 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
161 * encoding.c: Tidied up comments.
162 (objc_skip_variable_name): New static inline function.
163 (objc_sizeof_type): Use objc_skip_variable_name instead of copying
164 the same code over and over.
165 (objc_alignof_type): Same.
166 (objc_aligned_size): Same.
167 (objc_promoted_size): Same.
168 (objc_skip_typespec): Same.
169 (objc_layout_structure_next_member): Same.
170 (objc_skip_offset): Skip a '-' before the digits (if any). Fixed
171 historical bug where objc_skip_offset would skip one byte even if
172 there is no offset: check that the first offset digit is actually
173 a digit before skipping it.
174 (objc_skip_type_qualifiers): Mark as inline.
175 (objc_skip_typespec): Mark as inline.
177 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
179 * Makefile.in (C_SOURCE_FILES): Added methods.c.
180 * encoding.c (method_getNumberOfArguments): New.
181 (method_get_number_of_arguments): Call
182 method_getNumberOfArguments.
183 * ivars.c (ivar_getName): Check for NULL variable argument.
184 (ivar_getOffset): Check for NULL variable argument.
185 (ivar_getTypeEncoding): Check for NULL variable argument.
186 (class_copyIvarList): New.
188 * protocols.c (class_copyProtocolList): Check for Nil class_
190 * sendmsg.c: Use 'struct objc_method *' instead of Method_t, and
191 'struct objc_method_list *' instead of MethodList_t.
192 (class_getMethodImplementation): New.
193 (class_respondsToSelector): New.
194 (class_getInstanceMethod): New.
195 (class_getClassMethod): New.
196 * objc/runtime.h: Updated comments.
197 (class_copyIvarList): New.
198 (class_getInstanceMethod): New.
199 (class_getClassMethod): New.
200 (class_getMethodImplementation): New.
201 (class_respondsToSelector): New.
202 (method_getName): New.
203 (method_getImplementation): New.
204 (method_getTypeEncoding): New.
205 (class_copyMethodList): New.
206 (method_getNumberOfArguments): New.
208 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
210 * class.c: Include objc/runtime.h and objc-private/module-abi-8.h
211 instead of objc/objc-api.h.
212 (objc_get_unknown_class_handler): Do not define.
213 (class_isMetaClass): New.
214 (class_getSuperclass): New.
215 (class_getVersion): New.
216 (class_setVersion): New.
217 (class_getInstanceSize): New.
218 * exceptions.c: Include objc/runtime.h instead of objc/objc-api.h.
219 (is_kind_of_exception_matcher): Use objc_getSuperclass instead of
220 objc_get_super_class.
221 (get_ttype_entry): Use objc_getRequiredClass instead of
223 * ivars.c (class_getClassVariable): New.
224 * objects.c: Include objc/runtime.h, objc/thr.h and
225 objc-private/module-abi-8.h instead of objc/objc-api.h
226 * objc/runtime.h (class_getClassVariable): New.
227 (class_isMetaClass): New.
228 (class_getSuperclass): New.
229 (class_getVersion): New.
230 (class_setVersion): New.
231 (class_getInstanceSize): New.
232 * objc-private/module-abi-8.h (HOST_BITS_PER_LONG): New (from
235 (__CLS_ISINFO): Same.
236 (__CLS_SETINFO): Same.
239 (CLS_ISRESOLV): Same.
240 (CLS_SETRESOLV): Same.
241 (CLS_ISINITIALIZED): Same.
242 (CLS_SETINITIALIZED): Same.
243 (CLS_GETNUMBER): Same.
244 (CLS_SETNUMBER): Same.
246 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
248 * archive.c: Do not include objc/objc.h.
249 * class.c: Do not include objc/objc.h.
250 * encoding.c: Include objc/runtime.h, ctype.h and
251 objc-private/module-abi-8.h instead of objc/objc-api.h and
253 * error.c: Do not include objc/objc.h.
254 * gc.c: Include tconfig.h and objc/encoding.h only if
256 * hash.c: Include objc/runtime.h and objc/thr.h instead of
257 objc/objc-api.h. Do not include objc/objc.h.
258 * init.c: Do not include objc/objc.h.
259 * ivars.c: Include objc/runtime.h, objc-private/module-abi-8.h and
260 objc/thr.h instead of objc/objc-api.h. Do not include
262 * linking.m: Tidied comment.
263 * memory.c: Include objc/runtime.h instead of objc/objc-api.h.
264 Do not include objc/objc.h.
265 * objects.c: Do not include objc/objc.h.
266 * objc-sync.c: Include objc/runtime.h instead of objc/objc-api.h.
267 * protocols.c: Do not include objc/objc.h.
268 * sarray.c: Include objc/runtime.h instead of objc/objc-api.h. Do
269 not include objc/objc.h.
270 * selector.c: Do not include objc/objc.h.
271 * sendmsg.c: Do not include objc/objc.h.
272 * thr.c: Include objc/runtime.h instead of objc/objc-api.h.
273 Do not include objc/objc.h.
274 * objc/objc-decls.h: Reindented code.
275 * objc/runtime.h Include objc-decls.h. Updated comments.
277 (objc_atomic_malloc): New.
281 * objc-private/runtime.h: Updated comments.
283 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
285 * Makefile.in (C_SOURCE_FILES): Added protocols.c.
286 * objc-private/protocols.h: New.
288 * init.c: Include objc-private/protocols.h.
289 (__objc_exec_class): Call __objc_protocols_init on startup.
290 (__objc_init_protocols): Call __objc_protocols_add_protocol.
291 * objc-private/runtime.h: Use (struct objc_method_list *) instead
292 of MethodList_t, and (struct objc_method *) instead of Method_t.
293 * objc/deprecated/struct_objc_class.h: Define
294 __objc_STRUCT_OBJC_CLASS_defined.
295 * objc-private/module-abi-8.h (struct
296 objc_method_description_list): New.
297 (struct objc_class): Only define if
298 __objc_STRUCT_OBJC_CLASS_defined is undefined.
299 * objc/runtime.h (class_getName): New.
300 (objc_getProtocol): New.
301 (objc_copyProtocolList): New.
302 (class_addProtocol): New.
303 (class_conformsToProtocol): New.
304 (class_copyProtocolList): New.
305 (protocol_conformsToProtocol): New.
306 (protocol_isEqual): New.
307 (protocol_getName): New.
308 (protocol_getMethodDescription): New.
309 (protocol_copyMethodDescriptionList): New.
310 (protocol_getProperty): New.
311 (protocol_copyPropertyList): New.
312 (protocol_copyProtocolList): New.
313 * class.c (class_getName): New.
314 * selector.c (sel_isEqual): New.
316 2010-10-12 Nicola Pero <nicola.pero@meta-innovation.com>
318 * selector.c (sel_getName): Return "<null selector>" for a NULL
320 (sel_get_name): Return 0 for a NULL argument.
321 * objc/runtime.h (sel_getName): Updated documentation.
323 * objc-private/hash.h (class_hash_table): Unused declaration
325 (module_hash_table): Same.
326 * objc/deprecated/hash.h: Same changes.
328 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
330 * class.c (objc_getClassList): New.
331 (objc_getRequiredClass): New.
332 (objc_getMetaClass): New.
333 (objc_lookupClass): New.
334 (objc_getClass): New.
335 (__objc_get_unknown_class_handler): New.
336 (objc_setGetUnknownClassHandler): New.
337 (objc_get_class): Use __objc_get_unknown_class_handler.
338 (objc_lookup_class): Call objc_getClass.
339 * objc/objc-api.h: Updated comment and copyright notice.
340 * objc/runtime.h: Updated comments.
341 (objc_getClass): New.
342 (objc_lookupClass): New.
343 (objc_getMetaClass): New.
344 (objc_getRequiredClass): New.
345 (objc_getClassList): New.
346 (objc_setGetUnknownClassHandler): New.
347 (objc_get_unknown_class_handler): New.
348 * objc-private/runtime.h: Use __objc_private_runtime_INCLUDE_GNU
349 instead of __objc_runtime_INCLUDE_GNU as include guard.
350 * objc-private/error.h (_objc_abort): Mark as noreturn.
352 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
354 * Makefile.in (C_SOURCE_FILES): Added ivars.c.
356 * objc/objc.h: Updated comments.
357 * objc/runtime.h (object_getClass): New.
358 (object_getClassName): New.
359 (object_setClass): New.
360 (class_getInstanceVariable): New.
361 (object_getIndexedIvars): New.
362 (object_getInstanceVariable): New.
363 (object_setInstanceVariable): New.
364 (object_getIvar): New.
365 (object_setIvar): New.
367 (ivar_getOffset): New.
368 (ivar_getTypeEncoding): New.
369 * objc-private/module-abi-8.h (struct objc_class): Added.
370 * objects.c (object_getClassName): New.
371 (object_setClass): New.
373 2010-10-11 Nicola Pero <nicola.pero@meta-innovation.com>
375 * objc/objc.h: Updated comments.
376 * objc/objc-api.h: (object_copy): Added one argument; use a
377 #define to maintain backwards-compatibility. Moved
378 _objc_object_alloc, _objc_object_copy, _objc_object_dispose and
379 objc_get_uninstalled_dtable into
380 objc/deprecated/objc_get_uninstalled_dtable.h and
381 objc/deprecated/objc_object_alloc.h. Include these files.
382 * objc/deprecated/objc_get_uninstalled_dtable.h: New.
383 * objc/deprecated/objc_object_alloc.h: New.
384 * objc/runtime.h (set_getName): New.
387 (sel_registerName): New.
388 (sel_registerTypedName): New.
390 (class_createInstance): New.
392 (object_dispose): New.
393 * objects.c: Do not include tconfig.h. Include gc_typed.h if
394 building the garbage collection version.
395 (__objc_object_alloc): Removed.
396 (__objc_object_copy): Removed.
397 (__objc_object_dispose): Removed.
398 (class_createInstance): New from code in class_create_instance.
399 Cast second argument of GC_malloc_explicitly_typed. Use
400 objc_calloc. Do not call _objc_object_alloc.
401 (class_create_instance): Call class_createInstance.
402 (object_copy): Added extraBytes argument. Do not call
404 (object_dispose): Do not call _objc_object_dispose.
405 * memory.c (objc_free): When using garbage collection, mark the
407 * selector.c (sel_getName): New.
408 (sel_get_name): Call sel_getName.
410 (sel_get_type): Call sel_getType.
411 (sel_registerName): New.
412 (sel_register_name): Call sel_registerName.
413 (sel_registerTypedName): New.
414 (sel_register_typed_name): Call sel_registerTypedName.
416 (sel_get_uid): Call sel_getUid.
418 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
420 * objc/objc-api.h: Define Method, Method_t, Category and
421 Category_t. Prevent including this file at the same time as
422 objc/runtime.h. Updated comments.
423 * objc/deprecated/struct_objc_method.h: Do not define Method,
425 * objc/deprecated/struct_objc_category.h: Do not define Category,
427 * objc-private/module-abi-8.h: New file containing a copy of all
428 the structure definitions. Not used yet.
429 * objc/encoding.h (objc_aligned_size): Removed duplicate
430 declaration. Updated comments.
431 * objc/runtime.h: Added Ivar, objc_property_t, Property, Method,
432 Category, struct objc_method_description, _C_ID and similar,
433 _C_CONST and similar and _F_CONST and similar. Added
434 objc_sizeof_type, objc_alignof_type, objc_aligned_size,
435 objc_promoted_size, objc_skip_type_qualifier, objc_skip_typespec,
436 objc_skip_offset, objc_skip_argspec, objc_get_type_qualifiers,
437 struct objc_struct_layout, objc_layout_structure,
438 objc_layout_structure_next_member, objc_layout_finish_structure,
439 objc_layout_structure_get_info. Prevent including this file at
440 the same time as objc/objc-api.h.
442 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
444 * Makefile.in (OBJC_DEPRECATED_H): Added struct_objc_category.h,
445 struct_objc_ivar.h, struct_objc_ivar_list.h, struct_objc_method.h,
446 struct_objc_method_list.h, struct_objc_module.h,
447 struct_objc_protocol_list.h, struct_objc_symtab.h.
448 * objc/deprecated/struct_objc_category.h: New.
449 * objc/deprecated/struct_objc_ivar.h: New.
450 * objc/deprecated/struct_objc_ivar_list.h: New.
451 * objc/deprecated/struct_objc_method.h: New.
452 * objc/deprecated/struct_objc_method_list.h: New.
453 * objc/deprecated/struct_objc_module.h: New.
454 * objc/deprecated/struct_objc_protocol_list.h: New.
455 * objc/deprecated/struct_objc_symtab.h: New.
456 * objc/deprecated/struct_objc_static_instances.h: New.
457 * objc/objc-api.h: Definitions of deprecated structures moved into
458 the above header fragment files in objc/deprecated/. Include the
459 files instead of definition the structures here. Updated
461 * objc/runtime.h: Updated comments. Do not include objc-api.h.
462 (objc_set_enumeration_mutation_handler): Renamed to
463 objc_setEnumerationMutationHandler.
464 * objc-foreach.c (objc_set_enumeration_mutation_handler): Renamed
465 to objc_setEnumerationMutationHandler.
466 * objc/objc-exception.h (objc_set_exception_matcher): Renamed to
467 objc_setExceptionMatcher.
468 (objc_set_uncaught_exception_handler): Renamed to
469 objc_setUncaughtExceptionHandler.
470 * exception.c: Same changes.
472 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
474 * objc-sync.c: Include objc-private/common.h.
476 2010-10-10 Nicola Pero <nicola.pero@meta-innovation.com>
478 * objc-foreach.c: Include objc-private/common.h.
479 * objc/deprecated/METHOD_NULL.h: New file.
480 * objc/objc-api.h: Include deprecated/METHOD_NULL.h instead of
481 defining METHOD_NULL here.
482 * Makefile.in (OBJC_DEPRECATED_H): Added METHOD_NULL.h.
483 * Object.m ([+instancesRespondTo:]): Use (Method_t)0 instead of
485 ([-respondsTo:]): Same change.
486 * objc/objc-api.h (method_get_imp): Converted it into a normal
487 function so that we can hide the internals of struct objc_method.
488 * sendmsg.c (method_get_imp): Implemented.
490 2010-10-09 Nicola Pero <nicola.pero@meta-innovation.com>
492 * objc/objc-api.h (struct objc_super, Super, Super_t,
493 objc_msg_lookup_super, objc_msg_sendv, objc_msg_forward,
494 objc_msg_forward2): Declarations moved to objc/message.h. Include
496 * objc/message.h: Added such declarations; updated comments.
498 2010-10-06 Nicola Pero <nicola.pero@meta-innovation.com>
500 Implemented fast enumeration for Objective-C.
501 * Makefile.in (C_SOURCE_FILES): Added objc-foreach.c.
502 (OBJC_H): Added runtime.h
503 * objc-foreach.c: New file.
504 * objc/runtime.h: New file.
506 2010-09-30 Kai Tietz <kai.tietz@onevision.com>
508 * objc/deprecated/struct_objc_class.h: Add padding
509 to avoid warning with -Wpadded.
511 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
513 * encoding.c (objc_sizeof_type): Added support for vector type and
514 for double long types.
515 (objc_alignof_type): Same change.
516 (objc_skip_typespec): Same change.
517 * objc/encoding.h (_C_GCINVISIBLE): Use '|' for _C_GCINVISIBLE
518 instead of '!' since '!' is already used for _C_VECTOR.
519 * objc/objc-api.h (_C_LNG_DBL): Added.
521 2010-09-26 Nicola Pero <nicola.pero@meta-innovation.com>
523 * libobjc_entry.c: File removed.
525 2010-09-26 Kai Tietz <kai.tietz@onevision.com>
527 * sendmsg.c (objc_msg_lookup): Remove inline.
528 (objc_get_uninstalled_dtable): Likewise.
529 * encoding.c (objc_skip_type_qualifiers): Likewise.
530 (objc_skip_offset): Likewise.
531 * archive.c (__objc_write_object): Likewise
532 (__objc_write_class):
533 (__objc_write_selector):
535 (objc_read_unsigned_char):
537 (objc_read_unsigned_short):
540 (__objc_read_nbyte_uint):
541 (objc_read_unsigned_int):
542 (objc_read_unsigned_long):
543 * objc/objc-decls.h (obc_EXPORT): Remove dllexport for DLL_EXPORT case.
544 (objc_EXPORT): Likewise.
545 * objc/message.h (objc-decls.h): Add include.
546 * objc/objc-api.h: Mark API by objc_EXPORT.
547 * libobjc.def (__objc_responds_to): Removed.
549 2010-09-18 Nicola Pero <nicola.pero@meta-innovation.com>
551 * hash.c: Include objc-private/hash.h instead of objc/hash.h.
553 * objc/sarray.h: Moved into objc/deprecated/sarray.h;
554 objc/sarray.h replaced with a placeholder including the file from
555 the deprecated/ directory.
556 * objc-private/sarray.h: New file (private copy of sarray.h).
557 * hash.c: Include <assert.h> instead of "assert.h"
558 * sarray.c: Include <assert.h> instead of "assert.h". Include
559 objc-private/sarray.h instead of objc/sarray.h.
560 * selector.c: Include objc-private/sarray.h instead of
562 * sendmsg.c: Include <assert.h>. Include objc-private/sarray.h
563 instead of objc/sarray.h.
564 * Makefile.in (OBJC_DEPRECATED_H): Added sarray.h.
566 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
568 * objc-private/objc-list.h (list_remove_elem): Unused function
569 removed. (list_nth): Unused function removed. (list_find):
570 Unused function removed. (list_lenght): Unused function removed.
572 2010-09-17 Nicola Pero <nicola.pero@meta-innovation.com>
574 * objc/hash.h: Moved into objc/deprecated/hash.h; objc/hash.h
575 replaced with a placeholder including the file from the
576 deprecated/ directory.
577 * objc/objc-api.h: Updated includes.
578 * objc/typedstream.h: Updated includes.
579 * objc-private/hash.h: New file (private copy of hash.h).
580 * objc/objc-list.h: Moved into objc/deprecated/objc-list.h;
581 objc/objc-list.h replaced with a placeholder including the file
582 from the deprecated/ directory.
583 * objc-private/objc-list.h: New file (private copy of objc-list.h).
584 * init.c: Include objc-private/hash.h and objc-private/objc-list.h
585 instead of objc/hash.h and objc/objc-list.h.
586 * selector.c: Same change.
587 * class.c: Added include <string.h>, which used to be implicitly included
588 when hash.h was included.
589 * exception.c: Same change.
590 * objects.c: Same change.
591 * sarray.c: Same change.
592 * sendmsg.c: Same change.
593 * Makefile.in (OBJC_DEPRECATED_H): Added hash.h and objc-list.h.
595 2010-09-14 Nicola Pero <nicola.pero@meta-innovation.com>
597 Implemented objc_sync_enter() and objc_sync_exit(), which are
598 required by @synchronized() to work.
599 * objc-sync.c: New file.
600 * objc/objc-sync.h: New file.
601 * objc-private/objc-sync.h: New file.
602 * init.c (__objc_exec_class): Call __objc_sync_init() during the
603 Objective-C runtime startup.
604 * Makefile.in: Added objc-sync.c and objc-sync.h.
605 * configure.ac: Added GCC_CHECK_TLS.
606 * acinclude.m4: Include ../config/enable.m4 and ../config/tls.m4.
607 * configure: Regenerated.
608 * config.h.in: Regenerated.
610 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
612 * Makefile.in (%_gc.lo): New pattern rules to build the
613 garbage-collected version of the library. Removed rules for
614 specific files that are no longer needed. Standardized all rules.
615 (C_SOURCE_FILES, OBJC_SOURCE_FILES): New variables.
616 (OBJS, OBJS_GC): Compute these from C_SOURCE_FILES and
618 (INCLUDES): Removed the unused include -I$(srcdir)/objc.
620 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
622 * memory.c (objc_calloc): Fixed call to GC_malloc when building
623 with Garbage Colletion.
625 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
627 * memory.c: Do not include objc-private/runtime.h.
629 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
631 * objc/deprecated/objc_malloc.h: New file.
632 * objc/deprecated/objc_valloc.h: New file.
633 * objc/objc-api.h: Include the files instead of defining
634 objc_valloc, _objc_malloc() and similar.
635 * Makefile.in (OBJC_DEPRECATED_H): Added objc_valloc.h and
637 * memory.c: Removed the extra layer of indirection of _objc_malloc
639 (objc_calloc): Use GC_malloc in the garbage-collected
640 implementation as GC_malloc returns memory that is already freed.
641 (objc_valloc): Deprecated.
643 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
645 * objc/deprecated/objc_error.h: New file.
646 * objc/objc-api.h: Include deprecated/objc_error.h instead of
647 defining objc_error and related.
648 * error.c: New file. Added _objc_abort function which replaces
649 objc_error. No change in functionality as they both print an
651 * misc.c: File removed. Code moved into memory.c and error.c.
652 * memory.c: New file.
653 * objc-private/error.h: New file.
654 * archive.c: Include objc-private/error.h and use _objc_abort
655 instead of objc_error everywhere.
656 * class.c: Same change.
657 * encoding.c: Same change.
658 * init.c: Same change, and simplified init_check_module_version.
659 * memory.c: Same change.
660 * sendmsg.c: Same change.
661 * thr.c: Same change.
662 * Makefile.in (OBJ_DEPRECATED_H): Added objc_error.h.
663 (OBJ_H): Reordered list.
664 (OBJS): Removed misc.lo, added memory.lo and error.lo.
665 (OBJS_GC): Removed misc_gc.lo, added memory_gc.lo and error_gc.lo.
666 (misc_gc.lo): Rule removed.
667 (error_gc.lo): Rule added.
668 (memory_gc.lo): Rule added.
670 2010-09-12 Nicola Pero <nicola.pero@meta-innovation.com>
672 * objc/objc.h (__GNU_LIBOBJC__): New #define providing an easy way
673 to check the API version. Added some comments.
675 * objc-private/common.h: New file.
676 * NXConstStr.m: Include objc-private/common.h.
677 * Object.m: Same change.
678 * Protocol.m: Same change.
679 * archive.c: Same change.
680 * class.c: Same change.
681 * encoding.c: Same change.
682 * exception.c: Same change.
684 * hash.c: Same change.
685 * init.c: Same change.
686 * libobjc_entry.c: Same change.
687 * linking.m: Same change.
688 * misc.c: Same change (and added a comment).
689 * nil_method.c: Same change.
690 * objects.c: Same change.
691 * sarray.c: Same change.
692 * selector.c: Same change.
693 * sendmsg.c: Same change.
694 * thr.c: Same change.
696 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
698 * objc/objc-api.h: Removed obsolete #ifdef for NeXTSTEP.
700 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
702 * archive.c: Removed not needed includes.
703 * class.c: Same change.
704 * hash.c: Same change.
705 * misc.c: Same change.
706 * nil_method.c: Same change.
707 * objects.c: Same change.
708 * sarray.c: Same change.
709 * sendmsg.c: Same change.
710 * thr.c: Same change.
712 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
714 * objc/runtime.h: Moved to objc-private/runtime.h. Do not include
715 all the objc/*.h files.
716 * objc-private/runtime.h: New file.
717 * archive.c: Include objc-private/runtime.h (and required objc/*.h
718 files) instead of objc/runtime.h.
719 * class.c: Same change.
720 * hash.c: Same change.
721 * init.c: Same change.
722 * misc.c: Same change.
723 * nil_method.c: Same change.
724 * objects.c: Same change.
725 * sarray.c: Same change.
726 * selector.c: Same change.
727 * sendmsg.c: Same change.
728 * thr.c: Same change.
730 2010-09-11 Nicola Pero <nicola.pero@meta-innovation.com>
732 * objc/deprecated/struct_objc_selector.h: New file. Definition of
733 'struct objc_selector' and 'sel_eq' moved here.
734 * objc/deprecated/struct_objc_protocol.h: New file. Definition of
735 'struct objc_procotol' moved here.
736 * objc/deprecated/struct_objc_class.h: New file. Definition of
737 'struct objc_class' moved here.
738 * objc/deprecated/MetaClass.h: New file. Definition of MetClass
740 * objc/deprecated/STR.h: New file. Definition of STR moved here.
741 * objc/message.h: New file. Definitions for relval_t, apply_t,
742 arglist, arglist_t and objc_msg_lookup were moved here.
743 * objc/objc.h: Include the above files instead of defining the
744 corresponding structs, types and functions here. Added new opaque
745 definitions for SEL and Class. Use Class and not 'struct
746 objc_class *' in the definition of 'struct objc_object'.
747 Commented all types defined in the file. Removed special
748 definition of BOOL as 'int' on __vxworks; use 'unsigned char'
750 * objc/deprecated/objc-unexpected-exception.h: Renamed to
751 objc_unexpected_exception.h.
752 * objc/objc-api.h: Updated include of
753 objc-unexpetected-exception.h
754 * objc/objc-exception.h: Updated comments.
755 * Makefile.in (OBJC_H, OBJC_DEPRECATED_H): Added the new header
756 files. Reindented list of files.
758 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
760 * objc/objc-api.h (objc_trace): Unused variable removed.
762 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
764 * objc/deprecated: New directory.
765 * objc/deprecated/README: New file.
766 * objc/README: New file.
767 * objc/typedstream.h: Moved into objc/deprecated/typedstream.h;
768 objc/typedstream.h replaced with a placeholder including the file
769 from the deprecated/ directory.
770 * objc/deprecated/objc-unexpected-exception.h: New file with the
771 definition of _objc_unexpected_exception.
772 * objc/objc-api.h: Include deprecated/objc-unexcepted-exception.h
773 instead of defining _objc_unexpected_exception.
774 * objc/deprecated/Object.h: New file with the deprecated Object
775 methods in a 'Deprecated' category.
776 * objc/Object.h Include deprecated/Object.h instead of defining
777 the deprecated methods.
778 * Object.m: Moved deprecated methods into 'Deprecated' category.
779 * objc-private: New directory.
780 * objc-private/README: New file.
781 * Makefile.in (OBJC_DEPRECATED_H): New variable.
782 (install-headers): Create installation directory for
783 OBJC_DEPRECATED_H headers, and install them.
785 2010-09-10 Nicola Pero <nicola.pero@meta-innovation.com>
787 * objc/objc-exception.h: Fixed include of objc.h.
789 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
791 * objc/objc-exception.h: New file.
792 * exception.c (objc_set_uncaught_exception_handler): Implemented.
793 (objc_set_exception_matcher): Implemented.
794 (objc_exception_throw): Use the uncaught exception handler if set.
795 (PERSONALITY_FUNCTION): Use the exception matcher instead of the
797 (isKindOf): Renamed to is_kind_of_exception_matcher. Tidied code
798 up. Removed segmentation fault when value is 'nil'.
799 * objc/objc-api.h (_objc_unexpected_exception): Mark as
801 * Makefile.in (exception.lo, exception_gc.lo): Use
802 -Wno-deprecated-declarations when compiling.
803 (OBJC_H): Added objc-exception.h
805 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
807 * objc/typedstream.h: Deprecate all functions in the file. This
809 * objc/Object.h ([+streamVersion:], [-read:], [-write:],
810 [-awake]): Documented that these methods are deprecated. Added a
811 brief description of the Object class and its relationship to the
813 * Makefile.in: Compile archive.c and Object.m with
814 -Wno-deprecated-declarations.
816 2010-09-08 Nicola Pero <nicola.pero@meta-innovation.com>
818 Removed obsolete intermediate threading layer.
819 * thr.c: Use __gthread_objc_xxx functions directly instead of
820 __objc_thread_xxx ones.
821 * objc/thr.h: Removed prototypes of no longer existing
822 __objc_thread_xxx functions.
823 * Makefile.in: Removed thr-objc.lo.
824 * thr-dce.c: File removed.
825 * thr-decosf1.c: File removed.
826 * thr-irix.c: File removed.
827 * thr-mach.c: File removed.
828 * thr-objc.c: File removed.
829 * thr-os2.c: File removed.
830 * thr-posix.c: File removed.
831 * thr-pthreads.c: File removed.
832 * thr-rtems.c: File removed.
833 * thr-single.c: File removed.
834 * thr-solaris.c: File removed.
835 * thr-vxworks.c: File removed.
836 * thr-win32.c: File removed.
837 * README.threads: File removed.
838 * THREADS.MACH: File removed.
841 2010-09-07 Nicola Pero <nicola.pero@meta-innovation.com>
843 * Object.m (MAX_CLASS_NAME_LEN): Unused define removed.
845 2010-09-06 Iain Sandoe <iains@gcc.gnu.org>
847 * encoding.c: Add TARGET_ALIGN_NATURAL definition for m64 powerpc darwin.
848 Add a comment as to why, update FIXME comments.
850 2010-09-06 Nicola Pero <nicola.pero@meta-innovation.com>
852 * makefile.dos: Obsolete file removed.
854 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
856 * aclocal.m4: Regenerate.
858 2010-03-23 Dave Korn <dave.korn.cygwin@gmail.com>
861 * configure.ac (extra_ldflags_libobjc): Define appropriately for
862 Cygwin and MinGW hosts.
863 * Makefile.am (libobjc_s.a): Remove dead pre-libtool target.
864 (libobjc.dll): Likewise.
865 * configure: Regenerate.
867 2009-12-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
869 * configure: Regenerate.
871 2009-11-28 Jakub Jelinek <jakub@redhat.com>
873 * sarray.c (sarray_free): Use old_buckets variable.
874 * encoding.c (objc_layout_structure_next_member): Remove unused
875 bfld_type_size variable.
877 2009-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
879 * configure.ac (AC_PREREQ): Bump to 2.64.
881 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
883 * aclocal.m4: Regenerate.
884 * configure: Regenerate.
885 * config.h.in: Regenerate.
887 2009-08-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
889 * Makefile.in (LIBTOOL): Add $(LIBTOOLFLAGS).
891 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
893 * Makefile.in (AUTOCONF, ACLOCAL, ACLOCAL_AMFLAGS, aclocal_deps):
895 ($(srcdir)/configure, $(srcdir)/aclocal.m4): New rules.
897 2009-07-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
899 * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
901 2009-04-09 Nick Clifton <nickc@redhat.com>
903 * sendmsg.c: Change copyright header to refer to version 3 of
904 the GNU General Public License with version 3.1 of the GCC
905 Runtime Library Exception and to point readers at the COPYING3
906 and COPYING3.RUNTIME files and the FSF's license web page.
907 * NXConstStr.m: Likewise.
908 * Object.m: Likewise.
909 * Protocol.m: Likewise.
910 * archive.c: Likewise.
912 * encoding.c: Likewise.
913 * exception.c: Likewise.
917 * libobjc_entry.c: Likewise.
918 * linking.m: Likewise.
920 * nil_method.c: Likewise.
921 * objc/NXConstStr.h: Likewise.
922 * objc/Object.h: Likewise.
923 * objc/Protocol.h: Likewise.
924 * objc/encoding.h: Likewise.
925 * objc/hash.h: Likewise.
926 * objc/objc-api.h: Likewise.
927 * objc/objc-decls.h: Likewise.
928 * objc/objc-list.h: Likewise.
929 * objc/objc.h: Likewise.
930 * objc/runtime.h: Likewise.
931 * objc/sarray.h: Likewise.
932 * objc/thr.h: Likewise.
933 * objc/typedstream.h: Likewise.
934 * objects.c: Likewise.
935 * sarray.c: Likewise.
936 * selector.c: Likewise.
937 * thr-dce.c: Likewise.
938 * thr-decosf1.c: Likewise.
939 * thr-irix.c: Likewise.
940 * thr-mach.c: Likewise.
941 * thr-objc.c: Likewise.
942 * thr-os2.c: Likewise.
943 * thr-posix.c: Likewise.
944 * thr-pthreads.c: Likewise.
945 * thr-rtems.c: Likewise.
946 * thr-single.c: Likewise.
947 * thr-solaris.c: Likewise.
948 * thr-vxworks.c: Likewise.
949 * thr-win32.c: Likewise.
951 * libobjc.def: Change copyright header to refer to version 3 of
952 the GNU General Public License and to point readers at the COPYING3
953 file and the FSF's license web page.
954 * makefile.dos: Likewise.
956 2009-04-09 Jakub Jelinek <jakub@redhat.com>
958 * Makefile.in: Change copyright header to refer to version
959 3 of the GNU General Public License and to point readers at the
960 COPYING3 file and the FSF's license web page.
961 * configure.ac: Likewise.
963 2009-03-12 Richard Frith-Macdonald <rfm@gnu.org>
964 David Ayers <ayers@fsfe.org>
967 * objc/objc-api.h (_objc_unexpected_exception): Declare
968 new hook. Update copyright dates.
969 * exception.c (objc_exception_throw): Use hook. Update
971 * libobjc.def (_objc_unexpected_exception): Export hook.
972 Update copyright dates.
974 2009-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
976 * configure: Regenerate.
978 2008-12-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
980 * configure: Regenerate.
982 2008-11-21 Kai Tietz <kai.tietz@onevision.com>
984 * Object.m (errno): Replaced by errno.h include.
985 (compare): Cast self to id to prevent warning on comparison.
986 * objc/objc.h (BOOL): Prevent redeclaration of BOOL, if it is
988 * sendmsg.c (__objc_print_dtable_stats): Remove type warnings.
989 * thr-win32.c (__objc_thread_detach): Remove type warning.
990 (__objc_thread_id): Likewise.
991 * thr.c (__objc_thread_detach_functiont): Add __builtin_trap ()
994 2008-09-26 Peter O'Gorman <pogma@thewrittenword.com>
995 Steve Ellcey <sje@cup.hp.com>
997 * configure: Regenerate for new libtool.
998 * config.h.in: Regenerate for new libtool.
1000 2008-07-18 Matthias Klose <doko@ubuntu.com>
1002 * Makefile.in: Ignore missing ../boehm-gc/threads.mk.
1004 2008-07-18 Matthias Klose <doko@ubuntu.com>
1006 * Makefile.in: Include ../boehm-gc/threads.mk.
1007 (OBJC_BOEHM_GC_LIBS): Define, (libobjc_gc$(libsuffix).la): Use it.
1009 2008-07-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1011 * Makefile.in (install-info): New stub target.
1013 2008-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1015 * configure: Regenerate.
1017 2008-06-14 Kai Tietz <kai.tietz@onevision.com>
1019 * exception.c (PERSONALITY_FUNCTION): Remove extra decrement
1020 if HAVE_GETIPINFO is not defined.
1022 2008-06-10 Kai Tietz <kai.tietz@onevision.com>
1024 * Object.m (compare): Add type id.
1025 * objc/Object.h: Likewise.
1026 * archive.c (objc_read_class): Use size_t to extend version to be
1027 size of pointer scalar width.
1028 * sendmsg.c (rtx): Undefine it before redefinition.
1029 (__objc_print_dtable_stats): Cast arguments to long as intended.
1031 2008-05-30 Julian Brown <julian@codesourcery.com>
1033 * exception.c (__objc_exception_class): Initialise as constant
1034 array for ARM EABI. Change macro to static const for non-ARM EABI.
1035 (ObjcException): Add note about structure layout. Remove landingPad
1036 and handlerSwitchValue for ARM EABI.
1037 (get_ttype_entry): Add __ARM_EABI_UNWINDER__ version
1039 (CONTINUE_UNWINDING): Define for ARM EABI/otherwise cases.
1040 (PERSONALITY_FUNCTION): Use ARM EABI-specific arguments, and add
1041 ARM EABI unwinding support.
1042 (objc_exception_throw): Use memcpy to initialise exception class.
1044 2008-05-25 Alan Modra <amodra@bigpond.net.au>
1046 * encoding.c (strip_array_types): Rename from get_inner_array_type.
1047 (rs6000_special_round_type_align): Update.
1049 2008-05-09 Julian Brown <julian@codesourcery.com>
1051 * Makefile.in (LTLDFLAGS): New.
1052 (libobjc$(libsuffix).la, libobjc_gc$(libsuffix).la): Use above.
1054 2008-04-18 Paolo Bonzini <bonzini@gnu.org>
1057 * aclocal.m4: Regenerate.
1058 * configure: Regenerate.
1060 2008-01-24 David Edelsohn <edelsohn@gnu.org>
1062 * configure: Regenerate.
1064 2007-10-14 H.J. Lu <hongjiu.lu@intel.com>
1066 * configure.ac: Don't run config-ml.in directly.
1067 (multilib_arg): New.
1068 * configure: Regenerated.
1070 2007-08-06 Andrew Pinski <pinskia@gmail.com>
1073 * exception.c (parse_lsda_header): Use _uleb128_t/_sleb128_t instead
1074 of _Unwind_Word for variables which are used in
1075 read_uleb128/read_sleb128.
1076 (PERSONALITY_FUNCTION): Likewise.
1078 2007-07-05 H.J. Lu <hongjiu.lu@intel.com>
1080 * aclocal.m4: Regenerated.
1082 2007-06-03 Andrew Pinski <andrew_pinski@playstation.sony.com>
1084 * configure.ac: Fix a typo in *-*-darwin clause.
1085 * configure: Regenerated.
1087 2007-06-02 H.J. Lu <hongjiu.lu@intel.com>
1089 * configure.ac: Fix a typo.
1090 * configure: Regenerated.
1092 2007-06-02 Paolo Bonzini <bonzini@gnu.org>
1094 * configure: Regenerate.
1096 2007-06-01 Andrew Pinski <andrew_pinski@playstation.sony.com>
1098 * Makefile.in: Replace all uses of libext with libsuffix.
1099 * configure.ac: Likewise.
1100 * configure: Regenerate.
1103 * Makefile.in: Remove all uses of $(libext).
1105 2007-05-23 Andrew Pinski <andrew_pinski@playstation.sony.com>
1107 * Makefile.in: Remove all uses of $(libext).
1109 2007-05-23 Steve Ellcey <sje@cup.hp.com>
1111 * configure: Regenerate.
1112 * aclocal.m4: Regenerate.
1114 2007-04-21 Andrew Ruder <andy@aeruder.net>
1116 * sendmsg.c (__objc_get_forward_imp): Call
1117 __objc_msg_forward2 for real.
1119 2007-04-09 Andrew Ruder <andy@aeruder.net>
1121 * sendmsg.c: Added __objc_msg_forward2, a hook that allows
1122 external libraries to provide a function that returns the real
1123 forwarding function based on both the selector and the receiver.
1124 * objc/objc-api.h: Define __objc_msg_forward2.
1126 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
1128 * Makefile.in: Add dummy install-pdf target.
1130 2007-02-18 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
1132 * objc/objc-list.h (list_free): Add keyword 'inline' to avoid
1135 2006-10-31 Geoffrey Keating <geoffk@apple.com>
1137 * encoding.c (darwin_rs6000_special_round_type_align): New.
1139 2006-10-14 Geoffrey Keating <geoffk@apple.com>
1141 * Makefile.in: Use multi_basedir instead of toplevel_srcdir.
1142 * configure.ac: Use multi.m4 from aclocal rather than custom
1143 code. Use multi_basedir instead of toplevel_srcdir.
1144 * aclocal.m4: Regenerate.
1145 * configure: Regenerate.
1147 2006-10-10 Brooks Moses <bmoses@stanford.edu>
1149 * Makefile.in: Added empty "pdf" target.
1151 2006-07-18 Paolo Bonzini <bonzini@gnu.org>
1153 * configure: Regenerate.
1155 2006-05-23 Carlos O'Donell <carlos@codesourcery.com>
1157 * Makefile.in: Add install-html target. Add install-html to .PHONY
1159 2006-02-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1162 * thr-objc.c (_XOPEN_SOURCE): Don't define on Tru64 UNIX.
1164 2006-01-24 David Ayers <d.ayers@inode.at>
1167 * gc.c (class_ivar_set_gcinvisible): Replace strncpy with memcpy
1168 and insure the new strings are '\0' termintated.
1170 2006-01-24 David Ayers <d.ayers@inode.at>
1173 * configure.ac: Add include directives for --enable-objc-gc.
1174 * Makefile.in: Ditto.
1175 * configure: Regenerate.
1177 * gc.c (__objc_class_structure_encoding): Increment the used bytes
1178 instead of the local pointer to them.
1180 2005-12-14 Andrew Pinski <pinskia@physics.uc.edu>
1183 * objc/objc-api.c (_C_COMPLEX): New define.
1184 * encoding.c (objc_sizeof_type): Handle _C_Complex.
1185 (objc_alignof_type): Likewise.
1186 (objc_skip_typespec): Likewise.
1188 2005-12-15 David Ayers <d.ayers@inode.at>
1191 * README (+load,+initialize): Fix documentation to reflect
1192 intended and implemented semantics for +load and +initialize.
1194 2005-12-12 Andrew Pinski <pinskia@physics.uc.edu>
1196 * encoding.c (TYPE_FIELDS): Fix to skip over just _C_STRUCT_B and
1198 (get_inner_array_type): Fix to skip over _C_ARY_B and size.
1199 (rs6000_special_round_type_align): Update for the ABI fix.
1200 (objc_layout_finish_structure): Correct the encoding which is passed to
1203 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
1206 * encoding.c (objc_sizeof_type): Don't handle _C_UNION_B special
1207 but use the struct layout functions.
1208 (objc_alignof_type): Likewise.
1209 (objc_layout_structure): Handle _C_UNION_B also.
1210 (objc_layout_structure_next_member): Likewise.
1211 (objc_layout_finish_structure): Likewise.
1213 2005-12-11 Andrew Pinski <pinskia@physics.uc.edu>
1216 * objc/objc-api.h (_C_BOOL): New define.
1217 * encoding.c (objc_sizeof_type): Handle _C_BOOL.
1218 (objc_alignof_type): Likewise.
1219 (objc_skip_typespec): Likewise.
1221 2005-11-20 David Ayers <d.ayers@inode.at>
1224 * objc/hash.h: Remove deprecated hash API.
1225 * hash_compat.c: Remove.
1226 * Makefile.in: Remove reference to hash_compat.c.
1228 * configure.ac (VERSION): Bump library version to 2:0:0.
1229 * configure: Regenerate.
1231 2005-11-09 Alexandre Oliva <aoliva@redhat.com>
1234 * thr-objc.c (_XOPEN_SOURCE): Define.
1236 2005-10-07 Ulrich Weigand <uweigand@de.ibm.com>
1239 * objc/objc-api.h (struct objc_ivar): Move definition to
1242 2005-09-04 Andrew Pinski <pinskia@physics.uc.edu>
1243 Rasmus Hahn <rassahah@neofonie.de>
1246 * archive.c (objc_write_type): Correct the element offset.
1247 (objc_read_type): Likewise.
1249 2005-08-17 Kelley Cook <kcook@gcc.gnu.org>
1251 * All files: Update FSF address.
1253 2005-08-13 Marcin Koziej <creep@desk.pl>
1254 Andrew Pinski <pinskia@physics.uc.edu>
1257 * exception.c (PERSONALITY_FUNCTION): Fix the PC with finally.
1259 2005-08-13 Andrew Pinski <pinskia@physics.uc.edu>
1261 * Makefile.in (extra_ldflags_libobjc): New.
1262 (libobjc$(libext).la): Add extra_ldflags_libobjc to the link line.
1263 (libobjc_gc$(libext).la): Likewise.
1264 * configure.ac (extra_ldflags_libgfortran): Set for *-darwin* to
1265 "-Wl,-single_module".
1266 * configure: Regenerate.
1267 * linking.m (_objcInit): Remove.
1269 2005-07-26 Andrew Pinski <pinskia@physics.uc.edu>
1272 * Makefile.in (ALL_CFLAGS): Add -fexceptions.
1274 2005-06-08 David Ayers <d.ayers@inode.at>
1276 * objc/NXConstStr.h, objc/Object.h, objc/Protocol.h,
1277 objc/encoding.h, objc/hash.h, objc/objc-api.h,
1278 objc/runtime.h, objc/sarray.h, objc/thr.h,
1279 objc/typedstream.h: Do not include Objective-C headers as
1282 2005-06-07 David Ayers <d.ayers@inode.at>
1284 * archive.c, init.c, selector.c: Include hash.h.
1285 * archive.c, class.c, encoding.c, gc.c, hash.c, hash_compat.c,
1286 init.c, misc.c, nil_method.c, objects.c, sarray.c, selector.c,
1287 sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c, thr-mach.c,
1288 thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c, thr-rtems.c,
1289 thr-single.c, thr-solaris.c, thr-vxworks.c, thr-win32.c, thr.c:
1290 Include Objective-C headers with quotes and objc/ directory
1293 2005-05-19 Richard Henderson <rth@redhat.com>
1295 * exception.c: Revert last change.
1297 2005-05-19 David Ayers <d.ayers@inode.at>
1299 * exception.c: Include tsystem.h for unwind.h.
1301 2005-05-09 Mike Stump <mrs@apple.com>
1303 * configure: Regenerate.
1305 2005-04-12 Mike Stump <mrs@apple.com>
1307 * configure: Regenerate.
1309 2005-03-21 Zack Weinberg <zack@codesourcery.com>
1311 * Makefile.in: Set gcc_version here.
1312 * configure.ac: Do not invoke TL_AC_GCC_VERSION. Adjust quoting
1313 in definition of toolexeclibdir so that $(gcc_version) is expanded
1315 * aclocal.m4, configure: Regenerate.
1317 2005-03-03 David Ayers <d.ayers@inode.at>
1319 * objc/hash.h (OBJC_IGNORE_DEPRECATED_API): Update deprecated
1320 version reference. Correct typo.
1322 2005-03-02 David Ayers <d.ayers@inode.at>
1325 * Makefile.in (OBJS): Add hash_compat.lo.
1326 (OBJS_GC): Add hash_compat_gc.lo.
1327 (hash_compat_gc.lo): New target and rule.
1328 * objc/hash.h (hash_new, hash_delete, hash_add, hash_remove)
1329 (hash_next, hash_value_for_key, hash_is_key_in_hash)
1330 (hash_ptr, hash_string, compare_ptrs, compare_strings): Prefix
1331 with objc_. Add deprecated non prefixed inlined versions.
1332 (OBJC_IGNORE_DEPRECATED_API): New macro to hide deprecated
1334 * hash.c (hash_new, hash_delete, hash_add, hash_remove, hash_next)
1335 (hash_value_for_key, hash_is_key_in_hash): Prefix with objc_ and
1337 * hash_compat.c: New file.
1338 * archive.c: Update callers.
1340 * selector.c: Likewise.
1341 * libobjc.def: Add objc_ versions of hash functions.
1343 2005-02-28 Andrew Pinski <pinskia@physics.uc.edu>
1346 * Makefile.in (GTHREAD_FLAGS): Remove.
1347 (ALL_CFLAGS): Remove usage of GTHREAD_FLAGS.
1348 * thr-objc.c: Include config.h.
1349 * configure.ac: Instead of looking at GCC's makefile, figure out if
1350 GTHREAD_FLAGS should be defined by looking at the `thread model'
1352 * configure: Regenerate.
1353 * config.h.in: Regenerate.
1355 2005-02-28 Paolo Bonzini <bonzini@gnu.org>
1358 * configure.ac: Call GCC_TOPLEV_SUBDIRS.
1359 (Determine CFLAGS for gthread): Use $host_subdir.
1360 * configure: Regenerate.
1361 * Makefile.in (host_subdir): New.
1364 2004-12-20 Andrew Pinski <pinskia@physics.uc.edu>
1367 * gc.c: Remove definition of LOGWL, modWORDSZ, and divWORDSZ since
1369 Include limits.h and stdlib.h.
1370 Define BITS_PER_WORD.
1372 2004-12-12 Alexander Malmberg <alexander@malmberg.org>
1374 * selector.c (__objc_init_selector_tables): Add missing void to
1377 2004-12-02 Richard Sandiford <rsandifo@redhat.com>
1379 * configure.ac: Use TL_AC_GCC_VERSION to set gcc_version.
1380 * configure, aclocal.m4: Regenerate.
1382 2004-11-29 Kelley Cook <kcook@gcc.gnu.org>
1384 * configure: Regenerate for libtool change.
1386 2004-11-25 Kelley Cook <kcook@gcc.gnu.org>
1388 * configure: Regenerate for libtool reversion.
1390 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
1392 * configure: Regenerate for libtool change.
1394 2004-11-24 Kelley Cook <kcook@gcc.gnu.org>
1396 * aclocal.m4, config.h.in: Regenerate.
1398 2004-10-08 Mike Stump <mrs@apple.com>
1399 Andrew Pinski <pinskia@physics.uc.edu>
1401 * aclocal.m4: Rename to ...
1402 * acinclude.m4: here and also use m4_include instead of sinclude.
1403 * aclocal.m4: Regenerate.
1404 * configure: Regenerate.
1405 * configure.ac: Add AM_MAINTAINER_MODE and AM_PROG_CC_C_O.
1406 * Makefile.in (configure): Add @MAINT@ infront of configure.ac
1408 2004-10-08 Andrew Pinski <pinskia@physics.uc.edu>
1410 * archive.c: Fix all the warnings about passing unsigned char*
1411 to char* and the other way too.
1413 2004-09-16 Andrew Pinski <pinskia@physics.uc.edu>
1416 * exception.c: Include config.h
1417 (objc_exception_throw): Change _GLIBCXX_SJLJ_EXCEPTIONS to
1419 * configure.ac: Find out what exception handling code we use.
1420 * configure: Regenerate.
1421 * config.h.in: New file, regenerate.
1423 2004-09-16 Andrew Pinski <apinski@apple.com>
1425 * encoding.c (ALTIVEC_VECTOR_MODE): Define a bogus macro.
1427 2004-08-28 Nathanael Nerode <neroden@gcc.gnu.org>
1429 * configure.ac: Switch from _GCC_TOPLEV_NONCANONICAL_TARGET to
1430 ACX_NONCANONICAL_TARGET.
1431 * configure: Regenerate.
1433 2004-08-13 Ziemowit Laski <zlaski@apple.com>
1435 * objc/sarray.h: Hoist include of assert.h near the top of file,
1436 and mark the remainder of the file 'extern "C"'.
1438 2004-08-13 Andrew Pinski <pinskia@physics.uc.edu>
1440 * objc/Object.h: Move includes out of extern "C" blocks.
1441 * objc/encoding.h: Likewise.
1442 * objc/hash.h: Likewise.
1443 * objc/objc-api.h: Likewise.
1444 * objc/runtime.h: Likewise.
1445 * objc/sarray.h: Likewise.
1446 * objc/typedstream.h: Likewise.
1448 2004-08-12 Ziemowit Laski <zlaski@apple.com>
1450 * objc/NXConstStr.h: Update copyright date; bracket with
1451 'extern "C"' for C++ use; make include syntax consistent
1452 by using <...> instead of "..."; hoist <objc/...> includes
1453 above the 'extern "C"' block.
1454 * objc/Object.h: Likewise.
1455 * objc/Protocol.h: Likewise.
1456 * objc/encoding.h: Likewise.
1457 * objc/hash.h: Likewise.
1458 * objc/runtime.h: Likewise.
1459 * objc/sarray.h: Likewise.
1460 * objc/thr.h: Likewise.
1461 * objc/typedstream.h: Likewise.
1462 * objc/objc-api.h: Add 'extern "C"' block for C++ use.
1463 (objc_static_instances): For C++ case, do away with
1465 (objc_method): Hoist definition to file scope.
1466 (_objc_load_callback, _objc_object_alloc, class_get_class_method,
1467 class_get_instance_method, class_create_instance,
1468 class_get_class_name, class_get_instance_size,
1469 class_get_meta_class, class_get_super_class, class_get_version,
1470 class_is_class, class_is_meta_class, class_set_version,
1471 class_get_gc_object_type, class_ivar_set_gcinvisible,
1472 get_imp): Rename 'class' parameter to '_class'.
1473 * objc/objc-list.h: Add 'extern "C"' block for C++ use.
1474 * objc/objc.h: Update copyright date.
1475 (arglist_t): Provide a union tag.
1477 2004-07-22 Andrew Pinski <pinskia@physics.uc.edu>
1479 * thr.c (__objc_thread_detach_function): Do not mark as volatile
1480 but instead use the attribute noreturn.
1482 2004-06-28 Zack Weinberg <zack@codesourcery.com>
1484 * encoding.c: Rename target_flags with a #define to avoid
1485 conflict with a prior declaration.
1487 2004-06-24 Andrew Pinski <apinski@apple.com>
1489 * objc/encoding.h: Wrap the functions with extern "C" for C++
1491 * objc/hash.h: Likewise.
1492 * objc/objc-api.h: Likewise.
1493 * objc/objc-list.h: Likewise.
1494 * objc/runtime.h: Likewise.
1495 * objc/sarray.h: Likewise.
1496 * objc/thr.h: Likewise.
1497 * objc/typedstream.h: Likewise.
1500 2004-06-21 Nick Clifton <nickc@redhat.com>
1502 * encoding.c (BITS_PER_UNIT): Define if a definition is not
1505 2004-06-20 Alexander Malmberg <alexander@malmberg.org>
1507 * Makefile.in (exception.lo): Remove $(OBJC_GCFLAGS).
1508 (exception_gc.lo): New.
1509 (OBJS_GC): Add exception_gc.lo.
1511 2004-06-17 Richard Henderson <rth@redhat.com>
1513 * exception.c: New file.
1514 * Makefile.in (exception.lo): New.
1517 2004-06-14 Andrew Pinski <pinskia@physics.uc.edu>
1519 * linking.m (_objcInit): New empty function
1522 2004-06-11 Andrew Pinski <pinskia@physics.uc.edu>
1524 * configure.ac: Support --enable-shared=libobjc.
1525 * configure: Regenerate.
1528 * configure.ac: Do not disable shared by default.
1529 * configure: Regenerate.
1531 2004-06-03 Nicola Pero <n.pero@mi.flashnet.it>
1533 * Protocol.m ([-isEqual:]): Small optimizations returning
1534 immediately if the argument is equal to self, and accessing
1535 the argument's name directly if it's a protocol.
1537 2004-06-03 David Ayers <d.ayers@inode.at>
1539 * Protocol.m ([-isEqual:]): Test the class of the argument.
1541 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1543 * configure.ac (includedir): Rename to ...
1545 * Makefile.in: s/includedir/includedirname/.
1548 * configure.ac (includedir): Set to "include"
1550 (libext) Set to empty except for Darwin.
1551 * configure: Regenerate
1552 * Makefile.in: s/libobjc.la/libobjc$(libext).la/g.
1553 s/include/$(includedir)/g.
1555 2004-05-25 Daniel Jacobowitz <drow@false.org>
1557 * Makefile.in: Add .NOEXPORT.
1559 2004-05-25 Andrew Pinski <pinskia@physics.uc.edu>
1561 Merge from the libobjc-branch
1562 2004-02-09 Andrew Pinski <pinskia@physics.uc.edu>
1564 * Makefile.in (OBJC_H): Change objc-deps.h to objc-decls.h.
1566 2004-02-03 Andrew Pinski <pinskia@physics.uc.edu>
1568 * Makefile.in (OBJC_H): Add objc-deps.h.
1570 2004-01-27 Nicola Pero <n.pero@mi.flashnet.it>
1572 * Protocol.m ([-conformsTo:]): If the argument is nil, return NO.
1573 ([-hash], [-isEqual:]): New methods.
1575 2004-01-27 Richard Frith-Macdonald <rfm@gnu.org>
1577 * sarray.c (sarray_free): Add a better comment.
1579 2004-01-27 Adam Fedor <fedor@gnu.org>
1581 * hash.c (hash_add): Cast cachep to int.
1582 * selector.c (__sel_register_typed_name): Cast
1583 soffset_decode to int.
1585 2004-01-27 Alexander Malmberg <alexander@malmberg.org>
1587 * selector.c: Rename register_selectors_from_list to
1588 __objc_register_selectors_from_list. Update caller.
1589 (__objc_register_selectors_from_list): Lock __objc_runtime_mutex
1590 while registering selectors. Use __sel_register_typed_name instead
1591 of sel_register_typed_name. Check for NULL method_name:s.
1592 (pool_alloc_selector): New function.
1593 (__sel_register_typed_name): Use pool_alloc_selector to allocate
1594 selector structures.
1595 * sendmsg.c (class_add_method_list): Use
1596 __objc_register_selectors_from_list.
1597 * objc/runtime.h: Add __objc_register_selectors_from_list.
1599 2004-01-25 Adam Fedor <fedor@gnu.org>
1600 Nicola Pero <n.pero@mi.flashnet.it>
1601 Andrew Pinski <pinskia@physics.uc.edu>
1603 * objc/objc-decls.h: New file.
1604 * objc/objc-api.h (_objc_lookup_class): Mark as export.
1605 (_objc_load_callback): Likewise.
1606 (_objc_object_alloc): Likewise.
1607 (_objc_object_copy): Likewise.
1608 (_objc_object_dispose): Likewise.
1610 2004-01-25 Andrew Pinski <pinskia@physics.uc.edu>
1612 * archive.c: s/__inline__/inline
1613 * sendmsg.c: Likewise.
1615 * encoding.c: Remove FIXME about the warning
1616 about unused variable.
1617 * sendmsg.c: Add a FIXME comment saying that
1618 this should be using libffi.
1620 * Makefile.in (LIBTOOL): Use @LIBTOOL@ now as it works.
1623 2004-05-13 Andrew Pinski <pinskia@physics.uc.edu>
1625 * archive.c (objc_read_class): Initialize class_name.
1626 (objc_read_selector): Initialize selector_name.
1628 2004-05-09 Richard Sandiford <rsandifo@redhat.com>
1630 * Makefile.in (toolexecdir): Remove trailing space.
1632 2004-04-15 Nathanael Nerode <neroden@gcc.gnu.org>
1635 * configure.ac: De-precious CC so multilibs work.
1636 * configure: Regenerate.
1638 2004-04-14 Nathanael Nerode <neroden@gcc.gnu.org>
1640 * configure.ac: Restore toolexecdir.
1641 * Makefile.in: Restore toolexecdir.
1642 * configure: Regenerate.
1644 2004-04-09 Nathanael Nerode <neroden@gcc.gnu.org>
1646 * configure.ac: Remove (unused) glibcpp_prefixdir.
1647 * configure: Regenerate.
1649 * configure.in: Rename to configure.ac.
1650 * Makefile.in: Update to match.
1652 * Makefile.in: Remove toolexecdir, glibcpp_toolexecdir (unused).
1653 Replace glibcpp_toolexeclibdir with toolexeclibdir.
1654 * configure.in: Remove glibcpp_toolexecdir (unused).
1655 Replace glibcpp_toolexeclibdir with toolexeclibdir. Don't generate
1656 config.h or stamp-h (unused). Move one comment to the right place.
1657 * configure: Regenerate.
1658 * config.h.in: Remove (unused).
1660 * config.h.in: Regenerate with autoheader.
1662 * Makefile.in: Remove (unused) gcc_version_trigger.
1663 * configure.in: Remove (unused) glibcpp_builddir. Don't AC_SUBST
1664 gcc_version_trigger.
1665 * configure: Regenerate.
1667 * configure.in: Switch to modern style for AC_INIT, AC_OUTPUT.
1668 Sort file into sections. Remove dnl where appropriate. Fix
1670 * configure: Regenerate.
1672 * configure.in: Replace old AC_PROG_CC hack with new one.
1673 Define toplevel_srcdir in terms of srcdir, not top_srcdir (there
1674 are no subdirectory output files, so this is fine). Change prereq
1676 * aclocal.m4: Include ../config/no-executables.m4.
1677 * configure: Regenerate with autoconf 2.59.
1679 * configure.in: Improve comments on gthread_cflags. Improve m4
1680 quotation, and replace 'if test' with 'case', for --enable-objc-gc.
1681 * configure: Regenerate.
1683 * configure.in: Move PACKAGE and VERSION settings up top. Remove
1684 unused call to AC_PROG_LN_S. Default RANLIB to ':'. Remove
1685 redundant checks for values of RANLIB, AR, INSTALL.
1686 * configure: Regenerate.
1688 * configure.in: Clean up handling of
1689 --enable-version-specific-runtime-libs and related variables;
1690 replace 'if test' with 'case' where reasonable. Fix comments.
1691 Remove useless libstdcxx_interface.
1692 * configure: Regenerate.
1694 * configure.in: Use _GCC_TOPLEV_NONCANONICAL_TARGET.
1695 Replace uses of target_alias with target_noncanonical.
1696 * aclocal.m4: Include ../config/acx.m4.
1697 * configure: Regenerate.
1698 * Makefile.in: Replace uses of target_alias with target_noncanonical.
1699 Fix copyright statement.
1701 * configure.in: Hand-inline bulky, confusing macros from
1702 aclocal.m4. Replace references to "GNU Objective C" with "GCC".
1703 Update copyright notice. Remove stuff for automake, which isn't
1704 used in this directory. Remove emacs local variables.
1705 * aclocal.m4: Remove hand-inlined macros. Update copyright notice.
1706 * configure: Regenerate.
1708 2004-03-16 Manfred Hollstein <mh@suse.com>
1710 * Makefile.in, configure.in, configure: Update copyright years.
1712 2004-03-15 Manfred Hollstein <mh@suse.com>
1714 * Makefile.in (LIBOBJC_VERSION, LIBOBJC_GC_VERSION): Use
1715 definition from configure.in.
1716 * configure.in (PACKAGE): Add definition.
1717 (VERSION): Add definition; substitute it in output files.
1718 * configure: Re-generate.
1720 2004-03-05 Ziemowit Laski <zlaski@apple.com>
1722 * objc/hash.h (hash_string, compare_strings):
1723 Add type-casts to make Objective-C++ happy.
1724 * objc/typedstream.h (objc_get_stream_class_version):
1725 Rename parameter from 'class' to 'class_name' to make
1726 Objective-C++ happy.
1728 2004-03-01 Michael Matz <matz@suse.de>
1730 * Makefile.in (ALL_CFLAGS): Add -fno-strict-aliasing.
1732 2004-02-06 Ziemowit Laski <zlaski@apple.com>
1734 * objc/objc-api.h (objc_super): The 'class' field shall
1735 be named 'super_class' #ifdef __cplusplus.
1737 2004-01-17 Andrew Pinski <pinskia@physics.uc.edu>
1740 * encoding.c (rs6000_special_round_type_align): Define.
1742 2004-01-14 Adam Fedor <fedor@gnu.org>
1745 * selector.c (__objc_register_instance_methods_to_class): Free
1746 new_list if not used.
1748 2004-01-09 Andrew Ruder <aeruder@ksu.edu>
1751 * sarray.c (sarray_free): Free array->is_copy_of latter.
1753 2003-12-01 Zack Weinberg <zack@codesourcery.com>
1756 * Protocol.m (descriptionForInstanceMethod): Don't dereference
1757 instance_methods if it's NULL.
1758 (descriptionForClassMethod): Likewise for class_methods.
1760 2003-10-24 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1762 * Makefile.in (runtime-info.h): Remove -Wp.
1764 2003-10-21 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1766 * Makefile.in (CC1OBJ): Remove.
1767 (runtime-info.h): Invoke $(CC) so all MULTIFLAGS are handled
1769 Use .m extension for temporary file.
1770 Remove assembler temp file.
1772 2003-10-20 Joseph S. Myers <jsm@polyomino.org.uk>
1774 * objc/hash.h (hash_string): Don't use a cast as an lvalue.
1776 2003-10-17 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1778 * Makefile.in (runtime-info.h): Use MULTIFLAGS.
1780 2003-09-09 Alan Modra <amodra@bigpond.net.au>
1782 * configure: Regenerate.
1784 2003-08-27 Alexander Malmberg <alexander@malmberg.org>
1786 * Makefile.in, aclocal.m4: Update to $(libdir)/gcc/ instead of
1787 (libdir)/gcc-lib/ when installing.
1788 * configure: Regenerate.
1790 Thu Jul 10 10:27:43 2003 Nicola Pero <n.pero@mi.flashnet.it>
1793 * sendmsg.c (get_imp): Fixed rare threading problem.
1794 (__objc_responds_to): Similar fixes.
1795 (objc_msg_lookup): Similar fixes.
1796 (__objc_init_install_dtable): Lock the runtime before checking if the
1799 2003-05-23 Nathanael Nerode <neroden@gcc.gnu.org>
1801 * hash.c, init.c, libobjc.def, libobjc_entry.c, linking.m,
1802 makefile.dos, misc.c, nil_method.c, objects.c, sarray.c,
1803 selector.c, sendmsg.c, thr-dce.c, thr-decosf1.c, thr-irix.c,
1804 thr-mach.c, thr-objc.c, thr-os2.c, thr-posix.c, thr-pthreads.c,
1805 thr-rtems.c, thr-single.c, thr-solaris.c, thr-vxworks.c,
1806 thr-win32.c, thr.c: Replace "GNU CC" with "GCC".
1807 * Makefile.in, NXConstStr.m, Object.m, Protocol.m, archive.c,
1808 class.c, encoding.c, gc.c, objc/NXConstStr.h, objc/Object.h,
1809 objc/Protocol.h, objc/encoding.h, objc/hash.h, objc/objc-api.h,
1810 objc/objc-list.h, objc/objc.h, ocjc/runtime.h, objc/sarray.h,
1811 objc/thr.h, objc/typedstream.h: Replace "GNU CC" with "GCC".
1813 Tue May 13 14:56:03 2003 Richard Frith-Macdonald <rfm@gnu.org>
1814 Nicola Pero <n.pero@mi.flashnet.it>
1817 * init.c (class_superclass_of_class): New function.
1818 (create_tree_of_subclasses_inherited_from): Use it.
1819 (__objc_tree_insert_class): Likewise.
1820 (class_is_subclass_of_class): Likewise.
1822 2003-04-11 David Chad <davidc@freebsd.org>
1823 Loren J. Rittle <ljrittle@acm.org>
1826 * objc/hash.h (hash_string): Constify correctly.
1827 (compare_ptrs): Use direct compare.
1828 * objc/objc-list.h (list_nth): Rename index to indx to avoid shadow.
1829 * objc/sarray.h: Global rename index to indx to avoid shadow.
1831 2003-03-12 Andreas Schwab <schwab@suse.de>
1833 * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in
1834 glibcpp_toolexeclibdir.
1835 * configure: Rebuilt.
1837 2003-02-20 Alexandre Oliva <aoliva@redhat.com>
1839 * configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to
1841 * configure: Rebuilt.
1843 2003-01-27 Alexandre Oliva <aoliva@redhat.com>
1845 * aclocal.m4 (glibcpp_toolexeclibdir): Instead of
1846 $(MULTISUBDIR), use `$CC -print-multi-os-directory`, unless
1847 version_specific_libs is enabled.
1848 * configure: Rebuilt.
1850 2003-01-09 Christian Cornelssen <ccorn@cs.tu-berlin.de>
1852 * Makefile.in (FLAGS_TO_PASS): Also pass DESTDIR.
1853 (install-libs, install-headers): Prepend $(DESTDIR) to
1854 destination paths in all (un)installation commands.
1856 2002-12-02 Zack Weinberg <zack@codesourcery.com>
1858 * thr-objc.c: Include coretypes.h and tm.h.
1860 2002-12-01 Zack Weinberg <zack@codesourcery.com>
1862 * encoding.c, sendmsg.c: Include coretypes.h and tm.h.
1864 2002-11-26 Nathanael Nerode <neroden@gcc.gnu.org>
1866 * configure.in: Remove skip-this-dir support.
1867 * configure: Regenerate.
1869 2002-09-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1871 * Makefile.in (all): Fix multilib parallel build.
1873 Thu Sep 12 12:44:37 2002 Nicola Pero <n.pero@mi.flashnet.it>
1875 * sendmsg.c (nil_method): Declare not to take a variable number of
1877 (objc_msg_lookup): Cast nil_method to IMP before returning it.
1878 (objc_msg_lookup_super): The same.
1880 2002-09-10 Jan Hubicka <jh@suse.cz>
1882 * nil_method.c (nil_method): No longer defined with variable
1885 2002-07-02 Rodney Brown <rbrown64@csc.com.au>
1887 * objc/encoding.h: Fix formatting.
1888 * objc/hash.h: Likewise.
1889 * objc/objc-api.h: Likewise.
1890 * objc/runtime.h: Likewise.
1891 * objc/thr.h: Likewise.
1892 * archive.c: Likewise.
1893 * class.c: Likewise.
1894 * encoding.c: Likewise.
1899 * nil_method.c: Likewise.
1900 * objects.c: Likewise.
1901 * sarray.c: Likewise.
1902 * selector.c: Likewise.
1903 * sendmsg.c: Likewise.
1904 * thr-mach.c: Likewise.
1907 2002-06-25 DJ Delorie <dj@redhat.com>
1909 * aclocal.m4 (GLIBCPP_CONFIGURE): Split out
1910 GLIBCPP_TOPREL_CONFIGURE.
1911 * configure.in: Call it before AC_CANONICAL_SYSTEM.
1912 * configure: Regenerate.
1914 2002-06-21 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1916 * Object.m (forward, read, write): Fix unused parameter warnings.
1917 * encoding.c: Include <stdlib.h>.
1918 (target_flags): Mark with attribute unused.
1920 * runtime.h (__objc_selector_max_index): Change to unsigned int.
1921 (__objc_generate_gc_type_description): Prototype.
1922 * selector.c (__objc_selector_max_index): Change to unsigned int.
1924 Mon Jun 17 18:37:42 2002 Nicola Pero <n.pero@mi.flashnet.it>
1926 * sendmsg.c (__objc_get_forward_imp): Fix warning by making sure
1927 we always have a return value: if __objc_msg_forward does not
1928 supply a forwarding implementation, return the default
1929 __builtin_apply based one.
1931 2002-06-15 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1933 * Object.m: Fix signed/unsigned warning.
1934 * Protocol.m: Likewise.
1935 * archive.c: Always include stdlib.h.
1936 (objc_read_short, objc_read_unsigned_short, objc_read_int,
1937 objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
1938 Fix signed/unsigned warning.
1939 (objc_write_type, objc_read_type, objc_write_types,
1940 objc_read_types): Ensure ctype 8-bit safety.
1941 (__objc_no_write, __objc_no_read): Mark unused parameters.
1942 * class.c (class_table_setup): Specify void arg.
1943 * encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
1944 objc_skip_typespec, objc_skip_offset,
1945 objc_layout_structure_next_member): Ensure ctype 8-bit safety.
1946 (objc_layout_structure_next_member): Ensure variables are
1948 * gc.c (__objc_generate_gc_type_description,
1949 class_ivar_set_gcinvisible): Mark unused parameters.
1950 * init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
1952 (__objc_init_protocols) Fix signed/unsigned warning.
1953 * nil_method.c (nil_method): Mark unused parameters.
1954 * thr.h (objc_thread_callback): Specify void arg.
1955 * sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
1956 signed/unsigned warning.
1957 (sarray_free): Fix formatting.
1958 * selector.c (sel_types_match): Ensure ctype 8-bit safety.
1959 * sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
1961 2002-06-09 Andreas Jaeger <aj@suse.de>
1963 * encoding.c (objc_layout_structure_next_member): Remove unused
1966 2002-05-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
1968 * Makefile.in (SHELL): Set to @SHELL@.
1970 (ALL_CFLAGS): Add $(WARN_CFLAGS).
1972 2002-05-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
1974 * aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
1975 * configure: Regenerate.
1977 2002-05-08 Alexandre Oliva <aoliva@redhat.com>
1979 * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
1980 script entry, and set LD to it when configuring multilibs.
1981 * configure: Rebuilt.
1983 2002-04-19 David O'Brien <obrien@FreeBSD.org>
1985 * encoding.c (MAX, MIN, ROUNDING): #undef before defining.
1987 2002-04-09 Hans-Peter Nilsson <hp@bitrange.com>
1990 * objc/objc-api.h (struct objc_protocol_list): Change type of
1991 member count from int to size_t.
1993 2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
1996 * aclocal.m4: Replace with version copied from libstdc++-v3.
1997 * configure.in: Update for changes to aclocal and Makefile.
1998 * configure: Regenerate.
1999 * Makefile.in: Correct install of multilibs and shared libs, use
2000 INSTALL_DATA for include files.
2002 Mon Dec 17 17:02:12 2001 Nicola Pero <nicola@brainstorm.co.uk>
2004 * init.c (__objc_exec_class): Fixed bug in the loop on unclaimed
2005 categories - when an unclaimed category was found, the loop was
2006 doing two steps forward instead of one, so that in certain cases
2007 it was failing to properly load all the categories. (Reported
2008 with fix by Alexander Malmberg <alexander@malmberg.org>).
2010 2001-11-14 Aldy Hernandez <aldyh@redhat.com>
2012 * encoding.c: Add target_flags.
2014 2001-11-07 Aldy Hernandez <aldyh@redhat.com>
2016 * objc/objc-api.h (_C_VECTOR): New.
2018 * encoding.c (VECTOR_TYPE): New.
2020 Mon Oct 29 21:29:21 2001 Nicola Pero <n.pero@mi.flashnet.it>
2022 * class.c: Rewritten the class table to use optimized, lock-free
2023 lookup. This more than doubles the speed of class method
2024 invocations. (class_table_setup), (class_table_insert),
2025 (class_table_replace), (class_table_get_safe),
2026 (class_table_next), (class_table_print),
2027 (class_table_print_histogram): New functions.
2028 (__objc_init_class_tables): Use class_table_setup.
2029 (__objc_add_class_to_hash): Use class_table_get_safe and
2030 class_table_insert. (objc_lookup_class), (objc_get_class): Do not
2031 assert the existence of the table; do not lock the runtime; use
2032 class_table_get_safe. (objc_next_class): Use class_table_next.
2033 (__objc_resolve_class_links): Use class_table_next.
2034 (class_pose_as): Use class_table_replace.
2036 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
2038 * gc.c: Removed the DEBUG declaration.
2040 Wed Jul 18 12:48:56 2001 Nicola Pero <n.pero@mi.flashnet.it>
2042 * thr.c (objc_mutex_lock): Invoke __objc_thread_id directly,
2043 rather than through objc_thread_id, to save a function call.
2044 (objc_mutex_trylock, objc_mutex_unlock, objc_condition_wait):
2047 Mon Jul 16 12:15:00 2001 Nicola Pero <n.pero@mi.flashnet.it>
2049 * objc/objc-api.h (object_is_class): Fixed - buggy code was trying
2050 to cast an id to a Class, which can not be done. Make the check
2051 by using CLS_ISMETA on the class pointer instead.
2052 (object_is_meta_class): Similar fix.
2054 2001-06-09 Alexandre Oliva <aoliva@redhat.com>, Stephen L Moshier <moshier@mediaone.net>
2056 * configure.in (AC_EXEEXT): Work around in case it expands to
2057 nothing, as in autoconf 2.50.
2058 * acinclude.m4: Likewise.
2059 * configure: Rebuilt.
2061 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
2063 * THREADS: Explain that when we compile libobjc inside GCC, we
2064 always use thr-objc.c as a backend, which uses GCC's thread code.
2066 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
2068 * init.c (__objc_send_message_in_list): When setting a new entry
2069 in __objc_load_methods use the method IMP as key, but check to see
2070 if the method is in the hashtable by looking at the IMP also.
2071 Also ... call the method after adding it to the hashtable rather
2072 than before ... thus preventing an obscure possibility of infinite
2073 recursion if a +load method itself loads a subclass.
2075 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
2077 * init.c (__objc_send_message_in_list): When setting a new entry
2078 in __objc_load_methods use the method name as key, not the method
2079 IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>).
2081 2001-05-09 Joseph S. Myers <jsm28@cam.ac.uk>
2083 * objc-features.texi: Move to ../gcc/objc.texi.
2085 * Makefile.in: Don't generate documentation from
2088 2001-05-01 Mark Mitchell <mark@codesourcery.com>
2090 * fdl.texi: New file.
2091 * objc-features.texi: Simplify.
2092 * Makefile.in: Adjust accordingly.
2094 2001-04-30 Mark Mitchell <mark@codesourcery.com>
2096 * objc-features.texi: Use the GFDL.
2098 Wed Mar 21 04:44:58 EST 2001 John Wehle (john@feith.com)
2100 * encoding.c (REAL_TYPE): Define.
2102 2001-03-19 David Edelsohn <edelsohn@gnu.org>
2104 * encoding.c (TYPE_MODE): Define.
2106 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
2108 * thr.c (objc_thread_add): New function.
2109 (objc_thread_remove): Ditto.
2110 * objc/thr.h: Declare them.
2111 * libobjc.def: Mention them.
2113 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
2115 * objc-features.texi: Document the @compatibility_alias compiler
2116 directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
2118 Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
2120 * sendmsg.c (__objc_forward): Delete strlen() declaration.
2122 2001-02-08 Geoffrey Keating <geoffk@redhat.com>
2124 * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because
2125 we're not interested in the result and they might fail.
2126 * configure: Regenerated.
2128 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
2130 * objc-features.texi: Use @email.
2132 2001-01-12 Joseph S. Myers <jsm28@cam.ac.uk>
2134 * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
2137 2000-01-11 Richard Earnshaw <rearnsha@arm.com>
2139 * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
2140 determines the value dynamically.
2142 Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
2144 * sendmsg.c: Added __objc_msg_forward, a hook that allows external
2145 libraries to provide a function that returns the real forwarding
2146 function. This can alleviate problems __builtin_apply() and
2147 friends have on various platforms. (Solution suggested by Helge
2150 * objc/objc-api.h: Define __objc_msg_forward.
2152 * sendmsg.c: Define gen_rtx_REG.
2154 2000-12-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
2156 * thr-rtems.c: New file. Stub to compile.
2158 2000-09-06 Alexandre Oliva <aoliva@redhat.com>
2160 * configure: Rebuilt with new libtool.m4.
2162 Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2164 * configure.in: Create a config.h file. Check for <sched.h>.
2165 * configure: Regenerate.
2167 * config.h.in: Check for <sched.h>.
2169 2000-08-14 Zack Weinberg <zack@wolery.cumb.org>
2171 * configure: Regenerate after change to ../libtool.m4.
2173 2000-08-14 Andreas Schwab <schwab@suse.de>
2175 * objc-features.texi (Top): Move @menu at end of node.
2177 2000-08-11 Manfred Hollstein <manfredh@redhat.com>
2179 * objc-features.texi: Move @node Top before @menu.
2181 Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2183 * objc-features.texi: Documented the new -fconstant-string-class
2186 Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2188 * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to
2189 improve the Posix thread support for Objective-C.
2191 2000-08-04 Zack Weinberg <zack@wolery.cumb.org>
2193 * aclocal.m4: Replace copy of ../libtool.m4 with
2194 sinclude(../libtool.m4).
2196 Fri Jul 28 08:58:02 2000 Nicola Pero <nicola@brainstorm.co.uk>
2198 * configure.in: Added libtool support; build shared libraries
2199 if --enable-shared was passed on command line.
2200 * Makefile.in: Modified most compilation commands to use libtool.
2201 * aclocal.m4: New symbolic link to the ../libtool.m4, from the
2202 libtool distribution.
2204 Sat Jul 29 00:10:21 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
2206 * sarray.c, Object.m: Removed the explicit prototypes for strlen
2207 and memcpy on 64-bit platforms (Suggested by Rodney Brown
2210 2000-05-12 H.J. Lu (hjl@gnu.org)
2212 * Makefile.in (GTHREAD_FLAGS): New.
2213 (ALL_CFLAGS): Add $(GTHREAD_FLAGS).
2214 (OBJC_THREAD_FILE): Changed to thr-objc.
2216 * configure.in (GTHREAD_FLAGS): New, check and replace it for
2218 (OBJC_THREAD_FILE): Removed.
2222 2000-07-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2224 * objc/hash.h: Include string.h.
2226 2000-04-15 David Edelsohn <edelsohn@gnu.org>
2228 * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.
2230 2000-04-12 Jakub Jelinek <jakub@redhat.com>
2232 * Object.m (strlen): Provide prototype on all 64bit platforms,
2234 * sarray.c (memcpy): Likewise.
2235 * encoding.c (objc_layout_finish_structure): Don't use
2236 ROUND_TYPE_ALIGN on sparc.
2238 * encoding.c (objc_layout_structure_next_member): Do the whole
2239 procedure even for the first member, so that we get correct
2242 2000-03-29 Zack Weinberg <zack@wolery.cumb.org>
2244 * objc/Protocol.h, objc/objc-list.h: Change #endif labels to
2247 2000-02-23 Zack Weinberg <zack@wolery.cumb.org>
2249 * Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.
2251 Thu Sep 23 07:19:12 1999 Chris Ball <cball@fmco.com>
2253 * thr-posix.c (__objc_mutex_deallocate): made deallocate work.
2255 Tue Sep 21 07:47:10 1999 Jeffrey A Law (law@cygnus.com)
2257 * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime to
2258 the compiler when building C code.
2260 Fri Aug 6 23:32:29 1999 Daniel Jacobowitz <drow@drow.them.org>
2262 * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,
2263 libdir, libsubdir and tooldir.
2265 Mon Jun 21 05:40:15 1999 John David Anglin <dave@hiauly1>
2267 * init.c (__objc_force_linking): Make global.
2269 Thu May 20 03:20:59 1999 Jeffrey A Law (law@cygnus.com)
2271 * configure.in (AC_EXEEXT): Remove call.
2272 (compiler_name): Explicitly check with no extension and .exe
2274 * configure: Regenerate.
2276 Sun Apr 25 01:15:34 1999 Mumit Khan <khan@xraylith.wisc.edu>
2278 * Makefile.in (CC1OBJ): Define in terms of CC.
2279 (runtime-info.h): Use.
2281 Fri April 8 08:21:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
2283 * objc-features.texi: Updated the URL to Boehm's GC page.
2285 Fri Mar 26 23:41:07 1999 Ovidiu Predescu <ovidiu@cup.hp.com>
2287 * archive.c (__objc_code_char, __objc_write_char): Explicitly specify
2288 the char as being signed (patch from Daniel Jacobowitz
2291 Wed Mar 24 22:41:28 1999 Mumit Khan <khan@xraylith.wisc.edu>
2293 * configure.in (AC_PREREQ): Update to 2.13.
2294 (AC_EXEEXT): Call to find possible file extension.
2295 (compiler_name): Use.
2296 * configure: Regenerate.
2298 Wed Jan 27 02:31:01 1999 Jeffrey A Law (law@cygnus.com)
2300 * Makefile.in (ALL_CFLAGS): Add -DIN_GCC.
2302 Tue Jan 5 01:38:53 1999 Jeffrey A Law (law@cygnus.com)
2304 * configure.in (thread_file): Correct and simplify code to find
2306 * configure: Rebuilt.
2308 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de>
2310 * configure.in (compiler_name): Add check to detect if this
2311 language's compiler has been built.
2312 * configure: Regenerate.
2314 Mon Nov 23 16:50:28 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2316 * configure.in: Use AC_PREREQ(2.12.1).
2318 Thu Nov 19 20:33:37 1998 Jeffrey A Law (law@cygnus.com)
2320 * Makefile.in (runtime-info.h): Avoid GNU make extensions.
2322 Sun Nov 8 17:46:14 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2324 * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.
2326 Thu Oct 22 14:34:06 1998 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
2328 * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).
2330 Sat Oct 17 05:21:31 1998 Ovidiu Predescu <ovidiu@slip.net>
2332 * objc-features.texi (Top): Changed the email address.
2333 * objc-features.texi (Garbage Collection): Use @uref instead of @url.
2335 Mon Oct 11 21:25:27 1998 Ovidiu Predescu <ovidiu@slip.net>
2337 * encoding.c: Redefine get_inner_array_type to get the first entry
2340 Thu Oct 8 12:21:14 1998 Richard Frith-Macdonald <richard@brainstorm.co.uk>
2342 * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.
2343 (objc_get_type_qualifiers): Similarly.
2344 * objc/encoding.h (_C_BYREF): Define.
2347 1998-10-07 David S. Miller <davem@pierdol.cobaltmicro.com>
2349 * objc/sarray.h: Make boffset be an unsigned long when sparc so it
2350 works out on 64-bit systems.
2352 Tue Oct 6 20:32:06 1998 Alexandre Oliva <oliva@dcc.unicamp.br>
2354 * Makefile.in (INCLUDES): Make it multilib-friendly.
2356 Fri Oct 2 07:12:14 1998 H.J. Lu (hjl@gnu.org)
2358 * Makefile.in (INCLUDES): Add -I$(srcdir)/../gcc.
2360 Thu Oct 1 22:33:03 1998 Robert Lipe <robertl@dgii.com>
2361 Jeffrey A Law (law@cygnus.com)
2363 * Makefile.in (INCLUDES): Reference gcc via $MULTIBUILDTOP.
2364 (FLAGS_TO_PASS): Added.
2365 (runtime-info.h): Reference cc1ibj via $MULTIBUILDTOP.
2367 * archive.c: Change config.h to tconfig.h.
2369 * configure.in: Find gcc's object directory even for multilibs.
2371 Wed Sep 30 18:17:17 1998 Robert Lipe <robertl@dgii.com>
2373 * configure.in: Escape ^ in grep string.
2374 * configure: Rebuilt.
2376 Wed Sep 30 09:14:52 1998 Jeffrey A Law (law@cygnus.com)
2378 * All .h files pushed down into the objc/ subdirectory.
2379 * Makefile.in (copy_headers): Corresponding changes.
2380 * configure.in (AC_INIT): Corresponding changes.
2381 * configure: Rebuilt.
2383 1998-09-30 Ben Elliston <bje@cygnus.com>
2384 Jeff Law <law@cygnus.com>
2386 * Makefile.in: Rewrite.
2388 * configure.in: Likewise.
2390 * configure: Regenerate.
2392 * All .c files. Remove "objc" prefix when including objc header
2393 files. Include tconfig.h, not ../tconfig.h.
2395 Mon Sep 21 23:27:10 1998 Ovidiu Predescu <ovidiu@slip.net>
2397 * encoding.c (TREE_TYPE, ARRAY_TYPE): Define.
2398 (get_inner_array_type): Define.
2400 1998-09-21 Ben Elliston <bje@cygnus.com>
2402 * New directory. Moved files from ../gcc/objc.