]>
sourceware.org Git - newlib-cygwin.git/log
Joel Brobecker [Mon, 7 Jul 2008 17:09:31 +0000 (17:09 +0000)]
* safe-ctype.h: Add #include of ctype.h before redefining
the ctype.h macros.
Jeff Johnston [Mon, 7 Jul 2008 15:51:55 +0000 (15:51 +0000)]
2008-07-07 Hans-Peter Nilsson <hp@axis.com>
* libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t.
(strncpy): Cast src to uintptr_t before checking alignment with "&".
Danny Smith [Mon, 7 Jul 2008 07:58:33 +0000 (07:58 +0000)]
2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>
* include/ctype.h (_imp____mb_cur_max): Correct spelling.
(_imp____mb_cur_max_dll): Likewise.
Joel Brobecker [Fri, 4 Jul 2008 17:11:29 +0000 (17:11 +0000)]
* safe-ctype.h: Remove #error when detecting that ctype.h has been
included. Redefine the various macros provided by ctype.h as
undefined variables.
Danny Smith [Fri, 4 Jul 2008 03:55:50 +0000 (03:55 +0000)]
* include/stdio.h (swprintf, vswprintf): Guard with #ifndef __STRICT_ANSI__
* include/wchar.h (swprintf, vswprintf): Likewise.
Jeff Johnston [Wed, 2 Jul 2008 18:38:45 +0000 (18:38 +0000)]
2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/argz/argz_count.c: Include stddef.h to get size_t.
* libc/argz/argz_extract.c: Ditto.
* libc/argz/argz_stringify.c: Ditto.
* libc/search/hash.h: Ditto.
* libc/sys/linux/include/sched.h: Ditto.
* libc/sys/linux/sys/types.h: Ditto.
Jeff Johnston [Wed, 2 Jul 2008 18:17:48 +0000 (18:17 +0000)]
2008-07-02 Jeff Johnston <jjohnstn@redhat.com>
* libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned
source data is taken care of before loop unrolling.
Corinna Vinschen [Wed, 2 Jul 2008 14:00:27 +0000 (14:00 +0000)]
* path.cc (path_conv::is_binary): Fix test. Add comment.
Keith Marshall [Tue, 1 Jul 2008 22:57:24 +0000 (22:57 +0000)]
Add _get_output_format(), _set_output_format() for MSVCRT >= MSVCR80
Christopher Faylor [Tue, 1 Jul 2008 17:17:31 +0000 (17:17 +0000)]
* Makefile.in: Temporarily add ability to generate pdfs.
Christopher Faylor [Fri, 27 Jun 2008 00:34:02 +0000 (00:34 +0000)]
* effectively.sgml: Correct subject-verb agreement, missing verb
(typo), preposition and (definite vs indefinite) article use.
Brandon Sneed [Wed, 25 Jun 2008 21:21:08 +0000 (21:21 +0000)]
2008-06-25 Brandon Sneed <nivenh@sourceware.org>
* include/winbase.h (GetProcessHandleCount, GetSystemRegistryQuota,
GetThreadIOPendingFlag): Modified to rely on _WIN32_WINNT 0x0501 instead
of 0x0502.
Bug reported by Thomas Denk.
Brandon Sneed [Wed, 25 Jun 2008 20:53:31 +0000 (20:53 +0000)]
2008-06-25 Brandon Sneed <nivenh@sourceware.org>
* include/winbase.h (InterlockedIncrement, InterlockedDecrement,
InterlockedCompareExchange, InterlockedExchange,
InterlockedCompareExchangePointer, InterlockedExchangeAdd,
InterlockedExchangePointer): Modified from PLONG to LONG volatile *.
Hans-Peter Nilsson [Wed, 25 Jun 2008 01:45:02 +0000 (01:45 +0000)]
Fix strict-aliasing issues with _strtod_r and Storeinc.
* libc/stdlib/strtod.c (_strtod_r): Change local variables aadj,
rv, rv0 from double to type U. Use accessor macros dval, dword0
and dword1 for all accesses except for the ULtod call, where rv.i
replaces the pointer cast.
* libc/stdlib/mprec.h (U): Rename member L to i for easier re-use
of access macros. Tweak comment.
Remove #ifdef'd YES_ALIAS code.
(dword0, dword1, dval): Define in terms of uncast union member
access. Ditto for _DOUBLE_IS_32BITS variants.
(Storeinc): Replace aliasing-flawed microoptimized definition with
alternative suggested in comment. Remove now stale comment.
Corinna Vinschen [Tue, 24 Jun 2008 13:13:44 +0000 (13:13 +0000)]
* net.cc (cygwin_bindresvport_sa): Fix usage of last_used_bindresvport.
DJ Delorie [Tue, 24 Jun 2008 03:01:29 +0000 (03:01 +0000)]
merge from gcc
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.
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.
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.
Christopher Faylor [Fri, 20 Jun 2008 01:46:34 +0000 (01:46 +0000)]
* faq-using.xml: Add more words about multiple cygwins.
Corinna Vinschen [Thu, 19 Jun 2008 19:50:47 +0000 (19:50 +0000)]
* fhandler_tty.cc (fhandler_pty_master::setup): Fix pipe inheritance.
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.
Ian Lance Taylor [Wed, 18 Jun 2008 23:20:43 +0000 (23:20 +0000)]
* src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp.
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.
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.
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.
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.
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.
Corinna Vinschen [Tue, 17 Jun 2008 18:54:16 +0000 (18:54 +0000)]
* sec_auth.cc (DsGetDcNameA): Drop declaration.
(DS_FORCE_REDISCOVERY): Drop definition.
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.
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.
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.
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.
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.
Corinna Vinschen [Tue, 17 Jun 2008 10:05:28 +0000 (10:05 +0000)]
* include/resolv.h (_getshort): Drop declaration.
(_getlong): Ditto.
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.
Ralf Wildenhues [Mon, 16 Jun 2008 21:30:58 +0000 (21:30 +0000)]
* Makefile.tpl: Fix comment errors.
* Makefile.in: Regenerate.
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.
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.
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.
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>
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.
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.
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.
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.
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.
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.
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.
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.
Christopher Faylor [Thu, 12 Jun 2008 14:55:08 +0000 (14:55 +0000)]
remove obsolete comment
Joseph Myers [Thu, 12 Jun 2008 12:44:01 +0000 (12:44 +0000)]
* common.h: Update e_machine table.
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.
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.
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.
Corinna Vinschen [Wed, 11 Jun 2008 08:38:39 +0000 (08:38 +0000)]
* fhandler_procnet.cc (dad_to_flags): Fix comment.
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.
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.
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.
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.
Corinna Vinschen [Tue, 10 Jun 2008 15:16:01 +0000 (15:16 +0000)]
* sec_auth.cc (lsaauth): Make returned token inheritable.
Corinna Vinschen [Tue, 10 Jun 2008 14:48:24 +0000 (14:48 +0000)]
* devices.cc: Regenerate.
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.
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.
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.
Joseph Myers [Mon, 9 Jun 2008 14:07:18 +0000 (14:07 +0000)]
* common.h: Change registry@caldera.com to registry@sco.com.
Christopher Faylor [Mon, 9 Jun 2008 14:01:40 +0000 (14:01 +0000)]
* devices.in: Remove "Global" from tty device.
Christopher Faylor [Mon, 9 Jun 2008 13:45:59 +0000 (13:45 +0000)]
* signal.cc (abort): Only flush streams after signal handler.
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.
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.
Danny Smith [Fri, 6 Jun 2008 02:32:32 +0000 (02:32 +0000)]
PR driver/35916
* mh-mingw (CFLAGS): Add -D__USE_MINGW_ACCESS.
Keith Marshall [Tue, 3 Jun 2008 18:42:21 +0000 (18:42 +0000)]
Avoid precision errors in round(), lround() and llround() functions.
Christopher Faylor [Tue, 3 Jun 2008 02:22:36 +0000 (02:22 +0000)]
* cygwin.sc: Remove unrequired and erroneous definition.
Christopher Faylor [Fri, 30 May 2008 17:56:37 +0000 (17:56 +0000)]
* select.cc (peek_pipe): Semi-reinstate pipe NT-special write detection.
Christopher Faylor [Thu, 29 May 2008 17:09:10 +0000 (17:09 +0000)]
add missing entry
Christopher Faylor [Thu, 29 May 2008 17:08:45 +0000 (17:08 +0000)]
* devices.in: Change mapping for /dev/ttyS* and /dev/com*.
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>.
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>.
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.
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.
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.
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.
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.
Christopher Faylor [Sun, 25 May 2008 23:51:32 +0000 (23:51 +0000)]
* mount.cc (mount_info::from_fstab): Use proper buffer size.
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.
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.
Corinna Vinschen [Sat, 24 May 2008 09:54:32 +0000 (09:54 +0000)]
* path.cc (symlink_info::check): Reorder test for nfs symlinks.
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.
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.
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.
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.
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.
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.
Corinna Vinschen [Fri, 23 May 2008 10:01:34 +0000 (10:01 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Eliminate
compiler warning.
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.
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.
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.
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.
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.
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.
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.
This page took 0.068394 seconds and 5 git commands to generate.