Commit Graph

  • 0d60da2632 * path.cc (path_conv::path_conv): Ensure that suffix is correctly copied to path when we've found a symlink but aren't following symlinks. Christopher Faylor 2000-04-12 22:50:08 +0000
  • d13dac7f30 Add a debugging line. Christopher Faylor 2000-04-11 21:22:53 +0000
  • caa8b1ca9b * include/winbase.h: Change first argument of ENUMRES* types to coincide with Microsoft usage. Christopher Faylor 2000-04-11 12:51:58 +0000
  • 2c3b166657 Mods to allow compilation of BFD all targets. Tim Wall 2000-04-11 04:11:03 +0000
  • 138d4f510e * cygpath.cc (main): Add -f option for processing a group of paths from a file. (doit): New function. Christopher Faylor 2000-04-11 02:57:25 +0000
  • 23ee7c4463 * include/string.h: Use proper prototype for _strerror. Christopher Faylor 2000-04-10 23:00:27 +0000
  • ba87a619ef * Makefile.common: Resolve srcdir to absolute path or it will confuse usages when passed to submakes. Eliminate vestigal use of MAKEOVERRIDES. Christopher Faylor 2000-04-10 03:51:39 +0000
  • da7185af44 Remove ``-W -Wall'' from top-level Makefile/configure. Add ``-W -Wall'' to sub-directories bfd, binutils, gas gprof, ld and opcodes by the addition of WARN_CFLAGS to Makefile.am and configury to set it. Add configure option --enable-build-warnings. Re-generate all and sundry using auto*-000227. Andrew Cagney 2000-04-09 12:17:36 +0000
  • 7f363152c5 * Makefile.in: Work around MAKEOVERRIDES problem with older versions of make. * Makefile.common: Ditto. Christopher Faylor 2000-04-09 06:15:43 +0000
  • d5337b4c13 Fix copyright comments and file comments. Tim Wall 2000-04-08 17:26:16 +0000
  • 0ccdde4c26 Remove erroneous entry. Christopher Faylor 2000-04-08 05:03:01 +0000
  • af3e5ed279 * fhandler.cc (fhandler_disk_file::fstat): Allocate enough space for root dir determination or overflow an array. Christopher Faylor 2000-04-08 04:47:15 +0000
  • 0cda2f4609 * 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. Christopher Faylor 2000-04-08 04:13:12 +0000
  • 65c0e6e68c Merge arm-oabi.h into arm.h Nick Clifton 2000-04-08 00:09:26 +0000
  • 61e196e361 Updated to build cinstall with mingw. See Changelog for numerous setup.c changes. Ron Parker 2000-04-07 22:12:41 +0000
  • 2cf1695b81 BFD and include/coff support for tic54x target. Tim Wall 2000-04-07 17:06:58 +0000
  • 25a99cabd3 Bump minor version. Christopher Faylor 2000-04-07 00:09:27 +0000
  • 2b6af862fe Add definitions of flags in e_flags field from version A-08 of ARM ELF spec. Nick Clifton 2000-04-06 23:18:18 +0000
  • 9e276d99e9 * splay-tree.h (splay_tree_remove): Declare. Richard Henderson 2000-04-06 00:15:35 +0000
  • 66d2d2638e sh-dsp REPEAT support: opcodes: Joern Rennecke 2000-04-05 21:23:03 +0000
  • c6e4c778eb Move translated part of bug report string back into .c files so xgettext can find it. Regnerate .pot files. Alan Modra 2000-04-04 14:32:32 +0000
  • aefbf3885d * 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. Christopher Faylor 2000-04-03 18:15:01 +0000
  • 476839eb03 * grp.cc (parse_grp): Save empty array instead of NULL in gr_mem if no supplementary group is given. Corinna Vinschen 2000-04-03 18:08:13 +0000
  • cf11ab4e66 Move bug report string to one place. Alan Modra 2000-04-03 14:10:04 +0000
  • 9115ada8ce * 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. Hans-Peter Nilsson 2000-04-03 11:29:28 +0000
  • 6c8ef0489b update copyright. Christopher Faylor 2000-04-03 01:29:06 +0000
  • 4734b3a29d Update winsup stuff. Christopher Faylor 2000-04-03 01:26:01 +0000
  • 31258a61eb * Makefile.in (CC_FOR_TARGET): Add new winsup directory structure stuff to -L library search. (CXX_FOR_TARGET): Ditto. Christopher Faylor 2000-04-03 01:24:45 +0000
  • 17a1f20e13 For want of something better. List where to go to when wanting to make a toplevel change. Andrew Cagney 2000-04-03 01:14:00 +0000
  • 796e3b20bc * 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. Corinna Vinschen 2000-04-02 20:42:42 +0000
  • c90d7012d3 * include/wininet.h: Add three more "INTERNET_OPTIONS". Christopher Faylor 2000-04-02 01:52:38 +0000
  • fd5afe2066 * MAINTAINERS: Add Ron Parker as maintainer of cinstall stuff. Add ChangeLog to doc directory. Christopher Faylor 2000-03-31 04:46:47 +0000
  • ab81a36772 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu> Mumit Khan 2000-03-31 04:43:46 +0000
  • 152e16e798 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu> Mumit Khan 2000-03-30 06:10:11 +0000
  • f36f4868d1 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu> Mumit Khan 2000-03-30 06:08:58 +0000
  • b0ddfa70a5 Simplify constructors and initializers for select_record. Christopher Faylor 2000-03-30 04:23:11 +0000
  • e3be633dd8 * fhandler.h (select_record): Explicitly zero elements of this class. (select_stuff): Ditto. * select.cc (cygwin_select): Eliminate memset zero of sel. Christopher Faylor 2000-03-30 03:51:30 +0000
  • 5f4d6baaf2 * configure.in: -linux-gnu*, not -linux-gnu. Jason Merrill 2000-03-30 02:19:55 +0000
  • d29b6111a5 * 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. Christopher Faylor 2000-03-28 21:49:16 +0000
  • 1b3755ec07 Fix value of SHORT_A1. Move SHORT_AR to end of list of short instructions. Nick Clifton 2000-03-27 20:17:02 +0000
  • f5e070bb37 ATMEL AVR microcontroller support. Alan Modra 2000-03-27 08:39:13 +0000
  • 1bee0008e6 * include/winnt.h: Eliminate duplicate PCONTEXT and LPCONTEXT typedefs. Christopher Faylor 2000-03-26 19:24:12 +0000
  • 114d3d3070 Mostly cosmetic. Fixes to comments. Don't start as_bad and as_warn messages with capital. Don't malign Unixware, malign SysV386 instead. Alan Modra 2000-03-26 14:13:01 +0000
  • c114dfb0c0 * 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. Christopher Faylor 2000-03-26 01:54:22 +0000
  • 4f7831c1f5 * 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. Christopher Faylor 2000-03-25 05:25:27 +0000
  • 85f96eabae * partition.h: New file. Christopher Faylor 2000-03-25 02:15:38 +0000
  • e06fba33fb merge from gcc Jason Merrill 2000-03-24 21:31:21 +0000
  • b489803aee Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com> Jeff Johnston 2000-03-24 20:42:18 +0000
  • 79908d67bc Fix compile time warning messages. Add "cc" to list of registers clobbered bu do_AgelSWI Nick Clifton 2000-03-24 18:17:17 +0000
  • 7684ddaf52 Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com> Fernando Nasser 2000-03-23 20:19:13 +0000
  • b8ec20c809 Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com> Jeff Johnston 2000-03-22 00:09:49 +0000
  • 1b16b354fa * syscalls.cc (stat_worker): Set st_nlink to 1 on remote drives. Corinna Vinschen 2000-03-19 11:05:14 +0000
  • 5bc5ee4457 * times.cc: Fix extern declarations for variables that are exported but used by this modules. Christopher Faylor 2000-03-19 04:14:07 +0000
  • 731d9d5b3c * times.cc: Remove unneeded (and incorrect) externs. Christopher Faylor 2000-03-19 04:05:14 +0000
  • c6c9f06b7c Patch suggested by Mumit Khan <khan@xraylith.wisc.edu>: * strace.cc (_impure_ptr): New global variable to make strace build under Cygwin gcc. Christopher Faylor 2000-03-19 03:53:18 +0000
  • 72ac8b4f0f * Makefile.in: Make CXXFLAGS consistent with cygwin. Christopher Faylor 2000-03-18 17:45:35 +0000
  • 073519645b * dcrt0.cc (host_dependent_constants::init): Eliminate DELETE flag from shared constant. Christopher Faylor 2000-03-18 06:33:33 +0000
  • 87b82db4e7 * 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). Christopher Faylor 2000-03-18 06:26:14 +0000
  • 03261851a1 20000317 sourceware import Ranjith Kumaran 2000-03-17 22:48:54 +0000
  • fae4c299f1 Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com> Jeff Johnston 2000-03-17 20:40:20 +0000
  • 2be36bd9c4 * fhandler.cc (fhandler_base::open): Call set_file_attribute() only if a file is really created. Corinna Vinschen 2000-03-17 17:22:53 +0000
  • af792540a6 Change ChangeLog entry to more common format. Corinna Vinschen 2000-03-16 20:46:50 +0000
  • 5d4af61e5d * 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. Corinna Vinschen 2000-03-16 19:35:18 +0000
  • 6bc4ac717b * internal.h: Fix a typo in the comment for R_MOVL2. Jeff Law 2000-03-15 21:29:17 +0000
  • 427cf50a1a * errno.cc: Map ERROR_NOACCESS to EFAULT. Corinna Vinschen 2000-03-15 20:40:07 +0000
  • 181438ea70 * spawn.cc (spawn_guts): Restore dependency on signal_arrived. It's needed to wake up the WaitForSingleObject. Christopher Faylor 2000-03-15 19:29:15 +0000
  • 1b534ee1be * Makefile.in: Use MINGW_CXXFLAGS when compiling strace. Christopher Faylor 2000-03-15 14:38:09 +0000
  • 332600d80c 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. Christopher Faylor 2000-03-15 04:49:36 +0000
  • 31b3dbe174 settimeofday was listed twice DJ Delorie 2000-03-13 22:57:59 +0000
  • dc98804b1c Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru> Ranjith Kumaran 2000-03-13 20:41:18 +0000
  • 22fe0c41ec * strace.cc: Throughout, track information like start_time, etc. on a per-process basis. Christopher Faylor 2000-03-13 02:23:47 +0000
  • 3f0b493540 * 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. Christopher Faylor 2000-03-12 06:29:54 +0000
  • 774ea16211 * 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. Christopher Faylor 2000-03-12 04:44:37 +0000
  • 1e8b88023c * sigproc.cc: Set wait_sig priority to normal. Christopher Faylor 2000-03-11 15:51:46 +0000
  • fca5fcb1e0 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. Geoffrey Keating 2000-03-11 02:16:25 +0000
  • e31b2ac226 2000-03-10 H.J. Lu <hjl@gnu.org> H.J. Lu 2000-03-10 21:21:16 +0000
  • 5ed2f523e5 Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com> Jeff Johnston 2000-03-10 21:13:28 +0000
  • 2dc5e3a364 2000-03-10 H.J. Lu <hjl@gnu.org> H.J. Lu 2000-03-10 20:50:45 +0000
  • 7fecc3e4d6 * sigproc.cc (wait_sig): Add addtional debugging output. Christopher Faylor 2000-03-10 18:04:20 +0000
  • 1cf0ee341f * libc/stdio/putw.c (putw): Return 0 on success, to be compliant with XSH5, not SVID. Alexandre Oliva 2000-03-10 17:57:32 +0000
  • e9c9497815 Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com> Jeff Johnston 2000-03-09 22:25:01 +0000
  • af1dc7ccea * 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. Christopher Faylor 2000-03-09 21:04:05 +0000
  • 3072163c0f Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com> Jeff Johnston 2000-03-08 22:16:06 +0000
  • f205ea7a03 * 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. Alexandre Oliva 2000-03-08 04:01:49 +0000
  • 85dd2e5b73 * 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. Alexandre Oliva 2000-03-08 03:46:01 +0000
  • c505305855 * 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. Alexandre Oliva 2000-03-08 03:42:25 +0000
  • cba95ef1c8 * sigproc.cc (sig_send): Eliminate sync_sig_send synchronization since it didn't seem to affect the "bash hangs" problem. Christopher Faylor 2000-03-07 18:32:40 +0000
  • 5abc9b830b 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. Christopher Faylor 2000-03-07 05:33:09 +0000
  • b5314dabec Remove extraneous CYGNUYS LOCAL markers. Nick Clifton 2000-03-06 18:09:38 +0000
  • 68997e887d * 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. Christopher Faylor 2000-03-05 06:34:55 +0000
  • ed8e99bf37 * 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. Andrew Cagney 2000-03-03 23:52:30 +0000
  • 92976eab7d Apply patch for 100679 Nick Clifton 2000-03-02 23:01:40 +0000
  • 0f04849fd0 2000-03-01 H.J. Lu <hjl@gnu.org> H.J. Lu 2000-03-01 19:38:01 +0000
  • b528f63495 * sigproc.cc (sig_send): Temporarily set priority to highest while sending a signal. Christopher Faylor 2000-02-29 05:47:17 +0000
  • adbc0b0aa7 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu> Mumit Khan 2000-02-29 03:16:14 +0000
  • 1756811b99 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu> Mumit Khan 2000-02-29 03:14:40 +0000
  • bb76eb243f 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu> Mumit Khan 2000-02-29 03:13:40 +0000
  • 977ee8850d 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu> Mumit Khan 2000-02-29 03:11:06 +0000
  • 393aa11bce 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu> Mumit Khan 2000-02-29 03:10:04 +0000
  • b37e557227 2000-02-28 Mumit Khan <khan@xraylith.wisc.edu> Mumit Khan 2000-02-29 03:08:37 +0000