]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
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.

22 years ago * xcoff.h (struct __rtinit): Make proper prototype for rtl.
Andreas Jaeger [Mon, 27 Aug 2001 09:08:38 +0000 (09:08 +0000)]
* xcoff.h (struct __rtinit): Make proper prototype for rtl.

22 years agoFor include/opcode:
Andreas Jaeger [Sun, 26 Aug 2001 11:47:39 +0000 (11:47 +0000)]
For include/opcode:
* d30v.h: Fix declaration of reg_name_cnt.

* d10v.h: Fix declaration of d10v_reg_name_cnt.

* arc.h: Add prototypes from opcodes/arc-opc.c.

For opcodes:
* tic54x-dis.c: Add unused attributes where needed.

* z8k-dis.c (output_instr): Add unused attribute.

* h8300-dis.c: Add missing prototypes.
(bfd_h8_disassemble): Make static.

* cris-dis.c: Add missing prototype.
* h8500-dis.c: Likewise.
* m68hc11-dis.c: Likewise.
* pj-dis.c: Likewise.
* tic54x-dis.c: Likewise.
* v850-dis.c: Likewise.
* vax-dis.c: Likewise.
* w65-dis.c: Likewise.
* z8k-dis.c: Likewise.

* d10v-dis.c: Add missing prototype.
(dis_long): Remove unused variable.
(dis_2_short): Likewise.

* sh-dis.c: Add missing prototypes.
* v850-opc.c: Likewise.
Add unused attributes where needed.

* ns32k-dis.c: Add missing prototypes.
(bit_extract_simple): Remove unused variable.

22 years ago* libc/include/sys/errno.h: Add a cautionary comment.
Christopher Faylor [Sun, 26 Aug 2001 02:28:33 +0000 (02:28 +0000)]
* libc/include/sys/errno.h: Add a cautionary comment.

22 years ago* syscalls.cc (check_tty_fds): New function. Check whether there is a fd
Christopher Faylor [Sat, 25 Aug 2001 17:27:31 +0000 (17:27 +0000)]
* syscalls.cc (check_tty_fds): New function.  Check whether there is a fd
referring to pty slave.
(setsid): Don't detach console if the process has a pty slave.

22 years agofix compile time warning message
Nick Clifton [Sat, 25 Aug 2001 09:48:13 +0000 (09:48 +0000)]
fix compile time warning message

22 years agoApply H.J.'s patch to revert change to elfxx-target.h
Nick Clifton [Fri, 24 Aug 2001 16:36:01 +0000 (16:36 +0000)]
Apply H.J.'s patch to revert change to elfxx-target.h
Apply my patch to allow SREC as output format.

22 years ago * net.cc (free_addr_list): Add define for symmetry.
Corinna Vinschen [Fri, 24 Aug 2001 06:57:53 +0000 (06:57 +0000)]
    * net.cc (free_addr_list): Add define for symmetry.
        (free_hostent_ptr): Use free_addr_list to free h_addr_list element.
        (dup_addr_list): New static function.
        (dup_hostent_ptr): Use dup_addr_list instead of dup_char_list in order
        to handle embedded null characters.

22 years ago * internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix.
Joern Rennecke [Fri, 24 Aug 2001 00:20:01 +0000 (00:20 +0000)]
* internal.h (R_JMP2, R_JMPL2, R_MOVL2): Comment spelling fix.

22 years ago * elf-bfd.h (enum elf_reloc_type_class): New.
Jakub Jelinek [Thu, 23 Aug 2001 15:14:17 +0000 (15:14 +0000)]
* elf-bfd.h (enum elf_reloc_type_class): New.
(struct elf_backend_data): Add elf_backend_reloc_type_class.
(_bfd_elf_reloc_type_class): New.
* elfxx-target.h (elf_backend_reloc_type_class): Define.
(elfNN_bed): Add elf_backend_reloc_type_class.
* elf.c (_bfd_elf_reloc_type_class): New.
* elf32-i386.c (elf_i386_check_relocs): Set DF_TEXTREL if the reloc
is against read-only section.
(elf_i386_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf_i386_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elf32-sparc.c (elf32_sparc_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(elf32_sparc_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(elf32_sparc_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elf64-sparc.c (sparc64_elf_check_relocs): Set DF_TEXTREL if the
reloc is against read-only section.
(sparc64_elf_size_dynamic_sections): Use DF_TEXTREL flag instead of
looking up section names for DT_TEXTREL.
(sparc64_elf_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elfxx-ia64.c (struct elfNN_ia64_link_hash_table): Add reltext field.
(elfNN_ia64_hash_table_create): Clear ia64_info.
(get_reloc_section): Set DF_TEXTREL if the reloc is against read-only
section.
(elfNN_ia64_size_dynamic_sections): Use ia64_info->reltext flag
instead of looking up section names for DT_TEXTREL.
(elfNN_ia64_reloc_type_class): New.
(elf_backend_reloc_type_class): Define.
* elflink.h (size_dynamic_sections): Add spare DT_NULL tags.
(struct elf_link_sort_rela): New.
(elf_link_sort_cmp1, elf_link_sort_cmp2, elf_link_sort_relocs): New.
(elf_bfd_final_link): Call elf_link_sort_relocs.
Convert one spare DT_NULL into DT_RELCOUNT resp. DT_RELACOUNT if
necessary.

* bfdlink.h (struct bfd_link_info): Add combreloc and
spare_dynamic_tags fields.

* emultempl/elf32.em (place_orphan): Place orphan .rel* sections
into .rel.dyn resp. .rela.dyn if combreloc.
(get_script): If .x linker script is equal to .xn, only put it
once into the binary.
Add .xc and .xsc scripts.
(parse_args): Handle -z combreloc and -z nocombreloc.
* scripttempl/elf.sc (.rela.sbss): Fix a typo.
For .xc and .xsc scripts put all .rel* or .rela* input sections
but .rel*.plt and PLT-like sections into .rel.dyn resp. .rela.dyn.
* genscripts.sh (GENERATE_COMBRELOC_SCRIPT): Set if SCRIPT_NAME
is elf.
Strip trailing whitespace from script.
Generate .xc and .xsc scripts if requested.
* ldmain.c (main): Initialize link_info.combreloc and
link_info.spare_dynamic_tags.
* lexsup.c (OPTION_SPARE_DYNAMIC_TAGS): Define.
(ld_options): Add --spare-dynamic-tags option.
(parse_args): Likewise.
* ld.texinfo: Document -z combreloc and -z nocombreloc.
* ldint.texinfo: Document .xc and .xsc linker scripts.
* NEWS: Add notes about -z combreloc and SHF_MERGE.

22 years agomerge from gcc
DJ Delorie [Thu, 23 Aug 2001 14:51:49 +0000 (14:51 +0000)]
merge from gcc

22 years ago* dtable.cc (dtable::dup2): Allow extension of fd table by dup2.
Christopher Faylor [Thu, 23 Aug 2001 02:27:01 +0000 (02:27 +0000)]
* dtable.cc (dtable::dup2): Allow extension of fd table by dup2.
* syscalls.cc: Minor code cleanup.
(fpathconf): Check for bad fd before doing anything else.
* termios.cc (tcsetattr): Don't convert to new termios if bad fd.
(tcgetattr): Minor debugging tweak.

22 years ago * net.cc (cygwin_inet_ntoa): Rearrange previous patch to use
Corinna Vinschen [Wed, 22 Aug 2001 21:51:48 +0000 (21:51 +0000)]
    * net.cc (cygwin_inet_ntoa): Rearrange previous patch to use
        thread local buffer space when compiled thread safe.
        (cygwin_getprotobyname): Ditto.
        (cygwin_getprotobynumber): Ditto.
        (cygwin_getservbyname): Ditto.
        (cygwin_getservbyport): Ditto.
        (cygwin_gethostbyname): Ditto.
        (cygwin_gethostbyaddr): Ditto. Move near to cygwin_gethostbyname.
        * thread.h (struct _winsup_t): Add pointers for above used buffer space.
        * passwd.cc (getpwduid): Remove initializing passwd.
        (setpwent): Ditto.
        (endpwent): Ditto.
        (setpassent): Ditto.

22 years ago* smallprint.c (console_printf): New function.
Christopher Faylor [Wed, 22 Aug 2001 17:50:22 +0000 (17:50 +0000)]
* smallprint.c (console_printf): New function.
* dcrt0.cc (dll_crt0_1): Use console_printf for debugging output.
* debug.cc (debug_mark_closed): New function.
(close_handle): Use debug_mark_closed.
* debug.h: Declare new functions.
* dtable.cc (dtable::build_fhandler): Remove unneeded extern.
* spawn.cc: Cosmetic changes.
* winsup.h: Define NO_COPY for C files, too.  Declare a global.

22 years ago * net.cc (free_char_list): New static function.
Corinna Vinschen [Wed, 22 Aug 2001 15:31:59 +0000 (15:31 +0000)]
    * net.cc (free_char_list): New static function.
        (dup_char_list): Ditto.
        (free_protoent_ptr): Ditto.
        (dup_protoent_ptr): Ditto.
        (free_servent_ptr): Ditto.
        (dup_servent_ptr): Ditto.
        (free_hostent_ptr): Ditto.
        (dup_hostent_ptr): Ditto.
        (cygwin_inet_ntoa): Use local static buffer to allow propagating of
        the result to child processes.
        (cygwin_getprotobyname): Ditto.
        (cygwin_getprotobynumber): Ditto.
        (cygwin_getservbyname): Ditto.
        (cygwin_getservbyport): Ditto.
        (cygwin_gethostbyname): Ditto.
        (cygwin_gethostbyaddr): Ditto.

22 years agofix typo.
Christopher Faylor [Wed, 22 Aug 2001 02:40:22 +0000 (02:40 +0000)]
fix typo.

22 years agomerge from gcc
DJ Delorie [Wed, 22 Aug 2001 02:11:38 +0000 (02:11 +0000)]
merge from gcc

22 years ago * mips/Makefile.in (jmr3904-io.o): Remove bogus use of `-mips3.'
Jonathan Larmour [Wed, 22 Aug 2001 00:22:58 +0000 (00:22 +0000)]
* mips/Makefile.in (jmr3904-io.o): Remove bogus use of `-mips3.'

22 years ago2001-08-21 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 21 Aug 2001 20:23:16 +0000 (20:23 +0000)]
2001-08-21  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/mallocr.c [!defined(MALLOC_ALIGNMENT)]: Add conditional
        for SIZE_SZ so that alignment ends up a minimum of 8.

22 years agomerge from gcc
DJ Delorie [Tue, 21 Aug 2001 15:18:37 +0000 (15:18 +0000)]
merge from gcc

22 years ago * include/setupapi.h : New file.
Earnie Boyd [Tue, 21 Aug 2001 13:58:52 +0000 (13:58 +0000)]
* include/setupapi.h : New file.
* lib/setupapi.def:New file.
* lib/test.c: Include setupapi.h.
* include/winioctl.h (_DISK_PERFORMANCE): Correct typo.
* include/richedit.h (ENLINK): Add structure definition.
(EM_AUTOURLDETECT, EN_LINK, ENM_LINK): Add defines.
* include/shlobj.h (CMIC_*): Remove duplicate defines.
(CMDSTR_*): Remove duplicates; UNICODE string constants.
(GCS_*): Make UNICODE.
(CSIDL_*): Add more defines.
* include/winioctl.h (_MEDIA_TYPE): Add pointer typedef.
(_DISK_GEOMETRY): Ditto.
(_DISK_PERFORMANCE): Ditto.
* include/winbase.h (HasOverlappedIoCompleted): Add macro.
* include/winnt.h: Move CHAR, SHORT and LONG typedefs outside
of block protected by #ifndef VOID.
(This reverts 1998-12-01 Anders Norlander change.)
* include/odbcinst.h: End file with newline.
* include/raserror.h: Ditto.
* include/winsock2.h (#include <wtypes.h): Don't.
(_BLOB): Define instead, if not already done.
(__BLOB_T_DEFINED: New define for guarding _BLOB.
* include/wtypes.h (_BLOB): Guard against prior definition.
* include/oaidl.h (tagVARIANT): Mark anonymous structs and unions
 as  __extension__.
(tagTYPEDESC): Ditto.
(_wireBRECORD): Add structure definition.
(_wireSAFEARR_BRECORD): Ditto.
(_wireSAFEARR_HAVEIID): Ditto.
(_wireSAFEARRAY_UNION.u): Add fields SAFEARR_BRECORD RecordStr,
SAFEARR_HAVEIID HaveIidStr.
(tagVariant): Add fields _VARIANT_BOOL bool,*pbool.
(_wireVARIANT): Change field parray to type wirePSAFEARRAY,
pparray to wirePSAFEARRAY*.
(_wireVARIANT): Add field wireBRECORD brecVal.
(wireVARIANT): Change typedef to struct _wireVariant*.
(IRecordInfo): Add interface definition.
(LPRECORDINFO): Add typedef for IRecordInfo*.
(IID_IRecordInfo): Add forward decalaration.
* include/lmcons.h: Guard CNLEN and UNCLEN against prior definition.
* include/nddeapi.h: Likewise.
* ChangeLog: Formatting and typo fixes.

22 years ago* floatformat.h (floatformat_arm_ext): Document as deprecated.
Andrew Cagney [Tue, 21 Aug 2001 00:20:05 +0000 (00:20 +0000)]
* floatformat.h (floatformat_arm_ext): Document as deprecated.
(floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword)
(floatformat_ia64_spill_little, floatformat_ia64_quad_little)
(floatformat_ia64_spill_big, floatformat_ia64_quad_big)
(floatformat_m88110_harris_ext): Declare.

22 years agodebug
Christopher Faylor [Mon, 20 Aug 2001 16:03:54 +0000 (16:03 +0000)]
debug

22 years ago* cygheap.cc (init_cheap): Allocate cygheap in shared memory for Windows NT.
Christopher Faylor [Mon, 20 Aug 2001 15:58:16 +0000 (15:58 +0000)]
* cygheap.cc (init_cheap): Allocate cygheap in shared memory for Windows NT.

22 years ago * config.sub, config.guess: Import latest from subversions.
Alan Modra [Mon, 20 Aug 2001 03:29:21 +0000 (03:29 +0000)]
* config.sub, config.guess: Import latest from subversions.

22 years agomerge from gcc
DJ Delorie [Sat, 18 Aug 2001 23:47:14 +0000 (23:47 +0000)]
merge from gcc

22 years agomerge from gcc
DJ Delorie [Fri, 17 Aug 2001 06:32:52 +0000 (06:32 +0000)]
merge from gcc

22 years agoAdd support for MIPS R1[02]000 performance counter opcodes.
Thiemo Seufer [Thu, 16 Aug 2001 19:24:33 +0000 (19:24 +0000)]
Add support for MIPS R1[02]000 performance counter opcodes.

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