]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
14 years ago * cgen.h: Include bfd_stdint.h.
Doug Evans [Mon, 23 Nov 2009 03:56:29 +0000 (03:56 +0000)]
* cgen.h: Include bfd_stdint.h.
(CGEN_INSN_LGSINT, CGEN_INSN_LGUINT): New types.

14 years ago * globals.cc (ro_u_dll): New R/O unicode string.
Corinna Vinschen [Sat, 21 Nov 2009 12:44:13 +0000 (12:44 +0000)]
* globals.cc (ro_u_dll): New R/O unicode string.
* syscalls.cc (nt_path_has_executable_suffix): Add ro_u_dll to
blessed_executable_suffixes array.  Explain why.

14 years ago2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Nov 2009 05:26:02 +0000 (05:26 +0000)]
2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shlobj.h (SHParseDisplayName): Fix definition.

14 years ago2009-20-10 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sat, 21 Nov 2009 03:46:37 +0000 (03:46 +0000)]
2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.14.
        * Makefile.in: Ditto.

14 years ago2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Nov 2009 03:25:23 +0000 (03:25 +0000)]
2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shlobj.h (SHParseDisplayName): Define.

        Thanks to James Roberts-Thomson for the report.

14 years ago2009-20-10 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Nov 2009 00:55:51 +0000 (00:55 +0000)]
2009-20-10  Chris Sutcliffe  <ir0n3h4d@users.sourceforge.net>

        * include/wingdi.h (ENHMFENUMPROC): Correct definition.

        Thanks to Alexander Vassilev for the report.

14 years ago2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Nov 2009 00:44:50 +0000 (00:44 +0000)]
2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/iprtrmib.h (MIB_IPADDRROW): Correct definition.

        Thanks to Thomas Denk for the report.

14 years ago2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Nov 2009 00:38:55 +0000 (00:38 +0000)]
2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (UnmapViewOfFile): Correct definition.

        Thanks to Dimitry Sibiryakov for the report.

14 years ago2009-20-10 Aleksey Chernov <virxkane@users.sourceforge.net>
Chris Sutcliffe [Fri, 20 Nov 2009 23:59:11 +0000 (23:59 +0000)]
2009-20-10  Aleksey Chernov  <virxkane@users.sourceforge.net>

        * include/sspi.h: Include ntsecapi.h to correct postgresql build error.

14 years ago2009-20-10 Heiko Hund <heiko@ist.eigentlich.net>
Chris Sutcliffe [Fri, 20 Nov 2009 23:54:02 +0000 (23:54 +0000)]
2009-20-10  Heiko Hund  <heiko@ist.eigentlich.net>

        * include/commctrl.h (GetMUILanguage, InitMUILanguage): Add prototypes.
        * lib/comctl32.def (GetMUILanguage, InitMUILanguage): Define.

14 years ago2009-20-10 Michael James <james.me@gmail.com>
Chris Sutcliffe [Fri, 20 Nov 2009 23:46:05 +0000 (23:46 +0000)]
2009-20-10  Michael James  <james.me@gmail.com>

        * include/wingdi.h (CLEARTYPE_QUALITY): Define.
        * include/winuser.h (WM_KEYLAST): Alternative definition when _WIN32_WINNT
        >= 0x0501.
        (WM_UNICHAR,UNICODE_NOCHAR): Define.
        * lib/comctl32.def (DefSubclassProc@16,GetWindowSubclass@16,
        RemoveWindowSubclass@12): Add exports.
        * lib/gdi32.def (GetDCBrushColor@4,GetDCPenColor@4): Add exports.

14 years ago2009-20-10 Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
Chris Sutcliffe [Fri, 20 Nov 2009 23:32:27 +0000 (23:32 +0000)]
2009-20-10  Jarkko Sakkinen  <jarkko.sakkinen@iki.fi>

        * include/winuser.h (WM_TOUCHMOVE, WM_TOUCHDOWN, WM_TOUCHUP,
        TOUCHEVENTF_DOWN, TOUCHEVENTF_INRANGE, TOUCHEVENTF_MOVE,
        TOUCHEVENTF_NOCOALESCE, TOUCHEVENTF_PALM, TOUCHEVENTF_PEN,
        TOUCHEVENTF_PRIMARY, TOUCHEVENTF_UP, TOUCHEVENTMASKF_CONTACTAREA,
        TOUCHEVENTMASKF_EXTRAINFO, TOUCHEVENTMASKF_TIMEFROMSYSTEM, TOUCHINPUT,
        CloseTouchInputHandle, GetTouchInputInfo, IsTouchWindow,
        RegisterTouchWindow, UnregisterTouchWindow): Define.
        * lib/user32.def (CloseTouchInputHandle, GetTouchInputInfo, IsTouchWindow,
        RegisterTouchWindow, UnregisterTouchWindow): Define.

14 years ago2009-20-10 Dmitry Potapov <dpotapov@users.sourceforge.net>
Chris Sutcliffe [Fri, 20 Nov 2009 23:16:40 +0000 (23:16 +0000)]
2009-20-10  Dmitry Potapov  <dpotapov@users.sourceforge.net>

        * include/winver.h (VerQueryValue[AW]): Correct definition.

14 years ago2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 20 Nov 2009 15:14:17 +0000 (15:14 +0000)]
2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shlobj.h (SHARD): Add enum.
        (SHARD_PATH): Define based on UNICODE.

        Thanks to Jacek Caban for the report.

14 years ago * libc/machine/rx/strncat.S (_strncat): Replace use of r6
Nick Clifton [Fri, 20 Nov 2009 12:54:29 +0000 (12:54 +0000)]
    * libc/machine/rx/strncat.S (_strncat): Replace use of r6
        (call-saved) with r14 (call-used).

14 years agosync config with gcc:
Paolo Bonzini [Fri, 20 Nov 2009 10:12:01 +0000 (10:12 +0000)]
sync config with gcc:

2009-10-23  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>

* acx.m4 (ACX_CHECK_CYGWIN_CAT_WORKS): Use = with test.

14 years ago2009-11-20 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Fri, 20 Nov 2009 10:10:09 +0000 (10:10 +0000)]
2009-11-20  Paolo Bonzini  <bonzini@gnu.org>

* config.guess: Sync with upstream and gcc.
* config.sub: Sync with upstream and gcc.

14 years ago * flock.cc (fhandler_disk_file::lock): Disable a shortcut from the
Corinna Vinschen [Wed, 18 Nov 2009 20:05:46 +0000 (20:05 +0000)]
* flock.cc (fhandler_disk_file::lock): Disable a shortcut from the
original BSD code, but keep it in and documented why we can't use it.

14 years ago2009-11-18 Dave Korn <dave.korn.cygwin@googlemail.com>
Jeff Johnston [Wed, 18 Nov 2009 17:50:20 +0000 (17:50 +0000)]
2009-11-18  Dave Korn  <dave.korn.cygwin@googlemail.com>

        * libm/machine/i386/f_tan.S (_f_tan): Free fp stack register
        containing useless constant before advancing fp sp over it.
        (_f_tanf): Likewise.

14 years ago * overview2.sgml (ov-hi-files): Remove reference to root directory when
Corinna Vinschen [Wed, 18 Nov 2009 16:07:05 +0000 (16:07 +0000)]
* overview2.sgml (ov-hi-files): Remove reference to root directory when
explaining fstab content.  Add paragraph about Extended Attributes.
Discourage chroot.

14 years ago * ntea.cc (read_ea): Always add length of "user." prefix, not only
Corinna Vinschen [Wed, 18 Nov 2009 15:57:08 +0000 (15:57 +0000)]
* ntea.cc (read_ea): Always add length of "user." prefix, not only
on Samba.  Change comment.

14 years ago2009-11-18 Paul Brook <paul@codesourcery.com>
Paul Brook [Wed, 18 Nov 2009 15:48:59 +0000 (15:48 +0000)]
2009-11-18  Paul Brook  <paul@codesourcery.com>

gas/
* config/tc-arm.c (arm_fpus): Add fpv4-sp-d16.
(aeabi_set_public_attributes): Correctly mark VFPv3xD.

include/opcode/
* arm.h (FPU_VFP_V4_SP_D16, FPU_ARCH_VFP_V4_SP_D16): Define.

14 years ago * alloca-conf.h: Clarify comment.
Alan Modra [Wed, 18 Nov 2009 11:57:44 +0000 (11:57 +0000)]
* alloca-conf.h: Clarify comment.

14 years ago * ntea.cc (read_ea): Try to open file first to have more sensible
Corinna Vinschen [Wed, 18 Nov 2009 11:57:41 +0000 (11:57 +0000)]
* ntea.cc (read_ea): Try to open file first to have more sensible
error codes.  Always refuse non "user." EAs for Linux compatibility
and return EOPNOTSUPP.  Fix handling of empty (== non-existant) EAs.
Always prepend "user." prefix to EA names.
(write_ea): Try to open file first to have more sensible error codes.
Always refuse non "user." EAs for Linux compatibility and return
EOPNOTSUPP.  Delay skipping "user." prefix until after potential call
to read_ea.

14 years ago * libc/stdio/vfprintf.c: Include ../stdlib/local.h. Replace call to
Corinna Vinschen [Wed, 18 Nov 2009 09:49:57 +0000 (09:49 +0000)]
* libc/stdio/vfprintf.c: Include ../stdlib/local.h.  Replace call to
_mbtowc_r with direct call to __mbtowc.
* libc/stdio/vfscanf.c: Ditto.
* libc/stdlib/btowc.c: Include local.h.  Replace call to _mbtowc_r
with direct call to __mbtowc.
* libc/stdlib/mblen.c: Ditto.
* libc/stdlib/mblen_r.c: Ditto.
* libc/stdlib/mbrtowc.c: Ditto.
* libc/stdlib/mbstowcs_r.c: Ditto.
* libc/stdlib/mbtowc.c: Ditto.
* libc/stdlib/wcrtomb.c: Include local.h.  Replace call to _wctomb_r
with direct call to __wctomb.
* libc/stdlib/wcsnrtombs.c: Ditto.
(_wcsnrtombs_r): Ditto.
* libc/stdlib/wcstombs_r.c: Ditto.
* libc/stdlib/wctob.c: Ditto.
* libc/stdlib/wctomb.c: Ditto.

* libc/stdlib/mbrtowc.c (mbrtowc): Implement independently from
_mbrtowc_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are
defined.
* libc/stdlib/wcrtomb.c (wcrtomb): Implement independently from
_wcrtomb_r, unless PREFER_SIZE_OVER_SPEED or __OPTIMIZE_SIZE__ are
defined.

* libc/stdlib/mbtowc_r.c (__utf8_mbtowc): Drop unnecessary test for
ch >= 0.

14 years ago2009-11-17 Yaakov Selkowitz <yselkowitz@users.sourceforge.net>
Jeff Johnston [Tue, 17 Nov 2009 22:35:46 +0000 (22:35 +0000)]
2009-11-17  Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

        * libm/common/fdlibm.h (logb, logbf): Move decls from here...
        * libc/include/math.h (logb, logbf): ...to here.

14 years ago2009-11-17 Paul Brook <paul@codesourcery.com>
Paul Brook [Tue, 17 Nov 2009 16:31:56 +0000 (16:31 +0000)]
2009-11-17  Paul Brook  <paul@codesourcery.com>
Daniel Jacobowitz  <dan@codesourcery.com>

gas/
* doc/c-arm.texi: Document .arch armv7e-m.
* config/tc-arm.c (arm_ext_v6_dsp, arm_ext_v7m): New.
(insns): Put Thumb versions of v5TExP instructions into
arm_ext_v5exp also.  Move some Thumb variants from
arm_ext_v6_notm to arm_ext_v6_dsp.
(arm_archs): Add armv7e-m architecture.
(aeabi_set_public_attributes): Handle -march=armv7e-m.

gas/testsuite/
* gas/arm/attr-march-armv7em.d: New test.
* gas/arm/arch7em-bad.d: New test.
* gas/arm/arch7em-bad.l: New test.
* gas/arm/arch7em.d: New test.
* gas/arm/arch7em.s: New test.

include/elf/
* arm.h (TAG_CPU_ARCH_V7E_M): Define.

include/opcode/
* arm.h (ARM_EXT_V6_DSP): Define.
(ARM_AEXT_V6T2, ARM_AEXT_NOTM): Include ARM_EXT_V6_DSP.
(ARM_AEXT_V7EM, ARM_ARCH_V7EM): Define.

binutils/
* readelf.c (arm_attr_tag_CPU_arch): Add v7E-M.

bfd/
* elf32-arm.c (using_thumb_only, arch_has_arm_nop,
arch_has_thumb2_nop): Handle TAG_CPU_ARCH_V7E_M.
(tag_cpu_arch_combine): Ditto. Correct MAX_TAG_CPU_ARCH test.

14 years ago Reintegrate socket duplication via WSADuplicateSocket/WSASocket.
Corinna Vinschen [Tue, 17 Nov 2009 10:43:01 +0000 (10:43 +0000)]
Reintegrate socket duplication via WSADuplicateSocket/WSASocket.
* autoload.cc (WSADuplicateSocketW): Define.
(WSASocketW): Define.
* dtable.cc (dtable::release): Call dec_need_fixup_before if necessary.
(dtable::fixup_before_fork): New function.
(dtable::fixup_before_exec): New function.
* dtable.h (class dtable): Add member cnt_need_fixup_before.  Add
declarations for above new functions.
(dtable::dec_need_fixup_before): New inline method.
(dtable::inc_need_fixup_before): New inline method.
(dtable::need_fixup_before): New inline method.
* fhandler.h (fhandler_base::fixup_before_fork_exec): New virtual
method.
(fhandler_base::need_fixup_before): New virtual method.
(class fhandler_socket): Add member prot_info_ptr.
(fhandler_socket::init_fixup_before): Declare.
(fhandler_socket::need_fixup_before): New inline method.
(fhandler_socket::fixup_before_fork_exec): Declare.
(fhandler_socket::fixup_after_exec): Declare.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
prot_info_ptr to NULL.
(fhandler_socket::~fhandler_socket): Free prot_info_ptr conditionally.
(fhandler_socket::init_fixup_before): New method.
(fhandler_socket::fixup_before_fork_exec): Ditto.
(fhandler_socket::fixup_after_fork): Use WSASocketW to duplicate
socket if necessary.
(fhandler_socket::fixup_after_exec): New method.
(fhandler_socket::dup): Use fixup_before_fork_exec/fixup_after_fork
to duplicate socket if necessary.
* fork.cc (frok::parent): Start child suspended if some fhandler
needs fixup before fork.  If so, call dtable::fixup_before_fork after
CreateProcess and resume child.
* net.cc (fdsock): Try to find out if socket needs fixup before and
initialize socket accordingly.  Add HUGE comment to explain what happens
and why.
* spawn.cc (spawn_guts): Start child suspended if some fhandler needs
fixup before exec.  If so, call dtable::fixup_before_exec after
CreateProcess.

14 years ago* Makefile.def: Restore host and target settings for gmp.
Alexandre Oliva [Mon, 16 Nov 2009 22:57:46 +0000 (22:57 +0000)]
* Makefile.def: Restore host and target settings for gmp.
* Makefile.in: Rebuild.

14 years agoFix setenv and unsetenv corner cases.
Eric Blake [Mon, 16 Nov 2009 20:05:49 +0000 (20:05 +0000)]
Fix setenv and unsetenv corner cases.

* environ.cc (setenv): Detect invalid argument.
(unsetenv): Distinguish EFAULT from EINVAL.

14 years ago* configure.ac: Add libelf to host_libs. Enable in-tree configury
Alexandre Oliva [Mon, 16 Nov 2009 18:42:37 +0000 (18:42 +0000)]
* configure.ac: Add libelf to host_libs.  Enable in-tree configury
of ppl and cloog.  Fix in-tree configury of libelf, skip tests.
Fix portability of test of C++ as bootstrap language.  Add
ppl/src/ppl-config.o to the bootstrap compare exclusion list.
* configure: Rebuild.
* Makefile.def: Drop host and target settings from gmp, mpfr, ppl,
and cloog.  Fix in-tree ppl configuration.  Introduce libelf
in-tree building.
* Makefile.tpl (POSTSTAGE1_CXX_EXPORT): New.
(POSTSTAGE1_HOST_EXPORTS): Use it.
(STAGE[+id+]_CXXFLAGS): New.
(BASE_FLAGS_TO_PASS): Pass it down.
(configure-stage[+id+]-[+prefix+][+module+]): Use it.  Add
extra_exports.
(all-stage[+id+]-[+prefix+][+module+]): Likewise.
(configure-[+prefix+][+module+], all-[+prefix+][+module+]): Add
extra_exports.
* Makefile.in: Rebuild.
* configure.ac (FLAGS_FOR_TARGET):  Add -L and -isystem
paths for *-w64-mingw* and x86_64-*mingw*.
* configure: Regenerated.
* configure.ac: Disable target-winsup & co for
x86_64-*-mingw* and *-w64-mingw* targets.
* configure: Regenerated.
* configure.ac (CLooG test): Use = with test.
* configure: Regenerate.
* configure.ac: Do not set LIBS for ppl/cloog checks.  Disable
cloog if the ppl version check failed.  Move flags saving
before setting in libelf check.
* configure: Regenerate.
* configure.ac: Adjust the ppl and cloog configure to work as
documented.  Disable cloog if ppl was disabled.  Omit the version
checks if they were disabled.
* configure: Re-generate.

14 years ago * pathnames.sgml (pathnames-specialchars): Fix typos.
Corinna Vinschen [Mon, 16 Nov 2009 12:30:00 +0000 (12:30 +0000)]
* pathnames.sgml (pathnames-specialchars): Fix typos.

14 years ago * Makefile.in (cygserver.exe): Link with -static to avoid linking
Corinna Vinschen [Mon, 16 Nov 2009 08:50:07 +0000 (08:50 +0000)]
* Makefile.in (cygserver.exe): Link with -static to avoid linking
against cygstdc++-6.dll due to references to __cxa_pure_virtual.

14 years ago2009-14-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 14 Nov 2009 19:58:41 +0000 (19:58 +0000)]
2009-14-09  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wingdi.h (_devicemodeW, _devicemodeA): Correct definition.

        Thanks to Bruno Martinez for the report.

14 years ago2009-14-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 14 Nov 2009 19:47:23 +0000 (19:47 +0000)]
2009-14-09  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shlobj.h (IDO_SHGIOI_SHARE, IDO_SHGIOI_LINK, IDO_SHGIOI_SLOWFILE,
        IDO_SHGIOI_DEFAULT, SHGetIconOverlayIndexW, SHGetIconOverlayIndexA,
        SHGetIconOverlayIndex): Define.

        Thanks to Tim Kosse for report.

14 years ago2009-11-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 14 Nov 2009 00:54:58 +0000 (00:54 +0000)]
2009-11-13  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/io.h (_open_osfhandle): Correct definition.

        Thanks to Alexander Shaduri for the information.

14 years ago2009-13-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 14 Nov 2009 00:50:50 +0000 (00:50 +0000)]
2009-13-09  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wincon.h (AttachConsole): Correct guard.

        Thanks to Alexander Shaduri for report.

14 years ago2009-13-09 Robert Moerland <rjmoerland@users.sourceforge.net>
Chris Sutcliffe [Sat, 14 Nov 2009 00:45:35 +0000 (00:45 +0000)]
2009-13-09  Robert Moerland  <rjmoerland@users.sourceforge.net>

        * include/wininet.h (NTERNET_CACHE_ENTRY_INFOW): Correct definition.
        (DeleteUrlCacheEntryW, DeleteUrlCacheEntryA): Define.

14 years ago2009-13-09 Jacky Lai <crazyjacky@users.sourceforge.net>
Chris Sutcliffe [Fri, 13 Nov 2009 23:58:58 +0000 (23:58 +0000)]
2009-13-09  Jacky Lai  <crazyjacky@users.sourceforge.net>

        * include/winerror.h: Fix typos in macro names.

14 years ago2009-13-09 Jan Nijtmans <nijtmans@users.sourceforge.net>
Chris Sutcliffe [Fri, 13 Nov 2009 23:29:26 +0000 (23:29 +0000)]
2009-13-09  Jan Nijtmans  <nijtmans@users.sourceforge.net>

        * include/winuser.h (SendMessageTimeoutA, SendMessageTimeoutW): Correct
        definition.

14 years ago2009-11-09 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 13 Nov 2009 21:36:34 +0000 (21:36 +0000)]
2009-11-09  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>
        * include/winnt.h (PROCESS_SUSPEND_RESUME): Define.

15 years ago * net.cc (fdsock): Fill _rmem and _wmem with valid values returned
Corinna Vinschen [Fri, 13 Nov 2009 12:35:53 +0000 (12:35 +0000)]
* net.cc (fdsock): Fill _rmem and _wmem with valid values returned
from getsockopt if setsockopt with desired values failed.

15 years ago * new-features.sgml (ov-new1.7-os): Mention Windows 7 and 2008 R2.
Corinna Vinschen [Thu, 12 Nov 2009 14:41:12 +0000 (14:41 +0000)]
* new-features.sgml (ov-new1.7-os): Mention Windows 7 and 2008 R2.
(ov-new1.7-device): Add API get_avphys_pages, get_nprocs,
get_nprocs_conf, and get_phys_pages.

15 years ago * sysconf.cc (get_nprocs): New function.
Corinna Vinschen [Thu, 12 Nov 2009 14:40:48 +0000 (14:40 +0000)]
* sysconf.cc (get_nprocs): New function.
(get_nprocs_conf): Ditto.
(get_avphys_pages): Ditto.
(get_phys_pages): Ditto.
* cygwin.din: Export them.
* include/sys/sysinfo.h: New header, decalre above new functions.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* posix.sgml: Mention them as GNU extensions.

15 years ago * fhandler.h (class fhandler_mailslot): Declare new private method
Corinna Vinschen [Wed, 11 Nov 2009 18:16:57 +0000 (18:16 +0000)]
* fhandler.h (class fhandler_mailslot): Declare new private method
get_object_attr.
* fhandler_mailslot.cc (fhandler_mailslot::get_object_attr): Implement.
(fhandler_mailslot::open): Replace calls to path_conv::get_object_attr
with calls to fhandler_mailslot::get_object_attr.

15 years ago * getfacl.c (print_version): Fix copyright.
Corinna Vinschen [Wed, 11 Nov 2009 10:12:35 +0000 (10:12 +0000)]
* getfacl.c (print_version): Fix copyright.
(main): Don't reuse local variables confusingly.  Don't print any file
information if acl() fails.  Improve error message.  Always print a
trailing empty line.  Set return code to 2 if accessing some file fails.

15 years ago * fhandler_console.cc (fhandler_console::read): Revert change from
Corinna Vinschen [Tue, 10 Nov 2009 20:02:20 +0000 (20:02 +0000)]
* fhandler_console.cc (fhandler_console::read): Revert change from
2009-11-09.

15 years ago * fhandler_disk_file.cc (is_volume_mountpoint): Align check with
Corinna Vinschen [Tue, 10 Nov 2009 08:54:24 +0000 (08:54 +0000)]
* fhandler_disk_file.cc (is_volume_mountpoint): Align check with
symlink_info::check_reparse_point().
* path.cc (symlink_info::check_reparse_point): Rearrange slightly.
Add code path for unrecognized repare point types.  Add comment.

15 years ago * largefile.m4 (ACX_LARGEFILE): Call AC_PLUGINS.
Joel Brobecker [Mon, 9 Nov 2009 23:19:11 +0000 (23:19 +0000)]
    * largefile.m4 (ACX_LARGEFILE): Call AC_PLUGINS.

15 years ago * path.cc (symlink_info::check_reparse_point): Always check
Corinna Vinschen [Mon, 9 Nov 2009 19:46:36 +0000 (19:46 +0000)]
* path.cc (symlink_info::check_reparse_point): Always check
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.

15 years ago * fhandler_console.cc (fhandler_console::read): Restrict generating
Corinna Vinschen [Mon, 9 Nov 2009 15:38:36 +0000 (15:38 +0000)]
* fhandler_console.cc (fhandler_console::read): Restrict generating
META key sequences to singlebyte input chars.

15 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Drop all "other"
Corinna Vinschen [Sun, 8 Nov 2009 10:22:28 +0000 (10:22 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Drop all "other"
permissions from st_mode, if the reading the file's security descriptor
failed.  Explain why.

15 years ago * largefile.m4: New file.
Joel Brobecker [Sat, 7 Nov 2009 02:01:29 +0000 (02:01 +0000)]
    * largefile.m4: New file.

15 years ago * globals.cc (ro_u_scr): New R/O unicode string.
Corinna Vinschen [Fri, 6 Nov 2009 20:51:03 +0000 (20:51 +0000)]
* globals.cc (ro_u_scr): New R/O unicode string.
(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.

15 years agoChecking this in for: Jonas Maebe <jonas.maebe@elis.ugent.be>
Joel Brobecker [Fri, 6 Nov 2009 14:38:19 +0000 (14:38 +0000)]
Checking this in for:  Jonas Maebe  <jonas.maebe@elis.ugent.be>

        Add DWARF attribute value for the "Borland fastcall" calling
        convention.
        * elf/dwarf2.h: Add DW_CC_GNU_borland_fastcall_i386 constant.

15 years ago * transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
Corinna Vinschen [Fri, 6 Nov 2009 13:11:52 +0000 (13:11 +0000)]
* transport_pipes.cc (transport_layer_pipes::transport_layer_pipes):
Check cygwin_internal for returning 0 rather than for != 0.
(transport_layer_pipes::accept): Add debug output.
(transport_layer_pipes::connect): Ditto.

15 years ago * shared.cc (inst_root_inited): New static bool variable.
Corinna Vinschen [Fri, 6 Nov 2009 13:06:36 +0000 (13:06 +0000)]
* shared.cc (inst_root_inited): New static bool variable.
(init_installation_root): Set inst_root_inited to true.
(memory_init): Print installation root debug output only if
inst_root_inited is true.

15 years ago* libc/include/ctype.h (__ctype_lookup): Fix precedence.
Eric Blake [Fri, 6 Nov 2009 03:27:19 +0000 (03:27 +0000)]
* libc/include/ctype.h (__ctype_lookup): Fix precedence.

15 years ago * syscalls.cc (nt_path_has_suffix): New function.
Corinna Vinschen [Thu, 5 Nov 2009 14:44:12 +0000 (14:44 +0000)]
* syscalls.cc (nt_path_has_suffix): New function.
(rename): Don't append .exe suffix if binary target name has any suffix
at all.

15 years ago * spawn.cc (dll_suffixes): Disable. Explain why.
Corinna Vinschen [Thu, 5 Nov 2009 09:59:18 +0000 (09:59 +0000)]
* spawn.cc (dll_suffixes): Disable.  Explain why.
(perhaps_suffix): Use stat_suffixes instead of dll_suffixes.

15 years ago[opcodes]
DJ Delorie [Thu, 5 Nov 2009 00:38:45 +0000 (00:38 +0000)]
[opcodes]
* 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.

15 years ago * path.cc (read_mounts): Skip unnecessary test if path has been
Corinna Vinschen [Wed, 4 Nov 2009 17:09:32 +0000 (17:09 +0000)]
* path.cc (read_mounts): Skip unnecessary test if path has been
fetched from loaded cygwin1.dll.

15 years ago * cygcheck.cc (cygwin_dll_path): New global variable.
Corinna Vinschen [Wed, 4 Nov 2009 17:00:45 +0000 (17:00 +0000)]
* cygcheck.cc (cygwin_dll_path): New global variable.
(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.

15 years ago * path.cc (read_mounts): First get installation path from own path.
Corinna Vinschen [Wed, 4 Nov 2009 15:47:29 +0000 (15:47 +0000)]
* path.cc (read_mounts): First get installation path from own path.
Check if cygwin1.dll exists in same directory.  Only if not, try to
get installation path from setup registry key.  Add ample warnings.

15 years ago * Makefile.in (cygpath.exe): Add -fno-threadsafe-statics to CXXFLAGS.
Corinna Vinschen [Wed, 4 Nov 2009 14:14:52 +0000 (14:14 +0000)]
* Makefile.in (cygpath.exe): Add -fno-threadsafe-statics to CXXFLAGS.

15 years ago * security.cc (alloc_sd): Re-introduce setting the SE_DACL_PROTECTED
Corinna Vinschen [Tue, 3 Nov 2009 09:31:45 +0000 (09:31 +0000)]
* security.cc (alloc_sd): Re-introduce setting the SE_DACL_PROTECTED
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.

15 years ago * security.cc (alloc_sd): Re-enable generating default permission
Corinna Vinschen [Mon, 2 Nov 2009 20:50:15 +0000 (20:50 +0000)]
* security.cc (alloc_sd): Re-enable generating default permission
entries for directories.

15 years ago * dlfcn.cc (get_full_path_of_dll): Drop enforcing a .dll suffix.
Corinna Vinschen [Mon, 2 Nov 2009 14:39:08 +0000 (14:39 +0000)]
* dlfcn.cc (get_full_path_of_dll): Drop enforcing a .dll suffix.
(dlopen): If last path component has no dot, append one to override
automatic .dll suffix in LoadLibrary.

15 years ago2009-11-02 Paul Brook <paul@codesourcery.com>
Paul Brook [Mon, 2 Nov 2009 13:44:04 +0000 (13:44 +0000)]
2009-11-02  Paul Brook  <paul@codesourcery.com>

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.

15 years agoFinal sync of pseudo-reloc.c with mingw64 and cygwin
Charles Wilson [Mon, 2 Nov 2009 12:16:21 +0000 (12:16 +0000)]
Final sync of pseudo-reloc.c with mingw64 and cygwin

15 years ago * miscfuncs.h (transform_chars): Declare. Define inline variation here.
Corinna Vinschen [Mon, 2 Nov 2009 11:42:04 +0000 (11:42 +0000)]
* miscfuncs.h (transform_chars): Declare.  Define inline variation here.
* 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.

15 years agopath.cc
Corinna Vinschen [Mon, 2 Nov 2009 10:07:26 +0000 (10:07 +0000)]
path.cc

15 years ago * path.cc (tfx_chars): Constify.
Corinna Vinschen [Mon, 2 Nov 2009 09:49:30 +0000 (09:49 +0000)]
* path.cc (tfx_chars): Constify.

15 years ago* Makefile.in: Use utils mingw front-end to generate non-cygwin binary.
Christopher Faylor [Sun, 1 Nov 2009 17:22:44 +0000 (17:22 +0000)]
* Makefile.in: Use utils mingw front-end to generate non-cygwin binary.

15 years ago * new-features.sgml (ov-new1.7-misc): Add installation-specific
Corinna Vinschen [Sat, 31 Oct 2009 13:28:13 +0000 (13:28 +0000)]
* new-features.sgml (ov-new1.7-misc): Add installation-specific
unique object names description.

15 years ago * cygcheck.cc: Include cygprops.h.
Corinna Vinschen [Sat, 31 Oct 2009 13:26:37 +0000 (13:26 +0000)]
* cygcheck.cc: Include cygprops.h.
(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.

15 years ago * transport_pipes.h (PIPE_NAME_PREFIX): New define.
Corinna Vinschen [Sat, 31 Oct 2009 13:24:43 +0000 (13:24 +0000)]
* transport_pipes.h (PIPE_NAME_PREFIX): New define.
(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.

15 years ago * cygprops.h: New file.
Corinna Vinschen [Sat, 31 Oct 2009 13:24:06 +0000 (13:24 +0000)]
* cygprops.h: New file.
* 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.

15 years ago * sec_helper.cc (security_descriptor::realloc): Call free first if
Corinna Vinschen [Sat, 31 Oct 2009 09:31:47 +0000 (09:31 +0000)]
* sec_helper.cc (security_descriptor::realloc): Call free first if
current security desriptor has been allocated by GetSecurityInfo.

15 years ago * sec_helper.cc (security_descriptor::free): If sd_size is 0, call
Corinna Vinschen [Fri, 30 Oct 2009 19:58:53 +0000 (19:58 +0000)]
* sec_helper.cc (security_descriptor::free): If sd_size is 0, call
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.

15 years ago * fhandler_random.cc (fhandler_dev_random::lseek): Revert change from
Corinna Vinschen [Fri, 30 Oct 2009 10:53:54 +0000 (10:53 +0000)]
* fhandler_random.cc (fhandler_dev_random::lseek): Revert change from
2009-10-23.

15 years ago * smallprint.cc (hex_str): New const string.
Corinna Vinschen [Fri, 30 Oct 2009 09:02:30 +0000 (09:02 +0000)]
* smallprint.cc (hex_str): New const string.
(__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.

15 years ago * libc/stdio/fflush.c (_fflush_r): Store old errno to check for
Corinna Vinschen [Fri, 30 Oct 2009 08:26:41 +0000 (08:26 +0000)]
* libc/stdio/fflush.c (_fflush_r): Store old errno to check for
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.

15 years agoHonor DESTDIR for winsup/mingw and winsup/w32api
Charles Wilson [Thu, 29 Oct 2009 21:53:47 +0000 (21:53 +0000)]
Honor DESTDIR for winsup/mingw and winsup/w32api

15 years ago * cygcheck.cc (pretty_id): Drop arguments. Don't change CYGWIN
Corinna Vinschen [Wed, 28 Oct 2009 11:41:27 +0000 (11:41 +0000)]
* cygcheck.cc (pretty_id): Drop arguments.  Don't change CYGWIN
environment variable.
(dump_sysinfo): Don't tweak CYGWIN environment variable, just call
pretty_id once.

15 years ago * pathnames.sgml: Add limitation of case sensitivity with CreateProcess.
Corinna Vinschen [Wed, 28 Oct 2009 10:11:22 +0000 (10:11 +0000)]
* pathnames.sgml: Add limitation of case sensitivity with CreateProcess.

15 years ago * new-features.sgml (ov-new1.7-posix): Mention UTF-8 as "C" default
Corinna Vinschen [Wed, 28 Oct 2009 10:09:54 +0000 (10:09 +0000)]
* new-features.sgml (ov-new1.7-posix): Mention UTF-8 as "C" default
and the default locale "C.UTF-8".
* setup2.sgml (setup-locale-ov): Ditto.

15 years ago * MAINTAINERS (ARM): Add myself as an ARM maintainer.
Nick Clifton [Tue, 27 Oct 2009 10:31:06 +0000 (10:31 +0000)]
    * MAINTAINERS (ARM): Add myself as an ARM maintainer.

15 years agoCorrect pseudo-reloc size bug wrt error messages
Charles Wilson [Mon, 26 Oct 2009 14:50:09 +0000 (14:50 +0000)]
Correct pseudo-reloc size bug wrt error messages

15 years agoSync pseudo-reloc.c with mingw64
Charles Wilson [Mon, 26 Oct 2009 13:47:13 +0000 (13:47 +0000)]
Sync pseudo-reloc.c with mingw64

15 years ago* faq-setup.xml: Fix clean_setup.pl reference.
Christopher Faylor [Mon, 26 Oct 2009 11:57:33 +0000 (11:57 +0000)]
* faq-setup.xml: Fix clean_setup.pl reference.

15 years ago* faq-setup.xml: Change clean_setup.pl reference.
Christopher Faylor [Mon, 26 Oct 2009 11:25:16 +0000 (11:25 +0000)]
* faq-setup.xml: Change clean_setup.pl reference.

15 years agonewlib:
Nick Clifton [Mon, 26 Oct 2009 10:05:23 +0000 (10:05 +0000)]
newlib:
        * 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.

15 years ago * arm/linux-syscalls0.S (SYSCALL0, SYSCALL3, SYSCALL6, SYSCALL4):
Nick Clifton [Mon, 26 Oct 2009 10:00:41 +0000 (10:00 +0000)]
    * arm/linux-syscalls0.S (SYSCALL0, SYSCALL3, SYSCALL6, SYSCALL4):
        Delete Thumb definitions - the ARM versions work correctly in
        Thumb mode.

15 years agoSync pseudo-reloc.c with mingw64
Charles Wilson [Sun, 25 Oct 2009 23:37:48 +0000 (23:37 +0000)]
Sync pseudo-reloc.c with mingw64

15 years agoFix isalpha(0x100000001LL) and friends on 64-bit machines.
Eric Blake [Sat, 24 Oct 2009 13:24:29 +0000 (13:24 +0000)]
Fix isalpha(0x100000001LL) and friends on 64-bit machines.

* 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.

15 years ago * fhandler.cc (fhandler_base::open): Remove unused variables sa and sd.
Corinna Vinschen [Sat, 24 Oct 2009 08:40:15 +0000 (08:40 +0000)]
* fhandler.cc (fhandler_base::open): Remove unused variables sa and sd.

15 years ago * fhandler.cc (fhandler_base::open): Always create file with default
Corinna Vinschen [Sat, 24 Oct 2009 08:26:01 +0000 (08:26 +0000)]
* fhandler.cc (fhandler_base::open): Always create file with default
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.

15 years ago cpu/
Doug Evans [Sat, 24 Oct 2009 00:17:08 +0000 (00:17 +0000)]
cpu/
* 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.

15 years agoSync pseudo-reloc.c with cygwin/lib/
Charles Wilson [Fri, 23 Oct 2009 22:19:42 +0000 (22:19 +0000)]
Sync pseudo-reloc.c with cygwin/lib/

This page took 0.072394 seconds and 5 git commands to generate.