1. 13 May, 2003 24 commits
  2. 12 May, 2003 16 commits
    • configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests. · c4501e62
      2003-05-12  Janis Johnson  <janis187@us.ibm.com>
      	    Alan Modra  <amodra@bigpond.net.au>
      	    Jakub Jelinek  <jakub@redhat.com>
      
      	* configure.in (HAVE_AS_TLS): Add powerpc and powerpc64 tests.
      	* configure: Rebuild.
      	* config/rs6000/rs6000-protos.h: Update.
      	* config/rs6000/rs6000.c (rs6000_tls_size): New.
      	(rs6000_tls_size_string): New.
      	(rs6000_parse_tls_size_option): New.
      	(rs6000_legitimize_tls_address): New.
      	(rs6000_tls_get_addr): New.
      	(rs6000_got_sym): New.
      	(rs6000_tls_symbol_ref): New.
      	(rs6000_tls_symbol_ref_1): New.
      	(rs6000_get_some_local_dynamic_name): New.
      	(rs6000_get_some_local_dynamic_name_1): New.
      	(TARGET_HAVE_TLS): New.
      	(TARGET_CANNOT_FORCE_CONST_MEM): New.
      	(rs6000_override_options): Handle -mtls-size option.
      	(constant_pool_expr_1): Handle TLS symbols.
      	(rs6000_legitimize_address): Handle TLS symbols.
      	(rs6000_tls_referenced_p): New.
      	(rs6000_legitimate_address): Handle TLS symbols.
      	(rs6000_emit_move): Handle TLS symbols.
      	(print_operand): Handle TLS symbols.
      	(uses_TOC): Handle TLS symbols.
      	(rs6000_emit_prologue): Use symbol for unspec constant.
      	* config/rs6000/rs6000.h (HAVE_AS_TLS): New.
      	(some_ld_name): New.
      	(LEGITIMATE_CONSTANT_P): Handle TLS symbols.
      	(PRINT_OPERAND_PUNCT_VALID_P): Handle TLS symbols.
      	(PREDICATE_CODES): Add rs6000_tls_symbol_ref.
      	* config/rs6000/rs6000.md (load_toc_v4_PIC_1, load_toc_v4_PIC_1b):
      	Support TLS.
      	(tls_gd_32, tls_gd_64, tls_ld_32, tls_ld_64, tls_dtprel_32,
      	tls_dtprel_64, tls_dtprel_ha_32, tls_dtprel_ha_64, tls_dtprel_lo_32,
      	tls_dtprel_lo_64, tls_got_dtprel_32, tls_got_dtprel_64, tls_tprel_32,
      	tls_tprel_64, tls_tprel_ha_32, tls_tprel_ha_64, tls_tprel_lo_32,
      	tls_tprel_lo_64, tls_got_tprel_32, tls_got_tprel_64, tls_tls_32,
      	tls_tls_64): New.
      	* config/rs6000/sysv4.h (SUBTARGET_OPTIONS): Add tls_size.
      
      Co-Authored-By: Alan Modra <amodra@bigpond.net.au>
      Co-Authored-By: Jakub Jelinek <jakub@redhat.com>
      
      From-SVN: r66742
      Janis Johnson committed
    • Makefile.in (stage2_build, [...]): Set BUILD_CC to the same as CC. · 6cfae22a
      	* Makefile.in (stage2_build, stage3_build, stage4_build)
      	: Set BUILD_CC to the same as CC.
      
      From-SVN: r66740
      Neil Booth committed
    • * alloc-pool.c (last_id): Put in ENABLE_CHECKING guards. · 517958ba
      From-SVN: r66739
      Neil Booth committed
    • ia64.c (ia64_function_ok_for_sibcall): Mark 'exp' as unused. · 74601584
      	* config/ia64/ia64.c (ia64_function_ok_for_sibcall): Mark 'exp'
      	as unused.
      	(bundling): Initialize 'pos'.
      	(ia64_expand_builtin): Initialize 'rmode'.
      
      From-SVN: r66738
      Andreas Schwab committed
    • xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT. · f08b4d88
              * config/rs6000/xcoff.h (ASM_OUTPUT_SKIP): Accept HOST_WIDE_INT.
              (ASM_OUTPUT_ALIGNED_COMMON): Same.
              (ASM_OUTPUT_LOCAL): Same.
      
      From-SVN: r66736
      David Edelsohn committed
    • 1.cc: Remove unnecessary includes and unused string literals. · 1f61755c
      2003-05-12  Paolo Carlini  <pcarlini@unitus.it>
      
      	* testsuite/27_io/basic_filebuf/sgetc/char/1.cc: Remove
      	unnecessary includes and unused string literals.
      	* testsuite/27_io/basic_filebuf/sputbackc/char/1.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/sputc/char/1.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/sputn/char/1.cc: Likewise.
      	* testsuite/27_io/basic_filebuf/sungetc/char/1.cc: Likewise.
      
      From-SVN: r66735
      Paolo Carlini committed
    • gcc_release (usage): Print more detailed description of all command-line options. · c627639b
      	* gcc_release (usage): Print more detailed description of all
      	command-line options.
      
      From-SVN: r66734
      Gerald Pfeifer committed
    • ByteBufferImpl.java: Reformatted. · 36d4669b
      2003-05-12  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/nio/ByteBufferImpl.java: Reformatted.
      	(nio_get_*): Removed.
      	(nio_put_*): Removed.
      	(as*Buffer): Implemented.
      	(compact): Implemented.
      	(get): Documentation added.
      	(put): Documentation added.
      	(get*): Newly implemented.
      	(put*): Newly implemented.
      	* gnu/java/nio/CharBufferImpl.java: Reformatted.
      	(CharBufferImpl): Revised.
      	(slice): New implementation.
      	(duplicate): New implementation.
      	(compact): New implementation.
      	(asReadOnlyBuffer): New implementation.
      	(get): Documentation revised.
      	(order): Return native byte order.
      	* gnu/java/nio/DirectByteBufferImpl.java
      	(allocateDirect): objects can be null not 0.
      	* gnu/java/nio/DoubleBufferImpl.java: Reformatted.
      	(DoubleBufferImpl): Revised.
      	(slice): New implementation.
      	(duplicate): New implementation.
      	(compact): New implementation.
      	(asReadOnlyBuffer): New implementation.
      	(get): Documentation revised.
      	(order): Return native byte order.
      	* gnu/java/nio/FloatBufferImpl.java: Reformatted.
      	(FloatBufferImpl): Revised.
      	(slice): New implementation.
      	(duplicate): New implementation.
      	(compact): New implementation.
      	(asReadOnlyBuffer): New implementation.
      	(get): Documentation revised.
      	(order): Return native byte order.
      	* gnu/java/nio/IntBufferImpl.java: Reformatted.
      	(IntBufferImpl): Revised.
      	(slice): New implementation.
      	(duplicate): New implementation.
      	(compact): New implementation.
      	(asReadOnlyBuffer): New implementation.
      	(get): Documentation revised.
      	(order): Return native byte order.
      	* gnu/java/nio/LongBufferImpl.java: Reformatted.
      	(LongBufferImpl): Revised.
      	(slice): New implementation.
      	(duplicate): New implementation.
      	(compact): New implementation.
      	(asReadOnlyBuffer): New implementation.
      	(get): Documentation revised.
      	(order): Return native byte order.
      	* gnu/java/nio/ShortBufferImpl.java: Reformatted.
      	(ShortBufferImpl): Revised.
      	(slice): New implementation.
      	(duplicate): New implementation.
      	(compact): New implementation.
      	(asReadOnlyBuffer): New implementation.
      	(get): Documentation revised.
      	(order): Return native byte order.
      	* java/nio/CharBuffer.java: Reformatted, much documentation rewritten.
      	(CharBuffer): Revised.
      	(order): Removed.
      	* java/nio/DoubleBuffer.java: Reformatted, much documentation rewritten.
      	(DoubleBuffer): Revised.
      	(allocateDirect): Removed.
      	(order): Removed.
      	* java/nio/FloatBuffer.java: Reformatted, much documentation rewritten.
      	(FloatBuffer): Revised.
      	(allocateDirect): Removed.
      	(order): Removed.
      	* java/nio/IntBuffer.java: Reformatted, much documentation rewritten.
      	(IntBuffer): Revised.
      	(allocateDirect): Removed.
      	(order): Removed.
      	* java/nio/LongBuffer.java: Reformatted, much documentation rewritten.
      	(LongBuffer): Revised.
      	(allocateDirect): Removed.
      	(order): Removed.
      	* java/nio/ShortBuffer.java: Reformatted, much documentation rewritten.
      	(ShortBuffer): Revised.
      	(allocateDirect): Removed.
      	(order): Removed.
      	* gnu/java/nio/natByteBufferImpl.cc: Removed.
      	* gnu/java/nio/natCharBufferImpl.cc: Removed.
      	* Makefile.am
      	(ordinary_java_source_files): Added the following files:
      	gnu/java/nio/CharViewBufferImpl.java,
      	gnu/java/nio/DoubleViewBufferImpl.java,
      	gnu/java/nio/FloatViewBufferImpl.java,
      	gnu/java/nio/IntViewBufferImpl.java,
      	gnu/java/nio/LongViewBufferImpl.java,
      	gnu/java/nio/ShortViewBufferImpl.java
      	(nat_source_files): Removed the following files:
      	gnu/java/nio/natByteBufferImpl.cc,
      	gnu/java/nio/natCharBufferImpl.cc
      	* Makefile.in: Regenerated.
      
      From-SVN: r66733
      Michael Koch committed
    • * varasm.c (output_constant): Fix underflow. · d3e0dffb
      From-SVN: r66732
      Jan Hubicka committed
    • re PR other/10745 (Bug in gcc-3.3/gcc/configure) · 96ef4bdc
      	PR other/10745
      	* configure.in: Correct detection of GNU ld version number.
      	* configure: Regenerated.
      
      From-SVN: r66730
      Mark Mitchell committed
    • diagnostic.c (diagnostic_for_decl): Take a diagnostic_context argument. · 9804f5fb
      	* diagnostic.c (diagnostic_for_decl): Take a
      	diagnostic_context argument.  Restructure to be consistent
      	with diagnostic_report_diagnostic.
      	(diagnostic_count_diagnostic): Now static.  Take a
      	diagnostic_info argument, not just a diagnostic_t.  Some code
      	moved here from internal_error.  Move a case label for
      	clarity.
      	(diagnostic_action_after_output): New function.  Code moved
      	here from internal_error and fatal_error.
      	(bug_report_request): New #define so that this text appears in
      	only one place.
      	(diagnostic_report_diagnostic): Update to match changes to
      	diagnostic_count_diagnostic.  Call diagnostic_action_after_output.
      	(diagnostic_set_info): Call gettext here.
      
      	(pedwarn): Update comment.  Don't call gettext here.
      	(sorry): Use report_diagnostic.  Don't call gettext here.
      	(fatal_error): Remove final fnotice and exit, but call
      	real_abort to prevent warnings about noreturn function returning.
      	(internal_error): Likewise.  Don't do ICE suppression here nor
      	call context->internal_error.
      	(warning_with_decl): Suppress for decls in system headers.
      	Adjust call to diagnostic_for_decl.
      	(pedwarn_with_decl): Likewise.
      	(error_with_decl): Adjust call to diagnostic_for_decl.
      	(error_recursion): Use bug_report_request.
      
      	* diagnostic.h: Remove prototype of diagnostic_count_diagnostic.
      	* objc/objc-act.c (error_with_ivar, warn_with_method): Don't call
      	diagnostic_count_diagnostic.
      f:
      	* bad.c: Don't call diagnostic_count_diagnostic.
      
      From-SVN: r66728
      Zack Weinberg committed
    • CharViewBufferImpl.java, [...]: New files, not yet to be compiled. · 5560b019
      2003-05-12  Michael Koch  <konqueror@gmx.de>
      
      	* gnu/java/nio/CharViewBufferImpl.java,
      	gnu/java/nio/DirectByteBufferImpl.java,
      	gnu/java/nio/DoubleViewBufferImpl.java,
      	gnu/java/nio/FloatViewBufferImpl.java,
      	gnu/java/nio/IntViewBufferImpl.java,
      	gnu/java/nio/LongViewBufferImpl.java,
      	gnu/java/nio/ShortViewBufferImpl.java,
      	gnu/java/nio/natDirectByteBufferImpl.cc:
      	New files, not yet to be compiled.
      
      From-SVN: r66727
      Michael Koch committed
    • From-SVN: r66726 · 6e81c6f4
      Benjamin Kosnik committed
    • 10096.cc: Add weak bits. · a72a4f3d
      
      2003-05-12  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* testsuite/27_io/basic_filebuf/underflow/10096.cc: Add weak bits.
      
      From-SVN: r66724
      Benjamin Kosnik committed