]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
22 years agoIf -mfp32, do not enable 64-bit FPR registers on mips3
Michael Meissner [Tue, 11 Sep 2001 14:24:35 +0000 (14:24 +0000)]
If -mfp32, do not enable 64-bit FPR registers on mips3

22 years agoTue Sep 11 21:22:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 11 Sep 2001 11:23:41 +0000 (11:23 +0000)]
Tue Sep 11 21:22:00 2001  Robert Collins <rbtcollins@hotmail.com>

* thread.cc (pthread_cond::~pthread_cond): Bugfix: Incorrect use of InterlockExchangePointer.
(pthread_mutex::~pthread_mutex): Ditto.
(semaphore::~semaphore): Ditto.

22 years agoTue Sep 11 18:15:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Tue, 11 Sep 2001 08:15:39 +0000 (08:15 +0000)]
Tue Sep 11 18:15:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * dcrt0.cc (cygwin_finished_initializing): Copy _mtinterf on fork;
        * fork.cc (fork_child): fixup thread-related structures after fork;
        * thread.cc (MTinterface::Init): Initialise the new mutex, condition and semaphore lists.
        (MTinterface::fixup_after_fork): Iterate through each list and fixup the objects.
        (pthread_cond::pthread_cond): Add this to the condition list.
        (pthread_cond::~pthread_cond): Remove this from the condition list.
        (pthread_cond::fixup_after_fork): Recreate as best we can the pre-fork state.
        (pthread_mutex::pthread_mutex): Add this to the mutex list.
        (pthread_mutex::~pthread_mutex): Remove this from the mutex list.
        (pthread_mutex::fixup_after_fork): Recreate as best we can the pre-fork state.
        (semaphore::semaphore): Store the initial value, and add this to the semaphore list.
        (semaphore::~semaphore): Remove this from the semaphore list.
        (semaphore::Post): Increment the current semaphore value.
        (semaphore::TryWait): Decrement the current semaphore value.
        (semaphore::Wait): Ditto.
        (semaphote::fixup_after_fork): Recreate the pre-fork state as best we can.
        * thread.h (pthread_mutex): New members to allow fixup_after_fork.
        (pthread_cond): Ditto.
        (semaphore): Ditto.
        (MTinterface): New list heads for tracking conds and semaphores.

22 years agoAdd support for GDB monitor-style I/O.
Jim Blandy [Mon, 10 Sep 2001 23:47:42 +0000 (23:47 +0000)]
Add support for GDB monitor-style I/O.
* m68k/idp-outbyte.c (raw_outbyte): Renamed from outbyte; made
static.
(outbyte): Call raw_outbyte; if GDB_MONITOR_OUTPUT is #defined,
precede the byte with a ^O character.
* m68k/idpgdb.ld: New linker script.
* m68k/Makefile.in (IDPGDB_LDFLAGS, IDPGDB_BSP, IDPGDB_OBJS): New
variables.
(all): Add ${IDPGDB_BSP} to the list of things to build.
(${IDPGDB_BSP}, idp-gdb-outbyte.o, idpgdb-test.x,
idpgdb-test.srec, idpgdb-test.dis, idpgdb-test): New rules.
(install): Install the IDPGDB stuff, too.

22 years ago2001-09-05 Danny Smith <dannysmith@users.sourceforge.net>
Earnie Boyd [Mon, 10 Sep 2001 16:50:06 +0000 (16:50 +0000)]
2001-09-05  Danny Smith  <dannysmith@users.sourceforge.net>

* include/wininet.h (InternetAutodial): Add prototype.
(InternetAutodialHangup): Ditto.
(InternetDial): Ditto.
(InternetGetConnectedState): Ditto.
(InternetGoOnline): Ditto.
(InternetHangUp): Ditto.
(InternetSetDialState): Ditto.
Add associated INTERNET_* auto dial flags.
Guard typedefs and prototypes with #ifndef RC_INVOKED.

22 years ago2001-09-10 Earnie Boyd <earnie@SF.net>
Earnie Boyd [Mon, 10 Sep 2001 15:41:46 +0000 (15:41 +0000)]
2001-09-10  Earnie Boyd  <earnie@SF.net>

* dossh: Remove inadvertantly imported file.

2001-09-10  Danny Smith  <dannysmith@users.sourceforge.net>

* dirent.c (opendir): Use GetFileAttributes rather than stat
to determine if input arg is dir.

22 years ago* dtable.cc (dtable::fixup_after_fork): Use SetStdHandle appropriately on
Christopher Faylor [Mon, 10 Sep 2001 02:11:59 +0000 (02:11 +0000)]
* dtable.cc (dtable::fixup_after_fork): Use SetStdHandle appropriately on
inherited fds.

22 years ago* sigproc.cc (NZOMBIES): Reduce substantially to minimize memory use.
Christopher Faylor [Mon, 10 Sep 2001 00:19:06 +0000 (00:19 +0000)]
* sigproc.cc (NZOMBIES): Reduce substantially to minimize memory use.

22 years agoMon Sep 10 08:28:00 2001 Robert Collins <rbtcollins@hotmail.com>
Robert Collins [Sun, 9 Sep 2001 22:39:35 +0000 (22:39 +0000)]
Mon Sep 10 08:28:00 2001  Robert Collins <rbtcollins@hotmail.com>

        * thread.h (MT_Interface): Remove pshared mutex array.
        Add a threadsafe list for mutex tracking (for fixupafter fork).
        * thread.cc (MTInterface::Init): Remove pshared mutex array.
        (pthread_mutex::pthread_mutex): Remove pshared mutex functionality.
        Fail with EINVAL on attempts to use pshared functionality.
        (__pthread_mutex_getpshared): Remove.
        (__pthread_cond_timedwait): Remove pshared mutex functionality.
        (__pthread_cond_wait): Ditto.
        (__pthread_mutex_init): Ditto.
        (__pthread_mutex_getprioceiling): Ditto.
        (__pthread_mutex_lock): Ditto.
        (__pthread_mutex_trylock): Ditto.
        (__pthread_mutex_unlock): Ditto.
        (__pthread_mutex_destroy): Ditto.
        (__pthread_mutex_setprioceiling): Ditto.
        (__pthread_mutexattr_setpshared): Ditto.

22 years ago * pwdgrp.h (pwdgrp_check::set_last_modified): Call GetFileTime()
Corinna Vinschen [Sun, 9 Sep 2001 21:57:44 +0000 (21:57 +0000)]
* pwdgrp.h (pwdgrp_check::set_last_modified): Call GetFileTime()
instead of GetFileInformationByHandle().

22 years ago* heap.h (inheap): Rewrite macro to accomodate removal of brk macros below.
Christopher Faylor [Sun, 9 Sep 2001 20:00:29 +0000 (20:00 +0000)]
* heap.h (inheap): Rewrite macro to accomodate removal of brk macros below.

22 years ago* cygheap.cc (cygheap_fixup_in_child): Clear cygheap->base so that heap is not
Christopher Faylor [Sun, 9 Sep 2001 19:06:50 +0000 (19:06 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Clear cygheap->base so that heap is not
forced to start at the same place in execed process.
* heap.cc: Remove brk* macros for clarity throughout.
* heap.h: Ditto.
* shared.cc (shared_info::initialize): Move heap_chunk test into
heap_chunk_size().
(heap_chunk_size): Check for chunk size here.  Don't go to registry if
heap_chunk_in_mb is already set.
* smallprint.c (console_printf): Add Windows 95 concessions.

22 years ago* child_info.h (PROC_MAGIC): Bump magic number.
Christopher Faylor [Sun, 9 Sep 2001 17:01:47 +0000 (17:01 +0000)]
* child_info.h (PROC_MAGIC): Bump magic number.

22 years ago * cygheap.cc (init_cygheap::etc_changed): New method to signal
Corinna Vinschen [Sun, 9 Sep 2001 16:52:37 +0000 (16:52 +0000)]
* cygheap.cc (init_cygheap::etc_changed): New method to signal
a change in /etc.
* cygheap.h (struct init_cygheap): Add member `etc_changed_h'
and method `etc_changed'.
* grp.cc (enum grp_state): Eliminate.
(class grp_check): Ditto.
(group_state): Define as `class pwdgrp_check'.
(parse_grp): Remeber path and modification time of /etc/group file.
* passwd.cc (enum_pwd_state): Eliminate.
(class pwd_check): Ditto.
(passwd_state): Define as `class pwdgrp_check'.
(read_etc_passwd): Remember path and modification time of /etc/passwd
file.
* pwdgrp.h: New file.
(enum pwdgrp_state): Substitutes `pwd_state' and `grp_state'.
(class pwdgrp_check): Substitutes `pwd_check' and `grp_check'.

22 years ago* winsup.api/ltp/dup03.c: New test.
Egor Duda [Sun, 9 Sep 2001 13:38:17 +0000 (13:38 +0000)]
* winsup.api/ltp/dup03.c: New test.
* winsup.api/ltp/lseek03.c: Ditto.
* winsup.api/ltp/mmap001.c: Ditto.
* winsup.api/ltp/read01.c: Ditto.
* winsup.api/ltp/readdir01.c: Ditto.
* winsup.api/ltp/rmdir05.c: Ditto.
* winsup.api/ltp/sbrk01.c: Ditto.
* winsup.api/ltp/select02.c: Ditto.
* winsup.api/ltp/select03.c: Ditto.
* winsup.api/ltp/signal03.c: Ditto.
* winsup.api/ltp/stat06.c: Ditto.
* winsup.api/ltp/unlink08.c: Ditto.
* winsup.api/known_bugs.tcl: Update to reflect new test's known
failures.
* winsup.api/winsup.exp: Don't delete executable in case of
unexpected pass, as well as in case of unexpected failure.
* README: Update paragraph about expected failures.

22 years ago* dumper.cc (main): Change command-line arguments format to be
Egor Duda [Sun, 9 Sep 2001 13:18:51 +0000 (13:18 +0000)]
* dumper.cc (main): Change command-line arguments format to be
similar to gdb. Allow adding error_start=x:\path\to\dumper.exe to
CYGWIN environment variable to perform core dumping in case of
program crash.
(usage): Ditto.

22 years ago * include/cygwin/version.h: Bump API minor version to 45 according
Corinna Vinschen [Sun, 9 Sep 2001 12:32:54 +0000 (12:32 +0000)]
    * include/cygwin/version.h: Bump API minor version to 45 according
        to adding the gamm*_r functions.

22 years ago* fork.cc (fork_parent): Stop malloc activity while fork is in control of the
Christopher Faylor [Sun, 9 Sep 2001 03:34:36 +0000 (03:34 +0000)]
* fork.cc (fork_parent): Stop malloc activity while fork is in control of the
heap.
* sigproc.cc (NZOMBIES): Rename from ZOMBIEMAX for clarity.
(zombies): Revert to original behavior.  Allocating zombie array resulted in
performance hit.
* winsup.h: Declare malloc lock routines.

22 years ago* cygwin.din: Add gamm*_r function exports.
Christopher Faylor [Sat, 8 Sep 2001 01:35:55 +0000 (01:35 +0000)]
* cygwin.din: Add gamm*_r function exports.

22 years ago* cygheap.h (init_cygheap): Move heap pointers here.
Christopher Faylor [Fri, 7 Sep 2001 21:32:07 +0000 (21:32 +0000)]
* cygheap.h (init_cygheap): Move heap pointers here.
* include/sys/cygwin.h (perprocess): Remove heap pointers.
* dcrt0.cc (__cygwin_user_data): Reflect obsolete perprocess stuff.
(_dll_crt0): Don't initialize heap pointers.
(cygwin_dll_init): Ditto.
(release_upto): Use heap pointers from cygheap.
* heap.h: Ditto.
* fork.cc (fork_parent): Ditto.  Don't set heap pointers in ch.
(fork_child): Remove obsolete sigproc_fixup_after_fork.
* shared.cc (memory_init): Reorganize so that cygheap initialization is called
prior to regular heap since regular heap uses cygheap now.
* sigproc.cc (proc_subproc): Eliminate zombies allocation.
(sigproc_init): Move zombies alloation here.  Don't free up array on fork, just
reuse it.
(sigproc_fixup_after_fork): Eliminate.
* sigproc.h: Ditto.
* include/cygwin/version.h: Reflect change to perprocess structure.

22 years ago2001-09-07 Jeff Law <law@redhat.com>
Jeff Johnston [Fri, 7 Sep 2001 18:21:33 +0000 (18:21 +0000)]
2001-09-07  Jeff Law  <law@redhat.com>

        * libc/sys/h8300hms/crt0.S: For H8/300H and H8/S, load address of
        __fini with "mov.l" instead of "mov.w".

22 years agoFri Sep 7 10:53:34 2001 Jason Tishler <jason@tishler.net>
Corinna Vinschen [Fri, 7 Sep 2001 17:17:54 +0000 (17:17 +0000)]
Fri Sep  7 10:53:34 2001  Jason Tishler <jason@tishler.net>

        * poll.cc (poll): Change implementation to only call select() when no
        invalid file descriptors are specified.

22 years ago* how-resources.texinfo: Add some additional words about where to find
Christopher Faylor [Fri, 7 Sep 2001 16:48:23 +0000 (16:48 +0000)]
* how-resources.texinfo: Add some additional words about where to find
documentation.

22 years ago * include/limits.h: Define PIPE_BUF.
Corinna Vinschen [Fri, 7 Sep 2001 08:31:16 +0000 (08:31 +0000)]
    * include/limits.h: Define PIPE_BUF.
        * syscalls.cc (fpathconf): Use PIPE_BUF instead of numerical constant.
        (pathconf): Ditto.

22 years agoexperiment.
Christopher Faylor [Fri, 7 Sep 2001 01:13:47 +0000 (01:13 +0000)]
experiment.

22 years ago* fhandler_socket.cc (fhandler_socket::fhandler_socket): Ensure that
Christopher Faylor [Fri, 7 Sep 2001 00:07:49 +0000 (00:07 +0000)]
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Ensure that
prot_info_ptr is zeroed for later use.

22 years ago* cygheap.cc (cygheap_fixup_in_child): Don't consider a NULL bucket as a
Christopher Faylor [Thu, 6 Sep 2001 18:06:27 +0000 (18:06 +0000)]
* cygheap.cc (cygheap_fixup_in_child): Don't consider a NULL bucket as a
candidate for deletion.  It is actually the end of a linked list chain.
* exceptions.cc (open_stackdumpfile): Default to "unknown" program name if
myself->progname hasn't been filled out yet.

22 years agoAnother in the how-it-works series.
Christopher Faylor [Thu, 6 Sep 2001 16:53:48 +0000 (16:53 +0000)]
Another in the how-it-works series.

22 years agoFix import symbols for AIX.
Tom Rix [Thu, 6 Sep 2001 15:20:00 +0000 (15:20 +0000)]
Fix import symbols for AIX.

22 years agoMove appropriate variables to NO_COPY segment, throughout.
Christopher Faylor [Thu, 6 Sep 2001 05:17:22 +0000 (05:17 +0000)]
Move appropriate variables to NO_COPY segment, throughout.

22 years agoRemove initialization of static or global values to zero, throughout. This
Christopher Faylor [Thu, 6 Sep 2001 04:41:59 +0000 (04:41 +0000)]
Remove initialization of static or global values to zero, throughout.  This
just needlessly grows the size of the DLL.
* tty.cc (tty::alive): Make inuse handle non-inheriting on open, just for
thread safety.

22 years ago* cygheap.h (init_cygheap): Move bucket array here from cygheap.cc.
Christopher Faylor [Thu, 6 Sep 2001 03:39:18 +0000 (03:39 +0000)]
* cygheap.h (init_cygheap): Move bucket array here from cygheap.cc.
* cygheap.cc: Throughout use bucket array from cygheap.
* sigproc.cc (proc_subproc): Dynamically allocate zombie buffer to save DLL
space.
(sigproc_fixup_after_fork): Free zombie array after a fork.
* sigproc.h (sigproc_fixup_after_fork): Declare.
* dir.cc (mkdir): Expand buffer for security descriptor to 4K to avoid stack
corruption.
* fhandler.cc (fhandler_base::open): Ditto.
* path.cc (symlink): Ditto.

22 years ago* Makefile.in (dumper): Change logic for libbfd and libintl so that they will
Christopher Faylor [Thu, 6 Sep 2001 02:38:22 +0000 (02:38 +0000)]
* Makefile.in (dumper): Change logic for libbfd and libintl so that they will
be found either in the build tree or the installed directory.
* mkpasswd.c (enum_users): Add a comment as a password for NT.

22 years agoRevert inadvertently checked in files.
Christopher Faylor [Thu, 6 Sep 2001 00:45:51 +0000 (00:45 +0000)]
Revert inadvertently checked in files.

22 years ago* Makefile.in: Install libstdc++.a if it does not exist.
Christopher Faylor [Wed, 5 Sep 2001 23:26:38 +0000 (23:26 +0000)]
* Makefile.in: Install libstdc++.a if it does not exist.

22 years agominor wording changes
Christopher Faylor [Wed, 5 Sep 2001 20:12:38 +0000 (20:12 +0000)]
minor wording changes

22 years agotop level overview of vfork.
Christopher Faylor [Wed, 5 Sep 2001 19:43:52 +0000 (19:43 +0000)]
top level overview of vfork.

22 years ago * winver.rc: Change copyright to include 2001.
Corinna Vinschen [Wed, 5 Sep 2001 19:36:49 +0000 (19:36 +0000)]
    * winver.rc: Change copyright to include 2001.

22 years ago * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
Corinna Vinschen [Wed, 5 Sep 2001 15:56:01 +0000 (15:56 +0000)]
    * libc/sys/cygwin/include/unistd.h: New file, wrapping sys/unistd.h
        and getopt.h.

22 years ago * fhandler_floppy.cc (fhandler_floppy::lseek): Remove iswinnt check.
Corinna Vinschen [Wed, 5 Sep 2001 10:14:15 +0000 (10:14 +0000)]
    * fhandler_floppy.cc (fhandler_floppy::lseek): Remove iswinnt check.

22 years ago * fhandler_socket.cc (fhandler_socket::close): Change 2MSL value
Corinna Vinschen [Wed, 5 Sep 2001 09:35:08 +0000 (09:35 +0000)]
    * fhandler_socket.cc (fhandler_socket::close): Change 2MSL value
        according to MSDN.

22 years ago * net.cc (cygwin_connect): Add WSAEALREADY and WSAEINVAL handling
Corinna Vinschen [Wed, 5 Sep 2001 08:16:51 +0000 (08:16 +0000)]
    * net.cc (cygwin_connect): Add WSAEALREADY and WSAEINVAL handling
        for non-blocking sockets.

22 years ago * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.
Richard Henderson [Wed, 5 Sep 2001 02:54:37 +0000 (02:54 +0000)]
    * alpha.h (R_ALPHA_OP*, R_ALPHA_IMMED*, R_ALPHA_GPVALUE): Remove.
        (R_ALPHA_GPREL16): Rename from R_ALPHA_IMMED_GP_16.

22 years ago * alpha.h (struct alpha_operand): Pack elements into bitfields.
Richard Henderson [Wed, 5 Sep 2001 02:52:17 +0000 (02:52 +0000)]
    * alpha.h (struct alpha_operand): Pack elements into bitfields.

22 years ago* exceptions.cc (ctrl_c_handler): Only send SIGINT when we have a controlling
Christopher Faylor [Wed, 5 Sep 2001 02:42:49 +0000 (02:42 +0000)]
* exceptions.cc (ctrl_c_handler): Only send SIGINT when we have a controlling
terminal and we are the head of the process group.

22 years ago2001-09-04 Earnie Boyd <earnie@SF.Net>
Earnie Boyd [Tue, 4 Sep 2001 20:56:23 +0000 (20:56 +0000)]
2001-09-04  Earnie Boyd  <earnie@SF.Net>

* lib/Makefile.in: Move the setting of variable libdir to after the
setting of exec_prefix since the value of libdir is dependant on it.

22 years ago* thread.cc (InterlockedExchangePointer): Don't define if it already exists.
Christopher Faylor [Tue, 4 Sep 2001 20:48:45 +0000 (20:48 +0000)]
* thread.cc (InterlockedExchangePointer): Don't define if it already exists.

22 years ago * uname.cc (uname): Eliminate os specific retrieving of x86
Corinna Vinschen [Tue, 4 Sep 2001 20:16:33 +0000 (20:16 +0000)]
    * uname.cc (uname): Eliminate os specific retrieving of x86
processor type.

22 years ago2001-09-04 Jason Merrill <jason_merrill@redhat.com>
Jeff Johnston [Tue, 4 Sep 2001 19:05:44 +0000 (19:05 +0000)]
2001-09-04  Jason Merrill  <jason_merrill@redhat.com>

        * libc/sys/h8300hms/crt0.S: Support ELF initialization.

22 years ago* winbase.h: Add missing closing parentheses to InterlockedExchangePointer
Christopher Faylor [Tue, 4 Sep 2001 18:19:33 +0000 (18:19 +0000)]
* winbase.h: Add missing closing parentheses to InterlockedExchangePointer
declaration.

22 years ago2001-09-01 Danny Smith <dannysmith@users.sourceforge.net>
Earnie Boyd [Tue, 4 Sep 2001 14:57:51 +0000 (14:57 +0000)]
2001-09-01  Danny Smith  <dannysmith@users.sourceforge.net>

* include/shlobj.h (CFSTR_* ): Add new defines.
Thanks to: "Ron" <ron@debian.org> .
Unicode them.

22 years ago2001-09-04 Kazuhiro Fujieda <fujieda@jaist.ac.jp>
Corinna Vinschen [Tue, 4 Sep 2001 10:45:54 +0000 (10:45 +0000)]
2001-09-04  Kazuhiro Fujieda  <fujieda@jaist.ac.jp>

        * fhandler_console.cc (fhandler_console::char_command): Save the cursor
        position relative to the top of the window.
        * fhandler_cc (fhandler_console::write): Ditto.

22 years ago* mount.cc (mount_commands): Don't write /cygdrive/u mount points.
Christopher Faylor [Tue, 4 Sep 2001 01:09:39 +0000 (01:09 +0000)]
* mount.cc (mount_commands): Don't write /cygdrive/u mount points.

22 years ago* mount.cc (longopts): Add mount-commands to options list.
Christopher Faylor [Mon, 3 Sep 2001 22:02:54 +0000 (22:02 +0000)]
* mount.cc (longopts): Add mount-commands to options list.
(usage): Add mount-commands option.
(mount_commands): New function.  Write commands to recreate current mounts.

22 years ago*** empty log message ***
Christopher Faylor [Mon, 3 Sep 2001 20:36:52 +0000 (20:36 +0000)]
*** empty log message ***

22 years ago2001-09-03 Jeff Holcomb <jeffh@redhat.com>
Jeff Holcomb [Mon, 3 Sep 2001 19:47:48 +0000 (19:47 +0000)]
2001-09-03  Jeff Holcomb  <jeffh@redhat.com>

        * configure.in: Enable libstdc++-v3 for h8300 targets.

22 years ago * dir.cc (opendir): Write version information to __d_dirent->d_version.
Corinna Vinschen [Mon, 3 Sep 2001 19:06:58 +0000 (19:06 +0000)]
    * dir.cc (opendir): Write version information to __d_dirent->d_version.

22 years ago * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
Corinna Vinschen [Mon, 3 Sep 2001 19:04:05 +0000 (19:04 +0000)]
    * libc/sys/cygwin/sys/dirent.h (struct dirent): Add version number
        field.
        (__DIRENT_VERSION): New define.

22 years ago Add missing ChangeLog entries.
Corinna Vinschen [Mon, 3 Sep 2001 16:39:49 +0000 (16:39 +0000)]
Add missing ChangeLog entries.

22 years ago * cygwin.din: Add `dirfd'.
Corinna Vinschen [Mon, 3 Sep 2001 16:36:54 +0000 (16:36 +0000)]
    * cygwin.din: Add `dirfd'.
        * dir.cc (dirfd): New function.
        (opendir): Open a directory file descriptor and save it in
        __d_dirent->d_fd.
        (closedir): Close directory file descriptor.
        * include/cygwin/version.h: Bump API minor version to 44.

22 years ago * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.
Corinna Vinschen [Mon, 3 Sep 2001 16:33:53 +0000 (16:33 +0000)]
    * libc/sys/cygwin/sys/dirent.h (struct dirent): Add `d_fd' member.

22 years ago* child_info.h: Modify magic number.
Christopher Faylor [Mon, 3 Sep 2001 02:13:05 +0000 (02:13 +0000)]
* child_info.h: Modify magic number.
* dcrt0.cc (_cygwin_testing): Define.
(_dll_crt0): Set _cygwin_testing if CYGWIN_TESTING environment variable exists.
Don't issue "conflicting versions" error if _cygwin_testing is true.
* shared.cc (shared_name): Use _cygwin_testing global rather than testing the
environment.
* syscalls.cc (_write): Remove debugging info.

22 years ago* mount.cc (main): Eliminate excess arguments in printf.
Christopher Faylor [Sat, 1 Sep 2001 19:58:40 +0000 (19:58 +0000)]
* mount.cc (main): Eliminate excess arguments in printf.

22 years ago* include/winnt.h: Use defined(_ANONYMOUS_STRUCT) to determine if anonymous
Christopher Faylor [Sat, 1 Sep 2001 14:42:57 +0000 (14:42 +0000)]
* include/winnt.h: Use defined(_ANONYMOUS_STRUCT) to determine if anonymous
structs are available rather than just testing preprocessor variable directly.

22 years ago* tty.cc (tty::create_inuse): Eliminate unneeded argument.
Christopher Faylor [Sat, 1 Sep 2001 05:38:46 +0000 (05:38 +0000)]
* tty.cc (tty::create_inuse): Eliminate unneeded argument.
* tty.h: Reflect above change.
* fhandler_tty.cc: Reflect argument reduction in tty::create_inuse, throughout.
Always make inuse inheritable.

22 years ago* debug.cc (mark_closed): Rename from debug_mark_closed and make static.
Christopher Faylor [Sat, 1 Sep 2001 05:17:34 +0000 (05:17 +0000)]
* debug.cc (mark_closed): Rename from debug_mark_closed and make static.
(setclexec_pid): New function for marking saved handle as close-on-exec.
(delete_handle): New function.
(debug_fixup_after_fork): New function.
* debug.h: Declare new functions, remove obsolete ones.
* fork.cc (debug_fixup_after_fork): Call to cleanup close-on-exec handles.
* fhandler.cc (fhandler_disk_file::close): Minor reorg.
(fhandler_base::set_inheritance): Set flag appropriately for debugging when
close-on-exec so forked process can delete closed handles.
* tty.h (open_output_mutex): Eliminate unneeded argument.
(open_input_mutex): Ditto.
* fhandler_tty.cc (fhandler_tty_slave::open): reflect open_*_mutex argument
changes.
* fhandler.h (fhandler_socket): Make saw_shutdown_* functions type bool.
* tty.cc (tty::get_event): Eliminate unneeded argument.
(tty::common_init): Reflect change to get_event.  Events should always be
inherited.

22 years agomips3264 support
Eric Christopher [Fri, 31 Aug 2001 21:21:54 +0000 (21:21 +0000)]
mips3264 support

22 years ago2001-03-30 Richard Henderson <rth@redhat.com>
Eric Christopher [Fri, 31 Aug 2001 20:18:49 +0000 (20:18 +0000)]
2001-03-30  Richard Henderson  <rth@redhat.com>
    Eric Christopher  <echristo@redhat.com>

* mips/crt0.S: Fix for .init/.fini sections.

22 years ago * security.cc (create_token): Change initialization of `exp' to comply
Corinna Vinschen [Fri, 31 Aug 2001 19:48:34 +0000 (19:48 +0000)]
   * security.cc (create_token): Change initialization of `exp' to comply
        with new LARGE_INTEGER definition in winnt.h.

22 years ago * include/winnt.h: Change definition of `SYSTEM_LUID' to comply
Corinna Vinschen [Fri, 31 Aug 2001 19:48:04 +0000 (19:48 +0000)]
    * include/winnt.h: Change definition of `SYSTEM_LUID' to comply
        with new `LARGE_INTEGER' definition.

22 years ago2001-08-30 Richard Henderson <rth@redhat.com>
Eric Christopher [Fri, 31 Aug 2001 19:22:51 +0000 (19:22 +0000)]
2001-08-30  Richard Henderson  <rth@redhat.com>
    Eric Christopher  <echristo@redhat.com>

* mips/idt.ld: Rewrite for .init/.fini sections.

22 years ago* cygwin.sc: Revert to previous NO_COPY behavior.
Christopher Faylor [Fri, 31 Aug 2001 18:16:16 +0000 (18:16 +0000)]
* cygwin.sc: Revert to previous NO_COPY behavior.
* winsup.h: Ditto.
* sigproc.cc: Ditto.
* autoload.cc: Ditto.

22 years ago2001-08-30 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 31 Aug 2001 06:37:20 +0000 (06:37 +0000)]
2001-08-30  Eric Christopher  <echristo@redhat.com>
    Jason Eckhardt  <jle@redhat.com>

* config.sub: Add support for mipsisa32.

22 years ago2001-08-30 Eric Christopher <echristo@redhat.com>
Eric Christopher [Fri, 31 Aug 2001 05:45:40 +0000 (05:45 +0000)]
2001-08-30  Eric Christopher  <echristo@redhat.com>

* config.sub, config.guess: Import latest from subversions.

22 years agominor wording change.
Christopher Faylor [Fri, 31 Aug 2001 05:24:36 +0000 (05:24 +0000)]
minor wording change.

22 years agospace reduction.
Christopher Faylor [Fri, 31 Aug 2001 05:23:04 +0000 (05:23 +0000)]
space reduction.

22 years agospace reduction.
Christopher Faylor [Fri, 31 Aug 2001 05:17:47 +0000 (05:17 +0000)]
space reduction.

22 years ago* cygwin.sc: New file -- linker script for building cygwin DLL.
Christopher Faylor [Fri, 31 Aug 2001 05:06:14 +0000 (05:06 +0000)]
* cygwin.sc: New file -- linker script for building cygwin DLL.
* Makefile.in: Use linker script to control location of cygheap.
* cygheap.cc (buckets): Make static.
(init_cheap): Remove special iswinnt handling.  Allocate cygheap at a fixed
location.  Display more info when allocation fails.
(cygheap_fixup_in_child): Try harder to move cygheap to correct location.
Display more info when allocation fails.
* fhandler.h (fhandler_socket): Add macros for tracking socket shutdown state.
* net.cc (cygwin_shutdown): Set appropriate shutdown value for future use.
* select.cc (select_stuff::cleanup): New method.
(cygwin_select): Call cleanup explicitly to avoid a race.
(select_stuff:~select_stuff): Call cleanup chain via cleanup method.
(fhandler_socket::select_read): Set *_ready when shutdown has been called on
the socket.
(fhandler_socket::select_write): Ditto.
(fhandler_socket::select_except): Ditto.
* winsup.h: Move NO_COPY to "COMMON" section.
* autoload.cc (wsock_started): Avoid initializing NO_COPY value.
* sigproc.cc: Remove initialization from NO_COPY variables.
(sigproc_init): Initialize sig_loop_wait here, rather than via initialization.
(subproc_init): Initialize proc_loop_wait here, rather than via initialization.

22 years ago* dumper.h: Update copyright notice.
Egor Duda [Thu, 30 Aug 2001 16:47:51 +0000 (16:47 +0000)]
* dumper.h: Update copyright notice.
* dumper.cc: Ditto.
* dumper.cc: (dumper::print_core_section_list): New function.
* dumper.h: (dumper::print_core_section_list): Declare it.
* dumper.cc (print_section_name): New function.
(dumper::collect_process_information): Augment debugging output.
Stop debugee processing if it posts double exception.
(usage): Fix typo in option name.

22 years ago* include/winsock2.h: Remove "extra token" after #endif.
Christopher Faylor [Thu, 30 Aug 2001 13:37:23 +0000 (13:37 +0000)]
* include/winsock2.h: Remove "extra token" after #endif.

22 years ago * select.cc (select_read): Add setting read_ready flag.
Corinna Vinschen [Thu, 30 Aug 2001 08:21:09 +0000 (08:21 +0000)]
    * select.cc (select_read): Add setting read_ready flag.
        (select_write): Add setting write_ready flag.

22 years ago * config.guess: Remove the \r from the end of line.
Earnie Boyd [Thu, 30 Aug 2001 04:29:49 +0000 (04:29 +0000)]
* config.guess: Remove the \r from the end of line.
* config.sub: Ditto.
* include/winnt.h: Allow anonymous struct in [U]LARGE_INTEGER
if __cplusplus as well as if _ANONYMOUS_STRUCT.
* config.guess: Add the MSYS system.
* config.sub: Ditto.
* include/winsock.h: Add the __INSIDE_MSYS__ protections.
* incldue/winsock2.h: Ditto.

22 years ago2001-08-29 Joel Sherrill <joel@OARcorp.com>
Jeff Johnston [Wed, 29 Aug 2001 20:09:31 +0000 (20:09 +0000)]
2001-08-29  Joel Sherrill <joel@OARcorp.com>

        * libc/include/sys/unistd.h: Prototype chroot() for RTEMS.

2001-08-29  Ralf Corsepius <corsepiu@faw.uni-ulm.de>

        * libc/machine/i386/f_atan2.S, libc/machine/i386/f_atan2f.S,
          libc/machine/i386/f_exp.c, libc/machine/i386/f_expf.c,
          libc/machine/i386/f_frexp.S, libc/machine/i386/f_frexpf.S,
          libc/machine/i386/f_ldexp.S, libc/machine/i386/f_ldexpf.S,
          libc/machine/i386/f_log.S, libc/machine/i386/f_log10.S,
          libc/machine/i386/f_log10f.S, libc/machine/i386/f_logf.S,
          libc/machine/i386/f_pow.c, libc/machine/i386/f_powf.c,
          libc/machine/i386/f_tan.S, libc/machine/i386/f_tanf.S:
        Add conditional compilation to avoid HW FPU instructions
        when compiled for soft-float.

22 years agomerge from gcc
DJ Delorie [Wed, 29 Aug 2001 20:03:08 +0000 (20:03 +0000)]
merge from gcc

22 years ago2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 29 Aug 2001 19:55:20 +0000 (19:55 +0000)]
2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>

        * Makefile.am: Add check for ln failing when creating libg.a
        so that cp gets used as a backup.
        * Makefile.in: Regenerated.

22 years ago2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 29 Aug 2001 19:47:43 +0000 (19:47 +0000)]
2001-08-29  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/reent.h: Add include of <sys/_types.h>.
        No longer include time.h.  Add struct __tm to use for
        _localtime_buf in the reentrant structure.  Add a
        _NULL definition to use in initializing the reentrant struct.
        * libc/include/sys/config.h: For CYGWIN32 and RTEMS, change
        the _READ_WRITE_RETURN_TYPE to _ssize_t which is found in
        <sys/_types.h>.
        * libc/include/sys/unistd.h: Include <sys/_types.h>.
        * libc/time/lcltime.c (localtime): Cast the reentrant struct
        _localtime_buf to be struct tm *.

22 years ago * h8.h (EF_H8_MACH): New mask for encoded machine type.
Jeff Law [Wed, 29 Aug 2001 17:23:39 +0000 (17:23 +0000)]
    * h8.h (EF_H8_MACH): New mask for encoded machine type.
        (E_H8_MACH_H8300, E_H8_MACH_H8300H, E_H8_MACH_H8300S): New
        machine types.

22 years ago * include\winnt.h: Allow anonymous (Xxx.LowPart) or
Earnie Boyd [Wed, 29 Aug 2001 13:45:46 +0000 (13:45 +0000)]
* include\winnt.h: Allow anonymous (Xxx.LowPart) or
non-anonymous (Xxx.u.LowPart) access to HighPart and
LowPart of a LARGE_INTEGER or ULARGE_INTEGER.
* include/wingdi.h (HANGUL_CHARSET): Add define.

22 years ago * include/stdarg.h (va_list): Typedef as __builtin_va_list if
Earnie Boyd [Wed, 29 Aug 2001 13:43:59 +0000 (13:43 +0000)]
* include/stdarg.h (va_list): Typedef as __builtin_va_list if
__GNUC__ >= 3.
* include/varargs.h (va_list): Ditto.
* include/stdio.h (va_list): Ditto.

22 years ago * configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
Joern Rennecke [Wed, 29 Aug 2001 13:26:32 +0000 (13:26 +0000)]
* configure.host (h8300-*-elf*, h8500-*-elf*): New cases.
* libc/sys/h8300hms/crt1.c (__main): Don't reference __ctors /
__ctors_end.
* libc/sys/h8300hms/syscalls.c: Include errno.h.
(_unlink): New stub function.

22 years ago* path.cc (path_conv::check): Avoid splitting off leading '/' in path component
Christopher Faylor [Wed, 29 Aug 2001 04:43:19 +0000 (04:43 +0000)]
* path.cc (path_conv::check): Avoid splitting off leading '/' in path component
when building a symlink.

22 years ago * resource.cc (getrlimit): Return actual values on RLIMIT_STACK.
Corinna Vinschen [Tue, 28 Aug 2001 22:48:23 +0000 (22:48 +0000)]
    * resource.cc (getrlimit): Return actual values on RLIMIT_STACK.

22 years ago * h8.h: New file.
Joern Rennecke [Tue, 28 Aug 2001 22:33:27 +0000 (22:33 +0000)]
* h8.h: New file.

22 years agooops
Christopher Faylor [Tue, 28 Aug 2001 20:39:22 +0000 (20:39 +0000)]
oops

22 years ago* dir.cc (rmdir): Report ENOENT when file doesn't exist rather than ENOTDIR.
Christopher Faylor [Tue, 28 Aug 2001 20:38:07 +0000 (20:38 +0000)]
* dir.cc (rmdir): Report ENOENT when file doesn't exist rather than ENOTDIR.

22 years ago* mount.cc (main): Issue correct warning for 'not enough arguments'.
Christopher Faylor [Tue, 28 Aug 2001 18:48:38 +0000 (18:48 +0000)]
* mount.cc (main): Issue correct warning for 'not enough arguments'.

22 years agomerge from gcc
DJ Delorie [Mon, 27 Aug 2001 20:04:44 +0000 (20:04 +0000)]
merge from gcc

22 years ago* select.cc (cygwin_select): Ensure that arguments are zeroed on timeout.
Christopher Faylor [Mon, 27 Aug 2001 15:59:26 +0000 (15:59 +0000)]
* select.cc (cygwin_select): Ensure that arguments are zeroed on timeout.
(select_stuff::wait): Ditto.

22 years ago * ppc.h (PPC_OPERAND_DS): Define.
Alan Modra [Mon, 27 Aug 2001 10:26:57 +0000 (10:26 +0000)]
* ppc.h (PPC_OPERAND_DS): Define.

22 years ago * ppc.h: Add relocs from the 64-bit PowerPC ELF ABI revision 1.2.
Alan Modra [Mon, 27 Aug 2001 10:26:34 +0000 (10:26 +0000)]
* ppc.h: Add relocs from the 64-bit PowerPC ELF ABI revision 1.2.

This page took 0.069145 seconds and 5 git commands to generate.