Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-11-05[opcodes]DJ Delorie
* 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.
2009-11-04 * path.cc (read_mounts): Skip unnecessary test if path has beenCorinna Vinschen
fetched from loaded cygwin1.dll.
2009-11-04 * cygcheck.cc (cygwin_dll_path): New global variable.Corinna Vinschen
(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.
2009-11-04 * path.cc (read_mounts): First get installation path from own path.Corinna Vinschen
Check if cygwin1.dll exists in same directory. Only if not, try to get installation path from setup registry key. Add ample warnings.
2009-11-04 * Makefile.in (cygpath.exe): Add -fno-threadsafe-statics to CXXFLAGS.Corinna Vinschen
2009-11-03 * security.cc (alloc_sd): Re-introduce setting the SE_DACL_PROTECTEDCorinna Vinschen
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.
2009-11-02 * security.cc (alloc_sd): Re-enable generating default permissionCorinna Vinschen
entries for directories.
2009-11-02 * dlfcn.cc (get_full_path_of_dll): Drop enforcing a .dll suffix.Corinna Vinschen
(dlopen): If last path component has no dot, append one to override automatic .dll suffix in LoadLibrary.
2009-11-022009-11-02 Paul Brook <paul@codesourcery.com>Paul Brook
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.
2009-11-02Final sync of pseudo-reloc.c with mingw64 and cygwinCharles Wilson
2009-11-02 * miscfuncs.h (transform_chars): Declare. Define inline variation here.Corinna Vinschen
* 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.
2009-11-02path.ccCorinna Vinschen
2009-11-02 * path.cc (tfx_chars): Constify.Corinna Vinschen
2009-11-01* Makefile.in: Use utils mingw front-end to generate non-cygwin binary.Christopher Faylor
2009-10-31 * new-features.sgml (ov-new1.7-misc): Add installation-specificCorinna Vinschen
unique object names description.
2009-10-31 * cygcheck.cc: Include cygprops.h.Corinna Vinschen
(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.
2009-10-31 * transport_pipes.h (PIPE_NAME_PREFIX): New define.Corinna Vinschen
(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.
2009-10-31 * cygprops.h: New file.Corinna Vinschen
* 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.
2009-10-31 * sec_helper.cc (security_descriptor::realloc): Call free first ifCorinna Vinschen
current security desriptor has been allocated by GetSecurityInfo.
2009-10-30 * sec_helper.cc (security_descriptor::free): If sd_size is 0, callCorinna Vinschen
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.
2009-10-30 * fhandler_random.cc (fhandler_dev_random::lseek): Revert change fromCorinna Vinschen
2009-10-23.
2009-10-30 * smallprint.cc (hex_str): New const string.Corinna Vinschen
(__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.
2009-10-30 * libc/stdio/fflush.c (_fflush_r): Store old errno to check forCorinna Vinschen
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.
2009-10-30Honor DESTDIR for winsup/mingw and winsup/w32apiCharles Wilson
2009-10-28 * cygcheck.cc (pretty_id): Drop arguments. Don't change CYGWINCorinna Vinschen
environment variable. (dump_sysinfo): Don't tweak CYGWIN environment variable, just call pretty_id once.
2009-10-28 * pathnames.sgml: Add limitation of case sensitivity with CreateProcess.Corinna Vinschen
2009-10-28 * new-features.sgml (ov-new1.7-posix): Mention UTF-8 as "C" defaultCorinna Vinschen
and the default locale "C.UTF-8". * setup2.sgml (setup-locale-ov): Ditto.
2009-10-27 * MAINTAINERS (ARM): Add myself as an ARM maintainer.Nick Clifton
2009-10-26Correct pseudo-reloc size bug wrt error messagesCharles Wilson
2009-10-26Sync pseudo-reloc.c with mingw64Charles Wilson
2009-10-26* faq-setup.xml: Fix clean_setup.pl reference.Christopher Faylor
2009-10-26* faq-setup.xml: Change clean_setup.pl reference.Christopher Faylor
2009-10-26newlib:Nick Clifton
* 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.
2009-10-26 * arm/linux-syscalls0.S (SYSCALL0, SYSCALL3, SYSCALL6, SYSCALL4):Nick Clifton
Delete Thumb definitions - the ARM versions work correctly in Thumb mode.
2009-10-26Sync pseudo-reloc.c with mingw64Charles Wilson
2009-10-24Fix isalpha(0x100000001LL) and friends on 64-bit machines.Eric Blake
* 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.
2009-10-24 * fhandler.cc (fhandler_base::open): Remove unused variables sa and sd.Corinna Vinschen
2009-10-24 * fhandler.cc (fhandler_base::open): Always create file with defaultCorinna Vinschen
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.
2009-10-24 cpu/Doug Evans
* m32c.opc (opc.h): cgen-types.h -> cgen/basic-modes.h. cgen-ops.h -> cgen/basic-ops.h. include/opcode/ * cgen-bitset.h: Delete, moved to ../cgen/bitset.h. * cgen.h: Update. Improve multi-inclusion macro name. include/cgen/ * basic-modes.h: New file. Moved here from opcodes/cgen-types.h. * basic-ops.h: New file. Moved here from opcodes/cgen-ops.h. * bitset.h: New file. Moved here from ../opcode/cgen-bitset.h. Update license to GPL v3. opcodes/ * cgen-ops.h: Delete, moved to ../include/cgen/basic-ops.h. * cgen-types.h: Delete, moved to ../include/cgen/basic-modes.h. * cgen-bitset.c: Update. * fr30-desc.h: Regenerate. * frv-desc.h: Regenerate. * ip2k-desc.h: Regenerate. * iq2000-desc.h: Regenerate. * lm32-desc.h: Regenerate. * m32c-desc.h: Regenerate. * m32c-opc.h: Regenerate. * m32r-desc.h: Regenerate. * mep-desc.h: Regenerate. * mt-desc.h: Regenerate. * openrisc-desc.h: Regenerate. * xc16x-desc.h: Regenerate. * xstormy16-desc.h: Regenerate.
2009-10-24Sync pseudo-reloc.c with cygwin/lib/Charles Wilson
2009-10-232009-10-23 Kai Tietz <kai.tietz@onevision.com>Kai Tietz
* splay-tree.h (libi_uhostptr_t): Add gcc specific __extension__ for long long type case to silent cX9. (libi_shostptr_t): Likewise.
2009-10-23 * fhandler_random.cc (fhandler_dev_random::lseek): Allow negativeCorinna Vinschen
dummy file positions as on Linux.
2009-10-212009-10-20 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* configure.host: Don't set -O2 flag in newlib_cflags. Leave that to CFLAGS. * acinclude.m4: Don't reset CFLAGS before calling _AC_PROG_CC_G as it sets the same flags as we are using. * aclocal.m4: Regenerated. * configure: Ditto. * Makefile.in: Ditto. * iconvdata/aclocal.m4: Ditto. * iconvdata/configure: Ditto. * iconvdata/Makefile.in: Ditto. * doc/aclocal.m4: Ditto. * doc/configure: Ditto. * doc/Makefile.in: Ditto. * libc/aclocal.m4: Ditto. * libc/configure: Ditto. * libc/Makefile.in: Ditto. * libc/*Makefile.in: Ditto. * libc/*aclocal.m4: Ditto. * libc/*configure: Ditto. * libm/*Makefile.in: Ditto. * libm/*aclocal.m4: Ditto. * libm/*configure: Ditto.
2009-10-202009-10-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston
* libc/include/sys/config.h[__CYGWIN__]: Set __USE_XOPEN2K flag if not __STRICT_ANSI__ or stdc version C99 or greater. * libc/include/stdio.h[__STRICT_ANSI__]: Add __USE_XOPEN2K check for fseeko and ftello prototypes.
2009-10-20 * cygcheck.cc (dump_sysinfo): Update with latest NT 6.1 versions.Corinna Vinschen
2009-10-20 * registry.cc (reg_key::get_int): Add alternative implementationCorinna Vinschen
taking WCHAR strings. (reg_key::set_int): Ditto. (reg_key::get_string): Ditto. (reg_key::set_string): Ditto. * registry.h (struct reg_key): Add prototypes for added methods.
2009-10-20 * smallprint.cc (__small_vsprintf): Simplify UNICODE string handlingCorinna Vinschen
and allow empty strings.
2009-10-20 * fhandler_disk_file.cc (fhander_disk_file::readdir): Handle a statusCorinna Vinschen
code STATUS_NOT_SUPPORTED. Add matching comment.
2009-10-19 * syscalls.cc (internal_setlocale): Only convert $PATH if there is aCorinna Vinschen
$PATH.
2009-10-19merge from gccDJ Delorie