Corinna Vinschen
e6fbf13e48
* cygheap.cc (cygheap_init): Fix formatting. Remove comment. Set
...
shared_prefix depending only on terminal service capability.
* dcrt0.cc (dll_crt0_1): Don't call set_cygwin_privileges here.
* fhandler_fifo.cc (fhandler_fifo::open): Create the mutex as global
object.
* posix_ipc.cc (ipc_mutex_init): Use cygheap->shared_prefix.
(ipc_cond_init): Ditto.
* sec_helper.cc (privilege_name): Make static. Use LookupPrivilegeName
directly to be independent of the state of cygheap.
(set_privilege): Take a LUID as parameter instead of an index value.
Only print debug output in case of failure.
(set_cygwin_privileges): Add comment. Use LookupPrivilegeValue to
get privilege LUIDs.
(init_global_security): Call set_cygwin_privileges here.
* security.h (privilege_name): Drop declaration.
(set_privilege): Declare according to above change.
(set_process_privilege): Call privilege_luid to get LUID.
(_push_thread_privilege): Ditto.
* shared.cc (open_shared): Add comment. On systems supporting the
SeCreateGlobalPrivilege, try to create/open global shared memory first.
Fall back to local shared memory if that fails.
* thread.cc (semaphore::semaphore): Use cygheap->shared_prefix.
* wincap.h (wincapc::has_create_global_privilege): New element.
* wincap.cc: Implement above element throughout.
2007-03-29 16:37:36 +00:00
Nick Clifton
519aec5d59
Reflect changes made to generic vfprintf.c:
...
* libc/machine/powerpc/vfprintf.c (__sprint): Rename to __sprint_r and add a "struct reent *" argument.
(__sbprintf): Rename to __sbprintf_r, add a "struct reent *" argument and call _VFPRINTF_R instead of VFPRINTF.
(_VFPRINTF_R): Add data pointer to call to cantwrite(). Fix uses of __sprint() and __sbprintf.
2007-03-29 06:25:44 +00:00
Christopher Faylor
2319775273
* spawn.cc (spawn_guts): Start pure-windows processes in a suspended state to
...
avoid potential DuplicateHandle problems.
2007-03-28 14:34:24 +00:00
H.J. Lu
832a897240
Fix year.
2007-03-27 22:45:19 +00:00
Daniel Jacobowitz
6aad2842b5
Add "make pdf" and "make install-pdf", from Brooks Moses
...
<brooks.moses@codesourcery.com>.
2007-03-27 18:09:32 +00:00
H.J. Lu
033320b317
2007-03-26 H.J. Lu <hongjiu.lu@intel.com>
...
* acx.m4 (ACX_BUGURL): Set BUGURL first. Quote $BUGURL first
when setting REPORT_BUGS_TEXI.
2007-03-26 15:38:25 +00:00
Chris Sutcliffe
a37bc48dca
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Include/_mingw.h: Increment version to 3.12.
2007-03-26 02:11:07 +00:00
Chris Sutcliffe
b86d10017a
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sf.net>
...
* include/w32api.h: Increment version to 3.9.
* Makefile.in: Ditto.
2007-03-26 01:35:24 +00:00
H.J. Lu
82654d5c01
2007-03-23 H.J. Lu <hongjiu.lu@intel.com>
...
* acx.m4 (ACX_BUGURL): Replace "@" with "@@" for
REPORT_BUGS_TEXI.
2007-03-23 17:11:54 +00:00
Corinna Vinschen
e5e4cdeda7
* include/psapi.h (GetMappedFileName): Fix messed up checkin.
2007-03-23 12:42:50 +00:00
Corinna Vinschen
57ba95d8cf
* include/psapi.h (GetMappedFileName): Rename from GetMappedFilenameEx.
2007-03-23 09:17:26 +00:00
Joseph Myers
5962fc1d5c
bfd:
...
* configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
* configure: Regenerate.
config:
* acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.
2007-03-23 02:51:30 +00:00
H.J. Lu
9158ee9c01
Move gdb ChangeLog entry to gdb/ChangeLog.
2007-03-22 16:02:55 +00:00
Maciej W. Rozycki
e77ec39291
* remote-mips.c (mips_xfer_memory): Update prototype.
2007-03-22 14:21:02 +00:00
Danny Smith
3246efd513
2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
...
* include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__
2007-03-22 09:43:48 +00:00
H.J. Lu
3ce0c60b4c
gas/
...
2003-03-21 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
include/opcode/
2003-03-21 H.J. Lu <hongjiu.lu@intel.com>
* i386.h (REX_MODE64): Renamed to ...
(REX_W): This.
(REX_EXTX): Renamed to ...
(REX_R): This.
(REX_EXTY): Renamed to ...
(REX_X): This.
(REX_EXTZ): Renamed to ...
(REX_B): This.
opcodes/
2003-03-21 H.J. Lu <hongjiu.lu@intel.com>
* i386-dis.c (REX_MODE64): Remove definition.
(REX_EXTX): Likewise.
(REX_EXTY): Likewise.
(REX_EXTZ): Likewise.
(USED_REX): Use REX_OPCODE instead of 0x40.
Replace REX_MODE64, REX_EXTX, REX_EXTY and REX_EXTZ with REX_W,
REX_R, REX_X and REX_B respectively.
2007-03-21 21:23:43 +00:00
Richard Sandiford
52f4adec2e
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
...
of glob. Quote arguments with single quotes too.
* configure: Regenerate.
2007-03-21 20:11:06 +00:00
Chris Sutcliffe
f7ddb59088
2003-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* Makefile.in: Tweak srcdist to fix build issue.
2007-03-21 00:24:25 +00:00
Keith Marshall
a88c650cd4
Add --enable-mingw-manpage-transform configure option.
2007-03-20 23:19:34 +00:00
H.J. Lu
edfd2a6e7a
*** empty log message ***
2007-03-19 23:06:06 +00:00
Danny Smith
a4ad579228
* include/_mingw.h (__CRT_INLINE): Ue __gnu_inline__ for gcc 4.2.x too.
2007-03-18 00:23:44 +00:00
Jeff Johnston
443871a60b
2007-03-16 Charles Wilson <cygwin@...>
...
* libc/argz/argz_insert.c: "before" pointer is
invalid after *argz realloc. Compute offset
between "before" and *argz, and use it after
reallocation instead.
2007-03-16 21:16:09 +00:00
Jeff Johnston
a167bcd8e5
2007-03-16 Eric Blake <ebb9@byu.net>
...
* libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
* libc/stdio64/freopen64.c (_freopen64_r): Ditto.
2007-03-16 20:05:10 +00:00
Jeff Johnston
826b5591dd
2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
...
* configure.in: Add new --enable-newlib-reent-small option.
* configure: Regenerated.
* acconfig.h: Add _WANT_REENT_SMALL.
* newlib.hin: Regenerated minus PACKAGE macros to add
_WANT_REENT_SMALL macro.
* libc/include/sys/config.h[_WANT_REENT_SMALL]: Set _REENT_SMALL
if not already set.
* libc/stdio/fflush.c[_REENT_SMALL]: Return immediately if
there is no buffer.
* libc/stdio/local.h[_REENT_SMALL]: Fix CHECK_INIT macro to
use reentrant pointer passed in when resetting the file
pointer to one of the std streams.
2007-03-15 21:32:13 +00:00
Jeff Johnston
14ba5e14d9
2007-03-15 Eric Blake <ebb9@byu.net>
...
* libc/stdio/local.h (cantwrite, FREEUB, FREELB): Make reentrant.
(__smakebuf): Rename...
(__smakebuf_r): to this.
* libc/stdio/fvwrite.h (__swsetup_r): Rename, from __swsetup.
* libc/stdio/makebuf.c (__smakebuf): Detect failed asprint
allocation, then rename...
(__smakebuf_r): ...to this and fix reentrancy.
* libc/stdio/wsetup.c (__swsetup): Detect failed asprintf
allocation, then rename...
(__swsetup_r): ...to this and fix reentrancy.
* libc/stdio/fseek.c (_fseek_r): Fix reentrancy.
* libc/stdio/refill.c (__srefill_r): Likewise.
* libc/stdio/fclose.c (_fclose_r): Likewise.
* libc/stdio/fread.c (_fread_r): Likewise.
* libc/stdio/freopen.c (_freopen_r): Likewise.
* libc/stdio/wbuf.c (__swbuf_r): Likewise.
* libc/stdio64/fseeko64.c (_fseeko64_r): Likewise.
* libc/stdio/fvwrite.c (__sfvwrite_r): Set errno properly on
failed asprintf allocation, and fix reentrancy.
* libc/stdio/snprintf.c (snprintf, _snprintf_r): Report overflow,
as required by POSIX.
* libc/stdio/sniprintf.c (sniprintf, _sniprintf_r): Likewise.
* libc/stdio/vsnprintf.c (vsnprintf, _vsnprintf_r): Likewise.
* libc/stdio/vsniprintf.c (vsniprintf, _vsniprintf_r): Likewise.
2007-03-15 18:40:48 +00:00
H.J. Lu
e96d068ed3
gas/
...
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am: Run "make dep-am".
* Makefile.in: Regenerated.
* config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
"opcode/i386.h".
(md_begin): Check reg_name != NULL for the last entry in
i386_regtab.
* config/tc-i386.h: Move many entries to opcode/i386.h and
opcodes/i386-opc.h.
* configure.in (need_opcodes): Set true for i386.
* configure: Regenerated.
include/opcode/
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* i386.h: Add entries from config/tc-i386.h and move tables
to opcodes/i386-opc.h.
opcodes/
2007-03-15 H.J. Lu <hongjiu.lu@intel.com>
* Makefile.am (CFILES): Add i386-opc.c.
(ALL_MACHINES): Add i386-opc.lo.
Run "make dep-am".
* Makefile.in: Regenerated.
* configure.in: Add i386-opc.lo for bfd_i386_arch.
* configure: Regenerated.
* i386-dis.c: Include "opcode/i386.h".
(MAXLEN): Renamed to MAX_MNEM_SIZE. Remove definition.
(FWAIT_OPCODE): Remove definition.
(UNIXWARE_COMPAT): Renamed to SYSV386_COMPAT. Remove definition.
(MAX_OPERANDS): Remove definition.
* i386-opc.c: New file.
* i386-opc.h: Likewise.
2007-03-15 14:31:24 +00:00
H.J. Lu
d7e13a06c2
2007-03-13 H.J. Lu <hongjiu.lu@intel.com>
...
* i386.h (FloatDR): Removed.
(i386_optab): Use FloatD and FloatD|FloatR instead of FloatDR.
2007-03-14 03:26:06 +00:00
Corinna Vinschen
bfb968cefd
Fix typo.
2007-03-13 13:39:27 +00:00
Corinna Vinschen
15823b9d62
* include/cygwin/stat.h (S_TYPEISSHM, S_TYPEISSEM, S_TYPEISSHM):
...
Avoid compiler warnings.
2007-03-13 13:22:00 +00:00
Jeff Johnston
99304ce6c4
2007-03-12 Eric Blake <ebb9@byu.net>
...
* libc/stdio/fvwrite.c (__sfvwrite_r): Fix reentrancy.
* libc/stdio/vasprintf.c (vasprintf, _vasprintf_r): Pass failed
allocation to caller.
* libc/stdio/asprintf.c (_asprintf_r, asprintf): Likewise.
* libc/stdio/asiprintf.c (_asiprintf_r, asiprintf): Likewise.
* libc/stdio/vasiprintf.c (vasiprintf, _vasiprintf_r): Likewise.
2007-03-12 20:30:08 +00:00
DJ Delorie
9c28809c0f
2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
...
* Makefile.def (fixincludes): Remove unneeded "missing" lines.
* Makefile.in: Regenerate
2007-03-12 20:19:44 +00:00
Keith Marshall
31e07d86d2
Add manpages for dirname and basename functions.
2007-03-11 00:15:00 +00:00
Keith Marshall
af8e63023a
Make basename and dirname functions work with path names
...
containing multibyte character strings.
2007-03-08 23:15:58 +00:00
Alan Modra
062bfdacdb
include/elf/
...
* v850.h (V850_OTHER_TDA_BYTE): Delete.
(V850_OTHER_SDA, V850_OTHER_ZDA, V850_OTHER_TDA): Assign bits
that don't clash with visibility bits.
bfd/
* elf32-v850.c (v850_elf_link_output_symbol_hook): Clean out
V850_OTHER_* bits.
2007-03-08 11:28:35 +00:00
Chris Sutcliffe
8ca56e23af
2007-03-06 Brandon Sneed <brandon@oqo.com>
...
* include/setupapi.h: Added SetupConfigureWmiFromInfSectionA
Added SetupConfigureWmiFromInfSectionW
Added SetupConfigureWmiFromInfSection define to unicode and non-unicode sections
* lib/setupapi.def: Added exports for SetupConfigureWmiFromInfSectionA and W
* include/winuser.h: Added PBT_APMQUERYSUSPEND
Added PBT_APMQUERYSTANDBY
Added PBT_APMQUERYSUSPENDFAILED
Added PBT_APMQUERYSTANDBYFAILED
Added PBT_APMSUSPEND
Added PBT_APMSTANDBY
Added PBT_APMRESUMECRITICAL
Added PBT_APMRESUMESUSPEND
Added PBT_APMRESUMESTANDBY
Added PBT_APMBATTERYLOW
Added PBT_APMPOWERSTATUSCHANGE
Added PBT_APMOEMEVENT
Added PBT_APMRESUMEAUTOMATIC
* include/wtsapi32.h: New file
* include/wingdi.h: Added DM_DISPLAYORIENTATION define for use with DMDO_* defines
2007-03-07 23:18:35 +00:00
Christopher Faylor
b8804b1ecd
* signal.cc (handle_sigprocmask): Remove extraneous sig_dispatch_pending.
2007-03-07 21:51:27 +00:00
Corinna Vinschen
fcdca88165
* fhandler_proc.cc: Fix formatting. Drop setting errno when creating
...
proc file content.
(format_proc_uptime): Simplify.
(format_proc_cpuinfo): Align more closely to output of Linux 2.6 kernel.
Evaluate more data, especially for AMD CPUs.
2007-03-07 14:03:29 +00:00
Andreas Schwab
7a81a71741
* configure: Regenerate.
...
config/:
* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
AC_MSG_RESULT.
2007-03-07 14:02:20 +00:00
Alan Modra
2a2128cad1
* common.h (ELF_ST_VISIBILITY): Comment typo fix.
2007-03-07 10:18:56 +00:00
DJ Delorie
97e7286372
merge from gcc
2007-03-06 19:00:57 +00:00
Corinna Vinschen
2213ad419b
Fix log entry.
2007-03-06 16:35:45 +00:00
Corinna Vinschen
7113f5da75
Add accidentally missing checkins.
...
* fhandler.h (fhandler_base::fstat_helper): Add creation time parameter.
* glob.cc (stat32_to_stat64): Set st_birthtim to st_mtim.
2007-03-06 16:29:40 +00:00
Corinna Vinschen
74652ce13e
* include/cygwin/stat.h (S_TYPEISMQ): Define.
...
(S_TYPEISSEM): Dttio.
(S_TYPEISSHM): Ditto.
2007-03-06 14:56:44 +00:00
Corinna Vinschen
70de8290c8
* fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat member
...
st_birthtim to useful value.
* fhandler_process.cc (fhandler_process::fstat): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Take
additional parameter for creation time. Fill st_birthtim with it.
Accomodate additional creation time parameter throughout.
* fhandler_raw.cc (fhandler_dev_raw::fstat): Set new stat member
st_birthtim to useful value.
* fhandler.cc (fhandler_base::fstat): Ditto.
* fhandler_registry.cc (fhandler_registry::fstat): Ditto.
* include/cygwin/version.h: Bump API minor number.
* include/cygwin/stat.h (struct __stat64): Replace st_spare4 with
timestruc_t st_birthtim.
(struct stat): Ditto if __CYGWIN_USE_BIG_TYPES__ is defined.
(st_birthtime): Define if __CYGWIN_USE_BIG_TYPES__ is defined.
2007-03-06 14:48:25 +00:00
Martin Schwidefsky
4e747c10dc
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
...
* opcodes/s390-opc.c (INSTR_RRE_FR, INSTR_RRF_F0FF2, INSTR_RRF_F0FR,
INSTR_RRF_UUFF, INSTR_RRF_0UFF, INSTR_RRF_FFFU, INSTR_RRR_F0FF): New
instruction formats added.
(MASK_RRE_FR, MASK_RRF_F0FF2, MASK_RRF_F0FR, MASK_RRF_UUFF,
MASK_RRF_0UFF, MASK_RRF_FFFU, MASK_RRR_F0FF): New instruction format
masks added.
* opcodes/s390-opc.txt (lpdfr - tgxt): Decimal floating point
instructions added.
* opcodes/s390-mkopc.c (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
(main): z9-ec cpu type option added.
* include/opcode/s390.h (s390_opcode_cpu_val): S390_OPCODE_Z9_EC added.
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
* config/tc-s390.c (md_parse_option): z9-ec option added.
2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
* gas/s390/zarch-z9-ec.d: New file.
* gas/s390/zarch-z9-ec.s: New file.
* gas/s390/s390.exp: Run the z9-ec testcases.
2007-03-06 13:19:07 +00:00
Chris Sutcliffe
aefbb81cc4
2007-03-05 Jan Nijtmans <nijtmans@users.sourceforge.net>
...
* include/ddeml.h (DdeCreateStringHandleA, DdeCreateStringHandleW): Switch
argument to constant.
2007-03-06 01:53:36 +00:00
DJ Delorie
d4954b6d11
Merge from gcc:
...
+2007-03-01 Brooks Moses <brooks.moses@codesourcery.com>
+
+ * configure.ac: Add "--with-pdfdir" configure option,
+ which defines pdfdir variable.
+ * Makefile.def (target=fixincludes): Add install-pdf to
+ missing targets.
+ (recursive_targets): Add install-pdf target.
+ (flags_to_pass): Add pdfdir.
+ * Makefile.tpl: Add pdfdir handling, add do-install-pdf
+ target.
+ * configure: Regenerate
+ * Makefile.in: Regenerate
+
+2007-02-28 Eric Christopher <echristo@apple.com>
+
+ Revert:
+ 2006-12-07 Mike Stump <mrs@apple.com>
+
+ * Makefile.def (dependencies): Add dependency for
+ install-target-libssp and install-target-libgomp on
+ install-gcc.
+ * Makefile.in: Regenerate.
+
+2007-02-27 Matt Kraai <kraai@ftbfs.org>
+
+ * configure: Regenerate.
+ * configure.ac: Move statements after variable declarations.
+
2007-03-05 23:19:10 +00:00
Danny Smith
3315e811a4
* include/io.h (__mingw_access): New static inline wrapper to restore
...
pre-Vista 'access (fname, X_OK)' behaviour.
(__USE_MINGW_ACCESS): Use to map access() to __mingw_access().
2007-03-05 08:25:32 +00:00
Danny Smith
5643b1ee86
* mingwex/fesetround.c (fesetround): Use unsigned int as operand
...
to stmxcsr.
Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>
2007-03-05 07:42:36 +00:00
Corinna Vinschen
788e7da136
* ntdll.h (struct _OBJECT_NAME_INFORMATION): Define.
...
* syscalls.cc (unlink_nt): Check shared directory for being empty
before trying to move and mark for deletion.
2007-03-02 20:04:26 +00:00