Commit Graph

6664 Commits

Author SHA1 Message Date
Danny Smith cd341e5613 * include/math.h: Guard ISO C99 additions with __cplusplus
not __GLIBCPP__.
2004-07-17 05:15:26 +00:00
Christopher Faylor 241422d046 * Makefile.in (CC): Strip inappropriate include file settings from any
passed-in CC.
2004-07-17 04:31:14 +00:00
Richard Earnshaw cc304ef63e * arm.h: Remove all old content. Replace with architecture defines
from gas/config/tc-arm.c.
2004-07-16 21:59:35 +00:00
Jeff Johnston 63b9dcc472 2004-07-16 Anil Paranjpe <anilp1@kpitcummins.com>
* configure.host (h8300*-*-*): Default long long printing support.
2004-07-16 21:40:22 +00:00
Christopher Faylor 1d2fd38847 * pinfo.cc (pinfo::init): Guard against MapViewOfFileEx failure. 2004-07-16 15:49:22 +00:00
Jeff Johnston dbfd3394e9 2004-07-16 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/fvwrite.c (_sfvwrite):  For asprintf family
        calls, if realloc fails, free up buffer as it is no longer
        used.
2004-07-16 15:47:15 +00:00
Corinna Vinschen e348b39a71 * mmap.cc (mmap_record::alloc_page_map): Mark pages as allocated even
on Windows 9x, FWIW.
2004-07-16 14:32:03 +00:00
Joshua Daniel Franklin 99d86313f4 * how-resources.texinfo: Update documentation to /usr/share/doc.
* how-using.texinfo: Add paragraph about find -noleaf.
2004-07-16 14:17:15 +00:00
Danny Smith 75ccca2f65 2004-07-15 "dgun" <dgun@umpire.com>
* include/complex.h (conj): Correct typo in prototype.
2004-07-15 20:20:22 +00:00
Corinna Vinschen 0c0ad23a2c * mmap.cc (mprotect): When MAP_WRITE protection is requested, use
READWRITE or WRITECOPY protection, whatever has been used when the
	page has been allocated initially.
2004-07-15 17:00:44 +00:00
Corinna Vinschen 4243412aa5 * fhandler.h (class fhandler_dev_raw): Remove is_writing flag.
Remove declaration of writebuf.
	(class fhandler_dev_floppy): Remove declaration of close.
	* fhandler_floppy.cc (fhandler_dev_floppy::close): Delete.
	(fhandler_dev_floppy::lseek): Remove calls to writebuf.  Set
	eom_detected to false after successful seek.
	* fhandler_raw.cc (fhandler_dev_raw::writebuf): Delete.
	(fhandler_dev_raw::raw_read): Remove calls to writebuf.
	(fhandler_dev_raw::raw_write): Always invalidate buffer.
2004-07-15 14:56:05 +00:00
Danny Smith fcedcf9488 Whitespace change to ChangeLog 2004-07-15 11:56:01 +00:00
Danny Smith 4bf283e0e2 * include/math.h: Add pragma GCC system_header. 2004-07-15 11:39:15 +00:00
Danny Smith e651690002 * mingwex/complex/cargs.c: New file.
* mingwex/Makefile.in: Really add carg.o to libmingwex.a.
2004-07-15 11:35:13 +00:00
Corinna Vinschen a062ed9840 * Makefile.in (INCLUDES): Temporarily revert previous change.
* mingwex/Makefile,in (INCLUDES): Ditto.
	* profile/Makefile,in (INCLUDES): Ditto.
	* mingwex/Makefile,in: Drop carg.o dependency.
2004-07-15 10:40:37 +00:00
Corinna Vinschen 5ba42c7f4c * mmap.cc (class mmap_record): Fix return type of get_offset.
(mmap_record::fixup_page_map): Fix off by one error.
	(list::search_record): Use long as type of "start" argument in both,
	declaration and definition.  Use long as type for local variable "i".
2004-07-15 09:21:16 +00:00
Christopher Faylor a671e18c42 * mingwex/fwide.c: Include <stdio.h> to resolve FILE usage. 2004-07-15 02:43:19 +00:00
Christopher Faylor 839677149f * fhandler_registry.cc (registry_listing): Correct typo.
(fhandler_registry::fill_filebuf): Set size of newly expanded buffer prior to
calling RegQueryValueEx.
2004-07-15 02:07:14 +00:00
Danny Smith 8e47f4464b * Makefile.in (INCLUDES): Designate $(srcdir)/../include as a
system dir.
	* mingwex/Makefile,in (INCLUDES): Ditto.
	* profile/Makefile,in (INCLUDES): Ditto.

	* mingwex/Makefile,in: Add carg.o to libmingwex.a.
2004-07-14 23:44:50 +00:00
Corinna Vinschen dd3a7a2042 * fhandler_raw.cc (fhandler_dev_raw::raw_write): Remove buffered
write entirely.
2004-07-14 13:51:17 +00:00
DJ Delorie e84b534998 merge from gcc 2004-07-13 21:10:23 +00:00
Earnie Boyd 650bcf9d74 * Makefile.in: Move use of --nostdinc++ as GCC3.4 warns to use it
for C modules.
	* mingwex/Makefile.in: Ditto.
	* profile/Makefile.in: Ditto.
2004-07-13 13:01:28 +00:00
Earnie Boyd bb8c8bd47a * Makefile.in: Move use of --nostdinc++ as GCC3.4 refuses to use it
for C modules.
2004-07-13 11:23:08 +00:00
Earnie Boyd ef72590eb1 * include/limits.h: Change to new file header preamble. 2004-07-13 11:11:36 +00:00
Earnie Boyd aa726b09ae * include/_mingw.h: Increment minor version for 3.4 release.
* Makefile.in: Ditto.
2004-07-13 11:04:25 +00:00
Corinna Vinschen e3118d880b * mkgroup.cc (netapibufferallocate,netgroupgetinfo): New function
pointers.
	(load_netapi): Load NetApiBufferAllocate and NetGroupGetInfo.
	(enum_local_groups,enum_groups): Add disp_groupname parameter.
	Load info for disp_groupname if specified.
	(usage): Add description of "-g/--group" option.
	(longopts,opts): Add "-g/--group" option.
	(main): Process "-g/--group" option.
	* utils.sgml (mkgroup): Add description of "-g/--group" option
2004-07-12 16:52:16 +00:00
Paolo Bonzini 96979a1832 2004-07-12 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Add noconfigdirs for crx-*-*.
	* configure: Regenerate.

2004-07-09  Loren J. Rittle <ljrittle@acm.org>

	* configure.in: Build libmudflap by default on FreeBSD.
	* configure: Regenerated.

2004-07-09  Mark Mitchell  <mark@codesourcery.com>

	* configure.in: Do not build libmudflap by default on non-GNU/Linux
	systems.
	* configure: Regenerated.

2004-07-08 John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	PR target/16344
	* Makefile.tpl (profiledbootstrap): Build runtime libraries with
	feedback based compiler.
	* Makefile.in: Rebuilt.

2004-07-05  Phil Edwards  <phil@codesourcery.com>

	* configure.in:  Do not prepend $srcdir to /dev/null in
	makefile fragments.
	* configure:  Regenerate.
2004-07-12 12:03:42 +00:00
Danny Smith e4cb4efab3 * mingwex/math/cephes_emath.h (__etens): Remove declaration. 2004-07-12 07:33:17 +00:00
Danny Smith 1b0314715b * include/unistd.h (ftruncate): Add inline definition.
* mingwex/ftruncate.c: New file.
	* mingwex/Makefile.in: Add ftruncate.o to libmingwex.a.
2004-07-11 10:01:41 +00:00
Danny Smith 8261a23149 * include/time.h: Do not include sys/types.h. 2004-07-10 04:06:09 +00:00
Andreas Schwab e519074547 binutils/testsuite/:
* binutils-all/m68k/movem.s: New file.

	* binutils-all/m68k/objdump.exp: New file.

include/opcode/:
	* m68k.h: Fix comment.

opcodes/:
	* m68k-dis.c (m68k_valid_ea): Check validity of all codes.
2004-07-09 18:42:14 +00:00
Alexandre Oliva 6d56983c20 * Makefile.def (host_modules): Set bootstrap=true for flex.
* Makefile.tpl (all-gcc): Depend on texinfo and flex.
* Makefile.in: Rebuilt.
2004-07-08 19:46:05 +00:00
Corinna Vinschen 1d4707111a * spawn.cc (spawn_guts): Check if script is executable. 2004-07-08 09:18:29 +00:00
Nick Clifton 0d72b1deac Undo accidental commit whilst adding crx-elf port 2004-07-07 17:37:19 +00:00
Nick Clifton 49e7d4dbb3 Add new port: crx-elf 2004-07-07 17:28:50 +00:00
Jeff Johnston 6edb3da9ac 2004-07-07 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
* libc/iconv/iconv.tex: Updated to represent recent changes.
        * libc/iconv/lib/iconv.c: Documentation updated.
2004-07-07 17:26:38 +00:00
Nick Clifton 578a35608f Define PREFER_SIZE_OVER_SPEED for xStormy16 target 2004-07-07 08:15:26 +00:00
Jeff Johnston 2bc257e360 2004-07-06 Chris Demetriou <cgd@broadcom.com>
* configure.host (mips*-*-elf*): Default long long printing
        support.
2004-07-06 23:32:08 +00:00
Corinna Vinschen 95db28a454 * winbase.h (IsWow64Process): Add missing WINAPI qualifier. 2004-07-06 15:33:46 +00:00
Jeff Johnston 75e7ffaa56 2004-07-05 Jeff Johnston <jjohnstn@redhat.com>
* libc/Makefile.am (libc.dvi): Add target and specify
        same dependencies as libc.info.
        * libc/Makefile.in: Regenerated.
        * libm/Makefile.am (libm.dvi): Add target and specify
        same dependencies as libm.info.
        * libm/Makefile.in: Regenerated.
2004-07-05 18:44:55 +00:00
Danny Smith 64b9893f0d 2 * mingwex/Makefile.in (MATH_DISTFILES): Remove pow.c,
(MATH_OBJS): Remove pow,o.
	* include/math.h (pow): Declare with _CRTIMP.
	Add comment on how to avoid excess precision problems.
2004-07-02 10:01:51 +00:00
Paolo Bonzini 2cb47d686e 2004-07-01 Paolo Bonzini <bonzini@gnu.org>
* Makefile.def (build_modules): Add bison, byacc, flex,
	m4, texinfo.
	(flags_to_pass): Add FLEX.
	* Makefile.tpl (BUILD_DIR_PREFIX, BASE_EXPORTS): New.
	(BUILD_EXPORTS, HOST_EXPORTS, BASE_TARGET_EXPORTS): Include it.
	(DEFAULT_YACC, USUAL_YACC, DEFAULT_LEX, USUAL_LEX, DEFAULT_M4,
	DEFAULT_MAKEINFO): Remove.
	(CONFIGURED_YACC, CONFIGURED_FLEX, CONFIGURED_BISON,
	CONFIGURED_LEX, CONFIGURED_M4, CONFIGURED_MAKEINFO): Substitute.
	(YACC, FLEX, BISON, LEX, M4, MAKEINFO): Define to look into
	objdir or else use configured tool.
	(all-build): New.
	(all): Depend on it.
	(Build module dependencies): Add.
	* Makefile.in: Regenerate.
	* configure.in: Better support for multiple build modules,
	matching what is done for host/target modules.  Do not look
	for "plausible" locations of build tools if Canadian cross.
	Use autoconf's AC_PROG_CC to find a C compiler.  Define
	BUILD_DIR_PREFIX.  Look for flex, makeinfo and m4.
	* configure: Regenerate.
2004-07-02 07:56:07 +00:00
Corinna Vinschen 78c6a5b53a * times.cc (hires_ms::usecs): Don't overreact. 2004-06-30 16:00:32 +00:00
Corinna Vinschen fbd5a0b8da * times.cc (hires_ms::usecs): Reinit timer when system time overflows. 2004-06-30 15:50:08 +00:00
Danny Smith 81223d017f 2004-06-30 Kees Zeelenberg <kzlg@users.sourceforge.net>
Danny Smith  <dannysmith@users.sourceforge.net>

	* include/stdio.h (fopen64): Add inline function.
	(fseeko64): Add prototype.
	(ftello64): Add inline function.
	* include/io.h (lseek64): Add inline function.
	* include/sys/types (off64_t): Add typedef.
	(fpos64_t): Add typedef.
        * mingwex/fopen64.c: New file.
        * mingwex/fseeko64.c: New file.
        * mingwex/ftello64.c: New file.
        * mingwex/lseek64.c: New file.
	* mingwex/Makefile.in (STDIO_DISTFILES): Add fopen64.c,
	fseeko.64.c, ftello64.c, lseek64.c.
	(STDIO_OBJS): Add fopen64.o, fseeko.64.o, ftello64.o, lseek64.o.

2004-06-30  Danny Smith  <dannysmith@users.sourceforge.net>

	* include/stdio.h (__mingw_fseeko64): Add prototype.
	* mingwex/mingw-fseek.c (__mingw_fseeko64): Add definition.
	(__mingw_fwrite): Handle huge files.
2004-06-30 04:51:18 +00:00
Jeff Johnston 76ce12c360 2004-06-29 Artem B. Bityuckiy <dedekind@oktetlabs.ru>
* acinclude.m4: Move --enable-newlib-iconv option back here.
        * configure.in: Remove --enable-newlib-iconv option.  Don't
        tie iconv support to --enable-newlib-mb.
        * aclocal.m4: Regenerated.
        * configure: Ditto.
        * doc/aclocal.m4, doc/configure: Ditto.
        * iconvdata/aclocal.m4, iconvdata/configure: Ditto.
        * libm/*/aclocal.m4: Ditto.
        * libm/*/configure: Ditto.
        * libc/*/aclocal.m4: Ditto.
        * libc/*/configure: Ditto.
2004-06-29 21:53:35 +00:00
Jeff Johnston 051f21ca83 2004-06-27 Hideki Iwamoto <h-iwamoto@kit.hi-ho.ne.jp>
* Makefile.in: Support $(DESTDIR).
        * arm/Makefile.in: Ditto.
        * d30v/Makefile.in: Ditto.
        * doc/Makefile.in: Ditto.
        * fr30/Makefile.in: Ditto.
        * frv/Makefile.in: Ditto.
        * hp74x/Makefile.in: Ditto.
        * i386/Makefile.in: Ditto.
        * i960/Makefile.in: Ditto.
        * iq2000/Makefile.in: Ditto.
        * libnosys/Makefile.in: Ditto.
        * m32r/Makefile.in: Ditto.
        * m68hc11/Makefile.in: Ditto.
        * m68k/Makefile.in: Ditto.
        * mcore/Makefile.in: Ditto.
        * mips/Makefile.in: Ditto.
        * mn10200/Makefile.in: Ditto.
        * mn10300/Makefile.in: Ditto.
        * pa/Makefile.in: Ditto.
        * rs6000/Makefile.in: Ditto.
        * sparc/Makefile.in: Ditto.
        * sparc/libsys/Makefile.in: Ditto.
        * xstormy16/Makefile.in: Ditto.
2004-06-28 22:42:21 +00:00
Christopher Faylor 76a3f968a5 * thread.cc (__cygwin_lock_lock): Don't bother locking when there is only one
known thread.
(__cygwin_lock_unlock): Ditto for unlocking.
2004-06-27 19:16:48 +00:00
Jeff Johnston dce592cd8c 2004-06-25 Jeff Johnston <jjohnstn@redhat.com>
* libnosys/_exit.c: New file.
        * libnosys/Makefile.in: Add _exit.o.
2004-06-25 22:17:04 +00:00
Jeff Johnston d68d3538bb Fix up latest entry that was missing some comments. 2004-06-25 21:37:59 +00:00