summaryrefslogtreecommitdiffstats
path: root/gcc/objc
Commit message (Collapse)AuthorAgeFilesLines
...
* (objc_send_load): New function.kenner1997-06-251-47/+355
| | | | | | | | | | | | | | | | | | | | | | (objc_class_tree): New structure. (create_tree_of_subclasses_inherited_from): New function. (__objc_tree_insert_class): New function. (objc_tree_insert_class): New function. (objc_preorder_traverse): New function. (objc_postorder_traverse): New function. (__objc_tree_print): New function. (__objc_destroy_class_tree_node): New function. (class_is_subclass_of_class): New function. (__objc_exec_class): Allocate class tree list and load hash table. (__objc_send_message_in_list): Rewrite using hash table. (__objc_send_load): Remove calls to _objc_load_callback. (objc_send_load): Make static. Create Tree of classes resembling class hierarchy for all modules. Call __objc_send_load on all of the modules in __objc_module_list. (__objc_create_classes_tree): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14304 138bc75d-0d04-0410-961f-82ee72b054a4
* Add special exception to copyright notice.kenner1997-06-222-0/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14285 138bc75d-0d04-0410-961f-82ee72b054a4
* Changes to support ObjC as a front-end language.kenner1997-06-221-40/+26
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14284 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionkenner1997-06-221-0/+35
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14283 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionkenner1997-06-221-0/+265
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@14282 138bc75d-0d04-0410-961f-82ee72b054a4
* (__objc_block_return): Remove function.kenner1997-03-171-102/+85
| | | | | | | | | | | | | | | | | | | | (__objc_word_return, __objc_double_return): Remove functions. (__objc_get_forward_imp): New function. (__objc_init_dispatch_tables): Install zero instead of __objc_init_install_dtable. (__objc_init_install_dtable): No longer call the method but allow objc_msg_lookup return it for normal execution. (obj_msg_lookup): Differentiate between when a method isn't implemented and when the dispatch table needs to be installed. Return the IMP when the dispatch table is installed versus having __objc_init_install_dtable call it. (get_imp): Install dispatch table if needed and return IMP from the newly installed dispatch table. (__objc_responds_to): Install dispatch table if needed before checking if method is implemented. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13723 138bc75d-0d04-0410-961f-82ee72b054a4
* Correct include path.kenner1997-03-161-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13716 138bc75d-0d04-0410-961f-82ee72b054a4
* (__objc_block_return): New function.kenner1997-03-161-5/+48
| | | | | | | | | (__objc_word_return, __objc_double_return): New functions. (__objc_init_install_dtable): Call appropriate return function based upon method type. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13715 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_module): Eliminate statics variable.kenner1997-03-151-14/+20
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13713 138bc75d-0d04-0410-961f-82ee72b054a4
* (OBJC_O): Add linking.m.kenner1997-03-151-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13712 138bc75d-0d04-0410-961f-82ee72b054a4
* (class_add_method_list): Check for the +load method when adding akenner1997-03-151-30/+33
| | | | | | | | | methods list to a class. (__objc_install_methods_in_dtable): New function. (class_add_method_list): Don't check anymore for duplicate methods. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13711 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionkenner1997-03-151-0/+40
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13710 138bc75d-0d04-0410-961f-82ee72b054a4
* (OBJC_VERSION): Increment version.kenner1997-03-151-5/+140
| | | | | | | | | | | (objc_send_load, __objc_send_load): New functions. (__objc_send_message_in_list): New function. (__objc_force_linking): New function. (__objc_exec_class): Don't call _objc_load_callback here. (__objc_exec_class): Access statics from their new place in the defs variable. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13709 138bc75d-0d04-0410-961f-82ee72b054a4
* (OBJC_VERSION): Increment version as recent changes have made oldkenner1997-03-151-37/+30
| | | | | | | | | | | | | | compiled code incompatible with current ObjC runtime. (build_objc_symtab_template): Make sure defs in objc_symtab is a NULL terminated array. (init_def_list): Attach statics to end of def list. (init_objc_symtab): Take statics list into account. (init_module_descriptor, build_module_descriptor): Don't add statics. (generate_static_references): Indicate that statics are used. (finish_objc): Process statics in the beginning. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13708 138bc75d-0d04-0410-961f-82ee72b054a4
* Update documentation.kenner1997-02-041-40/+176
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13606 138bc75d-0d04-0410-961f-82ee72b054a4
* (__sel_register_typed_name): Eliminate compiler warnings with explicit cast.kenner1997-02-031-5/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13599 138bc75d-0d04-0410-961f-82ee72b054a4
* (__objc_runtime_mutex): Eliminate leading underscore from name of objckenner1997-02-039-114/+114
| | | | | | | mutex and thread structures. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13598 138bc75d-0d04-0410-961f-82ee72b054a4
* Prototypes for new functions.kenner1997-02-031-13/+20
| | | | | | | | (__objc_runtime_mutex): Eliminate leading underscore from name of objc mutex and thread structures. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13597 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_condition_{,de}allocate): New functions.kenner1997-02-031-19/+123
| | | | | | | | | (objc_condition_{wait,broadcast,signal}): New functions. (__objc_runtime_mutex): Eliminate leading underscore from name of objc mutex and thread structures. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13596 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_condition_{,de}allocate): New functions.kenner1997-02-031-26/+131
| | | | | | | | | (objc_condition_{wait,broadcast,signal}): New functions. (__objc_runtime_mutex): Eliminate leading underscore from name of objc mutex and thread structures. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13595 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_condition_{,de}allocate): New functions.kenner1997-02-031-22/+125
| | | | | | | | | (objc_condition_{wait,broadcast,signal}): New functions. (__objc_runtime_mutex): Eliminate leading underscore from name of objc mutex and thread structures. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13594 138bc75d-0d04-0410-961f-82ee72b054a4
* (hash_delete): Step through the hash nodes versus using hash_next tokenner1997-02-031-5/+18
| | | | | | | increase efficiency. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13593 138bc75d-0d04-0410-961f-82ee72b054a4
* (__objc_forward): Replace call to abort function with call tokenner1997-02-031-3/+2
| | | | | | | objc_error function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13592 138bc75d-0d04-0410-961f-82ee72b054a4
* Remove error handling declarations.kenner1997-02-031-4/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13591 138bc75d-0d04-0410-961f-82ee72b054a4
* Declare error handling functions and typedef for user specified errorkenner1997-02-031-1/+53
| | | | | | | handler function. Define error codes used by the runtime library. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13590 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_verror): New function.kenner1997-02-031-21/+44
| | | | | | | | | | | | | | | | (objc_fatal): Remove function. (objc_set_error_handler): New function. (_objc_error_handler): New global variable. (__alpha__): Remove unneeded code. (objc_error): Allow user specified error handler function to trap and handle the objc error. Added an error code parameter which indicates the specific error that occured. (objc_malloc, objc_atomic_malloc): Replace call to objc_fatal function with call to objc_error function. (objc_valloc, objc_realloc, objc_calloc): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13589 138bc75d-0d04-0410-961f-82ee72b054a4
* (init_check_module_version): Replace call to abort function with callkenner1997-02-031-12/+13
| | | | | | | to objc_error function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13588 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_sizeof_type, objc_alignof_type): Replace call to abort functionkenner1997-02-031-5/+5
| | | | | | | | with call to objc_error function. (objc_skip_typespec): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13587 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_get_class): Replace call to abort function with call tokenner1997-02-031-3/+3
| | | | | | | objc_error function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13586 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace call to abort or __objc_fatal functions with call tokenner1997-02-031-47/+63
| | | | | | | | objc_error function throughout the complete file. (__objc_finish_read_root_object): Use hash table instead of list. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13585 138bc75d-0d04-0410-961f-82ee72b054a4
* (-error:): Call objc_error function instead of using function pointer.kenner1997-02-031-4/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13584 138bc75d-0d04-0410-961f-82ee72b054a4
* (encode_aggregate_within): New function.kenner1997-02-021-120/+108
| | | | | | | | (encode_aggregate): Generates encodings for unions similar to those for structs except surrounded by parenthesis instead of braces. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13583 138bc75d-0d04-0410-961f-82ee72b054a4
* (stdlib.h): Define __USE_FIXED_PROTOTYPES__ before including stdlib.h.kenner1996-12-071-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@13250 138bc75d-0d04-0410-961f-82ee72b054a4
* (BOOL): Define BOOL as int for VxWorks.kenner1996-09-241-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12827 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace use of __objc_xmalloc and free with objc_malloc and objc_free.kenner1996-09-2211-44/+44
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12768 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace use of __objc_xcalloc, __objc_xrealloc, and __objc_xmallockenner1996-09-221-5/+5
| | | | | | | with objc_calloc, objc_realloc, and objc_malloc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12767 138bc75d-0d04-0410-961f-82ee72b054a4
* (__objc_xmalloc, __objc_xrealloc): Delete.kenner1996-09-221-5/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12766 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace use of __obj_xmalloc and free with objc_malloc and objc_free.kenner1996-09-222-11/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12765 138bc75d-0d04-0410-961f-82ee72b054a4
* (_objc_malloc): New function pointer.kenner1996-09-221-2/+44
| | | | | | | | (_objc_atomic_malloc, _objc_valloc): Likewise. (_objc_realloc, _objc_calloc, _objc_free): Likewise git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12764 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_malloc): Renamed from __objc_xmalloc.kenner1996-09-221-13/+61
| | | | | | | | | | | (objc_realloc): Renamed from __objc_realloc. (objc_atomic_malloc): New function. (objc_valloc): New function. (objc_calloc): Renamed from __objc_calloc. (objc_free): New function. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12763 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace use of free with objc_free.kenner1996-09-221-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12762 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace use of __objc_xcalloc and free with objc_calloc and objc_free.kenner1996-09-221-9/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12761 138bc75d-0d04-0410-961f-82ee72b054a4
* Replace use of __objc_xmalloc and free with objc_malloc and objc_free.kenner1996-09-221-14/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12760 138bc75d-0d04-0410-961f-82ee72b054a4
* Formatting changes.kenner1996-08-128-23/+39
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12617 138bc75d-0d04-0410-961f-82ee72b054a4
* Formattign changes.kenner1996-08-121-7/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12616 138bc75d-0d04-0410-961f-82ee72b054a4
* Formtting changes.kenner1996-08-121-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12615 138bc75d-0d04-0410-961f-82ee72b054a4
* (hash_is_key_in_hash): Function somehow got lost.kenner1996-08-121-0/+19
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12614 138bc75d-0d04-0410-961f-82ee72b054a4
* install EH codemrs1996-07-231-0/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12550 138bc75d-0d04-0410-961f-82ee72b054a4
* formatting tweaksmrs1996-07-031-155/+159
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12390 138bc75d-0d04-0410-961f-82ee72b054a4
* (objc_thread_id): Use pthread_getunique_np to obtain a thread ID value.kenner1996-06-281-6/+6
| | | | | | | | | | | | (objc_mutex_allocate): Cast mutex->owner to _objc_thread_t. (objc_mutex_deallocate): Likewise. (objc_mutex_unlock): Likewise. (objc_mutex_trylock): Declare thread_id as _objc_thread_t. (objc_mutex_lock): Likewise. (objc_mutex_unlock): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@12375 138bc75d-0d04-0410-961f-82ee72b054a4
OpenPOWER on IntegriCloud