summaryrefslogtreecommitdiff
path: root/libobjc
Commit message (Collapse)AuthorAgeFilesLines
* Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>ovidiu2001-01-031-0/+12
| | | | | | | | | | | | | | | * sendmsg.c: Added __objc_msg_forward, a hook that allows external libraries to provide a function that returns the real forwarding function. This can alleviate problems __builtin_apply() and friends have on various platforms. (Solution suggested by Helge Hess.) * objc/objc-api.h: Define __objc_msg_forward. * sendmsg.c: Define gen_rtx_REG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38652 138bc75d-0d04-0410-961f-82ee72b054a4
* Added __objc_msg_forward, a hook that allows external libraries toovidiu2001-01-031-0/+7
| | | | | | | | | provide a function that returns the real forwarding function. This can alleviate problems __builtin_apply() and friends have on various platforms. (Solution suggested by Helge Hess.) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38651 138bc75d-0d04-0410-961f-82ee72b054a4
* Added __objc_msg_forward, a hook that allows external libraries toovidiu2001-01-031-9/+24
| | | | | | | | | | | provide a function that returns the real forwarding function. This can alleviate problems __builtin_apply() and friends have on various platforms. (Solution suggested by Helge Hess.) Define gen_rtx_REG. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38650 138bc75d-0d04-0410-961f-82ee72b054a4
* * thr-rtems.c: New file. Stub to compile.law2000-12-072-0/+198
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38084 138bc75d-0d04-0410-961f-82ee72b054a4
* Rebuilt again, something went wrong last timeaoliva2000-12-061-1060/+2009
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38066 138bc75d-0d04-0410-961f-82ee72b054a4
* Regenerate to pick up libtool fix. Per Alexandre Oliva.robertl2000-12-061-1992/+1055
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38063 138bc75d-0d04-0410-961f-82ee72b054a4
* Move statement-tree facilities from C++ to C front-end.mmitchel2000-09-071-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * c-common.h (c_tree_index): Add CTI_VOID_ZERO. (void_zero_node): New macro. (struct stmt_tree_s): New type. (stmt_tree): New typedef. (struct language_function): New type. (last_tree): New macro. (last_expr_type): Likewise. (walk_tree_fn): New typedef. (current_stmt_tree): New function. (begin_stmt_tree): Likewise. (add_stmt): Likewise. (finish_stmt_tree): Likewise. (statement_code_p): Likewise. (lang_statement_code_p): New variable. (walk_stmt_tree): New function. (STMT_IS_FULL_EXPR_P): New macro. * c-common.c (lang_statement_code_p): New variable. (c_common_nodes_and_builtins): Initialize void_zero_node. (statement_code_p): New function. (walk_stmt_tree): Likewise. * c-decl.c (language_function): Rename to ... (c_language_function): ... this. Include language_function. (push_c_function_context): Adjust accordingly. (pop_c_function_context): Likewise. (mark_c_function_context): Likewise. (current_stmt_tree): Define. * c-semantics.c (begin_stmt_tree): New function. (add_stmt): Likewise. (prune_unused_decls): Likewise. (finish_stmt_tree): Likewise. Move statement-tree facilities from C++ to C front-end. * cp-tree.h (cp_tree_index): Remove CPTI_VOID_ZERO. (void_zero_node): Remove. (stmt_tree): Likewise. (scope_chain): Adjust. (language_function): Rename to cp_language_function. (cp_function_chain): Adjust. (current_stmt_tree): Remove. (last_tree): Likewise. (last_expr_type): Likewise. (struct lang_decl): Adjust. (STMT_IS_FULL_EXPR_P): Remove. (add_tree): Remove. (begin_stmt_tree): Likewise. (finish_stmt_tree): Likewise. (walk_tree_fn): Likewise. (walk_stmt_tree): Likewise. * class.c (finish_struct): Replace use of add_tree with add_stmt. * decl.c (mark_stmt_tree): Adjust type. (init_decl_processing): Don't build void_zero_node. (initialize_local_var): Adjust usage of current_stmt_tree. (finish_enum): Use add_stmt, not add_tree. (save_function_data): Adjust use of language_function. (finish_constructor_body): Use add_stmt, not add_tree. (finish_destructor_body): Likewise. (push_cp_function_context): Adjust use of language_function. (pop_cp_function_context): Likewise. (mark_lang_function): Likewise. (mark_cp_function_context): Likewise. * init.c (build_aggr_init): Adjust use of current_stmt_tree. (build_vec_init): Likewise. * semantics.c (SET_LAST_STMT): Remove. (RECHAIN_STMTS): Don't use it. (stmts_are_full_exprs_p): Adjust use of current_stmt_tree. (current_stmt_tree): Define. (add_tree): Remove. (finish_goto_stmt): Use add_stmt, not add_tree. (finish_expr_stmt): Likewise. (begin_if_stmt): Likewise. (finish_then_clause): Likewise. (begin_while_stmt): Likewise. (begin_do_stmt): Likewise. (finish_return_stmt): Likewise. (begin_for_stmt): Likewise. (finish_break_stmt): Likewise. (finish_continue_stmt): Likewise. (begin_switch_stmt): Likewise. (finish_case_label): Likewise. (begin_try_block): Likewise. (begin_function_try_block): Likewise. (begin_handler): Likewise. (begin_catch_block): Likewise. (begin_compound_stmt): Likewise. (begin_asm_stmt): Likewise. (finish_asm_stmt): Likewise. (finish_label_stmt): Likewise. (add_decl_stmt): Likewise. (finish_subobject): Likewise. (finish_decl_cleanup): Likewise. (finish_named_return_value): Likewise. (setup_vtbl_ptr): Likewise. (add_scope_stmt): Likewise. (finish_stmt_expr): Likewise. (prune_unused_decls): Remove. (begin_stmt_tree): Likewise. (finish_stmt_tree): Likewise. (prep_stmt): Adjust use of current_stmt_tree. (lang_expand_stmt): Likewise. * tree.c (statement_code_p): Remove. (cp_statement_code_p): New function. (walk_stmt_tree): Remove. (init_tree): Set lang_statement_code_p. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36221 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt with new libtool.m4.aoliva2000-09-062-32/+39
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36199 138bc75d-0d04-0410-961f-82ee72b054a4
* Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>ovidiu2000-08-151-0/+7
| | | | | | | | | | * configure.in: Create a config.h file. Check for <sched.h>. * configure: Regenerate. * config.h.in: Check for <sched.h>. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35698 138bc75d-0d04-0410-961f-82ee72b054a4
* Check for <sched.h>.ovidiu2000-08-151-0/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35697 138bc75d-0d04-0410-961f-82ee72b054a4
* Create a config.h file. Check for <sched.h>.ovidiu2000-08-152-54/+192
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35696 138bc75d-0d04-0410-961f-82ee72b054a4
* top level:zack2000-08-142-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | * configure: Make enable_threads and enable_shared defaults explicit. Substitute enable_threads into generated Makefiles. * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. * libtool.m4: Accept *-*-linux* not just *-*-linux-gnu*. gcc: * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. * fixinc/inclhack.def: Likewise. * fixinc/mkfixinc.sh: Likewise. * configure: Regenerate. * fixinc/fixincl.x: Regenerate. * install.texi: Document equivalence of linux and linux-gnu. libio: * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. Honor --disable-threads. libstdc++: * configure.in: Accept *-*-linux* not just *-*-linux-gnu*. Honor --disable-threads. libstdc++-v3: * configure: Regenerate after change to ../libtool.m4. libobjc: * configure: Regenerate after change to ../libtool.m4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35680 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc-features.texi (Top): Move @menu at end of node.law2000-08-142-7/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35674 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc-features.texi: Move @node Top before @menu.law2000-08-112-3/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35643 138bc75d-0d04-0410-961f-82ee72b054a4
* Sun Aug 6 23:27:49 2000 Ovidiu Predescu <ovidiu@cup.hp.com>ovidiu2000-08-071-0/+5
| | | | | | | | * objc-features.texi: Documented the new -fconstant-string-class option. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35538 138bc75d-0d04-0410-961f-82ee72b054a4
* Documented the new -fconstant-string-class option.ovidiu2000-08-071-16/+59
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35537 138bc75d-0d04-0410-961f-82ee72b054a4
* Sun Aug 6 22:51:16 2000 Ovidiu Predescu <ovidiu@cup.hp.com>ovidiu2000-08-071-0/+5
| | | | | | | | * thr-posix.c: Integrated Chris Ball's <cball@fmco.com> changes to improve the Posix thread support for Objective-C. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35536 138bc75d-0d04-0410-961f-82ee72b054a4
* Integrated Chris Ball's <cball@fmco.com> changes to improve the Posixovidiu2000-08-071-22/+97
| | | | | | | thread support for Objective-C. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35535 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4: Replace copy of ../libtool.m4 withzack2000-08-052-824/+7
| | | | | | | sinclude(../libtool.m4). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35502 138bc75d-0d04-0410-961f-82ee72b054a4
* Added libtool support for building libobjc.ovidiu2000-07-295-134/+2321
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35329 138bc75d-0d04-0410-961f-82ee72b054a4
* Removed the explicit prototypes for strlen and memcpy on 64-bitovidiu2000-07-293-8/+6
| | | | | | | platforms (Suggested by Rodney Brown <rdb@cup.hp.com>). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35326 138bc75d-0d04-0410-961f-82ee72b054a4
* Applied H.J.Lu's patch to not require -lpthread when compiling single ↵ovidiu2000-07-205-15/+209
| | | | | | threaded Objective-C programs. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35141 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/hash.h: Include string.h.ghazi2000-07-132-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@35019 138bc75d-0d04-0410-961f-82ee72b054a4
* * Object.m (strlen): 64-bit PowerPC is a 64bit platform as well.dje2000-04-152-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33170 138bc75d-0d04-0410-961f-82ee72b054a4
* * encoding.c (objc_layout_structure_next_member): Do the wholejakub2000-04-122-10/+4
| | | | | | | | procedure even for the first member, so that we get correct alignment. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33110 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/objc-act.c: Include ggc.h.jakub2000-04-124-3/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (objc_tree_index, objc_global_trees): Convert most of the static tree variables into a static array with previous names as defines. (objc_ellipsis_node): New variable. (lang_init): Call objc_act_parse_init and c_parse_init. Create objc_ellipsis_node. (build_selector_translation_table): Use objc_ellipsis_node instead of (tree)1. (hack_method_prototype): Likewise. (get_arg_type_list): Likewise. (start_method_def): Likewise. (continue_method_def): Likewise. (gen_method_decl): Likewise. (ggc_mark_imp_list): New function. (ggc_mark_hash_table): New function. (objc_act_parse_init): New function. * objc/objc-act.h (objc_ellipsis_node): Add extern variable. * c-parse.in (c_parse_init): For objc add roots of objc specific local tree variables. * objc/objc-parse.y: Rebuilt. * objc/objc-parse.c: Rebuilt. (opt_parm_list): Use objc_ellipsis_node instead of (tree)1. * Object.m (strlen): Provide prototype on all 64bit platforms, not only alpha. * sarray.c (memcpy): Likewise. * encoding.c (objc_layout_finish_structure): Don't use ROUND_TYPE_ALIGN on sparc. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@33092 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc/Protocol.h, objc/objc-list.h: Change #endif labels tozack2000-03-293-2/+7
| | | | | | | comments. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32812 138bc75d-0d04-0410-961f-82ee72b054a4
* * libobjc/Makefile.in: Add -DIN_TARGET_LIBS to ALL_CFLAGS.zack2000-02-232-1/+6
| | | | | | | | * gcc/config/i386/i386.h: If IN_TARGET_LIBS is defined, make BIGGEST_FIELD_ALIGNMENT a constant. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32110 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed deallocation of a mutex in thr-single.c (patch from Chris Ball ↵ovidiu1999-09-292-0/+18
| | | | | | <cball@fmco.com>). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29701 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (gc.o, gc_gc.o): Do not pass -fgnu-runtime tolaw1999-09-212-2/+7
| | | | | | | the compiler when building C code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29543 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge in gcc2-ss-010999law1999-09-071-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@29150 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (FLAGS_TO_PASS): Include prefix, exec_prefix,law1999-08-072-1/+11
| | | | | | | | libdir, libsubdir and tooldir. Applied in libchill, libf2c, libiberty and libobjc git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@28569 138bc75d-0d04-0410-961f-82ee72b054a4
* law1999-06-212-5/+9
| | | | | | | * init.c (__objc_force_linking): Make global. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27638 138bc75d-0d04-0410-961f-82ee72b054a4
* libchill, libf2c, libobjc:law1999-05-203-138/+40
| | | | | | | | | | | | * configure.in (AC_PREREQ): Update to 2.13. (AC_EXEEXT): Call to find possible file extension. (compiler_name): Use. * configure: Regenerate. libio, libstdc++ * configure.in: Test for ${compiler_name}.exe as well. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@27050 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed some old ChangeLog entries I wrote before becoming aware of the GNUoliva1999-04-271-1/+1
| | | | | | | coding standards. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26679 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (CC1OBJ): Define in terms of CC.law1999-04-252-2/+15
| | | | | | | (runtime-info.h): Use. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26618 138bc75d-0d04-0410-961f-82ee72b054a4
* Updated the URL to Boehm's GC page.ovidiu1999-04-082-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26292 138bc75d-0d04-0410-961f-82ee72b054a4
* Explicitly specify the char arguments to __objc_code_char and ↵ovidiu1999-03-262-3/+9
| | | | | | __objc_code_char as being signed. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@26008 138bc75d-0d04-0410-961f-82ee72b054a4
* law1999-03-242-89/+278
| | | | | | | | | | * configure.in (AC_PREREQ): Update to 2.13. (AC_EXEEXT): Call to find possible file extension. (compiler_name): Use. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25955 138bc75d-0d04-0410-961f-82ee72b054a4
* law1999-03-241-0/+7
| | | | | | | | | | * configure.in (AC_PREREQ): Update to 2.13. (AC_EXEEXT): Call to find possible file extension. (compiler_name): Use. * configure: Regenerate. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@25954 138bc75d-0d04-0410-961f-82ee72b054a4
* Merge in gcc2 snapshot 19980929. See gcc/ChangeLog and gcc/FSFChangeLog forlaw1999-01-272-1/+5
| | | | | | | details. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24879 138bc75d-0d04-0410-961f-82ee72b054a4
* Update FSF address in copyright header.law1999-01-111-1/+2
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24614 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (thread_file): Correct and simplify code to findlaw1999-01-053-19/+11
| | | | | | | | the thread file. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24494 138bc75d-0d04-0410-961f-82ee72b054a4
* ./ChangeLog:manfred1998-11-263-27/+88
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de> * configure (skip-this-dir): Add handling for new shell script, which might be created by a sub-directory's configure to indicate, this particular directory is "unwanted". * Makefile.in ($(CONFIGURE_TARGET_MODULES)): Likewise. ./gcc/ChangeLog: 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de> * Makefile.in (CONFIG_LANGUAGES): New macro taking all languages which can be configured. (LANGUAGES): Use $(CONFIG_LANGUAGES) instead of @all_languages@ (Makefile): Pass actual LANGUAGES through the environment when re-configuring. (cstamp-h): Likewise. (config.status): Likewise. * configure.in (enable_languages): Add new configuration parameter "--enable-languages=lang1,lang2,...". (${srcdir}/*/config-lang.in): Change handling to configure only those directories, that the user might have enabled; default to "all" existing languages. * configure: Regenerate. ./libchill/ChangeLog: 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de> * configure.in (compiler_name): Add check to detect if this language's compiler has been built. * configure: Regenerate. ./libf2c/ChangeLog: 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de> * configure.in (compiler_name): Add check to detect if this language's compiler has been built. * configure: Regenerate. ./libio/ChangeLog: 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de> * configure.in (compiler_name): Add check to detect if this language's compiler has been built. ./libobjc/ChangeLog: 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de> * configure.in (compiler_name): Add check to detect if this language's compiler has been built. * configure: Regenerate. ./libstdc++/ChangeLog: 1998-11-26 Manfred Hollstein <manfred@s-direktnet.de> * configure.in (compiler_name): Add check to detect if this language's compiler has been built. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23892 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Use AC_PREREQ(2.12.1).ghazi1998-11-232-0/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23802 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (runtime-info.h): Avoid GNU make extensions.law1998-11-192-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23722 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in (INCLUDES): Add -I$(srcdir)/$(MULTISRCTOP)../include.ghazi1998-11-082-1/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23575 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Use AC_CONFIG_AUX_DIR($topsrcdir).ghazi1998-10-223-29/+36
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23218 138bc75d-0d04-0410-961f-82ee72b054a4
* Minor changes in the documentation. Correctly define get_inner_array_type.ovidiu1998-10-163-3/+13
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@23144 138bc75d-0d04-0410-961f-82ee72b054a4
* * encoding.c (objc_skip_type_qualifiers): Handle _C_BYREF.law1998-10-083-2/+13
| | | | | | | | | (objc_get_type_qualifiers): Similarly. * objc/encoding.h (_C_BYREF): Define. (_F_BYREF): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@22917 138bc75d-0d04-0410-961f-82ee72b054a4