Kaveh R. Ghazi
8f8c44cb4f
Object.m: Fix signed/unsigned warning.
...
* Object.m: Fix signed/unsigned warning.
* Protocol.m: Likewise.
* archive.c: Always include stdlib.h.
(objc_read_short, objc_read_unsigned_short, objc_read_int,
objc_read_long, __objc_read_nbyte_uint, __objc_read_nbyte_ulong):
Fix signed/unsigned warning.
(objc_write_type, objc_read_type, objc_write_types,
objc_read_types): Ensure ctype 8-bit safety.
(__objc_no_write, __objc_no_read): Mark unused parameters.
* class.c (class_table_setup): Specify void arg.
* encoding.c (atoi, objc_sizeof_type, objc_alignof_type,
objc_skip_typespec, objc_skip_offset,
objc_layout_structure_next_member): Ensure ctype 8-bit safety.
(objc_layout_structure_next_member): Ensure variables are
initialized.
* gc.c (__objc_generate_gc_type_description,
class_ivar_set_gcinvisible): Mark unused parameters.
* init.c (__objc_send_load, __objc_destroy_class_tree_node): Mark
unused parameters.
(__objc_init_protocols) Fix signed/unsigned warning.
* nil_method.c (nil_method): Mark unused parameters.
* thr.h (objc_thread_callback): Specify void arg.
* sarray.c (sarray_new, sarray_realloc, sarray_free): Fix
signed/unsigned warning.
(sarray_free): Fix formatting.
* selector.c (sel_types_match): Ensure ctype 8-bit safety.
* sendmsg.c (__objc_init_install_dtable) Mark unused parameters.
From-SVN: r54649
2002-06-15 17:50:14 +00:00
Andreas Jaeger
42bac11688
encoding.c (objc_layout_structure_next_member): Remove unused variable.
...
* encoding.c (objc_layout_structure_next_member): Remove unused
variable.
From-SVN: r54406
2002-06-09 18:46:01 +02:00
Kaveh R. Ghazi
9aa338ece2
Makefile.in (SHELL): Set to @SHELL@.
...
* Makefile.in (SHELL): Set to @SHELL@.
(WARN_CFLAGS): New.
(ALL_CFLAGS): Add $(WARN_CFLAGS).
From-SVN: r53662
2002-05-20 16:35:19 +00:00
Rainer Orth
1e6347d8b9
Makefile.in: Allow for PWDCMD to override hardcoded pwd.
...
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* config-ml.in: Likewise.
* configure: Likewise.
* configure.in: Likewise.
boehm-gc:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
* aclocal.m4: Regenerate.
* configure: Regenerate.
config:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
contrib:
* test_installed: Allow for PWDCMD to override hardcoded pwd.
* test_summary: Likewise.
gcc:
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* configure.in: Likewise.
* fixinc/check.tpl: Likewise.
* fixinc/fixinc.dgux: Likewise.
* fixinc/fixinc.svr4: Likewise.
* fixinc/fixinc.winnt: Likewise.
* fixinc/fixincl.sh: Likewise.
* fixproto: Likewise.
* configure: Regenerate.
gcc/ada:
* Makefile.adalib: Allow for PWDCMD to override hardcoded pwd.
* Makefile.in: Likewise.
gcc/f:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
gcc/java:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
gcc/po:
* exgettext: Allow for PWDCMD to override hardcoded pwd.
gcc/treelang:
* Make-lang.in: Allow for PWDCMD to override hardcoded pwd.
libf2c:
* Makefile.in: Allow for PWDCMD to override hardcoded pwd.
* aclocal.m4: Likewise.
* configure: Regenerate.
libjava:
* acinclude.m4: Allow for PWDCMD to override hardcoded pwd.
* configure.in: Likewise.
* aclocal.m4: Regenerate.
* configure: Regenerate.
libobjc:
* aclocal.m4: Allow for PWDCMD to override hardcoded pwd.
* configure: Regenerate.
libstdc++-v3:
* Makefile.am: Allow for PWDCMD to override hardcoded pwd.
* acinclude.m4: Likewise.
* docs/html/Makefile: Likewise.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.
zlib:
* configure.in: Allow for PWDCMD to override hardcoded pwd.
* configure: Regenerate.
* ChangeLog: Move entries to ChangeLog.gcj.
From-SVN: r53523
2002-05-16 17:43:21 +00:00
Alexandre Oliva
6706f1167e
configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs.
...
* configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at
script entry, and set LD to it when configuring multilibs.
* configure: Rebuilt.
From-SVN: r53278
2002-05-08 04:38:00 +00:00
David O'Brien
d0d091ae08
encoding.c (MAX, [...]): #undef before defining.
...
2002-04-19 David O'Brien <obrien@FreeBSD.org>
* encoding.c (MAX, MIN, ROUNDING): #undef before defining.
Approved by: David S. Miller <davem@redhat.com>
Message-Id: <20020419.184825.67430590.davem@redhat.com>
From-SVN: r52648
2002-04-23 02:04:20 +00:00
Hans-Peter Nilsson
ed426a38ad
Fix ChangeLog date
...
From-SVN: r52059
2002-04-09 07:08:23 +00:00
Hans-Peter Nilsson
0bd9dd55a7
re PR objc/6107 (sparc-sun-solaris2.7 gcc-3.1 extra objc testsuite failures w/-m64)
...
PR objc/6107
* objc/objc-api.h (struct objc_protocol_list): Change type of
member count from int to size_t.
From-SVN: r52058
2002-04-09 07:06:18 +00:00
Franz Sirl
b150efee39
re PR libobjc/4039 (installation location of libobjc is wrong)
...
2002-02-11 Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
PR libobjc/4039
* aclocal.m4: Replace with version copied from libstdc++-v3.
* configure.in: Update for changes to aclocal and Makefile.
* configure: Regenerate.
* Makefile.in: Correct install of multilibs and shared libs, use
INSTALL_DATA for include files.
From-SVN: r49680
2002-02-11 18:10:05 +00:00
Nicola Pero
e5e0f6f539
Fixed bug in loading of categories under certain special circumstances
...
From-SVN: r48110
2001-12-17 17:23:09 +00:00
Aldy Hernandez
d5114db12a
encoding.c: Add target_flags.
...
2001-11-14 Aldy Hernandez <aldyh@redhat.com>
* encoding.c: Add target_flags.
From-SVN: r47021
2001-11-14 21:11:43 +00:00
Aldy Hernandez
f4fdaedae3
objc-api.h (_C_VECTOR): New.
...
2001-11-07 Aldy Hernandez <aldyh@redhat.com>
* objc-api.h (_C_VECTOR): New.
* encoding.c (VECTOR_TYPE): New.
From-SVN: r46849
2001-11-08 18:51:27 +00:00
Nicola Pero
26e51caa4d
Rewritten from scratch class lookup internals - getting a good performance
...
boost for class method invocations
From-SVN: r46616
2001-10-29 21:24:48 +00:00
Nicola Pero
2726bdbaac
Rewritten all the internals - great performance boost.
...
From-SVN: r46615
2001-10-29 21:23:31 +00:00
Ovidiu Predescu
71a18acf34
gc.c: Removed the DEBUG declaration.
...
2001-09-10 Ovidiu Predescu <ovidiu@cup.hp.com>
* gc.c: Removed the DEBUG declaration.
From-SVN: r45511
2001-09-10 16:24:11 +00:00
Ovidiu Predescu
041dea5661
Removed the DEBUG declaration.
...
From-SVN: r45510
2001-09-10 16:22:42 +00:00
Nicola Pero
5f1ecf82e7
Save a function call in common mutex locking/unlocking operations
...
From-SVN: r44107
2001-07-18 11:55:24 +00:00
Nicola Pero
ba0cf7f7f5
Save a function call on mutex locking/unlocking
...
From-SVN: r44106
2001-07-18 11:54:03 +00:00
Nicola Pero
42d28de5b2
Fixed object_is_class and object_is_metaclass
...
From-SVN: r44039
2001-07-16 11:36:24 +00:00
Alexandre Oliva
4173be7fe5
configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
...
* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* acinclude.m4: Likewise.
* configure: Rebuilt.
From-SVN: r43105
2001-06-09 20:32:56 +00:00
Nicola Pero
27132e6489
THREADS: Explain that when we compile libobjc inside GCC...
...
2001-06-08 Nicola Pero <n.pero@mi.flashnet.it>
* THREADS: Explain that when we compile libobjc inside GCC, we
always use thr-objc.c as a backend, which uses GCC's thread code.
From-SVN: r43058
2001-06-08 22:42:59 +00:00
Richard Frith-Macdonald
e6be21fe87
init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method IMP as key...
...
2001-06-06 Richard Frith-Macdonald <rrfm@gnu.org>
* 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.
From-SVN: r43052
2001-06-08 22:19:47 +00:00
Ovidiu Predescu
12e010668b
init.c (__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method name as key...
...
2001-05-25 Ovidiu Predescu <ovidiu@cup.hp.com>
* 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>).
From-SVN: r42562
2001-05-25 07:14:10 +00:00
Ovidiu Predescu
3e5252057d
(__objc_send_message_in_list): When setting a new entry in __objc_load_methods use the method name as key...
...
(__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>).
From-SVN: r42561
2001-05-25 07:12:17 +00:00
Alexandre Oliva
334564454e
ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.
...
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
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.
From-SVN: r42351
2001-05-20 18:55:59 +00:00
Joseph Myers
10c179f3e9
objc.texi: Move from ../libobjc/objc-features.texi.
...
gcc:
* 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.
From-SVN: r41927
2001-05-09 15:16:47 +01:00
Mark Mitchell
78fb357776
Fix typo
...
From-SVN: r41750
2001-05-02 00:58:46 +00:00
Mark Mitchell
bcecb0b06d
fdl.texi: New file.
...
* fdl.texi: New file.
* objc-features.texi: Simplify.
* Makefile.in: Adjust accordingly.
From-SVN: r41747
2001-05-02 00:39:01 +00:00
Mark Mitchell
c3aac51278
fdl.texi: New file.
...
* fdl.texi: New file.
* 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.
From-SVN: r41700
2001-04-30 22:46:01 +00:00
John Wehle
49073def1b
* encoding.c (REAL_TYPE): Define.
...
From-SVN: r40687
2001-03-21 09:46:20 +00:00
David Edelsohn
120d59bfb9
* encoding.c (TYPE_MODE): Define.
...
From-SVN: r40633
2001-03-19 16:05:03 -05:00
Nicola Pero
b894530e6d
thr.c (objc_thread_add): New function.
...
2001-03-14 Nicola Pero <n.pero@mi.flashnet.it>
* thr.c (objc_thread_add): New function.
(objc_thread_remove): Ditto.
* objc/thr.h: Declare them.
* libobjc.def: Mention them.
From-SVN: r40479
2001-03-15 02:18:09 +00:00
Ovidiu Predescu
11014a3b38
objc-features.texi: Document the @compatibility_alias compiler directive (description from Nicola...
...
2001-02-28 Ovidiu Predescu <ovidiu@cup.hp.com>
* objc-features.texi: Document the @compatibility_alias compiler
directive (description from Nicola Pero <n.pero@mi.flashnet.it>).
From-SVN: r40126
2001-02-28 17:17:09 +00:00
Ovidiu Predescu
2e226581cb
Document the @compatibility_alias compiler directive (description from
...
Nicola Pero <n.pero@mi.flashnet.it>).
From-SVN: r40125
2001-02-28 17:16:17 +00:00
Rainer Orth
a79ffa5a8c
sendmsg.c (__objc_forward): Delete strlen() declaration.
...
Fri Feb 23 18:12:00 2001 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* sendmsg.c (__objc_forward): Delete strlen() declaration.
From-SVN: r40033
2001-02-24 06:14:36 +00:00
Geoffrey Keating
7c6b0e92a4
In libf2c:
...
* 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.
From-SVN: r39560
2001-02-09 07:14:35 +00:00
Joseph Myers
01d9cb8b77
* objc-features.texi: Use @email.
...
From-SVN: r38949
2001-01-12 17:06:15 +00:00
Joseph Myers
0fc39d8ad7
sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside printf.
...
* sendmsg.c (__objc_print_dtable_stats): Don't use #ifdef inside
printf.
From-SVN: r38931
2001-01-12 00:30:53 +00:00
Richard Earnshaw
919ee051d3
encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that determines the value dynamically.
...
* encoding.c (STRUCTURE_SIZE_BOUNDARY): Redefine in a way that
determines the value dynamically.
From-SVN: r38906
2001-01-11 14:01:45 +00:00
Ovidiu Predescu
1104c18d2f
sendmsg.c: Added __objc_msg_forward...
...
Wed Jan 3 00:49:10 2001 Ovidiu Predescu <ovidiu@cup.hp.com>
* 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.
From-SVN: r38652
2001-01-03 08:50:46 +00:00
Ovidiu Predescu
406515b276
Added __objc_msg_forward...
...
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.)
From-SVN: r38651
2001-01-03 08:49:34 +00:00
Ovidiu Predescu
68b61df962
Added __objc_msg_forward...
...
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.)
Define gen_rtx_REG.
From-SVN: r38650
2001-01-03 08:49:02 +00:00
Ralf Corsepius
68c9c61a01
* thr-rtems.c: New file. Stub to compile.
...
From-SVN: r38084
2000-12-06 18:40:42 -07:00
Alexandre Oliva
03391b53b5
Rebuilt again, something went wrong last time
...
From-SVN: r38066
2000-12-06 17:16:32 +00:00
Robert Lipe
162f5967da
Regenerate to pick up libtool fix. Per Alexandre Oliva.
...
From-SVN: r38063
2000-12-06 04:06:15 +00:00
Mark Mitchell
ae499ccea4
Move statement-tree facilities from C++ to C front-end.
...
* 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.
From-SVN: r36221
2000-09-07 01:36:11 +00:00
Alexandre Oliva
6d93bca4fe
* configure: Rebuilt with new libtool.m4.
...
From-SVN: r36199
2000-09-06 14:08:04 +00:00
Ovidiu Predescu
9d10fcf978
configure.in: Create a config.h file.
...
Tue Aug 15 00:38:56 2000 Ovidiu Predescu <ovidiu@cup.hp.com>
* configure.in: Create a config.h file. Check for <sched.h>.
* configure: Regenerate.
* config.h.in: Check for <sched.h>.
From-SVN: r35698
2000-08-15 07:39:20 +00:00
Ovidiu Predescu
f3fc0ba86b
Check for <sched.h>.
...
From-SVN: r35697
2000-08-15 07:38:54 +00:00
Ovidiu Predescu
d972a4c286
Create a config.h file. Check for <sched.h>.
...
From-SVN: r35696
2000-08-15 07:38:04 +00:00