aboutsummaryrefslogtreecommitdiff
path: root/gcc/objc/init.c
AgeCommit message (Collapse)AuthorFilesLines
1998-09-17config-lang.in: Do not output the name of the selected thread file when ↵Ben Elliston1-834/+0
building the front-end. Sun Sep 13 08:13:39 1998 Ben Elliston <bje@cygnus.com> * objc/config-lang.in: Do not output the name of the selected thread file when building the front-end. The Makefile for the runtime library will do this. * objc/Make-lang.in: Do not build the runtime library or install the Objective C header files. The Makefile for the runtime library will do this. * objc/Makefile.in (all.indirect): Only build the front-end. (compiler): Rename to `frontend'. (obj-runtime): Remove target. (copy-headers): Likewise. (clean): No need to remove `libobjc.a' any longer. From-SVN: r22459
1998-06-22Warning fixes:Kaveh R. Ghazi1-2/+4
* Makefile.in (varasm.o): Depend on sdbout.h. (sdbout.o): Depend on toplev.h. * collect2.c (scan_prog_file): Cast fprintf argument to `long' and use %ld specifier. * final.c (shorten_branches): Cast first arg of `bzero' to char *. * genextract.c (main): When creating insn-extract.c, mark variable `i' with ATTRIBUTE_UNUSED. * genpeep.c (main): When creating insn-peep.c, mark variables `insn', `x' and `pat' with ATTRIBUTE_UNUSED. * objc/init.c (__objc_tree_print): Wrap function definition in macro `DEBUG'. * objc/objc-act.c (encode_array): Cast sprintf argument to `long' and use %ld specifier. (adorn_decl): Likewise, twice. From-SVN: r20650
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-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
1997-02-02(__objc_runtime_mutex): Eliminate leading underscore from name of objcRichard Kenner1-1/+1
mutex and thread structures. From-SVN: r13598
1997-02-02(init_check_module_version): Replace call to abort function with callRichard Kenner1-12/+13
to objc_error function. From-SVN: r13588
1996-09-22Replace use of free with objc_free.Richard Kenner1-1/+1
From-SVN: r12762
1996-06-10(__sel_register_typed_name): Additional parameter that indicatesRichard Kenner1-2/+5
whether name and type parameters are constant or not. From-SVN: r12262
1996-06-10(__objc_init_protocols): Need to unlock mutex.Richard Kenner1-0/+1
From-SVN: r12258
1996-03-05(__objc_runtime_mutux, __objc_runtime_thread_alive): New variables.Richard Kenner1-6/+27
(objc_init_statics, __objc_init_protocols): Surround sarray access with mutex lock/unlock (__objc_exec_class): Likewise. Initialization for thread-safe global variables. Declarations for thread-safe functions and global variables From-SVN: r11442
1995-06-15Update FSF address.Richard Kenner1-1/+1
From-SVN: r9970
1995-05-09(objc_init_statics): Fix missing part of last change.Richard Kenner1-1/+1
From-SVN: r9604
1995-05-08(_objc_load_callback): Add declaration.Richard Kenner1-0/+13
(__objc_exec_class): Call _objc_load_callback after every Class or Category is added. From-SVN: r9592
1995-04-26Changed Class * to Class in order to match NEXTSTEP and OpenStep runtime.Richard Kenner1-24/+86
Changed Class * to Class in order to match NEXTSTEP and OpenStep runtime. (OBJC_VERSION): Version 7. (objc_init_statics): New function. (__objc_exec_class): Invoke objc_init_statics if needed. From-SVN: r9494
1994-09-07(__objc_init_protocols): Remove assertionKresten Krab Thorup1-0/+2
, From-SVN: r8031
1994-06-30This patch makes selectors in the Objective-C language be pointers to a ↵Kresten Krab Thorup1-12/+23
struct { void *sel_id... This patch makes selectors in the Objective-C language be pointers to a struct { void *sel_id, char *sel_types }, where the sel_types element is the type encoding of the method arguments. From-SVN: r7622
1993-05-23(__objc_init_protocols): Call recursively on super protocols.Richard Stallman1-7/+15
(__objc_init_protocols): Call recursively on super protocols. Make local var `proto_class' static. From-SVN: r4544
1993-05-14(__objc_init_protocols): Don't install protocol class pointer twice.Richard Stallman1-2/+2
From-SVN: r4450
1993-04-29Added check for selectors==0Kresten Krab Thorup1-2/+5
From-SVN: r4271
1993-04-27Definition of (Meta)Class_t eliminated, using Class*Kresten Krab Thorup1-9/+9
From-SVN: r4244
1993-04-26Runtime portability cleanupKresten Krab Thorup1-10/+2
From-SVN: r4235
1993-04-26Changed unsigned int to size_t when casting pointers to integersKresten Krab Thorup1-1/+1
From-SVN: r4233
1993-04-10Initial revisionTom Wood1-0/+272
From-SVN: r4077