Commit Graph

6445 Commits

Author SHA1 Message Date
Corinna Vinschen 456afc5dd5 * fhandler.cc (fhandler_base::open): Remove 9x specific code. 2004-06-17 15:25:09 +00:00
Pierre Humblet bd0e9c7aa6 2004-06-17 Pierre Humblet <pierre.humblet@ieee.org>
* fhandler.cc (fhandler_base::open_9x): Do not check for null name.
        Move debug_printf to common code line.
        (fhandler_base::open): Ditto. Initialize upath. Remove second argument
        of pc.get_nt_native_path.
        * path.h (path_conv::get_nt_native_path): Remove second argument.
        * path.cc (path_conv::get_nt_native_path): Ditto. Call str2uni_cat.
        * security.h (str2buf2uni_cat): Delete declaration.
        (str2uni_cat): New declaration.
        * security.cc (str2buf2uni): Get length from sys_mbstowcs call.
        (str2buf2uni_cat): Delete function.
        (str2uni_cat): New function.
        * miscfuncs.cc (sys_mbstowcs): Add debug_printf.
2004-06-17 13:34:26 +00:00
Corinna Vinschen 9f35b46456 Replace accidentally broken configure from previous regenerate. 2004-06-17 08:15:38 +00:00
Corinna Vinschen 99dbec4c6d * configure.in: Don't build Cygwin native newlib if winsup
directory is missing.  Emit warning instead.
	* configure: Regenerate.
2004-06-17 07:56:46 +00:00
Corinna Vinschen f6d9664b63 * fhandler.cc (fhandler_base::open): Substitute FILE_SUPERSEDE with
FILE_OVERWRITE_IF.
2004-06-17 07:03:09 +00:00
Danny Smith 3adfd50973 2004-06-16 Danny Smith <dannysmith@users.sourceforge.net>
* include/winnt.h (IMAGE_ORDINAL_FLAG): Map to ...
	(IMAGE_ORDINAL_FLAG{32,64}: New defines.
	(IMAGE_SNAP_BY_ORDINAL): Map to ...
	(IMAGE_SNAP_BY_ORDINAL{32,64}: New defines.
	(IMAGE_ORDINAL): Map to ...
	(IMAGE_ORDINAL{32,64}: New defines.
	(IMAGE_THUNK_DATA):  Map to ...
	(IMAGE_THUNK_DATA{32,64}: New structures.
	(IMAGE_THUNK_DATA): Map to ...
	(IMAGE_THUNK_DATA{32,64}: New structures.
	(IMAGE_IMPORT_DESCRIPTOR):  Map to ...
	(IMAGE_IMPORT_DESCRIPTOR{32,64}: New structures.
	(IMAGE_IMAGE_TLS_DIRECTORY)  Map to ...
	(IMAGE_IMAGE_TLS_DIRECTORY{32,64}: New structures.

2004-06-16  Bang Jun-Young <junyoung@NetBSD.org>

	* w32api/include/winnt.h (WAITORTIMERCALLBACKFUNC): Protect with 
	_WIN32_WINNT >= 0x0500.
2004-06-16 08:27:04 +00:00
Joshua Daniel Franklin 8caaf6cd6f Fix faq-faq0 snafu. 2004-06-15 03:23:23 +00:00
Joshua Daniel Franklin e52db4e16d * how-programming.texinfo: Add section about Visual Studio linking. 2004-06-15 03:19:23 +00:00
Alan Modra 64b49cceb5 * dumper.cc (dumper::prepare_core_dump): Use bfd_get_section_size
instead of _raw_size.
	(dumper::write_core_dump): Likewise.
	* parse_pe.cc (select_data_section): Likewise.
2004-06-15 02:18:51 +00:00
Jeff Johnston be9105991c 2004-06-14 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/machine/i386/syscall.h: For now, set up
        __syscall_return macro for systems with vsyscall.
2004-06-14 20:57:07 +00:00
Chris Demetriou 50279bcda7 [ bfd/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * elf32-mips.c (elf_mips_gnu_pcrel32): Add (undoing 2004-04-24
        removal) with updated comment.
        (bfd_elf32_bfd_reloc_type_lookup): Add back case for
        BFD_RELOC_32_PCREL.
        (mips_elf32_rtype_to_howto): Add back case for R_MIPS_PC32.
        * elfxx-mips.c (mips_elf_calculate_relocation): Likewise.

[ include/elf/ChangeLog ]
2004-06-14  Chris Demetriou  <cgd@broadcom.com>

        * mips.h (R_MIPS_PC32): Add back (undoing removal on 2004-04-24),
        with an updated comment.
2004-06-14 18:25:10 +00:00
Joshua Daniel Franklin bad8e625b8 2004-06-13 Joshua Daniel Franklin <joshuadfranklin@yahoo.com>
* faq.texinfo: Move outdated calls.texinfo to readme.texinfo.
	* how-api.texinfo: Fix typos.
	* how-programming.texinfo: Fix typos.
	* how-resources.texinfo: Fix typos.
	* how-using.texinfo: Fix typos.
	* install.texinfo: Fix typos.
	* readme.texinfo: Move outdated calls.texinfo to readme.texinfo.
2004-06-14 02:42:05 +00:00
Jeff Johnston d0bd3e6f56 2004-06-11 Antony King <antony.king@st.com>
* libc/include/sys/_types.h: Include <sys/lock.h> and change
        _flock_t to be of type _LOCK_RECURSIVE_T.
        * libc/include/sys/reent.h: (_REENT_INIT): Reformat.
        (_REENT_INIT_PTR): Ditto.  Use memset where appropriate.
        (_global_impure_ptr): New declaration.
        (_GLOBAL_REENT): Change to be _global_impure_ptr.
        * libc/include/sys/stdio.h: Include <sys/lock.h> and
        <sys/reent.h>.
        (_flockfile)[!_SINGLE_THREAD]: Add code for lock call.
        (_funlockfile)[!SINGLE_THREAD]: Ditto.
        * libc/reent/impure.c: Set _global_impure_ptr to _impure_ptr.
        * libc/stdio/fclose.c: Remove casting of fp lock to
        _LOCK_RECURSIVE_T.
        * libc/stdio/findfp.c: Ditto.
        * libc/stdio/fopen.c: Ditto.
        * libc/stdio/freopen.c: Ditto.
        * libc/stdio/vfprintf.c: Ditto.
        * libc/stdio64/fopen64.c: Ditto.
        * libc/stdlib/envlock.c: Add default stubs that use generic
        locking code.
        * libc/stdlib/mlock.c: Ditto.

        Jeff Johnston  <jjohnstn@redhat.com>
        * libc/sys/linux/sys/_types.h (__flock_mutex_t): New subtype.
        (_flock_t): Change to be a struct containing a single member
        named mutex which is of type __flock_mutex_t.
2004-06-11 20:37:10 +00:00
Joshua Daniel Franklin af6b55758b Define ps status flags 2004-06-11 18:25:06 +00:00
Ben Elliston 400c313faf Include Makefile.*, not just Makefile.in, in the top-level policy. 2004-06-09 22:48:28 +00:00
Ben Elliston d6f9492b29 Update with respect to DejaGnu and Expect. 2004-06-09 22:14:10 +00:00
Jeff Johnston db7033a958 2004-06-09 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/Makefile.am: Change siglist.inc to be generated
        from /usr/include/asm/signal.h instead of kernel sources.  Also
        default max to 32 if not found in header file.
        * libc/sys/linux/Makefile.in: Regenerated.
        * libc/sys/linux/machine/i386/socketcall.h: Fix for Fedora Core 2
        systems where __syscall_return is not defined.
        * libc/sys/linux/machine/i386/syscall.h: Change for Fedora Core 2
        systems to use syscall() function instead of assembler interrupt.
2004-06-09 20:43:43 +00:00
Jeff Johnston a7364adeb9 2004-06-09 Toralf Lund <toralf@procaptura.com>
* arm/crt0.S: Copied from newlib and it now also sets up stacks for
        FIQ and IRQ mode, plus calls hardware_init_hook() and
        software_init_hook() if present.
        * arm/libcfunc.c, arm/swi.h, arm/syscalls.c: Copied
        from newlib.
        * arm/Makefile.in: Build crt0.o, rdpmon-crt0.o, rdimon-crt0.o,
        librdpmon.a, librdimon.a - support file for "bare" setup, as well
        as "RDP" and "RDI" monitors.
        * arm/coff-rdpmon.specs, arm/elf-rdpmon.specs,
        arm/coff-rdimon.specs, arm/elf-rdimon.specs: gcc specs files to go
        with above mentioned support libs and startfiles.
2004-06-09 19:06:50 +00:00
Jeff Johnston a170abec08 2004-06-09 Toralf Lund <toralf@procaptura.com>
* libc/sys/arm/setjmp.S, libc/sys/arm/access.c: Move
        files from libc/sys/arm to libc/machine/arm.
        * libc/machine/arm/Makefile.am, libc/machine/arm/Makefile.in: Add
        library build support for files moved from libc/sys/arm.
        * libc/sys/arm/Makefile.am, libc/sys/arm/Makefile.in:  Remove
        references to access and setjmp.
        * configure.host: Add checks for newlib_may_supply_syscalls to
        determine whether or not to use sys/arm directory and use
        special compiler flags: ARM_RDI_MONITOR and ARM_RDP_MONITOR.
2004-06-09 19:05:09 +00:00
Christopher Faylor cc24f9b669 * include/cygwin/version.h: REALLY bump dll minor version to 11. 2004-06-09 16:03:51 +00:00
Paolo Bonzini 21ff191e82 2004-06-09 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (touch-stage[+id+]): New.
	(restage[+prev+]): Depend on touch-stage[+id+].

	* Makefile.tpl (RECURSE_FLAGS_TO_PASS): New.
	Use it throughout.

	* Makefile.def: Add profile and feedback bootstrap stages.
	Remove next field from bootstrap stages.
	* Makefile.tpl (LN, LN_S): Substitute.
	(stageN-start, stageN-end): Use double-colon rules, to
	provide a hook for additional setup commands.
	(distclean-stageN-gcc, restageN): Create dependencies from
	[+prev+], not from [+next+].
	(stageN-bubble): Add commands for successive stages from
	[+prev+], using double-colon rules.
	(all-stageN-gcc): Fix typo.
	(stagefeedback-start, profiledbootstrap): New.
	* Makefile.in: Regenerate.
	* configure.in: Call ACX_PROG_LN.
	* configure: Regenerate.

config/ChangeLog:
2004-06-09  Paolo Bonzini  <bonzini@gnu.org>

	* acx.m4 (ACX_PROG_LN): From gcc, modified to
	accept a parameter.
2004-06-09 08:32:35 +00:00
Corinna Vinschen 35fe2c0811 * include/cygwin/ipc.h: Make IPC_INFO visible only for ipc system
utilities, to make it consistent with declaration of struct seminfo.
2004-06-08 10:53:40 +00:00
Corinna Vinschen 694a67c4e1 * path.cc (fchdir): Pass the Posix path to chdir. 2004-06-08 07:20:04 +00:00
Christopher Faylor beffbc5efd * dtable.cc (dtable::find_fifo): Release lock after fifo found (still racy).
* fhandler.h (fhandler_fifo::get_io_handle): New fifo-specific method.
* fhandler_fifo.cc (fhandler_fifo::close): Close output_handle only if it is
open.
(fhandler_fifo::open_not_mine): Reorganize slightly.  Don't call _pinfo methods
when the fifo is owned by me or suffer dtable lock_cs deadlock.
(fhandler_fifo::open): Call open_not_mine first, otherwise open myself
(racy).
* pinfo.cc (_pinfo::commune_recv): Duplicate fifo handles here in requesting
processes arena to avoid one potential race (of many).
(_pinfo::commune_send): Move all PICOM_FIFO code under one case statement.
* thread.cc (pthread::init_mainthread) Use existing hMainProc handle rather
than calling GetCurrentProcess.
2004-06-07 04:26:32 +00:00
Luke Dunstan 6a02213b52 2004-06-05 Luke Dunstan <infidel@users.sourceforge.net>
* include/winbase.h (GetWriteWatch): Correct prototype.
	(WRITE_WATCH_FLAG_RESET): Define.
	Thanks to Sergey Philippov <phis@users.sourceforge.net>.
2004-06-05 13:39:35 +00:00
Luke Dunstan 99745be758 2004-06-02 Rocher Laurent <lrocher@users.sourceforge.net>
* include/commctrl.h (Animate_OpenEx): Define.
	(DateTime_GetSystemTime, DateTime_SetSystemTime): Correct names.
	(ListView_GetNumberOfWorkAreas): Correct macro.
	(ListView_SetUnicodeFormat, ListView_GetUnicodeFormat,
	ListView_SetItemCountEx, ListView_GetISearchString,
	TreeView_GetLastVisible, Header_CreateDragImage,
	Header_SetImageList, Header_GetImageList): Define.
	(LVM_SETUNICODEFORMAT, LVM_GETUNICODEFORMAT,
	MCM_GETUNICODEFORMAT, MCM_SETUNICODEFORMAT,
	TBSTATE_ELLIPSES): Define.
	(MonthCal_SetRange): Correct macro.
	(ImageList_Duplicate): Declare.
2004-06-05 13:01:07 +00:00
Christopher Faylor cf4bfdb2f8 * winbase.h (ilockincr): Add more neverending changes from the inexplicable
world of gcc asm constraint magic.  Should stop random crashes.
(ilockdecr): Ditto.
2004-06-04 23:55:44 +00:00
Christopher Faylor 04612c69eb * autoload.cc (IsDosDeviceName_U): Define.
* ntdll.h (IsDosDeviceName_U): Declare.
* fhandler.cc (fhandler_base::open): Check to see if win32_name is a dos device
and just call the 9x open if so.
2004-06-03 22:27:25 +00:00
Jeff Johnston 3ec8da655c 2004-06-03 Alexandre Oliva <aoliva@redhat.com>
* mn10300/sim.ld: Start at address 4, to avoid ambiguity with NULL
        pointers.
2004-06-03 22:23:10 +00:00
Christopher Faylor 1633289656 revert accidental checkin 2004-06-03 21:33:29 +00:00
Christopher Faylor 604ca5fa17 * winbase.h (ilockincr): More changes from the inexplicable world of gcc asm
magic.
(ilockdecr): Ditto.
2004-06-03 21:29:43 +00:00
Christopher Faylor ee94df3ecc * winbase.h (ilockincr): YA correction to ensure correct operation with no
optimization.
(ilockdecr): Ditto.
2004-06-03 20:48:02 +00:00
Corinna Vinschen 414bfc1072 * cygserver.h (CYGWIN_SERVER_VERSION_API): Bump. 2004-06-03 19:52:12 +00:00
Corinna Vinschen 378e5a0271 * include/cygwin/ipc.h (IPC_KEY_IS_SHMID): Redefine to a more sensible
value.
2004-06-03 19:51:10 +00:00
Corinna Vinschen e9054f3f7f * shm.cc (shmget): Explicitely set td_retval[0] to -1 on error. 2004-06-03 19:49:54 +00:00
Christopher Faylor e6f751a5a9 remove erroneous ChangeLog entry 2004-06-03 18:56:49 +00:00
Christopher Faylor a864f241f1 * winbase.h: Fix all ilock defs as per cygwin 1.5.10 release. 2004-06-03 18:55:56 +00:00
Christopher Faylor aac4e7d40f * configure.in: Fix --enable-bootstrap breakage introduced in trees without
gcc.
* configure: Regenerate.
2004-06-03 04:57:38 +00:00
Christopher Faylor e847fe136d add missing changelog entry 2004-06-02 21:25:57 +00:00
Christopher Faylor 1a21f33188 * spawn.cc (find_exec): Use has_slash to determine if path has a slash rather
than calculating this twice.
2004-06-02 21:20:54 +00:00
Jeff Johnston 8b57e664af 2004-06-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/stdio/vfscanf.c (__svfscanf_r): For CT_INT conversions,
        reset digit flags appropriately after we have discovered "0x".
        * libc/machine/powerpc/vfscanf.c (__svfscanf_r): Ditto.
2004-06-02 19:22:14 +00:00
Luke Dunstan cdb055db02 2004-04-24 Luke Dunstan <infidel@users.sourceforge.net>
* include/limits.h (_I64_MIN, _I64_MAX, _UI64_MAX): Add defines.
2004-06-01 14:09:20 +00:00
Paolo Bonzini a07c3e299c 2004-06-01 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl: Fix typo.
	* Makefile.in: Regenerate.
2004-06-01 08:11:41 +00:00
Paolo Bonzini 8e1cb52875 2004-06-01 Paolo Bonzini <bonzini@gnu.org>
* configure.in: Remove new- prefix from toplevel
	bootstrap targets.
	* configure: Regenerate.
2004-06-01 07:54:42 +00:00
Paolo Bonzini 559fdbbd6a 2004-06-01 Paolo Bonzini <bonzini@gnu.org>
Merge this patch from the gcc tree:

	2004-05-30  Andreas Jaeger  <aj@suse.de>
		    Jim Wilson <wilson@specifixinc.com>

	* config-ml.in: Pass FFLAGS and ADAFLAGS for multilibs, handle F77
	like CC.
2004-06-01 07:46:01 +00:00
Paolo Bonzini e16662211d 2004-06-01 Paolo Bonzini <bonzini@gnu.org>
* Makefile.tpl (all.normal): Rename to all.
	(all): Replace with a rule to pick the default
	target from configure.
	(all-gcc, configure-gcc): Use conditionals to
	do nothing when toplevel bootstrap is going on.
	(GCC directory bootstrap) [gcc-bootstrap]: Disable.
	(Toplevel bootstrap) [gcc-no-bootstrap]: Disable.
	* configure.in: Support --enable-bootstrap.

	* Makefile.def: Remove new- prefix from toplevel
	bootstrap targets.
	* Makefile.tpl: Likewise.

	* Makefile.def: Add bootstrap_stage 4.  Add bootstrap2
	target.

	* Makefile.tpl (Toplevel bootstrap): Pass $(BASE_FLAGS_TO_PASS)
	$(RECURSE_FLAGS) to recursive invocation of make.

	* Makefile.in: Regenerate.
	* configure: Regenerate.
2004-06-01 07:42:22 +00:00
Luke Dunstan b188d0f595 2004-05-29 Filip Navara <xnavara@volny.cz>
* include/winnt.h (IMAGE_EXPORT_DIRECTORY): Fixed declaration.
2004-05-31 14:10:20 +00:00
Luke Dunstan 814a8765fb 2004-05-25 Al Slater <al.slater@scluk.com>
* include/httpext.h (HSE_SEND_HEADER_EX_INFO,
 HSE_REQ_SEND_RESPONSE_HEADER_EX): Define.
2004-05-31 13:57:30 +00:00
Pierre Humblet 2d5afa98a2 2004-05-30 Pierre Humblet <pierre.humblet@ieee.org>
* path.cc (mount_info::add_item): Make sure native path has drive
	or UNC form. Call normalize_xxx_path instead of [back]slashify.
	Remove test for double slashes. Reorganize to always debug_print.
2004-05-31 02:20:39 +00:00
Joshua Daniel Franklin e3c1b77980 * pathnames.sgml: Remove /dev/kmem from the supported POSIX
device list.

	* cygwinenv.sgml: Fix typo in check_case description.
2004-05-30 06:47:09 +00:00