Commit 17640f24 by Eric Christopher

configure.target: Fix comment for mips atomicity.

2002-07-08  Eric Christopher  <echristo@redhat.com>

	* configure.target: Fix comment for mips atomicity. Add
	mips*-*-linux* target, enable atomic operations there.
	* config/cpu/mips/atomicity.h: Fix comments, remove
	#ifndef/#endif. Add push/pop mips2.

From-SVN: r55331
parent 0c3a2ea0
2002-07-08 Eric Christopher <echristo@redhat.com>
* configure.target: Fix comment for mips atomicity. Add
mips*-*-linux* target, enable atomic operations there.
* config/cpu/mips/atomicity.h: Fix comments, remove
#ifndef/#endif. Add push/pop mips2.
2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de> 2002-07-08 Peter Schmid <schmid@snake.iap.physik.tu-darmstadt.de>
* include/bits/stl_deque.h (_Deque_alloc_base): Change order of * include/bits/stl_deque.h (_Deque_alloc_base): Change order of
...@@ -22,7 +29,7 @@ ...@@ -22,7 +29,7 @@
* include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to * include/std/std_streambuf.h (basic_streambuf::_M_buf): Change to
size_t, from int_type. size_t, from int_type.
(basic_streambuf::_M_buf_size_opt): Same. (basic_streambuf::_M_buf_size_opt): Same.
(basic_streambuf::_S_pback_sizex): Same. (basic_streambuf::_S_pback_sizex): Same.
* include/bits/streambuf.tcc: Same. * include/bits/streambuf.tcc: Same.
* include/std/std_streambuf.h (basic_streambuf::snextc): Use * include/std/std_streambuf.h (basic_streambuf::snextc): Use
eq_int_type. eq_int_type.
...@@ -43,15 +50,15 @@ ...@@ -43,15 +50,15 @@
* testsuite/23_containers/map_operators.cc (test01): Split into.. * testsuite/23_containers/map_operators.cc (test01): Split into..
* testsuite/23_containers/map_operators_neg.cc (test01): ...this. New. * testsuite/23_containers/map_operators_neg.cc (test01): ...this. New.
* testsuite/23_containers/set_operators.cc: Move to... * testsuite/23_containers/set_operators.cc: Move to...
* testsuite/23_containers/set_operators_neg.cc: ...here. * testsuite/23_containers/set_operators_neg.cc: ...here.
* testsuite/README: Add some more naming rules. * testsuite/README: Add some more naming rules.
2002-07-03 Steev Wilcox <steev@paradigmds.com> 2002-07-03 Steev Wilcox <steev@paradigmds.com>
PR libstdc++/7057 PR libstdc++/7057
* include/ext/stl_hashtable.h: Fix. * include/ext/stl_hashtable.h: Fix.
* testsuite/ext/hash_map.cc: New. * testsuite/ext/hash_map.cc: New.
2002-07-03 Jack Reeves <jackw_reeves@hotmail.com> 2002-07-03 Jack Reeves <jackw_reeves@hotmail.com>
Kenny Simpson <theonetruekenny@yahoo.com> Kenny Simpson <theonetruekenny@yahoo.com>
Phil Edwards <pme@gcc.gnu.org> Phil Edwards <pme@gcc.gnu.org>
...@@ -111,7 +118,7 @@ ...@@ -111,7 +118,7 @@
* include/Makefile.am (backward_headers): Remove strstream.h. * include/Makefile.am (backward_headers): Remove strstream.h.
* include/Makefile.in: Regenerate. * include/Makefile.in: Regenerate.
* config/linker-map.gnu: Export strstream bits. * config/linker-map.gnu: Export strstream bits.
* src/fstream-inst.cc: Tweak. * src/fstream-inst.cc: Tweak.
* src/io-inst.cc: Same. * src/io-inst.cc: Same.
* src/istream-inst.cc: Same. * src/istream-inst.cc: Same.
...@@ -125,7 +132,7 @@ ...@@ -125,7 +132,7 @@
* configure.in (libtool_VERSION): Bump to 5:0:0. * configure.in (libtool_VERSION): Bump to 5:0:0.
* configure: Regenerate. * configure: Regenerate.
2002-06-28 Phil Edwards <pme@gcc.gnu.org> 2002-06-28 Phil Edwards <pme@gcc.gnu.org>
PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161 PR libstdc++/7157, PR libstdc++/7158, PR libstdc++/7161
...@@ -146,7 +153,7 @@ ...@@ -146,7 +153,7 @@
(libstdcxx_interface): Change. Use gcc methods to determine version. (libstdcxx_interface): Change. Use gcc methods to determine version.
* configure: Regenerate. * configure: Regenerate.
* aclocal.m4: Regenerate. * aclocal.m4: Regenerate.
2002-06-25 DJ Delorie <dj@redhat.com> 2002-06-25 DJ Delorie <dj@redhat.com>
* acinclude.m4 (GLIBCPP_CONFIGURE): Split out * acinclude.m4 (GLIBCPP_CONFIGURE): Split out
...@@ -214,8 +221,8 @@ ...@@ -214,8 +221,8 @@
* include/c/std_cwchar.h: Include cstddef for size_t. * include/c/std_cwchar.h: Include cstddef for size_t.
* include/c_std/std_cmath.h: Remove extra function. * include/c_std/std_cmath.h: Remove extra function.
Pendantic std usage in testsuites. Pendantic std usage in testsuites.
* testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t * testsuite/17_intro/header_cstdlib.cc (test01): Qualify ldiv_t
with std. with std.
* testsuite/17_intro/header_cwchar.cc: Tweak. * testsuite/17_intro/header_cwchar.cc: Tweak.
...@@ -248,7 +255,7 @@ ...@@ -248,7 +255,7 @@
* testsuite/26_numerics/fabs_inline.cc: Use std::printf. * testsuite/26_numerics/fabs_inline.cc: Use std::printf.
* testsuite/27_io/istream_seeks.cc (test02): Qualify abort. * testsuite/27_io/istream_seeks.cc (test02): Qualify abort.
* testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol. * testsuite/27_io/istream_extractor_arith.cc (test11): Qualify strtol.
2002-06-20 Benjamin Kosnik <bkoz@redhat.com> 2002-06-20 Benjamin Kosnik <bkoz@redhat.com>
* libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add * libsupc++/Makefile.am (libsupc__convenience_la_SOURCES): Add
...@@ -274,16 +281,16 @@ ...@@ -274,16 +281,16 @@
* aclocal.m4: Regenerate. * aclocal.m4: Regenerate.
* configure: Regenerate. * configure: Regenerate.
* configure.target (c_model, c_compatibility): Add. * configure.target (c_model, c_compatibility): Add.
* libsupc++/Makefile.am (c_sources): New. * libsupc++/Makefile.am (c_sources): New.
(libsupc___la_SOURCES): Add c_sources. (libsupc___la_SOURCES): Add c_sources.
(LTCOMPILE): Remove INCLUDES. (LTCOMPILE): Remove INCLUDES.
(GCC_INCLUDES): New. (GCC_INCLUDES): New.
(C_COMPILE): New, like COMPILE but without INCLUDES. (C_COMPILE): New, like COMPILE but without INCLUDES.
(cxa_demangle.o): Use C_COMPILE. (cxa_demangle.o): Use C_COMPILE.
(dyn-string.o): Use C_COMPILE. (dyn-string.o): Use C_COMPILE.
* include/c/std_cstdarg.h: Define __need___va_list. * include/c/std_cstdarg.h: Define __need___va_list.
* include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t, * include/c/std_cstddef.h: Define need_size_t, need_ptrdiff_t,
need_NULL, need_offsetof. need_NULL, need_offsetof.
...@@ -308,7 +315,7 @@ ...@@ -308,7 +315,7 @@
* src/Makefile.am (sources): Remove cmath.cc. * src/Makefile.am (sources): Remove cmath.cc.
* src/Makefile.in: Regenerate. * src/Makefile.in: Regenerate.
* src/cmath.cc: Remove. * src/cmath.cc: Remove.
2002-06-18 Phil Edwards <pme@gcc.gnu.org> 2002-06-18 Phil Edwards <pme@gcc.gnu.org>
* configure.target: Force mips to use the generic cpu routines. * configure.target: Force mips to use the generic cpu routines.
...@@ -368,14 +375,14 @@ ...@@ -368,14 +375,14 @@
2002-06-11 J.T. Conklin <jtc@acorntoolworks.com> 2002-06-11 J.T. Conklin <jtc@acorntoolworks.com>
Benjamin Kosnik <bkoz@redhat.com> Benjamin Kosnik <bkoz@redhat.com>
* configure.target: Set os_include_dir to config/os/qnx/qnx6.1 * configure.target: Set os_include_dir to config/os/qnx/qnx6.1
under *-qnx6.[12]*. under *-qnx6.[12]*.
* configure.in: Add support for *-qnx6.[12]*. * configure.in: Add support for *-qnx6.[12]*.
* configure: Regenerate. * configure: Regenerate.
* config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits: * config/os/qnx, config/os/qnx/qnx6.1, config/os/qnx/qnx6.1/bits:
New directories. New directories.
* config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h, * config/os/qnx/qnx6.1/bits/ctype_base.h, ctype_inline.h,
ctype_noninline.h, os_defines.h: New files. ctype_noninline.h, os_defines.h: New files.
...@@ -398,7 +405,7 @@ ...@@ -398,7 +405,7 @@
* include/backwards/strstream: Format. * include/backwards/strstream: Format.
* src/strstream.cc: Format. * src/strstream.cc: Format.
2002-06-08 Andreas Schwab <schwab@suse.de> 2002-06-08 Andreas Schwab <schwab@suse.de>
* src/strstream.cc (strstreambuf::overflow): Set _M_buf, * src/strstream.cc (strstreambuf::overflow): Set _M_buf,
...@@ -415,7 +422,7 @@ ...@@ -415,7 +422,7 @@
* include/bits/istream.tcc (basic_istream): Ditto. * include/bits/istream.tcc (basic_istream): Ditto.
(ws) Ditto. (ws) Ditto.
(operator>>) Ditto. (operator>>) Ditto.
* include/bits/ostream.tcc (basic_ostream): Ditto. * include/bits/ostream.tcc (basic_ostream): Ditto.
(endl): Ditto. (endl): Ditto.
(ends): Ditto. (ends): Ditto.
(flush): Ditto. (flush): Ditto.
...@@ -465,7 +472,7 @@ ...@@ -465,7 +472,7 @@
* testsuite/22_locale/money_put_members_wchar_t.cc: * testsuite/22_locale/money_put_members_wchar_t.cc:
(test02, test03, test06): Likewise. (test02, test03, test06): Likewise.
* testsuite/22_locale/num_get_members_char.cc: * testsuite/22_locale/num_get_members_char.cc:
(test02, test01): Likewise; suffix long long constants with LL. (test02, test01): Likewise; suffix long long constants with LL.
* testsuite/22_locale/num_get_members_wchar_t.cc: * testsuite/22_locale/num_get_members_wchar_t.cc:
(test02, test01): Likewise. (test02, test01): Likewise.
* testsuite/22_locale/num_put_members_char.cc: * testsuite/22_locale/num_put_members_char.cc:
...@@ -536,24 +543,24 @@ ...@@ -536,24 +543,24 @@
* src/misc-inst.cc: Define unnecessary algorithm * src/misc-inst.cc: Define unnecessary algorithm
instantiations. Break apart instantiations into groupings below. instantiations. Break apart instantiations into groupings below.
* src/fstream-inst.cc: New. * src/fstream-inst.cc: New.
* src/io-inst.cc: New. * src/io-inst.cc: New.
* src/istream-inst.cc: New. * src/istream-inst.cc: New.
* src/ostream-inst.cc: New. * src/ostream-inst.cc: New.
* src/streambuf-inst.cc: New. * src/streambuf-inst.cc: New.
* src/sstream-inst.cc: New. * src/sstream-inst.cc: New.
* src/Makefile.am (sources): Add files. * src/Makefile.am (sources): Add files.
* src/Makefile.in: Regenerate. * src/Makefile.in: Regenerate.
* acinclude.m4: Work around automake 1.4-p5 bug, change * acinclude.m4: Work around automake 1.4-p5 bug, change
AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT. AM_GNU_GETTEXT in comments to AM-GNU-GETTEXT.
2002-05-27 Benjamin Kosnik <bkoz@redhat.com> 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6795. PR libstdc++/6795.
* config/os/solaris/solaris2.6/bits/ctype_noninline.h * config/os/solaris/solaris2.6/bits/ctype_noninline.h
(classic_table): Fix. (classic_table): Fix.
* config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same. * config/os/solaris/solaris2.5/bits/ctype_noninline.h: Same.
2002-05-27 Benjamin Kosnik <bkoz@redhat.com> 2002-05-27 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/ctype_is_wchar_t.cc: Guard with * testsuite/22_locale/ctype_is_wchar_t.cc: Guard with
...@@ -561,7 +568,7 @@ ...@@ -561,7 +568,7 @@
* testsuite/22_locale/ctype_narrow_wchar_t.cc: Same. * testsuite/22_locale/ctype_narrow_wchar_t.cc: Same.
* testsuite/22_locale/ctype_to_wchar_t.cc: Same. * testsuite/22_locale/ctype_to_wchar_t.cc: Same.
* testsuite/22_locale/ctype_widen_wchar_t.cc: Same. * testsuite/22_locale/ctype_widen_wchar_t.cc: Same.
2002-05-26 Carlo Wood <carlo@alinoe.com> 2002-05-26 Carlo Wood <carlo@alinoe.com>
Paolo Carlini <pcarlini@unitus.it> Paolo Carlini <pcarlini@unitus.it>
...@@ -581,7 +588,7 @@ ...@@ -581,7 +588,7 @@
PR libstdc++/6701 PR libstdc++/6701
* testsuite/22_locale/ctype_narrow_char.cc: New. * testsuite/22_locale/ctype_narrow_char.cc: New.
* testsuite/22_locale/ctype_narrow_wchar_t.cc: New. * testsuite/22_locale/ctype_narrow_wchar_t.cc: New.
* testsuite/22_locale/ctype_widen_char.cc: New. * testsuite/22_locale/ctype_widen_char.cc: New.
* testsuite/22_locale/ctype_widen_wchar_t.cc: New. * testsuite/22_locale/ctype_widen_wchar_t.cc: New.
* testsuite/22_locale/ctype_members_char.cc: Move some bits into... * testsuite/22_locale/ctype_members_char.cc: Move some bits into...
...@@ -592,13 +599,13 @@ ...@@ -592,13 +599,13 @@
* testsuite/22_locale/ctype_to_wchar_t.cc: ...and this. * testsuite/22_locale/ctype_to_wchar_t.cc: ...and this.
* testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass. * testsuite/22_locale/ctype_scan_wchar_t.cc: Should pass.
2002-05-24 Dale Peakall <dale@peakall.net> 2002-05-24 Dale Peakall <dale@peakall.net>
PR libstdc++/6701 PR libstdc++/6701
* config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix. * config/locale/gnu/ctype_members.cc (ctype<wchar_t>::do_narrow): Fix.
* config/locale/generic/ctype_members.cc: Same. * config/locale/generic/ctype_members.cc: Same.
2002-05-24 Benjamin Kosnik <bkoz@redhat.com> 2002-05-24 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6750 PR libstdc++/6750
...@@ -609,13 +616,13 @@ ...@@ -609,13 +616,13 @@
(ostream<char>::operator<<(streambuf*)): Same. (ostream<char>::operator<<(streambuf*)): Same.
* testsuite/27_io/ostream_inserter_char.cc (test08): Add tests. * testsuite/27_io/ostream_inserter_char.cc (test08): Add tests.
* testsuite/27_io/ostream_inserter_other.cc (test02): Modify. * testsuite/27_io/ostream_inserter_other.cc (test02): Modify.
2002-05-23 Benjamin Kosnik <bkoz@redhat.com> 2002-05-23 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (release_VERSION): Update to 3.1.1. * configure.in (release_VERSION): Update to 3.1.1.
(libtool_VERSION): Update to 4:1:0. (libtool_VERSION): Update to 4:1:0.
* configure: Regenerate. * configure: Regenerate.
2002-05-21 Phil Edwards <pme@gcc.gnu.org> 2002-05-21 Phil Edwards <pme@gcc.gnu.org>
* include/bits/stl_pair.h: Tweak comment markup. * include/bits/stl_pair.h: Tweak comment markup.
...@@ -689,7 +696,7 @@ ...@@ -689,7 +696,7 @@
(ostream::operator<<(const _CharT*)): Same. (ostream::operator<<(const _CharT*)): Same.
(ostream<char>::operator<<(const char*)): Same. (ostream<char>::operator<<(const char*)): Same.
* testsuite/27_io/ostream_inserter_char.cc (test07): Add test. * testsuite/27_io/ostream_inserter_char.cc (test07): Add test.
2002-05-15 Benjamin Kosnik <bkoz@redhat.com> 2002-05-15 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/6594 PR libstdc++/6594
...@@ -706,10 +713,10 @@ ...@@ -706,10 +713,10 @@
2002-05-13 Benjamin Kosnik <bkoz@redhat.com> 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/22_locale/ctype_scan_char.cc: Tweak. * testsuite/22_locale/ctype_scan_char.cc: Tweak.
* testsuite/22_locale/ctype_scan_wchar_t.cc: New. * testsuite/22_locale/ctype_scan_wchar_t.cc: New.
* docs/html/install.html: Fix. * docs/html/install.html: Fix.
2002-05-13 Benjamin Kosnik <bkoz@redhat.com> 2002-05-13 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/fstream.tcc * include/bits/fstream.tcc
...@@ -721,7 +728,7 @@ ...@@ -721,7 +728,7 @@
for the 22_locale tests when using the gnu model. for the 22_locale tests when using the gnu model.
* testsuite/27_io/istream_sentry.cc: Tweak. * testsuite/27_io/istream_sentry.cc: Tweak.
2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2002-05-13 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not): * config/os/irix/irix5.2/bits/ctype_inline.h (scan_is, scan_not):
...@@ -823,16 +830,16 @@ ...@@ -823,16 +830,16 @@
* testsuite/22_locale/messages_members_char.cc: Add test03. * testsuite/22_locale/messages_members_char.cc: Add test03.
* testsuite/22_locale/money_get_members_char.cc: Add test08. * testsuite/22_locale/money_get_members_char.cc: Add test08.
* testsuite/22_locale/money_get_members_wchar_t.cc: Likewise. * testsuite/22_locale/money_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/money_put_members_char.cc: Add test07. * testsuite/22_locale/money_put_members_char.cc: Add test07.
* testsuite/22_locale/money_put_members_wchar_t.cc: Likewise. * testsuite/22_locale/money_put_members_wchar_t.cc: Likewise.
* testsuite/22_locale/moneypunct_members_char.cc: Add test03. * testsuite/22_locale/moneypunct_members_char.cc: Add test03.
* testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise. * testsuite/22_locale/moneypunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/num_get_members_char.cc: Add test06. * testsuite/22_locale/num_get_members_char.cc: Add test06.
* testsuite/22_locale/num_get_members_wchar_t.cc: Likewise. * testsuite/22_locale/num_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/numpunct_members_char.cc: Add test03. * testsuite/22_locale/numpunct_members_char.cc: Add test03.
* testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise. * testsuite/22_locale/numpunct_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_get_members_char.cc: Add test08. * testsuite/22_locale/time_get_members_char.cc: Add test08.
* testsuite/22_locale/time_get_members_wchar_t.cc: Likewise. * testsuite/22_locale/time_get_members_wchar_t.cc: Likewise.
* testsuite/22_locale/time_put_members_char.cc: Add test04. * testsuite/22_locale/time_put_members_char.cc: Add test04.
* testsuite/22_locale/time_put_members_wchar_t.cc: Likewise. * testsuite/22_locale/time_put_members_wchar_t.cc: Likewise.
...@@ -883,7 +890,7 @@ ...@@ -883,7 +890,7 @@
PR libstdc++/6549. PR libstdc++/6549.
* include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert. * include/bits/fstream.tcc (filebuf::_M_underflow_common): Revert.
* testsuite/27_io/narrow_stream_objects.cc (test07): Add. * testsuite/27_io/narrow_stream_objects.cc (test07): Add.
2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> 2002-05-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table): * config/os/irix/irix5.2/bits/ctype_noninline.h (classic_table):
...@@ -926,7 +933,7 @@ ...@@ -926,7 +933,7 @@
PR libstdc++/6533 PR libstdc++/6533
* include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New. * include/bits/streambuf_iterator.h (istreambuf_iterator::_M_get): New.
(istreambuf_iterator::equal): Use it. (istreambuf_iterator::equal): Use it.
(istreambuf_iterator::operator*): Use it. (istreambuf_iterator::operator*): Use it.
2002-05-01 Paolo Carlini <pcarlini@unitus.it> 2002-05-01 Paolo Carlini <pcarlini@unitus.it>
...@@ -938,7 +945,7 @@ ...@@ -938,7 +945,7 @@
* testsuite/23_containers/vector_ctor.cc: Add test04. * testsuite/23_containers/vector_ctor.cc: Add test04.
2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca> 2002-04-30 John David Anglin <dave@hiauly1.hia.nrc.ca>
PR libstdc++/6501 PR libstdc++/6501
* include/c_std/std_cctype.h: Include bits/c++config.h. * include/c_std/std_cctype.h: Include bits/c++config.h.
* config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define. * config/os/hpux/bits/os_defines.h (_SB_CTYPE_MACROS): Define.
...@@ -946,9 +953,9 @@ ...@@ -946,9 +953,9 @@
2002-04-30 Benjamin Kosnik <bkoz@redhat.com> 2002-04-30 Benjamin Kosnik <bkoz@redhat.com>
* include/ext/stdio_filebuf.h: New file. * include/ext/stdio_filebuf.h: New file.
* include/ext/enc_filebuf.h: New file. * include/ext/enc_filebuf.h: New file.
* config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor. * config/io/basic_file_stdio.h (__basic_file::sys_open): Add fd ctor.
* config/io/basic_file_stdio.cc: Same. * config/io/basic_file_stdio.cc: Same.
* include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer): * include/bits/fstream.tcc (filebuf::_M_allocate_internal_buffer):
Remove _M_unbuf hacks. Remove _M_unbuf hacks.
(filebuf::_M_destroy_internal_buffer): Same. (filebuf::_M_destroy_internal_buffer): Same.
...@@ -956,7 +963,7 @@ ...@@ -956,7 +963,7 @@
(filebuf::fd): Remove. (filebuf::fd): Remove.
* include/std/std_fstream.h (filebuf::_M_unbuf): Remove. * include/std/std_fstream.h (filebuf::_M_unbuf): Remove.
(filebuf::filebuf(__c_file*, openmode, int_type)): Remove. (filebuf::filebuf(__c_file*, openmode, int_type)): Remove.
(filebuf::fd): Remove. (filebuf::fd): Remove.
* src/ios.cc (ios_base::_S_ios_create): Change to use specialized * src/ios.cc (ios_base::_S_ios_create): Change to use specialized
filebufs. filebufs.
(ios_base::_S_ios_destroy): Same. (ios_base::_S_ios_destroy): Same.
...@@ -978,12 +985,12 @@ ...@@ -978,12 +985,12 @@
(istreambuf_iterator::operator++): Invalidate on eof. (istreambuf_iterator::operator++): Invalidate on eof.
(istreambuf_iterator::operator++(int)): Same. (istreambuf_iterator::operator++(int)): Same.
(istreambuf_iterator::operator*): Same. (istreambuf_iterator::operator*): Same.
2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 2002-04-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE>
* testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all * testsuite/lib/libstdc++-v3-dg.exp (libstdc++-v3-init): Set all
of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH, of LD_LIBRARY_PATH, SHLIB_PATH, LD_LIBRARYN32_PATH,
LD_LIBRARY64_PATH. LD_LIBRARY64_PATH.
2002-04-28 Benjamin Kosnik <bkoz@redhat.com> 2002-04-28 Benjamin Kosnik <bkoz@redhat.com>
...@@ -994,7 +1001,7 @@ ...@@ -994,7 +1001,7 @@
* include/bits/fstream.tcc (basic_filebuf::_M_underflow_common): * include/bits/fstream.tcc (basic_filebuf::_M_underflow_common):
Use sys_getc for unbuffered input. Use sys_getc for unbuffered input.
* testsuite/27_io/narrow_stream_objects.cc (test06): New. * testsuite/27_io/narrow_stream_objects.cc (test06): New.
* src/ios.cc (_M_grow_words): Adjust error checking. * src/ios.cc (_M_grow_words): Adjust error checking.
* testsuite/27_io/ios_base_storage.cc: Same. * testsuite/27_io/ios_base_storage.cc: Same.
...@@ -1057,11 +1064,11 @@ ...@@ -1057,11 +1064,11 @@
2002-04-20 Jason Merrill <jason@redhat.com> 2002-04-20 Jason Merrill <jason@redhat.com>
PR libstdc++/4150 PR libstdc++/4150
* include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate): * include/std/std_streambuf.h (basic_streambuf::_M_set_indeterminate):
Move to filebuf. Move to filebuf.
(basic_streambuf::_M_set_determinate): Likewise. (basic_streambuf::_M_set_determinate): Likewise.
(basic_streambuf::_M_is_indeterminate): Likewise. (basic_streambuf::_M_is_indeterminate): Likewise.
* include/bits/std_fstream.h (basic_filebuf::_M_filepos): New * include/bits/std_fstream.h (basic_filebuf::_M_filepos): New
non-static data member. non-static data member.
(basic_filebuf::_M_underflow_common): New non-static member function. (basic_filebuf::_M_underflow_common): New non-static member function.
(basic_filebuf::_M_underflow, _M_uflow): Call it. (basic_filebuf::_M_underflow, _M_uflow): Call it.
...@@ -1073,13 +1080,13 @@ ...@@ -1073,13 +1080,13 @@
* include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek * include/bits/fstream.tcc (basic_filebuf::_M_really_overflow): Seek
back to _M_out_beg if necessary. back to _M_out_beg if necessary.
(basic_filebuf::seekoff): Likewise. (basic_filebuf::seekoff): Likewise.
(basic_filebuf::_M_underflow_common): Generalization of old (basic_filebuf::_M_underflow_common): Generalization of old
underflow(). Don't seek back to _M_in_beg. underflow(). Don't seek back to _M_in_beg.
* src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff. * src/ios.cc: Lose _GLIBCPP_AVOID_FSEEK stuff.
* config/os/solaris/solaris2.?/bits/os_defines.h: Likewise. * config/os/solaris/solaris2.?/bits/os_defines.h: Likewise.
* config/os/bsd/freebsd/bits/os_defines.h: Likewise. * config/os/bsd/freebsd/bits/os_defines.h: Likewise.
* config/os/mingw32/bits/os_defines.h: Likewise. * config/os/mingw32/bits/os_defines.h: Likewise.
* testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify * testsuite/27_io/filebuf_virtuals.cc (test05): Don't overspecify
ungetc test. ungetc test.
2002-04-22 Benjamin Kosnik <bkoz@redhat.com> 2002-04-22 Benjamin Kosnik <bkoz@redhat.com>
...@@ -1094,7 +1101,7 @@ ...@@ -1094,7 +1101,7 @@
delimiter as is. delimiter as is.
* include/bits/streambuf.tcc: Use this->gptr. * include/bits/streambuf.tcc: Use this->gptr.
* testsuite/27_io/istream_unformatted.cc (test08): Add test. * testsuite/27_io/istream_unformatted.cc (test08): Add test.
2002-04-18 Benjamin Kosnik <bkoz@redhat.com> 2002-04-18 Benjamin Kosnik <bkoz@redhat.com>
* include/bits/localefwd.h (locale::id::_M_id): Do this correctly, * include/bits/localefwd.h (locale::id::_M_id): Do this correctly,
...@@ -1106,7 +1113,7 @@ ...@@ -1106,7 +1113,7 @@
* testsuite/21_strings/inserters_extractors.cc: Tweaks. * testsuite/21_strings/inserters_extractors.cc: Tweaks.
* testsuite/27_io/instantiations.cc (test): Add bool variable... * testsuite/27_io/instantiations.cc (test): Add bool variable...
* testsuite/21_strings/capacity.cc: Clean. * testsuite/21_strings/capacity.cc: Clean.
2002-04-17 Phil Edwards <pme@gcc.gnu.org> 2002-04-17 Phil Edwards <pme@gcc.gnu.org>
* docs/doxygen/doxygroups.cc: New group on binary searching. * docs/doxygen/doxygroups.cc: New group on binary searching.
...@@ -1129,11 +1136,11 @@ ...@@ -1129,11 +1136,11 @@
2002-04-17 Benjamin Kosnik <bkoz@redhat.com> 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
* config/linker-map.gnu (__malloc_alloc_template): Add. * config/linker-map.gnu (__malloc_alloc_template): Add.
(__default_alloc_template): Same. (__default_alloc_template): Same.
* include/bits/stl_alloc.h (__malloc_alloc_template): Add extern * include/bits/stl_alloc.h (__malloc_alloc_template): Add extern
template. template.
(__default_alloc_template): Same. (__default_alloc_template): Same.
2002-04-17 Benjamin Kosnik <bkoz@redhat.com> 2002-04-17 Benjamin Kosnik <bkoz@redhat.com>
* testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation. * testsuite/27_io/filebuf_virtuals.cc: Add _S_pback_size instantiation.
...@@ -1147,11 +1154,11 @@ ...@@ -1147,11 +1154,11 @@
* include/bits/istream.tcc: Remove sputbackc calls. * include/bits/istream.tcc: Remove sputbackc calls.
* testsuite/19_diagnostics/stdexceptions.cc: Fix comment. * testsuite/19_diagnostics/stdexceptions.cc: Fix comment.
2002-04-16 Paolo Carlini <pcarlini@unitus.it> 2002-04-16 Paolo Carlini <pcarlini@unitus.it>
* testsuite/24_iterators/rel_ops.cc: New test. * testsuite/24_iterators/rel_ops.cc: New test.
2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com> 2002-04-16 Gabriel Dos Reis <gdr@merlin.codesourcery.com>
* include/bits/type_traits.h (__normal_iterator): Declare in * include/bits/type_traits.h (__normal_iterator): Declare in
...@@ -1170,11 +1177,11 @@ ...@@ -1170,11 +1177,11 @@
Valgrind fixes. Valgrind fixes.
* config/io/basic_file_stdio.cc (__basic_file::~__basic_file): * config/io/basic_file_stdio.cc (__basic_file::~__basic_file):
Call close. Call close.
(__basic_file::close): Call fflush. Correct return if fclose ok. (__basic_file::close): Call fflush. Correct return if fclose ok.
(__basic_file::is_open): Make const. (__basic_file::is_open): Make const.
Change __c_file_type to __c_file. Change __c_file_type to __c_file.
* config/io/basic_file_stdio.h: Change __c_file_type to __c_file. * config/io/basic_file_stdio.h: Change __c_file_type to __c_file.
(__basic_file::is_open): Make const. (__basic_file::is_open): Make const.
* config/io/c_io_stdio.h: Change __c_file_type to __c_file. * config/io/c_io_stdio.h: Change __c_file_type to __c_file.
* include/std/std_fstream.h (filebuf::_M_allocate_file): Remove. * include/std/std_fstream.h (filebuf::_M_allocate_file): Remove.
(filebuf::_M_unbuf): Add. (filebuf::_M_unbuf): Add.
...@@ -1185,7 +1192,7 @@ ...@@ -1185,7 +1192,7 @@
Change initialization list for _M_file change. Change initialization list for _M_file change.
(filebuf::_M_allocate_pback_buffer): Remove. (filebuf::_M_allocate_pback_buffer): Remove.
Change _M_file usage to reflect non-pointer data member. Change _M_file usage to reflect non-pointer data member.
* config/locale/generic/c_locale.cc * config/locale/generic/c_locale.cc
(locale::facet::_S_create_c_locale): Add parameter. (locale::facet::_S_create_c_locale): Add parameter.
* config/locale/generic/collate_members.cc: Change * config/locale/generic/collate_members.cc: Change
...@@ -1212,7 +1219,7 @@ ...@@ -1212,7 +1219,7 @@
* config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef. * config/locale/ieee_1003.1-2001/c_locale.h: Correct typedef.
* config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove * config/locale/ieee_1003.1-2001/codecvt_specializations.h: Remove
bogus ctor. bogus ctor.
* include/bits/locale_facets.h (moneypunct): Use string literals. * include/bits/locale_facets.h (moneypunct): Use string literals.
Don't define dtor. Don't define dtor.
(numpunct): Same. (numpunct): Same.
...@@ -1229,7 +1236,7 @@ ...@@ -1229,7 +1236,7 @@
(locale::_Impl::_Impl(facet**, size_t, bool)): Add. (locale::_Impl::_Impl(facet**, size_t, bool)): Add.
(locale::_Impl::_Impl(string, size_t)): Change to (locale::_Impl::_Impl(string, size_t)): Change to
(locale::_Impl::_Impl(const char*, size_t)): This. (locale::_Impl::_Impl(const char*, size_t)): This.
* include/bits/streambuf.tcc (streambuf::_S_pback_size): Define. * include/bits/streambuf.tcc (streambuf::_S_pback_size): Define.
* include/std/std_streambuf.h (streambuf::_M_pback_size): Change to * include/std/std_streambuf.h (streambuf::_M_pback_size): Change to
(streambuf::_S_pback_size): This. (streambuf::_S_pback_size): This.
...@@ -1241,12 +1248,12 @@ ...@@ -1241,12 +1248,12 @@
* src/localename.cc: Same. * src/localename.cc: Same.
* include/bits/stl_vector.h: Fix odd formatting. * include/bits/stl_vector.h: Fix odd formatting.
* include/bits/basic_string.tcc: Tweak comment. * include/bits/basic_string.tcc: Tweak comment.
* libsupc++/new: Make sure parameters are uglified. * libsupc++/new: Make sure parameters are uglified.
* libsupc++/typeinfo: Same. * libsupc++/typeinfo: Same.
* testsuite/22_locale/num_get_members_char.cc: Fixup. * testsuite/22_locale/num_get_members_char.cc: Fixup.
* testsuite/22_locale/num_get_members_wchar_t.cc: Same. * testsuite/22_locale/num_get_members_wchar_t.cc: Same.
* testsuite/27_io/filebuf_members.cc: Same. * testsuite/27_io/filebuf_members.cc: Same.
...@@ -1287,13 +1294,13 @@ ...@@ -1287,13 +1294,13 @@
(has_locale): Adjust. (has_locale): Adjust.
* src/locale.cc: Adjust. * src/locale.cc: Adjust.
* src/localename.cc: Same. * src/localename.cc: Same.
2002-04-09 Benjamin Kosnik <bkoz@redhat.com> 2002-04-09 Benjamin Kosnik <bkoz@redhat.com>
Richard Henderson <rth@redhat.com> Richard Henderson <rth@redhat.com>
* include/bits/sstream.tcc: Clean up bit ops. * include/bits/sstream.tcc: Clean up bit ops.
* include/bits/fstream.tcc: Same. * include/bits/fstream.tcc: Same.
2002-04-09 Jakub Jelinek <jakub@redhat.com> 2002-04-09 Jakub Jelinek <jakub@redhat.com>
* include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove. * include/bits/locale_facets.h (__num_base::_S_scale_hex): Remove.
...@@ -1312,7 +1319,7 @@ ...@@ -1312,7 +1319,7 @@
Format. Format.
* src/bitset.cc: Adjust. * src/bitset.cc: Adjust.
* config/linker-map.gnu: Export. * config/linker-map.gnu: Export.
2002-04-08 Benjamin Kosnik <bkoz@redhat.com> 2002-04-08 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5180 libstdc++/5180
...@@ -1323,7 +1330,7 @@ ...@@ -1323,7 +1330,7 @@
open modes and which modes. open modes and which modes.
(stringbuf::seekpos): Same. (stringbuf::seekpos): Same.
* testsuite/27_io/stringbuf_virtuals.cc: New tests. * testsuite/27_io/stringbuf_virtuals.cc: New tests.
2002-04-05 Jonathan Wakely <jw@kayari.org> 2002-04-05 Jonathan Wakely <jw@kayari.org>
* include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy, * include/bits/stl_algo.h (unique_copy, __gcd, rotate, rotate_copy,
...@@ -1337,24 +1344,24 @@ ...@@ -1337,24 +1344,24 @@
2002-04-04 Benjamin Kosnik <bkoz@redhat.com> 2002-04-04 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3457 libstdc++/3457
via gawrilow@math.tu-berlin.de via gawrilow@math.tu-berlin.de
* acinclude.m4 (version_specific_libs): Fix combo usage with * acinclude.m4 (version_specific_libs): Fix combo usage with
--with-gxx-include-dir. --with-gxx-include-dir.
* aclocal.m4: Regenerate. * aclocal.m4: Regenerate.
* configure: Same. * configure: Same.
2002-04-03 Benjamin Kosnik <bkoz@redhat.com> 2002-04-03 Benjamin Kosnik <bkoz@redhat.com>
As per DR 184, libstdc++/3139 As per DR 184, libstdc++/3139
* include/std/std_limits.h (__glibcpp_bool_digits): Change to 1. * include/std/std_limits.h (__glibcpp_bool_digits): Change to 1.
(numeric_limits<bool>::is_iec559): False. (numeric_limits<bool>::is_iec559): False.
(numeric_limits<bool>::is_modulo): False. (numeric_limits<bool>::is_modulo): False.
* testsuite/27_io/ios_init.cc: Add instantiations. * testsuite/27_io/ios_init.cc: Add instantiations.
2002-04-02 Benjamin Kosnik <bkoz@redhat.com> 2002-04-02 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/5268 libstdc++/5268
* src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls. * src/ios.cc: (ios_base::Init::_S_ios_destroy): Remove flush calls.
* testsuite/27_io/ios_init.cc (tests04): Add test. * testsuite/27_io/ios_init.cc (tests04): Add test.
...@@ -1366,7 +1373,7 @@ ...@@ -1366,7 +1373,7 @@
* include/bits/istream.tcc: Use _M_fctype, make consistent with * include/bits/istream.tcc: Use _M_fctype, make consistent with
ostream. ostream.
* testsuite/27_io/ios_init.cc (tests03): Add test. * testsuite/27_io/ios_init.cc (tests03): Add test.
2002-04-02 Phil Edwards <pme@gcc.gnu.org> 2002-04-02 Phil Edwards <pme@gcc.gnu.org>
* include/Makefile.am (install-data-local): Use mkinstalldirs. * include/Makefile.am (install-data-local): Use mkinstalldirs.
...@@ -1418,31 +1425,31 @@ ...@@ -1418,31 +1425,31 @@
verbose_terminate_handler into line with reality. verbose_terminate_handler into line with reality.
2002-04-01 Benjamin Kosnik <bkoz@redhat.com> 2002-04-01 Benjamin Kosnik <bkoz@redhat.com>
libstdc++/3129 libstdc++/3129
* include/bits/basic_ios.h (basic_ios::_M_exception): Move. * include/bits/basic_ios.h (basic_ios::_M_exception): Move.
(basic_ios::_M_streambuf_state): Move. (basic_ios::_M_streambuf_state): Move.
* include/bits/ios_base (ios_base): To here. * include/bits/ios_base (ios_base): To here.
* include/bits/ios_base.h (ios_base::_S_local_words): To * include/bits/ios_base.h (ios_base::_S_local_words): To
_S_local_word_size. _S_local_word_size.
(ios_base::_M_word_array): To _M_local_word. (ios_base::_M_word_array): To _M_local_word.
(ios_base::_M_words_limit): To _M_word_size. (ios_base::_M_words_limit): To _M_word_size.
(ios_base::_M_words): To _M_word. (ios_base::_M_words): To _M_word.
Comment. Comment.
* include/bits/basic_ios.tcc: Adjust. * include/bits/basic_ios.tcc: Adjust.
* src/ios.cc (ios_base::_M_grow_words): Tweak. * src/ios.cc (ios_base::_M_grow_words): Tweak.
* testsuite/27_io/ios_base_storage.cc: Add tests. * testsuite/27_io/ios_base_storage.cc: Add tests.
libstdc++/5207 libstdc++/5207
Kenny Simpson <theonetruekenny@yahoo.com> Kenny Simpson <theonetruekenny@yahoo.com>
* include/bits/ios_base.h: Fix. * include/bits/ios_base.h: Fix.
Richard Henderson <rth@redhat.com> Richard Henderson <rth@redhat.com>
* include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct * include/bits/ostream.tcc (ostream::operator<<(_CharT)): Correct
last change. last change.
* include/bits/basic_string.h: Tweak formatting. * include/bits/basic_string.h: Tweak formatting.
2002-04-01 Paolo Carlini <pcarlini@unitus.it> 2002-04-01 Paolo Carlini <pcarlini@unitus.it>
* config/locale/ieee_1003.1-2001/codecvt_specializations.h * config/locale/ieee_1003.1-2001/codecvt_specializations.h
......
// Low-level functions for atomic operations. MIPS II version. // Low-level functions for atomic operations.
// Copyright (C) 2001 Free Software Foundation, Inc. // Copyright (C) 2001, 2002 Free Software Foundation, Inc.
// //
// This file is part of the GNU ISO C++ Library. This library is free // This file is part of the GNU ISO C++ Library. This library is free
// software; you can redistribute it and/or modify it under the // software; you can redistribute it and/or modify it under the
...@@ -27,12 +27,9 @@ ...@@ -27,12 +27,9 @@
// invalidate any other reasons why the executable file might be covered by // invalidate any other reasons why the executable file might be covered by
// the GNU General Public License. // the GNU General Public License.
#ifndef _BITS_ATOMICITY_H #ifndef _BITS_ATOMICITY_H
#define _BITS_ATOMICITY_H 1 #define _BITS_ATOMICITY_H 1
// #include <sgidefs.h>
// #ifdef (_MIPS_ISA_MIPS2)
typedef int _Atomic_word; typedef int _Atomic_word;
static inline int static inline int
...@@ -44,9 +41,12 @@ __exchange_and_add (volatile _Atomic_word *__mem, int __val) ...@@ -44,9 +41,12 @@ __exchange_and_add (volatile _Atomic_word *__mem, int __val)
__asm__ __volatile__ __asm__ __volatile__
("/* Inline exchange & add */\n\t" ("/* Inline exchange & add */\n\t"
"1:\n\t" "1:\n\t"
".set push\n\t"
".set mips2\n\t"
"ll %0,%3\n\t" "ll %0,%3\n\t"
"addu %1,%4,%0\n\t" "addu %1,%4,%0\n\t"
"sc %1,%2\n\t" "sc %1,%2\n\t"
".set pop\n\t"
"beqz %1,1b\n\t" "beqz %1,1b\n\t"
"/* End exchange & add */" "/* End exchange & add */"
: "=&r"(__result), "=&r"(__tmp), "=m"(*__mem) : "=&r"(__result), "=&r"(__tmp), "=m"(*__mem)
...@@ -65,9 +65,12 @@ __atomic_add (volatile _Atomic_word *__mem, int __val) ...@@ -65,9 +65,12 @@ __atomic_add (volatile _Atomic_word *__mem, int __val)
__asm__ __volatile__ __asm__ __volatile__
("/* Inline atomic add */\n\t" ("/* Inline atomic add */\n\t"
"1:\n\t" "1:\n\t"
".set push\n\t"
".set mips2\n\t"
"ll %0,%2\n\t" "ll %0,%2\n\t"
"addu %0,%3,%0\n\t" "addu %0,%3,%0\n\t"
"sc %0,%1\n\t" "sc %0,%1\n\t"
".set pop\n\t"
"beqz %0,1b\n\t" "beqz %0,1b\n\t"
"/* End atomic add */" "/* End atomic add */"
: "=&r"(__result), "=m"(*__mem) : "=&r"(__result), "=m"(*__mem)
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
# #
# c_model the model to use for "C" headers, defaults to c_std. # c_model the model to use for "C" headers, defaults to c_std.
# #
# c_compatibility if "C" compatibility headers are necessary, # c_compatibility if "C" compatibility headers are necessary,
# defaults to no. # defaults to no.
# #
# It possibly modifies the following variables: # It possibly modifies the following variables:
...@@ -58,10 +58,10 @@ c_model=c_std ...@@ -58,10 +58,10 @@ c_model=c_std
c_compatibility=no c_compatibility=no
# TARGET-SPECIFIC OVERRIDES # TARGET-SPECIFIC OVERRIDES
# Set any CPU-dependent bits. # Set any CPU-dependent bits.
# Here we override defaults and catch more general cases due to naming # Here we override defaults and catch more general cases due to naming
# conventions (e.g., chip_name* to catch all variants). # conventions (e.g., chip_name* to catch all variants).
# THIS TABLE IS SORTED. KEEP IT THAT WAY. # THIS TABLE IS SORTED. KEEP IT THAT WAY.
case "${target_cpu}" in case "${target_cpu}" in
alpha*) alpha*)
...@@ -77,8 +77,9 @@ case "${target_cpu}" in ...@@ -77,8 +77,9 @@ case "${target_cpu}" in
m68k | m680[246]0) m68k | m680[246]0)
cpu_include_dir="cpu/m68k" cpu_include_dir="cpu/m68k"
;; ;;
mips) mips*)
# This is only until the mips routines are fixed. # MIPS chips are unreliable as to sc/ll support. By default
# don't use atomic instructions and override for the OS.
cpu_include_dir="cpu/generic" cpu_include_dir="cpu/generic"
;; ;;
mmix) mmix)
...@@ -123,7 +124,7 @@ unset _cpu_incdir_fullpath ...@@ -123,7 +124,7 @@ unset _cpu_incdir_fullpath
# Set any OS-dependent bits. # Set any OS-dependent bits.
# Set the os_include_dir. # Set the os_include_dir.
# Set c_model, c_compatibility here. # Set c_model, c_compatibility here.
# If atomic ops and/or numeric limits are OS-specific rather than # If atomic ops and/or numeric limits are OS-specific rather than
# CPU-specifc, set those here too. # CPU-specifc, set those here too.
...@@ -202,5 +203,7 @@ case "${target}" in ...@@ -202,5 +203,7 @@ case "${target}" in
alpha*-*-*osf5*) alpha*-*-*osf5*)
CPULIMITSH="os/osf/osf5.0" CPULIMITSH="os/osf/osf5.0"
;; ;;
mips*-*-linux*)
ATOMICITYH="cpu/mips"
;;
esac esac
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment