summaryrefslogtreecommitdiff
path: root/libobjc
Commit message (Collapse)AuthorAgeFilesLines
* Fixed bug in loading of categories under certain special circumstancesnicola2001-12-172-3/+11
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48110 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-14 Aldy Hernandez <aldyh@redhat.com>aldyh2001-11-142-0/+9
| | | | | | | * encoding.c: Add target_flags. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47021 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-11-07 Aldy Hernandez <aldyh@redhat.com>aldyh2001-11-083-0/+9
| | | | | | | | | * objc-api.h (_C_VECTOR): New. * encoding.c (VECTOR_TYPE): New. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46849 138bc75d-0d04-0410-961f-82ee72b054a4
* Rewritten from scratch class lookup internals - getting a good performancenicola2001-10-291-0/+16
| | | | | | | boost for class method invocations git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46616 138bc75d-0d04-0410-961f-82ee72b054a4
* Rewritten all the internals - great performance boost.nicola2001-10-291-122/+463
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46615 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>ovidiu2001-09-101-0/+4
| | | | | | | * gc.c: Removed the DEBUG declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45511 138bc75d-0d04-0410-961f-82ee72b054a4
* Removed the DEBUG declaration.ovidiu2001-09-101-2/+3
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45510 138bc75d-0d04-0410-961f-82ee72b054a4
* Save a function call in common mutex locking/unlocking operationsnicola2001-07-181-0/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44107 138bc75d-0d04-0410-961f-82ee72b054a4
* Save a function call on mutex locking/unlockingnicola2001-07-181-4/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44106 138bc75d-0d04-0410-961f-82ee72b054a4
* Fixed object_is_class and object_is_metaclassnicola2001-07-162-7/+16
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44039 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_EXEEXT): Work around in case it expands toaoliva2001-06-093-64/+79
| | | | | | | | | nothing, as in autoconf 2.50. * acinclude.m4: Likewise. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43105 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>shebs2001-06-082-20/+28
| | | | | | | | * THREADS: Explain that when we compile libobjc inside GCC, we always use thr-objc.c as a backend, which uses GCC's thread code. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43058 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>shebs2001-06-082-5/+14
| | | | | | | | | | | | * init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method IMP as key, but check to see if the method is in the hashtable by looking at the IMP also. Also ... call the method after adding it to the hashtable rather than before ... thus preventing an obscure possibility of infinite recursion if a +load method itself loads a subclass. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43052 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>ovidiu2001-05-251-0/+6
| | | | | | | | | * init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method name as key, not the method IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42562 138bc75d-0d04-0410-961f-82ee72b054a4
* (__objc_send_message_in_list): When setting a new entry inovidiu2001-05-251-1/+1
| | | | | | | | __objc_load_methods use the method name as key, not the method IMP (reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42561 138bc75d-0d04-0410-961f-82ee72b054a4
* * ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,aoliva2001-05-201-137/+168
| | | | | | | | ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number of subdir/configure scripts to use the new libtool.m4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42351 138bc75d-0d04-0410-961f-82ee72b054a4
* gcc:jsm282001-05-094-882/+10
| | | | | | | | | | | | | | | | | * objc.texi: Move from ../libobjc/objc-features.texi. Adjust for inclusion as a chapter of the GCC manual. * gcc.texi: Include objc.texi. * fdl.texi: Use @unnumberedsec for the addendum. * Makefile.in ($(srcdir)/gcc.info, gcc.dvi): Update dependencies. libobjc: * objc-features.texi: Move to ../gcc/objc.texi. * fdl.texi: Remove. * Makefile.in: Don't generate documentation from objc-features.texi. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41927 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix typommitchel2001-05-021-1/+1
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41750 138bc75d-0d04-0410-961f-82ee72b054a4
* * fdl.texi: New file.mmitchel2001-05-024-7/+413
| | | | | | | | * objc-features.texi: Simplify. * Makefile.in: Adjust accordingly. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41747 138bc75d-0d04-0410-961f-82ee72b054a4
* * fdl.texi: New file.mmitchel2001-04-302-0/+10
| | | | | | | | | | | | | | | * c-tree.texi: Use the GFDL. * gcc.texi: Likewise. * porting.texi: Use the GFDL. * objc-features.texi: Use the GFDL. * gxxint.texi: Remove. * Make-lang.in: Remove all traces of gxxint.texi. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41700 138bc75d-0d04-0410-961f-82ee72b054a4
* * encoding.c (REAL_TYPE): Define.wehle2001-03-212-0/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40687 138bc75d-0d04-0410-961f-82ee72b054a4
* * encoding.c (TYPE_MODE): Define.dje2001-03-192-3/+8
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40633 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>shebs2001-03-154-0/+40
| | | | | | | | | | * thr.c (objc_thread_add): New function. (objc_thread_remove): Ditto. * objc/thr.h: Declare them. * libobjc.def: Mention them. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40479 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>ovidiu2001-02-281-0/+5
| | | | | | | | * objc-features.texi: Document the @compatibility_alias compiler directive (description from Nicola Pero <n.pero@mi.flashnet.it>). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40126 138bc75d-0d04-0410-961f-82ee72b054a4
* Document the @compatibility_alias compiler directive (description fromovidiu2001-02-281-2/+32
| | | | | | | Nicola Pero <n.pero@mi.flashnet.it>). git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40125 138bc75d-0d04-0410-961f-82ee72b054a4
* Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>ovidiu2001-02-242-1/+4
| | | | | | | * sendmsg.c (__objc_forward): Delete strlen() declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40033 138bc75d-0d04-0410-961f-82ee72b054a4
* In libf2c:geoffk2001-02-093-223/+201
| | | | | | | | | | | | | | | | | | | * configure.in: Don't run AC_PROG_CC_WORKS, because we're not interested in the result and it might fail. * libF77/configure.in: Likewise. * libI77/configure.in: Likewise. * libU77/configure.in: Likewise. * configure: Regenerated. * libF77/configure: Likewise. * libI77/configure: Likewise. * libU77/configure: Likewise. In libobjc: * configure.in: Don't run AC_PROG_CC_WORKS or AC_EXEEXT, because we're not interested in the result and they might fail. * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@39560 138bc75d-0d04-0410-961f-82ee72b054a4
* * objc-features.texi: Use @email.jsm282001-01-122-1/+5
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38949 138bc75d-0d04-0410-961f-82ee72b054a4
* * sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef insidejsm282001-01-122-5/+9
| | | | | | | printf. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38931 138bc75d-0d04-0410-961f-82ee72b054a4
* * encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way thatrearnsha2001-01-112-2/+10
| | | | | | | determines the value dynamically. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38906 138bc75d-0d04-0410-961f-82ee72b054a4
* 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