Skip to content
Snippets Groups Projects
  1. Jun 06, 2008
    • Joseph Myers's avatar
      configure.ac: Do not check for gconv.h. · bffc9d79
      Joseph Myers authored
      	* configure.ac: Do not check for gconv.h.
      	* crossconfig.m4 (GLIBCXX_CROSSCONFIG): Do not test for gconv.h or
      	gconf.h.  For glibc and uClibc systems, define
      	_GLIBCXX_USE_RANDOM_TR1 and HAVE_MMAP and use AC_LC_MESSAGES and
      	AM_ICONV.
      	* configure, config.h.in: Regenerate.
      
      From-SVN: r136494
      bffc9d79
  2. Mar 04, 2008
  3. Jan 15, 2008
  4. Sep 14, 2007
    • Richard Sandiford's avatar
      configure.ac (mips*-sde-elf*): New stanza. · d9dced13
      Richard Sandiford authored
      	* configure.ac (mips*-sde-elf*): New stanza.  Add target-libiberty
      	to $skipdirs and only disable gprof for newlib.  Use the normal
      	mips*-elf* handling in other respects.
      	* configure: Regnerate.
      
      gcc/
      2007-xx-xx  Nigel Stephens  <nigel@mips.com>
      	    David Ung  <davidu@mips.com>
      	    Thiemo Seufer  <ths@mips.com>
      	    Richard Sandiford  <richard@codesourcery.com>
      
      	* config.gcc (mips*-sde-elf*): Add support for the SDE C libraries.
      	* configure.ac: Add a mipssde threading type.
      	* configure: Regenerate.
      	* config/mips/sdemtk.h: New file.
      	* config/mips/t-sdemtk: Likewise.
      	* config/mips/sdemtk.opt: Likewise.
      	* gthr-mipssde.h: Likewise.
      	* config/mips/sde.h (FUNCTION_PROFILER): Move to config/mips/sdemtk.h.
      	* config/mips/mips.h (MIPS_SAVE_REG_FOR_PROFILING_P): New macro.
      	(MIPS_ICACHE_SYNC): New macro, split from ...
      	* config/mips/mips.md (clear_cache): ...here.
      	* config/mips/mips.c (mips_save_reg_p): Check
      	MIPS_SAVE_REG_FOR_PROFILING_P on profiled functions.
      	(build_mips16_function_stub): Use targetm.strip_name_encoding.
      	(build_mips16_call_stub): Likewise.
      
      libstdc++-v3/
      2007-xx-xx  Thiemo Seufer  <ths@mips.com>
      
      	* crossconfig.m4 (mips*-sde-elf*): New stanza.
      	* configure: Regenerate.
      
      From-SVN: r128495
      d9dced13
  5. Mar 03, 2007
  6. Feb 26, 2007
  7. Jan 29, 2007
    • Benjamin Kosnik's avatar
      enc_filebuf.h: Resurrect, update. · 4ffe6e87
      Benjamin Kosnik authored
      2007-01-29  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* include/ext/enc_filebuf.h: Resurrect, update.
      	* include/ext/codecvt_specializations.h: Remove
              _GLIBCXX_USE_ICONV, _GLIBCXX_USE_ENCODING_STATE.
      	* include/bits/localefwd.h: Remove declaration for __enc_traits.
      	* docs/html/22_locale/codecvt.html: Change __enc_traits to
      	encoding_state.
      	* scripts/testsuite_flags.in: Remove ICONV.
      
      	* configure.ac: Remove GLIBCXX_CHECK_ICONV_SUPPORT.
      	* acinclude.m4 (GLIBCXX_CHECK_ICONV_SUPPORT): Remove.
      	* crossconfig.m4: Remove use of GLIBCXX_CHECK_ICONV_SUPPORT.
      	* config.h.in: Remove HAVE_ICONV_CLOSE, HAVE_ICONV_OPEN,
      	HAVE_NL_LANGINFO, _GLIBCXX_USE_ICONV.
      	* include/Makefile.am: Uglify ICONV_CONST.
      	* configure: Regenerate.
      	* aclocal.m4: Regenerate.
      	* Makefile.in: Regenerate.
      	* src/Makefile.in: Regenerate.
      	* po/Makefile.in: Regenerate.
      	* libmath/Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* libsupc++/Makefile.in: Regenerate.
      	* testsuite/Makefile.in: Regenerate.
      
      	* testsuite/ext/enc_filebuf/wchar_t/13189.cc: Use
      	dg-require-iconv, fix up for encoding_state changes.
      	* testsuite/ext/enc_filebuf/char/13189.cc: Same.
      	* testsuite/ext/enc_filebuf/char/13598.cc: Same.
      	* testsuite/22_locale/codecvt/unicode: Move...
      	* testsuite/22_locale/codecvt/unicode/char.cc: Move...
      	* testsuite/22_locale/codecvt/unicode/1.cc: Move...
      	* testsuite/22_locale/codecvt/unicode/wchar_t.cc: Move...
      	* testsuite/ext/codecvt: New.
      	* testsuite/ext/codecvt/char-1.cc: ...here. Also, use dg-require-iconv.
      	* testsuite/ext/codecvt/char-2.cc: ...here. Same.
      	* testsuite/ext/codecvt/1.cc: ...here. Same.
      	* testsuite/ext/codecvt/wchar_t.cc: ...here. Same.
      	* testsuite/22_locale/locale/cons/unicode: Delete directory.
      	* testsuite/22_locale/locale/cons/unicode/1.cc: Move...
      	* testsuite/22_locale/locale/cons/unicode.cc: ...here.
      
      From-SVN: r121297
      4ffe6e87
  8. Jan 06, 2007
  9. Dec 12, 2006
  10. Sep 21, 2006
  11. Feb 16, 2006
    • Joseph Myers's avatar
      re PR target/20353 (uclibc does not provide C99 math functions) · 464aea98
      Joseph Myers authored
      gcc:
      	PR target/20353
      	PR target/24578
      	PR target/24837
      	* config/linux.opt: New file.
      	* config/linux.h (CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
      	LINUX_DYNAMIC_LINKER): Define.
      	(TARGET_C99_FUNCTIONS): Define depending on TARGET_GLIBC.
      	* config.gcc (*-*-linux*): Define extra_options.
      	(*-*-*uclibc*): Define UCLIBC_DEFAULT.
      	(arm*-*-linux-gnueabi): Change to arm*-*-linux-*eabi.
      	* config/arm/linux-eabi.h (LINUX_TARGET_INTERPRETER): Change to
      	GLIBC_DYNAMIC_LINKER.
      	* config/arm/linux-elf.h (LINUX_TARGET_INTERPRETER): Likewise.
      	(LINUX_TARGET_LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
      	* config/mips/linux.h (GLIBC_DYNAMIC_LINKER): Define.
      	(LINK_SPEC): Use LINUX_DYNAMIC_LINKER.
      	* doc/invoke.texi (GNU/Linux Options): New section.
      
      gcc/testsuite:
      	* gcc.dg/builtins-config.h (HAVE_C99_RUNTIME): Don't define if
      	__UCLIBC__ is defined.
      
      libstdc++-v3:
      	PR libstdc++/14939
      	* config/os/uclibc/ctype_base.h, config/os/uclibc/ctype_inline.h,
      	config/os/uclibc/ctype_noninline.h, config/os/uclibc/os_defines.h:
      	New.
      	* acinclude.m4 (GLIBCXX_CONFIGURE): Test whether using uClibc.
      	* configure.host: Use os/uclibc for uClibc.
      	* crossconfig.m4 (*-linux*): Use link tests.  Don't hardcode
      	presence of math functions.
      	* configure: Regenerate.
      
      From-SVN: r111160
      464aea98
  12. Jan 12, 2006
  13. Apr 06, 2005
    • Kelley Cook's avatar
      Makefile.am (ACLOCAL_AMFLAGS): Define. · c41f82b2
      Kelley Cook authored
      2005-04-05  Kelley Cook  <kcook@gcc.gnu.org>
      
      	* Makefile.am (ACLOCAL_AMFLAGS): Define.
      	* crossconfig.m4: Wrap file into new GLIBCXX_CROSSCONFIG macro.
      	* configure.ac: Use it.
      	* acinclude.m4: Delete explicit m4_includes and sincludes.
      	* aclocal.m4, configure, Makefile.in, po/Makefile.in,
      	src/Makefile.in, include/Makefile.in, libmath/Makefile.in,
      	testsuite/Makefile.in: Regenerate.
      
      From-SVN: r97677
      c41f82b2
  14. Mar 24, 2005
    • Benjamin Kosnik's avatar
      acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies using _GLIBCXX_USE_C99_COMPLEX... · 347669a0
      Benjamin Kosnik authored
      2005-03-23  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* acinclude.m4: Adjust so that _GLIBCXX_USE_C99 implies
      	using _GLIBCXX_USE_C99_COMPLEX, _GLIBCXX_USE_C99_MATH, and
      	_GLIBCXX_USE_C99_WCHAR.
      	Remove GLIBCXX_ENABLE_C_MBCHAR, consolidate in GLIBCXX_ENABLE_C99
      	and GLIBCXX_ENABLE_WCHAR_T.
      	Take C99 bits from GLIBCXX_CHECK_WCHAR_T_SUPPORT and put in
      	GLIBCXX_ENABLE_C99.
      	Change remaining parts of GLIBCXX_CHECK_WCHAR_T_SUPPORT to
      	GLIBCXX_CHECK_ICONV_SUPPORT.
      	* configure.ac: Remove GLIBCXX_ENABLE_C_MBCHAR, use
      	GLIBCXX_CHECK_ICONV_SUPPORT and GLIBCXX_ENABLE_WCHAR_T.
      	* crossconfig.m4: Same.
      	* acconfig.h: Same, adjust comments.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* docs/html/configopts.html: Change --enable-c-mbchar to
      	--enable-wchar_t.
      
      	* config/locale/gnu/c++locale_internal.h: Guard wide functions
      	with _GLIBCXX_USE_WCHAR_T.
      	* include/c_std/std_cwctype.h: Alphabetize, remove duplicates.
      	* include/c_std/std_cstdio.h: Spacing.
      
      	* config/locale/gnu/c_locale.h: Tweaks for unused warnings.
      	* src/debug.cc: Same.
      
      From-SVN: r96981
      347669a0
  15. Feb 01, 2005
  16. Sep 03, 2004
    • Jan Beulich's avatar
      configure.in: Remove target-libstdc++-v3 from noconfigdirs for *-*-netware... · 61fec9ff
      Jan Beulich authored
      /
              * configure.in: Remove target-libstdc++-v3 from noconfigdirs for
              *-*-netware, but add target-libmudflap.
              Consolidate *-*-netware targets (of which really only i?86 exists)
              into a single entry.
              * configure: Likewise.
      gcc/
              * config.gcc: Resurrect NetWare as a target. Handle special case of
              Novell linker to be used (specified through --with-ld=) and threading
              model of either Posix (default) or NKS.
              * config/i386/i386.c (ix86_return_pops_args): Conditionalize popping
              of incoming hidden argument on KEEP_AGGREGATE_RETURN_POINTER.
              * config/i386/i386.h (KEEP_AGGREGATE_RETURN_POINTER): New.
              * config/i386/netware.c, config/i386/netware.h: New.
              * config/i386/nwld.c, config/i386/nwld.h: New.
              * config/i386/netware-crt0.c: New.
              * config/i386/netware-libgcc.c: New.
              * config/i386/netware-libgcc.def: New.
              * config/i386/netware-libgcc.exp: New.
              * config/i386/t-netware, config/i386/t-nwld: New.
              * gthr-nks.h: New.
              * doc/install.texi: Document NKS threading model.
      gcc/cp/
              * g++spec.c (MATH_LIBRARY_PROFILE): Default to MATH_LIBRARY rather
              than "-lm".
      gcc/testsuite/
              * g++.dg/abi/bitfield5.C: Use -mno-ms-bitfields.
              * g++.old-deja/g++.jason/thunk2.C: xfail for NetWare.
              * g++.old-deja/g++.law/profile1.C: xfail for NetWare.
              * g++.old-deja/g++.other/store-expr1.C: xfail for NetWare.
              * gcc.c-torture/compile/20001109-1.c: xfail for NetWare.
              * gcc.c-torture/compile/20001109-2.c: xfail for NetWare.
              * gcc.c-torture/execute/multi-ix.c: Use __builtin_bzero rather than
              the non-portable bzero.
              * gcc.dg/20010912-1.c: xfail for NetWare.
              * gcc.dg/20020426-2.c: xfail for NetWare.
              * gcc.dg/20021014-1.c: xfail for NetWare.
              * gcc.dg/20021018-1.c: xfail for NetWare.
              * gcc.dg/20030213-1.c: xfail for NetWare.
              * gcc.dg/20030225-1.c: xfail for NetWare.
              * gcc.dg/20030708-1.c: xfail for NetWare.
              * gcc.dg/builtins-config.h: Also exclude NetWare.
              * gcc.dg/format/format.h: Define restrict only if not already defined.
              * gcc.dg/nest.c: xfail for NetWare.
              * gcc.dg/special/gcsec-1.c: Don't pass -static for NetWare.
              * lib/target-supports.exp (check_visibility_available): Exclude
              NetWare.
      fixincludes/
              * inclhack.def: Suppress exception_structure and math_exception
              for NetWare headers.
              * fixincl.x: Regenerate.
      libstdc++-v3/
              * crossconfig.m4: Add NetWare as a target.
              * configure: Regenerate.
      
      From-SVN: r87040
      61fec9ff
  17. Aug 02, 2004
    • Mark Mitchell's avatar
      Makefile.am (hosted_source): Add libmath and testsuite. · 4c24b21a
      Mark Mitchell authored
      	* Makefile.am (hosted_source): Add libmath and testsuite.
      	(SUBDIRS): Remove them.
      	* acinclude.m4: (GLIBCXX_ENABLED_HOSTED): Default to freestanding
      	on arm*-*-symbianelf*.
      	* crossconfig.m4: Add arm*-*-symbianelf* support.
      	* include/c_std/std/std_cstdlib.h (stdlib.h): Do not include it
      	when freestanding.  Do not bring names into std:: namespace with
      	"using" when freestanding.  Declare required functions and macros
      	when freestanding.
      	* libsupc++/Makefile.am (c_sources): Do not include cp-demangle.c
      	when freestanding.
      	* libsupc++/del_op.cc: Declare "free" only when freestanding.
      	* libsupc++/eh_alloc.cc (cstring): Include it only when hosted.
      	(malloc): Declare when freestanding.
      	(free): Likewise.
      	(memset): Likewise.
      	(__cxa_allocate_exception): Call malloc, not std::malloc.  Likewise
      	for memset.
      	(__cxa_free_exception): Likewise for free.
      	* libsupc++/new_op.cc: Declare "malloc" when freestanding.
      	* libsupc++/pure.cc (writestr): Define to nothing when
      	freestanding.
      	* libsupc++/vterminate.cc: Do not define anything when
      	freestanding.
      	* Makefile.in: Regenerated.
      	* aclocal.m4: Likewise.
      	* configure: Likewise.
      	* include/Makefile.in: Likewise.
      	* libmath/Makefile.in: Likewise.
      	* libsupc++/Makefile.in: Likewise.
      	* po/Makefile.in: Likewise.
      	* src/Makefile.in: Likewise.
      	* testsuite/Makefile.in: Likewise.
      
      From-SVN: r85452
      4c24b21a
  18. Jul 07, 2004
  19. Jun 09, 2004
    • Benjamin Kosnik's avatar
      crossconfig.m4: Remove signbit, signbitf, signbitl. · 92efec6e
      Benjamin Kosnik authored
      2004-06-09  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* crossconfig.m4: Remove signbit, signbitf, signbitl.
      	* linkage.m4: Comment LIBMATHOBJS, tweak others.  AC_DEFINES for
      	builtin math functions instead of AC_DEFINE_UNQUOTED.
      	* configure: Regenerate.
      
      From-SVN: r82815
      92efec6e
  20. May 13, 2004
  21. Feb 09, 2004
  22. Jan 27, 2004
    • Ulrich Weigand's avatar
      configure.host: Add support for *-tpf. · 6e198ee0
      Ulrich Weigand authored
      
      	* configure.host: Add support for *-tpf.
      	* crossconfig.m4: Likewise.
      	* configure: Regenerate.
      	* config/os/tpf: New directory.
      	* config/os/tpf/os_defines.h: New file.
      	* config/os/tpf/ctype_base.h: Likewise.
      	* config/os/tpf/ctype_inline.h: Likewise.
      	* config/os/tpf/ctype_noninline.h: Likewise.
      
      Co-Authored-By: default avatarPJ Darcy <darcypj@us.ibm.com>
      
      From-SVN: r76724
      6e198ee0
  23. Jan 07, 2004
  24. Dec 04, 2003
    • Benjamin Kosnik's avatar
      re PR libstdc++/13284 (126 g++ failures due to lrand48 not defined) · 82fa4538
      Benjamin Kosnik authored
      2003-12-04  Benjamin Kosnik  <bkoz@redhat.com>
      
      	PR libstdc++/13284
      	* include/bits/stl_algo.h (__random_number): Remove.
      	(random_shuffle): Use rand, as permitted by DR 395.
      	* include/ext/algorithm: Same.
      	* linkage.m4 (GLIBCXX_CHECK_STDLIB_SUPPORT): Remove lrand48.
      	* acconfig.h: Same.
      	* crossconfig.m4: Remove HAVE_DRAND48, HAVE_LRAND48.
      	* config.h.in: Regenerated.
      	* configure: Same.
      	* aclocal.m4: Same.
      
      From-SVN: r74288
      82fa4538
  25. Nov 07, 2003
  26. Oct 20, 2003
    • Phil Edwards's avatar
      configure.ac: Fix comment typo. · 65fc9769
      Phil Edwards authored
      2003-10-20  Phil Edwards  <phil@codesourcery.com>
      
      	* configure.ac:  Fix comment typo.
      	* configure.host:  Add vxworks to host_os switch.
      	* crossconfig.m4:  Remove old commented os_include_dir variables
      	left over from autotools transition.
      	(*-vxworks):  New stanza.
      	(*-windiss):  Add missing symbols.
      	* configure:  Regenerate.
      	* config/os/vxworks/ctype_base.h, config/os/vxworks/ctype_inline.h,
      	config/os/vxworks/ctype_noninline.h, config/os/vxworks/os_defines.h:
      	New files.
      	* config/os/windiss/os_defines.h:  Define __C9X__.
      
      From-SVN: r72710
      65fc9769
  27. Oct 16, 2003
    • Benjamin Kosnik's avatar
      acconfig.h: Add HAVE_DRAND48. · 5d78fe72
      Benjamin Kosnik authored
      2003-10-16  Benjamin Kosnik  <bkoz@redhat.com>
      
              * acconfig.h: Add HAVE_DRAND48.
      	* crossconfig.m4: Remove ISATTY.
      	* aclocal.m4: Regenerated.
      	* config.h.in: Regenerated.
      	* configure: Regenerated.
      
      From-SVN: r72575
      5d78fe72
  28. Oct 15, 2003
  29. Oct 11, 2003
  30. Oct 01, 2003
    • Rainer Orth's avatar
      linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define. · 222a5b1d
      Rainer Orth authored
      	* linkage.m4 (GLIBCXX_CHECK_STDLIB_DECL_AND_LINKAGE_0): Define.
      	(GLIBCXX_CHECK_STDLIB_SUPPORT): Use it to test for lrand48
      	instead of drand48.
      	* acconfig.h (HAVE_DRAND48): Renamed to HAVE_LRAND48.
      	* crossconfig.m4 (*-freebsd*): Define HAVE_LRAND48 instead of
      	HAVE_DRAND48.
      	* config.h.in, configure: Regenerate.
      	* include/bits/stl_algo.h: Use _GLIBCXX_HAVE_LRAND48 to guard
      	lrand48 use.
      
      From-SVN: r71990
      222a5b1d
  31. Sep 25, 2003
    • Brad Spencer's avatar
      re PR c++/6072 (3.2 g++ testsuite breakage on cygwin) · 2b1be54b
      Brad Spencer authored
      2003-09-25  Brad Spencer  <spencer@infointeractive.com>
      
      	PR libstdc++/6072
      	* acinclude.m4:
      	* aclocal.m4: Regenerate.
      	* config.h.in: Regenerate.
      	* configure: Regenerate.
      	* crossconfig.m4: Add in wchar_t bits for solaris crosses.
      	* config/io/basic_file_stdio.cc: Guard unistd.h.
      	* include/c_compatibility/wchar.h: Guard extra wchar_t functionality.
      	* include/c_std/std_cwchar.h: Same.
      	* include/c_std/std_cwctype.h: Same.
      
      From-SVN: r71795
      2b1be54b
  32. Aug 20, 2003
  33. Aug 05, 2003
    • Phil Edwards's avatar
      Convert to new autotools. · ff66d28f
      Phil Edwards authored
      2003-08-04  Phil Edwards  <pme@gcc.gnu.org>
      
      	Convert to new autotools.
      	* acconfig.h:  Update with correct names.
      	* configure.host (ATOMICITYH):  Rename to atomicity_include_dir.
      	(qnx6.[12]*):  'q' comes before 's', not after 'w'.
      	* configure.in:  Update.  Split hardcoded cross-configury settings
      	out to...
      	* crossconfig.m4:  ...here.  New file.  Contents untouched.
      	* acinclude.m4:  Reorganize and rewrite as needed.  Split large
      	chunks out to...
      	* linkage.m4:  ...here.  New file.  Math and stdlib linkage tests.
      	Contents untouched.
      	* scripts/testsuite_flags.in:  Update.
      
      	* Makefile.am:  Remove unneeded AUTOMAKE_OPTIONS settings and other
      	variables (already generated by automake).
      	* include/Makefile.am:  Ditto.
      	* libmath/Makefile.am:  Ditto.
      	* libsupc++/Makefile.am:  Ditto.
      	* po/Makefile.am:  Ditto.
      	* src/Makefile.am:  Ditto.
      
      	* aclocal.m4:  Regenerate using new versions.
      	* config.h.in:  Ditto.
      	* configure:  Ditto.
      	* Makefile.in:  Ditto.
      	* include/Makefile.in:  Ditto.
      	* libmath/Makefile.in:  Ditto.
      	* libsupc++/Makefile.in:  Ditto.
      	* po/Makefile.in:  Ditto.
      	* src/Makefile.in:  Ditto.
      	* testsuite/Makefile.in:  Ditto.
      
      From-SVN: r70167
      ff66d28f
Loading