]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
16 years agoRearrange to sync with gcc.
DJ Delorie [Wed, 12 Sep 2007 18:51:47 +0000 (18:51 +0000)]
Rearrange to sync with gcc.

16 years ago2007-09-12 David Daney <ddaney@avtrex.com>
David Daney [Wed, 12 Sep 2007 17:51:22 +0000 (17:51 +0000)]
2007-09-12  David Daney  <ddaney@avtrex.com>

* configure.ac: Remove mips64*-*-linux* noconfigdirs section, thus
enabling libgcj.
* configure: Regenerate.

2007-09-12  Richard Guenther  <rguenther@suse.de>

* configure.ac (--enable-stage1-checking): If neither --enable-checking
nor --disable-checking is provided also turn on yes and types
checking for stage1.
* configure: Re-generate.

16 years agoMove the last entry to proper ChangeLog.
H.J. Lu [Wed, 12 Sep 2007 04:42:14 +0000 (04:42 +0000)]
Move the last entry to proper ChangeLog.

16 years agobfd/
Kazu Hirata [Tue, 11 Sep 2007 16:07:50 +0000 (16:07 +0000)]
bfd/
* archures.c: Add bfd_mach_mcf_isa_c_nodiv,
bfd_mach_mcf_isa_c_nodiv_mac & bfd_mach_mcf_isa_c_nodiv_emac.
* ieee.c (ieee_write_processor): Update coldfire architecture
list.
* bfd-in2.h: Rebuilt.
* cpu-m68k.c (arch_info_struct): Add isa_c nodiv architectures.
(m68k_arch_features): Likewise.
* elf32-m68k.c (elf32_m68k_object_p): Add EF_M68K_CF_ISA_C_NODIV.
(elf32_m68k_print_private_bfd_data): Likewise.

gas/
* config/tc-m68k.c (m68k_ip): Add mcfisa_c case.
(m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV.

include/elf/
* m68k.h (EF_M68K_CF_ISA_C_NODIV): New.

16 years ago2007-09-06 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
Andrew Haley [Tue, 11 Sep 2007 13:10:20 +0000 (13:10 +0000)]
2007-09-06  Francois-Xavier Coudert  <fxcoudert@gcc.gnu.org>

        PR target/33281
        * configure.ac: Use config/mh-mingw on mingw.
        * configure: Regenerate.
        * config/mh-mingw: New host makefile fragment.

16 years ago2007-09-10 Rask Ingemann Lambertsen <rask@sygehus.dk>
DJ Delorie [Tue, 11 Sep 2007 00:22:05 +0000 (00:22 +0000)]
2007-09-10  Rask Ingemann Lambertsen  <rask@sygehus.dk>
PR other/32154
* configure.ac: For libgloss targets, point the linker to the linker
script, startup code and simulator library.
* configure: Regenerate.

16 years ago2007-09-09 Andrew Haley <aph@redhat.com>
Andrew Haley [Sun, 9 Sep 2007 08:19:50 +0000 (08:19 +0000)]
2007-09-09  Andrew Haley  <aph@redhat.com>

        * configure.ac (noconfigdirs): Remove target-libffi and
        target-libjava.

16 years ago * include/cygwin/config.h: Conditionalize inline __getreent()
Brian Dessent [Sat, 8 Sep 2007 10:51:37 +0000 (10:51 +0000)]
* include/cygwin/config.h: Conditionalize inline __getreent()
definition on _COMPILING_NEWLIB.

16 years ago2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 Sep 2007 21:24:55 +0000 (21:24 +0000)]
2007-09-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/_types.h: Protect all types with flag
        checks to allow definition in machine/_types.h.

16 years ago2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 Sep 2007 21:18:03 +0000 (21:18 +0000)]
2007-09-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/sys/_types.h: Add _fpos_t and _fpos64_t
        definitions in light of the previous change.

16 years ago2007-09-07 Patrick Mansfield <patmans@us.ibm.com>
Jeff Johnston [Fri, 7 Sep 2007 21:16:25 +0000 (21:16 +0000)]
2007-09-07 Patrick Mansfield <patmans@us.ibm.com>

* libc/include/machine/_default_types.h: New file, contains what
was previously in libc/include/machine/_types.h.
* libc/include/machine/_types.h: Now only includes
machine/_default_types.h.
* libc/include/sys/reent.h: Remove _fpos_t and _fpos64_t.
* libc/include/sys/_types.h: Move _fpos_t and _fpos64_t to here,
with conditional declarations.
* libc/machine/spu/machine/_types.h: New file, add SPU specific
typedefs for _fpos_t and _fpos64_t.

16 years ago2007-09-07 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 7 Sep 2007 15:30:59 +0000 (15:30 +0000)]
2007-09-07  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h (_M_LOG2E): Replace with..
        (_M_LOG2_E): New macro.
        (log2, log2f, M_LOG2_E): Use _M_LOG2_E.

16 years agoconfig/
Richard Sandiford [Fri, 7 Sep 2007 07:38:47 +0000 (07:38 +0000)]
config/
* mt-sde (CFLAGS_FOR_TARGET): Add -mno-gpopt.
(CXXFLAGS_FOR_TARGET): Likewise.

16 years ago * libc/reent/getreent.c: Allow for case where __getreent is
Brian Dessent [Fri, 7 Sep 2007 00:45:55 +0000 (00:45 +0000)]
* libc/reent/getreent.c: Allow for case where __getreent is
defined as a macro.

16 years ago * include/cygwin/config.h (__getreent): Define inline version.
Brian Dessent [Fri, 7 Sep 2007 00:44:27 +0000 (00:44 +0000)]
* include/cygwin/config.h (__getreent): Define inline version.

16 years agoFix typo in ChangeLog and math.h.
Jeff Johnston [Thu, 6 Sep 2007 19:55:34 +0000 (19:55 +0000)]
Fix typo in ChangeLog and math.h.

16 years ago2007-09-06 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 6 Sep 2007 19:51:46 +0000 (19:51 +0000)]
2007-09-06  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/math.h (_M_LOG2E): New log2 of e macro.
        (log2): Use _M_LOG2E instead of M_LOG2E.
        (log2f): Ditto.
        (M_LOG2E): Define to be _M_LOG2E.

16 years ago * include/sys/stdio.h (_flockfile): Don't try to lock a FILE
Brian Dessent [Thu, 6 Sep 2007 18:47:44 +0000 (18:47 +0000)]
* include/sys/stdio.h (_flockfile): Don't try to lock a FILE
that has the __SSTR flag set.
(_ftrylockfile): Likewise.
(_funlockfile): Likewise.

16 years agomerge from gcc
DJ Delorie [Thu, 6 Sep 2007 17:22:36 +0000 (17:22 +0000)]
merge from gcc

16 years ago2007-09-04 Kazunori Asayama <asayama@sm.sony.co.jp>
Jeff Johnston [Tue, 4 Sep 2007 17:33:10 +0000 (17:33 +0000)]
2007-09-04  Kazunori Asayama <asayama@sm.sony.co.jp>

        * libm/math/wf_tgamma.c: Add missing include.

16 years ago* configure: Regenerate.
Christopher Faylor [Fri, 31 Aug 2007 23:11:04 +0000 (23:11 +0000)]
* configure: Regenerate.

16 years ago2007-08-31 Antony King <antony.king@st.com>
Jeff Johnston [Fri, 31 Aug 2007 21:21:27 +0000 (21:21 +0000)]
2007-08-31  Antony King  <antony.king@st.com>

        * libc/stdlib/mprec.h [_DOUBLE_IS_32BITS}: Define IEEE_Arith
        bits and redefine associated dword0 macro (rvalue issue).
        * libc/stdio/vfieeefp.h: Ditto.
        * libc/stdlib/strtod.c: Add checks for _DOUBLE_IS_32BITS
        to prevent setting dword1 which is an rvalue only.

16 years agomerge from gcc
DJ Delorie [Fri, 31 Aug 2007 20:20:44 +0000 (20:20 +0000)]
merge from gcc

16 years ago2007-08-31 Dave Korn <dave.korn@artimi.com>
Dave Korn [Fri, 31 Aug 2007 00:39:41 +0000 (00:39 +0000)]
2007-08-31  Dave Korn  <dave.korn@artimi.com>

* mkgroup.c (enum_groups):  Use MAX_PREFERRED_LENGTH in netgroupenum
call so that it will automatically size returned buffer sufficiently.

16 years agoMove changelog
Richard Sandiford [Thu, 30 Aug 2007 20:22:12 +0000 (20:22 +0000)]
Move changelog

16 years ago* config.sub, config.guess: Update from upstream sources.
Nick Clifton [Wed, 29 Aug 2007 15:23:21 +0000 (15:23 +0000)]
* config.sub, config.guess: Update from upstream sources.

16 years ago* config.sub: Add support for cr16 target.
Nick Clifton [Wed, 29 Aug 2007 08:57:40 +0000 (08:57 +0000)]
* config.sub: Add support for cr16 target.

16 years ago2007-08-28 Hans Kester <hans.kester@ellips.nl>
Jeff Johnston [Tue, 28 Aug 2007 21:56:50 +0000 (21:56 +0000)]
2007-08-28  Hans Kester  <hans.kester@ellips.nl>

        * configure.host: Added support for x86_64.
        * libc/include/machine/ieeefp.h: Define __IEEE_LITTLE_ENDIAN for x86_64.
        * libc/include/machine/setjmp.h: Define _JBTYPE and _JBLEN for x86_64.
        * libc/machine/x86_64/aclocal.m4: Generated.
        * libc/machine/x86_64/configure.in: New.
        * libc/machine/x86_64/configure: Generated.
        * libc/machine/x86_64/Makefile.am: New.
        * libc/machine/x86_64/Makefile.in: Generated.
        * libc/machine/x86_64/setjmp.S: New.
        * libc/machine/x86_64/memcpy.S: New.
        * libc/machine/x86_64/memset.S: New.
        * libc/machine/configure.in: Added support for x86_64.
        * libc/machine/configure: Regenerated.

16 years agoMake snprintf() and vsnprintf() conform to C99.
Keith Marshall [Sat, 25 Aug 2007 13:49:37 +0000 (13:49 +0000)]
Make snprintf() and vsnprintf() conform to C99.

16 years agoinclude/elf/
Alan Modra [Sat, 25 Aug 2007 13:20:40 +0000 (13:20 +0000)]
include/elf/
* common.h (NT_SPU): Define.
bfd/
* elf.c (elfcore_grok_spu_note): New function.
(elf_parse_notes): Call it.
binutils/
* readelf.c (process_note): Recognize SPU core file notes.

16 years ago2007-08-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 24 Aug 2007 20:49:59 +0000 (20:49 +0000)]
2007-08-24  Jeff Johnston  <jjohnstn@redhat.com>

        * libm/common/sf_lround.c (lroundf): Cast sizeof calculation
        to int before comparing it to a signed int value.

16 years ago * syscalls.cc (open): Don't follow symlinks if O_EXCL is given.
Corinna Vinschen [Fri, 24 Aug 2007 14:55:56 +0000 (14:55 +0000)]
* syscalls.cc (open): Don't follow symlinks if O_EXCL is given.

16 years ago* dll.sgml: myprog.ca -> myprog.c
Christopher Faylor [Fri, 24 Aug 2007 14:52:39 +0000 (14:52 +0000)]
* dll.sgml: myprog.ca -> myprog.c

16 years agobinutils/
Ben Elliston [Fri, 24 Aug 2007 00:56:30 +0000 (00:56 +0000)]
binutils/
* doc/binutils.texi (objdump): Document -Mppcps.

gas/
* config/tc-ppc.c (parse_cpu): Handle "750cl".
(pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7".
(md_show_usage): Document -m750cl.
(md_assemble): Handle two delimiters in succession (eg. `),').
* doc/c-ppc.texi (PowerPC-Opts): Document -m750cl.
* testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests.
* testsuite/gas/ppc/ppc750ps.s: New file.
* testsuite/gas/ppc/ppc750ps.d: Likewise.

include/opcode/
* ppc.h (PPC_OPCODE_PPCPS): New.

opcodes/
* ppc-opc.c (PSW, PSWM, PSQ, PSQM, PSD, MTMSRD_L): New.
(XOPS, XOPS_MASK, XW, XW_MASK): Likewise.
(PPCPS): Likewise.
(powerpc_opcodes): Add all pair singles instructions.
* ppc-dis.c (powerpc_dialect): Handle "ppcps".
(print_ppc_disassembler_options): Document -Mppcps.

16 years ago * libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
Hans-Peter Nilsson [Thu, 23 Aug 2007 23:40:28 +0000 (23:40 +0000)]
* libc/machine/cris/sys/errno.h (ECANCELED, ENOKEY, EKEYEXPIRED)
(EKEYREVOKED, EKEYREJECTED, EOWNERDEAD, ENOTRECOVERABLE, ENOTSUP):
Define.

16 years ago2007-08-23 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
Jeff Johnston [Thu, 23 Aug 2007 18:45:22 +0000 (18:45 +0000)]
2007-08-23  Hidetaka Takano  <hidetaka.takano@glb.toshiba.co.jp>

        Reduce the memory consumption of variable argument functions
        for SPU (cell):
        * libc/machine/spu/Makefile.am: Replace printf/scanf family C sources
          to assembler sources.
        * libc/machine/spu/Makefile.in: Regenerated.
        * libc/machine/spu/stdio.c: Add __check_init function wrapping
          CHECK_INIT macro to use from assembler routines.
        * libc/machine/spu/c99ppe.h: Add definitions for assembler code.
        * libc/machine/spu/fiprintf.S: New file.
        * libc/machine/spu/fiscanf.S: Ditto.
        * libc/machine/spu/fprintf.S: Ditto.
        * libc/machine/spu/fscanf.S: Ditto.
        * libc/machine/spu/iprintf.S: Ditto.
        * libc/machine/spu/iscanf.S: Ditto.
        * libc/machine/spu/printf.S: Ditto.
        * libc/machine/spu/scanf.S: Ditto.
        * libc/machine/spu/siprintf.S: Ditto.
        * libc/machine/spu/siscanf.S: Ditto.
        * libc/machine/spu/sniprintf.S: Ditto.
        * libc/machine/spu/snprintf.S: Ditto.
        * libc/machine/spu/sprintf.S: Ditto.
        * libc/machine/spu/sscanf.S: Ditto.
        * libc/machine/spu/stack_reg_va.S: Ditto.
        * libc/machine/spu/syscall.def: Ditto. (for maintenance)
        * libc/machine/spu/mk_syscalls: Ditto. (for maintenance)
        * libc/machine/spu/fiprintf.c: Removed. (Replaced by .S)
        * libc/machine/spu/fiscanf.c: Ditto.
        * libc/machine/spu/fprintf.c: Ditto.
        * libc/machine/spu/fscanf.c: Ditto.
        * libc/machine/spu/iprintf.c: Ditto.
        * libc/machine/spu/iscanf.c: Ditto.
        * libc/machine/spu/printf.c: Ditto.
        * libc/machine/spu/scanf.c: Ditto.
        * libc/machine/spu/siprintf.c: Ditto.
        * libc/machine/spu/siscanf.c: Ditto.
        * libc/machine/spu/sniprintf.c: Ditto.
        * libc/machine/spu/snprintf.c: Ditto.
        * libc/machine/spu/sprintf.c: Ditto.
        * libc/machine/spu/sscanf.c: Ditto.

16 years ago Switch the license of all .h files to GPLv3.
Joel Brobecker [Thu, 23 Aug 2007 18:17:33 +0000 (18:17 +0000)]
    Switch the license of all .h files to GPLv3.

16 years ago * ntdll.h (STATUS_NO_SUCH_FILE): Define.
Corinna Vinschen [Thu, 23 Aug 2007 07:43:24 +0000 (07:43 +0000)]
* ntdll.h (STATUS_NO_SUCH_FILE): Define.
* path.cc (get_nt_native_path): Reset upath.Length to 0 on each
invocation.
(symlink_info::check): Use NT native functions.

16 years ago * uinfo.cc (pwdgrp::load): Use NT native functions.
Corinna Vinschen [Tue, 21 Aug 2007 17:38:27 +0000 (17:38 +0000)]
* uinfo.cc (pwdgrp::load): Use NT native functions.

16 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Rewrite checking
Corinna Vinschen [Tue, 21 Aug 2007 15:37:10 +0000 (15:37 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Rewrite checking
for executable file magic using a thread safe method and re-enable this
code.

16 years ago * syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.
Corinna Vinschen [Tue, 21 Aug 2007 12:39:53 +0000 (12:39 +0000)]
* syscalls.cc (unlink_nt): Drop one local FILE_BASIC_INFORMATION struct.

16 years ago * ntdll.h (NtNotifyChangeDirectoryFile): Declare.
Corinna Vinschen [Tue, 21 Aug 2007 12:37:40 +0000 (12:37 +0000)]
* ntdll.h (NtNotifyChangeDirectoryFile): Declare.
(NtQueryAttributesFile): Move to maintain alphabetical order of
declarations.  Add comment to note that timestamp information returned
by NtQueryAttributesFile is unreliable.
* path.h (etc::changed_h): Move here.
(etc::fn): Change type to OBJECT_ATTRIBUTES.
(etc::last_modified): Change type to LARGE_INTEGER.
(etc::init): Take PUNICODE_STRING as second argument.
* path.cc: Accomodate above changes.
(etc::test_file_change): Use NT native functions.
(etc::dir_changed): Ditto.
* uinfo.cc (pwdgrp::load): Call etc::init with NT native path.

16 years ago * fhandler_disk_file.cc: Change debugging output througout to print
Corinna Vinschen [Tue, 21 Aug 2007 12:09:38 +0000 (12:09 +0000)]
* fhandler_disk_file.cc: Change debugging output througout to print
the NT status consistently.  Use UNICODE path information if available.

16 years agoBring over from the GCC tree:
Ben Elliston [Tue, 21 Aug 2007 04:15:07 +0000 (04:15 +0000)]
Bring over from the GCC tree:

2007-08-21  Richard Guenther  <rguenther@suse.de>

  * configure.ac: Add types checking to stage1 checking flags.
* configure: Regenerate.

16 years ago * hookapi.cc (ld_preload): Call LoadLibraryW.
Corinna Vinschen [Mon, 20 Aug 2007 15:41:08 +0000 (15:41 +0000)]
* hookapi.cc (ld_preload): Call LoadLibraryW.
* path.h (path_conv::get_wide_win32_path_len): Define.

16 years ago * fhandler.cc (rootdir): Delete.
Corinna Vinschen [Mon, 20 Aug 2007 15:16:27 +0000 (15:16 +0000)]
* fhandler.cc (rootdir): Delete.
* winsup.h (rootdir): Drop declaration.

16 years ago * path.cc (fillout_mntent): Append backslash to drive-only paths before
Corinna Vinschen [Sun, 19 Aug 2007 15:55:06 +0000 (15:55 +0000)]
* path.cc (fillout_mntent): Append backslash to drive-only paths before
calling fs_info::update.
* path.h (fs_info::clear): Simplify.
(fs_info::fs_info): Add constructor.

16 years ago2007-08-18 Paul Brook <paul@codesourcery.com>
Joseph Myers [Sat, 18 Aug 2007 15:19:10 +0000 (15:19 +0000)]
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* Makefile.tpl (DEBUG_PREFIX_CFLAGS_FOR_TARGET): New.
(CFLAGS_FOR_TARGET, CXXFLAGS_FOR_TARGET): Include it.
* Makefile.in: Regenerate.
* configure.ac (--with-debug-prefix-map): New.
* configure: Regenerate.

config:
2007-08-18  Paul Brook  <paul@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>

* mt-gnu (CXXFLAGS_FOR_TARGET): Add
$(DEBUG_PREFIX_CFLAGS_FOR_TARGET).

16 years ago * spawn.cc (spawn_guts): Fix typo in comment.
Corinna Vinschen [Fri, 17 Aug 2007 20:22:24 +0000 (20:22 +0000)]
* spawn.cc (spawn_guts): Fix typo in comment.

16 years ago * autoload.cc (CloseDesktop): Define.
Corinna Vinschen [Fri, 17 Aug 2007 19:58:57 +0000 (19:58 +0000)]
* autoload.cc (CloseDesktop): Define.
(CreateDesktopA): Define.
(SetThreadDesktop): Define.
* spawn.cc (spawn_guts): When starting a process under another user
account, don't open up permissions on current window station and
desktop.  Instead, if not in interactive session, create a new per-user
window station plus default desktop and use that for the child process.

16 years ago2007-08-17 Richard Sandiford <richard@codesourcery.com>
Richard Sandiford [Fri, 17 Aug 2007 13:15:24 +0000 (13:15 +0000)]
2007-08-17  Richard Sandiford  <richard@codesourcery.com>
    Nigel Stephens  <nigel@mips.com>

* config/mt-sde: New file.
* configure.ac (mips*-sde-elf*): New stanza.  Use config/mt-sde
as target_makefile_frag.
* configure: Regenerate.

16 years ago* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Alexandre Oliva [Fri, 17 Aug 2007 00:03:44 +0000 (00:03 +0000)]
* Makefile.def (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS):
Add to flags_to_pass.  Adjust uses of BOOT_CFLAGS.
(bootstrap2-debug, bootstrap-debug): New bootstrap stages.
* Makefile.tpl (STAGE2_CFLAGS, STAGE3_CFLAGS, STAGE4_CFLAGS): New.
(do-compare, do-compare3, do-compare-debug): New.
([+compare-target+]): Use them.

16 years agobfd/
H.J. Lu [Thu, 16 Aug 2007 18:49:42 +0000 (18:49 +0000)]
bfd/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c: Revert last change.

binutils/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c: Revert last change.

include/elf/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* common.h: Revert last change.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Handle S_IFSOCK
Corinna Vinschen [Thu, 16 Aug 2007 16:59:25 +0000 (16:59 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Handle S_IFSOCK
mode bit by setting the SYSTEM attribute.
* fhandler_socket.cc (fhandler_socket::fchmod): Add S_IFSOCK mode bit
when calling fhandler_disk_file::fchmod.  Don't set attributes here.

16 years ago * path.h (path_conv::operator char *): Delete.
Corinna Vinschen [Thu, 16 Aug 2007 15:07:42 +0000 (15:07 +0000)]
* path.h (path_conv::operator char *): Delete.
(path_conv::operator const char *): Delete.
* dlfcn.cc: Throughout, replace path_conv::operator char * and
path_conv::operator const char * by call to path_conv::get_win32
for easier transition to UNICODE_PATHs.
* fhandler_socket.cc: Ditto.
* hookapi.cc: Ditto.
* path.cc: Ditto.
* spawn.cc: Ditto.
* syscalls.cc: Ditto.
* uinfo.cc: Ditto.

16 years ago * dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING.
Corinna Vinschen [Thu, 16 Aug 2007 14:46:23 +0000 (14:46 +0000)]
* dir.cc (readdir_worker): Convert w32name to PUNICODE_STRING.
* sec_acl.cc (getacl): Convert debug output to print native NT path.
* security.cc (set_file_attribute): Ditto.
* syscalls.cc (try_to_bin): Ditto and fix buggy debug statement.

16 years ago * ntdll.h (RtlAcquirePebLock): Declare.
Corinna Vinschen [Thu, 16 Aug 2007 14:30:53 +0000 (14:30 +0000)]
* ntdll.h (RtlAcquirePebLock): Declare.
(RtlReleasePebLock): Declare.
* path.cc (cwdstuff::set): Change PEB only while it's locked.

16 years ago * fhandler.h (fhandler_base::get_namehash): Use NT native path.
Corinna Vinschen [Thu, 16 Aug 2007 14:10:06 +0000 (14:10 +0000)]
* fhandler.h (fhandler_base::get_namehash): Use NT native path.
* fhandler_disk_file.cc (readdir_get_ino): Ditto in call to
hash_path_name.

16 years agobfd/
H.J. Lu [Thu, 16 Aug 2007 13:38:09 +0000 (13:38 +0000)]
bfd/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* elf.c (get_segment_type): Change PT_GNU_STACK to PT_GNU_ATTR.
(bfd_section_from_phdr): Likewise.
(get_program_header_size): Likewise. Add a PT_GNU_ATTR segment
if there is an attribute section.
(_bfd_elf_map_sections_to_segments): Likewise.
(IS_SECTION_IN_INPUT_SEGMENT): Likewise.

binutils/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* readelf.c (get_segment_type): Change PT_GNU_STACK to
PT_GNU_ATTR.

include/elf/

2007-08-16  H.J. Lu  <hongjiu.lu@intel.com>

* common.h (PT_GNU_STACK): Renamed to ...
(PT_GNU_ATTR): This.
(PT_GNU_STACK): New.  Make an alias of PT_GNU_ATTR.

16 years ago * ntdll.h (RtlCreateUnicodeStringFromAsciiz): Fix declaration.
Corinna Vinschen [Thu, 16 Aug 2007 10:41:45 +0000 (10:41 +0000)]
* ntdll.h (RtlCreateUnicodeStringFromAsciiz): Fix declaration.
(RtlUpcaseUnicodeChar): Declare.
* path.cc (hash_path_name): Split into three functions, taking
the path as char *, PWCSTR, or PUNICODE_STRING.  Move implementation
into PUNICODE_STRING-based function.  Drop old drive-relative path
consideration.
* winsup.h (iswdirsep): Like isdirsep but for WCHARs.
(isabspath_u): Like isabspath, for PUNICODE_STRINGs.
(iswabspath): Like isabspath, for PWCHARs.
(hash_path_name): Add new declarations.

16 years ago * path.cc (get_nt_native_path): Allow to convert special paths which
Corinna Vinschen [Wed, 15 Aug 2007 16:27:09 +0000 (16:27 +0000)]
* path.cc (get_nt_native_path): Allow to convert special paths which
have no native NT path representation for simplified debug output.
* syscalls.cc: Convert debug output to print native NT path.
(unlink): Drop redundant debug output.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Drop superfluous
Corinna Vinschen [Wed, 15 Aug 2007 15:31:19 +0000 (15:31 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop superfluous
test for trailing dot.
* path.h (path_conv::operator []): Remove.

16 years ago * fhandler_socket.cc (get_inet_addr): Use NT native functions for
Corinna Vinschen [Wed, 15 Aug 2007 15:17:05 +0000 (15:17 +0000)]
* fhandler_socket.cc (get_inet_addr): Use NT native functions for
accessing the file representing the local socket.
(fhandler_socket::bind): Ditto.
* ntdll.h: Declare NtReadFile.

16 years ago * path.cc (symlink_info::check): In case of ERROR_SHARING_VIOLATION and
Corinna Vinschen [Tue, 14 Aug 2007 16:19:13 +0000 (16:19 +0000)]
* path.cc (symlink_info::check): In case of ERROR_SHARING_VIOLATION and
ERROR_ACCESS_DENIED, try to get file attributes by using directory
functions.

16 years ago * path.cc (fs_info::update): Correctly handle the volume root directory.
Corinna Vinschen [Tue, 14 Aug 2007 15:54:45 +0000 (15:54 +0000)]
* path.cc (fs_info::update): Correctly handle the volume root directory.

16 years ago * fhandler.h (fhandler_base::pc): Make public.
Corinna Vinschen [Tue, 14 Aug 2007 14:48:52 +0000 (14:48 +0000)]
* fhandler.h (fhandler_base::pc): Make public.
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop extern
declaration of stat_suffixes.  Use NT native path in debug output.
(fhandler_base::utimes_fs): Simplify closeit case.  Use close_fs
to close newly opened file handle.
(fhandler_base::open_fs): Use NT native path in debug output.
* path.cc: Throughout drop extern declaration of stat_suffixes.
* path.h (stat_suffixes): Declare.
* sec_acl.cc (acl_worker): Drop extern declaration of stat_suffixes.
* times.cc (utimes_worker): Take path_conv as parameter instead of
single-byte pathnam, drop nofollow argument, accommodate throughout.
Compare UNICODE paths when enumerating file descriptors.  Fix
formatting.  Use NT native path in debug output.

16 years ago * mmap.cc: Call NtClose instead of CloseHandle throughout.
Corinna Vinschen [Mon, 13 Aug 2007 19:44:31 +0000 (19:44 +0000)]
* mmap.cc: Call NtClose instead of CloseHandle throughout.
(CreateMapping): Drop unused last argument.  Accommodate throughout.
(mmap64): Re-open file with execute permissions using NtOpenFile.

16 years ago * fhandler.h (fhandler_base::close_fs): Reintroduce (as inline function)
Corinna Vinschen [Mon, 13 Aug 2007 19:15:47 +0000 (19:15 +0000)]
* fhandler.h (fhandler_base::close_fs): Reintroduce (as inline function)
for clearness.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Revert previous
change.
(fhandler_base::open_fs): Ditto.
* fhandler_socket.cc (fhandler_socket::close): Ditto.

16 years ago2007-08-13 Carlos O'Donell <carlos@codesourcery.com>
Jeff Johnston [Mon, 13 Aug 2007 18:13:39 +0000 (18:13 +0000)]
2007-08-13  Carlos O'Donell  <carlos@codesourcery.com>

* arm/crt0.S: Remove '.set' for __stack, hardware_init_hook,
and software_init_hook.

16 years ago * Makefile.in (DLL_OFILES): Remove delqueue.o.
Corinna Vinschen [Mon, 13 Aug 2007 17:16:05 +0000 (17:16 +0000)]
* Makefile.in (DLL_OFILES): Remove delqueue.o.
* delqueue.cc: Delete.
* fhandler.h (fhandler_base::close_fs): Drop declaration.
(fhandler_disk_file::close): Drop declaration.
* fhandler_disk_file.cc (fhandler_base::fstat_fs): Call close instead of
close_fs.
(fhandler_base::fstat_helper): Use open FH_UNIX handle in call to
get_file_attribute.
(fhandler_base::open_fs): Call close instead of get_file_attribute.
(fhandler_disk_file::close): Remove.
(fhandler_base::close_fs): Remove.
* fhandler_socket.cc (fhandler_socket::close): Just call
fhandler_base::close for FH_UNIX sockets.
* shared.cc (user_shared_initialize): Drop call to
user_shared->delqueue.init.
* shared_info.h (CURR_USER_MAGIC): Change according to below change.
(MAX_DELQUEUES_PENDING): Remove.
(class delqueue_list): Remove.
(class user_info): Remove delqueue.
* syscalls.cc (close_all_files): Drop call to
user_shared->delqueue.process_queue.
(unlink): Drop delqueue handling.

16 years ago * devices.in (dev_storage): Use native NT device name for kmsg mailslot.
Corinna Vinschen [Mon, 13 Aug 2007 15:08:25 +0000 (15:08 +0000)]
* devices.in (dev_storage): Use native NT device name for kmsg mailslot.
* devices.cc: Regenerate.
* fhandler.cc (fhandler_base::operator =): Use path_conv assignment
operator.
(fhandler_base::set_name): Ditto.
(fhandler_base::open): Use NT native path in debug output.
* fhandler_mailslot.cc: Convert to NT native function calls.
* ntdll.h (struct _FILE_MAILSLOT_SET_INFORMATION): Define.
(NtCreateMailslotFile): Declare.
* path.cc (path_conv::set_normalized_path): Don't set wide_path to NULL.
(path_conv::set_name): Remove unused function.
* path.h (path_conv::set_name): Drop declaration.
(path_conv::operator =): Define.

16 years ago* standards.texi: Import 22 July 2007 version.
Nick Clifton [Mon, 13 Aug 2007 09:45:22 +0000 (09:45 +0000)]
* standards.texi: Import 22 July 2007 version.
* fdl.texi: Import version 1.2.
* make-stds.texi: Import 2006 version.

16 years ago * configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Pass
Ben Elliston [Mon, 13 Aug 2007 01:32:36 +0000 (01:32 +0000)]
* configure.ac (TOPLEVEL_CONFIGURE_ARGUMENTS, baseargs): Pass
--silent if $silent.
* configure: Regenerate.

16 years ago* faq-programming.xml: Clarify where to run "make check".
Christopher Faylor [Sun, 12 Aug 2007 19:45:45 +0000 (19:45 +0000)]
* faq-programming.xml: Clarify where to run "make check".

16 years ago * src-release (DEVO_SUPPORT): Add COPYING3 and COPYING3.LIB.
Daniel Jacobowitz [Sun, 12 Aug 2007 19:05:42 +0000 (19:05 +0000)]
* src-release (DEVO_SUPPORT): Add COPYING3 and COPYING3.LIB.

16 years ago * fhandler.cc (fhandler_base::open): Remove HIDDEN_DOT_FILES code.
Corinna Vinschen [Sun, 12 Aug 2007 15:42:02 +0000 (15:42 +0000)]
* fhandler.cc (fhandler_base::open): Remove HIDDEN_DOT_FILES code.
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Ditto.
* path.cc (symlink_worker): Ditto.

16 years ago * syscalls.cc (getw): Remove redundant implementation.
Corinna Vinschen [Sun, 12 Aug 2007 15:20:16 +0000 (15:20 +0000)]
* syscalls.cc (getw): Remove redundant implementation.
(putw): Ditto.
(wcscmp): Ditto.
(wcslen): Ditto.
(memccpy): Ditto.

16 years ago * ntdll.h: Add descriptive comments to special Rtl functions.
Corinna Vinschen [Sun, 12 Aug 2007 12:48:02 +0000 (12:48 +0000)]
* ntdll.h: Add descriptive comments to special Rtl functions.
(STATUS_OBJECT_PATH_NOT_FOUND): Define.
(STATUS_BUFFER_OVERFLOW): Define.
(FILE_SUPERSEDED): Define.
(FILE_OPENED): Define.
(FILE_CREATED): Define.
(FILE_OVERWRITTEN): Define.
(FILE_EXISTS): Define.
(FILE_DOES_NOT_EXIST): Define.
(PIO_APC_ROUTINE): Typedef.
(NtFsControlFile): Fix parameter types to use PIO_APC_ROUTINE.
(NtWriteFile): Declare.
(RtlInt64ToHexUnicodeString): Declare.
* strfuncs.cc: Include ntdll.h.
(RtlInt64ToHexUnicodeString): New function.
* syscalls.cc (try_to_bin): Rewrite using native NT functions.
Only try to create recycle bin after unsuccessfully trying to move
file.  Also try to create special files in recycle bin so that Windows
Explorer isn't unnecessarily stampeded.

16 years ago2007-08-10 Carlos O'Donell <carlos@codesourcery.com>
Jeff Johnston [Fri, 10 Aug 2007 19:36:46 +0000 (19:36 +0000)]
2007-08-10  Carlos O'Donell  <carlos@codesourcery.com>

        2007-07-12  Daniel Jacobowitz  <dan@codesourcery.com>

        * arm/syscalls.c (_stat): Use _close

        * arm/syscalls.c (struct poslog): Rename to...
        (struct fdent): ... this.
        (FILE_HANDLE_OFFSET): Remove.
        (findslot): Return a struct fdent* if fd is valid, otherwise return NULL.
        (newslot): New function.
        (remap_handle): Remove.
        (initialise_monitor_handles): Use stdout as fallback for stderr.
        (wrap): Rename to...
        (checkerror): ...  this.
        (_swiread): Use checkerror() for the return of SWI calls.  Correct the use of r0.
        (_read): Use findslot().  Return EBADF on bad handle.
        (_swilseek): Call findslot().  Check for valid whence.  Check for negative offset when using
        SEEK_CUR, and check for overflow.  Use checkerror().  Check *_Flen calls for errors.
        (_swiwrite): Correct the use of r0.
        (_write): Call findslot().
        (_swiopen): Call findslot().  Check for valid flags.  Use checkerror().  Call newslot().
        Handle O_TRUNC, and O_WRONLY.  Return index into openfiles[] for fd.
        (_swiclose): Correct the use of r0.
        (_close): Handle stderr == stdout case.  Only reclaim handle if _swiclose succeeded.
        (_getpid): Use __attribute__((unused)).
        (_sbrk): Fix formatting.
        (_swistat): New function.
        (_stat): Call _swistat().
        (_fstat): Call _swistat().
        (_unlink): Correct the use of r0.
        (isatty): Call finslot().  Correct the use of r0.
        (_system): Call checkerror().  Correct the use of r0.
        (_rename): Correct the use of r0.

16 years ago * path.cc (fillout_mntent): Fix calculation of unicode buffer size.
Corinna Vinschen [Fri, 10 Aug 2007 16:47:26 +0000 (16:47 +0000)]
* path.cc (fillout_mntent): Fix calculation of unicode buffer size.

16 years ago * syscalls.cc (rename): Check oldpath and newpath for trailing dir
Corinna Vinschen [Fri, 10 Aug 2007 11:16:27 +0000 (11:16 +0000)]
* syscalls.cc (rename): Check oldpath and newpath for trailing dir
separators, require them to be existing directories if so.  Check
for a request to change only the case of the filename.  Check paths
for case insensitve equality only once.  Handle renaming a directory
to another, existing directory by unlinking the destination directory
first.  If newpath points to an existing file with R/O attribute set,
try to unset R/O attribute first.  Augment hardlink test by not
checking directories.  If renaming fails with STATUS_ACCESS_DENIED,
try to unlink existing destination filename and try renaming again.
Drop useless test for non-empty directory.  Always close fh at the
end of the function.

16 years ago* gendef (sigbe): Reset "incyg" while the stack lock is active to avoid a
Christopher Faylor [Thu, 9 Aug 2007 17:20:09 +0000 (17:20 +0000)]
* gendef (sigbe): Reset "incyg" while the stack lock is active to avoid a
potential race.

16 years ago * syscalls.cc (rename): Close oldpath file handle immediately after
Corinna Vinschen [Thu, 9 Aug 2007 10:32:25 +0000 (10:32 +0000)]
* syscalls.cc (rename): Close oldpath file handle immediately after
trying to rename it.  Use nfh handle when checking for non-empty
newpath directory.  Only change status if check_dir_not_empty really
returns STATUS_DIRECTORY_NOT_EMPTY.

16 years ago2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 3 Aug 2007 22:51:23 +0000 (22:51 +0000)]
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.13.
        * Makefile.in: Reset CYGRELEASE to 1

16 years ago2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Fri, 3 Aug 2007 22:36:59 +0000 (22:36 +0000)]
2007-03-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.13.

16 years ago2007-08-03 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Fri, 3 Aug 2007 22:22:31 +0000 (22:22 +0000)]
2007-08-03  Chris Sutcliffe  <ir0nh34d@users.sf.net>

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

16 years ago2007-08-03 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Fri, 3 Aug 2007 21:03:40 +0000 (21:03 +0000)]
2007-08-03  Ralf Corsepius  <ralf.corsepius@rtems.org>

        * libc/include/tar.h: New.

16 years ago2007-08-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 3 Aug 2007 21:01:11 +0000 (21:01 +0000)]
2007-08-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/intl/Makefile.am: Change stpcpy reference to
        lcl_stpcpy to avoid conflict with new stpcpy.c in libc/string.
        * libc/sys/linux/intl/Makefile.in: Regenerated.
        * libc/sys/linux/intl/stpcpy.c: Renamed to...
        * libc/sys/linux/intl/lcl_stpcpy.c: ..this.

16 years ago * Makefile.in (cygcheck.exe): Add bloda.o as prerequisite, adjusting
Dave Korn [Fri, 3 Aug 2007 19:41:48 +0000 (19:41 +0000)]
* Makefile.in (cygcheck.exe):  Add bloda.o as prerequisite, adjusting
dependency-filtering $(wordlist ...) call appropriately.  Link ntdll.
(bloda.o):  New rule to build bloda.o
* cygcheck.cc (dump_sysinfo):  Call bloda function dump_dodgy_apps().
* bloda.cc:  New file implements detection of applications from the
Big List Of Dodgy Apps.

16 years agoImplement fmemopen and open_memstream.
Eric Blake [Thu, 2 Aug 2007 20:23:06 +0000 (20:23 +0000)]
Implement fmemopen and open_memstream.
* libc/stdio/fmemopen.c (_fmemopen_r, fmemopen): New file.
* libc/stdio/open_memstream.c (_open_memstream_r, open_memstream):
New file.
* libc/stdio/fopencookie.c (fcwriter): Minor optimization.
* libc/include/stdio.h (dprintf, vdprintf): Group all POSIX 200x
functions together.
(fmemopen, open_memstream): Declare new functions.
* libc/stdio/stdio.tex: Document them.
* libc/stdio/Makefile.am (ELIX_4_SOURCES, CHEWOUT_FILES): Add
fmemopen and open_memstream.
* libc/stdio/Makefile.in: Regenerate.

16 years agobfd/
H.J. Lu [Thu, 2 Aug 2007 16:02:01 +0000 (16:02 +0000)]
bfd/

2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* coffcode.h (ALIGN_SET): Removed.
(ELIFALIGN_SET): Likewise.
(coff_set_alignment_hook): Handle IMAGE_SCN_ALIGN_128BYTES,
IMAGE_SCN_ALIGN_256BYTES, IMAGE_SCN_ALIGN_512BYTES,
IMAGE_SCN_ALIGN_1024BYTES, IMAGE_SCN_ALIGN_2048BYTES,
IMAGE_SCN_ALIGN_4096BYTES and IMAGE_SCN_ALIGN_8192BYTES.

include/coff/

2007-08-02  H.J. Lu  <hongjiu.lu@intel.com>

* pe.h (IMAGE_SCN_ALIGN_POWER_BIT_POS): New.
(IMAGE_SCN_ALIGN_POWER_BIT_MASK): Likewise.
(IMAGE_SCN_ALIGN_POWER_NUM): Likewise.
(IMAGE_SCN_ALIGN_POWER_CONST): Likewise.
(IMAGE_SCN_ALIGN_128BYTES): Likewise.
(IMAGE_SCN_ALIGN_256BYTES): Likewise.
(IMAGE_SCN_ALIGN_512BYTES): Likewise.
(IMAGE_SCN_ALIGN_1024BYTES): Likewise.
(IMAGE_SCN_ALIGN_2048BYTES): Likewise.
(IMAGE_SCN_ALIGN_4096BYTES): Likewise.
(IMAGE_SCN_ALIGN_8192BYTES): Likewise.
(IMAGE_SCN_ALIGN_1BYTES): Redefined with
IMAGE_SCN_ALIGN_POWER_CONST.
(IMAGE_SCN_ALIGN_2BYTES): Likewise.
(IMAGE_SCN_ALIGN_4BYTES): Likewise.
(IMAGE_SCN_ALIGN_8BYTES): Likewise.
(IMAGE_SCN_ALIGN_16BYTES): Likewise.
(IMAGE_SCN_ALIGN_32BYTES): Likewise.
(IMAGE_SCN_ALIGN_64BYTES): Likewise.

16 years ago * fhandler_disk_file.cc (readdir_get_ino): Accommodate native symlinks.
Corinna Vinschen [Thu, 2 Aug 2007 15:13:56 +0000 (15:13 +0000)]
* fhandler_disk_file.cc (readdir_get_ino): Accommodate native symlinks.
* syscalls.cc (rename): Ditto.

16 years ago * smallprint.c: Remove.
Corinna Vinschen [Thu, 2 Aug 2007 14:38:21 +0000 (14:38 +0000)]
* smallprint.c: Remove.

16 years ago* lib/Makefile: Add missed file to accommodate below changes.
Christopher Faylor [Thu, 2 Aug 2007 14:34:46 +0000 (14:34 +0000)]
* lib/Makefile: Add missed file to accommodate below changes.

16 years agoAdd missing checkin.
Christopher Faylor [Thu, 2 Aug 2007 14:33:32 +0000 (14:33 +0000)]
Add missing checkin.

16 years ago* lib/cygwin_attach_dll.c: Fix compiler warning.
Christopher Faylor [Thu, 2 Aug 2007 14:30:17 +0000 (14:30 +0000)]
* lib/cygwin_attach_dll.c: Fix compiler warning.
* lib/cygwin_crt0.c: Ditto.

16 years ago* Makefile.in: Add -lntdll to link line.
Christopher Faylor [Thu, 2 Aug 2007 14:23:22 +0000 (14:23 +0000)]
* Makefile.in: Add -lntdll to link line.
(CYGWIN_OBJS): Include strfuncs.o.

16 years ago* dcrt0.cc (codepage_type): Remove definition.
Christopher Faylor [Thu, 2 Aug 2007 14:21:53 +0000 (14:21 +0000)]
* dcrt0.cc (codepage_type): Remove definition.
* strfuncs.cc: Move it here.  New file with bits of miscfuncs.cc.
* miscfuncs.cc: Remove wide character stuff.

16 years ago * smallprint.c: New file.
Corinna Vinschen [Thu, 2 Aug 2007 14:07:19 +0000 (14:07 +0000)]
* smallprint.c: New file.
* Makefile.in (OBJS): Add smallprint.o.
(CYGWIN_OBJS): Remove smallprint.o from Cygwin dir.

16 years ago * syscalls.cc (rename): Move and add text to comment about testing
Corinna Vinschen [Thu, 2 Aug 2007 11:11:34 +0000 (11:11 +0000)]
* syscalls.cc (rename): Move and add text to comment about testing
oldpath and newpath referring to the same file.  Test if oldpath
has more than one hardlink before opening oldpath (idea by Eric Blake).
Reorder test so that file id is tested before volume serial number.

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