]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
11 years ago* gendef: Delete unneeded read from <IN> which ate an arbitrary line from
Christopher Faylor [Wed, 15 Aug 2012 17:07:47 +0000 (17:07 +0000)]
* gendef: Delete unneeded read from <IN> which ate an arbitrary line from
cygwin.din.

11 years ago* exceptions.cc (sigdelayed): Move declaration to sigproc.h.
Christopher Faylor [Wed, 15 Aug 2012 16:35:00 +0000 (16:35 +0000)]
* exceptions.cc (sigdelayed): Move declaration to sigproc.h.
* sigproc.h (sigdelayed): Make symbol globally available.
* gendef (sigdelayed): Specifically zero incyg and stacklock.
* signal.cc (sigwaitinfo): Lock _my_tls and try harder to clean up signal
information.

11 years ago* pinfo.cc (_pinfo::exists): Don't consider an execed process to exist.
Christopher Faylor [Wed, 15 Aug 2012 14:11:35 +0000 (14:11 +0000)]
* pinfo.cc (_pinfo::exists): Don't consider an execed process to exist.

11 years ago * gmon.c (_mcleanup): Fix scope bug when using gmon_out array.
Corinna Vinschen [Tue, 14 Aug 2012 19:38:43 +0000 (19:38 +0000)]
* gmon.c (_mcleanup): Fix scope bug when using gmon_out array.

11 years ago* errno.cc (errmap): Keep sorted.
Christopher Faylor [Tue, 14 Aug 2012 18:38:22 +0000 (18:38 +0000)]
* errno.cc (errmap): Keep sorted.

11 years ago * thread.cc (semaphore::_fixup_after_fork): Fix Win32 error output in
Corinna Vinschen [Tue, 14 Aug 2012 15:05:13 +0000 (15:05 +0000)]
* thread.cc (semaphore::_fixup_after_fork): Fix Win32 error output in
api_fatal call.

11 years ago* errno.cc (errmap): Keep sorted.
Christopher Faylor [Tue, 14 Aug 2012 14:56:19 +0000 (14:56 +0000)]
* errno.cc (errmap): Keep sorted.

11 years ago * mount.cc (fs_names): Add missing ReFS entry. Change comment.
Corinna Vinschen [Tue, 14 Aug 2012 09:49:25 +0000 (09:49 +0000)]
* mount.cc (fs_names): Add missing ReFS entry.  Change comment.
* mount.h (enum fs_info_type): Add comment.

11 years ago* errno.cc (errmap): Map ERROR_SXS_CANT_GEN_ACTCTX to ELIBBAD.
Christopher Faylor [Mon, 13 Aug 2012 19:33:17 +0000 (19:33 +0000)]
* errno.cc (errmap): Map ERROR_SXS_CANT_GEN_ACTCTX to ELIBBAD.

11 years agoAdd support for 64-bit ARM architecture: AArch64
Nick Clifton [Mon, 13 Aug 2012 14:52:48 +0000 (14:52 +0000)]
Add support for 64-bit ARM architecture: AArch64

11 years ago include/opcode/
Maciej W. Rozycki [Mon, 13 Aug 2012 14:26:10 +0000 (14:26 +0000)]
include/opcode/
* mips.h (mips_opcode): Add the exclusions field.
(OPCODE_IS_MEMBER): Remove macro.
(cpu_is_member): New inline function.
(opcode_is_member): Likewise.

opcodes/
* micromips-opc.c (micromips_opcodes): Update comment.
* mips-opc.c (mips_builtin_opcodes): Likewise.  Mark coprocessor
instructions for IOCT as appropriate.
* mips-dis.c (print_insn_mips): Replace OPCODE_IS_MEMBER with
opcode_is_member.
* configure.in: Substitute NO_WMISSING_FIELD_INITIALIZERS with
the result of a check for the -Wno-missing-field-initializers
GCC option.
* Makefile.am (NO_WMISSING_FIELD_INITIALIZERS): New variable.
(mips-opc.lo): Pass $(NO_WMISSING_FIELD_INITIALIZERS) to
compilation.
(mips16-opc.lo): Likewise.
(micromips-opc.lo): Likewise.
* aclocal.m4: Regenerate.
* configure: Regenerate.
* Makefile.in: Regenerate.

gas/
* config/tc-mips.c (NO_ISA_COP, COP_INSN): Remove macros.
(is_opcode_valid): Remove coprocessor instruction exclusions.
Replace OPCODE_IS_MEMBER with opcode_is_member.
(is_opcode_valid_16): Replace OPCODE_IS_MEMBER with
opcode_is_member.
(macro): Remove coprocessor instruction exclusions.

11 years ago * libc/stdlib/btowc.c (btowc): Cast to avoid compiler warning.
Corinna Vinschen [Fri, 10 Aug 2012 15:21:57 +0000 (15:21 +0000)]
* libc/stdlib/btowc.c (btowc): Cast to avoid compiler warning.
* libc/search/hash_buf.c (__get_buf): Initialize local vars to avoid
compiler warning.
* libc/stdio/fgets.c (_fgets_r): Ditto.
* libc/time/strftime.c (strftime): Ditto.

11 years ago Even though MSDN documents these as __cdecl the kernel32.dll library
Earnie Boyd [Fri, 10 Aug 2012 13:58:49 +0000 (13:58 +0000)]
Even though MSDN documents these as __cdecl the kernel32.dll library
exports them as __stdcall.  Confirmed with gendef program.

* lib/kernel32.def (InterlockedDecrement): Revert the 2012-08-08 change.
(InterlockedIncrement): Ditto.
(InterlockedExchange): Ditto.
* include/winbase.h (InterlockedDecrement): Revert the 2012-08-01
change.
(InterlockedIncrement): Ditto.
(InterlockedExchange): Ditto.

11 years agoFix date
Corinna Vinschen [Fri, 10 Aug 2012 11:49:19 +0000 (11:49 +0000)]
Fix date

11 years ago * libc/stdio/vfwprintf.c (_VFWPRINTF_R): Fix guard around state to
Corinna Vinschen [Fri, 10 Aug 2012 09:37:32 +0000 (09:37 +0000)]
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Fix guard around state to
allow usage in !FLOATING_POINT && _WANT_IO_C99_FORMATS case.

11 years ago* DevNotes: Add entry cgf-000014.
Christopher Faylor [Thu, 9 Aug 2012 19:58:53 +0000 (19:58 +0000)]
* DevNotes: Add entry cgf-000014.
* cygheap.cc (tls_sentry): Move here, rename from 'sentry' in cygtls.cc
(tls_sentry::lock): Ditto.
(nthreads): Move from cygtls.cc
(THREADLIST_CHUNK): Ditto.
(cygheap_init): Call init_tls_list().
(init_cygheap::init_tls_list): Define new function.
(init_cygheap::add_tls): Ditto.
(init_cygheap::remove_tls): Ditto.
(init_cygheap::find_tls): Ditto.  Semi-resurrect from _cygtls::find_tls.
* cygheap.h (init_cygheap::init_tls_list): Declare new function.
(init_cygheap::add_tls): Ditto.
(init_cygheap::remove_tls): Ditto.
(init_cygheap::find_tls): Ditto.
* cygtls.cc (sentry): Delete.
(sentry::lock): Ditto.
(nthreads): Ditto.
(THREADLIST_CHUNK): Ditto.
(_cygtls::init): Delete definition.
(_cygtls::init_thread): Call cygheap->add_tls() to add thread to global list.
(_cygtls::remove): cygheap->remove_tls() to remove thread from global list.
* cygtls.h (_cygtls::init): Delete declaration.
* dcrt0.cc (dll_crt0_0): Delete call to _cygtls::init().
* exceptions.cc (sigpacket::process): When no thread is specified, try to find
one via cygheap->find_tls.

11 years ago * lib/kernel32.def (InterlockedDecrement): Remove the @BYTE count since
Earnie Boyd [Wed, 8 Aug 2012 20:28:26 +0000 (20:28 +0000)]
* lib/kernel32.def (InterlockedDecrement): Remove the @BYTE count since
we now declare it as __cdecl.
(InterlockedIncrement): Ditto.
(InterlockedExchange): Ditto.

11 years ago2012-08-08 Kai Tietz <ktietz@redhat.com>
Earnie Boyd [Wed, 8 Aug 2012 20:27:11 +0000 (20:27 +0000)]
2012-08-08  Kai Tietz  <ktietz@redhat.com>

* mingwex/gdtoa/gd_qnan.h: Make Nan constants positive valued.

11 years ago * libc/posix/engine.c(dissect): Guard diagnostic pragma for right
Corinna Vinschen [Wed, 8 Aug 2012 14:05:54 +0000 (14:05 +0000)]
* libc/posix/engine.c(dissect): Guard diagnostic pragma for right
versions of GCC only.
* libc/string/strcasestr.c: Ditto.

Fix typo in previous ChangeLog entry.

11 years ago Throughout, run newlib with -Wall -Werror option and fix bugs and
Corinna Vinschen [Wed, 8 Aug 2012 11:04:18 +0000 (11:04 +0000)]
Throughout, run newlib with -Wall -Werror option and fix bugs and
compiler warnings found this way.

* libc/stdio/freopen.c (_freopen_r): Fix bug setting _flags.

* libc/include/stdio.h (_rename): Define when building newlib.
* libc/include/sys/signal.h (_kill): Ditto.
* libc/include/sys/stat.h (_mkdir): Ditto.
* libc/include/sys/time.h (_gettimeofday): Ditto.
* libc/include/sys/times.h (_times): Ditto.
* libc/include/sys/wait.h (_wait): Ditto.
* libc/locale/lmessages.c (empty): Don't define for Cygwin.
* libc/locale/lmonetary.c (cnv): Ditto.
* libc/locale/nl_langinfo.c (nl_langinfo): Ditto for variable s.
* libc/posix/collate.c: Throughout cast to avoid compiler warning.
* libc/posix/engine.c (matcher): Initialize dp to avoid compiler
warning.
* libc/posix/glob.c: Disable on Cygwin.  Explain why.
* libc/posix/regcomp.c: Fix "uninitialized" compiler warnings.
(dissect): Deliberately silence gcc compiler warning.  Add comment to
explain why.
* libc/posix/wordexp.c (wordexp): Remove num_bytes variable since result
is never used.
* libc/posix/popen.c (popen): Ditto for variable last.
* libc/reent/mkdirr.c: Include sys/stat.h.
* libc/reent/renamer.c: Include stdio.h.
* libc/search/hash.c:  Throughout use underscored variants of the stat
function family.
(init_hash): Add missing definition for the __USE_INTERNAL_STAT64 case.
* libc/search/hash_bigkey.c (__big_insert): Add parenthesis to avoid
compiler warning.
* libc/search/hash_page.c (overflow_page): Initalize freep to NULL to
avoid compiler warning.
* libc/stdio/asiprintf.c (_asiprintf_r): Cast unsigned char * to char *
to avoid compiler warning.
(asiprintf): Ditto.
* libc/stdio/asprintf.c (_asprintf_r): Ditto.
(asprintf): Ditto.
* libc/stdio/vasiprintf.c (_vasiprintf_r): Ditto.
* libc/stdio/vasprintf.c (_vasprintf_r): Ditto.
* libc/stdio/mktemp.c (_gettemp): Cast to unsigned char in call to
isdigit to avoid compiler warning.
* libc/stdio/vfprintf.c (_VFPRINTF_R): Initialize variables used for
grouping to avoid compiler warning.  Only define and set nseps and
nrepeats if they are really used.
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Ditto.  Only define state if
it is really used.
* libc/stdio/vfscanf.c (u_char): Revert to be defined as unsigned char.
(__SVFSCANF_R): Cast fmt in call to __mbtowc.
* libc/stdlib/mbtowc_r.c (JIS_state_table): Disable when building
Cygwin.
(JIS_action_table): Ditto.
* libc/stdlib/wctomb_r.c (__utf8_wctomb): Add parenthesis to avoid
compiler warning.
* libc/string/strcasestr.c: Deliberately silence gcc compiler warning.
Add comment to explain why.
* libc/time/strptime.c (strptime): Cast to unsigned char in calls to
isspace to avoid compiler warning.
* libm/math/e_atan2.c (__ieee754_atan2): Add parenthesis to avoid
compiler warning.
* libm/math/e_exp.c (__ieee754_exp): Initialize k to 0 to avoid
compiler warning.  Drop setting it to 0 later.
* libm/math/ef_exp.c (__ieee754_expf): Ditto.
* libm/math/e_pow.c (__ieee754_pow): Add braces to avoid compiler
warning.
* libm/math/ef_pow.c (__ieee754_powf): Ditto.
* libm/math/er_lgamma.c (__ieee754_lgamma_r): Initialize nadj to 0 to
avoid compiler warning.
* libm/math/erf_lgamma.c (__ieee754_lgammaf_r): Ditto.
* libm/math/e_rem_pio2.c (__ieee754_rem_pio2): Ditto for variable z.
* libm/common/sf_round.c (roundf): Remove signbit variable since result
is never used.

11 years ago * include/sys/wait.h (_wait): Define when building newlib.
Corinna Vinschen [Wed, 8 Aug 2012 09:39:36 +0000 (09:39 +0000)]
* include/sys/wait.h (_wait): Define when building newlib.

11 years ago * libc/stdlib/mprec.h (Storeinc): Add parenthesis to avoid compiler
Corinna Vinschen [Tue, 7 Aug 2012 17:52:51 +0000 (17:52 +0000)]
* libc/stdlib/mprec.h (Storeinc): Add parenthesis to avoid compiler
warning.

11 years ago* signal.cc (sigwaitinfo): Change cw_sig to the correct cw_sig_eintr.
Christopher Faylor [Tue, 7 Aug 2012 04:25:05 +0000 (04:25 +0000)]
* signal.cc (sigwaitinfo): Change cw_sig to the correct cw_sig_eintr.

11 years ago * include/winnt.h (MemoryBarrier): Define to __mingworg_MemoryBarrier()
Earnie Boyd [Mon, 6 Aug 2012 18:12:53 +0000 (18:12 +0000)]
* include/winnt.h (MemoryBarrier): Define to __mingworg_MemoryBarrier()
which is in libmingwex.a.
MODIFIED FROM: Use __sync_synchronize instead of
creating a function due to multiple definition.
NOTE: Not using __sync_synchronize to allow applications to mix-n-match
C libraries from different vendors.

11 years ago * mingwex/membarrier.c: New file.
Earnie Boyd [Mon, 6 Aug 2012 18:05:53 +0000 (18:05 +0000)]
* mingwex/membarrier.c: New file.
* mingwex/Makefile.in (DISTFILES): Add membarrier.c.
(REPLACE_OBJS): Add membarrier.o.

11 years ago * include/winnt.h (MemoryBarrier): Use __sync_synchronize instead of
Earnie Boyd [Mon, 6 Aug 2012 15:49:39 +0000 (15:49 +0000)]
* include/winnt.h (MemoryBarrier): Use __sync_synchronize instead of
creating a function due to multiple definition.

11 years ago*** empty log message ***
Corinna Vinschen [Mon, 6 Aug 2012 09:09:18 +0000 (09:09 +0000)]
*** empty log message ***

11 years agoAdd
Christopher Faylor [Mon, 6 Aug 2012 03:42:07 +0000 (03:42 +0000)]
Add

11 years ago * include/winver.h (VerQueryValue[AW]): Correct declaration per MSDN.
Earnie Boyd [Sat, 4 Aug 2012 18:36:18 +0000 (18:36 +0000)]
* include/winver.h (VerQueryValue[AW]): Correct declaration per MSDN.

11 years agoAdd mingwex/tsearch.c to ChangeLog
Earnie Boyd [Fri, 3 Aug 2012 20:11:43 +0000 (20:11 +0000)]
Add mingwex/tsearch.c to ChangeLog

11 years ago * include/_mingw.h (threadlocalinfostruct, threadmbinfostruct,
Earnie Boyd [Fri, 3 Aug 2012 20:06:27 +0000 (20:06 +0000)]
* include/_mingw.h (threadlocalinfostruct, threadmbinfostruct,
*pthreadlocinfo, *pthreadmbcinfo, _locale_tstruct, *_locale_t): Declare.

11 years ago * include/limits.h (PATH_MAX): Guard with #ifndef __STRICT_ANSI__.
Earnie Boyd [Fri, 3 Aug 2012 19:16:38 +0000 (19:16 +0000)]
* include/limits.h (PATH_MAX): Guard with #ifndef __STRICT_ANSI__.
* include/sys/param.h (MAXPATHLEN): Make sure PATH_MAX is defined.

11 years ago2012-08-02 Ivan Maidanski <ivmai@users.sourceforge.net>
Earnie Boyd [Fri, 3 Aug 2012 18:58:26 +0000 (18:58 +0000)]
2012-08-02  Ivan Maidanski  <ivmai@users.sourceforge.net>

* include/process.h (_wexec*, _wspawn*): Declare.

11 years ago * include/stdio.h (_lock_file, _unlock_file): Declare.
Earnie Boyd [Fri, 3 Aug 2012 17:59:05 +0000 (17:59 +0000)]
* include/stdio.h (_lock_file, _unlock_file): Declare.

11 years ago * include/stdio.h (_getws, _putws): Guard with #ifndef __STRICT_ANSI__.
Earnie Boyd [Fri, 3 Aug 2012 16:18:27 +0000 (16:18 +0000)]
* include/stdio.h (_getws, _putws): Guard with #ifndef __STRICT_ANSI__.
(_wfdopen, _wfopen, _wfreopen, _wfsopen, _wtmpnam, _wtempnam): Ditto.
(_wrename, _wremove, _wperror, _wpopen): Ditto.

11 years ago * include/wchar.h (_wcstrtoi64): Declare.
Earnie Boyd [Fri, 3 Aug 2012 16:06:45 +0000 (16:06 +0000)]
* include/wchar.h (_wcstrtoi64): Declare.
(_wcstrtoi64_l): Ditto.
(_wcstrtoui64): Ditto.
(_wcstrtoui64_l): Ditto.

11 years ago * include/stdlib.h (_strtoi64): Declare.
Earnie Boyd [Fri, 3 Aug 2012 15:51:29 +0000 (15:51 +0000)]
* include/stdlib.h (_strtoi64): Declare.
(_strtoi64_l): Ditto.
(_strtoui64): Ditto.
(_strtoui64_l): Ditto.
(_wcstrtoi64): Ditto.
(_wcstrtoi64_l): Ditto.
(_wcstrtoui64): Ditto.
(_wcstrtoui64_l): Ditto.

11 years ago* exceptions.cc (sigdelayed): Simplify declaration.
Christopher Faylor [Fri, 3 Aug 2012 15:38:59 +0000 (15:38 +0000)]
* exceptions.cc (sigdelayed): Simplify declaration.
(_cygtls::call_signal_handler): Fix test for when to pop signal stack.  Only do
it exactly when what is on the stack is a no-op.

11 years ago* spawn.cc (child_info_spawn::worker): Put back a minor variation of Corinna's
Christopher Faylor [Fri, 3 Aug 2012 14:48:59 +0000 (14:48 +0000)]
* spawn.cc (child_info_spawn::worker): Put back a minor variation of Corinna's
test for detecting a background process when starting a non-cygwin process.

11 years ago * faq-using.xml (faq.using.man): Make relevance to whatis explicit.
Corinna Vinschen [Fri, 3 Aug 2012 10:39:45 +0000 (10:39 +0000)]
 * faq-using.xml (faq.using.man): Make relevance to whatis explicit.

11 years ago * elf/m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
Sean Keys [Thu, 2 Aug 2012 20:10:10 +0000 (20:10 +0000)]
* elf/m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
        0x000000200

11 years ago * m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
Sean Keys [Thu, 2 Aug 2012 20:08:54 +0000 (20:08 +0000)]
* m68hc11.h: #define E_M68HC11_NO_BANK_WARNING
        0x000000200

11 years ago * lib/Makefile.in (amvideo.h): Dependencies are not met making this file
Earnie Boyd [Thu, 2 Aug 2012 01:53:55 +0000 (01:53 +0000)]
* lib/Makefile.in (amvideo.h): Dependencies are not met making this file
implementation incomplete.  Do not deliver it.
(amaudio.h): Ditto.

11 years ago * include/setupapi.h: Correct typos and truncations.
Earnie Boyd [Thu, 2 Aug 2012 01:17:04 +0000 (01:17 +0000)]
* include/setupapi.h: Correct typos and truncations.

11 years ago * include/winnt.h (MemoryBarrier): Add definition.
Earnie Boyd [Wed, 1 Aug 2012 19:17:37 +0000 (19:17 +0000)]
* include/winnt.h (MemoryBarrier): Add definition.

11 years ago * include/cygwin/socket.h (MSG_BCAST): Define.
Corinna Vinschen [Wed, 1 Aug 2012 18:56:45 +0000 (18:56 +0000)]
* include/cygwin/socket.h (MSG_BCAST): Define.
(MSG_MCAST): Define.

11 years ago * include/winbase.h (InterlockedDecrement): Modify declaration from
Earnie Boyd [Wed, 1 Aug 2012 17:38:51 +0000 (17:38 +0000)]
* include/winbase.h (InterlockedDecrement): Modify declaration from
LONG WINAPI to LONG __cdecl to match Microsoft documentation.
(InterlockedIncrement): Ditto.
(InterlockedExchange): Ditto.

11 years ago * include/wtsapi32.h (WTSVirtualChannelClose): Add declaration.
Earnie Boyd [Wed, 1 Aug 2012 17:25:34 +0000 (17:25 +0000)]
* include/wtsapi32.h (WTSVirtualChannelClose): Add declaration.
(WTSVirtualChannelOpen): Ditto.
(WTSVirtualchannelOpenEx): Ditto.
(WTSVirtualChannelPurgeInput): Ditto.
(WTSVirtualChannelPurgeOutput): Ditto.
(WTSVirtualChannelQuery): Ditto.
(WTSVirtualChannelRead): Ditto.
(WTSVirtualChannelWrite): Ditto.
* lib/wtsapi32.def (WTSVirtualChannelOpenEx@12): Add import.

11 years ago * include/excpt.h (__try1): Define based on _WIN64 definition.
Earnie Boyd [Wed, 1 Aug 2012 16:46:01 +0000 (16:46 +0000)]
* include/excpt.h (__try1): Define based on _WIN64 definition.
(__except1): Ditto.

11 years ago * include/winuser.h (tagMENUITEMINFOA): Correct dwItemData definition.
Earnie Boyd [Wed, 1 Aug 2012 14:44:22 +0000 (14:44 +0000)]
* include/winuser.h (tagMENUITEMINFOA): Correct dwItemData definition.
(tagMENUITEMINFOW): Ditto.

11 years ago * fhandler.h (fhandler_socket::recv_internal): Add bool parameter.
Corinna Vinschen [Wed, 1 Aug 2012 09:00:53 +0000 (09:00 +0000)]
* fhandler.h (fhandler_socket::recv_internal): Add bool parameter.
Add regparm attribute.
* fhandler_socket.cc (fhandler_socket::read): Call recv_internal with
second parameter set to false.
(fhandler_socket::readv): Ditto.
(fhandler_socket::recvfrom): Ditto.
(fhandler_socket::recv_internal): Convert use_recvmsg from local
variable to parameter.  Use as request for using WSARecvMsg.  Only
fail if WSARecvMsg can't be loaded and wsamsg->Control.len > 0,
otherwise use WSARecv{From}.  Restrict dwFlags to MSG_PEEK when using
WSARecvMsg.
(fhandler_socket::recvmsg): Prefer using WSARecvMsg.  Change priority
of tests for not using WSARecvMsg.  Call recv_internal with second
parameter set accordingly.

11 years ago * Makefile.in: Semi-revert patch from 2012-07-01, assuming the previous
Corinna Vinschen [Wed, 1 Aug 2012 08:46:49 +0000 (08:46 +0000)]
* Makefile.in: Semi-revert patch from 2012-07-01, assuming the previous
patch to etc::dir_changed fixes the underlying issue.

11 years ago * Makefile.in: Semi-revert patch from 2012-07-01, assuming the previous
Corinna Vinschen [Wed, 1 Aug 2012 08:17:16 +0000 (08:17 +0000)]
* Makefile.in: Semi-revert patch from 2012-07-01, assuming the previous
patch to etc::dir_changed fixes the underlying issue.

11 years ago include/opcode/
Maciej W. Rozycki [Tue, 31 Jul 2012 21:38:54 +0000 (21:38 +0000)]
include/opcode/
* mips.h: Document microMIPS DSP ASE usage.
(MICROMIPSOP_MASK_DSPACC, MICROMIPSOP_SH_DSPACC): Update for
microMIPS DSP ASE support.
(MICROMIPSOP_MASK_DSPSFT, MICROMIPSOP_SH_DSPSFT): Likewise.
(MICROMIPSOP_MASK_SA3, MICROMIPSOP_SH_SA3): Likewise.
(MICROMIPSOP_MASK_SA4, MICROMIPSOP_SH_SA4): Likewise.
(MICROMIPSOP_MASK_IMM8, MICROMIPSOP_SH_IMM8): Likewise.
(MICROMIPSOP_MASK_IMM10, MICROMIPSOP_SH_IMM10): Likewise.
(MICROMIPSOP_MASK_WRDSP, MICROMIPSOP_SH_WRDSP): Likewise.
(MICROMIPSOP_MASK_BP, MICROMIPSOP_SH_BP): Likewise.

gas/
* config/tc-mips.c (macro_build) <'2'>: Handle microMIPS.
(macro) <M_BALIGN>: Update error handling.
(validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
<'7', '8', '0', '@', '^'>: Likewise.
(mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
<'9'>: Fix formatting.
<'0', '@'>: Handle microMIPS.
<'^'>: New case.

gas/testsuite/
* gas/mips/micromips@mips32-dsp.d: New.
* gas/mips/micromips@mips32-dspr2.d: New.
* gas/mips/mips32-dsp.d: Remove -mips32r2.
* gas/mips/mips32-dspr2.d: Likewise.
* gas/mips/mips.exp: (mips_create_arch): Use -mips64r2
for micromips.  Use run_dump_test_arches to run dsp tests.

opcodes/
* micromips-opc.c (WR_a, RD_a, MOD_a): New macros.
(DSP_VOLA): Likewise.
(D32, D33): Likewise.
(micromips_opcodes): Add DSP ASE instructions.
* micromips-dis.c (print_insn_micromips) <'2', '3'>: New cases.
<'4', '5', '6', '7', '8', '0', '^', '@'>: Likewise.

11 years ago * path.cc (etc::dir_changed): Revert muto changes since function is
Corinna Vinschen [Tue, 31 Jul 2012 19:56:32 +0000 (19:56 +0000)]
* path.cc (etc::dir_changed): Revert muto changes since function is
called under lock condition anyway.

11 years ago * path.cc (etc::dir_changed): Change `io' to a static NO_COPY
Corinna Vinschen [Tue, 31 Jul 2012 19:36:16 +0000 (19:36 +0000)]
* path.cc (etc::dir_changed): Change `io' to a static NO_COPY
variable.  Explain why.  Add a muto to guard overwriting the changed_h
handle by multiple concurrent threads.
* path.h (class etc): Drop unused changed_h member.

11 years ago * libc/sys/sysnecv850/crt0.S (_start): Use v850e-specific
Kevin Buettner [Mon, 30 Jul 2012 23:03:47 +0000 (23:03 +0000)]
* libc/sys/sysnecv850/crt0.S (_start): Use v850e-specific
start up code for v850e2 and v850e2v3 too.

11 years ago2012-07-05 Sean Keys <skeys@ipdatasys.com>
Sean Keys [Mon, 30 Jul 2012 21:44:51 +0000 (21:44 +0000)]
2012-07-05  Sean Keys  <skeys@ipdatasys.com>

        * opcode/xgate.h: Changed the format string for mode
        XGATE_OP_DYA_MON.

11 years ago * include/_mingw.h: Add __MINGW_VERSION, __MINGW_MAJOR_VERSION,
Earnie Boyd [Mon, 30 Jul 2012 14:49:16 +0000 (14:49 +0000)]
* include/_mingw.h: Add __MINGW_VERSION, __MINGW_MAJOR_VERSION,
__MINGW_MINOR_VERSION and __MINGW_PATCHLEVEL deprecating the __MINGW32_*
versions of the macros.
* configure.in: Use __MINGW_VERSION instead of __MINGW32_VERSION.
* configure: Ditto.

11 years ago * include/inttypes.h: A few items like PRNdPTR and SCNdPTR need 64
Earnie Boyd [Mon, 30 Jul 2012 14:31:16 +0000 (14:31 +0000)]
* include/inttypes.h: A few items like PRNdPTR and SCNdPTR need 64
bitness specified when _WIN64 is defined.

11 years ago* include/stdint.h: Include _mingw.h for the definition of __int64 when _WIN64 is...
Earnie Boyd [Mon, 30 Jul 2012 14:22:28 +0000 (14:22 +0000)]
* include/stdint.h: Include _mingw.h for the definition of __int64 when _WIN64 is defined.

11 years ago* Makefile.common (CFLAGS_COMMON): Add temporary define to work around w32api
Christopher Faylor [Mon, 30 Jul 2012 04:43:22 +0000 (04:43 +0000)]
* Makefile.common (CFLAGS_COMMON): Add temporary define to work around w32api
problem.

* cygwin/winlean.h: Define constant which will be needed eventually.  Remove
hack in favor of another hack.
* cygwin/lib/crt0.h: Use "winlean.h".

11 years ago* winlean.h: Add temporary define.
Christopher Faylor [Mon, 30 Jul 2012 04:26:05 +0000 (04:26 +0000)]
* winlean.h: Add temporary define.
* winsup.h: Remove ancient debugging defines.

11 years ago* cygwait.cc (cancelable_wait): Add some debugging-only output.
Christopher Faylor [Mon, 30 Jul 2012 03:44:40 +0000 (03:44 +0000)]
* cygwait.cc (cancelable_wait): Add some debugging-only output.
* exceptions.cc (sig_handle_tty_stop): Make sure that incyg is cleared when
exiting if we have no parent process.  Only wait for signal_arrived.
(sigpacket::process): Make continue_now a bool.  Delay sending signal_arrived
until the end.  Make code more defensive to avoid calling signal handler when
stopped.  Only set signal_arrived when stopped.
* sigproc.cc (sig_hold): Rename from sigCONT.  Make static.
(sig_send): Accommodate sigCONT -> sig_hold rename.
(wait_sig): Ditto.
* sigproc.h (sigCONT): Delete declaration.
* fhandler_console.cc (fhandler_console::write): Use new '%0c' facility to
print characters.  Change to paranoid to avoid excessive strace output.
* fhandler_tty.cc (fhandler_pty_master::accept_input): Make frequent strace
printf "paranoid" to help cut down on strace output size.
* signal.cc (sigsuspend): Add standard syscall strace output.
(sigpause): Ditto.
(pause): Ditto.
* cygtls.h (_cygtls::reset_signal_arrived): New function.

11 years agoAdd missing include/sdkddkver.h
Earnie Boyd [Mon, 30 Jul 2012 00:04:05 +0000 (00:04 +0000)]
Add missing include/sdkddkver.h

11 years agoDoh. Check in missing file from previous submission.
Christopher Faylor [Sun, 29 Jul 2012 21:44:03 +0000 (21:44 +0000)]
Doh.  Check in missing file from previous submission.

11 years ago* cygtls.cc (_cygtls::reset_signal_arrived): New function.
Christopher Faylor [Sun, 29 Jul 2012 21:43:29 +0000 (21:43 +0000)]
* cygtls.cc (_cygtls::reset_signal_arrived): New function.
(set_signal_arrived::~set_signal_arrived): Use reset_signal_arrived to reset
state.
* exceptions.cc (sig_handle_tty_stop): Use WAIT_SIGNALED rather than assume we
know the return from cancelable_wait.
(_cygtls::interrupt_setup): Modify to allow calling when executing in
non-cygwin code via sigdelayed.  Always reset signal_arrived.
* gendef: Throughout use start_offset rather than the completely wrong
sizeof__cygtls.
(_sigdelayed): Rewrite to avoid duplication when calling the signal handler.
(sigreturn): Delete.
* gentls_offsets: Define start_offset rather than sizeof__cygtls.
* tlsoffsets.h: Regenerate.

11 years agoAdd missing file from last checkin.
Christopher Faylor [Sun, 29 Jul 2012 21:42:10 +0000 (21:42 +0000)]
Add missing file from last checkin.

11 years ago * include/sdkddkver.h: New file.
Earnie Boyd [Sun, 29 Jul 2012 20:52:41 +0000 (20:52 +0000)]
* include/sdkddkver.h: New file.
* include/windows.h: Include sdkddkver.h.

11 years ago* fhandler_termios.cc (fhandler_termios::line_edit): Use special case '%0c'
Christopher Faylor [Sun, 29 Jul 2012 19:18:05 +0000 (19:18 +0000)]
* fhandler_termios.cc (fhandler_termios::line_edit): Use special case '%0c'
handling to print non-printable characters using hex notation.
* smallprint.cc (__small_vsprintf): Semi-reimplement printing of non-printable
characters in hex but only when padding is specified.
* dcrt0.cc (dll_crt0_0): Remove tty_list initialization.
* shared.cc (memory_init): Initialize tty_list here.
* path.cc (path_conv::check): Remove unneeded parentheses from if check.

11 years ago * include/inttypes.h: Add x86_64 target considerations throughout.
Corinna Vinschen [Sat, 28 Jul 2012 14:21:34 +0000 (14:21 +0000)]
* include/inttypes.h: Add x86_64 target considerations throughout.
Define macros in C++ according to C99 requirements.
* include/stdint.h: Ditto.

11 years agoFix attributation of PR 13135 patch.
Nick Clifton [Thu, 26 Jul 2012 14:05:37 +0000 (14:05 +0000)]
Fix attributation of PR 13135 patch.

11 years ago* signal.cc (clock_nanosleep): Force return on signal rather than letting
Christopher Faylor [Wed, 25 Jul 2012 22:21:17 +0000 (22:21 +0000)]
* signal.cc (clock_nanosleep): Force return on signal rather than letting
cancelable_wait loop on signal.

12 years ago * syscalls.cc (enum bin_status): Add dir_not_empty.
Corinna Vinschen [Wed, 25 Jul 2012 12:32:37 +0000 (12:32 +0000)]
* syscalls.cc (enum bin_status): Add dir_not_empty.
(try_to_bin): Call NtQueryInformationFile(FileInternalInformation)
with exact buffer size.  Explain why.
Ditto for NtSetInformationFile(FileRenameInformation).
Handle race-condition which might lead to renaming a non-empty
directory.
(unlink_nt): Rearrange and partially rephrase comments related to the
STATUS_SHARING_VIOLATION case.  Fix condition under which a dir is
tested for being non-empty.  Handle dir_not_empty return code from
try_to_bin.  Gracefully handle disappearing directory in rm -r
workaround.  Fix typo in comment.

12 years ago * wincap.cc (wincapc::init): Drop memset call since it can result in
Corinna Vinschen [Tue, 24 Jul 2012 13:56:14 +0000 (13:56 +0000)]
* wincap.cc (wincapc::init): Drop memset call since it can result in
a race condition.  Drop all considerations for pre-Windows 2000 systems
since Cygwin won't start on them anyway.

12 years ago PR binutils/13135
Nick Clifton [Tue, 24 Jul 2012 12:56:47 +0000 (12:56 +0000)]
PR binutils/13135
* arm-dis.c: Add necessary casts for printing integer values.
Use %s when printing string values.
* hppa-dis.c: Likewise.
* m68k-dis.c: Likewise.
* microblaze-dis.c: Likewise.
* mips-dis.c: Likewise.
* ppc-dis.c: Likewise.
* sparc-dis.c: Likewise.

* dis-asm.h (fprintf_ftype): Add ATTRIBUTE_FPTR_PRINTF_2.

12 years agoChange "set_thread_waiting" to "set_signal_arrived" throughout.
Christopher Faylor [Mon, 23 Jul 2012 04:36:48 +0000 (04:36 +0000)]
Change "set_thread_waiting" to "set_signal_arrived" throughout.

12 years ago* DevNotes: Add entry cgf-000013.
Christopher Faylor [Sat, 21 Jul 2012 22:58:20 +0000 (22:58 +0000)]
* DevNotes: Add entry cgf-000013.
* cygserver_ipc.h (ipc_set_proc_info): Use _cygtls::ipc_set_proc_info to set
per-thread signal arrived value.
* cygthread.cc (cygthread::detach): Use per-thread signal_arrived via
set_thread_waiting.
* fork.cc (_cygtls::fixup_after_fork): Clear signal_arrived.
(_cygtls::remove): Close any signal_arrived handle when thread exists.
(_cygtls::find_tls): Remove unneeded function.
* cygtls.h: Update copyright.
(class _cygtls): Reorganize to help avoid rebuilding newlib when structure
changes.
(_cygtls::event): Delete.
(_cygtls::threadkill): Ditto.
(_cygtls::signal_waiting): Declare new bool.
(_cygtls::find_tls): Delete declaration.
(_cygtls::set_threadkill): Ditto.
(_cygtls::reset_threadkill): Ditto.
(_cygtls::set_signal_arrived): Declare new function.
(class set_thread_waiting): Declare new class.
* cygwait.cc (cw_nowait_storage): Define.
(cygwait): Set per-thread signal_arrived via set_thread_waiting.  Don't
special-case _main_tls.
* cygwait.h (cw_nowait): Define.
(cw_infinite): Ditto.
(cygwait): Redefine pathological wait-only case.
* dcrt0.cc (dll_crt0_0): Remove call to now-defunct events_init().
(dll_crt0_1): Remove call to now-defunct create_signal_arrived().
* exceptions.cc: Reflect set_signal_mask() argument reordering throughout.
Remove signal mask synchronization throughout.
(events_init): Delete definition.
(mask_sync): Delete now-unneeded mask synchronization.
(set_signal_mask): Reverse order of arguments to "standard" to, from layout.
Rename "newmask" argument to "setmask".  Remove debugging.
(sig_handle_tty_stop): Use cancelable_wait rather than WFMO.
(_cygtls::interrupt_setup): Don't treat "threadkill" events specially.
Conditionally set signal_arrived depending on whether the thread has created it
or not.
(sigpacket::process): Reorganize to reflect thread-specific sending of signals
which is more in line with the way it was actually supposed to work.
* fhandler_socket.cc (get_inet_addr): Use cancelable_wait rather than
IsEventSignalled to avoid potential race.
(fhandler_socket::wait_for_events): Set signal_arrived event using
set_thread_waiting().
(fhandler_socket::close): Use cygwait for the case of just waiting 10 ms for a
signal.
* fhandler_tape.cc (fhandler_dev_tape::_lock): Use cancelable_wait rather than
WFMO.  Redo switch/case tests accordingly.
* fhandler_termios.cc (fhandler_termios::bg_check): Use cygwait for case of
just waiting 0 ms for a potential signal.
* fhandler_tty.cc (fhandler_pty_master::process_slave_output): Use
cancelable_wait rather than WFSO.
* fhandler_windows.cc (fhandler_windows::read): Set per-thread signal_arrived
via set_thread_waiting().
* flock.cc (lf_setlock): Ditto.
* select.cc (pselect): Ditto.  Set per-thread signal_arrived using
set_thread_waiting().
* gendef: Don't special case handling of _cygtls::sig for threads.
* gentls_offsets: Use #pragma once in tlsoffsets.h.
* ntdll.h: Use #pragma once.
* poll.cc: Reflect set_signal_mask() argument reordering.
* posix_ipc.cc (ipc_mutex_lock): Use cancelable_wait rather than WFMO.
(ipc_cond_timedwait): Set perl-thread signal arrived using
set_thread_waiting().
* security.h: Use #pragma once.
* signal.cc (abort): Reflect set_signal_mask() argument reordering.
(clock_nanosleep): Ditto.  Change call to cancelable_wait to properly specify
handling of cancel and interrupt.
(sigwaitinfo): Remove handling of per-thread event in favor of per-thread
signal_arrived.  Use cancelable_wait rather than WFSO.
* sigproc.cc (signal_arrived): Delete definition.
(create_signal_arrived): Ditto.
* sigproc.h (signal_arrived): Delete declaration.
(set_signal_mask): Avoid defining as a "C" function.  Don't conditionally
declare.
(create_signal_arrived): Delete declaration.
* syscalls.cc (rename): Use cygwait() rather than WFSO.
* thread.h (fast_mutex::lock): Use cw_infinite rather than LARGE_NULL.
* wait.cc (wait4): Ditto.
* thread.cc (pthread_mutex::lock): Ditto.
(pthread::join): Ditto.
(semaphore::_wait): Ditto.
(pthread_kill): Remove set_threadkill() accommodation.
* tlsoffsets.h: Regenerate.

12 years ago* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 17.
Christopher Faylor [Sat, 21 Jul 2012 17:13:42 +0000 (17:13 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 17.

12 years agoreaddir: drop bogus code
Eric Blake [Fri, 20 Jul 2012 16:55:19 +0000 (16:55 +0000)]
readdir: drop bogus code

* libc/posix/readdir.c (readdir): Drop bogus attempt to catch
bogus pointers.

12 years agoForced checkin to fix date
Corinna Vinschen [Fri, 20 Jul 2012 09:45:34 +0000 (09:45 +0000)]
Forced checkin to fix date

12 years ago * pathnames.sgml (pathnames-intro): Remove paragraph on UNC paths.
Corinna Vinschen [Fri, 20 Jul 2012 09:23:44 +0000 (09:23 +0000)]
* pathnames.sgml (pathnames-intro): Remove paragraph on UNC paths.
Try to be clearer on POSIX vs. Win32 paths.
(unc-paths): New section.
(cygdrive): Fix a few SGML qualifiers.
* setup-net.sgml: Move ntsec section from here...
* using.sgml: ..to here.

12 years ago * woutsup.h: Just include winlean.h.
Corinna Vinschen [Thu, 19 Jul 2012 17:56:46 +0000 (17:56 +0000)]
* woutsup.h: Just include winlean.h.

12 years ago*** empty log message ***
Corinna Vinschen [Thu, 19 Jul 2012 09:43:56 +0000 (09:43 +0000)]
*** empty log message ***

12 years ago * mount.cc (getmntent_r): Remove unused but set variable.
Yaakov Selkowitz [Thu, 19 Jul 2012 09:04:02 +0000 (09:04 +0000)]
* mount.cc (getmntent_r): Remove unused but set variable.

12 years ago2012-07-18 Ralf Corsépius <ralf.corsepius@rtems.org>
Ralf Corsepius [Wed, 18 Jul 2012 15:22:45 +0000 (15:22 +0000)]
2012-07-18  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/sys/rtems/machine/_types.h (_ssize_t): Use signed int for
__v850__, __851__.

12 years ago * new-features.sgml (ov-new1.7.16): Document getmntent_r.
Yaakov Selkowitz [Wed, 18 Jul 2012 11:23:11 +0000 (11:23 +0000)]
* new-features.sgml (ov-new1.7.16): Document getmntent_r.

12 years ago * cygwin.din (getmntent_r): Export.
Corinna Vinschen [Wed, 18 Jul 2012 11:17:25 +0000 (11:17 +0000)]
* cygwin.din (getmntent_r): Export.
* mount.cc (getmntent_r): New function.
* posix.sgml (std-gnu): Add getmntent_r.
* include/mntent.h (getmntent_r): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

12 years ago * faq-programming.xml (faq.programming.unix-gui): Update to
Yaakov Selkowitz [Wed, 18 Jul 2012 02:11:04 +0000 (02:11 +0000)]
* faq-programming.xml (faq.programming.unix-gui): Update to
reflect the availability of X11 toolkits on Cygwin.

12 years ago2012-07-17 Ralf Corsépius <ralf.corsepius@rtems.org>
Ralf Corsepius [Tue, 17 Jul 2012 16:56:45 +0000 (16:56 +0000)]
2012-07-17  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/search/hcreate_r.c (hdestroy_r): #ifdef 0 unused vars ie, idx.

12 years ago2012-07-16 Ralf Corsépius <ralf.corsepius@rtems.org>
Ralf Corsepius [Mon, 16 Jul 2012 17:03:50 +0000 (17:03 +0000)]
2012-07-16  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/posix/telldir.c: Conditionally build dd_hash_lock.

12 years ago include/
Doug Evans [Fri, 13 Jul 2012 23:39:46 +0000 (23:39 +0000)]
include/
* filenames.h: #include "hashtab.h".
(filename_hash, filename_eq): Declare.
libiberty/
* filename_cmp.c (filename_hash, filename_eq): New functions.

12 years ago2012-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
Andreas Krebbel [Fri, 13 Jul 2012 15:47:25 +0000 (15:47 +0000)]
2012-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* elf64-s390.c: Include elf-s390-common.c.
(R_390_IRELATIVE): New reloc.
(elf_s390_reloc_type_lookup): Support R_390_IRELATIVE.
(RELA_ENTRY_SIZE): New macro.
(elf_s390_link_hash_entry): New fields ifunc_resolver_address and
*ifunc_resolver_section.
(struct plt_entry): New struct.
(struct elf_s390_obj_tdata): New field local_plt.
(elf_s390_local_plt): New macro.
(struct elf_s390_link_hash_table): New field irelifunc.
(ELF64): New macro.
(link_hash_newfunc): Initialize new fields.
(elf_s390_check_relocs): Handle IFUNC symbols.
(elf_s390_adjust_dynamic_symbol): Don't do anything for IFUNC
symbols.
(allocate_dynrelocs): Call s390_elf_allocate_ifunc_dyn_relocs for
IFUNC symbols.
(elf_s390_size_dynamic_sections): Handle IFUNC symbols.
(elf_s390_relocate_section): Likewise.
(elf_s390_finish_dynamic_symbol): Likewise.
(elf_s390_finish_dynamic_sections): Handle local IFUNC symbols.
(elf_s390_finish_ifunc_symbol): New function.
(elf_s390_gc_sweep_hook): Handle local plt entries.
(elf_backend_add_symbol_hook): Define.
* elf32-s390.c: See elf64-s390.c changes.
* elf-s390-common.c: New file.
* bfd-in2.h (BFD_RELOC_390_IRELATIVE): New enum field.
* libbfd.h (BFD_RELOC_390_IRELATIVE): New entry for
BFD_RELOC_390_IRELATIVE.
* reloc.c (BFD_RELOC_390_IRELATIVE): Document new relocation.

2012-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* elf/s390.h (START_RELOC_NUMBERS): Define R_390_IRELATIVE reloc.

2012-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>

* emulparams/elf_s390.sh (IREL_IN_PLT): Define.
* emulparams/elf64_s390.sh (IREL_IN_PLT): Define.

12 years ago2012-07-13 Ralf Corsépius <ralf.corsepius@rtems.org>
Ralf Corsepius [Fri, 13 Jul 2012 09:21:45 +0000 (09:21 +0000)]
2012-07-13  Ralf Corsépius  <ralf.corsepius@rtems.org>

* libc/sys/rtems/machine/_types.h (_ssize_t): Add __ARM_EABI__,
__v850__, __851__.

12 years ago Fix copy-paste error
Corinna Vinschen [Fri, 13 Jul 2012 07:57:14 +0000 (07:57 +0000)]
Fix copy-paste error

12 years ago * winlean.h: Make sure certain Windows macros are undefined again.
Corinna Vinschen [Thu, 12 Jul 2012 11:27:28 +0000 (11:27 +0000)]
* winlean.h: Make sure certain Windows macros are undefined again.
Add comment to explain why.
* winsup.h: Include winlean.h from C sources as well.
* libc/minires-os-if.c: Drop including ntdef.h.

Fix previous ChangeLog entry.

12 years ago * pseudo-reloc.cc: Drop including wchar.h.
Corinna Vinschen [Thu, 12 Jul 2012 10:33:54 +0000 (10:33 +0000)]
* pseudo-reloc.cc: Drop including wchar.h.
(__report_error): Define module as WCHAR.
* advapi.cc: Drop including wchar.h.
* kernel32.cc: Ditto.

12 years ago * Makefile.in (cygcheck.exe): Link against psapi.dll.
Corinna Vinschen [Wed, 11 Jul 2012 16:41:51 +0000 (16:41 +0000)]
* Makefile.in (cygcheck.exe): Link against psapi.dll.
* bloda.cc: Change include section to work with Mingw64 headers.
Include psapi.h.  Use SystemProcessInformation instead of
SystemProcessesAndThreadsInformation throughout and add define for
w32api headers.  Ditto for PSYSTEM_PROCESS_INFORMATION vs.
PSYSTEM_PROCESSES.
(system_module_list): New type to replace SYSTEM_MODULE_INFORMATION.
Change usage throughout accordingly.
(get_module_list): Fetch module list using PSAPI functions
EnumDeviceDrivers and GetDeviceDriverBaseNameA.
* cygcheck.cc (max): Define as __max if not defined already.
(alloca): Only define if not defined already.
(handle_unique_object_name): Use explicit sharing flags rather than
FILE_SHARE_VALID_FLAGS which officially is only available in DDK
headers.
(PRODUCT_ULTIMATE_E): Only define if not defined already.
* dump_setup.cc: Change include section to work with Mingw64 headers.
(NtQueryAttributesFile): Drop NTOSAPI aka DECLSPEC_IMPORT.
* strace.cc: Change include section to work with Mingw64 headers.
(alloca): Only define if not defined already.

12 years ago * cygtls.cc (well_known_dlls): Add ole32.dll and wbemprox.dll.
Corinna Vinschen [Wed, 11 Jul 2012 09:21:36 +0000 (09:21 +0000)]
* cygtls.cc (well_known_dlls): Add ole32.dll and wbemprox.dll.

12 years ago * cygwin.sc (.rdata): Revert patch from 2012-07-06.
Corinna Vinschen [Mon, 9 Jul 2012 14:55:02 +0000 (14:55 +0000)]
* cygwin.sc (.rdata): Revert patch from 2012-07-06.

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