]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
24 years ago* exceptions.cc (sigsave): Copy on fork so that we can restore correct behavior
Christopher Faylor [Sat, 8 Apr 2000 04:13:12 +0000 (04:13 +0000)]
* exceptions.cc (sigsave): Copy on fork so that we can restore correct behavior
in forked process.
(interruptible): Flag as interruptible when running in main process module.
(interrupt_setup): Save return address and address of return address.
(signal_fixup_after_fork): New function.  Uses above two values to restore
proper behavior to forked process.
(interrupt_on_return): Pass return address address to interupt_setup.
(interrupt_now): Pass NULL for return address address to interrupt_setup.
* fork.cc (fork): Call signal_fixup_after_fork.
* shared.h: Lint cleanups.
* winsup.h: Ditto.

24 years agoMerge arm-oabi.h into arm.h
Nick Clifton [Sat, 8 Apr 2000 00:09:26 +0000 (00:09 +0000)]
Merge arm-oabi.h into arm.h

24 years agoUpdated to build cinstall with mingw. See Changelog for numerous setup.c changes.
Ron Parker [Fri, 7 Apr 2000 22:12:41 +0000 (22:12 +0000)]
Updated to build cinstall with mingw. See Changelog for numerous setup.c changes.

24 years agoBFD and include/coff support for tic54x target.
Tim Wall [Fri, 7 Apr 2000 17:06:58 +0000 (17:06 +0000)]
BFD and include/coff support for tic54x target.

24 years agoBump minor version.
Christopher Faylor [Fri, 7 Apr 2000 00:09:27 +0000 (00:09 +0000)]
Bump minor version.

24 years agoAdd definitions of flags in e_flags field from version A-08 of ARM ELF spec.
Nick Clifton [Thu, 6 Apr 2000 23:18:18 +0000 (23:18 +0000)]
Add definitions of flags in e_flags field from version A-08 of ARM ELF spec.

24 years ago * splay-tree.h (splay_tree_remove): Declare.
Richard Henderson [Thu, 6 Apr 2000 00:15:35 +0000 (00:15 +0000)]
    * splay-tree.h (splay_tree_remove): Declare.

24 years agosh-dsp REPEAT support:
Joern Rennecke [Wed, 5 Apr 2000 21:23:03 +0000 (21:23 +0000)]
sh-dsp REPEAT support:
opcodes:

        * sh-opc.h (sh_nibble_type): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (sh_arg_type): Add A_PC.
        (sh_table): Update entries using immediates.  Add repeat.
        * sh-dis.c (print_insn_shx): Remove DISP_8 and DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.

gas:

        * config/tc-sh.c (immediate): Delete.
        (sh_operand_info): Add immediate member.
        (parse_reg): Use A_PC for pc.
        (parse_exp): Add second argument 'op'.  All callers changed.
        (parse_at): Expect pc to be coded as A_PC.
        Use immediate field in *op.
        (insert): Add fourth argument 'op'.  All callers changed.
        (build_relax): Add second argument 'op'.  All callers changed.
        (insert_loop_bounds): New function.
        (build_Mytes): Remove DISP_4.
        Split IMM_[48]{,BY[24]} into IMM[01]_[48]{,BY[24]}.  Add REPEAT.
        (assemble_ppi): Use immediate field in *operand.
        (sh_force_relocation): Handle BFD_RELOC_SH_LOOP_{START,END}.
        (md_apply_fix): Likewise.
        (tc_gen_reloc): Likewise.  Check for a pcrel BFD_RELOC_SH_LABEL.

include/coff:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): Define.

include/elf:

        * sh.h (R_SH_LOOP_START, R_SH_LOOP_END): New RELOC_NUMBERs.

bfd:

        * reloc.c (_bfd_relocate_contents): Add BFD_RELOC_SH_LOOP_START and
        BFD_RELOC_SH_LOOP_END.
        * elf32-sh.c (sh_elf_howto_tab): Change special_func to
        sh_elf_ignore_reloc for all entries that sh_elf_reloc used to ignore.
        Add entries for R_SH_LOOP_START and R_SH_LOOP_END.
        (sh_elf_reloc_loop): New function.
        (sh_elf_reloc): No need to test for always-to-be-ignored relocs
        any more.
        (sh_rel): Add entries for BFD_RELOC_SH_LOOP_{START,END}.
        (sh_elf_relocate_section): Handle BFD_RELOC_SH_LOOP_{START,END}.
        * bfd-in2.h, libbfd.h: Regenerate.

24 years agoMove translated part of bug report string back into .c files so
Alan Modra [Tue, 4 Apr 2000 14:32:32 +0000 (14:32 +0000)]
Move translated part of bug report string back into .c files so
xgettext can find it.  Regnerate .pot files.

24 years ago* fhandler.h (select_stuff): Eliminate use of 'total'.
Christopher Faylor [Mon, 3 Apr 2000 18:15:01 +0000 (18:15 +0000)]
* fhandler.h (select_stuff): Eliminate use of 'total'.
* select.cc (cygwin_select): Ditto.
(select_stuff::wait): Use maximum size for w4 rather than calculating what will
fit.

24 years ago * grp.cc (parse_grp): Save empty array instead of
Corinna Vinschen [Mon, 3 Apr 2000 18:08:13 +0000 (18:08 +0000)]
    * grp.cc (parse_grp): Save empty array instead of
        NULL in gr_mem if no supplementary group is given.

24 years agoMove bug report string to one place.
Alan Modra [Mon, 3 Apr 2000 14:10:04 +0000 (14:10 +0000)]
Move bug report string to one place.

24 years ago * aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
Hans-Peter Nilsson [Mon, 3 Apr 2000 11:29:28 +0000 (11:29 +0000)]
* aout64.h (RELOC_EXT_BITS_EXTERN_BIG): Wrap definition in #ifndef.
(RELOC_EXT_BITS_EXTERN_LITTLE): Ditto.
(RELOC_EXT_BITS_TYPE_BIG): Ditto.
(RELOC_EXT_BITS_TYPE_SH_BIG): Ditto.
(RELOC_EXT_BITS_TYPE_LITTLE): Ditto.
(RELOC_EXT_BITS_TYPE_SH_LITTLE): Ditto.

24 years agoupdate copyright.
Christopher Faylor [Mon, 3 Apr 2000 01:29:06 +0000 (01:29 +0000)]
update copyright.

24 years agoUpdate winsup stuff.
Christopher Faylor [Mon, 3 Apr 2000 01:26:01 +0000 (01:26 +0000)]
Update winsup stuff.

24 years ago* Makefile.in (CC_FOR_TARGET): Add new winsup directory structure stuff to -L
Christopher Faylor [Mon, 3 Apr 2000 01:24:45 +0000 (01:24 +0000)]
* Makefile.in (CC_FOR_TARGET): Add new winsup directory structure stuff to -L
library search.
(CXX_FOR_TARGET): Ditto.

24 years agoFor want of something better. List where to go to when wanting to
Andrew Cagney [Mon, 3 Apr 2000 01:14:00 +0000 (01:14 +0000)]
For want of something better.  List where to go to when wanting to
make a toplevel change.

24 years ago * newlib/libc/include/sys/unistd.h: Add prototypes for
Corinna Vinschen [Sun, 2 Apr 2000 20:42:42 +0000 (20:42 +0000)]
    * newlib/libc/include/sys/unistd.h: Add prototypes for
        fchmod, fchown, lchown.
        * winsup/cygwin/syscalls.cc (chown_worker): Use previous
        uid/gid if new uid/gid is -1.
        New static function with chown functionality.
        (chown): Call chown_worker with SYMLINK_FOLLOW.
        (fchown): New function. Call chown_worker with SYMLINK_FOLLOW.
        (lchown): New function. Call chown_worker with SYMLINK_IGNORE.
        * cygwin.din: Add symbols for fchown, lchown.
        * path.cc (symlink): Call `set_file_attribute()' and
        `SetFileAttributeA()' instead of `chmod()' to set
        uid/gid correct.

24 years ago* include/wininet.h: Add three more "INTERNET_OPTIONS".
Christopher Faylor [Sun, 2 Apr 2000 01:52:38 +0000 (01:52 +0000)]
* include/wininet.h: Add three more "INTERNET_OPTIONS".

24 years ago* MAINTAINERS: Add Ron Parker as maintainer of cinstall stuff.
Christopher Faylor [Fri, 31 Mar 2000 04:46:47 +0000 (04:46 +0000)]
* MAINTAINERS: Add Ron Parker as maintainer of cinstall stuff.
Add ChangeLog to doc directory.

24 years ago2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan [Fri, 31 Mar 2000 04:43:46 +0000 (04:43 +0000)]
2000-03-30  Mumit Khan  <khan@xraylith.wisc.edu>

* Makefile.in (subdirs): Workaround for broken shells.

24 years ago2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan [Thu, 30 Mar 2000 06:10:11 +0000 (06:10 +0000)]
2000-03-30  Mumit Khan  <khan@xraylith.wisc.edu>

* include/winbase.h (CreateHardLink{A,W}): Add prototypes.
* include/winerror.h (ERROR_TOO_MANY_LINKS): Add macro.
* include/winnt.h (SEC_*): Add macros.
* lib/th32.def: Use Kernel32.dll instead of TH32.DLL.

24 years ago2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan [Thu, 30 Mar 2000 06:08:58 +0000 (06:08 +0000)]
2000-03-30  Mumit Khan  <khan@xraylith.wisc.edu>

* include/ole.h: Workaround for C++ parser bug.
* include/rpcdcep.h: Likewise.
* include/winsock.h: Likewise.

24 years agoSimplify constructors and initializers for select_record.
Christopher Faylor [Thu, 30 Mar 2000 04:23:11 +0000 (04:23 +0000)]
Simplify constructors and initializers for select_record.

24 years ago* fhandler.h (select_record): Explicitly zero elements of this class.
Christopher Faylor [Thu, 30 Mar 2000 03:51:30 +0000 (03:51 +0000)]
* fhandler.h (select_record): Explicitly zero elements of this class.
(select_stuff): Ditto.
* select.cc (cygwin_select): Eliminate memset zero of sel.

24 years ago * configure.in: -linux-gnu*, not -linux-gnu.
Jason Merrill [Thu, 30 Mar 2000 02:19:55 +0000 (02:19 +0000)]
    * configure.in: -linux-gnu*, not -linux-gnu.

        * configure (gcc_version): When setting, narrow search to
        lines containing `version_string'.

24 years ago* Makefile.in: Use default rules when compiling cygrun.o.
Christopher Faylor [Tue, 28 Mar 2000 21:49:16 +0000 (21:49 +0000)]
* Makefile.in: Use default rules when compiling cygrun.o.
* dcrt0.cc (host_dependent_constants::init): Limit non-NT platforms to 32K
chunks when copying regions during a fork.
* path.cc (symlink_check_one): Add temporary debugging output.  Simplify
PATH_EXEC test.
* syscalls.cc (stat_suffixes): Null terminate this list.

24 years agoFix value of SHORT_A1.
Nick Clifton [Mon, 27 Mar 2000 20:17:02 +0000 (20:17 +0000)]
Fix value of SHORT_A1.
Move SHORT_AR to end of list of short instructions.

24 years agoATMEL AVR microcontroller support.
Alan Modra [Mon, 27 Mar 2000 08:39:13 +0000 (08:39 +0000)]
ATMEL AVR microcontroller support.

24 years ago* include/winnt.h: Eliminate duplicate PCONTEXT and LPCONTEXT typedefs.
Christopher Faylor [Sun, 26 Mar 2000 19:24:12 +0000 (19:24 +0000)]
* include/winnt.h: Eliminate duplicate PCONTEXT and LPCONTEXT typedefs.

24 years agoMostly cosmetic. Fixes to comments. Don't start as_bad and as_warn
Alan Modra [Sun, 26 Mar 2000 14:13:01 +0000 (14:13 +0000)]
Mostly cosmetic.  Fixes to comments.  Don't start as_bad and as_warn
messages with capital.  Don't malign Unixware, malign SysV386 instead.

24 years ago* path.cc (symlink_check_one): Recognize symlink settings from the mount table.
Christopher Faylor [Sun, 26 Mar 2000 01:54:22 +0000 (01:54 +0000)]
* path.cc (symlink_check_one): Recognize symlink settings from the mount table.
* path.h: Make PATH_SYMLINK an alias for MOUNT_SYMLINK.
* syscalls.cc (stat_worker): Use extension search mechanism in path_conv to
look for .exe rather than trying to special case it here.
* mount.h: Make MOUNT_SYMLINK a real option.

24 years ago* environ.cc: Add TMPDIR to the list of environment variables which are
Christopher Faylor [Sat, 25 Mar 2000 05:25:27 +0000 (05:25 +0000)]
* environ.cc: Add TMPDIR to the list of environment variables which are
converted to POSIX format.
* sigproc.cc (proc_terminate): Don't attempt to delete when a muto pointer is
NULL.

24 years ago * partition.h: New file.
Christopher Faylor [Sat, 25 Mar 2000 02:15:38 +0000 (02:15 +0000)]
    * partition.h: New file.

24 years agomerge from gcc
Jason Merrill [Fri, 24 Mar 2000 21:31:21 +0000 (21:31 +0000)]
merge from gcc

24 years agoFri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston [Fri, 24 Mar 2000 20:42:18 +0000 (20:42 +0000)]
Fri Mar 24 15:34:00 2000  Jeff Johnston  <jjohnstn@cygnus.com>

        * acinclude.m4: Changed release to 1.8.2.
        * aclocal.m4 configure doc/aclocal.m4 doc/configure
          libc/aclocal.m4 libc/configure libc/machine/aclocal.m4
          libc/machine/configure libc/machine/a29k/aclocal.m4
          libc/machine/a29k/configure libc/machine/arm/aclocal.m4
          libc/machine/arm/configure libc/machine/d10v/aclocal.m4
          libc/machine/d10v/configure libc/machine/d30v/aclocal.m4
          libc/machine/d30v/configure libc/machine/fr30/aclocal.m4
          libc/machine/fr30/configure libc/machine/h8300/aclocal.m4
          libc/machine/h8300/configure libc/machine/h8500/aclocal.m4
          libc/machine/h8500/configure libc/machine/hppa/aclocal.m4
          libc/machine/hppa/configure libc/machine/i386/aclocal.m4
          libc/machine/i386/configure libc/machine/i960/aclocal.m4
          libc/machine/i960/configure libc/machine/m32r/aclocal.m4
          libc/machine/m32r/configure libc/machine/m68k/aclocal.m4
          libc/machine/m68k/configure libc/machine/m88k/aclocal.m4
          libc/machine/m88k/configure libc/machine/mips/aclocal.m4
          libc/machine/mips/configure libc/machine/mn10200/aclocal.m4
          libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4
          libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4
          libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4
          libc/machine/powerpc/configure libc/machine/sh/aclocal.m4
          libc/machine/sh/configure libc/machine/sparc/aclocal.m4
          libc/machine/sparc/configure libc/machine/tic80/aclocal.m4
          libc/machine/tic80/configure libc/machine/v850/aclocal.m4
          libc/machine/v850/configure libc/machine/w65/aclocal.m4
          libc/machine/w65/configure libc/machine/z8k/aclocal.m4
          libc/machine/z8k/configure libc/sys/aclocal.m4
          libc/sys/aclocal.m4 libc/sys/configure
          libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure
          libc/sys/arm/aclocal.m4 libc/sys/arm/configure
          libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure
          libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure
          libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure
          libc/sys/go32/aclocal.m4 libc/sys/go32/configure
          libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure
          libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure
          libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure
          libc/sys/netware/aclocal.m4 libc/sys/netware/configure
          libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure
          libc/sys/sh/aclocal.m4 libc/sys/sh/configure
          libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure
          libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure
          libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure
          libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure
          libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure
          libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure
          libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure
          libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure
          libc/sys/w65/aclocal.m4 libc/sys/w65/configure
          libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure
          libm/aclocal.m4 libm/configure: Regenerated.

24 years agoFix compile time warning messages.
Nick Clifton [Fri, 24 Mar 2000 18:17:17 +0000 (18:17 +0000)]
Fix compile time warning messages.
Add "cc" to list of registers clobbered bu do_AgelSWI

24 years agoThu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>
Fernando Nasser [Thu, 23 Mar 2000 20:19:13 +0000 (20:19 +0000)]
Thu Mar 22 14:57:00 2000  Fernando Nasser <fnasser@redhat.com>

* libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid
information to be clobbered by an Angel C library support syscall.

24 years agoTue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston [Wed, 22 Mar 2000 00:09:49 +0000 (00:09 +0000)]
Tue Mar 21 19:08:00 2000  Jeff Johnston <jjohnstn@cygnus.com>

        * libc/stdlib/envlock.c: Fixed comment typo.

24 years ago* syscalls.cc (stat_worker): Set st_nlink to 1 on remote drives.
Corinna Vinschen [Sun, 19 Mar 2000 11:05:14 +0000 (11:05 +0000)]
* syscalls.cc (stat_worker): Set st_nlink to 1 on remote drives.

24 years ago* times.cc: Fix extern declarations for variables that are exported but used by
Christopher Faylor [Sun, 19 Mar 2000 04:14:07 +0000 (04:14 +0000)]
* times.cc: Fix extern declarations for variables that are exported but used by
this modules.

24 years ago* times.cc: Remove unneeded (and incorrect) externs.
Christopher Faylor [Sun, 19 Mar 2000 04:05:14 +0000 (04:05 +0000)]
* times.cc: Remove unneeded (and incorrect) externs.

24 years agoPatch suggested by Mumit Khan <khan@xraylith.wisc.edu>:
Christopher Faylor [Sun, 19 Mar 2000 03:53:18 +0000 (03:53 +0000)]
Patch suggested by Mumit Khan <khan@xraylith.wisc.edu>:
* strace.cc (_impure_ptr): New global variable to make strace build under
Cygwin gcc.

24 years ago* Makefile.in: Make CXXFLAGS consistent with cygwin.
Christopher Faylor [Sat, 18 Mar 2000 17:45:35 +0000 (17:45 +0000)]
* Makefile.in: Make CXXFLAGS consistent with cygwin.

24 years ago* dcrt0.cc (host_dependent_constants::init): Eliminate DELETE flag from shared
Christopher Faylor [Sat, 18 Mar 2000 06:33:33 +0000 (06:33 +0000)]
* dcrt0.cc (host_dependent_constants::init): Eliminate DELETE flag from shared
constant.

24 years ago* delqueue.cc (delqueue_list::queue_file): Add some debugging.
Christopher Faylor [Sat, 18 Mar 2000 06:26:14 +0000 (06:26 +0000)]
* delqueue.cc (delqueue_list::queue_file): Add some debugging.
* path.h (class path_conv): Add a char * operator for the most common case.
* syscalls.cc (_unlink): Rewrite to use FILE_FLAG_DELETE_ON_CLOSE when possible
(i.e., on NT).

24 years ago20000317 sourceware import
Ranjith Kumaran [Fri, 17 Mar 2000 22:48:54 +0000 (22:48 +0000)]
20000317 sourceware import

24 years agoFri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston [Fri, 17 Mar 2000 20:40:20 +0000 (20:40 +0000)]
Fri Mar 17 15:37:00 2000  Jeff Johnston <jjohnstn@cygnus.com>

        * libc/stdio/vfscanf.c (__svfscanf): Fixed floating point
        code to update nread as each character is processed instead
        of using buffer contents which throw away leading zeroes.

24 years ago* fhandler.cc (fhandler_base::open): Call set_file_attribute() only if a file is...
Corinna Vinschen [Fri, 17 Mar 2000 17:22:53 +0000 (17:22 +0000)]
* fhandler.cc (fhandler_base::open): Call set_file_attribute() only if a file is really created.

24 years agoChange ChangeLog entry to more common format.
Corinna Vinschen [Thu, 16 Mar 2000 20:46:50 +0000 (20:46 +0000)]
Change ChangeLog entry to more common format.

24 years ago * security.cc (set_process_privileges): Removed `static'.
Corinna Vinschen [Thu, 16 Mar 2000 19:35:18 +0000 (19:35 +0000)]
    * security.cc (set_process_privileges): Removed `static'.
        (get_nt_attribute): Returns uid and gid additionally. Removed call
        to set_process_privileges().
        (get_file_attribute): Returns uid and gid additionally. Don't
        call ntea if ntsec is ON.
        (set_nt_attribute): Removed call to set_process_privileges().
        Don't call ntea if ntsec is ON.
        (acl): Removed call to set_process_privileges().
        * dcrt0.cc (dll_crt0_1): Calls set_process_privileges() now.
        * winsup.h: New prototype for set_process_privileges(),
        changed prototype for get_file_attribute().
        * fhandler.cc (get_file_owner): Discarded.
        (get_file_group): Ditto.
        (fhandler_disk_file::fstat): Discard calls to get_file_owner() and
        get_file_group().
        * path.cc (path_conv::path_conv): Added debugging output for result
        of GetVolumeInformation().
        (mount_info::conv_to_win32_path): Call backslashify() with pathbuf
        instead of src_path.
        * syscalls.cc (chown): Reformatted.
        (chmod): Replace get_file_owner() and get_file_group() calls
        by a call to get_file_attribute(). Discard local variable has_acls.
        Slightly reformatted.
        (stat_worker): Replaced idiot's (it's me) root dir check by call
        to rootdir(). Don't call num_entries() on remote drives.
        Discard local variable has_acls.

24 years ago * internal.h: Fix a typo in the comment for R_MOVL2.
Jeff Law [Wed, 15 Mar 2000 21:29:17 +0000 (21:29 +0000)]
    * internal.h: Fix a typo in the comment for R_MOVL2.

24 years ago* errno.cc: Map ERROR_NOACCESS to EFAULT.
Corinna Vinschen [Wed, 15 Mar 2000 20:40:07 +0000 (20:40 +0000)]
* errno.cc: Map ERROR_NOACCESS to EFAULT.

24 years ago* spawn.cc (spawn_guts): Restore dependency on signal_arrived. It's needed to
Christopher Faylor [Wed, 15 Mar 2000 19:29:15 +0000 (19:29 +0000)]
* spawn.cc (spawn_guts): Restore dependency on signal_arrived.  It's needed to
wake up the WaitForSingleObject.

24 years ago* Makefile.in: Use MINGW_CXXFLAGS when compiling strace.
Christopher Faylor [Wed, 15 Mar 2000 14:38:09 +0000 (14:38 +0000)]
* Makefile.in: Use MINGW_CXXFLAGS when compiling strace.

24 years agoPipe changes throughout suggested by Eric Fifer <EFifer@sanwaint.com>
Christopher Faylor [Wed, 15 Mar 2000 04:49:36 +0000 (04:49 +0000)]
Pipe changes throughout suggested by Eric Fifer <EFifer@sanwaint.com>
* debug.cc (threadname_init): Pass name of lock as arg 2 of new_muto.
* malloc.cc (malloc_init): Ditto.
* sigproc.cc (sigproc_init): Ditto.
* exceptions.cc (events_init): Ditto.
(call_handler): Eliminate special case for hExeced.  Report locked thread in
debugging output.
* fhandler.cc (fhandker_pipe::fhandler_pipe): Propagate device type to base
class.
* fhandler.h (fhandler_pipe): Ditto.
* hinfo.cc (hinfo::build_fhandler): Pass specific type of pipe to constructor.
* spawn.cc (spawn_guts): Eliminate dependency on signal when waiting for
subprocess.
* strace.cc: Remove obsolete #ifdef.
* sync.cc (muto::muto): Save the name of the muto.
(muto:~muto): Also release the muto.
* sync.h: Add a muto name field.
* select.cc (peek_pipe): Avoid doing a PeekNamedPipe on the write end of a
pipe.

24 years agosettimeofday was listed twice
DJ Delorie [Mon, 13 Mar 2000 22:57:59 +0000 (22:57 +0000)]
settimeofday was listed twice

24 years agoMon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>
Ranjith Kumaran [Mon, 13 Mar 2000 20:41:18 +0000 (20:41 +0000)]
Mon Mar 13 15:22:00 2000  Sergei Organov <osv@javad.ru>

        * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.

24 years ago* strace.cc: Throughout, track information like start_time, etc. on a
Christopher Faylor [Mon, 13 Mar 2000 02:23:47 +0000 (02:23 +0000)]
* strace.cc: Throughout, track information like start_time, etc.  on a
per-process basis.

24 years ago* fhandler.cc (fhandler_base::get_readahead_into_buffer): New function.
Christopher Faylor [Sun, 12 Mar 2000 06:29:54 +0000 (06:29 +0000)]
* fhandler.cc (fhandler_base::get_readahead_into_buffer): New function.
* fhandler.h: Declare new function.  Add extra argument to
process_slave_output.
* fhandler_console.cc (fhandler_console::read): Move read ahead code to new
function.
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Move common code
here.
(fhandler_tty_slave::read): Understand readahead.
(fhandler_pty_master::read): Move code to process_slave_output.
* select.cc (peek_pipe): Avoid performing certain checks when non-read and on
inappropriate fh types.

24 years ago* fhandler_console.cc (fhandler_console::read): Don't even think about breaking
Christopher Faylor [Sun, 12 Mar 2000 04:44:37 +0000 (04:44 +0000)]
* fhandler_console.cc (fhandler_console::read): Don't even think about breaking
on interrupt if executing in a "cygwin" thread.
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Streamline,
simplify code.
* sigproc.cc (sig_send): Remove debugging statement.

24 years ago* sigproc.cc: Set wait_sig priority to normal.
Christopher Faylor [Sat, 11 Mar 2000 15:51:46 +0000 (15:51 +0000)]
* sigproc.cc: Set wait_sig priority to normal.

24 years agoIn bfd/:
Geoffrey Keating [Sat, 11 Mar 2000 02:16:25 +0000 (02:16 +0000)]
In bfd/:
* elf32-mips.c (mips_elf_next_relocation): Rename from
mips_elf_next_lo16_relocation, and generalize to look
for any relocation type.
(elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset.
(elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16.
(elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16.
(elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2.
(elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64.
(elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32.
(bfd_elf32_bfd_reloc_type_lookup): Add new relocs.
(mips_rtype_to_howto): Likewise.
(mips_elf_calculate_relocation): Handle new relocs.
(_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs
are paired.  The addend for R_MIPS_GNU_REL16_S2
is shifted right two bits.
In gas/:
* config/tc-mips.c (mips_ip): Don't put stuff in .rodata
when embedded-pic.

* config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic
  implementation doesn't have special handling for switch
  statements.
(macro_build): Allow for code in sections other than .text.
(macro): Likewise.
(mips_ip): Likewise.
(md_apply_fix): Do pc-relative relocation madness for MIPS ELF.
   Don't perform relocs if we will be outputting them.
(tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative
  relocations.  Allow BFD_RELOC_16_PCREL_S2 relocs when
  embedded-pic.
In gas/testsuite/:
* gas/mips/empic.d: New file.
* gas/mips/empic.s: New file.
* gas/mips/mips16-e.d: New file.
* gas/mips/mips16-e.s: New file.
* gas/mips/mips16-f.d: New file.
* gas/mips/mips16-f.s: New file.
* gas/mips/mips.exp: Add empic, mips16-e.  Add mips16-f as an
expected failure.
In include/elf:
* mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16,
  R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation
  numbers.

24 years ago2000-03-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 10 Mar 2000 21:21:16 +0000 (21:21 +0000)]
2000-03-10  H.J. Lu  <hjl@gnu.org>

* Makefile.in (all-gcc): Backed out the last change.

24 years agoFri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston [Fri, 10 Mar 2000 21:13:28 +0000 (21:13 +0000)]
Fri Mar 10 16:09:20 2000  Jeff Johnston <jjohnstn@cygnus.com>

        * libc/include/string.h: Include <sys/types.h>.

24 years ago2000-03-10 H.J. Lu <hjl@gnu.org>
H.J. Lu [Fri, 10 Mar 2000 20:50:45 +0000 (20:50 +0000)]
2000-03-10  H.J. Lu  <hjl@gnu.org>

* Makefile.in (all-gcc): Run ld/ld-new if necessary.

24 years ago* sigproc.cc (wait_sig): Add addtional debugging output.
Christopher Faylor [Fri, 10 Mar 2000 18:04:20 +0000 (18:04 +0000)]
* sigproc.cc (wait_sig): Add addtional debugging output.

24 years ago* libc/stdio/putw.c (putw): Return 0 on success, to be compliant
Alexandre Oliva [Fri, 10 Mar 2000 17:57:32 +0000 (17:57 +0000)]
* libc/stdio/putw.c (putw): Return 0 on success, to be compliant
with XSH5, not SVID.

24 years agoThu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston [Thu, 9 Mar 2000 22:25:01 +0000 (22:25 +0000)]
Thu Mar  9 17:20:41 2000  Jeff Johnston <jjohnstn@cygnus.com>

        * libc/include/string.h: Changed last argument back to ssize_t
        to make it compatible with XPG4 definition which is
        defined in <unistd.h>.  There is a conflict in the SVID 3
        and XPG4 definitions and newlib will settle with XPG4.
        * libc/string/swab.c: Ditto.

24 years ago* environ.cc: Eliminate oldstack CYGWIN option.
Christopher Faylor [Thu, 9 Mar 2000 21:04:05 +0000 (21:04 +0000)]
* environ.cc: Eliminate oldstack CYGWIN option.
* exceptions.cc (sfta): Eliminate obsolete function.
(sgmb): Eliminate obsolete function.
(class stack_info): Remove MS method for walking the stack.
(stack_info::init): Just initialize required fields.
(stack_info::brute_force): Rename to stack_info::walk.
(handle_exceptions): Pass derived frame pointer to sig_send.
(interrupt_setup): Clear saved frame pointer here.
(interrupt_on_return): thestack is no longer a pointer.
(call_handler): Accept a flag to indicate when a signal was sent from other
than the main thread.  Use saved frame pointer for determining where to place
signal handler call.
(sig_handle): Accept "nonmain" argument.  Pass it to call_handler.
* fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Change
debugging output slightly.
* (fhandler_tty_common::__release_output_mutex): Ditto.
(fhandler_tty_slave::read): Fix a comment, remove a goto.
* sigproc.cc (sig_send): Accept an optional frame pointer argument for use when
suspending the main process.  sigcomplete_main is an autoreset event now.  Save
frame pointer for non-main operation.
(wait_sig): Make sigcomplete_main an autoreset event.  Eliminate NOSIGQUEUE.
Pass rc to sig_handle to signify if this was a nonmain process.
* sigproc.h: Reflect change to sig_send argument.
* syscalls.cc (swab): Eliminate swab function since it is now available in
newlib.
* winsup.h (signal_dispatch): Change CONTEXT cx to DWORD ebp.

24 years agoWed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>
Jeff Johnston [Wed, 8 Mar 2000 22:16:06 +0000 (22:16 +0000)]
Wed Mar  8 17:11:41 2000  Jeff Johnston <jjohnstn@cygnus.com>

        * libc/include/string.h: Changed last argument to size_t.
        * libc/string/swab.c: Changed last argument to size_t.

24 years ago* libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
Alexandre Oliva [Wed, 8 Mar 2000 04:01:49 +0000 (04:01 +0000)]
* libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.
(CHEWOUT_FILES): Added unlinkr.def.
* libc/reent/Makefile.in: Rebuilt.
* libc/sys.tex: Include unlinkr.def.
* libc/reent/linkr.c (_unlink_r): Moved to...
* libc/reent/unlinkr.c: ... new file.

24 years ago* libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
Alexandre Oliva [Wed, 8 Mar 2000 03:46:01 +0000 (03:46 +0000)]
* libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.
(CHEWOUT_FILES): Added swab.def.
* libc/string/Makefile.in: Rebuilt.
* libc/string/string.tex: Include swab.def.
* libc/include/string.h (swab): Declare.
* libc/string/swab.c: New file.

24 years ago* libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
Alexandre Oliva [Wed, 8 Mar 2000 03:42:25 +0000 (03:42 +0000)]
* libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.
(CHEWOUT_FILES): Added getw.def and putw.def.
* libc/stdio/Makefile.in: Rebuilt.
* libc/stdio/stdio.tex: Include getw.def and putw.def.
* libc/stdio/getw.c: New file.
* libc/stdio/putw.c: New file.

24 years ago* sigproc.cc (sig_send): Eliminate sync_sig_send synchronization since it
Christopher Faylor [Tue, 7 Mar 2000 18:32:40 +0000 (18:32 +0000)]
* sigproc.cc (sig_send): Eliminate sync_sig_send synchronization since it
didn't seem to affect the "bash hangs" problem.

24 years agoThroughout use strace class in place of individual functions and variables.
Christopher Faylor [Tue, 7 Mar 2000 05:33:09 +0000 (05:33 +0000)]
Throughout use strace class in place of individual functions and variables.
* cygwin.din: Eliminate _strace_wm.
* sigproc.cc (wait_sig): Temporarily add more debugging output.
* include/cygwin/version.h: Bump minor api to reflect export change.

24 years agoRemove extraneous CYGNUYS LOCAL markers.
Nick Clifton [Mon, 6 Mar 2000 18:09:38 +0000 (18:09 +0000)]
Remove extraneous CYGNUYS LOCAL markers.

24 years ago* exceptions.cc (call_handler): Streamline to use only one call to
Christopher Faylor [Sun, 5 Mar 2000 06:34:55 +0000 (06:34 +0000)]
* exceptions.cc (call_handler): Streamline to use only one call to
ResumeThread.
* sigproc.cc (sig_send): Use a muto around the ReleaseSemaphore.  Remove
priority setting since it didn't solve anything.

24 years ago* Makefile.in (taz): Set PACKAGE to TOOL when not defined.
Andrew Cagney [Fri, 3 Mar 2000 23:52:30 +0000 (23:52 +0000)]
* Makefile.in (taz): Set PACKAGE to TOOL when not defined.
(do-tar-bz2): Replace TOOL with PACKAGE.
(gdb.tar.bz2): Remove GDBTK from GDB package.
(gdb+dejagnu.tar.bz2, insight.tar.bz2, insight+dejagnu.tar.bz2,
dejagnu.tar.bz2): New packages.

24 years agoApply patch for 100679
Nick Clifton [Thu, 2 Mar 2000 23:01:40 +0000 (23:01 +0000)]
Apply patch for 100679

24 years ago2000-03-01 H.J. Lu <hjl@gnu.org>
H.J. Lu [Wed, 1 Mar 2000 19:38:01 +0000 (19:38 +0000)]
2000-03-01  H.J. Lu  <hjl@gnu.org>

* bfdlink.h (bfd_link_callbacks): Add a boolean arg to
the undefined_symbol callback.

24 years ago* sigproc.cc (sig_send): Temporarily set priority to highest while sending a
Christopher Faylor [Tue, 29 Feb 2000 05:47:17 +0000 (05:47 +0000)]
* sigproc.cc (sig_send): Temporarily set priority to highest while sending a
signal.

24 years ago2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan [Tue, 29 Feb 2000 03:16:14 +0000 (03:16 +0000)]
2000-02-28  Mumit Khan  <khan@xraylith.wisc.edu>

* include/largeint.h: Rename HAVE_INT64 macro to _HAVE_INT64 to avoid
namespace pollution.
* include/rpcndr.h: Likewise.
* include/winnt.h: Likewise.

24 years ago2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan [Tue, 29 Feb 2000 03:14:40 +0000 (03:14 +0000)]
2000-02-28  Mumit Khan  <khan@xraylith.wisc.edu>

Patches from Jan Nijtmans <j.nijtmans@chello.nl>:
* include/wtypes.h (PBLOB, LPBLOB): Define.
* include/winsock2.h: Much more complete version.
(FD_SET, SOMAXCONN): Protect common macros defined by winsock.h.

24 years ago2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan [Tue, 29 Feb 2000 03:13:40 +0000 (03:13 +0000)]
2000-02-28  Mumit Khan  <khan@xraylith.wisc.edu>

Patches from Jan Nijtmans <j.nijtmans@chello.nl>:
* include/winsock.h (FD_CLR): Add missing ')'.
(timercmp): Fix macro to handle all 6 comparison operators.
(AF_FIREFOX, AF_UNKNOWN1, AF_BAN, AF_ATM, AF_INET6): Define.
(AF_MAX): Update.
(PF_FIREFOX, PF_UNKNOWN1, PF_BAN, PF_ATM, PF_INET6): Define.

24 years ago2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan [Tue, 29 Feb 2000 03:11:06 +0000 (03:11 +0000)]
2000-02-28  Mumit Khan  <khan@xraylith.wisc.edu>

* include/largeint.h: Rename HAVE_INT64 macro to _HAVE_INT64 to avoid
namespace pollution.
* include/rpcndr.h: Likewise.
* include/winnt.h: Likewise.

24 years ago2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan [Tue, 29 Feb 2000 03:10:04 +0000 (03:10 +0000)]
2000-02-28  Mumit Khan  <khan@xraylith.wisc.edu>

* include/shlobj.h (SHGetDataFromIDList{A,W}): Fix typo.
(SHGetSpecialFolderPath{A,W}): Add prototypes.

24 years ago2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan [Tue, 29 Feb 2000 03:08:37 +0000 (03:08 +0000)]
2000-02-28  Mumit Khan  <khan@xraylith.wisc.edu>

* lib/ole32.def: Add missing exports.

24 years ago2000-02-28 Mumit Khan <khan@xraylith.wisc.edu>
Mumit Khan [Tue, 29 Feb 2000 03:07:07 +0000 (03:07 +0000)]
2000-02-28  Mumit Khan  <khan@xraylith.wisc.edu>

* include/winbase.h (TLS_MINIMUM_AVAILABLE): Move macro from here
* include/winnt.h (TLS_MINIMUM_AVAILABLE): to here.
(NT_TIB): Define.
* include/tlhelp32.h: New file.

24 years ago* include/rapi.h: New file.
Christopher Faylor [Mon, 28 Feb 2000 22:09:56 +0000 (22:09 +0000)]
* include/rapi.h: New file.
* lib/rapi.def: New file.

24 years agoDefone {MIPS|SH}_PE_MAGIC
Nick Clifton [Mon, 28 Feb 2000 18:57:53 +0000 (18:57 +0000)]
Defone {MIPS|SH}_PE_MAGIC

24 years ago* pinfo.cc (set_myself): Add build date to strace output.
Christopher Faylor [Mon, 28 Feb 2000 16:25:34 +0000 (16:25 +0000)]
* pinfo.cc (set_myself): Add build date to strace output.
* sigproc.cc (proc_subproc): Only clear wait event when not attending to a
signal.

24 years agoFix typo.
Christopher Faylor [Mon, 28 Feb 2000 06:23:10 +0000 (06:23 +0000)]
Fix typo.

24 years agoFix sysname.
Christopher Faylor [Mon, 28 Feb 2000 06:21:07 +0000 (06:21 +0000)]
Fix sysname.

24 years ago* configure.in: Remove --enable-strace-hhmmss option.
Christopher Faylor [Mon, 28 Feb 2000 05:10:23 +0000 (05:10 +0000)]
* configure.in: Remove --enable-strace-hhmmss option.
* configure: Regenerate.

24 years ago* strace.cc (handle_output_debug_string): Parse strace output to allow various
Christopher Faylor [Mon, 28 Feb 2000 05:08:05 +0000 (05:08 +0000)]
* strace.cc (handle_output_debug_string): Parse strace output to allow various
types of time output.

24 years ago* dcrt0.cc (set_os_type): Record OS name string.
Christopher Faylor [Mon, 28 Feb 2000 05:05:33 +0000 (05:05 +0000)]
* dcrt0.cc (set_os_type): Record OS name string.
(getprogname): Eliminate obsolete function.
(dll_crt0_1): Move initial strace initialization output to set_myself.
* exceptions.cc (interruptible): Add debugging output.
(interrupt_setup): New function.
(interrupt_now): Use interrupt_setup to set up common interrupt handler stuff.
(interrupt_on_return): Ditto.
(call_handler): Move signal_arrived arm and clear threads to region where
signalled thread is suspended or suffer races.
* pinfo.cc (set_myself): Output interesting information when strace is first
initialized.  Initialize progname here.
* sigproc.cc (sig_dispatch_pending): Modify to ensure that flush signal are
sent synchronously.
* strace.cc (strace_vsprintf): Move code into strace program.
* uname.cc (uname): Use 'osname' global to construct cygwin name + Windows type
+ version.

24 years ago2000-02-27 Andreas Jaeger <aj@suse.de>
Ian Lance Taylor [Mon, 28 Feb 2000 04:20:22 +0000 (04:20 +0000)]
2000-02-27  Andreas Jaeger  <aj@suse.de>

* configure.in: Add entry for mips*-*-linux*, move catch all
*-*-*linux* entry below this one.

24 years ago * ltconfig, ltmain.sh: Update to libtool 1.3.4.
Ian Lance Taylor [Sun, 27 Feb 2000 16:46:19 +0000 (16:46 +0000)]
* ltconfig, ltmain.sh: Update to libtool 1.3.4.

24 years agoBump minor version number
Christopher Faylor [Sat, 26 Feb 2000 01:14:49 +0000 (01:14 +0000)]
Bump minor version number

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