summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * faq-setup.xml (faq.setup.uninstall): Mention Safe ModeJoshua Daniel Franklin2006-08-263-17/+34
| | | | | requirement for accessing the Security tab in XP Home. * faq-using.xml (faq.using.chmod): Mention FAT32.
* * include/ctype.h: Expose iswblank if __cplusplus.Danny Smith2006-08-253-5/+9
| | | | * include/wctype.h: Expose iswblank if __cplusplus.
* 2006-08-24 Paul Brook <paul@codesourcery.com>Jeff Johnston2006-08-242-1/+5
| | | | * arm/linux-crt0.c: Disable Arm stub for Thumb-2.
* 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2006-08-2315-244/+629
| | | | | | | | | | | | | | | | | * spu/Makefile.in: Add new object files. * spu/syscalls.c: Move each system call to individual file. * spu/jsre.h: Add declaration of _send_to_ppe_0x2101(). * spu/close.c: New file. Moved from spu/syscalls.c. * spu/fstat.c: Likewise. * spu/getpid.c: Likewise. * spu/isatty.c: Likewise. * spu/kill.c: Likewise. * spu/lseek.c: Likewise. * spu/open.c: Likewise. * spu/read.c: Likewise. * spu/stat.c: Likewise. * spu/unlink.c: Likewise. * spu/write.c: Likewise.
* 2006-08-23 Kazunori Asayama <asayama@sm.sony.co.jp>Jeff Johnston2006-08-234-1/+15
| | | | | | * libc/machine/configure.in: Add configuration for SPU. * libc/machine/configure: Regenerated. * libc/machine/spu/memcpy.c: Include string.h.
* 2006-08-22 Eric Blake <ebb9@byu.net>Jeff Johnston2006-08-222-2/+17
| | | | | | * libc/posix/popen.c (popen): Don't close output end of pipe in child if stdout was closed on entry. [HAVE_FCNTL]: In parent, mark file as close-on-exec, per POSIX.
* 2006-08-21 David Ung <davidu@mips.com>Jeff Johnston2006-08-212-0/+8
| | | | | * mips/Makefile.in: Add rule for cygmon.o and pass the -mno-mips16 option since it uses the syscall instruction.
* * fhandler_disk_file.cc (fhandler_disk_file::opendir): Fix formatting.Corinna Vinschen2006-08-202-4/+11
|
* * fhandler_disk_file.cc (DIR_NUM_ENTRIES): Set to 100 to maximizeCorinna Vinschen2006-08-202-24/+68
| | | | | | | | | | | performance on remote shares. (fhandler_disk_file::opendir): Move comment about Samba weirdness into fhandler_disk_file::readdir. Don't disallow FileIdBothDirectoryInformation on Samba. (fhandler_disk_file::readdir): Workaround Samba problem with FileIdBothDirectoryInformation by rereading already read entries using FileBothDirectoryInformation. Change comment about Samba weirdness explaining this change.
* * fhandler_disk_file.cc (fhandler_disk_file::pread): Properly check forChristopher Faylor2006-08-192-4/+9
| | | | non-error return from lseek.
* * sys/types.h: Correct syntax error caused by missing '\' on #ifdef line.Christopher Faylor2006-08-192-1/+6
|
* 2006-08-17 Brian Ford <Brian.Ford@FlightSafety.com>Jeff Johnston2006-08-172-5/+10
| | | | | * libc/time/gmtime.c: Correct man page; clock is not a local time and no conversion occurs.
* * fhandler_serial.cc (raw_read): Evaluate minchars taking theCorinna Vinschen2006-08-172-14/+15
| | | | | | vmin_ > ulen case into account. Simplify evaluating the bytes to read. Don't use bytes in Queue value from ClearCommError call in case vtime_ is > 0. Reformat GetOverlappedResult call. Simplify call to ReadFile.
* 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2006-08-162-0/+6
| | | | | * configure.host (newlib_cflags) [spu]: Add special compiler options to reduce size.
* 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2006-08-162-1/+6
| | | | | * spu/Makefile.in: Add special compiler options to reduce size.
* 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2006-08-163-12/+57
| | | | | | * spu/jsre.h(JSRE_STAT): New define. (syscall_stat_t): New type. * spu/syscalls.c(stat): New syscall.
* 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2006-08-1614-6/+5667
| | | | | | | | | | | | | | | | * configure.host: Add spu support. * libc/include/stdint.h: Ditto. * libc/include/machine/ieeefp.h: Ditto. * libc/include/machine/setjmp.h: Ditto. * libc/include/sys/config.h: Ditto. * libc/include/sys/types.h: Ditto. * libc/machine/spu/Makefile.am: New file. * libc/machine/spu/Makefile.in: Ditto. * libc/machine/spu/aclocal.m4: Ditto. * libc/machine/spu/configure: Ditto. * libc/machine/spu/configure.in: Ditto. * libc/machine/spu/memcpy.c: Ditto. * libc/machine/spu/setjmp.S: Ditto.
* 2006-08-16 Joel Schopp <jschopp@austin.ibm.com>Jeff Johnston2006-08-1613-0/+4350
| | | | | | | | | | | | | | | * configure.in: Add spu support. * configure: Regenerated. * spu/Makefile.in: New file. * spu/aclocal.m4: Ditto. * spu/configure: Ditto. * spu/configure.in: Ditto. * spu/crt0.c: Ditto. * spu/exit.c: Ditto. * spu/init.c: Ditto. * spu/jsre.h: Ditto. * spu/sbrk.c: Ditto. * spu/syscalls.c: Ditto.
* [ ChangeLog ]Thiemo Seufer2006-08-152-0/+10
| | | | | | | | | | | | | | | | | * config.sub: Add support for sde as alias of mipsisa32-sde-elf. [ bfd/ChangeLog ] * config.bfd: Add configurations for mips*el-sde-elf* and mips*-sde-elf*. [ binutils/testsuite/ChangeLog ] * binutils-all/readelf.exp (readelf_test): Handle mips*-sde-elf*. [ gas/ChangeLog ] * configure.tgt: Handle mips*-sde-elf*. [ gas/testsuite/ChangeLog ] * gas/mips/mips.exp: Handle mips*-sde-elf*.
* * security.cc (subauth): Initialize user_token to NULL. Add comment.Corinna Vinschen2006-08-142-2/+9
|
* * shared.cc (open_shared): Desperately try to get shared memory, onlyCorinna Vinschen2006-08-112-0/+29
| | | | when DEBUGGING enabled for now.
* * lib/wtsapi32.def (WTSGetActiveConsoleSessionId). Move from here...Danny Smith2006-08-103-1/+8
| | | | * lib/kernel32.def (WTSGetActiveConsoleSessionId). ...to here.
* * pinfo.cc (_onreturn::~onreturn): Don't attempt to close a NULL handle.Christopher Faylor2006-08-103-2/+8
|
* revert erroneous checkinChristopher Faylor2006-08-102-5/+18
|
* * winsup.h: Turn on DEBUGGING by default for now.Christopher Faylor2006-08-105-18/+103
|
* * fhandler_disk_file.cc (fhandler_disk_file::lock): HandleCorinna Vinschen2006-08-102-0/+7
| | | | ERROR_NOT_LOCKED returned from UnlockFileEx.
* * overview2.sgml: Remove inaccurate "full support for windows pathnames"Christopher Faylor2006-08-092-2/+6
| | | | clause.
* * path.h (SYMLINK_EA_NAME): Remove.Corinna Vinschen2006-08-092-5/+5
| | | | (SHORTCUT_HDR_SIZE): Ditto.
* * autoload.cc (GetHandleInformation): Declare new function.Christopher Faylor2006-08-094-3/+16
| | | | | | | (SetHandleInformation): Ditto. * debug.cc (add_handle): Use SetHandleInformation to protect handle. (close_handle): Use SetHandleInformation to unprotect handle. * spawn.cc (spawn_guts): Move detached test outside of P_OVERLAY block.
* * autoload.cc (NtSetInformationFile): Define.Corinna Vinschen2006-08-0711-33/+213
| | | | | | | | | | | | | | | | | | | | | | | | | * cygwin.din: Export posix_fadvise and posix_fallocate. * fhandler.cc (fhandler_base::fadvise): New method. (fhandler_base::ftruncate): Add allow_truncate parameter. * fhandler.h (class fhandler_base): Add fadvise method. Accomodate new parameter to ftruncate. (class fhandler_pipe): Add fadvise and ftruncate methods. (class fhandler_disk_file): Add fadvise method. Accomodate new parameter to ftruncate. * fhandler_disk_file.cc (fhandler_disk_file::fadvise): New method. (fhandler_disk_file::ftruncate): Accomodate new allow_truncate parameter. Set EOF using NtSetInformationFile on NT. * ntdll.h (struct _FILE_END_OF_FILE_INFORMATION): Define. (NtSetInformationFile): Declare. * pipe.cc (fhandler_pipe::fadvise): New method. (fhandler_pipe::ftruncate): Ditto. * syscalls.cc (posix_fadvise): New function. (posix_fallocate): Ditto. (ftruncate64): Accomodate second parameter to fhandler's ftruncate method. * include/fcntl.h: Add POSIX_FADV_* flags. Add declarations of posix_fadvise and posix_fallocate. * include/cygwin/version.h: Bump API minor number.
* * ldmain.c (main): Initialise print_gc_sections field of link_info structure.Nick Clifton2006-08-042-0/+7
| | | | | | | | * lexsup.c: Add --print-gc-sections and --no-print-gc-sections switches. * ld.texinfo: Document new switches. * NEWS: Mention new switches. * bfdlink.h (struct bfd_link_info): New field: print_gc_sections. * elflink.c (elf_gc_sweep): If info.print_gc_sections is true, list removed sections to stderr.
* * include/ctype.h: Remove stray ')'.Danny Smith2006-08-032-1/+5
|
* 2006-08-03 J"orn Rennecke <joern.rennecke@st.com>Jeff Johnston2006-08-032-0/+13
| | | | | * dtoa.c (dtoa_r): Handle the denormalized _DOUBLE_IS_32BITS case properly.
* * path.cc (vconcat): Don't convert backslahes to slashes.Corinna Vinschen2006-08-032-4/+6
| | | | (cygpath): Return native path with all backslashes.
* * include/ctype.h (_BLANK): Expand comment.Danny Smith2006-08-036-7/+64
| | | | | | | | | (isblank): Add prototype and inline definition. (iswblank): Add prototype and inline definition. * include/wctype.h (iswblank): Add prototype and inline definition. * mingwex/isblank.c: New file. * mingwex/iswblank.c: New file. * mingwex/Makefile.in: Add isblank, iswblank to libmingwex.a
* fix typoChristopher Faylor2006-08-031-1/+1
|
* * Makefile.in (subauth): Add dependency on mingw.Christopher Faylor2006-08-032-0/+6
|
* * environ.cc (env_win32_to_posix_path_list): Declare.Christopher Faylor2006-08-024-5/+44
| | | | | | | | | | (conv_envvars): Use env_win32_to_posix_path_list rather than cygwin_win32_to_posix_path_list. (posify): Translate back to win32 path if errno is EIDRM. * environ.h: Update copyright. Define ENV_CVT. * path.cc (conv_path_list): If converting for the environment and removed an element set errno to ENV_CVT. (env_win32_to_posix_path_list): New function.
* * Makefile.in (cygpath.exe): Add rule to link cygpath against ntdll.dll.Corinna Vinschen2006-08-023-0/+178
| | | | | | | | | * cygpath.cc: Include DDK headers. (RtlAllocateUnicodeString): New static inline function. (get_device_name): New static function to evaluate DOS path from native NT path. (get_device_paths): New function to do the same for path lists. (doit): Call get_device_paths/get_device_name where appropriate.
* 2006-08-01 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-08-016-15/+30
| | | | | | | | | * libc/Makefile.am: Add libc_TEXINFOS dependency on generated .texi files. * libm/Makefile.am: Add libm_TEXINFOS dependency on generated .texi files. * libc/Makefile.in: Regenerated. * libm/Makefile.in: Ditto.
* * cygwinenv.sgml: Document [no]dosfilewarning option.Christopher Faylor2006-08-012-1/+11
|
* * environ.cc (dos_file_warning): Declare.Christopher Faylor2006-08-015-10/+55
| | | | | | | | | | | | (parse_thing): Add "dosfilewarning". Alphabetize. * path.cc (normalize_posix_path): Return -1 when MS-DOS path detected. (warn_msdos): New function. (path_conv::check): Call if !PC_NOWARN and MS-DOS path detected. (cygwin_conv_to_win32_path): Set PC_NOWARN when calling path_conv. (cygwin_conv_to_full_win32_path): Ditto. * path.h (pathconv_arg::PC_NOWARN): Define. * shared_info.h (user_info::warned_msdos): New field. (CURR_USER_MAGIC): Reset.
* 2006-08-01 Thiemo Seufer <ths@mips.com>Jeff Johnston2006-08-012-0/+10
| | | | | | | Nigel Stephens <nigel@mips.com> * libc/include/sys/config.h (__ATTRIBUTE_IMPURE_PTR__): For MIPS define this to force _impure_ptr to live in the .sdata section.
* 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-07-31177-89/+6204
| | | | | | * acinclude.m4: Check for readelf tool. * configure.in: Use ${READELF} instead of hard-coding. * Regenerate all aclocal.m4, Makefile.in, and configure files.
* 2006-07-31 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2006-07-312-1/+5
| | | | | * libc/sys/linux/mmap.c: Remove include of sys/mman.h to avoid conflict with newer glibc's revision of mremap.
* * fhandler_socket.cc (fhandler_socket::recv_internal): Fix a problemCorinna Vinschen2006-07-314-37/+25
| | | | | | | | with poll(2) after shutdown(SHUT_RD) has been called on the local side. * poll.cc (poll): Use POSIX type nfds_t for second parameter. Drop special socket handling for POLLIN. Add comment to explain why. * include/sys/poll.h: Declare nfds_t. Use as type for second parameter in poll(2) declaration.
* * fhandler_socket.cc (fhandler_socket::evaluate_events): CircumventCorinna Vinschen2006-07-312-22/+23
| | | | | | | potential race condition. (fhandler_socket::recv_internal): Fix MSG_PEEK bug on blocking sockets and simplify recv loop. (fhandler_socket::send_internal): Only lock when changing wsock_events.
* * autoload.cc: Drop LoadDLLprime for wsock32 since no wsock32 functionCorinna Vinschen2006-07-312-15/+7
| | | | is used anymore. Drop all unused ws2_32.dll functions.
* * cygpath.cc (get_long_name): Fallback to get_long_path_name_w32impl.Corinna Vinschen2006-07-312-4/+15
|
* Update more IMAGE relocation type indicatorsDanny Smith2006-07-292-15/+91
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to PECOFF v8 (May, 2006) specs. * include/winnt.h (IMAGE_REL_SH3_ABSOLUTE, IMAGE_REL_SH3_DIRECT16, IMAGE_REL_SH3_DIRECT32, IMAGE_REL_SH3_DIRECT8, IMAGE_REL_SH3_DIRECT8_WORD, IMAGE_REL_SH3_DIRECT8_LONG, IMAGE_REL_SH3_DIRECT4, IMAGE_REL_SH3_DIRECT4_WORD, IMAGE_REL_SH3_DIRECT4_LONG, IMAGE_REL_SH3_PCREL8_WORD, IMAGE_REL_SH3_PCREL8_LONG, IMAGE_REL_SH3_PCREL12_WORD, IMAGE_REL_SH3_STARTOF_SECTION, IMAGE_REL_SH3_SIZEOF_SECTION, IMAGE_REL_SH3_SECTION, IMAGE_REL_SH3_SECREL, IMAGE_REL_SH3_DIRECT32_NB, IMAGE_REL_SH3_GPREL4_LONG, IMAGE_REL_SH3_TOKEN, IMAGE_REL_SHM_PCRELPT, IMAGE_REL_SHM_REFLO, IMAGE_REL_SHM_REFHALF, IMAGE_REL_SHM_RELLO, IMAGE_REL_SHM_RELHALF, IMAGE_REL_SHM_PAIR, IMAGE_REL_SHM_NOMODE): Add defines. (IMAGE_REL_M32R_ABSOLUTE, IMAGE_REL_M32R_ADDR32, IMAGE_REL_M32R_ADDR32NB, IMAGE_REL_M32R_ADDR24, IMAGE_REL_M32R_GPREL16, IMAGE_REL_M32R_PCREL24, IMAGE_REL_M32R_PCREL16, IMAGE_REL_M32R_PCREL8, IMAGE_REL_M32R_REFHALF, IMAGE_REL_M32R_REFHI, IMAGE_REL_M32R_REFLO, IMAGE_REL_M32R_PAIR, IMAGE_REL_M32R_SECTION, IMAGE_REL_M32R_SECREL, IMAGE_REL_M32R_TOKEN): Add defines. (IMAGE_REL_MIPS_JMPADDR16): Add define.