]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
16 years agomerge from gcc
DJ Delorie [Tue, 24 Jun 2008 03:01:29 +0000 (03:01 +0000)]
merge from gcc

16 years ago * include/limits.h (PATH_MAX): Add comment.
Corinna Vinschen [Sat, 21 Jun 2008 20:24:45 +0000 (20:24 +0000)]
* include/limits.h (PATH_MAX): Add comment.
* include/cygwin/config.h (__FILENAME_MAX__): Define as 4096.  Add
comment.

16 years ago * libc/include/machine/setjmp.h (_longjmp): Define as function on
Corinna Vinschen [Sat, 21 Jun 2008 18:48:45 +0000 (18:48 +0000)]
* libc/include/machine/setjmp.h (_longjmp): Define as function on
Cygwin.
(_setjmp): Ditto.

16 years agoCommitted as obvious.
Danny Smith [Fri, 20 Jun 2008 03:19:15 +0000 (03:19 +0000)]
Committed as obvious.

* lib/ddk/hal.def (HalTranslateBusAddress): Correct suffix.
* lib/ddk/ntoskrnl.def (MmAllocateContiguousMemory): Correct suffix.
Bug reported by Brian Hawley.

16 years ago* faq-using.xml: Add more words about multiple cygwins.
Christopher Faylor [Fri, 20 Jun 2008 01:46:34 +0000 (01:46 +0000)]
* faq-using.xml: Add more words about multiple cygwins.

16 years ago * fhandler_tty.cc (fhandler_pty_master::setup): Fix pipe inheritance.
Corinna Vinschen [Thu, 19 Jun 2008 19:50:47 +0000 (19:50 +0000)]
* fhandler_tty.cc (fhandler_pty_master::setup): Fix pipe inheritance.

16 years ago* strsig.cc (strsignal): Return non-const buffer to allow building with recent
Christopher Faylor [Thu, 19 Jun 2008 00:02:13 +0000 (00:02 +0000)]
* strsig.cc (strsignal): Return non-const buffer to allow building with recent
newlib change.

16 years ago * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp.
Ian Lance Taylor [Wed, 18 Jun 2008 23:20:43 +0000 (23:20 +0000)]
* src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp.

16 years ago2008-06-18 Ian Lance Taylor <iant@google.com>
Ian Lance Taylor [Wed, 18 Jun 2008 20:06:36 +0000 (20:06 +0000)]
2008-06-18  Ian Lance Taylor  <iant@google.com>

* src-release (BINUTILS_SUPPORT_DIRS): Add depcomp.

16 years agoPer Posix, strsignal returns non-const char*.
Eric Blake [Wed, 18 Jun 2008 15:27:41 +0000 (15:27 +0000)]
Per Posix, strsignal returns non-const char*.

* libc/include/string.h (strsignal): Fix return type.

16 years ago common.h (EM_CR16): Correct value.
Swami Reddy M R [Wed, 18 Jun 2008 11:04:29 +0000 (11:04 +0000)]
  common.h (EM_CR16): Correct value.
  (EM_CR16): Rename to EM_CR16_OLD.

16 years ago common.h (EM_CR16): Correct value.
Swami Reddy M R [Wed, 18 Jun 2008 11:03:03 +0000 (11:03 +0000)]
   common.h (EM_CR16): Correct value.
   (EM_CR16): Rename to EM_CR16_OLD.

16 years ago * configure: Regenerate.
Ralf Wildenhues [Tue, 17 Jun 2008 23:14:40 +0000 (23:14 +0000)]
* configure: Regenerate.

config/
* override.m4: Use m4_version_prereq throughout.
(_AC_ARG_VAR_VALIDATE, AC_MSG_FAILURE): Backport from git
Autoconf: output pwd along with fatal errors, so the right
config.log file is hinted at more prominently.
(PARSE_ARGS): Push setting of ac_pwd in this diversion.
(_GCC_AUTOCONF_VERSION): New, define to 2.59 if not defined.
(_GCC_AUTOCONF_VERSION_CHECK): New macro, require use of Autoconf
version _GCC_AUTOCONF_VERSION throughout the tree.
(m4_wrap): New override, fix for Posix semantics of m4wrap.

binutils/
* configure: Regenerate.

opcodes/
* configure: Regenerate.

bfd/
* configure: Regenerate.

gas/
* configure: Regenerate.

gprof/
* configure: Regenerate.

ld/
* config.in: Regenerate.
* configure: Regenerate.

16 years ago * sec_auth.cc (DsGetDcNameA): Drop declaration.
Corinna Vinschen [Tue, 17 Jun 2008 18:54:16 +0000 (18:54 +0000)]
* sec_auth.cc (DsGetDcNameA): Drop declaration.
(DS_FORCE_REDISCOVERY): Drop definition.

16 years ago * include/dsgetdc.h (DS_FORCE_REDISCOVERY, DS_FORCE_REDISCOVERY,
Corinna Vinschen [Tue, 17 Jun 2008 18:53:21 +0000 (18:53 +0000)]
* include/dsgetdc.h (DS_FORCE_REDISCOVERY, DS_FORCE_REDISCOVERY,
DS_DIRECTORY_SERVICE_REQUIRED, DS_DIRECTORY_SERVICE_PREFERRED,
DS_GC_SERVER_REQUIRED, DS_PDC_REQUIRED, DS_BACKGROUND_ONLY,
DS_IP_REQUIRED, DS_KDC_REQUIRED, DS_TIMESERV_REQUIRED,
DS_WRITABLE_REQUIRED, DS_GOOD_TIMESERV_PREFERRED, DS_AVOID_SELF,
DS_ONLY_LDAP_NEEDED, DS_IS_FLAT_NAME, DS_IS_DNS_NAME,
DS_RETURN_DNS_NAME, DS_RETURN_FLAT_NAME): Define.
(DsGetDcNameW, DsGetDcNameA): Declare.
(DsGetDcName): Define.
* lib/netapi32.def (DsGetDcNameA, DsGetDcNameW): Export.

16 years ago2008-06-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Tue, 17 Jun 2008 17:28:20 +0000 (17:28 +0000)]
2008-06-17  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall
        support.

16 years ago2008-06-17 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Tue, 17 Jun 2008 17:26:54 +0000 (17:26 +0000)]
2008-06-17  Ken Werner  <ken.werner@de.ibm.com>

        * spu/Makefile.in: Add new file.
        * spu/linux_syscalls.c: New file to add Linux syscall support.

16 years ago * app.c (do_scrub_chars): Do not UNGET an EOF value.
Nick Clifton [Tue, 17 Jun 2008 16:01:28 +0000 (16:01 +0000)]
    * app.c (do_scrub_chars): Do not UNGET an EOF value.

        * ti.h (GET_SCNHDR_NLNNO): Provide an alternative version of this
        macro which does not trigger an array bounds warning in gcc.
        (PUT_SCNHDR_NLNNO): Likewise.
        (GET_SCNHDR_FLAGS): Likewise.
        (PUT_SCNHDR_FLAGS): Likewise.
        (GET_SCNHDR_PAGE): Likewise.
        (PUT_SCNHDR_PAGE): Likewise.

16 years ago* spawn.cc (spawn_guts): Reinstate call to fhandler_console::need_invisible
Christopher Faylor [Tue, 17 Jun 2008 15:38:17 +0000 (15:38 +0000)]
* spawn.cc (spawn_guts): Reinstate call to fhandler_console::need_invisible
since it is required to prevent console flashing.

16 years ago * include/resolv.h (_getshort): Drop declaration.
Corinna Vinschen [Tue, 17 Jun 2008 10:05:28 +0000 (10:05 +0000)]
* include/resolv.h (_getshort): Drop declaration.
(_getlong): Ditto.

16 years ago * configure.ac: Set TOPLEVEL_CONFIGURE_ARGUMENTS early, when
Ralf Wildenhues [Mon, 16 Jun 2008 21:38:13 +0000 (21:38 +0000)]
* configure.ac: Set TOPLEVEL_CONFIGURE_ARGUMENTS early, when
"$@" is still intact with both Autoconf 2.59 and 2.62.
* configure: Regenerate.

16 years ago * Makefile.tpl: Fix comment errors.
Ralf Wildenhues [Mon, 16 Jun 2008 21:30:58 +0000 (21:30 +0000)]
* Makefile.tpl: Fix comment errors.
* Makefile.in: Regenerate.

16 years ago2008-06-16 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Mon, 16 Jun 2008 18:54:17 +0000 (18:54 +0000)]
2008-06-16  Ken Werner  <ken.werner@de.ibm.com>

* libc/machine/spu/sys/dirent.h: Add extern "C" specifier if C++.
* libc/machine/spu/sys/sched.h: Likewise.
* libc/machine/spu/sys/syscall.h: Likewise.

16 years ago2008-06-16 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Mon, 16 Jun 2008 18:51:10 +0000 (18:51 +0000)]
2008-06-16  Ken Werner  <ken.werner@de.ibm.com>

* libc/machine/spu/mk_syscalls: Provide .type and .size directives
in generated assembler files.
* libc/machine/spu/fprintf.S: Regenerate.
* libc/machine/spu/fscanf.S: Regenerate.
* libc/machine/spu/printf.S: Regenerate.
* libc/machine/spu/scanf.S: Regenerate.
* libc/machine/spu/snprintf.S: Regenerate.
* libc/machine/spu/sprintf.S: Regenerate.
* libc/machine/spu/sscanf.S: Regenerate.
* libc/machine/spu/stack_reg_va.S (__stack_reg_va): Provide .type
and .size directives.
* libc/machine/spu/setjmp.S (setjmp): Likewise.
(longjmp): Likewise.

16 years ago2008-06-16 Corrin Meyer <cjmeyer@gmail.com>
Jeff Johnston [Mon, 16 Jun 2008 18:42:40 +0000 (18:42 +0000)]
2008-06-16  Corrin Meyer  <cjmeyer@gmail.com>

        * m68k/cf-crt1.c[__mcf_family_m1qe]: Don't access CACR.

16 years agoCommitted as obvious.
Danny Smith [Sat, 14 Jun 2008 09:13:38 +0000 (09:13 +0000)]
Committed as obvious.

[mingw-Bugs-1801641]
* include/wchar.h (_wfdopen): Const-ify second arg.
* include/stdio.h (_wfdopen): Likewise.
Thanks to <tdragon at users dot sourceforge net>

16 years agoinclude/opcode/
Peter Bergner [Fri, 13 Jun 2008 20:16:00 +0000 (20:16 +0000)]
include/opcode/
* ppc.h (ppc_cpu_t): New typedef.
(struct powerpc_opcode <flags>): Use it.
(struct powerpc_operand <insert, extract>): Likewise.
(struct powerpc_macro <flags>): Likewise.

gas/
* config/tc-ppc.c (ppc_cpu): Use ppc_cpu_t typedef.
(ppc_insert_operand): Likewise.
(ppc_machine): Likewise.
* config/tc-ppc.h: #include "opcode/ppc.h"
(struct _ppc_fix_extra <ppc_cpu>): Use ppc_cpu_t typedef.
(ppc_cpu): Update extern decl.

opcodes/
* ppc-dis.c (print_insn_powerpc): Update prototye to use new
ppc_cpu_t typedef.
(struct dis_private): New.
(POWERPC_DIALECT): New define.
(powerpc_dialect): Renamed to...
(powerpc_init_dialect): This.  Update to use ppc_cpu_t and
struct dis_private.
(print_insn_big_powerpc): Update for using structure in
info->private_data.
(print_insn_little_powerpc): Likewise.
(operand_value_powerpc): Change type of dialect param to ppc_cpu_t.
(skip_optional_operands): Likewise.
(print_insn_powerpc): Likewise.  Remove initialization of dialect.
* ppc-opc.c (extract_bat, extract_bba, extract_bdm, extract_bdp,
extract_bo, extract_boe, extract_fxm, extract_mb6, extract_mbe,
extract_nb, extract_nsi, extract_rbs, extract_sh6, extract_spr,
extract_sprg, extract_tbr insert_bat, insert_bba, insert_bdm,
insert_bdp, insert_bo, insert_boe, insert_fxm, insert_mb6, insert_mbe,
insert_nsi, insert_ral, insert_ram, insert_raq, insert_ras, insert_rbs,
insert_sh6, insert_spr, insert_sprg, insert_tbr): Change the dialect
param to be of type ppc_cpu_t.  Update prototype.

16 years ago * mount.cc (mount_info::get_cygdrive_info): Fix usage of user and
Corinna Vinschen [Fri, 13 Jun 2008 15:22:59 +0000 (15:22 +0000)]
* mount.cc (mount_info::get_cygdrive_info): Fix usage of user and
system arguments.  Strip trailing slash from path for backward
compatibility.

16 years ago * configure.ac (arm*-*-linux-gnueabi): Don't disable building
Julian Brown [Fri, 13 Jun 2008 13:05:13 +0000 (13:05 +0000)]
* configure.ac (arm*-*-linux-gnueabi): Don't disable building
    of libobjc for ARM EABI Linux.
    * configure: Regenerate.

16 years ago * mips.h: Document new field descriptors +Q.
Nick Clifton [Thu, 12 Jun 2008 21:44:53 +0000 (21:44 +0000)]
    * mips.h: Document new field descriptors +Q.
        (OP_SH_SEQI, OP_MASK_SEQI): New bit mask and shift count for SEQI.

opcodes/

        * mips-dis.c (print_insn_args): Handle field descriptor +Q.
        * mips-opc.c (mips_builtin_opcodes): Add Octeon instructions seq,
        seqi, sne and snei.

gas/

        * config/tc-mips.c (validate_mips_insn): Handle field descriptor +Q.
        (mips_ip): Likewise.
        (macro_build): Likewise.
        (CPU_HAS_SEQ): New macro.
        (macro2) <M_SEQ_I, M_SNE_I>: Use it.  Emit seq/sne and seqi/snei.

gas/testsuite/

        * gas/mips/octeon.s, gas/mips/octeon.d: Add tests for seq* and sne*.
        * gas/mips/octeon-ill.s, gas/mips/octeon-ill.s: Add tests for seqi
        and snei.

16 years ago* common.h (EM_M32C_NEW): Rename to EM_M32C.
DJ Delorie [Thu, 12 Jun 2008 19:49:47 +0000 (19:49 +0000)]
* common.h (EM_M32C_NEW): Rename to EM_M32C.
(EM_M32C): Rename to EM_M32C_OLD.

* elf32-m32c.c (ELF_MACHINE_ALT1): Define as EM_M32C_OLD.

* readelf.c (guess_is_rela): Add EM_M32C_OLD.
(dump_relocations): Likewise.
(process_section_headers): Likewise.
(is_32bit_abs_reloc): Likewise.
(is_16bit_abs_reloc): Likewise.

16 years ago2008-06-12 David S. Miller <davem@davemloft.net>
David Edelsohn [Thu, 12 Jun 2008 17:07:34 +0000 (17:07 +0000)]
2008-06-12  David S. Miller  <davem@davemloft.net>
            David Edelsohn  <edelsohn@gnu.org>

        * configure.ac: Add powerpc*-*-* to gold supported targets.
        * configure: Regenerate.

16 years agoinclude/opcode/
Nick Clifton [Thu, 12 Jun 2008 16:14:52 +0000 (16:14 +0000)]
include/opcode/

        * mips.h: Document new field descriptors +x, +X, +p, +P, +s, +S.
        Update comment before MIPS16 field descriptors to mention MIPS16.
        (OP_SH_BBITIND, OP_MASK_BBITIND): New bit mask and shift count for
        BBIT.
        (OP_SH_CINSPOS, OP_MASK_CINSPOS, OP_SH_CINSLM1, OP_MASK_CINSLM1):
        New bit masks and shift counts for cins and exts.

gas/

        * config/tc-mips.c (validate_mips_insn): Handle field descriptors
        +x, +X, +p, +P, +s, +S.
        (mips_ip): Likewise.

opcodes/

        * mips-dis.c (print_insn_args): Handle field descriptors +x, +p,
        +s, +S.
        * mips-opc.c (mips_builtin_opcodes): Add Octeon instructions
        baddu, bbit*, cins*, dmul, pop, dpop, exts*, mtm*, mtp*, syncs,
        syncw, syncws, vm3mulu, vm0 and vmulu.

gas/testsuite/

        * gas/mips/octeon.s, gas/mips/octeon.d: Add tests for baddu,
        bbit*, cins*, dmul, pop, dpop, exts*, mtm*, mtp*, syncs, syncw,
        syncws, vm3mulu, vm0 and vmulu.
        * gas/mips/octeon-ill.s, gas/mips/octeon-ill.s: New test.
        * gas/mips/mips.exp: Run it.  Run octeon test with
        run_dump_test_arches.

16 years ago * fhandler.h (set_console_state_for_spawn): Drop declaration.
Corinna Vinschen [Thu, 12 Jun 2008 15:57:23 +0000 (15:57 +0000)]
* fhandler.h (set_console_state_for_spawn): Drop declaration.
* fhandler_console.cc (set_console_state_for_spawn): Remove.
(fhandler_console::open): Set console state last.  Don't set
ENABLE_PROCESSED_INPUT flag.
* spawn.cc (spawn_guts): Drop call to set_console_state_for_spawn.

16 years agoremove obsolete comment
Christopher Faylor [Thu, 12 Jun 2008 14:55:08 +0000 (14:55 +0000)]
remove obsolete comment

16 years ago * common.h: Update e_machine table.
Joseph Myers [Thu, 12 Jun 2008 12:44:01 +0000 (12:44 +0000)]
* common.h: Update e_machine table.

16 years ago2008-06-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 11 Jun 2008 22:14:54 +0000 (22:14 +0000)]
2008-06-11  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/machine/_default_types.h: Fix GNUC check to
        handle 4.0 and greater.

16 years ago * path.cc (get_nt_native_path): Drop considerations for DOS devices.
Corinna Vinschen [Wed, 11 Jun 2008 14:06:05 +0000 (14:06 +0000)]
* path.cc (get_nt_native_path): Drop considerations for DOS devices.
Keep relative paths relative.
(cygwin_conv_path): Don't try to skip native NT prefixes on relative
paths.

16 years ago * include/cygwin/version.h (CYGWIN_VERSION_MOUNT_REGISTRY): Bump.
Corinna Vinschen [Wed, 11 Jun 2008 09:43:59 +0000 (09:43 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_MOUNT_REGISTRY): Bump.
(CYGWIN_INFO_CYGWIN_MOUNT_REGISTRY_NAME): Remove.
(CYGWIN_INFO_CYGDRIVE_FLAGS): Remove.
(CYGWIN_INFO_CYGDRIVE_PREFIX): Remove.
(CYGWIN_INFO_CYGDRIVE_DEFAULT_PREFIX): Add comment to differ from the
registry related defines.

16 years ago * fhandler_procnet.cc (dad_to_flags): Fix comment.
Corinna Vinschen [Wed, 11 Jun 2008 08:38:39 +0000 (08:38 +0000)]
* fhandler_procnet.cc (dad_to_flags): Fix comment.

16 years ago * fhandler_procnet.cc (get_scope): New static function to evaluate
Corinna Vinschen [Tue, 10 Jun 2008 19:58:58 +0000 (19:58 +0000)]
* fhandler_procnet.cc (get_scope): New static function to evaluate
scope.
(dad_to_flags): New static array to convert Windows DAD state to
Linux values.
(format_procnet_ifinet6): Drop asking for IfIndex, just use Ipv6IfIndex.
Use get_scope and dad_to_flags to generate more accurate linux-like
output.

16 years ago * net.cc (if_nametoindex): Fix typo in call to get_adapters_addresses.
Corinna Vinschen [Tue, 10 Jun 2008 18:15:57 +0000 (18:15 +0000)]
* net.cc (if_nametoindex): Fix typo in call to get_adapters_addresses.
(if_indextoname): Prefer IPv6 loopback device name over IPv4 loopback
device name on pre-Vista systems.
(if_nameindex): Ditto.

16 years ago * fhandler_procnet.cc (format_procnet_ifinet6): Use sprintf rather than
Corinna Vinschen [Tue, 10 Jun 2008 17:24:00 +0000 (17:24 +0000)]
* fhandler_procnet.cc (format_procnet_ifinet6): Use sprintf rather than
__small_sprintf.
* net.cc (if_nametoindex): Prefer IPv6IfIndex over IfIndex for
consistency with /proc/net/if_inet6.
(if_indextoname): Ditto.
(if_nameindex): Ditto.

16 years ago * mount.cc (mount_info::from_fstab): Read sizeof (buf) - 2 bytes.
Corinna Vinschen [Tue, 10 Jun 2008 17:17:44 +0000 (17:17 +0000)]
* mount.cc (mount_info::from_fstab): Read sizeof (buf) - 2 bytes.
Add code to handle overly long lines.

16 years ago * sec_auth.cc (lsaauth): Make returned token inheritable.
Corinna Vinschen [Tue, 10 Jun 2008 15:16:01 +0000 (15:16 +0000)]
* sec_auth.cc (lsaauth): Make returned token inheritable.

16 years ago * devices.cc: Regenerate.
Corinna Vinschen [Tue, 10 Jun 2008 14:48:24 +0000 (14:48 +0000)]
* devices.cc: Regenerate.

16 years ago2008-06-09 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Tue, 10 Jun 2008 02:13:22 +0000 (02:13 +0000)]
2008-06-09  Ken Werner  <ken.werner@de.ibm.com>

* libc/machine/spu/Makefile.am: Add new files.
* libc/machine/spu/Makefile.in: Likewise.
* libc/machine/spu/include/spu_timer.h: New file to add timer support
        using interrupts.
* libc/machine/spu/spu_clock_stop.c: Likewise.
* libc/machine/spu/spu_clock_svcs.c: Likewise.
* libc/machine/spu/spu_timer_flih.S: Likewise.
* libc/machine/spu/spu_timer_free.c: Likewise.
* libc/machine/spu/spu_timer_internal.h: Likewise.
* libc/machine/spu/spu_timer_slih.c: Likewise.
* libc/machine/spu/spu_timer_slih_reg.c: Likewise.
* libc/machine/spu/spu_timer_stop.c: Likewise.
* libc/machine/spu/spu_timer_svcs.c: Likewise.

16 years ago * sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.
Kaz Kojima [Mon, 9 Jun 2008 22:20:46 +0000 (22:20 +0000)]
* sh.h (EF_SH_BFD_TABLE): Set bfd_mach_sh for EF_SH_UNKNOWN.

16 years ago2008-06-09 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Mon, 9 Jun 2008 17:26:30 +0000 (17:26 +0000)]
2008-06-09  Ken Werner  <ken.werner@de.ibm.com>

        * libc/machine/spu/strcat.c: Return value fixed.
        * libc/machine/spu/strncat.c: Likewise.

16 years ago * common.h: Change registry@caldera.com to registry@sco.com.
Joseph Myers [Mon, 9 Jun 2008 14:07:18 +0000 (14:07 +0000)]
* common.h: Change registry@caldera.com to registry@sco.com.

16 years ago* devices.in: Remove "Global" from tty device.
Christopher Faylor [Mon, 9 Jun 2008 14:01:40 +0000 (14:01 +0000)]
* devices.in: Remove "Global" from tty device.

16 years ago* signal.cc (abort): Only flush streams after signal handler.
Christopher Faylor [Mon, 9 Jun 2008 13:45:59 +0000 (13:45 +0000)]
* signal.cc (abort): Only flush streams after signal handler.

16 years ago * Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.
Joseph Myers [Sun, 8 Jun 2008 16:19:22 +0000 (16:19 +0000)]
* Makefile.def (flags_to_pass): Add LDFLAGS_FOR_BUILD.
* Makefile.tpl (EXTRA_BUILD_FLAGS): Define.
(all prefix="build-"): Pass them to build-system sub-makes.
* Makefile.in: Regenerate.

config:
* config/mh-mingw (LDFLAGS): Define.

16 years agoinclude/
Alan Modra [Fri, 6 Jun 2008 06:01:53 +0000 (06:01 +0000)]
include/
* bfdlink.h (struct bfd_link_info): Add "path_separator".
bfd/
* elf32-spu.c (spu_elf_auto_overlay): Relax requirement that
file names be unique.  Specify archive:path in overlay script.
ld/
* ldlang.c (name_match): New function.
(unique_section_p, walk_wild_consider_section): Use it here.
(walk_wild_section_general): And here.
(archive_path): New function.
(walk_wild): Match archive:path filespecs.
(open_input_bfds): Don't load archive:path files.
* emultempl/spuelf.em (choose_target): Set path_separator.
* emulparams/elf32_spu.sh: Add ._ea.* sections to ._ea output.

16 years ago PR driver/35916
Danny Smith [Fri, 6 Jun 2008 02:32:32 +0000 (02:32 +0000)]
PR driver/35916
* mh-mingw (CFLAGS): Add -D__USE_MINGW_ACCESS.

16 years agoAvoid precision errors in round(), lround() and llround() functions.
Keith Marshall [Tue, 3 Jun 2008 18:42:21 +0000 (18:42 +0000)]
Avoid precision errors in round(), lround() and llround() functions.

16 years ago* cygwin.sc: Remove unrequired and erroneous definition.
Christopher Faylor [Tue, 3 Jun 2008 02:22:36 +0000 (02:22 +0000)]
* cygwin.sc: Remove unrequired and erroneous definition.

16 years ago* select.cc (peek_pipe): Semi-reinstate pipe NT-special write detection.
Christopher Faylor [Fri, 30 May 2008 17:56:37 +0000 (17:56 +0000)]
* select.cc (peek_pipe): Semi-reinstate pipe NT-special write detection.

16 years agoadd missing entry
Christopher Faylor [Thu, 29 May 2008 17:09:10 +0000 (17:09 +0000)]
add missing entry

16 years ago* devices.in: Change mapping for /dev/ttyS* and /dev/com*.
Christopher Faylor [Thu, 29 May 2008 17:08:45 +0000 (17:08 +0000)]
* devices.in: Change mapping for /dev/ttyS* and /dev/com*.

16 years ago2008-05-28 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Thu, 29 May 2008 01:39:52 +0000 (01:39 +0000)]
2008-05-28  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/commctrl.h (NMLVODSTATECHANGE): Define.

        Thanks to Tim Kosse <botg at users dot sf dot net>.

16 years ago2008-05-28 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Thu, 29 May 2008 01:26:45 +0000 (01:26 +0000)]
2008-05-28  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/winnt.h (SUBLANG_TIBETAN_BHUTAN): Fix definition.

        Thanks to Nicola Di Nisio <nicoladinisio at users dot sf dot net>.

16 years agoFix bug in previous patch.
Eric Blake [Wed, 28 May 2008 14:00:39 +0000 (14:00 +0000)]
Fix bug in previous patch.

* libc/machine/i386/memset.S (memset): Mask second arg correctly.

16 years ago2008-05-27 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 27 May 2008 18:44:40 +0000 (18:44 +0000)]
2008-05-27  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/string/memset.c: Fix documented prototype to remove
        erroneous const attribute on first parameter.

16 years ago2008-05-26 Eric Blake <ebb9@byu.net>
Jeff Johnston [Mon, 26 May 2008 23:31:08 +0000 (23:31 +0000)]
2008-05-26  Eric Blake  <ebb9@byu.net>

        Optimize the generic and x86 memchr.
        * libc/string/memchr.c (memchr) [!__OPTIMIZE_SIZE__]:
        Pre-align pointer so unaligned searches aren't penalized.
        * libc/machine/i386/memchr.S (memchr) [!__OPTIMIZE_SIZE__]: Word
        operations are faster than repnz byte searches.

16 years ago2008-05-26 Eric Blake <ebb9@byu.net>
Jeff Johnston [Mon, 26 May 2008 23:23:15 +0000 (23:23 +0000)]
2008-05-26  Eric Blake  <ebb9@byu.net>

        Optimize the generic and x86 memset.
        * libc/string/memset.c (memset) [!__OPTIMIZE_SIZE__]:
        Pre-align pointer so unaligned stores aren't penalized.
        * libc/machine/i386/memset.S (memset): [!__OPTIMIZE_SIZE__]:
        Pre-align pointer so unaligned stores aren't penalized.  Prefer
        8-byte over 4-byte alignment.  Reduce register pressure.

16 years ago2008-05-26 Eric Blake <ebb9@byu.net>
Jeff Johnston [Mon, 26 May 2008 22:56:14 +0000 (22:56 +0000)]
2008-05-26  Eric Blake  <ebb9@byu.net>

        Optimize the generic and x86 strlen.
        * libc/string/strlen.c (strlen) [!__OPTIMIZE_SIZE__]: Pre-align
        data so unaligned searches aren't penalized.
        * libc/machine/i386/strlen.S (strlen) [!__OPTIMIZE_SIZE__]:
        Word operations are faster than repnz byte searches.

16 years ago* mount.cc (mount_info::from_fstab): Use proper buffer size.
Christopher Faylor [Sun, 25 May 2008 23:51:32 +0000 (23:51 +0000)]
* mount.cc (mount_info::from_fstab): Use proper buffer size.

16 years ago* mount.cc (mount_info::init): Revert previous change.
Christopher Faylor [Sat, 24 May 2008 15:59:01 +0000 (15:59 +0000)]
* mount.cc (mount_info::init): Revert previous change.
(mount_info::from_fstab): Change system_printf to debug_printf.  Just use a
local NT_MAX_PATH sized temporary buffer.

16 years ago * mount.cc (mount_info::init): Recreate path when trying to read the
Corinna Vinschen [Sat, 24 May 2008 10:07:49 +0000 (10:07 +0000)]
* mount.cc (mount_info::init): Recreate path when trying to read the
user fstab file.

16 years ago * path.cc (symlink_info::check): Reorder test for nfs symlinks.
Corinna Vinschen [Sat, 24 May 2008 09:54:32 +0000 (09:54 +0000)]
* path.cc (symlink_info::check): Reorder test for nfs symlinks.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::opendir): Don't try to
Corinna Vinschen [Fri, 23 May 2008 17:22:18 +0000 (17:22 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Don't try to
use FileIdBothDirectoryInformation on NFS shares.  Fix comment to
explain why.
* path.cc (symlink_info::check): Reinstantiate no_ea.  Use in
erroneously changed condition.

16 years ago* mount.cc (find_root_from_cygwin_dll): New function factored from from_fstab.
Christopher Faylor [Fri, 23 May 2008 16:38:51 +0000 (16:38 +0000)]
* mount.cc (find_root_from_cygwin_dll): New function factored from from_fstab.
Avoid use of tls since it isn't necessarily initialized when cygwin1.dll is
dynamically loaded.
(mount_info::create_root_entry): Ditto.
(mount_info::init): Calculate cygwin root once.  Use create_root_entry to
record it.  Pass fstab location to from_fstab.
(mount_info::from_fstab): Move root calculation stuff elsewhere, as per above.
* shared_info.h (mount_info::from_fstab_line): Make private.
(mount_info::fstab): Ditto.  Accommodate new arguments.

16 years ago* mount.cc (mount_info::from_fstab): Use cygwin_hmodule rather than trying to
Christopher Faylor [Fri, 23 May 2008 15:33:03 +0000 (15:33 +0000)]
* mount.cc (mount_info::from_fstab): Use cygwin_hmodule rather than trying to
find handle based on cygwin1.dll.
* path.cc (symlink_info::check): Remove unused variable.

16 years ago * libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.
Corinna Vinschen [Fri, 23 May 2008 12:33:50 +0000 (12:33 +0000)]
* libc/include/sys/_default_fcntl.h: Include <sys/time.h> on Cygwin.

16 years ago * shared.cc (open_shared): Fix comments. Fix a condition which has
Corinna Vinschen [Fri, 23 May 2008 11:59:37 +0000 (11:59 +0000)]
* shared.cc (open_shared): Fix comments.  Fix a condition which has
been overlooked to revert to its old state in change from 2008-04-18.

16 years ago * path.cc (symlink_info::check): Define eabuf and easize outside of
Corinna Vinschen [Fri, 23 May 2008 11:00:35 +0000 (11:00 +0000)]
* path.cc (symlink_info::check): Define eabuf and easize outside of
loop.  Set to NULL on first STATUS_EAS_NOT_SUPPORTED.  Align comments.
Fix formatting.

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir): Eliminate
Corinna Vinschen [Fri, 23 May 2008 10:01:34 +0000 (10:01 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Eliminate
compiler warning.

16 years ago* path.cc (symlink_info::check): Don't pass EaBuffer to NtCreateFile if it has
Christopher Faylor [Fri, 23 May 2008 07:13:47 +0000 (07:13 +0000)]
* path.cc (symlink_info::check): Don't pass EaBuffer to NtCreateFile if it has
indicated that it isn't appropriate.
* ntdll.h (STATUS_EAS_NOT_SUPPORTED): Define.
* winsup.h: Remove __builtin* defines.

16 years ago2008-05-22 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 22 May 2008 21:30:28 +0000 (21:30 +0000)]
2008-05-22  Jeff Johnston  <jjohnstn@redhat.com>

* libc/include/sys/reent.h: Add _h_errno field.
* libc/sys/linux/libc-symbols.h: Add default stubs for new libc macros
now used in net directory.
* libc/sys/linux/bits/libc-lock.h: Always define _IO_MTSAFE_IO.
* libc/sys/linux/include/hesiod.h: Add needed macros for new code
in net directory.
* libc/sys/linux/include/netdb.h: Ditto.
* libc/sys/linux/include/resolv.h: Ditto.
* libc/sys/linux/include/stdint.h: Ditto.
* libc/sys/linux/include/arpa/nameser.h: Ditto.
* libc/sys/linux/include/net/ethernet.h: Ditto.
* libc/sys/linux/include/net/if_ppp.h: Ditto.
* libc/sys/linux/include/netinet/if_ether.h: Ditto.
* libc/sys/linux/machine/i386/get_clockfreq.c: Remove static memmem.
* libc/sys/linux/machine/i386/include/endian.h: Protect macros with
flags to avoid duplicate definition.
* libc/sys/linux/machine/i386/include/param.h: Ditto.
* libc/sys/linux/net/Makefile.am: Modified to account for removed and
added files.
* libc/sys/linux/net/Makefile.in: Regenerated.
* libc/sys/linux/net/base64.c: Replaced with glibc version of code.
* libc/sys/linux/net/getaddrinfo.c: Ditto.
* libc/sys/linux/net/getnameinfo.c: Ditto.
* libc/sys/linux/net/getproto.c: Ditto.
* libc/sys/linux/net/getservent.c: Ditto.
* libc/sys/linux/net/inet_netof.c: Ditto.
* libc/sys/linux/net/inet_lnaof.c: Ditto.
* libc/sys/linux/net/ns_name.c: Ditto.
* libc/sys/linux/net/ns_netint.c: Ditto.
* libc/sys/linux/net/inet_ntoa.c: Ditto.
* libc/sys/linux/net/ns_parse.c: Ditto.
* libc/sys/linux/net/ns_print.c: Ditto.
* libc/sys/linux/net/ns_ttl.c: Ditto.
* libc/sys/linux/net/nsap_addr.c: Ditto.
* libc/sys/linux/net/rcmd.c: Ditto.
* libc/sys/linux/net/res_comp.c: Ditto.
* libc/sys/linux/net/res_data.c: Ditto.
* libc/sys/linux/net/res_debug.c: Ditto.
* libc/sys/linux/net/res_init.c: Ditto.
* libc/sys/linux/net/res_mkquery.c: Ditto.
* libc/sys/linux/net/res_query.c: Ditto.
* libc/sys/linux/net/res_send.c: Ditto.
* libc/sys/linux/net/send.c: Ditto.
* libc/sys/linux/stdlib/collate.c: Ditto.
* libc/sys/linux/sys/ioctl.h: Ditto.
* libc/sys/linux/sys/socket.h: Ditto.
* libc/sys/linux/sys/unistd.h: Ditto.
* libc/sys/linux/iconv/iconvconfig.c: Removed either because no longer
used or because licensing includes advertising clause that cannot be
ignored.
* libc/sys/linux/iconv/strtab.c: Ditto.
* libc/sys/linux/include/libc_private.h: Ditto.
* libc/sys/linux/include/nsswitch.h: Ditto.
* libc/sys/linux/include/net/if_atm.h: Ditto.
* libc/sys/linux/include/net/if_media.h: Ditto.
* libc/sys/linux/include/net/if_pppvar.h: Ditto.
* libc/sys/linux/include/netinet/if_atm.h: Ditto.
* libc/sys/linux/include/netinet/ip_flow.h: Ditto.
* libc/sys/linux/intl/locale.alias: Ditto.
* libc/sys/linux/net/addr2ascii.3: Ditto.
* libc/sys/linux/net/bindresvport.c: Ditto.
* libc/sys/linux/net/byteorder.3: Ditto.
* libc/sys/linux/net/res_config.h: Ditto.
* libc/sys/linux/net/ether_addr.c: Ditto.
* libc/sys/linux/net/ethers.3: Ditto.
* libc/sys/linux/net/getaddrinfo.3: Ditto.
* libc/sys/linux/net/gethostbydns.c: Ditto.
* libc/sys/linux/net/gethostbyht.c: Ditto.
* libc/sys/linux/net/gethostbyname.3: Ditto.
* libc/sys/linux/net/gethostbynis.c: Ditto.
* libc/sys/linux/net/gethostnamadr.c: Ditto.
* libc/sys/linux/net/getifaddrs.3: Ditto.
* libc/sys/linux/net/getifaddrs.c: Ditto.
* libc/sys/linux/net/getipnodebyname.3: Ditto.
* libc/sys/linux/net/getnameinfo.3: Ditto.
* libc/sys/linux/net/getnetbydns.c: Ditto.
* libc/sys/linux/net/getnetbyht.c: Ditto.
* libc/sys/linux/net/getnetbynis.c: Ditto.
* libc/sys/linux/net/getnetent.3: Ditto.
* libc/sys/linux/net/getnetnamadr.c: Ditto.
* libc/sys/linux/net/getprotoent.3: Ditto.
* libc/sys/linux/net/getprotoent.c: Ditto.
* libc/sys/linux/net/getprotoname.c: Ditto.
* libc/sys/linux/net/getservbyname.c: Ditto.
* libc/sys/linux/net/getservbyport.c: Ditto.
* libc/sys/linux/net/getservent.3: Ditto.
* libc/sys/linux/net/herror.c: Ditto.
* libc/sys/linux/net/hesiod.3: Ditto.
* libc/sys/linux/net/hesiod.c: Ditto.
* libc/sys/linux/net/if_indextoname.3: Ditto.
* libc/sys/linux/net/inet.3: Ditto.
* libc/sys/linux/net/inet6_option_space.3: Ditto.
* libc/sys/linux/net/inet6_rthdr_space.3: Ditto.
* libc/sys/linux/net/inet_makeaddr.c: Ditto.
* libc/sys/linux/net/inet_net.3: Ditto.
* libc/sys/linux/net/inet_network.c: Ditto.
* libc/sys/linux/net/innetgr-stub.c: Ditto.
* libc/sys/linux/net/ip6opt.c: Ditto.
* libc/sys/linux/net/iso_addr.3: Ditto.
* libc/sys/linux/net/iso_addr.c: Ditto.
* libc/sys/linux/net/linkaddr.3: Ditto.
* libc/sys/linux/net/linkaddr.c: Ditto.
* libc/sys/linux/net/map_v4v6.c: Ditto.
* libc/sys/linux/net/name6.c: Ditto.
* libc/sys/linux/net/namespace.h: Ditto.
* libc/sys/linux/net/ns.3: Ditto.
* libc/sys/linux/net/ns_addr.c: Ditto.
* libc/sys/linux/net/ns_ntoa.c: Ditto.
* libc/sys/linux/net/nsdispatch.3: Ditto.
* libc/sys/linux/net/nsdispatch.c: Ditto.
* libc/sys/linux/net/nslexer.c: Ditto.
* libc/sys/linux/net/nslexer.l: Ditto.
* libc/sys/linux/net/nsparser.c: Ditto.
* libc/sys/linux/net/nsparser.h: Ditto.
* libc/sys/linux/net/nsparser.y: Ditto.
* libc/sys/linux/net/rcmd.3: Ditto.
* libc/sys/linux/net/rcmdsh.3: Ditto.
* libc/sys/linux/net/res_mkupdate.c: Ditto.
* libc/sys/linux/net/res_update.c: Ditto.
* libc/sys/linux/net/resolver.3: Ditto.
* libc/sys/linux/net/rthdr.c: Ditto.
* libc/sys/linux/net/vars.c: Ditto.
* libc/sys/linux/shlib-compat.h: New file.
* libc/sys/linux/machine/i386/atomic.h: Ditto.
* libc/sys/linux/net/XXX-lookup.c: Ditto.
* libc/sys/linux/net/alias-lookup.c: Ditto.
* libc/sys/linux/net/res_libc.c: Ditto.
* libc/sys/linux/net/aliases.h: Ditto.
* libc/sys/linux/net/check_pf.c: Ditto.
* libc/sys/linux/net/databases.def: Ditto.
* libc/sys/linux/net/digits_dots.c: Ditto.
* libc/sys/linux/net/ether_aton.c: Ditto.
* libc/sys/linux/net/ether_aton_r.c: Ditto.
* libc/sys/linux/net/ether_hton.c: Ditto.
* libc/sys/linux/net/ether_line.c: Ditto.
* libc/sys/linux/net/ether_ntoa.c: Ditto.
* libc/sys/linux/net/ether_ntoa_r.c: Ditto.
* libc/sys/linux/net/ether_ntoh.c: Ditto.
* libc/sys/linux/net/etherent.h: Ditto.
* libc/sys/linux/net/ethers-lookup.c: Ditto.
* libc/sys/linux/net/function.def: Ditto.
* libc/sys/linux/net/getXXbyYY.c: Ditto.
* libc/sys/linux/net/getXXbyYY_r.c: Ditto.
* libc/sys/linux/net/getXXent.c: Ditto.
* libc/sys/linux/net/getXXent_r.c: Ditto.
* libc/sys/linux/net/getaliasent.c: Ditto.
* libc/sys/linux/net/getaliasent_r.c: Ditto.
* libc/sys/linux/net/getaliasname.c: Ditto.
* libc/sys/linux/net/getaliasname_r.c: Ditto.
* libc/sys/linux/net/gethstbyad.c: Ditto.
* libc/sys/linux/net/gethstbyad_r.c: Ditto.
* libc/sys/linux/net/gethstbynm.c: Ditto.
* libc/sys/linux/net/gethstbynm2.c: Ditto.
* libc/sys/linux/net/gethstbynm2_r.c: Ditto.
* libc/sys/linux/net/gethstbynm_r.c: Ditto.
* libc/sys/linux/net/gethstent.c: Ditto.
* libc/sys/linux/net/gethstent_r.c: Ditto.
* libc/sys/linux/net/getnetbyad.c: Ditto.
* libc/sys/linux/net/getnetbyad_r.c: Ditto.
* libc/sys/linux/net/getnetbynm.c: Ditto.
* libc/sys/linux/net/getnetbynm_r.c: Ditto.
* libc/sys/linux/net/getnetent.c: Ditto.
* libc/sys/linux/net/getnetent_r.c: Ditto.
* libc/sys/linux/net/getnetgrent.c: Ditto.
* libc/sys/linux/net/getnetgrent_r.c: Ditto.
* libc/sys/linux/net/getnssent.c: Ditto.
* libc/sys/linux/net/getnssent_r.c: Ditto.
* libc/sys/linux/net/getproto_r.c: Ditto.
* libc/sys/linux/net/getprtent.c: Ditto.
* libc/sys/linux/net/getprtent_r.c: Ditto.
* libc/sys/linux/net/getprtname.c: Ditto.
* libc/sys/linux/net/getprtname_r.c: Ditto.
* libc/sys/linux/net/getrpcbyname.c: Ditto.
* libc/sys/linux/net/getrpcbyname_r.c: Ditto.
* libc/sys/linux/net/getrpcbynumber.c: Ditto.
* libc/sys/linux/net/getrpcbynumber_r.c: Ditto.
* libc/sys/linux/net/getrpcent.c: Ditto.
* libc/sys/linux/net/getrpcent_r.c: Ditto.
* libc/sys/linux/net/getservent_r.c: Ditto.
* libc/sys/linux/net/getsrvbynm.c: Ditto.
* libc/sys/linux/net/getsrvbynm_r.c: Ditto.
* libc/sys/linux/net/getsrvbypt.c: Ditto.
* libc/sys/linux/net/getsrvbypt_r.c: Ditto.
* libc/sys/linux/net/grp-lookup.c: Ditto.
* libc/sys/linux/net/herrno.c: Ditto.
* libc/sys/linux/net/hosts-lookup.c: Ditto.
* libc/sys/linux/net/ifaddrs.h: Ditto.
* libc/sys/linux/net/ifreq.c: Ditto.
* libc/sys/linux/net/ifreq.h: Ditto.
* libc/sys/linux/net/in6_addr.c: Ditto.
* libc/sys/linux/net/inet6_option.c: Ditto.
* libc/sys/linux/net/inet_mkadr.c: Ditto.
* libc/sys/linux/net/inet_net.c: Ditto.
* libc/sys/linux/net/key-lookup.c: Ditto.
* libc/sys/linux/net/local.h: Ditto.
* libc/sys/linux/net/netgroup.h: Ditto.
* libc/sys/linux/net/netgrp-lookup.c: Ditto.
* libc/sys/linux/net/network-lookup.c: Ditto.
* libc/sys/linux/net/not-cancel.h: Ditto.
* libc/sys/linux/net/ns_samedomain.c: Ditto.
* libc/sys/linux/net/nscd-types.h: Ditto.
* libc/sys/linux/net/nss.h: Ditto.
* libc/sys/linux/net/nsswitch.c: Ditto.
* libc/sys/linux/net/nsswitch.h: Ditto.
* libc/sys/linux/net/opensock.c: Ditto.
* libc/sys/linux/net/proto-lookup.c: Ditto.
* libc/sys/linux/net/pwd-lookup.c: Ditto.
* libc/sys/linux/net/res_debug.h: Ditto.
* libc/sys/linux/net/res_hconf.c: Ditto.
* libc/sys/linux/net/res_hconf.h: Ditto.
* libc/sys/linux/net/rexec.c: Ditto.
* libc/sys/linux/net/rpc-lookup.c: Ditto.
* libc/sys/linux/net/ruserpass.c: Ditto.
* libc/sys/linux/net/service-lookup.c: Ditto.
* libc/sys/linux/net/spwd-lookup.c: Ditto.
* libc/sys/linux/net/nscd/nscd-client.h: Ditto.
* libc/sys/linux/net/nscd/nscd_proto.h: Ditto.

16 years ago * grp.cc (internal_getgroups): Fix thinko. Only add enabled groups to
Corinna Vinschen [Thu, 22 May 2008 21:14:30 +0000 (21:14 +0000)]
* grp.cc (internal_getgroups): Fix thinko.  Only add enabled groups to
the group list.

16 years ago * grp.cc (internal_getgroups): Don't add deny-only groups to the group
Corinna Vinschen [Thu, 22 May 2008 21:03:54 +0000 (21:03 +0000)]
* grp.cc (internal_getgroups): Don't add deny-only groups to the group
list.

16 years ago * cygtls.h (struct san): Add two int values to store the current
Corinna Vinschen [Thu, 22 May 2008 20:32:15 +0000 (20:32 +0000)]
* cygtls.h (struct san): Add two int values to store the current
tls_pathbuf counters.
(return_from_fault): Restore tls_pathbuf counters.
(setup_fault): Save tls_pathbuf counters.
* tlsoffset.h: Regenerate.

16 years ago * setfacl.c (setfacl): Change from void to int. Return 2 in case of
Corinna Vinschen [Thu, 22 May 2008 18:56:26 +0000 (18:56 +0000)]
* setfacl.c (setfacl): Change from void to int.  Return 2 in case of
error.
(main): Return with error code from setfacl.

16 years ago * sec_acl.cc (setacl): Set errno to EINVAL if user or group don't exist.
Corinna Vinschen [Thu, 22 May 2008 12:43:18 +0000 (12:43 +0000)]
* sec_acl.cc (setacl): Set errno to EINVAL if user or group don't exist.

16 years ago * path.cc (cygwin_conv_path): Define tp before setting up faul handler.
Corinna Vinschen [Thu, 22 May 2008 11:18:46 +0000 (11:18 +0000)]
* path.cc (cygwin_conv_path): Define tp before setting up faul handler.
* syscalls.cc: Ditto, throughout.
(gen_full_path_at): Add bool parameter to allow NULL pathname.
(futimesat): Allow NULL pathname as GLIBC.

16 years agoOptimize the generic strchr.
Eric Blake [Thu, 22 May 2008 02:31:46 +0000 (02:31 +0000)]
Optimize the generic strchr.

* libc/string/strchr.c (strchr) [!__OPTIMIZE_SIZE__]: Pre-align
data so unaligned searches aren't penalized.  Special-case
searching for 0.

16 years agoCommitted as obvious.
Danny Smith [Thu, 22 May 2008 02:09:06 +0000 (02:09 +0000)]
Committed as obvious.

2008-05-22  Danny Smith  <dannysmith@users.sourceforge.net>

[ mingw-Bugs-1961893 ]
* mingwex/gdtoa/mingw_snprint.c (x_sprintf): Always set __ldtoa mode to 2
for E format.

16 years ago* string.h (strchr): Eliminate.
Christopher Faylor [Thu, 22 May 2008 01:25:37 +0000 (01:25 +0000)]
* string.h (strchr): Eliminate.
* syscalls.cc (rename): Work around inexplicable C++ warning.

16 years agoOptimize strchr for x86.
Eric Blake [Wed, 21 May 2008 21:46:04 +0000 (21:46 +0000)]
Optimize strchr for x86.

* libc/machine/i386/strchr.S (strchr): Pre-align data so unaligned
searches aren't penalized.  Special-case searching for 0.

16 years ago * reloc-macros.h: Add a comment about the use of the
Nick Clifton [Wed, 21 May 2008 14:50:07 +0000 (14:50 +0000)]
    * reloc-macros.h: Add a comment about the use of the
        END_RELOC_NUMBERS symbol as a sentinel value.
        * arm.h (END_RELOC_NUMBERS): Provide a maximum value.

16 years ago * fhandler_disk_file.cc (get_ino_by_handle): Rename pfai to fai.
Corinna Vinschen [Wed, 21 May 2008 10:23:19 +0000 (10:23 +0000)]
* fhandler_disk_file.cc (get_ino_by_handle): Rename pfai to fai.
(fhandler_base::fstat_by_handle): Drop fai_size and pfai in favor of
static struct fai_buf.  Restructure.
(fhandler_base::fstat_by_name): Drop fvi_size and pfvi.  Drop fdi_size
and pfdi in favor of static struct fdi_buf.  Drop redundant test for
existance.  Use FileDirectoryInformation class instead of
FileBothDirectoryInformation.  Drop call to NtQueryVolumeInformationFile
in favor of using pc.fs_serial_number ().  Fix FileId information given
to fstat_helper.
(fhandler_disk_file::fstatvfs): Drop fvi_size, pfvi, fai_size and pfai.
Drop getting FileFsVolumeInformation and FileFsAttributeInformation in
favor of using the related path_conv info.
(fhandler_disk_file::opendir): Fix comment.
(fhandler_disk_file::readdir): Ditto.  Use FileDirectoryInformation
class instead of FileBothDirectoryInformation.
* path.cc (fs_info::update): Store MaximumComponentNameLength in new
member name_len.
* path.h (struct fs_info): Use ULONG rather than DWORD.  Add member
name_len to store MaximumComponentNameLength.  Add accessor methods.
(path_conv::fs_name_len): New method.

16 years ago * fhandler.h (dirent_states): Add dirent_nfs_d_ino state and add it to
Corinna Vinschen [Wed, 21 May 2008 09:02:42 +0000 (09:02 +0000)]
* fhandler.h (dirent_states): Add dirent_nfs_d_ino state and add it to
dirent_info_mask.
* fhandler_disk_file.cc (fhandler_disk_file::opendir): Set
dirent_nfs_d_ino flag for NFS shares.  Explain why.
(fhandler_disk_file::readdir): Use FileNamesInformation instead of
FileBothDirectoryInformation info class on NFS clients not supporting
the FileIdBothDirectoryInformation info class.  Use local pointers to
accommodate different offsets.
* path.cc (symlink_info::check): Don't test directories for symlinks
on NFS shares.  Enhance comment.

16 years ago * syscalls.cc (FILTERED_MODE): Define valid chmod mode mask.
Corinna Vinschen [Wed, 21 May 2008 08:05:53 +0000 (08:05 +0000)]
* syscalls.cc (FILTERED_MODE): Define valid chmod mode mask.
(chmod): Call fh->fchmod with filtered mode.
(fchmod): Ditto.

16 years ago * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
Nick Clifton [Wed, 21 May 2008 07:44:32 +0000 (07:44 +0000)]
    * libc/sys/sysnecv850/crt0.S (___dso_handle): Define (weak).
        * iq2000/crt0.S (__dso_handle): Define (weak).
        * frv/crt0.S (__dso_handle): Define (weak).
        * mn10300/crt0.S (___dso_handle): Define (weak).

16 years ago * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Fix test for
Corinna Vinschen [Tue, 20 May 2008 21:08:39 +0000 (21:08 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::fchmod): Fix test for
S_IFSOCK in mode bits.

16 years ago * path.cc (symlink_worker): Fix EA buffer size info given to
Corinna Vinschen [Tue, 20 May 2008 18:26:45 +0000 (18:26 +0000)]
* path.cc (symlink_worker): Fix EA buffer size info given to
NtCreateFile.
(symlink_info::check_nfs_symlink): Get 64K buffer for EA buffer.
Change EA buffer size info given to NtQueryEaFile accordingly.

16 years ago * path.cc (symlink_info::check_shortcut): Minimize requested file
Corinna Vinschen [Tue, 20 May 2008 18:19:32 +0000 (18:19 +0000)]
* path.cc (symlink_info::check_shortcut): Minimize requested file
access flags.
(symlink_info::check_sysfile): Ditto.  Add missing `else'.
(symlink_info::check): Only retry to open file if first try failed
with access denied.

16 years ago2008-05-20 DJ Delorie <dj@redhat.com>
Jeff Johnston [Tue, 20 May 2008 18:00:12 +0000 (18:00 +0000)]
2008-05-20  DJ Delorie  <dj@redhat.com>

* libc/sys/sysnecv850/isatty.c (_isatty): Renamed from isatty.

16 years ago * path.cc (fs_info::update): Re-add opening the unsplitted path
Corinna Vinschen [Tue, 20 May 2008 17:18:08 +0000 (17:18 +0000)]
* path.cc (fs_info::update): Re-add opening the unsplitted path
for fillout_mntent's sake.

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