Commit Graph

15004 Commits

Author SHA1 Message Date
Christopher Faylor 7054be8b55 * dcrt0.cc (dll_crt0_1): Move uinfo_init call to before sigproc_init to avoid a
race.
(noload): Add an extra argument for debugging.
* uinfo.cc (uinfo_init): Eliminate test for multiple calls.
(getlogin): Assume that uinfo_init has already been called.
2000-05-22 00:54:22 +00:00
H.J. Lu c9ae5a27b3 20000-05-21 H.J. Lu (hjl@gnu.org)
* configure: Revert changes made on May 18 and May 19.

        * Makefile.in (CC_FOR_TARGET): Make sure as/ld in the gcc
        directory are used if they exist. Make sure
        $(build_tooldir)/include is searched for header files,
        $(build_tooldir)/lib/ for library files.
        (GCC_FOR_TARGET): Likewise.
        (CXX_FOR_TARGET): Likewise.
2000-05-21 16:57:14 +00:00
Christopher Faylor 6cb613a428 * exceptions.cc (interruptible): Add an argument to control whether function
just checks for validity.  Flag module handle == 0 as noninterrupible.
(call_handler): Always acquire and release ebp lock.  Loop for only a fixed
amount of time attempting to grab mutos and find an interruptible PC.
2000-05-20 05:52:33 +00:00
Corinna Vinschen a4bc548973 * regtool.cc (find_key): Add parameter `access'.
Call `RegOpenKeyEx' with that desired access.
        (cmd_add, cmd_remove, cmd_set, cmd_unset): Call
        `find_key' with KEY_ALL_ACCESS access.
        (cmd_list, cmd_check, cmd_get): Call `find_key'
        with KEY_READ access.
2000-05-19 22:02:23 +00:00
H.J. Lu abd9f14c3b 20000-05-19 H.J. Lu (hjl@gnu.org)
* configure: Provide --disable-target-dir-sanity-checking to
	disable the gcc directory checking for cross compiling.
2000-05-19 18:14:18 +00:00
DJ Delorie ed8387fb4f * syscalls.cc (setmode): change mode of any matching FILE* also. 2000-05-19 17:15:02 +00:00
DJ Delorie f00c1d2ccd * cygpath.cc: add --windir/--sysdir options
* utils.sgml: and document them
2000-05-19 17:06:28 +00:00
Christopher Faylor f343a326d3 * Makefile.in: Remove external.h dependency.
* dcrt0.cc (sigthread::init): Move here from sigproc.h.
* sigproc.h (sigthread): Move init to dcrt0.cc.
2000-05-18 21:30:30 +00:00
DJ Delorie f43932615d * libc/stdio/fgets.c (fgets): perform CRLF conversions if __SCLE 2000-05-18 19:03:10 +00:00
Christopher Faylor e73a56e982 * Makefile.in: Eliminate WINSUP_DEPS.
* cygpath.cc: Reorganize includes to accomodate sys/cygwin.h changes.
* mkgroup.c: Ditto.
* mkpasswd.c: Ditto.
* mount.cc: Ditto.  Eliminate use of cygwin source specific includes.
* ps.cc: Ditto.
* cygwin.cc: Eliminate obsolete file.
2000-05-18 18:39:11 +00:00
Christopher Faylor 8126b13644 * MAINTAINERS: Add Corinna to general list. 2000-05-18 18:34:02 +00:00
Christopher Faylor 5ea32366a6 Eliminate. 2000-05-18 18:32:26 +00:00
Christopher Faylor 2a6a56c227 * select.cc (thread_pipe): Add paranoid check to ensure thread termination.
* external.cc: Eliminate obsolete include.
* getopt.c (getopt_long): Fix compiler warning.
* shared.h: Moved PID_ definitions to include/sys/cygwin so that they can be
used by external programs.
* include/sys/cygwin.h: Move external definitions here.  Include sys/resource.h
to avoid having to do this everywhere.
2000-05-18 18:32:05 +00:00
H.J. Lu 6c7395bfce 20000-05-18 H.J. Lu (hjl@gnu.org)
* configure: Ask to create the gcc directory for cross
	compiling if necessary.
2000-05-18 17:11:17 +00:00
Jeff Law 52a3d41377 * configure.in (hppa*64*-*-*): Do build ld for this configuration. 2000-05-18 16:58:06 +00:00
David Edelsohn f5619b809e * configure.in: Special case powerpc*-*-aix* target_makefile_frag. 2000-05-18 14:28:32 +00:00
Corinna Vinschen f55f400b2d * include/winnt.h: Add some missing TAPE_DRIVE_* defines. 2000-05-18 09:39:33 +00:00
Christopher Faylor 77303e2d83 * sigproc.h (sigframe): Don't set frame info unless tid matches this thread id. 2000-05-18 05:05:58 +00:00
Christopher Faylor 12e659efa8 * dcrt0.cc (dll_crt0_1): Initialize mainthread stuff here before anything needs
it.
* sigproc.cc (sigproc_init): Move mainthread initialization out of here.
* sigproc.h (sigthread): Add init() method.
(sigframe): Don't try to initialize muto.
* sync.cc: Undef WaitForSingleObject to avoid recursion.
2000-05-18 03:20:01 +00:00
Andrew Cagney 2dc173fe91 Typo. bfd@sourceware -> binutils@sourceware. 2000-05-18 00:29:13 +00:00
Nick Clifton 3092a0cbac Apply patch from Richard Gorton <gorton@scrugs.lkg.dec.com> to implement
--emit-relocs switch to the linker to preserve relocs in an output executable
2000-05-17 19:38:53 +00:00
Alexandre Oliva 8ce9ee83b8 * Makefile.in (configure-target-libiberty): Depend on
configure-target-newlib.
2000-05-17 19:23:34 +00:00
DJ Delorie d3d8c2db17 * testsuite/winsup.api/crlf.c: New
* testsuite/winsup.api/iospeed.c: New
2000-05-17 17:21:36 +00:00
Christopher Faylor 6201d15e3c * path.cc (mount_info::cygdrive_posix_path): Don't add trailing slash if
referring to something like c:\.
* dcrt0.cc (dll_crt0_1): Move uinfo initialization prior to sig_send
initialization to give signal thread a chance to finish.
* debug.cc (WFSO): Move to sigproc.cc
(WFMO): Ditto.
* exceptions.cc (interruptible): Allocate slightly more space for directory
just for paranoia's sake.
(call_handler): Eliminate nonmain argument.  Determine if main thread has set a
frame pointer and use it if so.
(sig_handle): Eliminate nonmain argument.
* net.cc: Record frame information in appropriate routines throughout.
* select.cc (select): Ditto.
* sigproc.cc: Use sigthread structure to record mainthread id throughout.
(sig_send): Record frame information for signal handler.
(wait_sig): Reflect argument change in sig_handle.
(WFSO): Move here and record frame information for signal handler.
(WFMO): Ditto.
* sigproc.h: Implement new "sigthread" class.  Implement "sigframe" class for
manipulating signal frame info.
* thread.cc (__pthread_kill): Use standard _kill() function rather than calling
sig_send directly.
* winsup.h: Eliminate ebp element from signal_dispatch class.
2000-05-17 05:49:51 +00:00
Alan Modra 8c1c1f1a43 Fix fild. 2000-05-17 00:47:51 +00:00
Corinna Vinschen 670d8ef016 * fhandler_tape.cc (fhandler_dev_tape::ioctl): Check
for filemark feature on MTWEOF operation.
2000-05-16 21:42:55 +00:00
Frank Ch. Eigler 0bf4b1e8ab * cgen/opcodes fix
* approved by nickc

[opcodes/ChangeLog]
2000-05-16  Frank Ch. Eigler  <fche@redhat.com>

	* fr30-desc.h: Partially regenerated to account for changed
	CGEN_MAX_* -> CGEN_ACTUAL_MAX_* macros.
	* m32r-desc.h: Ditto.

[include/opcode/ChangeLog]
2000-05-16  Frank Ch. Eigler  <fche@redhat.com>

	* cgen.h (CGEN_MAX_SYNTAX_BYTES): Increase to 32.  Check that
	it exceeds CGEN_ACTUAL_MAX_SYNTAX_BYTES, if set.
	(CGEN_MAX_IFMT_OPERANDS): Increase to 16.  Check that it exceeds
	CGEN_ACTUAL_MAX_IFMT_OPERANDS, if set.
2000-05-16 19:28:07 +00:00
Christopher Faylor 00ca312564 * include/cygwin/in.h (AF_INET6): Use correct in6_addr struct. 2000-05-16 15:50:45 +00:00
David Starks-Browning eadffa103e manually updated some sites (txt version badly formatted, dont know why) 2000-05-16 15:38:47 +00:00
David Starks-Browning 6890a5097f update README to latest net release, if only in name 2000-05-16 15:37:05 +00:00
David Starks-Browning 00d48dd71c fix dependencies for readme.txt 2000-05-16 15:13:49 +00:00
David Starks-Browning 8dc619c3b7 remove doc/readme exclusion for starksb@ebi.ac.uk 2000-05-16 14:30:27 +00:00
Andrew Cagney 559cf1c6d7 Skip CVS directories when creating tar ball. 2000-05-16 00:09:00 +00:00
Andrew Cagney 0f1c263ae1 Add code to tweek djunpack as part of release process. 2000-05-16 00:04:11 +00:00
Jeff Johnston 2b533fac14 Mon May 15 18:54:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
* libc/include/ctype.h: Changed tolower and toupper macros
        to use __extension__ to prevent pedantic warnings.
2000-05-15 23:00:24 +00:00
Ranjith Kumaran 75362a768b Mon May 15 14:26:00 2000 Joel Sherrill <joel@oarcorp.com>
* libc/sys/rtems/sys/time.h: Add macros for manipulating timeval
	structures.
2000-05-15 18:30:03 +00:00
Christopher Faylor 4004738117 * include/cygwin/version.h: Bump DLL minor version number to 2. 2000-05-15 04:37:03 +00:00
Christopher Faylor 66aea0c52e * shared.h: Bump PROC_MAGIC.
* include/cygwin/version.h: Bump API minor to accomodate two recent exports.
2000-05-15 03:42:27 +00:00
Mumit Khan a0c3677120 2000-05-13 Mumit Khan <khan@xraylith.wisc.edu>
* include/cygwin/socket.h (AF_INET6): Use same value as winsock2.
2000-05-14 01:01:23 +00:00
H.J. Lu 8649ded0ce 2000-05-13 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
* ltmain.sh: Preserve in relink_command any environment
	variables that may affect the linker behavior.
2000-05-13 21:19:50 +00:00
Alan Modra e6342d0038 Fix cpu_flags for sys{enter,exit} fx{save,restore} 2000-05-13 14:01:54 +00:00
Alan Modra 9484bf7072 `.arch cpu_type' pseudo for x86. 2000-05-13 09:26:23 +00:00
Mumit Khan bc657c17b5 2000-05-12 Mumit Khan <khan@xraylith.wisc.edu>
* include/cygwin/in.h (struct in6_addr): Fix spelling.
	* include/cygwin/socket.h (AF_INET6, PF_INET6): Define macros.
	(AF_MAX, PF_MAX): Bump to 32 to leave room for future expansion.
2000-05-13 02:01:51 +00:00
Christopher Faylor 41010c6a53 * dcrt0.cc (build_argv): Remove unneeded variable.
* select.cc (peek_pipe): Don't check for "ready" if it's already set.
(peek_console): Ditto.
(peek_serial): Ditto.
(peek_socket): Ditto.
(peek_windows): Ditto.
2000-05-13 01:42:53 +00:00
Corinna Vinschen 5640cadbc5 * fhandler_raw.cc (write_file, read_file): New wrapper functions
for WriteFile and ReadFile to get rid of ERROR_MEDIA_CHANGED
        and ERROR_BUS_RESET in case of first access to tape.
        (fhandler_dev_raw::raw_write): Use write_file instead of WriteFile.
        (fhandler_dev_raw::raw_read): Use read_file instead of ReadFile.
2000-05-12 18:34:50 +00:00
Jeff Law c2644effa8 * config.sub (basic_machine): Recognize hppa64 as a valid cpu type. 2000-05-12 17:23:42 +00:00
Christopher Faylor ad0bed746d * Makefile.in (DLL_OFILES): Sort.
* fhandler_tty.cc (fhandler_tty_slave::send_ioctl_request): Eliminate.
(fhandler_tty_slave::ioctl): Rewrite to avoid races.
2000-05-12 05:06:43 +00:00
DJ Delorie cfe11d7465 * mmap.cc (list::erase): Increment loop counter.
(map::erase): Likewise.
2000-05-11 22:30:45 +00:00
David Starks-Browning eeefccfcd1 Preliminary update to FAQ to reflect latest net release.
(So far, just a new title, some minor updates, and a disclaimer in each
section that has to be updated for the net release, or at least looked at.)
2000-05-11 16:19:21 +00:00
DJ Delorie d542e8ffed * cygwin.din: insure that regsub() is included in
cygwin1.dll
2000-05-11 15:12:31 +00:00