summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update winsup stuff.Christopher Faylor2000-04-031-1/+2
|
* * Makefile.in (CC_FOR_TARGET): Add new winsup directory structure stuff to -LChristopher Faylor2000-04-032-2/+8
| | | | | library search. (CXX_FOR_TARGET): Ditto.
* For want of something better. List where to go to when wanting toAndrew Cagney2000-04-031-0/+75
| | | | make a toplevel change.
* * newlib/libc/include/sys/unistd.h: Add prototypes forCorinna Vinschen2000-04-026-18/+96
| | | | | | | | | | | | | | 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.
* * include/wininet.h: Add three more "INTERNET_OPTIONS".Christopher Faylor2000-04-022-0/+7
|
* * MAINTAINERS: Add Ron Parker as maintainer of cinstall stuff.Christopher Faylor2000-03-313-0/+5
| | | | Add ChangeLog to doc directory.
* 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-03-312-1/+6
| | | | * Makefile.in (subdirs): Workaround for broken shells.
* 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-03-305-1/+16
| | | | | | | * 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.
* 2000-03-30 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan2000-03-304-9/+15
| | | | | | * include/ole.h: Workaround for C++ parser bug. * include/rpcdcep.h: Likewise. * include/winsock.h: Likewise.
* Simplify constructors and initializers for select_record.Christopher Faylor2000-03-301-6/+6
|
* * fhandler.h (select_record): Explicitly zero elements of this class.Christopher Faylor2000-03-303-2/+18
| | | | | (select_stuff): Ditto. * select.cc (cygwin_select): Eliminate memset zero of sel.
* * configure.in: -linux-gnu*, not -linux-gnu.Jason Merrill2000-03-303-3/+12
| | | | | * configure (gcc_version): When setting, narrow search to lines containing `version_string'.
* * Makefile.in: Use default rules when compiling cygrun.o.Christopher Faylor2000-03-285-12/+26
| | | | | | | | * 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.
* Fix value of SHORT_A1.Nick Clifton2000-03-272-15/+21
| | | | Move SHORT_AR to end of list of short instructions.
* ATMEL AVR microcontroller support.Alan Modra2000-03-275-0/+72
|
* * include/winnt.h: Eliminate duplicate PCONTEXT and LPCONTEXT typedefs.Christopher Faylor2000-03-262-4/+8
|
* Mostly cosmetic. Fixes to comments. Don't start as_bad and as_warnAlan Modra2000-03-262-62/+80
| | | | messages with capital. Don't malign Unixware, malign SysV386 instead.
* * path.cc (symlink_check_one): Recognize symlink settings from the mount table.Christopher Faylor2000-03-265-53/+51
| | | | | | | * 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.
* * environ.cc: Add TMPDIR to the list of environment variables which areChristopher Faylor2000-03-254-3/+15
| | | | | | converted to POSIX format. * sigproc.cc (proc_terminate): Don't attempt to delete when a muto pointer is NULL.
* * partition.h: New file.Christopher Faylor2000-03-251-0/+81
|
* merge from gccJason Merrill2000-03-242-60/+106
|
* Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-24106-142/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Fix compile time warning messages.Nick Clifton2000-03-242-21/+32
| | | | Add "cc" to list of registers clobbered bu do_AgelSWI
* Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-03-232-1/+11
| | | | | * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid information to be clobbered by an Angel C library support syscall.
* Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-222-1/+5
| | | | * libc/stdlib/envlock.c: Fixed comment typo.
* * syscalls.cc (stat_worker): Set st_nlink to 1 on remote drives.Corinna Vinschen2000-03-192-2/+8
|
* * times.cc: Fix extern declarations for variables that are exported but used byChristopher Faylor2000-03-192-1/+11
| | | | this modules.
* * times.cc: Remove unneeded (and incorrect) externs.Christopher Faylor2000-03-192-3/+4
|
* Patch suggested by Mumit Khan <khan@xraylith.wisc.edu>:Christopher Faylor2000-03-193-2/+14
| | | | | * strace.cc (_impure_ptr): New global variable to make strace build under Cygwin gcc.
* * Makefile.in: Make CXXFLAGS consistent with cygwin.Christopher Faylor2000-03-182-4/+9
|
* * dcrt0.cc (host_dependent_constants::init): Eliminate DELETE flag from sharedChristopher Faylor2000-03-182-1/+6
| | | | constant.
* * delqueue.cc (delqueue_list::queue_file): Add some debugging.Christopher Faylor2000-03-184-19/+48
| | | | | | * 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).
* 20000317 sourceware importRanjith Kumaran2000-03-17420-0/+66815
|
* Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-172-2/+13
| | | | | | * 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.
* * fhandler.cc (fhandler_base::open): Call set_file_attribute() only if a ↵Corinna Vinschen2000-03-172-1/+9
| | | | file is really created.
* Change ChangeLog entry to more common format.Corinna Vinschen2000-03-161-11/+11
|
* * security.cc (set_process_privileges): Removed `static'.Corinna Vinschen2000-03-167-120/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* * internal.h: Fix a typo in the comment for R_MOVL2.Jeff Law2000-03-152-1/+5
|
* * errno.cc: Map ERROR_NOACCESS to EFAULT.Corinna Vinschen2000-03-152-0/+5
|
* * spawn.cc (spawn_guts): Restore dependency on signal_arrived. It's needed toChristopher Faylor2000-03-152-2/+11
| | | | wake up the WaitForSingleObject.
* * Makefile.in: Use MINGW_CXXFLAGS when compiling strace.Christopher Faylor2000-03-152-3/+7
|
* Pipe changes throughout suggested by Eric Fifer <EFifer@sanwaint.com>Christopher Faylor2000-03-1515-88/+106
| | | | | | | | | | | | | | | | | | | | | * 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.
* settimeofday was listed twiceDJ Delorie2000-03-131-2/+2
|
* Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>Ranjith Kumaran2000-03-132-1/+5
| | | | * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
* * strace.cc: Throughout, track information like start_time, etc. on aChristopher Faylor2000-03-132-28/+36
| | | | per-process basis.
* * fhandler.cc (fhandler_base::get_readahead_into_buffer): New function.Christopher Faylor2000-03-127-92/+113
| | | | | | | | | | | | | * 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.
* * fhandler_console.cc (fhandler_console::read): Don't even think about breakingChristopher Faylor2000-03-124-112/+139
| | | | | | | 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.
* * sigproc.cc: Set wait_sig priority to normal.Christopher Faylor2000-03-112-1/+5
|
* In bfd/:Geoffrey Keating2000-03-112-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* 2000-03-10 H.J. Lu <hjl@gnu.org>H.J. Lu2000-03-102-11/+4
| | | | * Makefile.in (all-gcc): Backed out the last change.