]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
17 years agobfd:
Joseph Myers [Fri, 23 Mar 2007 02:51:30 +0000 (02:51 +0000)]
bfd:
* configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
* configure: Regenerate.

config:
* acx.m4 (ACX_PKGVERSION, ACX_BUGURL): Define.

17 years agoMove gdb ChangeLog entry to gdb/ChangeLog.
H.J. Lu [Thu, 22 Mar 2007 16:02:55 +0000 (16:02 +0000)]
Move gdb ChangeLog entry to gdb/ChangeLog.

17 years ago* remote-mips.c (mips_xfer_memory): Update prototype.
Maciej W. Rozycki [Thu, 22 Mar 2007 14:21:02 +0000 (14:21 +0000)]
* remote-mips.c (mips_xfer_memory): Update prototype.

17 years ago 2007-03-22 Brian Ripley <ripleybd@users.sourceforge.net>
Danny Smith [Thu, 22 Mar 2007 09:43:48 +0000 (09:43 +0000)]
2007-03-22   Brian Ripley  <ripleybd@users.sourceforge.net>
* include/_mingw.h (__CRT_INLINE): Make conditional on __GNUC_STDC_INLINE__

17 years agogas/
H.J. Lu [Wed, 21 Mar 2007 21:23:43 +0000 (21:23 +0000)]
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.

17 years ago * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
Richard Sandiford [Wed, 21 Mar 2007 20:11:06 +0000 (20:11 +0000)]
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix m4 quoting
of glob.  Quote arguments with single quotes too.
* configure: Regenerate.

17 years ago2003-03-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Wed, 21 Mar 2007 00:24:25 +0000 (00:24 +0000)]
2003-03-20  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * Makefile.in: Tweak srcdist to fix build issue.

17 years agoAdd --enable-mingw-manpage-transform configure option.
Keith Marshall [Tue, 20 Mar 2007 23:19:34 +0000 (23:19 +0000)]
Add --enable-mingw-manpage-transform configure option.

17 years ago*** empty log message ***
H.J. Lu [Mon, 19 Mar 2007 23:06:06 +0000 (23:06 +0000)]
*** empty log message ***

17 years ago * include/_mingw.h (__CRT_INLINE): Ue __gnu_inline__ for gcc 4.2.x too.
Danny Smith [Sun, 18 Mar 2007 00:23:44 +0000 (00:23 +0000)]
* include/_mingw.h (__CRT_INLINE): Ue __gnu_inline__ for gcc 4.2.x too.

17 years ago2007-03-16 Charles Wilson <cygwin@...>
Jeff Johnston [Fri, 16 Mar 2007 21:16:09 +0000 (21:16 +0000)]
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.

17 years ago2007-03-16 Eric Blake <ebb9@byu.net>
Jeff Johnston [Fri, 16 Mar 2007 20:05:10 +0000 (20:05 +0000)]
2007-03-16  Eric Blake  <ebb9@byu.net>

        * libc/stdio64/fseek064.c (_fseeko64_r): Fix reentrancy.
        * libc/stdio64/freopen64.c (_freopen64_r): Ditto.

17 years ago2007-03-15 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 15 Mar 2007 21:32:13 +0000 (21:32 +0000)]
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.

17 years ago2007-03-15 Eric Blake <ebb9@byu.net>
Jeff Johnston [Thu, 15 Mar 2007 18:40:48 +0000 (18:40 +0000)]
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.

17 years agogas/
H.J. Lu [Thu, 15 Mar 2007 14:31:24 +0000 (14:31 +0000)]
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.

17 years ago2007-03-13 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 14 Mar 2007 03:26:06 +0000 (03:26 +0000)]
2007-03-13  H.J. Lu  <hongjiu.lu@intel.com>

* i386.h (FloatDR): Removed.
(i386_optab): Use FloatD and FloatD|FloatR instead of FloatDR.

17 years ago Fix typo.
Corinna Vinschen [Tue, 13 Mar 2007 13:39:27 +0000 (13:39 +0000)]
Fix typo.

17 years ago * include/cygwin/stat.h (S_TYPEISSHM, S_TYPEISSEM, S_TYPEISSHM):
Corinna Vinschen [Tue, 13 Mar 2007 13:22:00 +0000 (13:22 +0000)]
* include/cygwin/stat.h (S_TYPEISSHM, S_TYPEISSEM, S_TYPEISSHM):
Avoid compiler warnings.

17 years ago2007-03-12 Eric Blake <ebb9@byu.net>
Jeff Johnston [Mon, 12 Mar 2007 20:30:08 +0000 (20:30 +0000)]
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.

17 years ago2007-03-12 Brooks Moses <brooks.moses@codesourcery.com>
DJ Delorie [Mon, 12 Mar 2007 20:19:44 +0000 (20:19 +0000)]
2007-03-12  Brooks Moses  <brooks.moses@codesourcery.com>
* Makefile.def (fixincludes): Remove unneeded "missing" lines.
* Makefile.in: Regenerate

17 years agoAdd manpages for dirname and basename functions.
Keith Marshall [Sun, 11 Mar 2007 00:15:00 +0000 (00:15 +0000)]
Add manpages for dirname and basename functions.

17 years agoMake basename and dirname functions work with path names
Keith Marshall [Thu, 8 Mar 2007 23:15:58 +0000 (23:15 +0000)]
Make basename and dirname functions work with path names
containing multibyte character strings.

17 years agoinclude/elf/
Alan Modra [Thu, 8 Mar 2007 11:28:35 +0000 (11:28 +0000)]
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.

17 years ago2007-03-06 Brandon Sneed <brandon@oqo.com>
Chris Sutcliffe [Wed, 7 Mar 2007 23:18:35 +0000 (23:18 +0000)]
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

17 years ago* signal.cc (handle_sigprocmask): Remove extraneous sig_dispatch_pending.
Christopher Faylor [Wed, 7 Mar 2007 21:51:27 +0000 (21:51 +0000)]
* signal.cc (handle_sigprocmask): Remove extraneous sig_dispatch_pending.

17 years ago * fhandler_proc.cc: Fix formatting. Drop setting errno when creating
Corinna Vinschen [Wed, 7 Mar 2007 14:03:29 +0000 (14:03 +0000)]
* 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.

17 years ago * configure: Regenerate.
Andreas Schwab [Wed, 7 Mar 2007 14:02:20 +0000 (14:02 +0000)]
* configure: Regenerate.

config/:
* acx.m4 (GCC_TARGET_TOOL): Expand backquotes outside
AC_MSG_RESULT.

17 years ago * common.h (ELF_ST_VISIBILITY): Comment typo fix.
Alan Modra [Wed, 7 Mar 2007 10:18:56 +0000 (10:18 +0000)]
* common.h (ELF_ST_VISIBILITY): Comment typo fix.

17 years agomerge from gcc
DJ Delorie [Tue, 6 Mar 2007 19:00:57 +0000 (19:00 +0000)]
merge from gcc

17 years ago Fix log entry.
Corinna Vinschen [Tue, 6 Mar 2007 16:35:45 +0000 (16:35 +0000)]
Fix log entry.

17 years ago Add accidentally missing checkins.
Corinna Vinschen [Tue, 6 Mar 2007 16:29:40 +0000 (16:29 +0000)]
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.

17 years ago * include/cygwin/stat.h (S_TYPEISMQ): Define.
Corinna Vinschen [Tue, 6 Mar 2007 14:56:44 +0000 (14:56 +0000)]
* include/cygwin/stat.h (S_TYPEISMQ): Define.
(S_TYPEISSEM): Dttio.
(S_TYPEISSHM): Ditto.

17 years ago * fhandler_mailslot.cc (fhandler_mailslot::fstat): Set new stat member
Corinna Vinschen [Tue, 6 Mar 2007 14:48:25 +0000 (14:48 +0000)]
* 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.

17 years ago2007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
Martin Schwidefsky [Tue, 6 Mar 2007 13:19:07 +0000 (13:19 +0000)]
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.

17 years ago2007-03-05 Jan Nijtmans <nijtmans@users.sourceforge.net>
Chris Sutcliffe [Tue, 6 Mar 2007 01:53:36 +0000 (01:53 +0000)]
2007-03-05  Jan Nijtmans  <nijtmans@users.sourceforge.net>

        * include/ddeml.h (DdeCreateStringHandleA, DdeCreateStringHandleW): Switch
        argument to constant.

17 years agoMerge from gcc:
DJ Delorie [Mon, 5 Mar 2007 23:19:10 +0000 (23:19 +0000)]
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.
+

17 years ago * include/io.h (__mingw_access): New static inline wrapper to restore
Danny Smith [Mon, 5 Mar 2007 08:25:32 +0000 (08:25 +0000)]
* 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().

17 years ago * mingwex/fesetround.c (fesetround): Use unsigned int as operand
Danny Smith [Mon, 5 Mar 2007 07:42:36 +0000 (07:42 +0000)]
* mingwex/fesetround.c (fesetround): Use unsigned int as operand
to  stmxcsr.
Thanks to Alexey Kuznetsov <ring0_mipt at users dot sf dot net>

17 years ago * ntdll.h (struct _OBJECT_NAME_INFORMATION): Define.
Corinna Vinschen [Fri, 2 Mar 2007 20:04:26 +0000 (20:04 +0000)]
* 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.

17 years ago * security.cc (get_file_attribute): Avoid compiler warning.
Corinna Vinschen [Fri, 2 Mar 2007 19:54:20 +0000 (19:54 +0000)]
* security.cc (get_file_attribute): Avoid compiler warning.

17 years ago * spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
Ben Elliston [Thu, 1 Mar 2007 23:08:21 +0000 (23:08 +0000)]
* spu/sbrk.c (sbrk): Adjust the stack pointer vector correctly so
that GCC runtime stack checking works.  Handle the backchain, too.

17 years ago* fork.cc (fork): Reset child to true after fork since it may have been reset
Christopher Faylor [Thu, 1 Mar 2007 18:43:38 +0000 (18:43 +0000)]
* fork.cc (fork): Reset child to true after fork since it may have been reset
by fork memory copies.

17 years ago* Makefile (DLL_OFILES): Remove ntea.o
Christopher Faylor [Thu, 1 Mar 2007 15:13:47 +0000 (15:13 +0000)]
* Makefile (DLL_OFILES): Remove ntea.o
* environ.cc (set_ntea): Delete.
(parse_thing): Delete "ntea" setting.
* fhandler.cc (fhandler_base::open): Remove allow_ntea considerations.
(check_posix_perm): Ditto.
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Ditto.
(fhandler_base::open_fs): Ditto.
(fhandler_disk_file::mkdir): Ditto.
* path.cc (symlink_worker): Ditto.
* security.cc (get_file_attribute): Ditto.
(set_file_attribute): Ditto.
* security.h: Remove allow_ntea declaration.

17 years ago * spu-insns.h: Add soma double-float insns.
Alan Modra [Thu, 1 Mar 2007 11:17:41 +0000 (11:17 +0000)]
* spu-insns.h: Add soma double-float insns.

17 years ago * path.cc (close_user_proc_parms_cwd_handle): Remove.
Corinna Vinschen [Tue, 27 Feb 2007 18:38:22 +0000 (18:38 +0000)]
* path.cc (close_user_proc_parms_cwd_handle): Remove.
(cwdstuff::init): Don't call close_user_proc_parms_cwd_handle.
Call set to set cwd with all-sharing handle.
(cwdstuff::set): Fix comment.  Don't close cwd handle.  Set in
user parameter block instead and close old cwd handle.
* syscalls.cc (rename): Call unlink_nt instead of RemoveDirectory or
DeleteFile to allow deleting shared files/directories.

17 years ago * fhandler.cc(fhandler_base::open): Open with READ_CONTROL only in
Corinna Vinschen [Tue, 27 Feb 2007 12:58:56 +0000 (12:58 +0000)]
* fhandler.cc(fhandler_base::open): Open with READ_CONTROL only in
case of query_open flag set to query_read_control.  Add case for
new query_read_attributes flag.
(fhandler_base::fstatvfs): New method.
* fhandler.h (enum query_state): Add query_read_attributes flag.
(class fhandler_base): Declare new virtual fstatvfs method.
(class fhandler_socket): Ditto.
(class fhandler_pipe): Ditto.
(class fhandler_fifo): Ditto.
(class fhandler_disk_file): Ditto.
(class fhandler_virtual): Ditto.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Open with
query_read_attributes instead of query_read_control.
(fhandler_disk_file::fstatvfs): New method.
(fhandler_disk_file::facl): Open with query_read_attributes instead of
query_read_control.
* fhandler_fifo.cc (fhandler_fifo::fstatvfs): New method.
* fhandler_socket.cc (fhandler_socket::fstatvfs): New method.
(fhandler_socket::fchmod): Return with EBADF in the default case.
(fhandler_socket::fchown): Ditto.
(fhandler_socket::facl): Ditto.
* fhandler_virtual.cc (fhandler_virtual::fstatvfs): Ditto.
* ntdll.h (struct _FILE_FS_ATTRIBUTE_INFORMATION): Define.
(struct _FILE_FS_FULL_SIZE_INFORMATION): Define.
* pipe.cc (fhandler_pipe::fstatvfs): New method.
* syscalls.cc (fstatvfs): Just call the fhandler's fstatvfs.
(statvfs): Ditto.
(fstatfs): Call fstatvfs.
(statfs): Drop EFAULT handling.

17 years ago * mt-spu (all-ld): Depend on all-binutils.
Alan Modra [Tue, 27 Feb 2007 09:02:43 +0000 (09:02 +0000)]
* mt-spu (all-ld): Depend on all-binutils.
also fix previous ChangeLog entry

17 years ago2007-02-27 Thorsten Dahlheimer <tdahlheim@gmx.net>
Danny Smith [Tue, 27 Feb 2007 07:40:12 +0000 (07:40 +0000)]
2007-02-27  Thorsten Dahlheimer  <tdahlheim@gmx.net>

* include/stdio.h (_unlink, unlink): Add prototypes.

17 years ago * fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
Corinna Vinschen [Mon, 26 Feb 2007 14:19:00 +0000 (14:19 +0000)]
* fhandler.cc (fhandler_base::fstat): Set all file times to arbitrary
fixed value.

17 years ago * fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
Corinna Vinschen [Mon, 26 Feb 2007 12:39:25 +0000 (12:39 +0000)]
* fhandler_registry.cc (registry_listing): Drop name of HKEY_DYN_DATA.
(registry_keys): Drop HKEY_DYN_DATA.
* net.cc: Fix comment.
* syslog.cc: Ditto.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment.
Corinna Vinschen [Mon, 26 Feb 2007 12:22:41 +0000 (12:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Drop comment.
* mmap.cc (gen_access): Remove.
(mmap_record::gen_access): Remove.
(mmap64): Don't mention 9x any longer.
* syscalls.cc (statvfs): Drop status code consideration for 9x.
* libc/minires-os-if.c (get_registry_dns_items): Don't mention 9x any
longer.
(get_registry_dns): Drop getting registry key on 9x.  Drop is9x
variable.

17 years ago2007-02-23 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 23 Feb 2007 18:29:31 +0000 (18:29 +0000)]
2007-02-23  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/math/w_pow.c: Fix typo in documentation comment.

17 years ago Throughout remove all usage of wincap.has_security.
Corinna Vinschen [Fri, 23 Feb 2007 15:15:50 +0000 (15:15 +0000)]
Throughout remove all usage of wincap.has_security.
* environ.cc (environ_init): Drop setting allow_ntsec here.
* grp.cc (initgroups32): Drop usage of label "out".
* security.cc (allow_ntsec): Set to true by default.
* syscalls.cc (seteuid32): Remove label success_9x.
* wincap.cc: Remove has_security throughout.
* wincap.h: Ditto.

17 years ago * fhandler.h (class fhandler_pipe): Remove members writepipe_exists,
Corinna Vinschen [Fri, 23 Feb 2007 14:47:45 +0000 (14:47 +0000)]
* fhandler.h (class fhandler_pipe): Remove members writepipe_exists,
orig_pid and id.  Make hit_eof inline.
* fhandler_fifo.cc (fhandler_fifo::open): Drop handling of
writepipe_exists, orig_pid and id.
* pipe.cc: Ditto throughout.
(pipecount): Remove.
(pipeid_fmt): Remove.
(fhandler_pipe::hit_eof): Simplify.  Move to fhandler.h.
(fhandler_pipe::dup): Drop leave label.
(fhandler_pipe::create): Drop has_unreliable_pipes case.
* wincap.cc: Remove has_unreliable_pipes throughout.
* wincap.h: Ditto.

17 years ago * devices.in: Change native device name to native NT device name for
Corinna Vinschen [Fri, 23 Feb 2007 14:20:28 +0000 (14:20 +0000)]
* devices.in: Change native device name to native NT device name for
/dev/null, /dev/comX and /dev/ttySx.
* devices.cc: Regenerate.
* fhandler.cc (fhandler_base::open_9x): Remove.
(fhandler_base::open): Don't test for DOS device name, don't call
open_9x.
(fhandler_dev_null::open): Remove.
* fhandler.h (class fhandler_base): Drop open_9x declaration.
(class fhandler_dev_null): Drop open declaration.

17 years ago * fhandler_console.cc (fhandler_console::need_invisible): Drop
Corinna Vinschen [Fri, 23 Feb 2007 12:01:52 +0000 (12:01 +0000)]
* fhandler_console.cc (fhandler_console::need_invisible): Drop
pty_needs_alloc_console check.
* spawn.cc (spawn_guts): Ditto.
(av::fixup): Remove setting iscui.
* syscalls.cc (rename): Drop has_move_file_ex checks.  Remove 9x
specific code.
* wincap.cc: Remove has_move_file_ex and pty_needs_alloc_console
throughout.
* wincap.h: Ditto.

17 years ago Throughout remove using wincap.
Corinna Vinschen [Fri, 23 Feb 2007 11:43:48 +0000 (11:43 +0000)]
Throughout remove using wincap.
* Makefile.in (OBJS): Remove wincap.o.
* README: Don't mention 9x.
* bsd_mutex.cc (_mtx_unlock): Drop checking for 9x error codes.
* cygserver.cc (server_submission_loop::request_loop): Add FIXME
comment.
* wincap.cc: Remove.
* wincap.h: Remove.
* woutsup.h: Don't include wincap.h.

17 years ago * exceptions.cc (dummy_ctrl_c_handler): Remove.
Corinna Vinschen [Fri, 23 Feb 2007 10:51:59 +0000 (10:51 +0000)]
* exceptions.cc (dummy_ctrl_c_handler): Remove.
(init_console_handler): Drop has_null_console_handler_routine checks.
* fhandler_raw.cc (fhandler_dev_raw::open): Drop has_raw_devices check.
* fhandler_serial.cc (fhandler_serial::open): Drop
.supports_reading_modem_output_lines check.
* miscfuncs.cc (low_priority_sleep): Drop has_switch_to_thread check.
* shared.cc (open_shared): Drop needs_memory_protection checks.
* spawn.cc (spawn_guts): Drop start_proc_suspended check.
* uname.cc (uname): Drop has_valid_processorlevel check.
* wincap.cc: Remove has_raw_devices, has_valid_processorlevel,
supports_reading_modem_output_lines, needs_memory_protection,
has_switch_to_thread, start_proc_suspended and
has_null_console_handler_routine throughout.
* wincap.h: Ditto.

17 years ago * fhandler.cc (fhandler_base::lseek): Drop 9x considerations.
Corinna Vinschen [Fri, 23 Feb 2007 09:49:49 +0000 (09:49 +0000)]
* fhandler.cc (fhandler_base::lseek): Drop 9x considerations.
* fhandler_disk_file.cc (fhandler_disk_file::lock): Ditto.
* wincap.cc: Remove lock_file_highword and has_64bit_file_access
throughout.
* wincap.h: Ditto.

17 years ago * cygheap.h (struct cwdstuff): Remove sync member and keep_in_sync
Corinna Vinschen [Thu, 22 Feb 2007 18:01:13 +0000 (18:01 +0000)]
* cygheap.h (struct cwdstuff): Remove sync member and keep_in_sync
accessors.
* external.cc (cygwin_internal): Drop call to cygheap->cwd.keep_in_sync.
* fhandler_disk_file.cc (fhandler_disk_file::link): Always presume
ability to create hard links.
* path.cc (cwdstuff::init): Drop 9x considerations.
(cwdstuff::keep_in_sync): Remove.
(cwdstuff::set): Take NT for granted.
* pinfo.h (cygwin_pid): Just return pid.
* wincap.cc: Remove has_hard_links, can_open_directories,
has_negative_pids, has_named_pipes, has_try_enter_critical_section,
cant_debug_dll_entry and detect_win16_exe throughout.
* wincap.h: Ditto.

17 years ago * fhandler_console.cc (fhandler_console::read): Drop 9x specific
Corinna Vinschen [Thu, 22 Feb 2007 17:35:14 +0000 (17:35 +0000)]
* fhandler_console.cc (fhandler_console::read): Drop 9x specific
handling of AltGr key.
* mmap.cc: Take NT for granted throughout.
* wincap.cc: Remove map_view_of_file_ex_sucks, altgr_is_ctrl_alt,
has_working_copy_on_write, share_mmaps_only_by_name,
virtual_protect_works_on_shared_pages, has_mmap_alignment_bug and
has_working_virtual_lock throughout.
* wincap.h: Ditto.

17 years ago * fhandler.cc (fhandler_base::set_no_inheritance): Always use
Corinna Vinschen [Thu, 22 Feb 2007 17:09:46 +0000 (17:09 +0000)]
* fhandler.cc (fhandler_base::set_no_inheritance): Always use
SetHandleInformation.
* fhandler_disk_file.cc (fhandler_disk_file::lock): Always use
UnlockFileEx/LockFileEx functions.
* net.cc (fdsock): Don't bother to duplicate socket for inheritance.
* sysconf.cc (get_nproc_values): Take NT for granted.
(get_avphys): Ditto.
* syslog.cc (WIN95_EVENT_LOG_PATH): Remove define.
(get_win95_event_log_path): Remove.
(vsyslog): Fix formatting.  Take NT for granted.
* wincap.cc: Remove has_lock_file_ex, has_signal_object_and_wait,
has_eventlog, has_set_handle_information,
has_set_handle_information_on_console_handles and supports_smp
throughout.
* wincap.h: Ditto.

17 years ago Fix typo.
Corinna Vinschen [Thu, 22 Feb 2007 16:33:44 +0000 (16:33 +0000)]
Fix typo.

17 years ago * dir.cc (rmdir): Move existance check in front of
Corinna Vinschen [Thu, 22 Feb 2007 16:32:39 +0000 (16:32 +0000)]
* dir.cc (rmdir): Move existance check in front of
has_dot_last_component check.  Simply setting errno in latter case.

17 years ago * fhandler.cc (fhandler_base::write): Remove wincap.has_lseek_bug case.
Corinna Vinschen [Thu, 22 Feb 2007 16:22:38 +0000 (16:22 +0000)]
* fhandler.cc (fhandler_base::write): Remove wincap.has_lseek_bug case.
Simplify seek beyond EOF case.
* times.cc (times): Remove wincap.has_get_process_times case.
* wincap.cc: Remove has_delete_on_close, has_page_guard,
has_get_process_times and has_lseek_bug throughout.
* wincap.h: Ditto.

17 years ago Throughout remove all usage of wincap.access_denied_on_delete.
Corinna Vinschen [Thu, 22 Feb 2007 16:04:19 +0000 (16:04 +0000)]
Throughout remove all usage of wincap.access_denied_on_delete.
* dir.cc (rmdir): Add existance check to be errno-compatible with Linux.
* fhandler_disk_file.cc (fhandler_disk_file::rmdir): Drop test for
non-existent dir on 9x share.
* syscalls.cc (unlink): Add comment.
* wincap.cc: Remove access_denied_on_delete flag throughout.
* wincap.h: Ditto.

17 years ago * fhandler_disk_file.cc (fhandler_disk_file::closedir): Fix bug
Corinna Vinschen [Thu, 22 Feb 2007 15:07:21 +0000 (15:07 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::closedir): Fix bug
introduced by switching to NtClose.

17 years ago* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Change sense of guard test.
Christopher Faylor [Thu, 22 Feb 2007 12:34:55 +0000 (12:34 +0000)]
* dcrt0.cc (child_info_fork::alloc_stack_hard_way): Change sense of guard test.
Increase size of stack reserved and increase size before the current stack
pointer.  Use pointers when doing arithmetic.
(dll_crt0_1): Initialize exception handler when we notice we're the child of a
fork from non-main thread.
* fork.cc (frok::parent): Make argument volatile.
(frok::child): Ditto.
(lock_signals): New class.
(lock_pthread): Ditto.
(hold_everhthing): Ditto.
(frok::parent): Move atforkprepare and atforkparent to lock_pthread class.
(fork): Make ischild boolean.  Use hold_everything variable within limited
scope to set various mutexes in such a way as to avoid deadlocks.
* thread.h (pthread_mutex::tid): New variable, active when debugging for
tracking thread id of owner.
(pthread_mutex::set_owner): Set tid when debugging.
* thread.cc (pthread_mutex::pthread_mutex): Clear tid.
(pthread_mutex::_unlock): Ditto when unlocking.
(pthread_mutex::fixup_after_fork): Set tid to special value after forking since
owner is unknown.

17 years ago Throughout replace all usage of wincap.shared with the constant
Corinna Vinschen [Thu, 22 Feb 2007 11:17:01 +0000 (11:17 +0000)]
Throughout replace all usage of wincap.shared with the constant
FILE_SHARE_VALID_FLAGS.
* fhandler.cc (fhandler_base::open_9x): Drop local variable shared.
* wincap.cc: Remove shared member throughout.
* wincap.h: Ditto.

17 years ago * Makefile.in (DLL_IMPORTS): Add libntdll.a.
Corinna Vinschen [Thu, 22 Feb 2007 10:54:47 +0000 (10:54 +0000)]
* Makefile.in (DLL_IMPORTS): Add libntdll.a.
* autoload.cc: Remove all symbols from advapi32.dll, kernel32.dll and
ntdll.dll available on all platforms since NT4.

Throughout remove all usage of wincap.is_winnt.
* dcrt0.cc (dll_crt0_0): Remove call to mmap_init.
* fhandler.h (class fhandler_base): Remove has_changed flag.
(fhandler_disk_file::touch_ctime): Remove declaration.
(fhandler_disk_file::readdir_9x): Ditto.
(fhandler_disk_file::touch_ctime): Remove.
(fhandler_disk_file::readdir_9x): Remove.
(fhandler_disk_file::closedir): Call NtClose instead of CloseHandle.
* mmap.cc: Throughout call CreateMapping and MapView directly.
(VirtualProt9x): Remove.
(VirtualProtNT): Remove.
(VirtualProtEx9x): Remove.
(VirtualProtExNT): Remove.
(VirtualProtect): Remove define.
(VirtualProtectEx): Remove define.
(CreateMapping9x): Remove.
(CreateMappingNT): Rename to CreateMapping.
(MapView9x): Remove.
(MapViewNT): Rename to MapView.
(struct mmap_func_t): Remove definition.
(mmap_funcs_9x): Remove.
(mmap_funcs_nt): Remove.
(mmap_func): Remove.
(mmap_init): Remove.
* net.cc (getdomainname): Drop comment. Use NT4 registry key only.
(get_95_ifconf): Remove.
* pinfo.cc (winpids::enumNT): Rename to winpids::enum_processes.
(winpids::enum9x): Remove.
(winpids::set): Just call enum_processes directly.
(winpids::enum_init): Ditto.
* pinfo.h (class winpids): Drop enum_processes pointer.  Rename
enumNT to enum_processes.  Drop enum9x declaration.  Drop initialization
of enum_processes throughout.
* registry.cc (get_registry_hive_path): Just create NT key.
(load_registry_hive): Only load NT specific file.
* syscalls.cc (unlink_9x): Remove.
(unlink): Just call unlink_nt.
* wincap.cc: Remove is_winnt flag throughout.
* wincap.h: Ditto.
* winsup.h: Remove mmap_init declaration.

17 years ago * ipcs.c (_POSIX2_LINE_MAX): Drop definition.
Corinna Vinschen [Thu, 22 Feb 2007 10:53:37 +0000 (10:53 +0000)]
* ipcs.c (_POSIX2_LINE_MAX): Drop definition.

17 years ago * Makefile.in (OBJS): Drop transport_sockets.o.
Corinna Vinschen [Thu, 22 Feb 2007 10:50:51 +0000 (10:50 +0000)]
* Makefile.in (OBJS): Drop transport_sockets.o.
* sysv_shm.cc (shmget_allocate_segment): Remove spurious cast.
* transport.cc: Don't include transport_sockets.h.
(create_server_transport): Always create transport_layer_pipes.
* transport_sockets.cc: Remove.
* transport_sockets.h: Remove.

17 years agoRemove superfluous libgloss/ directory names from recent ChangeLog entries.
Ben Elliston [Thu, 22 Feb 2007 04:25:43 +0000 (04:25 +0000)]
Remove superfluous libgloss/ directory names from recent ChangeLog entries.

17 years ago2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 21 Feb 2007 19:30:44 +0000 (19:30 +0000)]
2007-02-21  Patrick Mansfield <patmans@us.ibm.com>

        * libgloss/spu/gettimeofday.c: New file which adds SPU gettimeofday.
        * libgloss/spu/jsre.h: Remove time, add gettimeofday.
        * libgloss/spu/Makefile.in: Ditto.

17 years ago2007-02-21 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 21 Feb 2007 19:22:33 +0000 (19:22 +0000)]
2007-02-21  Patrick Mansfield <patmans@us.ibm.com>

        * libc/reent/timer.c: Removed (split into two new files).
        * libc/reent/timesr.c: New file for _times_r.
        * libc/reent/gettimeofdayr.c: New file out _gettimeofday_r.
        * reent/Makefile.in: Remove timer.c, add timesr.c and
        gettimeofdayr.c.
        * libc/reent/Makefile.am: Regenerate.

17 years agoTake into account MEMORY regions when creating a segment map.
Nick Clifton [Wed, 21 Feb 2007 16:43:50 +0000 (16:43 +0000)]
Take into account MEMORY regions when creating a segment map.

17 years ago * wincap.cc (wincap_unknown): Change settings for unknown to reflect
Corinna Vinschen [Wed, 21 Feb 2007 15:18:07 +0000 (15:18 +0000)]
* wincap.cc (wincap_unknown): Change settings for unknown to reflect
the capabilities of NT4.
(wincap_95): Remove.
(wincap_95osr2): Remove.
(wincap_98): Remove.
(wincap_98se): Remove.
(wincap_me): Remove.
(wincap_nt3): Remove.
(wincapc::init): Temporarily bail out on any 9x system.

17 years ago * cris/crt0.S: Use jump, not ba, to skip the interrupt table. Use
Hans-Peter Nilsson [Wed, 21 Feb 2007 14:08:26 +0000 (14:08 +0000)]
* cris/crt0.S: Use jump, not ba, to skip the interrupt table.  Use
"setf", not "nop", for common_v10_v32 compatibility.
Move out interrupt table to irqtable.S.  Include here for non-ELF.
* cris/irqtable.S: Extracted from cris/crt0.S.  Provide per-entry
weak default stub definitions.
* cris/crtn.c: Use "setf", not "nop", for common_v10_v32
compatibility.
* cris/setup.S [__arch_common_v10_v32]: Return.
* cris/Makefile.in (BSP_OBJS): Add irqtable.o.

17 years ago2007-02-20 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Tue, 20 Feb 2007 21:02:36 +0000 (21:02 +0000)]
2007-02-20  Patrick Mansfield <patmans@us.ibm.com>

        * configure.host: Build SPU with default_newlib_atexit_dynamic_alloc="no".

17 years ago2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Tue, 20 Feb 2007 20:58:38 +0000 (20:58 +0000)]
2007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/machine/spu/Makefile.am: Add new objects.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/fiprintf.c: New file. Add implementation of
        integer-only version.
        * libc/machine/spu/fiscanf.c: Ditto.
        * libc/machine/spu/iprintf.c: Ditto.
        * libc/machine/spu/iscanf.c: Ditto.
        * libc/machine/spu/siprintf.c: Ditto.
        * libc/machine/spu/siscanf.c: Ditto.
        * libc/machine/spu/sniprintf.c: Ditto.
        * libc/machine/spu/vfiprintf.c: Ditto.
        * libc/machine/spu/vfiscanf.c: Ditto.
        * libc/machine/spu/viprintf.c: Ditto.
        * libc/machine/spu/viscanf.c: Ditto.
        * libc/machine/spu/vsiprintf.c: Ditto.
        * libc/machine/spu/vsiscanf.c: Ditto.
        * libc/machine/spu/vsniprintf.c: Ditto.
        * libc/machine/spu/fprintf.c: Add support for integer-only
        version.
        * libc/machine/spu/fscanf.c: Ditto.
        * libc/machine/spu/printf.c: Ditto.
        * libc/machine/spu/scanf.c: Ditto.
        * libc/machine/spu/snprintf.c: Ditto.
        * libc/machine/spu/sprintf.c: Ditto.
        * libc/machine/spu/sscanf.c: Ditto.
        * libc/machine/spu/vfprintf.c: Ditto.
        * libc/machine/spu/vfscanf.c: Ditto.
        * libc/machine/spu/vprintf.c: Ditto.
        * libc/machine/spu/vscanf.c: Ditto.
        * libc/machine/spu/vsnprintf.c: Ditto.
        * libc/machine/spu/vsprintf.c: Ditto.
        * libc/machine/spu/vsscanf.c: Ditto.

17 years ago2007-02-20 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Tue, 20 Feb 2007 20:53:35 +0000 (20:53 +0000)]
2007-02-20  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libc/include/stdio.h: Add declaration for vsiprintf.

17 years ago * cygcheck.cc (dump_sysinfo): Add "not supported" to osname on 9x
Corinna Vinschen [Tue, 20 Feb 2007 16:41:54 +0000 (16:41 +0000)]
* cygcheck.cc (dump_sysinfo): Add "not supported" to osname on 9x
machines.  Drop "not supported" for Vista.  Drop "Longhorn" text
for now.

17 years ago * cygwin.din (sem_unlink): Export.
Corinna Vinschen [Tue, 20 Feb 2007 15:48:04 +0000 (15:48 +0000)]
* cygwin.din (sem_unlink): Export.
* posix_ipc.cc: Include thread.h and semaphore.h.  Remove TODO
comment.
(ipc_names): Add max_len member.  Set to maximum length of the path
before tacking on the prefix path.  Set prefix path for named semaphors
to /dev/shm, as on Linux.
(enum ipc_type_t): Change sem to semaphore to avoid name conflicts.
(check_path): Detect empty paths.  Use ipc_names's max_len member.
Use __small_sprintf to create full object path name.  Special case
semaphores.
(ipc_cond_init): Drop superfluous strcpy.
(class ipc_flock): New class to simplify file locking in subsequent
code.
(struct mq_hdr): Raise size of mqh_uname to allow adding a unique
LUID to the name.
(mq_open): Fix formatting.  Create unique synchronization object names
using AllocateLocallyUniqueId.
(struct sem_finfo): New structure defining named semaphore file content.
(sem_open): Move here.  Rework implementation to allow kernel
persistent implementation of POSIX named semaphores.
(_sem_close): Implement sem_close.
(sem_close): Move here.  Just call _sem_close with do_close parameter
set to true.
(sem_unlink): New function.
* pthread.cc (mangle_sem_name): Remove.
(sem_open): Move to posix_ipc.cc.
(sem_close): Ditto.
* syscalls.cc (close_all_files): Call semaphore::terminate here.
* thread.cc: Fix formatting.  Rearrange semaphore functions so that
they are close together.
(semaphore::semaphore): Rework to play nicely with new named semaphore
implementation.
(semaphore::_terminate): Call _sem_close if semaphore is a named
semaphore.
(semaphore::destroy): Don't destroy named semaphores.  Return EINVAL
instead.
(semaphore::close): Only destroy named semaphores.  Return EINVAL
otherwise.
(semaphore::open): Rework to play nicely with new named semaphore
implementation.  Loop through existing semaphores to be able to
return same sem_t pointer as a former call on the same named semaphore.
(semaphore::getinternal): New function called from _sem_close.
* thread.h (class List): Make mx and head public.
(class semaphore): Fix formatting.  Align method declarations with
implementation in thread.cc.  Add members used for named semaphores.
(semaphore::terminate): New static method.
* include/semaphore.h: Redefine SEM_FAILED.  Fix formatting.
(sem_unlink): Add declaration.
* include/cygwin/version.h: Bump API minor number.

17 years ago* exceptions.cc (_cygtls::signal_exit): Only call myself.exit when when
Christopher Faylor [Tue, 20 Feb 2007 14:31:26 +0000 (14:31 +0000)]
* exceptions.cc (_cygtls::signal_exit): Only call myself.exit when when
exit_state indicates that we've visited do_exit.
* sync.h (lock_process::lock_process): Use renamed exit_state -
ES_PROCESS_LOCKED.
* winsup.h: Rename ES_MUTO_SET to ES_PROCESS_LOCKED.

17 years ago [ gas/ChangeLog ]
Thiemo Seufer [Tue, 20 Feb 2007 13:28:54 +0000 (13:28 +0000)]
[ gas/ChangeLog ]
* config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
(macro_build): Add case '2'.
(macro): Expand M_BALIGN to nop, packrl.ph or balign.
(validate_mips_insn): Add support for balign instruction.
(mips_ip): Handle DSP R2 instructions. Support balign instruction.
(OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
command line options.
(s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
(md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
* doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
.set dspr2, .set nodspr2.

[ gas/testsuite/ChangeLog ]
* gas/mips/mips32-dspr2.s, gas/mips/mips32-dspr2.d: New test for
DSP R2.
* gas/mips/mips.exp: Run new test.

[ include/opcode/Changelog ]
* mips.h (OP_SH_BP, OP_MASK_BP): Add support for balign instruction.
(INSN_DSPR2): Add flag for DSP R2 instructions.
(M_BALIGN): New macro.

[ opcodes/ChangeLog ]
* mips-dis.c (mips_arch_choices): Add DSP R2 support.
(print_insn_args): Add support for balign instruction.
* mips-opc.c (D33): New shortcut for DSP R2 instructions.
(mips_builtin_opcodes): Add DSP R2 instructions.

[ sim/mips/ChangeLog ]
* Makefile.in (IGEN_INCLUDE): Add dsp2.igen.
* configure.ac (mips*-sde-elf*, mipsisa32r2*-*-*, mipsisa64r2*-*-*):
Add dsp2 to sim_igen_machine.
* configure: Regenerate.
* dsp.igen (do_ph_op): Add MUL support when op = 2.
(do_ph_mulq): New function to support mulq_rs.ph and mulq_s.ph.
(mulq_rs.ph): Use do_ph_mulq.
(MFHI, MFLO, MTHI, MTLO): Move these instructions to mips.igen.
* mips.igen: Add dsp2 model and include dsp2.igen.
(MFHI, MFLO, MTHI, MTLO): Extend these instructions for
for *mips32r2, *mips64r2, *dsp.
(MADD, MADDU, MSUB, MSUBU, MULT, MULTU): Extend these instructions
for *mips32r2, *mips64r2, *dsp2.
* dsp2.igen: New file for MIPS DSP REV 2 ASE.

[ sim/testsuite/sim/mips/ChangeLog ]
* basic.exp: Run the dsp2 test.
* utils-dsp.inc (dspckacc_astio, dspck_tsimm): New macro.
* mips32-dsp2.s: New test.

17 years ago * fhandler_socket.cc (fhandler_socket::bind): Remove printing wrong
Corinna Vinschen [Tue, 20 Feb 2007 09:48:31 +0000 (09:48 +0000)]
* fhandler_socket.cc (fhandler_socket::bind): Remove printing wrong
errno in debug output.

17 years agoRemove extraneous whitespace.
Christopher Faylor [Tue, 20 Feb 2007 00:16:18 +0000 (00:16 +0000)]
Remove extraneous whitespace.
* pinfo.cc (commune_process): Use default argument to lock_process.
* sigproc.cc: Update copyright.
* select.cc: Ditto.

17 years ago * configure.ac: Adjust for loop syntax.
Joseph Myers [Mon, 19 Feb 2007 17:24:25 +0000 (17:24 +0000)]
* configure.ac: Adjust for loop syntax.
* configure: Regenerate.

17 years agoChangeLog:
Alexandre Oliva [Sun, 18 Feb 2007 22:51:35 +0000 (22:51 +0000)]
ChangeLog:
* configure: Rebuilt.
config/ChangeLog:
* acx.m4 (NCN_STRICT_CHECK_TOOLS): Mark environment variable as
precious.  Prefer it over a cached value.  Use cached value
verbosely.
(NCN_STRICT_CHECK_TARGET_TOOLS): Likewise.  Don't override
environment variable with build-time tools.

17 years ago* configure.ac: Drop multiple occurrences of --enable-languages,
Alexandre Oliva [Sun, 18 Feb 2007 22:46:28 +0000 (22:46 +0000)]
* configure.ac: Drop multiple occurrences of --enable-languages,
and fix its quoting.
* configure: Rebuilt.

17 years agoCorrect spelling of submitter's name in ChangeLog.
Danny Smith [Sun, 18 Feb 2007 09:57:51 +0000 (09:57 +0000)]
Correct spelling of submitter's name in ChangeLog.

17 years ago2007-02-18 Aurimas Cernius <aurisc4@gmail.com>
Danny Smith [Sun, 18 Feb 2007 09:46:48 +0000 (09:46 +0000)]
2007-02-18  Aurimas Cernius  <aurisc4@gmail.com>

* include/excpt.h:  Replace "_try1" in comments  with "__try1".

17 years ago2007-02-18 Jiri Malak <jiri.malak@iol.cz>
Danny Smith [Sun, 18 Feb 2007 08:08:12 +0000 (08:08 +0000)]
2007-02-18  Jiri Malak  <jiri.malak@iol.cz>

* include/windef.h [WATCOM]: Fix !NONAMELESSUNION defines.
* include/winnt.h [WATCOM] (GetCurrentFiber, GetFiberData):
Add prototypes.
[WATCOM] (NtCurrentTeb): Add protype and inline asm definition.

2007-02-18  Vesa Jskelinen  <chaac@users.sourveforge.net>

* lib/user32.def (InternalGetWindowText): Add stub.

17 years agotop level:
Joseph Myers [Sat, 17 Feb 2007 13:33:57 +0000 (13:33 +0000)]
top level:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS): Fix quoting.
* configure: Regenerate.

bfd:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-pkgversion): New option.
* configure: Regenerate.
* Makefile.am (bfdver.h): Substitute for @bfd_version_package@.
* Makefile.in: Regenerate.
* version.h (BFD_VERSION_STRING): Define using
@bfd_version_package@.

bfd/doc:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* Makefile.in: Regenerate.

binutils:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* bucomm.h: Remove include of bin-bugs.h.
* addr2line.c (usage): Don't print empty REPORT_BUGS_TO.
* ar.c (usage): Pass s to list_supported_targets.  Don't print
empty REPORT_BUGS_TO.
* coffdump.c (show_usage): Don't print empty REPORT_BUGS_TO.
* cxxfilt.c (usage): Print bug url when giving help.
* dlltool.c (usage): Likewise.
* dllwrap.c (usage): Likewise.
* nlmconv.c (show_usage): Don't print empty REPORT_BUGS_TO.
* nm.c (usage): Likewise.
* objcopy.c (copy_usage, strip_usage): Likewise.
* objdump.c (usage): Likewise.
* readelf.c ((usage): Likewise. Add STREAM argument.  Adjust
callers.
* size.c (usage): Don't print empty REPORT_BUGS_TO.
* srconv.c (show_usage): Likewise.
* strings.c (usage): Likewise.
* sysdymp.c (show_usage): Likewise.
* windres.c (usage): Likewise.

gas:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* dep-in.sed: Remove bin-bugs.h.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
(DEP_INCLUDES): Likewise.
($(OBJS)): No longer depend on bin-bugs.h.
* Makefile.in: Regenerate.
* doc/Makefile.in: Regenerate.
* as.c (show_usage): Don't print empty REPORT_BUGS_TO.
* as.h: Remove include of bin-bugs.h.

gprof:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-pkgversion, --with-bugurl): New options.
* configure: Regenerate.
* Makefile.am (PKGVERSION, REPORT_BUGS_TO): Define.
(INCLUDES): Define PKGVERSION and REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* gprof.c (usage): Don't print empty REPORT_BUGS_TO.
(main): Include PKGVERSION in version output.
* gprof.h: Remove include of bin-bugs.h.

include:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* bin-bugs.h: Remove.

ld:
2007-02-17  Mark Mitchell  <mark@codesourcery.com>
            Nathan Sidwell  <nathan@codesourcery.com>
            Vladimir Prus  <vladimir@codesourcery.com
            Joseph Myers  <joseph@codesourcery.com>

* configure.in (--with-bugurl): New option.
* configure: Regenerate.
* Makefile.am (REPORT_BUGS_TO): Define.
(INCLUDES): Define REPORT_BUGS_TO.
Regenerate dependencies.
* Makefile.in: Regenerate.
* ld.h: Remove include of bin-bugs.h.
* lexsup.c (help): Don't print empty REPORT_BUGS_TO.

17 years ago * posix_ipc.cc (mq_open): Avoid compiler warning. Initialize mqhdr
Corinna Vinschen [Thu, 15 Feb 2007 17:49:25 +0000 (17:49 +0000)]
* posix_ipc.cc (mq_open): Avoid compiler warning.  Initialize mqhdr
before using it in file exists case.
* include/mqueue.h (mqd_t): Make non-pointer type.

17 years ago * posix_ipc.cc (ipc_mutex_init): Create global object name.
Corinna Vinschen [Thu, 15 Feb 2007 11:28:46 +0000 (11:28 +0000)]
* posix_ipc.cc (ipc_mutex_init): Create global object name.
(ipc_cond_init): Ditto.
(struct mq_hdr): Add mqh_uname member to store synchronization object
name.
(mq_open): Create unique synchronization object name and store in
mq_hdr->mqh_uname.  Use this name in calls to ipc_mutex_init and
ipc_cond_init.

17 years ago* sparc/cygmon.ld.src: Link .rodata.* input sections into .text output section.
Nick Clifton [Thu, 15 Feb 2007 09:53:56 +0000 (09:53 +0000)]
* sparc/cygmon.ld.src: Link .rodata.* input sections into .text output section.
* sparc/cygmon-sparc64-ld.src: Likewise.

17 years ago * Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
Danny Smith [Wed, 14 Feb 2007 23:42:07 +0000 (23:42 +0000)]
* Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
* mingwex/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.
* profile/Makefile.in (ALL_CFLAGS): Put W32API_INCLUDE after INCLUDES.
(ALL_CXXFLAGS): Likewise.

17 years ago2007-02-14 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Wed, 14 Feb 2007 23:18:25 +0000 (23:18 +0000)]
2007-02-14  Patrick Mansfield <patmans@us.ibm.com>

        Add a floating point environment for SPU (cell):

        * configure.host: add libm_machine_dir=spu.
        * libm/machine/configure: Add spu.
        * libm/machine/configure.in: regenerated with spu added.
        * libc/machine/spu/include/fenv.h: New file.
        * libc/machine/spu/sys/fenv.h: Ditto.
        * libm/machine/spu/Makefile.am: Ditto.
        * libm/machine/spu/Makefile.in: Ditto.
        * libm/machine/spu/aclocal.m4: Ditto.
        * libm/machine/spu/configure: Ditto.
        * libm/machine/spu/configure.in: Ditto.
        * libm/machine/spu/fe_dfl_env.c: Ditto.
        * libm/machine/spu/feclearexcept.c: Ditto.
        * libm/machine/spu/fegetenv.c: Ditto.
        * libm/machine/spu/fegetexceptflag.c: Ditto.
        * libm/machine/spu/fegetround.c: Ditto.
        * libm/machine/spu/feholdexcept.c: Ditto.
        * libm/machine/spu/feraiseexcept.c: Ditto.
        * libm/machine/spu/fesetenv.c: Ditto.
        * libm/machine/spu/fesetexceptflag.c: Ditto.
        * libm/machine/spu/fesetround.c: Ditto.
        * libm/machine/spu/fetestexcept.c: Ditto.
        * libm/machine/spu/feupdateenv.c: Ditto.
        * libm/machine/spu/headers/feclearexcept.h: Ditto.
        * libm/machine/spu/headers/fefpscr.h: Ditto.
        * libm/machine/spu/headers/fegetenv.h: Ditto.
        * libm/machine/spu/headers/fegetexceptflag.h: Ditto.
        * libm/machine/spu/headers/fegetround.h: Ditto.
        * libm/machine/spu/headers/feholdexcept.h: Ditto.
        * libm/machine/spu/headers/feraiseexcept.h: Ditto.
        * libm/machine/spu/headers/fesetenv.h: Ditto.
        * libm/machine/spu/headers/fesetexceptflag.h: Ditto.
        * libm/machine/spu/headers/fesetround.h: Ditto.
        * libm/machine/spu/headers/fetestexcept.h: Ditto.
        * libm/machine/spu/headers/feupdateenv.h: Ditto.

17 years ago * libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
Corinna Vinschen [Wed, 14 Feb 2007 10:07:02 +0000 (10:07 +0000)]
* libc/include/sys/features.h: Add _POSIX_MESSAGE_PASSING for
Cygwin.

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