Commit Graph

6737 Commits

Author SHA1 Message Date
Danny Smith 751ba44030 * include/_mingw.h (_MINGW_ATTR_*): Replace with
__MINGW_ATTRIB_*.
	* include/stdlib.h (_ATTRIB_NORETURN): Replace with
	__MINGW_ATTRIB_NOREURN, throughout.
	(malloc): Declare with __MINGW_ATTRIB_MALLOC.
	(calloc): Likewise.
	(abs): Declare with __MINGW_ATTRIB_CONST.
	(labs): Likewise.
	(div): Likewise.
	(ldiv): Likewise.
	(lldiv): Likewise.
	(_rotl): Likewise.
	(_rotr): Likewise.
	(_lrotl): Likewise.
	(_lrotr): Likewise.
	* include/setjmp.h (longjmp): Add __MINGW_ATTRIB_NORETURN.
2004-07-25 11:23:43 +00:00
Christopher Faylor 634d51d94e * dcrt0.cc (dll_crt0_0): Use proper boolean arguments.
* pinfo.cc (pinfo::init): Don't consider MapViewOfFileEx error to be fatal if
exiting.
* pinfo.h (pinfo::init): Eliminate default argument and supply the argument in
the one case that needed it.
2004-07-24 19:18:58 +00:00
DJ Delorie 8c2defa46c merge from gcc 2004-07-24 18:04:39 +00:00
Danny Smith b92b36bd8a * include/wingdi.h (CMYK): Its fun to play with the C-M-Y-K.
(young man, young man,...)
2004-07-24 12:47:44 +00:00
Corinna Vinschen 65c5aa77fb * autoload.cc (GetNativeSystemInfo): Add.
(IsWow64Process): Add.
	* init.cc (respawn_wow64_process): New function.
	(dll_entry): If process has been started from a 64 bit
	process, call respawn_wow64_process.
	* uname.cc (uname): On 64 bit systems, use GetNativeSystemInfo.
	Show actual CPU type.
2004-07-24 09:41:34 +00:00
Danny Smith 61e6420f32 2004-07-24 Brodie Thiesfield <brofield@users.sourceforge.net>
* include/shlobj.h (FILEDESCRIPTOR): Unicode it.
	(FILEGROUPDESCRIPTOR): LIkewise.
2004-07-24 09:00:52 +00:00
H.J. Lu 32131c5527 2004-07-23 H.J. Lu <hongjiu.lu@intel.com>
* bin-bugs.h (REPORT_BUGS_TO): Set to
	"<URL:http://www.sourceware.org/bugzilla/>".
2004-07-23 15:40:19 +00:00
Corinna Vinschen 061095b5a3 * dtable.cc (dtable::get_debugger_info): Make stderr r/w according
to SUSv3.
2004-07-23 09:04:59 +00:00
Corinna Vinschen 0544d11637 * fhandler_tty.cc (fhandler_tty_slave::open): Use requested flag
values also when copying fhandler from archetype.
2004-07-22 20:39:08 +00:00
H.J. Lu 7b313f6fc8 2004-07-22 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (i386_optab): Allow cs/ds in 64bit for branch hints.
2004-07-22 19:10:49 +00:00
Christopher Faylor 5b7534fec3 * pinfo.cc (pinfo::init): Print handle in hex when MapViewOfFile fails. 2004-07-22 18:25:52 +00:00
Jim Wilson 0da793ff2b knetbsd/kfreebsd patches from Robert Millan.
* libtool.m4: Add kfreebsd*-gnu and knetbsd*-gnu.
* ltconfig: Likewise.
* ltcf-c.sh: Likewise.
* ltcf-cxx.sh: Likewise.
* ltcf-gcj.sh: Likewise.
2004-07-21 19:21:41 +00:00
Nick Clifton 9aec2c3c19 For DefaultSize instructions, don't guess a 'q' suffix if the instruction
doesn't support it.
2004-07-21 18:18:04 +00:00
DJ Delorie d28a73aeb2 merge from gcc 2004-07-21 17:27:07 +00:00
Danny Smith cc054d9d26 * include/_mingw.h: Undefine __attribute__.
(__MINGW_ATTR_NORETURN): New define.
	(__MINGW_ATTR_CONST): New define.
	(__MINGW_ATTR_MALLOC): New define.
	(__MINGW_ATTR_PURE): New define.
	(_CRTIMP, __cdecl, __stdcall, __UNUSED_PARAM): Ansi-fy
	expansions.
2004-07-21 10:59:54 +00:00
Corinna Vinschen 7d9c458d8f * shm.cc: Whitespace fixes. 2004-07-20 16:08:49 +00:00
Corinna Vinschen 96e949deaa * bsd_helper.cc: Whitespace fixes.
* bsd_mutex.cc: Ditto.
2004-07-20 16:06:14 +00:00
Christopher Faylor 325965583f revert erroneous checkin 2004-07-20 16:01:39 +00:00
Christopher Faylor 894c677711 * Makefile.in (clean): Remove cygwin.def since it is autogenerated. 2004-07-20 15:52:33 +00:00
Danny Smith f451556720 * include/time.h (__time64_t): Add missing ';'. 2004-07-19 22:51:38 +00:00
Corinna Vinschen bb3be323ba * transport.cc (transport_layer_base::~transport_layer_base): Remove.
* transport.h (transport_layer_base::~transport_layer_base): Ditto.
2004-07-19 14:04:51 +00:00
Corinna Vinschen bc2c51140c * fhandler_dsp.cc (fhandler_dev_dsp::Audio_out::init): Fix non-ISO
expression.
	* fhandler_floppy.cc (fhandler_dev_floppy::open): Remove unused
	variable.
	* fhandler_proc.cc (format_proc_meminfo): Fix compiler warning.
2004-07-19 13:13:48 +00:00
Corinna Vinschen f8e58afb11 * bsd_mutex.cc (win_priority): Actually calculate p from priority. 2004-07-19 13:12:00 +00:00
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