summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * largefile.m4 (ACX_LARGEFILE): Call AC_PLUGINS.Joel Brobecker2009-11-092-0/+10
|
* * path.cc (symlink_info::check_reparse_point): Always checkCorinna Vinschen2009-11-093-6/+21
| | | | | | | SubstituteName for volume string to recognize volume mount points. Reuse subst when calling sys_wcstombs. * syscalls.cc (rename): Set errno to EBUSY when trying to rename volume mount points. Explain why.
* * fhandler_console.cc (fhandler_console::read): Restrict generatingCorinna Vinschen2009-11-092-11/+21
| | | | META key sequences to singlebyte input chars.
* * fhandler_disk_file.cc (fhandler_base::fstat_helper): Drop all "other"Corinna Vinschen2009-11-082-0/+12
| | | | | permissions from st_mode, if the reading the file's security descriptor failed. Explain why.
* * largefile.m4: New file.Joel Brobecker2009-11-072-0/+29
|
* * globals.cc (ro_u_scr): New R/O unicode string.Corinna Vinschen2009-11-063-20/+43
| | | | | | | | | | (ro_u_sys): Ditto. * syscalls.cc (nt_path_has_suffix): Replace with ... (nt_path_has_executable_suffix): New function checking for explicit executable suffixes. (rename): Call nt_path_has_executable_suffix instead of nt_path_has_suffix. Check oldpath for nt_path_has_executable_suffix as well to set old_explicit_suffix.
* Checking this in for: Jonas Maebe <jonas.maebe@elis.ugent.be>Joel Brobecker2009-11-062-1/+8
| | | | | | Add DWARF attribute value for the "Borland fastcall" calling convention. * elf/dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.
* * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):Corinna Vinschen2009-11-062-1/+11
| | | | | | Check cygwin_internal for returning 0 rather than for != 0. (transport_layer_pipes::accept): Add debug output. (transport_layer_pipes::connect): Ditto.
* * shared.cc (inst_root_inited): New static bool variable.Corinna Vinschen2009-11-062-2/+13
| | | | | | (init_installation_root): Set inst_root_inited to true. (memory_init): Print installation root debug output only if inst_root_inited is true.
* * libc/include/ctype.h (__ctype_lookup): Fix precedence.Eric Blake2009-11-062-1/+5
|
* * syscalls.cc (nt_path_has_suffix): New function.Corinna Vinschen2009-11-052-5/+34
| | | | | (rename): Don't append .exe suffix if binary target name has any suffix at all.
* * spawn.cc (dll_suffixes): Disable. Explain why.Corinna Vinschen2009-11-052-1/+12
| | | | (perhaps_suffix): Use stat_suffixes instead of dll_suffixes.
* [opcodes]DJ Delorie2009-11-052-4/+6
| | | | | | | | | | | | | | | * rx-decode.opc (rx_decode_opcode) (mvtipl): Add. (mvtcp, mvfcp, opecp): Remove. * rx-decode.c: Regenerate. * rx-dis.c (cpen): Remove. [gas] * config/rx-parse.y (MVTIPL): Update bit pattern. (cpen): Remove. [include/opcode] * rx.h (rx_decode_opcode) (mvtipl): Add. (mvtcp, mvfcp, opecp): Remove.
* * path.cc (read_mounts): Skip unnecessary test if path has beenCorinna Vinschen2009-11-042-6/+15
| | | | fetched from loaded cygwin1.dll.
* * cygcheck.cc (cygwin_dll_path): New global variable.Corinna Vinschen2009-11-044-15/+28
| | | | | | | | (load_cygwin): Fetch cygwin DLL path and store in cygwin_dll_path. * strace.cc: Full ditto. * path.cc (read_mounts): First use the path stored in cygwin_dll_path, if available. Then fall back to fetching own path. Add comment. Drop printing warnings since they look funny in strace output.
* * path.cc (read_mounts): First get installation path from own path.Corinna Vinschen2009-11-042-20/+49
| | | | | Check if cygwin1.dll exists in same directory. Only if not, try to get installation path from setup registry key. Add ample warnings.
* * Makefile.in (cygpath.exe): Add -fno-threadsafe-statics to CXXFLAGS.Corinna Vinschen2009-11-042-0/+5
|
* * security.cc (alloc_sd): Re-introduce setting the SE_DACL_PROTECTEDCorinna Vinschen2009-11-034-12/+46
| | | | | | | flag. Remove INHERITED_ACE flag from all inherited ACEs. Add comment. Fix ace_off counter in unrelated ACE loop. * wincap.cc: Re-add has_dacl_protect throughout. * wincap.h: Ditto.
* * security.cc (alloc_sd): Re-enable generating default permissionCorinna Vinschen2009-11-022-7/+5
| | | | entries for directories.
* * dlfcn.cc (get_full_path_of_dll): Drop enforcing a .dll suffix.Corinna Vinschen2009-11-022-9/+12
| | | | | (dlopen): If last path component has no dot, append one to override automatic .dll suffix in LoadLibrary.
* 2009-11-02 Paul Brook <paul@codesourcery.com>Paul Brook2009-11-022-6/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ld/testsuite/ * ld-arm/arm-elf.exp: Add new attr-merge-vfp tests. * ld-arm/attr-merge-vfp-1.d: New test. * ld-arm/attr-merge-vfp-1r.d: New test. * ld-arm/attr-merge-vfp-2.d: New test. * ld-arm/attr-merge-vfp-2r.d: New test. * ld-arm/attr-merge-vfp-3.d: New test. * ld-arm/attr-merge-vfp-3r.d: New test. * ld-arm/attr-merge-vfp-4.d: New test. * ld-arm/attr-merge-vfp-4r.d: New test. * ld-arm/attr-merge-vfp-5.d: New test. * ld-arm/attr-merge-vfp-5r.d: New test. * ld-arm/attr-merge-vfp-2.s: New test. * ld-arm/attr-merge-vfp-3.s: New test. * ld-arm/attr-merge-vfp-3-d16.s: New test. * ld-arm/attr-merge-vfp-4.s: New test. * ld-arm/attr-merge-vfp-4-d16.s: New test. gas/ * doc/c-arm.texi: Document new -mfpu options. * config/tc-arm.c (fpu_vfp_ext_v3xd, fpu_vfp_fp16, fpu_neon_ext_fma, fpu_vfp_ext_fma): New. (NEON_ENC_TAB): Add vfma, vfms, vfnma and vfnms. (do_vfp_nsyn_fma_fms, do_neon_fmac): New functions. (insns): Move double precision load/store. Split out double precision VFPv3 instrucitons. Add VFPv4 instructions. (arm_fpus): Add VFPv3-FP16, VFPv3xD and VFPv4 variants. (aeabi_set_public_attributes): Set VFPv4 variants gas/testsuite/ * gas/arm/attr-mfpu-vfpv4.d: New test. * gas/arm/attr-mfpu-vfpv4-d16.d: New test. * gas/arm/neon-fma-cov.d: New test. * gas/arm/neon-fma-cov.s: New test. * gas/arm/vfp-fma-inc.s: New test. * gas/arm/vfp-fma-arm.d: New test. * gas/arm/vfp-fma-arm.s: New test. * gas/arm/vfp-fma-thumb.d: New test. * gas/arm/vfp-fma-thumb.s: New test. * gas/arm/vfma1.d: New test. * gas/arm/vfma1.s: New test. * gas/arm/vfpv3xd.d: New test. * gas/arm/vfpv3xd.s: New test. include/opcode/ * arm.h (FPU_VFP_EXT_V3xD, FPU_VFP_EXT_FP16, FPU_NEON_EXT_FMA, FPU_VFP_EXT_FMA, FPU_VFP_V3xD, FPU_VFP_V4D16, FPU_VFP_V4): Define. (FPU_ARCH_VFP_V3D16_FP16, FPU_ARCH_VFP_V3_FP16, FPU_ARCH_VFP_V3xD, FPU_ARCH_VFP_V3xD_FP16, FPU_ARCH_VFP_V4, FPU_ARCH_VFP_V4D16, FPU_ARCH_NEON_VFP_V4): Define. binutils/ * readelf.c (arm_attr_tag_VFP_arch): Add VFPv4 and VFPv4-D16. bfd/ * elf32-arm.c (elf32_arm_merge_eabi_attributes): Handle VFPv4 attributes. opcodes/ * arm-dis.c (coprocessor_opcodes): Update to use new feature flags. Add VFPv4 instructions.
* Final sync of pseudo-reloc.c with mingw64 and cygwinCharles Wilson2009-11-022-2/+9
|
* * miscfuncs.h (transform_chars): Declare. Define inline variation here.Corinna Vinschen2009-11-025-68/+83
| | | | | | | | | | | | | * mount.cc (mount_info::from_fstab): Remove extern declaration of transform_chars. * path.cc (tfx_chars): Move to strfuncs.cc. (transform_chars): Ditto. * strfunc.cc (tfx_chars): Moved here from path.cc. (transform_chars): Ditto. (sys_cp_wcstombs): Make UNICODE private use area conversion roundtrip save for all characters. (sys_cp_mbstowcs): Ditto, by removing special case for UTF-8 sequences representing U+f0XX UNICODE chars. Fix typo in comment.
* path.ccCorinna Vinschen2009-11-021-1/+1
|
* * path.cc (tfx_chars): Constify.Corinna Vinschen2009-11-021-0/+4
|
* * Makefile.in: Use utils mingw front-end to generate non-cygwin binary.Christopher Faylor2009-11-012-3/+8
|
* * new-features.sgml (ov-new1.7-misc): Add installation-specificCorinna Vinschen2009-10-312-0/+13
| | | | unique object names description.
* * cygcheck.cc: Include cygprops.h.Corinna Vinschen2009-10-313-10/+329
| | | | | | | | | | | | | | | | | | | (del_orphaned_reg): New option variable. (unique_object_name_opt): Ditto. (handle_reg_installation): New function. (print_reg_installations): Ditto. (del_orphaned_reg_installations): Ditto. (memmem): Ditto. (handle_unique_object_name): Ditto. (dump_sysinfo): Call print_reg_installations from here. (usage): Add usage for new options --delete-orphaned-installation-keys, --enable-unique-object-names, --disable-unique-object-names, and --show-unique-object-names. (longopts): Add new options --delete-orphaned-installation-keys, --enable-unique-object-names, --disable-unique-object-names, and --show-unique-object-names. (main): Handle new options. * utils.sgml (cygcheck): Change documentaion accordingly.
* * transport_pipes.h (PIPE_NAME_PREFIX): New define.Corinna Vinschen2009-10-313-16/+46
| | | | | | | | | | | | | | | (PIPE_NAME_SUFFIX): Ditto. (class transport_layer_pipes): Convert _pipe_name from char pointer to wchar_t array. * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes): Accommodate the fact that _pipe_name is a wchar_t array, rather than a char pointer. (transport_layer_pipes::transport_layer_pipes): Initialize _pipe_name with variable pipe name based in installation key fetched from Cygwin DLL. (transport_layer_pipes::accept): Call CreateNamedPipeW explicitely. (transport_layer_pipes::connect): Call CreateFileW and WaitNamedPipeW explicitely.
* * cygprops.h: New file.Corinna Vinschen2009-10-3113-62/+220
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * dtable.cc (handle_to_fn): Add check for correct installation_key string in object name for pipes and ttys. * external.cc (cygwin_internal): Add CW_GET_INSTKEY to allow fetching the installation_key from cygserver. * fhandler_fifo.cc (fhandler_fifo::fifo_name): Add installation_key to fifo name. * globals.cc: Include cygprops.h. (_RDATA): Move slightly and add comment. (cygwin_props): Define. * mount.cc (mount_info::init): Accommodate the fact that installation_root is now a global variable in DLL common shared memory, rather than a member of cygwin_shared. * pipe.cc (fhandler_pipe::create_selectable): Add installation_key to pipe name. * shared.cc (installation_root): Define here for storage in DLL common shared memory. (installation_key): Ditto. (installation_key_buf): Ditto. (init_installation_root): Convert from shared_info method to ordinary function. Add initializing installation_key. Invalidate installation_key depending of value of disable_key property. Add comment to explain. (get_shared_parent_dir): Add installation_key to directory name. (get_session_parent_dir): Ditto. (shared_info::initialize): Move call to init_installation_root from here... (memory_init): ...to here. Add debug output to print installation root and installation key. Add comment to explain why. * shared_info.h (SHARED_INFO_CB): Recalculate. (CURR_SHARED_MAGIC): Ditto. (class shared_info): Remove definition of installation_root and declaration of init_installation_root. (init_installation_root): Declare. (installation_root): Declare. (installation_key): Declare. * uinfo.cc (pwdgrp::load): Accommodate the fact that installation_root is now a global variable in DLL common shared memory. * include/cygwin/version.h: Bump API minor number. (CYGWIN_INFO_INSTALLATIONS_NAME): Add. * include/sys/cygwin.h (cygwin_getinfo_types): Add CW_GET_INSTKEY.
* * sec_helper.cc (security_descriptor::realloc): Call free first ifCorinna Vinschen2009-10-312-0/+8
| | | | current security desriptor has been allocated by GetSecurityInfo.
* * sec_helper.cc (security_descriptor::free): If sd_size is 0, callCorinna Vinschen2009-10-309-57/+93
| | | | | | | | | | | | | | | | | | | | | | | | LocalFree instead of ::free. * sec_acl.cc: Throughout replace old ACE flag definitions with current definitions as used in MSDN man pages. * security.cc: Ditto. * fhandler.cc (fhandler_base::open): Make sure file has really been just created before fixing file permissions. Add S_JUSTCREATED attribute to set_file_attribute call. * fhandler_disk_file.cc (fhandler_disk_file::mkdir): Always create dir with default security descriptor and fix descriptor afterwards. Add S_JUSTCREATED flag to set_file_attribute call. * fhandler_socket.cc (fhandler_socket::bind): Ditto for AF_LOCAL socket files. * path.cc (symlink_worker): Ditto for symlinks. * security.cc (get_file_sd): Call GetSecurityInfo rather than NtQuerySecurityObject. Explain why. Change error handling accordingly. (alloc_sd): Skip non-inherited, non-standard entries in ACL if S_JUSTCREATED attribute is set. Explain why. Minor format fixes. * security.h (S_JUSTCREATED): New define. (security_descriptor::operator=): New operator.
* * fhandler_random.cc (fhandler_dev_random::lseek): Revert change fromCorinna Vinschen2009-10-302-0/+10
| | | | 2009-10-23.
* * smallprint.cc (hex_str): New const string.Corinna Vinschen2009-10-303-12/+54
| | | | | | | | | | | (__rn): Drop str and use hex_str instead. (__small_vsprintf): If 'l' modifier has been found, print subsequent multibyte or wide char string using the s, S, or W options in extended hex value layout. * fhandler_disk_file.cc (fhandler_disk_file::readdir): Print WCHAR and resulting multibyte filename in extended hex value layout in debug output.
* * libc/stdio/fflush.c (_fflush_r): Store old errno to check forCorinna Vinschen2009-10-302-10/+29
| | | | | | | low-level seek error condition. Restore old errno in case of success. Don't use new position after seek as error condition, rather check for return value of -1 and errno. Handle EINVAL just like ESPIPE. Only set fp->_offset if errno is 0.
* Honor DESTDIR for winsup/mingw and winsup/w32apiCharles Wilson2009-10-299-62/+171
|
* * cygcheck.cc (pretty_id): Drop arguments. Don't change CYGWINCorinna Vinschen2009-10-282-17/+10
| | | | | | environment variable. (dump_sysinfo): Don't tweak CYGWIN environment variable, just call pretty_id once.
* * pathnames.sgml: Add limitation of case sensitivity with CreateProcess.Corinna Vinschen2009-10-282-4/+12
|
* * new-features.sgml (ov-new1.7-posix): Mention UTF-8 as "C" defaultCorinna Vinschen2009-10-283-2/+16
| | | | | and the default locale "C.UTF-8". * setup2.sgml (setup-locale-ov): Ditto.
* * MAINTAINERS (ARM): Add myself as an ARM maintainer.Nick Clifton2009-10-272-0/+5
|
* Correct pseudo-reloc size bug wrt error messagesCharles Wilson2009-10-263-4/+11
|
* Sync pseudo-reloc.c with mingw64Charles Wilson2009-10-262-82/+93
|
* * faq-setup.xml: Fix clean_setup.pl reference.Christopher Faylor2009-10-262-1/+5
|
* * faq-setup.xml: Change clean_setup.pl reference.Christopher Faylor2009-10-262-1/+5
|
* newlib:Nick Clifton2009-10-2663-55/+13005
| | | | | | | | | | | | | | | | * configure.host: Add support for RX architecture. * libc/include/machine/ieeefp.h: Likewise. * libc/include/machine/setjmp.h: Likewise. * libc/include/machine/configure.in: Likewise. * libc/include/machine/configure: Regenerate. * libc/machine/rx: New directory. * libc/machine/rx/*: New files to support RX architecture. libgloss: * configure.in: Add support for RX sub-directory. * configure: Regenerate. * rx: New directory. * rx/*: New files to support RX architecture.
* * arm/linux-syscalls0.S (SYSCALL0, SYSCALL3, SYSCALL6, SYSCALL4):Nick Clifton2009-10-262-44/+6
| | | | | Delete Thumb definitions - the ARM versions work correctly in Thumb mode.
* Sync pseudo-reloc.c with mingw64Charles Wilson2009-10-253-164/+169
|
* Fix isalpha(0x100000001LL) and friends on 64-bit machines.Eric Blake2009-10-242-15/+30
| | | | | | | * libc/include/ctype.h (__ctype_lookup): New macro. (isalpha, isupper, islower, isdigit, isxdigit, isspace, ispunct) (isalnum, isprint, isgraph, iscntrl, isblank): Use it to fix bug on 64-bit machines.
* * fhandler.cc (fhandler_base::open): Remove unused variables sa and sd.Corinna Vinschen2009-10-242-3/+5
|
* * fhandler.cc (fhandler_base::open): Always create file with defaultCorinna Vinschen2009-10-245-45/+30
| | | | | | | | security descriptor and fix descriptor afterwards. Change comment to explain why. * security.cc (alloc_sd): Drop setting the SE_DACL_PROTECTED flag. * wincap.cc: Remove has_dacl_protect throughout. * wincap.h: Ditto.