1. 06 Oct, 2000 4 commits
    • natField.cc (BooleanClass): Don't define. · 1d336a09
      	* java/lang/reflect/natField.cc (BooleanClass): Don't define.
      	* java/lang/reflect/natArray.cc (BooleanClass): Don't define.
      	* java/lang/Class.h (Object): Added `class$' field.
      	* java/lang/Object.h (Object): Added `class$' field.
      	* defineclass.cc (ClassClass): Use `class$' form.
      	(ClassObject): Likewise.
      	* resolve.cc (ClassObject): Use `class$' form.
      	(ObjectClass): Likewise.
      	* interpret.cc (ClassError): Removed.
      	* java/net/natPlainDatagramSocketImpl.cc (BooleanClass): Use
      	`class$' form.
      	(IntegerClass): Likewise.
      	* java/net/natPlainSocketImpl.cc (BooleanClass): Use `class$'
      	form.
      	* java/lang/natClassLoader.cc (CloneableClass): Use `class$' form.
      	(ObjectClass, ClassClass, VMClassLoaderClass, ClassLoaderClass,
      	SerializableClass): Likewise.
      	Include Serializable.h, Cloneable.h.
      	* java/lang/natSystem.cc (SystemClass): Removed.
      	(init_properties): Use `class$' form.
      	* java/lang/natObject.cc (CloneableClass): Removed.
      	(clone): Use `class$' form.
      	* java/lang/natClass.cc (CloneableClass): Use `class$' form.
      	(ObjectClass, ErrorClass, ClassClass, MethodClass, FieldClass,
      	ConstructorClass): Likewise.
      	* java/lang/reflect/natMethod.cc (ObjectClass): Use `class$' form.
      	(ClassClass, VoidClass, ByteClass, ShortClass, CharacterClass,
      	IntegerClass, LongClass, FloatClass, DoubleClass): Likewise.
      	* java/io/natObjectInputStream.cc (ObjectClass): Use `class$'
      	form.
      	(ClassClass): Likewise.
      	* include/jvm.h (StringClass): Use `class$' form.
      	* prims.cc (ObjectClass): Removed.
      	(_Jv_RunMain): Use `class$' form.
      	(_Jv_AllocObject): Likewise.
      	* jni.cc (ClassClass): Use `class$' form.
      	(ThrowableClass): Likewise.
      	(ObjectClass): Likewise.
      	(MethodClass): Likewise.
      	(ThreadGroupClass): Likewise.
      	(NativeThreadClass): Likewise.
      	* boehm.cc (ObjectClass): Removed.
      	(ClassClass): Removed.
      	(_Jv_MarkObj): Use `class$' form.
      	* gcj/field.h (JvFieldIsRef): Use `class$' form.
      	Include RawData.h.
      
      From-SVN: r36740
      Tom Tromey committed
    • * diagnostic.c (output_format): Add missing break. · 331fe257
      From-SVN: r36739
      Richard Henderson committed
    • jvspec.c (jvgenmain_spec): Added `-fdollars-in-identifiers'. · e0a0c416
      	* jvspec.c (jvgenmain_spec): Added `-fdollars-in-identifiers'.
      	* jvgenmain.c (class_mangling_prefix): Removed.
      	(class_mangling_suffix): New global.
      	(main): Use it.
      	* gjavah.c (cxx_keyword_subst): Mangle C++ keywords by appending
      	`$'.
      	(print_method_info): Handle overrides for static and final
      	methods.
      	(process_file): Generate declaration for class object field.
      	* class.c (cxx_keywords): New array.
      	(utf8_cmp): New function.
      	(cxx_keyword_p): New function.
      	(layout_class_method): Mangle C++ keywords by appending `$'.
      	(mangle_field): New function.
      	(mangle_class_field): Use mangle_field.  Mangle class name as
      	`class$'.
      	(mangle_static_field): Use mangle_field.
      
      From-SVN: r36738
      Tom Tromey committed
    • init.c (build_java_class_ref): Use `build_static_name' with a suffix... · d1a458c4
      	* init.c (build_java_class_ref): Use `build_static_name' with a
      	suffix, not a prefix, to build the class object's name.
      
      From-SVN: r36737
      Tom Tromey committed
  2. 05 Oct, 2000 21 commits
    • Makefile.am: Removed java/io/Replaceable.java and java/io/Resolvable.java. · bf347805
      	* Makefile.am: Removed java/io/Replaceable.java and
      	java/io/Resolvable.java.
      	* Makefile.in: Rebuilt.
      	* gcj/javaprims.h: Removed Replaceable and Resolvable from java.io
      	namespace.
      	* java/io/ObjectInputStream.java (processResolution): Fixed typo
      	in method name.
      	(processResolution): Handle readResolve method via reflection with
      	removal of Resolvable interface.
      	* java/io/ObjectOutputStream.java (writeObject): Handle writeReplace
      	method via reflection with removal of Replaceable interface.
      	* java/io/Replaceable.java: Removed.
      	* java/io/Resolvable.java: Removed.
      	* java/security/Key.java (serialVersionUID): New field.
      	* java/security/Provider.java (serialVersionUID): New field.
      	* java/security/interfaces/DSAPrivateKey.java (serialVersionUID):
      	New field.
      	* java/security/interfaces/DSAPublicKey.java (serialVersionUID):
              New field.
      	* java/sql/DataTruncation.java (serialVersionUID): New field.
      	* java/sql/SQLException.java (serialVersionUID): New field.
      	* java/sql/SQLWarning.java (serialVersionUID): New field.
      	* java/util/Date.java (serialVersionUID): New field.
      	(millis): Made transient.
      	(readObject): New method.
      	(writeObject): New method.
      
      Serialization mods.
      Note:  The interfaces java.io.Replaceable and java.io.Resolvable were only
      temporary additions to JDK 1.2 beta versions and were not included
      in the JDK 1.2 final.  The Serialization spec instructs how to deal
      with their methods (via reflection).
      
      From-SVN: r36736
      Warren Levy committed
    • Fix IA-64 REG_LIBCALL dangling reference. · cc0cbae1
      	* function.c (fixup_var_refs_1, case SET): When gen_move_insn returns a
      	SEQUENCE, call emit_insn_before, copy PATTERN and REG_NOTES of last
      	sequence insn to INSN, and delete last sequence insn.
      
      From-SVN: r36735
      Jim Wilson committed
    • configure: Save configure arguments to gcc/configargs.h. · f5fa9a5b
              * configure: Save configure arguments to gcc/configargs.h.
      
              * gcc.c (main): Include generated configargs.h header
              and use arguments in '-v' output.
      
      From-SVN: r36734
      Phil Edwards committed
    • * gnu/gcj/convert/natIconv.cc (init): Terminate buffer. · cfa82f4d
      From-SVN: r36733
      Tom Tromey committed
    • config.guess: Import CVS version 1.157. · 61a77fea
      2000-10-04  Philipp Thomas  <pthomas@suse.de>
      
      	* config.guess: Import CVS version 1.157.
      	* config.sub: Import CVS version 1.181.
      
      From-SVN: r36732
      Philipp Thomas committed
    • acinclude.m4 (GLIBCPP_CHECK_CTYPE): Tweaks to message texts for public relations purposes. · 9a200b0a
      2000-10-05  Phil Edwards  <pme@sources.redhat.com>
      
      	* acinclude.m4 (GLIBCPP_CHECK_CTYPE):  Tweaks to message texts
      	  for public relations purposes.
      	* aclocal.m4:  Regenerated.
      	* configure:  Regenerated.
      
      	* docs/ext/howto.html:  Additional explanation about hashing.
      
      From-SVN: r36731
      Phil Edwards committed
    • gcc.c: Move data on prefixes forward in file and reorganize. · 2296d164
      	* gcc.c: Move data on prefixes forward in file and reorganize.
      	(md_exec_prefix, md_startfile_prefix, md_startfile_prefix_1):
      	Always define, but make null if no value.
      	(static_specs): Add "md_exec_prefix", "md_startfile_prefix",
      	and "md_startfile_prefix_1".
      	(main): Check whether md_exec_prefix and the others are the
      	null string rather than whether the macro is defined.
      
      From-SVN: r36730
      Richard Kenner committed
    • (convert_move): Use zero_extendpsisi2 to do an unsigned extension from PSImode to SImode. · 43d75418
      	* (convert_move): Use zero_extendpsisi2 to do an unsigned extension
      	from PSImode to SImode.
      
      From-SVN: r36729
      J"orn Rennecke committed
    • emit-rtl.c (gen_lowpart_common): Fix conversion from float to integral mode with… · e389897b
      emit-rtl.c (gen_lowpart_common): Fix conversion from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
      
      	* emit-rtl.c (gen_lowpart_common) [REAL_ARITHMETICS]: Fix conversion
      	from float to integral mode with HOST_BITS_PER_WIDE_INT 64.
      	* dwarf2out.c (add_const_value_attribute): Divide by 4, not
      	sizeof(long).
      
      From-SVN: r36728
      Jakub Jelinek committed
    • Added. · ab9b1e42
      From-SVN: r36727
      Ovidiu Predescu committed
    • fold-const.c (fold, [...]): Perform negation in proper type.a · b8fbe62c
      	* fold-const.c (fold, case MINUS_EXPR, case EQ_EXPR): Perform
      	negation in proper type.a
      
      From-SVN: r36726
      Richard Kenner committed
    • include: New directory. · 35ba1733
      
      2000-10-05  Benjamin Kosnik  <bkoz@cygnus.com>
      
      	* include: New directory.
      	* include/backward: New directory.
      	* include/bits: New directory.
      	* include/ext: New directory.
      	* include/std: New directory.
      	* include/*/*: Populate.
      
      	* backwards: Move to include/backwards, delete.
      	* bits: Move to include/bits, delete.
      	* ext: Move to include/ext, delete.
      	* std: Move to include/std, delete.
      
      	* src/complex.cc: Adjust include of mathconf.
      
      	* mkc++config (BASE_H): Add include.
      
      	* src/Makefile.am: Support for topleve sources include directory.
      	(INCLUDES): Add LIBMATH_INCLUDE.
      	* src/Makefile.in: Regenerate.
      	* math/Makefile.am (INCLUDES): Append /include.
      	* math/Makefile.in: Regenerate.
      	* libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
      	* libio/Makefile.in: Regenerate.
      
      2
      
      From-SVN: r36725
      Benjamin Kosnik committed
    • include: New directory. · 9fab2793
      
      2000-10-05  Benjamin Kosnik  <bkoz@cygnus.com>
      
      	* include: New directory.
      	* include/backward: New directory.
      	* include/bits: New directory.
      	* include/ext: New directory.
      	* include/std: New directory.
      	* include/*/*: Populate.
      
      	* backwards: Move to include/backwards, delete.
      	* bits: Move to include/bits, delete.
      	* ext: Move to include/ext, delete.
      	* std: Move to include/std, delete.
      
      	* src/complex.cc: Adjust include of mathconf.
      
      	* mkc++config (BASE_H): Add include.
      
      	* src/Makefile.am: Support for topleve sources include directory.
      	(INCLUDES): Add LIBMATH_INCLUDE.
      	* src/Makefile.in: Regenerate.
      	* math/Makefile.am (INCLUDES): Append /include.
      	* math/Makefile.in: Regenerate.
      	* libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
      	* libio/Makefile.in: Regenerate.
      
      From-SVN: r36724
      Benjamin Kosnik committed
    • include: New directory. · 725dc051
      
      2000-10-05  Benjamin Kosnik  <bkoz@cygnus.com>
      
      	* include: New directory.
      	* include/backward: New directory.
      	* include/bits: New directory.
      	* include/ext: New directory.
      	* include/std: New directory.
      	* include/*/*: Populate.
      
      	* src/complex.cc: Adjust include of mathconf.
      
      	* mkc++config (BASE_H): Add include.
      
      	* src/Makefile.am: Support for topleve sources include directory.
      	(INCLUDES): Add LIBMATH_INCLUDE.
      	* src/Makefile.in: Regenerate.
      	* math/Makefile.am (INCLUDES): Append /include.
      	* math/Makefile.in: Regenerate.
      	* libio/Makefile.am (INCLUDES): Add glibcpp_includedir.
      	* libio/Makefile.in: Regenerate.
      
      From-SVN: r36723
      Benjamin Kosnik committed
    • cp-tree.h (access_kind): Fix comment typo. · 509fc277
      	* cp-tree.h (access_kind): Fix comment typo.
      	* decl2.c (grokfield): Fix diagnostic typo.
      	* semantics.c (finish_template_type): Fix comment typo.
      	(finish_qualified_object_call_expr): Likewise.
      
      From-SVN: r36722
      Nathan Sidwell committed
    • * g++.old-deja/g++.pt/crash59.C: New test. · b2f9816f
      From-SVN: r36721
      Nathan Sidwell committed
    • pt.c (tsubst_expr, [...]): Don't process if tsubsting fails. · ce2e5191
      	* pt.c (tsubst_expr, DECL_STMT case): Don't process if
      	tsubsting fails.
      
      From-SVN: r36720
      Nathan Sidwell committed
    • spew.c (frob_id): New static function. · 79cc5312
      	* spew.c (frob_id): New static function.
      	(frob_opname): Use it.
      	(yylex): Use it.
      
      From-SVN: r36719
      Nathan Sidwell committed
    • Daily bump. · e88b0282
      From-SVN: r36718
      Jeff Law committed
    • [multiple changes] · 6e22695a
      Tue Oct  3 13:44:37 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * decl.c (find_local_variable): Removed uncessary type check and
              fixed range check typo. From Corey Minyard.
      
      Wed Sep 13 16:06:52 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * decl.c (give_name_to_locals): New local `code_offset'. Call
              `maybe_adjust_start_pc.'
              * expr.c (note_instructions): New function.
              (expand_byte_code): Don't collect insn starts here.
              (peek_opcode_at_pc): New function.
              (maybe_adjust_start_pc): Likewise.
              * java-tree.h (maybe_adjust_start_pc): Declare.
              (note_instructions): Likewise.
              * jcf-parse.c (parse_class_file): Call `note_instructions.'
      
      Wed Sep 13 11:50:35 2000  Alexandre Petit-Bianco  <apbianco@cygnus.com>
      
              * parse.y (field_access:): Fixed indentation.
              (qualify_ambiguous_name): Properly qualify `this.a[b].c'.
      
      (http://gcc.gnu.org/ml/gcc-patches/2000-10/msg00067.html)
      
      From-SVN: r36717
      Alexandre Petit-Bianco committed
    • _G_config.h: Re-guard the __mbstate_t declaration. · e23062d5
      
      2000-10-04  Benjamin Kosnik  <bkoz@gnu.org>
      
      	* libio/_G_config.h : Re-guard the __mbstate_t declaration.
      
      From-SVN: r36716
      Benjamin Kosnik committed
  3. 04 Oct, 2000 11 commits
    • configure.in (enable-shared): New. · 50503ac8
              * configure.in (enable-shared): New.
              * Makefile.in (LIBGCC_DEPS): Depend on EXTRA_PARTS as well.
              (libgcc.mk): Pass SHLIB_LINK, SHLIB_LIBS, SHLIB_MULTILIB to mklibgcc.
              * mklibgcc.in: Use them to link shared a libgcc.
              * config/t-linux (SHLIB_LINK, SHLIB_LIBS): New.
              * config/alpha/t-ieee (SHLIB_MULTILIB): New.
              * config/mips/t-iris6 (SHLIB_LINK, SHLIB_LIBS): New.
              * config/sparc/t-sol2 (SHLIB_LINK, SHLIB_LIBS): New.
      
              * configure.in (alpha-osf*): Use t-osf and x-osf.
              * config/alpha/t-osf: New file.
              * config/alpha/t-osf4: New file.
              * config/alpha/x-osf: New file.
              * config/alpha/x-alpha: Remove file.
      
      From-SVN: r36715
      Richard Henderson committed
    • Patched code to generate warning when trying to perform static · 4b606faf
      initialization of zero-length arrays.
      
      From-SVN: r36714
      Will Cohen committed
    • Makefile.in (bootstrap): avoid recursion if subdir missing · 3a4fee66
      * Makefile.in (bootstrap): avoid recursion if subdir missing
      (cross): ditto
      (do-proto-toplev): ditto
      
      From-SVN: r36713
      Andris Pavenis committed
    • Describes addition of test to verify zero-length array initializers flagged · 9c00185b
      with warning.
      
      From-SVN: r36712
      William Cohen committed
    • A test to verify the patch to warn of initializers for zero-length · f7b9c39d
      arrays is installed in the compiler.
      
      From-SVN: r36711
      William Cohen committed
    • Dummy checkin of footer.html to force web update. · be9196f8
      From-SVN: r36710
      Phil Edwards committed
    • Daily bump. · c45529b6
      From-SVN: r36709
      Jeff Law committed
    • howto.html: Add link to proto-documentation on locales. · 2ef49c56
      
      2000-10-03  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	* docs/22_locale/howto.html: Add link to proto-documentation on
      	locales.
      	* docs/documentation.html: Rename links for clarity.
      
      	* src/Makefile.am (headers): Remove unistd.h, wrap_unistd.h. Add
      	fcntl.h, iolibio.h, libioP.h, pthread.h, iconv.h.
      	* src/Makefile.in: Regenerate.
      
      From-SVN: r36708
      Benjamin Kosnik committed
    • [multiple changes] · 0517cb99
      
      2000-10-02  Steven King  <sxking@uswest.net>
      
              * mkcshadow: Fixed script to output proper include guard.
              * bits/char_traits.h: Cleaned up types in char_traits<char> functions.
              * libio/_G_config.h: Hacked to make work with shadow heraders.
              * shadow/*: Hacked to make shadow headers work.
      
      2000-10-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	Self-compile with shadow headers.
      	* acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
      	like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
      	it becomes the default way the library is built.
      	* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
      	* config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
      	* config/gnu-linux/ctype.cc (ctype): Use it.
      
      	* src/localename.cc (locale::_Impl::_M_replace_categories): Remove
      	call to assert.
      	* src/locale.cc: Explicitly cast mbstate_t to void* in calls to
      	memset. This should not be necessary, but an ambiguous overload
      	with it in.
      
      	* shadow/bits/std_cwchar.h: Fix.
      	* shadow/wchar.h: Fix.
      
      	* config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
      	enums into namespace std:: for ctype_base enum. Other OS types
      	will have to do this as well.
      	* config/gnu-linux/ctype.cc (ctype): Inject ctype data into
      	namespace std, in particular __ctype_toupper, __ctype_tolower,
      	__ctype_b.
      
      	* shadow/iolibio.h: New file.
      	* shadow/bits/wrap_iolibio.h: New file.
      	* shadow/libioP.h: New file.
      	* shadow/bits/wrap_libioP.h: New file.
      	* shadow/bits/wrap_fcntl.h: New file.
      	* shadow/fcntl.h: New file.
      	* shadow/iconv.h: New file. Inject iconv names into the global
      	namespace, unmangled for the moment.
      	* shadow/bits/wrap_iconv.h: New file.
      	* shadow/unistd.h: Remove. Useless.
      	* shadow/bits/wrap_unistd.h: Remove.
      
      	* src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
      	* src/Makefile.in: Regenerate.
      
      	* config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
      
      	* shadow/libio.h: Fix.
      	* shadow/bits/wrap_libio.h: Fix.
      
      	* shadow/bits/std_clocale.h: Remove typedef struct construct,
      	which will not compile.
      	* shadow/bits/std_ctime.h: Same.
      
      	* shadow/pthread.h: New file. Put pthreads types and functions
      	into global scope, which is probably not the correct long-term
      	solution but has to be done at the moment before libio wrappers
      	can even be started.
      	* shadow/bits/wrap_pthread.h: New file.
      
      	* bits/std_ios.h: Formatting tweak.
      	* shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
      
      	* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
      	tests for compiler features.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	* config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
      	redefined.
      	* libio/libioP.h: Comment out fcntl.h include.
      
      	* shadow/math.h: Add in float and long declarations, as per ISO C9X.
      
      	* bits/c++config: Define _ISOC99_SOURCE.
      
      	* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
      	CSHADOWFLAGS, as well as _ISOC99_SOURCE.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
      	(CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
      	(CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
      	std or shadow directories.
      	(LTCXXCOMPILE): Same.
      	(INCLUDES): Add $(top_builddir) before $(top_srcdir).
      	(AC_CXXFLAGS): Add CSHADOWFLAGS.
      	* src/Makefile.in: Regenerate.
      
      	* src/complex.cc (FCT): Change ::name to name.
      	* src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
      	* src/complexf.cc (FCT): Same.
      
      	* src/complexf.cc: Remove FCT define, as things are properly
      	overloaded in the std namespace with the shadow headers.
      	* src/complexl.cc: Same.
      	* src/complex.cc: Same.
      
      From-SVN: r36707
      Benjamin Kosnik committed
    • Self-compile with shadow headers. · 1792c91c
      
      2000-10-02  Benjamin Kosnik  <bkoz@purist.soma.redhat.com>
      
      	Self-compile with shadow headers.
      	* acconfig.h (_GLIBCPP_USE_SHADOW_HEADERS): Define. Eventually,
      	like _GLIBCPP_USE_NAMESPACES before it, this macro will die when
      	it becomes the default way the library is built.
      	* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): New macro.
      	* config/gnu-linux/bits/ctype_base.h (ctype_base): Use it.
      	* config/gnu-linux/ctype.cc (ctype): Use it.
      
      	* src/localename.cc (locale::_Impl::_M_replace_categories): Remove
      	call to assert.
      	* src/locale.cc: Explicitly cast mbstate_t to void* in calls to
      	memset. This should not be necessary, but an ambiguous overload
      	with it in.
      
      	* shadow/bits/std_cwchar.h: Fix.
      	* shadow/wchar.h: Fix.
      
      	* config/gnu-linux/bits/ctype_base.h (ctype_base): Inject ctype
      	enums into namespace std:: for ctype_base enum. Other OS types
      	will have to do this as well.
      	* config/gnu-linux/ctype.cc (ctype): Inject ctype data into
      	namespace std, in particular __ctype_toupper, __ctype_tolower,
      	__ctype_b.
      
      	* shadow/iolibio.h: New file.
      	* shadow/bits/wrap_iolibio.h: New file.
      	* shadow/libioP.h: New file.
      	* shadow/bits/wrap_libioP.h: New file.
      	* shadow/bits/wrap_fcntl.h: New file.
      	* shadow/fcntl.h: New file.
      	* shadow/iconv.h: New file. Inject iconv names into the global
      	namespace, unmangled for the moment.
      	* shadow/bits/wrap_iconv.h: New file.
      	* shadow/unistd.h: Remove. Useless.
      	* shadow/bits/wrap_unistd.h: Remove.
      
      	* src/Makefile.am: Take out machine-ansi.h, add fcntl.h unistd.h.
      	* src/Makefile.in: Regenerate.
      
      	* config/c_io_libio.h (_IO_codecvt): Change to normal C++ decl.
      
      	* shadow/libio.h: Fix.
      	* shadow/bits/wrap_libio.h: Fix.
      
      	* shadow/bits/std_clocale.h: Remove typedef struct construct,
      	which will not compile.
      	* shadow/bits/std_ctime.h: Same.
      
      	* shadow/pthread.h: New file. Put pthreads types and functions
      	into global scope, which is probably not the correct long-term
      	solution but has to be done at the moment before libio wrappers
      	can even be started.
      	* shadow/bits/wrap_pthread.h: New file.
      
      	* bits/std_ios.h: Formatting tweak.
      	* shadow/bits/std_cstdio.h: Format. Remove extraneous bits.
      
      	* acinclude.m4 (GLIBCPP_CHECK_COMPILER_FEATURES): Add -Werror to
      	tests for compiler features.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      
      	* config/c_io_libio.cc: Remove fcntl.h include, as SEEK_SET
      	redefined.
      	* libio/libioP.h: Comment out fcntl.h include.
      
      	* shadow/math.h: Add in float and long declarations, as per ISO C9X.
      
      	* bits/c++config: Define _ISOC99_SOURCE.
      
      	* acinclude.m4 (GLIBCPP_ENABLE_SHADOW): Add -fno-builtins to
      	CSHADOWFLAGS, as well as _ISOC99_SOURCE.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* src/Makefile.am (CSHADOW_INCLUDES): Enable, again.
      	(CSHADOW_INCLUDES): Add -I$(top_srcdir)/std before shadow include dir.
      	(CXXCOMPILE): Remove $(DEFS), which searches $(top_srcdir) before
      	std or shadow directories.
      	(LTCXXCOMPILE): Same.
      	(INCLUDES): Add $(top_builddir) before $(top_srcdir).
      	(AC_CXXFLAGS): Add CSHADOWFLAGS.
      	* src/Makefile.in: Regenerate.
      
      	* src/complex.cc (FCT): Change ::name to name.
      	* src/complexl.cc (FCT): Same. Use _GLIBCPP_USE_LONG_LONG here.
      	* src/complexf.cc (FCT): Same.
      
      	* src/complexf.cc: Remove FCT define, as things are properly
      	overloaded in the std namespace with the shadow headers.
      	* src/complexl.cc: Same.
      	* src/complex.cc: Same.
      
      From-SVN: r36706
      Benjamin Kosnik committed
    • configure.in (ia64-linux): Add ia64/t-glibc. · fee0225a
      	* configure.in (ia64-linux) [tmake_file]: Add ia64/t-glibc.
      	* config/ia64/crtbegin.asm (__EH_FRAME_BEGIN__): Remove.
      	(segrel_ofs): Remove.
      	(__ia64_app_header): New.
      	(frame_object): Remove.
      	(.init): Set __ia64_app_header when non-shared.
      	(__do_global_dtors_aux): Do not call __deregister_frame_info.
      	(__do_frame_setup): Remove.
      	* config/ia64/crtend.asm (__EH_FRAME_END__): Remove.
      	(__do_frame_setup_aux): Remove.
      	* config/ia64/frame-ia64.c (object_mutex): Remove.
      	(bad_record): Remove.
      	(init_object_mutex): Remove.
      	(init_object_mutex_once): Remove.
      	(fde_compare): Remove.
      	(__register_frame_info_aux): Remove.
      	(frame_init): Remove.
      	(find_fde): Remove.
      	(*): Use ISO function definitions.
      	(P3_record_types): Constify.
      	(P7_record_types, P7_additional_fields): Constify.
      	(P8_record_types, P8_additional_fields): Constify.
      	(read_P_record): Remove parenthesis warning.  Use structure
      	assignment instead of memcpy.
      	(execute_one_ia64_descriptor): Likewise.
      	(__build_ia64_frame_state): Use __ia64_find_fde.
      	(record_name, print_record, print_all_records): Remove.
      	* config/ia64/frame-ia64.h: New file.
      	* config/ia64/fde-glibc.c: New file.
      	* config/ia64/t-glibc: New file.
      
      From-SVN: r36705
      Richard Henderson committed
  4. 03 Oct, 2000 4 commits