summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2008-07-08 Kenji Tanaka <tanaka.ken2@jp.panasonic.com>Jeff Johnston2008-07-082-1/+6
| | | | | * libc/machine/mn10300/memset.S: Fix bug where return value is incorrectly set if number of bytes set is a multiple of 4.
* * fhandler_socket.cc (fhandler_socket::bind): Don't run explicitCorinna Vinschen2008-07-085-7/+50
| | | | | | | | | | local socket test in SO_REUSEADDR case on systems supporting enhanced socket security. Explain why. Only call address_in_use for AF_INET sockets. * net.cc (cygwin_setsockopt): Don't call setsockopt to set SO_REUSEADDR on systems supporting enhanced socket security. Add comment. * wincap.h (wincaps::has_enhanced_socket_security): New element. * wincap.cc: Implement above element throughout.
* * net.cc (ipv6_inited): Make NO_COPY.Corinna Vinschen2008-07-082-1/+5
|
* 2008-07-07 Stan Shebs <stan@codesourcery.com>Stan Shebs2008-07-072-0/+6
| | | | * dis-asm.h (struct disassemble_info): Add endian_code field.
* * safe-ctype.h: Add #include of ctype.h before redefiningJoel Brobecker2008-07-072-1/+9
| | | | the ctype.h macros.
* 2008-07-07 Hans-Peter Nilsson <hp@axis.com>Jeff Johnston2008-07-072-1/+7
| | | | | * libc/machine/mips/strncpy.c: Include stdint.h to get uintptr_t. (strncpy): Cast src to uintptr_t before checking alignment with "&".
* 2008-07-06 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Danny Smith2008-07-072-3/+8
| | | | | * include/ctype.h (_imp____mb_cur_max): Correct spelling. (_imp____mb_cur_max_dll): Likewise.
* * safe-ctype.h: Remove #error when detecting that ctype.h has beenJoel Brobecker2008-07-042-4/+38
| | | | | included. Redefine the various macros provided by ctype.h as undefined variables.
* * include/stdio.h (swprintf, vswprintf): Guard with #ifndef ↵Danny Smith2008-07-043-5/+17
| | | | | | __STRICT_ANSI__ * include/wchar.h (swprintf, vswprintf): Likewise.
* 2008-07-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-07-027-0/+19
| | | | | | | | | * 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.
* 2008-07-02 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2008-07-022-0/+25
| | | | | * libc/machine/mips/strncpy.c (strncpy): Fix logic so unaligned source data is taken care of before loop unrolling.
* * path.cc (path_conv::is_binary): Fix test. Add comment.Corinna Vinschen2008-07-022-2/+8
|
* Add _get_output_format(), _set_output_format() for MSVCRT >= MSVCR80Keith Marshall2008-07-013-6/+24
|
* * Makefile.in: Temporarily add ability to generate pdfs.Christopher Faylor2008-07-012-1/+13
|
* * effectively.sgml: Correct subject-verb agreement, missing verbChristopher Faylor2008-06-272-35/+40
| | | | (typo), preposition and (definite vs indefinite) article use.
* 2008-06-25 Brandon Sneed <nivenh@sourceware.org>Brandon Sneed2008-06-252-3/+11
| | | | | | | * include/winbase.h (GetProcessHandleCount, GetSystemRegistryQuota, GetThreadIOPendingFlag): Modified to rely on _WIN32_WINNT 0x0501 instead of 0x0502. Bug reported by Thomas Denk.
* 2008-06-25 Brandon Sneed <nivenh@sourceware.org>Brandon Sneed2008-06-252-7/+14
| | | | | | | * include/winbase.h (InterlockedIncrement, InterlockedDecrement, InterlockedCompareExchange, InterlockedExchange, InterlockedCompareExchangePointer, InterlockedExchangeAdd, InterlockedExchangePointer): Modified from PLONG to LONG volatile *.
* Fix strict-aliasing issues with _strtod_r and Storeinc.Hans-Peter Nilsson2008-06-253-58/+47
| | | | | | | | | | | | | | * 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.
* * net.cc (cygwin_bindresvport_sa): Fix usage of last_used_bindresvport.Corinna Vinschen2008-06-242-2/+6
|
* merge from gccDJ Delorie2008-06-242-0/+13
|
* * include/limits.h (PATH_MAX): Add comment.Corinna Vinschen2008-06-213-1/+8
| | | | | * include/cygwin/config.h (__FILENAME_MAX__): Define as 4096. Add comment.
* * libc/include/machine/setjmp.h (_longjmp): Define as function onCorinna Vinschen2008-06-212-1/+12
| | | | | Cygwin. (_setjmp): Ditto.
* Committed as obvious.Danny Smith2008-06-203-2/+8
| | | | | | * lib/ddk/hal.def (HalTranslateBusAddress): Correct suffix. * lib/ddk/ntoskrnl.def (MmAllocateContiguousMemory): Correct suffix. Bug reported by Brian Hawley.
* * faq-using.xml: Add more words about multiple cygwins.Christopher Faylor2008-06-202-1/+70
|
* * fhandler_tty.cc (fhandler_pty_master::setup): Fix pipe inheritance.Corinna Vinschen2008-06-192-2/+6
|
* * strsig.cc (strsignal): Return non-const buffer to allow building with recentChristopher Faylor2008-06-192-3/+12
| | | | newlib change.
* * src-release (BINUTILS_SUPPORT_DIRS): Remove mkdep and depcomp.Ian Lance Taylor2008-06-182-1/+3
|
* 2008-06-18 Ian Lance Taylor <iant@google.com>Ian Lance Taylor2008-06-182-1/+5
| | | | * src-release (BINUTILS_SUPPORT_DIRS): Add depcomp.
* Per Posix, strsignal returns non-const char*.Eric Blake2008-06-182-1/+6
| | | | * libc/include/string.h (strsignal): Fix return type.
* common.h (EM_CR16): Correct value.Swami Reddy M R2008-06-181-0/+5
| | | | (EM_CR16): Rename to EM_CR16_OLD.
* common.h (EM_CR16): Correct value.Swami Reddy M R2008-06-181-2/+3
| | | | (EM_CR16): Rename to EM_CR16_OLD.
* * configure: Regenerate.Ralf Wildenhues2008-06-174-16/+108
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* * sec_auth.cc (DsGetDcNameA): Drop declaration.Corinna Vinschen2008-06-172-5/+5
| | | | (DS_FORCE_REDISCOVERY): Drop definition.
* * include/dsgetdc.h (DS_FORCE_REDISCOVERY, DS_FORCE_REDISCOVERY,Corinna Vinschen2008-06-173-0/+38
| | | | | | | | | | | | 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.
* 2008-06-17 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2008-06-172-0/+298
| | | | | * libc/machine/spu/sys/linux_syscalls.h: New file to add Linux syscall support.
* 2008-06-17 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2008-06-172-0/+67
| | | | | * spu/Makefile.in: Add new file. * spu/linux_syscalls.c: New file to add Linux syscall support.
* * app.c (do_scrub_chars): Do not UNGET an EOF value.Nick Clifton2008-06-172-4/+85
| | | | | | | | | | * 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.
* * spawn.cc (spawn_guts): Reinstate call to fhandler_console::need_invisibleChristopher Faylor2008-06-172-0/+8
| | | | since it is required to prevent console flashing.
* * include/resolv.h (_getshort): Drop declaration.Corinna Vinschen2008-06-172-4/+5
| | | | (_getlong): Ditto.
* * configure.ac: Set TOPLEVEL_CONFIGURE_ARGUMENTS early, whenRalf Wildenhues2008-06-163-59/+66
| | | | | "$@" is still intact with both Autoconf 2.59 and 2.62. * configure: Regenerate.
* * Makefile.tpl: Fix comment errors.Ralf Wildenhues2008-06-163-10/+15
| | | | * Makefile.in: Regenerate.
* 2008-06-16 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2008-06-164-0/+25
| | | | | | * 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.
* 2008-06-16 Ken Werner <ken.werner@de.ibm.com>Jeff Johnston2008-06-1611-0/+41
| | | | | | | | | | | | | | | | * 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.
* 2008-06-16 Corrin Meyer <cjmeyer@gmail.com>Jeff Johnston2008-06-162-1/+5
| | | | * m68k/cf-crt1.c[__mcf_family_m1qe]: Don't access CACR.
* Committed as obvious.Danny Smith2008-06-143-2/+9
| | | | | | | [mingw-Bugs-1801641] * include/wchar.h (_wfdopen): Const-ify second arg. * include/stdio.h (_wfdopen): Likewise. Thanks to <tdragon at users dot sourceforge net>
* include/opcode/Peter Bergner2008-06-132-4/+13
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * mount.cc (mount_info::get_cygdrive_info): Fix usage of user andCorinna Vinschen2008-06-132-9/+23
| | | | | system arguments. Strip trailing slash from path for backward compatibility.
* * configure.ac (arm*-*-linux-gnueabi): Don't disable buildingJulian Brown2008-06-133-2/+6
| | | | | of libobjc for ARM EABI Linux. * configure: Regenerate.
* * mips.h: Document new field descriptors +Q.Nick Clifton2008-06-122-1/+7
| | | | | | | | | | | | | | | | | | | | | | | | (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.
* * common.h (EM_M32C_NEW): Rename to EM_M32C.DJ Delorie2008-06-122-2/+7
| | | | | | | | | | | | (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.