1. 26 Jan, 2005 1 commit
    • frv.c (frv_legitimize_tls_address): New. · bef8809e
      	* config/frv/frv.c (frv_legitimize_tls_address): New.
      	(TARGET_HAVE_TLS): Define.
      	(FRV_SYMBOL_REF_TLS_P): Define.
      	(frv_override_options): Handle new register classes.
      	(frv_legitimate_address_p): Reject tls addresses.
      	(frv_legitimize_address): Handle TLS addresses.
      	(gen_inlined_tls_plt): New.
      	(gen_tlsmoff): New.
      	(frv_legitimize_tls_address): New.
      	(unspec_got_name): Add TLS entries.
      	(got12_operand): Add R_FRV_TLSMOFF12 case.
      	(frv_emit_move): Fixup TLS addresses.
      	(frv_emit_movsi): Legitimize TLS addresses.
      
      	* config/frv/frv.h (MASK_BIG_TLS): New.
      	(TARGET_BIG_TLS): New.
      	(HAVE_AS_TLS): Define.
      	(TARGET_SWITCHES): Add -mTLS and -mtls options.
      	(enum reg_class): Add GR8_REGS, GR9_REGS, GR89_REGS.
      	(REG_CLASS_NAMES): Same.
      	(REG_CLASS_CONTENTS): Same.
      	(CONSTRAINT_LEN): New.
      	(REG_CLASS_FROM_CONSTRAINT): New.
      	(PREDICATE_CODES): Add symbolic_operand.
      
      	* config/frv/frv.md (define_constants): Add UNSPEC_GETTLSOFF,
      	UNSPEC_TLS_LOAD_GOTTLSOFF12, UNSPEC_TLS_INDIRECT_CALL,
      	UNSPEC_TLS_TLSDESC_LDD, UNSPEC_TLS_TLSDESC_LDD_AUX,
      	UNSPEC_TLS_TLSOFF_LD, UNSPEC_TLS_LDDI, UNSPEC_TLSOFF_HILO,
      	R_FRV_GOTTLSOFF_HI, R_FRV_GOTTLSOFF_LO, R_FRV_TLSMOFFHI,
      	R_FRV_TLSMOFFLO, R_FRV_TLSMOFF12, R_FRV_TLSDESCHI,
      	R_FRV_TLSDESCLO, R_FRV_GOTTLSDESCHI, R_FRV_GOTTLSDESCLO, GR8_REG,
      	GR9_REG, GR14_REG, LRREG.
      	(type): Add load_or_call attribute.
      	("load_or_call"): New reservation.
      	("call_gettlsoff"): New.
      	("tls_indirect_call"): New.
      	("tls_load_gottlsoff12"): New.
      	("tlsoff_hilo"): New.
      	("tls_tlsdesc_ldd"): New.
      	("tls_tlsoff_ld"): New.
      	("tls_lddi"): New.
      
      	* config/frv/frv-protos.h (symbolic_operand): Protoize.
      
              * config/frv/frv.h (ASM_OUTPUT_DWARF_DTPREL): Define.
              * config/frv/frv-protos.h (frv_output_dwarf_dtprel): Declare.
              * config/frv/frv.c (TLS_BIAS): Define.
              (frv_output_dwarf_dtprel): New.
      
      From-SVN: r94237
      Aldy Hernandez committed
  2. 25 Jan, 2005 23 commits
  3. 24 Jan, 2005 16 commits
    • * cfgexpand.c (expand_gimple_tailcall): Fix typo. · 7315a949
      From-SVN: r94189
      Steven Bosscher committed
    • irix-csr.c: New file. · c0fd73a9
      	* config/mips/irix-csr.c: New file.
      	* config/mips/t-iris6 (irix-csr.o): New rule to build it.
      	(EXTRA_MULTILIB_PARTS): Add irix-csr.o.
      	* config/mips/iris6.h (ENDFILE_SPEC): Include it in n32 and n64
      	executables.
      
      From-SVN: r94186
      Richard Sandiford committed
    • re PR bootstrap/19364 (embedded sparc does not bootstrap) · 81b47219
      	PR bootstrap/19364
      	* config.gcc (sparc-*-elf*): Remove sol2.h, sparc/sol2.h and
      	sparc/elf.h, add sparc/sp-elf.h.
      	(sparc-*-rtems*): Likewise.
      	(sparclite-*-elf*): Remove sol2.h, sparc/sol2.h, sparc/elf.h and
      	tm-dwarf2.h, add sparc/sp-elf.h.
      	(sparc86x-*-elf): Likewise.
      	(sparc64-*-elf*): Remove sol2.h, sparc/sol2.h and tm-dwarf2.h.
      	* config/sparc/liteelf.h (TARGET_SUB_OS_CPP_BUILTINS): Rename into
      	TARGET_OS_CPP_BUILTINS.
      	* config/sparc/sp86x-elf (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
      	* config/sparc/rtemself.h (TARGET_SUB_OS_CPP_BUILTINS): Likewise.
      	Undefine it.
      	* config/sparc/openbsd64.h (NO_IMPLICIT_EXTERN_C): Undefine.
      	* config/sparc/sp64-elf.h (NO_IMPLICIT_EXTERN_C): New macro.
      	(SWITCH_TAKES_ARG): Likewise.
      	(LOCAL_LABEL_PREFIX): Likewise.
      	(ASM_GENERATE_INTERNAL_LABEL): Likewise.
      	(TARGET_N_FORMAT_TYPES): Delete.
      	(TARGET_FORMAT_TYPES): Likewise.
      	(ASM_DECLARE_FUNCTION_SIZE): Likewise.
      	* config/sparc/elf.h: Delete.
      	* config/sparc/sp-elf.h: New file.
      
      From-SVN: r94185
      Eric Botcazou committed
    • tree-flow-inline.h (phi_arg_from_edge): Remove. · 3a2f1f06
      	* tree-flow-inline.h (phi_arg_from_edge): Remove.
      	* tree-flow.h: Remove the corresponding prototype.
      	* tree-ssa-operands.h, tree-ssa-threadupdate.c, tree-ssa.c,
      	tree-vectorizer.c: Use dest_idx instead of phi_arg_from_edge.
      
      From-SVN: r94183
      Kazu Hirata committed
    • java-tree.h (gcj_abi_version): Declare. · 2a4d0626
      	* java-tree.h (gcj_abi_version): Declare.
      	* class.c (make_class_data): Push gcj_abi_version into "next"
      	field.  Renamed field.
      	* decl.c (gcj_abi_version): New global.
      	(parse_version): New function.
      	(java_init_decl_processing): Call it.  Renamed 'next' field.
      	Include version.h.
      	(GCJ_BINARYCOMPAT_ADDITION): New define.
      
      From-SVN: r94174
      Tom Tromey committed
    • Class.h (next): Updated documentation. · 8bf04387
      	* java/lang/Class.h (next): Updated documentation.  Renamed to
      	'next_or_version'.
      	* java/lang/natClassLoader.cc (_Jv_RegisterClasses): Use
      	_Jv_CheckABIVersion.
      	(_Jv_RegisterClasses_Counted): Likewise.
      	(_Jv_RegisterClassHookDefault): Fix starting condition of
      	duplicate-checking loop.
      	* include/jvm.h (GCJ_VERSION): New define.
      	(GCJ_BINARYCOMPAT_ADDITION): Likewise.
      	(_Jv_CheckABIVersion): New function.
      
      From-SVN: r94173
      Tom Tromey committed
    • target-supports.exp (current_target_name): New. · 635b0f2a
      	* lib/target-supports.exp (current_target_name): New.
      	(check_effective_target_ilp32, check_effective_target_lp64):
      	Cache the result to use as long as the current target, with
      	multilib flags, remains the same.
      
      From-SVN: r94168
      Janis Johnson committed
    • gcc-dg.exp (skip_test_and_clear_xfail): Remove. · 544ea6b7
      	* lib/gcc-dg.exp (skip_test_and_clear_xfail): Remove.
      	(dg-require-weak, dg-require-visibility, dg-require-alias,
      	dg-require-dg-sections, dg-require-profiling, dg-require-iconv,
      	dg-require-effective-target, dg-skip-if): Remove call to
      	skip_test_and_clear_xfail.
      	(dg-test): Clear xfail data.
      
      From-SVN: r94167
      Janis Johnson committed
    • re PR target/17751 (Undefined .LCTOC0 symbol) · b723e82f
      	PR target/17751
      	* config/rs6000/rs6000.c (rs6000_file_start): Create toc section
      	for AIX ABI or ELF -fPIC.
      	(rs6000_emit_load_toc_table): Don't create toc_section here.
      	(rs6000_xcoff_file_start): Nor here.
      
      	* gcc.dg/ppc64-toc.c: New test.
      
      From-SVN: r94166
      Jakub Jelinek committed
    • Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs. · a2fcf673
      	* Makefile.am (libgij_la_LIBADD): Add -L$(here)/.libs.
      	(libgij_la_LDFLAGS): Add.
      	* Makefile.in: Rebuilt.
      
      From-SVN: r94165
      Jakub Jelinek committed
    • ??? The first checkin was ignored? · 1a9ce0b7
      	* sh.c (ra.h): Don't #include.
      	(hard_regs_intersect_p): New function, resurrected from ra.c.
      	N.B this is Copyright 2002/2003
      
      	* sh.c: Fix 1996 Copyright.
      
      From-SVN: r94164
      Joern Rennecke committed
    • sh.c (ra.h): Don't #include. · 5b71da26
      	* sh.c (ra.h): Don't #include.
      	(hard_regs_intersect_p): New function, resurrected from ra.c.
      N.B this is Copyright 2002/2003
      
      	* sh.c: Fix 1996 Copyright.
      
      From-SVN: r94163
      Joern Rennecke committed
    • re PR java/19295 (Incorrect bytecode produced for bitwise AND) · d5f62555
      
      	PR java/19295
      	* jcf-write.c (generate_bytecode_insns): Conversions between
      	integer types of the same precision shouldn't generate widening
      	or narrowing conversion bytecodes.
      
      	* testsuite/libjava.compile/PR19295.java: New test case.
      
      From-SVN: r94162
      Roger Sayle committed
    • type_traits: Implement is_signed and is_unsigned. · e930780c
      2005-01-24  Paolo Carlini  <pcarlini@suse.de>
      
      	* include/tr1/type_traits: Implement is_signed and is_unsigned.
      	* testsuite/tr1/4_metaprogramming/type_properties/
      	is_signed/is_signed.cc: New.
      	* testsuite/tr1/4_metaprogramming/type_properties/
      	is_signed/typedefs.cc: Likewise.
      	* testsuite/tr1/4_metaprogramming/type_properties/
      	is_unsigned/is_unsigned.cc: Likewise.
      	* testsuite/tr1/4_metaprogramming/type_properties/
      	is_unsigned/typedefs.cc: Likewise.
      
      From-SVN: r94160
      Paolo Carlini committed
    • regrename.c (note_sets): Handle subregs. · 226c62c7
              * regrename.c (note_sets): Handle subregs.
      
      Co-Authored-By: Aldy Hernandez <aldyh@redhat.com>
      
      From-SVN: r94157
      Richard Henderson committed
    • re PR bootstrap/18058 (Bootstrap fails with non-GCC compilers) · 2429f3d4
      	PR bootstrap/18058
      	* genconditions.c (write_header, write_conditions): Elide file if
      	not GCC >= 3.0.1.
      
      From-SVN: r94155
      Joseph Myers committed