aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc
AgeCommit message (Collapse)AuthorFilesLines
1998-01-20Remove more bytecode stuff.Jeffrey A Law1-2/+2
From-SVN: r17436
1998-01-20Rebuilt.Jeff Law1-70/+78
From-SVN: r17428
1998-01-17* objc-parse.c: Recognize protocol qualifiers in class definitions.David T. McWherter1-0/+8
From-SVN: r17389
1997-12-24Makefile.in (GTHREAD_FLAGS): New var.Teemu Torma1-0/+281
* Makefile.in (GTHREAD_FLAGS): New var. (LIBGCC2_CFLAGS): Added $(GTHREAD_FLAGS). (distclean): Remove gthr-default.h. * configure.in: Accept dce as a thread package. Check for thread.h and pthread.h. Link gthr-default.h to appropriate thread file and set gthread_flags. (hppa1.1-*-hpux10*): If --enable-threads, use dce threads and include multilib definitions from pa/t-dce-thr. (sparc-*-solaris2*): Enable threads by default, if thread.h or pthread.h is found, preferring posix threads over solaris ones. * config/pa/t-dce-thr: New file. * config/pa/t-pa: Removed multilibs. * config/sparc/t-sol2: Ditto. * gthr.h: New file. * gthr-single.h: New file. * gthr-posix.h: New file. * gthr-solaris.h: New file. * gthr-dce.h: New file. * libgcc-thr.h: Removed. * objc/thr-dce.c: New file copied from thr-decosf1.c. * frame.c: Include gthr.h instead of libgcc-thr.h. * libgcc2.c: Include gthr.h instead of libgcc-thr.h. (eh_context_initialize): If __gthread_once fails, use static eh context. (eh_context_free): Call __gthread_key_dtor. From-SVN: r17235
1997-12-22cse.c (rtx_cost): Add default case in enumeration switch.Kaveh R. Ghazi1-0/+10
* cse.c (rtx_cost): Add default case in enumeration switch. * fix-header.c (recognized_macro): Likewise. (recognized_extern): Likewise. (write_rbrac): Likewise. * objc/objc-act.c (encode_aggregate): Likewise. (gen_declarator): Likewise. (gen_declspecs): Likewise. From-SVN: r17186
1997-12-18Make-lang.in: Create runtime-info.h and libobjc_entry.o in the build directory.Andreas Schwab1-8/+9
* objc/Make-lang.in: Create runtime-info.h and libobjc_entry.o in the build directory. (libobjc.a): Update dependency list. (libobjc.dll): Likewise. Use libobjc_entry.o from the build directory. (objc/sendmsg.o): Add -Iobjc to find runtime-info.h. (objc.mostlyclean): Remove runtime-info.h. From-SVN: r17143
1997-12-12Rebuild after recent changes.Jeff Law1-496/+495
From-SVN: r17074
1997-12-11tree.c, tree.h: Change tree_code_type, tree_code_length, and tree_code_name ↵John F. Carr2-24/+14
from pointers to arrays. * tree.c, tree.h: Change tree_code_type, tree_code_length, and tree_code_name from pointers to arrays. * tree.c: Remove standard_tree_code_* variables, no longer used. * print-tree.c: Remove declaration of tree_code_name. * cp/lex.c (init_lex): Update for tree_code_* changes. * objc/objc-act.c (init_objc): Likewise. * tree.def, cp/cp-tree.def, objc/objc-tree.def: Update for tree_code changes. From-SVN: r17061
1997-12-11objc-act.c (lang_report_error_function): Disable.H.J. Lu2-10/+161
* objc/objc-act.c (lang_report_error_function): Disable. * objc/objc-parse.y: Include "output.h". (yyerror): Remove redundant decl. (yyprint): Fix prototype. (apply_args_register_offset): Remove redundant decl. (get_file_function_name): Likewise. From-SVN: r17057
1997-12-06Merge from gcc-2.8Jeff Law1-10/+16
From-SVN: r16987
1997-11-02Update mainline egcs to gcc2 snapshot 971021.Jeff Law2-52/+52
From-SVN: r16278
1997-11-02This commit was generated by cvs2svn to compensate for changes in r16274,Jeff Law2-1763/+1778
which included commits to RCS files with non-trunk default branches. From-SVN: r16275
1997-08-25H.J. Lu's SMP patch.Jim Wilson1-0/+2
From-SVN: r14924
1997-08-11Initial revisionmisc/cutover-egcs-1Jeff Law2-0/+8041
From-SVN: r14764
1997-08-02* objc/Make-lang.in (OBJC_CCOMMON): Removed.Per Bothner1-7/+3
From-SVN: r14632
1997-08-01* objc/objc-act.c (lang_init): Don't check_newline #if USE_CPPLIB.Per Bothner1-0/+2
From-SVN: r14601
1997-07-21Comment out lines containing just formfeeds.Paul Eggert2-8/+8
From-SVN: r14514
1997-07-18(copy-headers): Use $(srcdir) from this makefile, not the parent's.Richard Kenner1-1/+1
From-SVN: r14477
1997-07-18(objc-headers): Fix command for the new build directory layout, don'tRichard Kenner1-8/+5
pass srcdir variable. From-SVN: r14476
1997-07-14Remove unapproved change.Richard Kenner1-2/+0
From-SVN: r14433
1997-07-07($(OBJC_O)): Also depend on $(GCC_PASSES).Jim Meyering1-0/+2
From-SVN: r14395
1997-07-02($(srcdir)/objc/objc-parse.c): Fix command to use the right file names.Richard Kenner1-2/+2
From-SVN: r14383
1997-06-27Initial revisionRichard Kenner2-0/+216
From-SVN: r14359
1997-06-27(libobjc_entry.o, libobjc_s.a, libobjc.dll): New targets.Richard Kenner1-3/+37
(objc.install-normal): Install Objective-C runtime as a DLL. (objc.mostlyclean): Clean up files used to build DLL. From-SVN: r14358
1997-06-27(search_for_method_in_list): No longer static.Richard Kenner1-2/+2
From-SVN: r14356
1997-06-27Print message about ObjC thread file.Richard Kenner1-0/+2
From-SVN: r14351
1997-06-27(OBJC_THREAD_FILE): New definition.Richard Kenner1-0/+3
From-SVN: r14350
1997-06-27Make-lang.in (OBJC_CCOMMON): Object files don't go in srcdir.Doug Evans1-35/+34
* objc/Make-lang.in (OBJC_CCOMMON): Object files don't go in srcdir. (OBJC_OBJS): Likewise. (OBJC_O): Likewise. (objc-parse.o, objc-act.o): Fix rules. (objc/libobjc files): Fix rules. From-SVN: r14347
1997-06-27(__objc_thread_yield): Use sched_yield instead.Richard Kenner1-1/+1
From-SVN: r14327
1997-06-25(objc-runtime): Add objc-headers.Richard Kenner1-1/+1
From-SVN: r14320
1997-06-25Define front-end/back-end interface functions and structures.Richard Kenner1-22/+61
From-SVN: r14311
1997-06-25Completely rework according to new interface.Richard Kenner10-2198/+1632
From-SVN: r14310
1997-06-25Reorganize thread implementation to make a clearly definedRichard Kenner1-25/+63
front-end/back-end interface. From-SVN: r14309
1997-06-25(__objc_register_instance_methods_to_class): New function.Richard Kenner1-0/+4
Add missing function prototypes. From-SVN: r14308
1997-06-25(__objc_register_instance_methods_to_class): New function.Richard Kenner1-0/+65
From-SVN: r14307
1997-06-25(OBJC_ERR_BAD_STATE): New error code.Richard Kenner1-6/+8
On NeXT redefine object_copy and object_dispose to avoid a conflict with those defined in system library. From-SVN: r14306
1997-06-25(method_get_sizeof_arguments): Fix typo.Richard Kenner1-2/+2
From-SVN: r14305
1997-06-25(objc_send_load): New function.Richard Kenner1-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. From-SVN: r14304
1997-06-22Add special exception to copyright notice.Richard Kenner2-0/+12
From-SVN: r14285
1997-06-21Changes to support ObjC as a front-end language.Richard Kenner1-40/+26
From-SVN: r14284
1997-06-21Initial revisionRichard Kenner1-0/+35
From-SVN: r14283
1997-06-21Initial revisionRichard Kenner1-0/+265
From-SVN: r14282
1997-03-17(__objc_block_return): Remove function.Richard Kenner1-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. From-SVN: r13723
1997-03-16Correct include path.Richard Kenner1-1/+1
From-SVN: r13716
1997-03-16(__objc_block_return): New function.Richard Kenner1-5/+48
(__objc_word_return, __objc_double_return): New functions. (__objc_init_install_dtable): Call appropriate return function based upon method type. From-SVN: r13715
1997-03-15(objc_module): Eliminate statics variable.Richard Kenner1-14/+20
From-SVN: r13713
1997-03-15(OBJC_O): Add linking.m.Richard Kenner1-2/+3
From-SVN: r13712
1997-03-15(class_add_method_list): Check for the +load method when adding a methods ↵Richard Kenner1-30/+33
list to a class. (class_add_method_list): Check for the +load method when adding a methods list to a class. (__objc_install_methods_in_dtable): New function. (class_add_method_list): Don't check anymore for duplicate methods. From-SVN: r13711
1997-03-15Initial revisionRichard Kenner1-0/+40
From-SVN: r13710
1997-03-15(OBJC_VERSION): Increment version.Richard Kenner1-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. From-SVN: r13709