]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
11 years ago * cygserver.cc (main): Call listen right after creating the
Corinna Vinschen [Fri, 23 Nov 2012 15:19:41 +0000 (15:19 +0000)]
* cygserver.cc (main): Call listen right after creating the
transport.
* transport_pipes.cc (transport_layer_pipes::listen): Create
first instance of the named pipe here.  Connect the client side
to block it for further use by the system.
(transport_layer_pipes::accept): Don't handle first pipe instance
here.  Change debug output accordingly.

11 years ago* configure.in: Remove unneeded ALLOC substitution.
Christopher Faylor [Fri, 23 Nov 2012 14:58:24 +0000 (14:58 +0000)]
* configure.in: Remove unneeded ALLOC substitution.
* configure: Regenerate.
* aclocal.m4: Ditto.

11 years ago* configure.in: Add previously-missed AC_NO_EXECUTABLES.
Christopher Faylor [Fri, 23 Nov 2012 14:55:44 +0000 (14:55 +0000)]
* configure.in: Add previously-missed AC_NO_EXECUTABLES.
* configure: Regenerate.
* aclocal.m4: Ditto.

11 years agocygwin/ChangeLog:
Christopher Faylor [Fri, 23 Nov 2012 14:52:07 +0000 (14:52 +0000)]
cygwin/ChangeLog:
2012-11-23  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.in: Use explicit path to mkdir.

lsaauth/ChangeLog:
2012-11-23  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.in: Use /bin/mkdir to make directories.

testsuite/ChangeLog:
2012-11-23  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.in: Remove old Makefile.common'isms.  Don't rely on
in-build tools.

11 years ago * sysv_sem.cc (semundo_clear): Move condition to break from
Corinna Vinschen [Fri, 23 Nov 2012 14:32:02 +0000 (14:32 +0000)]
* sysv_sem.cc (semundo_clear): Move condition to break from
inner loop to the right spot.

11 years agoChangeLog:
Christopher Faylor [Fri, 23 Nov 2012 13:22:47 +0000 (13:22 +0000)]
ChangeLog:
2012-11-12  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.common: Revamp for new configury.  Add default compilation
targets, include .E processing.  Add magic for allowing "CFLAGS" to
control optimization options in "CXXFLAGS".
* configure.cygwin: New include for Cygwin configure.in's.
* acinclude.m4: Delete old definitions.  Implement AC_WINDOWS_HEADERS,
AC_WINDOWS_LIBS, AC_CYGWIN_INCLUDES, target_builddir, winsup_srcdir.
* aclocal.m4: Regenerate.
* autogen.sh: New file.
* ccwrap: New script.
* c++wrap: New script.
* config.guess: New script.
* config.sub: New script.
* configure: Regenerate.
* configure.in: Eliminate LIB_AC_PROG_* calls in favor of standard.
Delete ancient target test.
* install-sh: New script.

cygserver/ChangeLog:
2012-11-12  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.in: Revamp for new configury.
* configure.in: Revamp for new configury.
* aclocal.m4: Regenerate.
* configure: Ditto.
* autogen.sh: New script.

cygwin/ChangeLog:
2012-11-22  Christopher Faylor  <me.cygwin2012@cgf.cx>

* select.cc (select): Don't return -1 when we've timed out after
looping.

2012-11-22  Christopher Faylor  <me.cygwin2012@cgf.cx>

* Makefile.in: Revamp for new configury.
(datarootdir): Add variable setting.
(winver_stamp): Accommodate changes to mkvers.sh setting.
(libc.a): Fix race when libm.a might not have been built yet.
* configure.in: Revamp for new configury.
* aclocal.m4: Regenerate.
* configure: Ditto.
* autogen.sh: New script.
* mkvers.sh: Find include directives via CFLAGS and friends rather than
assuming that w32api lives nearby.

utils/ChangeLog:
2012-11-12  Christopher Faylor  <me.cygwin2012@cgf.cx>

* aclocal.m4: Regenerate.
* configure: Ditto.
* autogen.sh: New script.
* configure.in: Revamp for new configury.
* Makefile.in: Revamp for new configury.  Rename ALL_* to just *.
Always use "VERBOSE" setting.
(MINGW_CXX): Don't include CFLAGS in definition.
(all): Define target first, before everything else so that it is the
default.
(ps.exe): Don't add useless -lcygwin.
(ldh.exe): For consistency, add to existing MINGW_LDFLAGS rather than
redefining them.
(cygcheck.exe): Always include -lz for MINGW_LDFLAGS.  Don't try to
figure out where to find it.
(dumper.exe): Simplify check.  Assume libraries are installed rather
than trying to retrieve from source tree.
(install): Just use /bin/mkdir to create directories.
(Makefile): Regenerate when standard dependencies change.
* dump_setup.cc: Always include zlib.h.  Remove accommodations for it
possibly not existing.
* parse_pe.cc: Add define which allows building with installed
binutils package.
* dumper.cc: Ditto.

11 years ago * libm/machine/aarch64/configure.in: Change comment to say libm
Corinna Vinschen [Fri, 23 Nov 2012 10:48:13 +0000 (10:48 +0000)]
* libm/machine/aarch64/configure.in: Change comment to say libm
instead of libc.

11 years ago * aarch64/configure.in: Replace the direct generation of
Corinna Vinschen [Fri, 23 Nov 2012 10:43:31 +0000 (10:43 +0000)]
* aarch64/configure.in: Replace the direct generation of
cpu-init/Makefile.in with AC_CONFIG_SUBDIRS(cpu-init).
* aarch64/configure: Re-generate.
* aarch64/cpu-init/Makefile.in (objtype): Remove.
(Makefile, config.status): Update the rules.
* aarch64/cpu-init/aclocal.m4: New file (generated).
* aarch64/cpu-init/configure.in: New file.
* aarch64/cpu-init/configure: New file (generated).

11 years agoinclude/opcode/
Alan Modra [Fri, 23 Nov 2012 03:28:09 +0000 (03:28 +0000)]
include/opcode/
* ppc.h (ppc_parse_cpu): Update prototype.
opcodes/
* ppc-dis.c (ppc_parse_cpu): Add "sticky" param.  Track bits
set from ppc_opts.sticky in it.  Delete "retain_mask".
(powerpc_init_dialect): Choose default dialect from info->mach
before parsing -M options.  Handle more bfd_mach_ppc variants.
Update common default to power7.
gas/
* config/tc-ppc.c (sticky): New var.
(md_parse_option, ppc_machine): Update ppc_parse_cpu calls.
gas/testsuite/
* gas/ppc/astest2.d: Pass -Mppc to objdump.
ld/testsuite/
* ld-powerpc/plt1.d: Update for default "at" branch hints.
* ld-powerpc/tlsexe.d: Likewise.
* ld-powerpc/tlsexetoc.d: Likewise.
* ld-powerpc/tlsopt1.d: Likewise.
* ld-powerpc/tlsopt1_32.d: Likewise.
* ld-powerpc/tlsopt2.d: Likewise.
* ld-powerpc/tlsopt2_32.d: Likewise.
* ld-powerpc/tlsopt4.d: Likewise.
* ld-powerpc/tlsopt4_32.d: Likewise.
* ld-powerpc/tlsso.d: Likewise.
* ld-powerpc/tlstocso.d: Likewise.

11 years ago* termios.cc (cfsetspeed): New function.
Yaakov Selkowitz [Wed, 21 Nov 2012 20:13:07 +0000 (20:13 +0000)]
* termios.cc (cfsetspeed): New function.
* cygwin.din (cfsetspeed): Export.
* posix.sgml (std-bsd): Add cfsetspeed.
* include/sys/termios.h (cfsetspeed): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.

11 years ago2012-11-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
Jan-Benedict Glaw [Mon, 19 Nov 2012 22:03:01 +0000 (22:03 +0000)]
2012-11-19  Jan-Benedict Glaw  <jbglaw@lug-owl.de>

* config.sub (arm): Merge from upstream: Handle armv[6-8] targets.

11 years ago * include/mntent.h: Only include paths.h when building for Cygwin.
Corinna Vinschen [Fri, 16 Nov 2012 17:35:14 +0000 (17:35 +0000)]
* include/mntent.h: Only include paths.h when building for Cygwin.
Add comment to explain why.

11 years agoUpdate DF_1_XXX from Solaris
H.J. Lu [Fri, 16 Nov 2012 12:49:20 +0000 (12:49 +0000)]
Update DF_1_XXX from Solaris

binutils/

* readelf.c (process_dynamic_section): Correct DF_1_CONFALT.
Also dump DF_1_ENDFILTEE, DF_1_DISPRELDNE, DF_1_NODIRECT,
DF_1_IGNMULDEF, DF_1_NOKSYMS, DF_1_NOHDR, DF_1_EDITED,
DF_1_NORELOC, DF_1_SYMINTPOSE, DF_1_GLOBAUDIT and DF_1_SINGLETON.

include/elf/

* common.h (DF_1_CONLFAT): Renamed to ...
(DF_1_CONFALT): This.
(DF_1_ENDFILTEE): New.
(DF_1_DISPRELDNE): Likewise.
(DF_1_DISPRELPND): Likewise.
(DF_1_NODIRECT): Likewise.
(DF_1_IGNMULDEF): Likewise.
(DF_1_NOKSYMS): Likewise.
(DF_1_NOHDR): Likewise.
(DF_1_EDITED): Likewise.
(DF_1_NORELOC): Likewise.
(DF_1_SYMINTPOSE): Likewise.
(DF_1_GLOBAUDIT): Likewise.
(DF_1_SINGLETON): Likewise.

11 years agoRestore "Consider *-*-nacl* targets ELF for gold"
H.J. Lu [Thu, 15 Nov 2012 14:10:39 +0000 (14:10 +0000)]
Restore "Consider *-*-nacl* targets ELF for gold"

* configure.ac (ENABLE_GOLD): Consider *-*-nacl* targets ELF.
* configure: Regenerate.

11 years agoSync toplevel files with GCC
H.J. Lu [Thu, 15 Nov 2012 00:16:49 +0000 (00:16 +0000)]
Sync toplevel files with GCC

2012-11-13  Richard Henderson  <rth@redhat.com>

* configure.ac: Move libsanitizer logic to subdirectory.
* configure: Regenerate.

2012-11-13  Dodji Seketeli  <dodji@redhat.com>

* configure.ac: Enable libsanitizer just on x86 linux for now.
* configure: Re-generate.

2012-11-13  David Edelsohn  <dje.gcc@gmail.com>

* configure.ac: Merge libquadmath sections.
* configure: Regenerate.

2012-11-12  Wei Mi <wmi@google.com>

* configure.ac: Add libsanitizer to target_libraries.
* Makefile.def: Ditto.
* configure: Regenerate.
* Makefile.in: Regenerate.

11 years ago2012-11-14 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 14 Nov 2012 10:45:39 +0000 (10:45 +0000)]
2012-11-14  Tristan Gingold  <gingold@adacore.com>

* external.h (mach_o_entry_point_command_external)
(mach_o_source_version_command_external)
(mach_o_data_in_code_entry_external): New structures.

* loader.h (bfd_mach_o_load_command_type): Add
BFD_MACH_O_LC_MAIN, BFD_MACH_O_LC_DATA_IN_CODE,
BFD_MACH_O_LC_SOURCE_VERSION and BFD_MACH_O_LC_DYLIB_CODE_SIGN_DRS.
(BFD_MACH_O_REFERENCE_MASK): Adjust value.
(BFD_MACH_O_N_REF_TO_WEAK): New definition.
(BFD_MACH_O_N_ARM_THUMB_DEF, BFD_MACH_O_N_SYMBOL_RESOLVER): Likewise.
(bfd_mach_o_data_in_code_entry_kind): New enum.

11 years ago2012-11-14 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 14 Nov 2012 10:22:27 +0000 (10:22 +0000)]
2012-11-14  Tristan Gingold  <gingold@adacore.com>

* arm.h: New file.

11 years ago2012-11-12 Steve Ellcey <sellcey@mips.com>
Steve Ellcey [Mon, 12 Nov 2012 23:49:55 +0000 (23:49 +0000)]
2012-11-12  Steve Ellcey  <sellcey@mips.com>

* libc/machine/mips/machine/asm.h: New.
* libc/machine/mips/machine/regdef.h: Update register definitions
for different ABI's.

11 years ago* libc/include/sys/time.h: Avoid guarding other than timeval declaration with
Christopher Faylor [Mon, 12 Nov 2012 15:57:35 +0000 (15:57 +0000)]
* libc/include/sys/time.h: Avoid guarding other than timeval declaration with
_TIMEVAL_DEFINED.  Move timeval related macros under _TIMEVAL_DEFINED control.

11 years agomerge from gcc
DJ Delorie [Sun, 11 Nov 2012 22:37:19 +0000 (22:37 +0000)]
merge from gcc

11 years agoMerge from GCC.
Thomas Schwinge [Sun, 11 Nov 2012 10:59:50 +0000 (10:59 +0000)]
Merge from GCC.

config/
* dfp.m4 (enable_decimal_float): Enable for i?86*-*-gnu*.

libdecnumber/
* configure: Regenerate.

11 years ago * winbase.h: Semi-reinstantiate to workaround lack inline assembler
Corinna Vinschen [Sun, 11 Nov 2012 10:56:01 +0000 (10:56 +0000)]
* winbase.h: Semi-reinstantiate to workaround lack inline assembler
implementation of InterlockedCompareExchange for i686 in Mingw64
headers.
* pinfo.cc (pinfo::init): Remove unused variable mapaddr.

11 years ago2012-11-09 Nick Clifton <nickc@redhat.com>
Nick Clifton [Fri, 9 Nov 2012 17:36:19 +0000 (17:36 +0000)]
2012-11-09  Nick Clifton  <nickc@redhat.com>

* Makefile.am (ALL_MACHINES): Add cpu-v850-rh850.lo.
(ALL_MACHINES_CFILES): Add cpu-v850-rh850.c.
* archures.c (bfd_arch_info): Add bfd_v850_rh850_arch.
* config.bfd: Likewise.
* configure.in: Add bfd_elf32_v850_rh850_vec.
* cpu-v850.c: Update printed description.
* cpu-v850_rh850.c: New file.
* elf32-v850.c (v850_elf_check_relocs): Add support for RH850 ABI
relocs.
(v850_elf_perform_relocation): Likewise.
(v850_elf_final_link_relocate): Likewise.
(v850_elf_relocate_section): Likewise.
(v850_elf_relax_section): Likewise.
(v800_elf_howto_table): New.
(v850_elf_object_p): Add support for RH850 ABI values.
(v850_elf_final_write_processing): Likewise.
(v850_elf_merge_private_bfd_data): Likewise.
(v850_elf_print_private_bfd_data): Likewise.
(v800_elf_reloc_map): New.
(v800_elf_reloc_type_lookup): New.
(v800_elf_reloc_name_lookup): New.
(v800_elf_info_to_howto): New.
(bfd_elf32_v850_rh850_vec): New.
(bfd_arch_v850_rh850): New.
* targets.c (_bfd_targets): Add bfd_elf32_v850_rh850_vec.
* Makefile.in: Regenerate.
* bfd-in2.h: Regenerate.
* configure: Regenerate.

* readelf.c (get_machine_flags): Add support for E_FLAG_RX_ABI.
(guess_is_rela): Add EM_V800.
(dump_relocations): Likewise.
(get_machine_name): Update EM_V800.
(get_machine_flags): Add support for RH850 ABI flags.
(is_32bit_abs_reloc): Add support for RH850 ABI reloc.

* config/tc-v850.c (v850_target_arch): New.
(v850_target_format): New.
(set_machine): Use v850_target_arch.
(md_begin): Likewise.
(md_show_usage): Document new switches.
(md_parse_option): Add -mgcc-abi, -mrh850-abi, -m8byte-align and
-m4byte-align.
* config/tc-v850.c (TARGET_ARCH) Use v850_target_arch.
(TARGET_FORMAT): Use v850_target_format.
* doc/c-v850.texi: Document new options.

* v850.h: Add RH850 ABI values.

* Makefile.am: (ALL_EMULATION_SOURCES): Add ev850_rh850.c.
* Makefile.in: Regenerate.
* configure.tgt (v850*-*-*): Make v850_rh850 the default
emulation. Add vanilla v850 as an extra emulation.
* emulparams/v850_rh850.sh: New file.
* scripttempl/v850_rh850.sc: New file.

* configure.in: Add bfd_v850_rh850_arch.
* configure: Regenerate.
* disassemble.c (disassembler): Likewise.

11 years ago2012-11-09 Nick Clifton <nickc@redhat.com>
Nick Clifton [Fri, 9 Nov 2012 17:00:42 +0000 (17:00 +0000)]
2012-11-09  Nick Clifton  <nickc@redhat.com>

* elf32-rx.c (describe_flags): New function.  Returns a buffer
containing a description of the E_FLAG_RX_... values set.
(rx_elf_merge_private_bfd_data): Use it.
(rx_elf_print_private_bfd_data): Likewise.
(elf32_rx_machine): Skip EF_RX_CPU_RX check.
(elf32_rx_special_sections): Define.
(elf_backend_special_sections): Define.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* readelf.c (get_machine_flags): Add support for E_FLAG_RX_ABI.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* config/obj-elf.c (obj_elf_change_section): Allow init array
sections to have the SHF_EXECINSTR attribute for the RX target.
* config/tc-rx.c (elf_flags): Initialise with E_FLAG_RX_ABI.
(enum options): Add OPTION_USES_GCC_ABI and OPTION_USES_RX_ABI.
(md_longopts): Add -mgcc-abi and -mrx-abi.
(md_parse_option): Add support for OPTION_USES_GCC_ABI and
OPTION_USES_RX_ABI.
* doc/as.texinfo (RX Options): Add mention of remaining RX
options.
* doc/c-rx.texi: Document -mgcc-abi and -mrx-abi.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* rx.h (EF_RX_CPU_RX): Add comment.
(E_FLAG_RX_ABI): Define.

2012-11-09  Nick Clifton  <nickc@redhat.com>

* emultempl/rxelf.em (no_flag_mismatch_warnings): Initialise to
true.
(PARSE_AND_LIST_LONGOPTS): Add flag-mismatch-warnings.
(PARSE_AND_LIST_ARG_CASES): Add support for
--flag-mismatch-warnings.

11 years ago * path.cc (vcygpath): Handle cygdrive prefix.
Corinna Vinschen [Fri, 9 Nov 2012 08:53:01 +0000 (08:53 +0000)]
* path.cc (vcygpath): Handle cygdrive prefix.

11 years ago * sigproc.cc (proc_subproc): Delete unused variable child.
Corinna Vinschen [Thu, 8 Nov 2012 18:41:58 +0000 (18:41 +0000)]
* sigproc.cc (proc_subproc): Delete unused variable child.

11 years ago * mips.h (EF_MIPS_32BITMODE): Move next to lower-order bits.
Maciej W. Rozycki [Thu, 8 Nov 2012 18:25:23 +0000 (18:25 +0000)]
* mips.h (EF_MIPS_32BITMODE): Move next to lower-order bits.

11 years ago* fhandler_termios.cc (fhandler_termios::line_edit): Don't do special character
Christopher Faylor [Thu, 8 Nov 2012 17:27:00 +0000 (17:27 +0000)]
* fhandler_termios.cc (fhandler_termios::line_edit): Don't do special character
handling when stopped by CTRL-S.
* fhandler_tty.cc (bytes_available): Add arguments to debug_only_printf call.
* sigproc.cc (proc_subproc): Simplify some if logic.

11 years ago* mingw: Delete obsolete directory.
Christopher Faylor [Wed, 7 Nov 2012 16:52:48 +0000 (16:52 +0000)]
* mingw: Delete obsolete directory.
* w32api: Ditto.

11 years agoAdd missing ChangeLog entry
Corinna Vinschen [Wed, 7 Nov 2012 16:36:31 +0000 (16:36 +0000)]
Add missing ChangeLog entry

11 years agowinsup:
Corinna Vinschen [Wed, 7 Nov 2012 16:32:08 +0000 (16:32 +0000)]
winsup:

* Makefile.common (zlib_source): Remove.
(zlib_build): Remove.
(bz2lib_source): Remove.
(bz2lib_build): Remove.
(w32api_source): Remove.
(w32api_build): Remove.
(w32api_lib): Remove.
(mingw_build): Remove.
(mingw_source): Remove.
($(w32api_lib)/%.a): Remove rule.
* Makefile.in (ZLIB): Remove.
($(SUBDIRS)): Drop mingw check.
(mingw): Remove rule.
(install_mingw): Ditto.
* configure.in: Remove support for mingw as build target.
* configure: Regenerate.

utils:

* Makefile.in ($(MINGW_BINS)): Drop -B$(mingw_build)/ from build
expression.

11 years ago * Makefile.in (MINGW_CXX): Attach $(CFLAGS) to allow providing
Corinna Vinschen [Mon, 5 Nov 2012 11:15:23 +0000 (11:15 +0000)]
* Makefile.in (MINGW_CXX): Attach $(CFLAGS) to allow providing
build option tweaks to mingw compiler as well.

11 years ago * include/sys/termios.h (CBRK): Define as alias of CEOL.
Yaakov Selkowitz [Mon, 5 Nov 2012 03:19:28 +0000 (03:19 +0000)]
* include/sys/termios.h (CBRK): Define as alias of CEOL.
(CREPRINT): Define as alias of CRPRNT.
(CDISCARD): Define as alias of CFLUSH.
(TTYDEF_*): Define.

11 years agoAdd --disable-libstdcxx configure option
H.J. Lu [Sun, 4 Nov 2012 00:09:53 +0000 (00:09 +0000)]
Add --disable-libstdcxx configure option

2012-11-03  H.J. Lu  <hongjiu.lu@intel.com>

* configure: Regenerated.

2012-11-03  Robert Mason  <rbmj@verizon.net>

* configure.ac: add --disable-libstdcxx configure option
and handle defaulted state only for VxWorks, ARM-wince-pe and AVR.

11 years agoAdd gthr.m4
H.J. Lu [Sat, 3 Nov 2012 23:53:02 +0000 (23:53 +0000)]
Add gthr.m4

2012-10-15  Pavel Chupin  <pavel.v.chupin@intel.com>

* gthr.m4: New. Define GCC_AC_THREAD_HEADER.

11 years agobinutils
Tom Tromey [Thu, 1 Nov 2012 14:57:22 +0000 (14:57 +0000)]
binutils
* readelf.c (get_note_type): Handle NT_386_TLS, NT_386_IOPERM.
include/common/elf
* common.h (NT_386_TLS, NT_386_IOPERM): New defines.

11 years ago * libc/include/locale.h (NULL): Fetch definition via stddef.h.
Corinna Vinschen [Thu, 1 Nov 2012 11:51:12 +0000 (11:51 +0000)]
* libc/include/locale.h (NULL): Fetch definition via stddef.h.
* libc/include/stdio.h (NULL): Ditto.
* libc/include/stdlib.h (NULL): Ditto.
* libc/include/string.h (NULL): Ditto.
* libc/include/wchar.h (NULL): Ditto.
* libc/include/rpc/types.h (NULL): Ditto.
* libc/include/time.h (NULL): Ditto.  Include stddef.h earlier.

11 years agoFix copyright
Corinna Vinschen [Wed, 31 Oct 2012 16:49:25 +0000 (16:49 +0000)]
Fix copyright

11 years ago * include/sys/param.h: Include stddef.h to define NULL.
Corinna Vinschen [Wed, 31 Oct 2012 16:48:50 +0000 (16:48 +0000)]
* include/sys/param.h: Include stddef.h to define NULL.

11 years ago * fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix using
Corinna Vinschen [Wed, 31 Oct 2012 15:02:13 +0000 (15:02 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::rewinddir): Fix using
wrong value in condition.

11 years agobfd:
Nick Clifton [Tue, 30 Oct 2012 12:44:57 +0000 (12:44 +0000)]
bfd:
        * elf32-arm.c (elf32_arm_print_private_bfd_data): Recognise and
        display the new ARM hard-float/soft-float ABI flags for EABI_VER5
        (elf32_arm_post_process_headers): Add the hard-float/soft-float
        ABI flag as appropriate for ET_DYN/ET_EXEC in EABI_VER5.

binutils:
        * readelf.c (decode_ARM_machine_flags): Recognise and display the
        new ARM hard-float/soft-float ABI flags for EABI_VER5. Split out
        the code for EABI_VER4 and EABI_VER5 to allow this.

elfcpp:
        * arm.h: New enum for EABI soft- and hard-float flags.

gold:
        * gold.cc (Target_arm::do_adjust_elf_header): Add the
        hard-float/soft-float ABI flag as appropriate for ET_DYN/ET_EXEC
        in EABI_VER5.

include:
        * elf/arm.h (EF_ARM_ABI_FLOAT_SOFT): New define.
        (EF_ARM_ABI_FLOAT_HARD): Likewise.

ld/testsuite:
        * ld-arm/eabi-hard-float.s: New test source.
        * ld-arm/eabi-soft-float.s: New test source.
        * ld-arm/eabi-hard-float.d: New test.
        * ld-arm/eabi-soft-float.d: New test.
        * ld-arm/eabi-soft-float-ABI4.d: New test.
        * ld-arm/eabi-soft-float-r.d: New test.
        * ld-arm/arm-elf.xp: Use the new tests.

binutils:
PR binutils/14779
* configure.in: Add checks for wchar.h and mbstate_t.
* config.in: Regenerate.
* configure: Regenerate.
* readelf.c: Conditionally include wchar.h.
(print_symbol): Conditionally use mbstate_t.

11 years ago * include/sys/cygwin.h: Add missing defines for CW_ALLOC_DRIVE_MAP,
Corinna Vinschen [Tue, 30 Oct 2012 10:32:46 +0000 (10:32 +0000)]
* include/sys/cygwin.h: Add missing defines for CW_ALLOC_DRIVE_MAP,
CW_MAP_DRIVE_MAP and CW_FREE_DRIVE_MAP.

11 years agoMinor debugging aid for the moxie port.
Anthony Green [Sat, 27 Oct 2012 19:41:18 +0000 (19:41 +0000)]
Minor debugging aid for the moxie port.

11 years agoMinor optimization and bug fix for moxie.
Anthony Green [Sat, 27 Oct 2012 15:57:12 +0000 (15:57 +0000)]
Minor optimization and bug fix for moxie.

11 years ago * dcrt0.cc (quoted): Renamed strechr to strchrnul.
Kai Tietz [Sat, 27 Oct 2012 12:09:38 +0000 (12:09 +0000)]
    * dcrt0.cc (quoted): Renamed strechr to strchrnul.
        * environ.cc (environ_init): Likewise.
        * sec_acl.cc (aclfromtext32): Likewise.
        * sec_auth.cc (extract_nt_dom_user): Likewise.
        * uinfo.cc (pwdgrp::next_str): Likewise.
        * string.h (strechr): Likewise.

11 years ago * string.h (strechr): Replace assembler by
Kai Tietz [Fri, 26 Oct 2012 20:00:12 +0000 (20:00 +0000)]
   * string.h (strechr): Replace assembler by
       C code.
       (ascii_strcasematch): Likewise.
       (ascii_strncasematch): Likwise.

11 years ago * dir.cc (closedir): Fix syscall_printf.
Corinna Vinschen [Fri, 26 Oct 2012 15:12:14 +0000 (15:12 +0000)]
* dir.cc (closedir): Fix syscall_printf.

11 years ago * dwarf2.h (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)
Nick Clifton [Fri, 26 Oct 2012 15:07:21 +0000 (15:07 +0000)]
* dwarf2.h (DW_AT_APPLE_optimized, DW_AT_APPLE_flags)
(DW_AT_APPLE_isa, DW_AT_APPLE_block)
(DW_AT_APPLE_major_runtime_vers, DW_AT_APPLE_runtime_class)
(DW_AT_APPLE_omit_frame_ptr, DW_AT_APPLE_property_name)
(DW_AT_APPLE_property_getter, DW_AT_APPLE_property_setter)
(DW_AT_APPLE_property_attribute, DW_AT_APPLE_objc_complete_type)
(DW_AT_APPLE_property, DW_OP_GNU_entry_value): New macros.

11 years ago * libc/include/sys/signal.h (sigset_t): Don't define when building
Corinna Vinschen [Fri, 26 Oct 2012 09:23:46 +0000 (09:23 +0000)]
* libc/include/sys/signal.h (sigset_t): Don't define when building
for Cygwin.

11 years ago * include/cygwin/signal.h (sigset_t): Define here.
Corinna Vinschen [Fri, 26 Oct 2012 09:21:48 +0000 (09:21 +0000)]
* include/cygwin/signal.h (sigset_t): Define here.

11 years ago * bsd_helper.cc (adjust_identity_info): Fix typo in log message.
Corinna Vinschen [Thu, 25 Oct 2012 08:08:39 +0000 (08:08 +0000)]
* bsd_helper.cc (adjust_identity_info): Fix typo in log message.

11 years ago2012-10-24 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 24 Oct 2012 21:01:39 +0000 (21:01 +0000)]
2012-10-24  Jeff Johnston  <jjohnstn@redhat.com>

        * configure.in: Comment out the --enable-newlib-fp-hw option
        as the mathfp library is inaccurate and should not be used.
        * Makefile.am: Add comment regarding the mathfp directory.
        * configure: Regenerated.
        * Makefile.in: Ditto.
        * libm/mathfp/README: New file that details why the mathfp
        directory is not used.

11 years ago * configure.ac (FLAGS_FOR_TARGET,target=cygwin): Fix for building
Corinna Vinschen [Wed, 24 Oct 2012 13:41:36 +0000 (13:41 +0000)]
* configure.ac (FLAGS_FOR_TARGET,target=cygwin): Fix for building
against Mingw64 w32api.
* configure: Regenerate.

11 years ago * configure.in: Add AC_NO_EXECUTABLES.
Corinna Vinschen [Wed, 24 Oct 2012 12:57:29 +0000 (12:57 +0000)]
* configure.in: Add AC_NO_EXECUTABLES.
* configure: Regenerate.

11 years agoAdd missing ChangeLog entry.
Christopher Faylor [Wed, 24 Oct 2012 12:52:35 +0000 (12:52 +0000)]
Add missing ChangeLog entry.

11 years ago * configure.in: Add AC_NO_EXECUTABLES,
Corinna Vinschen [Wed, 24 Oct 2012 12:45:09 +0000 (12:45 +0000)]
* configure.in: Add AC_NO_EXECUTABLES,
* configure: Regenerate.

11 years agoMove disable_target_specific_optimizations to bfd_link_info
H.J. Lu [Wed, 24 Oct 2012 11:09:28 +0000 (11:09 +0000)]
Move disable_target_specific_optimizations to bfd_link_info

include/

* bfdlink.h (bfd_link_info): Add
disable_target_specific_optimizations.

ld/

* ld.h (command_line): Remove
disable_target_specific_optimizations.
(RELAXATION_DISABLED_BY_DEFAULT): Removed.
(RELAXATION_DISABLED_BY_USER): Likewise.
(RELAXATION_ENABLED): Likewise.
(DISABLE_RELAXATION): Likewise.
(ENABLE_RELAXATION): Likewise.

* ldmain.c (main): Updated.

* ldmain.h (RELAXATION_DISABLED_BY_DEFAULT): New macro.
(RELAXATION_DISABLED_BY_USER): Likewise.
(RELAXATION_ENABLED): Likewise.
(DISABLE_RELAXATION): Likewise.
(ENABLE_RELAXATION): Likewise.

11 years ago * configure.in: Add check for MINGW_CXX. Remove libiconv check.
Yaakov Selkowitz [Wed, 24 Oct 2012 10:15:27 +0000 (10:15 +0000)]
* configure.in: Add check for MINGW_CXX.  Remove libiconv check.
* configure: Regenerate.
* Makefile.in: Remove references to mingw and w32api directories.
Use MINGW_CXX instead of mingw script to build MINGW_BINS.
Check for libiconv with $CC --print-file-name.
* cygcheck.cc: Use relative include paths for Cygwin headers.
* path.cc: Ditto.
* strace.cc: Ditto
* mingw: Remove.

11 years ago * Makefile.in (DLL_IMPORTS): Use system import libraries for
Yaakov Selkowitz [Wed, 24 Oct 2012 10:12:45 +0000 (10:12 +0000)]
* Makefile.in (DLL_IMPORTS): Use system import libraries for
kernel32 and ntdll instead of from in-tree w32api.
(cygwin0.dll): Remove rule dependency on DLL_IMPORTS, as they
are no longer built in-tree.

11 years ago2012-10-24 Kai Tietz <ktietz70@googlemail.com>
Yaakov Selkowitz [Wed, 24 Oct 2012 10:11:15 +0000 (10:11 +0000)]
2012-10-24  Kai Tietz  <ktietz70@googlemail.com>
    Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>
    Corinna Vinschen  <corinna@vinschen.de>

* configure.in [cygwin*]: Always build cygserver, lsaauth,
utils, and doc.  Do not build mingw or w32api.
[mingw*]: Build w32api if present.
* configure: Regenerate.
* Makefile.common: Remove references to mingw and w32api
directories.
(MINGW_LDFLAGS): Redefine as -static to force static linking
with libgcc and libstdc++.
* Makefile.in: Remove references to mingw and w32api directories
from Cygwin targets.

11 years ago * configure.in: Add AC_NO_EXECUTABLES.
Corinna Vinschen [Wed, 24 Oct 2012 09:43:46 +0000 (09:43 +0000)]
* configure.in: Add AC_NO_EXECUTABLES.
* configure: Regenerate.

11 years ago2012-10-24 Kai Tietz <ktietz70@googlemail.com>
Yaakov Selkowitz [Wed, 24 Oct 2012 09:35:38 +0000 (09:35 +0000)]
2012-10-24  Kai Tietz  <ktietz70@googlemail.com>
    Yaakov Selkowitz  <yselkowitz@users.sourceforge.net>

* configure.in: Check for MINGW32_CC and MINGW64_CC.
* configure: Regenerate.
* Makefile.in: Use MINGW32_CC and MINGW64_CC to build 32-bit and
64-bit DLLs.  Remove references to mingw and w32api directories.
* cyglsa64.dll: Remove from version control.
* make-64bit-version-with-mingw-w64.sh: Remove.

11 years ago PR bootstrap/54820
Eric Botcazou [Tue, 23 Oct 2012 23:02:33 +0000 (23:02 +0000)]
PR bootstrap/54820
* configure.ac (have_static_libs): Force 'no' for GCC version < 4.5.
* configure: Regenerate.

11 years agobinutils
Tom Tromey [Tue, 23 Oct 2012 17:46:44 +0000 (17:46 +0000)]
binutils
* readelf.c (get_note_type): Handle NT_SIGINFO, NT_FILE.
(print_core_note): New function.
(process_note): Call it.
include/common/elf
* common.h (NT_SIGINFO, NT_FILE): New defines.

11 years ago * thread.h (List_insert): Cast first parameter in
Corinna Vinschen [Tue, 23 Oct 2012 10:17:29 +0000 (10:17 +0000)]
* thread.h (List_insert): Cast first parameter in
InterlockedCompareExchangePointer call to avoid compiler warnings.
(List_remove): Ditto.

11 years ago bfd/
Nathan Sidwell [Tue, 23 Oct 2012 09:33:54 +0000 (09:33 +0000)]
bfd/
* bfd-in.h (bfd_elf_stack_segment_size): Declare.
* bfd-in2.h: Rebuilt.
* elfxx-target.h (elf_backend_stack_align): New.
(elfNN_bed): Add it.
* elf-bfd.h (struct elf_backend_data): Add stack_align field.
* elf.c (bfd_elf_map_sections_to_segments): Pay attention to
stack_align and stacksize for PT_GNU_STACK segment.
(assign_file_positions_for_non_load_sections): Set p_memsz for
PT_GNU_STACK segment.
(copy_elf_program_header): Copy PT_GNU_STACK size.
* elflink.c (bfd_elf_stack_segment_size): New function, taken from
uclinux backends.
(bfd_elf_size_dynamic_sections): Determine
PT_GNU_STACK requirements after calling backend.  Pay attention to
stacksize.
* elf32-bfin.c (elf32_bfinfdpic_always_size_sections): Call
bfd_elf_stack_segment_size.
(elf32_bfinfdpic_modify_program_headers): Delete.
(elf32_bfingfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK
here.
(elf_backend_stack_align): Override.
(elf_backend_modify_program_headers): Don't override.
* elf32-frv.c (frvfdpic_always_size_sections): Call
bfd_elf_stack_segment_size.
(elf32_frvfdpic_modify_program_headers): Delete.
(elf32_frvfdpic_copy_private_bfd_data): Don't copy PT_GNU_STACK
here.
(elf_backend_stack_align): Override.
(elf_backend_modify_program_headers): Don't override.
* elf32-lm32.c (lm32_elf_always_size_sections): Leave
PT_GNU_STACK creation to underlying elf support.  Check
__stacksize here for backwards compatibility, and set it if
needed.
(lm32_elf_modify_segment_map): Delete.
(lm32_elf_modify_program_headers): Delete.
(elf_backend_stack_align): Override.
(elf_backend_modify_segment_map): Don't override.
(elf_backend_modify_program_headers): Don't override.
* elf32-sh.c (sh_elf_always_size_sections): Call
bfd_elf_stack_segment_size.
(sh_elf_modify_program_headers): Delete.
(sh_elf_copy_private_data): Don't copy PT_GNU_STACK
here.
(elf_backend_stack_align): Override.
(elf_backend_modify_program_headers): Don't override.
* elf32-tic6x.c (elf32_tic6x_always_size_sections): Call
bfd_elf_stack_segment_size.
(elf32_tic6x_modify_program_headers): Delete.
(elf32_tic6x_copy_private_data): Delete.
(elf_backend_stack_align): Override.
(bfd_elf32_bfd_copy_private_bfd_data): Don't override.
(elf_backend_modify_program_headers): Don't override.

include/
* bfdlink.h (struct bfd_link_info): Add stacksize option.

ld/
* ld.texinfo (stack-size): New option.
* emultempl/elf32.em: Add stack-size option.

ld/testsuite/
* ld-elf/binutils.exp: Add -z stack-size=0.
* ld-elf/elf.exp: Add stack-exec and stack-size tests.
* ld-elf/orphan-region.d: Add stack-size option. Remove xfail.
* ld-elf/stack-exec.rd: New.
* ld-elf/stack-size.rd: New.
* ld-elf/stack.s: New.
* ld-scripts/empty-aligned.d: Add stack-size option.
* ld-sh/fdpic-stack-set.d: New.
* ld-tic6x/shlib-1.rd: Remove __stacksize symbol.
* ld-tic6x/shlib-1b.rd: Likewise.
* ld-tic6x/shlib-1r.rd: Likewise.
* ld-tic6x/shlib-1rb.rd: Likewise.
* ld-tic6x/shlib-app-1.rd: Likewise.
* ld-tic6x/shlib-app-1b.rd: Likewise.
* ld-tic6x/shlib-app-1r.rd: Likewise.
* ld-tic6x/shlib-app-1rb.rd: Likewise.
* ld-tic6x/shlib-noindex.rd: Likewise.
* ld-tic6x/static-app-1.rd: Likewise.
* ld-tic6x/static-app-1b.rd: Likewise.
* ld-tic6x/static-app-1r.rd: Likewise.
* ld-tic6x/static-app-1rb.rd: Likewise.

11 years ago * winbase.h: Remove.
Corinna Vinschen [Mon, 22 Oct 2012 17:26:45 +0000 (17:26 +0000)]
* winbase.h: Remove.

11 years ago * libc/include/string.h (strdup, strndup): Declare if not
Corinna Vinschen [Mon, 22 Oct 2012 15:16:48 +0000 (15:16 +0000)]
* libc/include/string.h (strdup, strndup): Declare if not
__STRICT_ANSI__ or _XOPEN_SOURCE is defined appropriately.

11 years ago * libc/include/stdlib.h (strtof, strtoll, strtoull, strtold):Prototype
Corinna Vinschen [Mon, 22 Oct 2012 15:15:21 +0000 (15:15 +0000)]
* libc/include/stdlib.h (strtof, strtoll, strtoull, strtold):Prototype
if not __STRICT_ANSI__ or stdc version C99 or greater.

11 years agoinclude/
Alan Modra [Mon, 22 Oct 2012 13:33:48 +0000 (13:33 +0000)]
include/
PR ld/14426
* bfdlink.h (bfd_link_info): Add ignore_hash.
ld/
PR ld/14426
* ldlex.h (option_values): Add OPTION_IGNORE_UNRESOLVED_SYMBOL.
* lexsup.c (parse_args): Likewise.
(ld_options): Describe --ignore-unresolved-symbol.
* ldmain.h (add_ignoresym): Declare.
* ldmain.c (add_ignoresym): New function, extracted from..
(undefined_symbol): ..here.  Return if the symbol is in ignore_hash.
(constructor_callback): Don't use global link_info here.
(reloc_overflow): Likewise.

11 years ago * child_info.h (CURR_CHILD_INFO_MAGIC): Update.
Corinna Vinschen [Mon, 22 Oct 2012 12:45:46 +0000 (12:45 +0000)]
* child_info.h (CURR_CHILD_INFO_MAGIC): Update.

11 years ago PR bootstrap/54820
Eric Botcazou [Mon, 22 Oct 2012 07:32:04 +0000 (07:32 +0000)]
PR bootstrap/54820
* Makefile.tpl (STAGE1_FLAGS_TO_PASS): New variable.
(all-[+prefix+][+module+]): Pass stage1_args to sub-makes.
(all-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false.
(clean-stage[+id+]-[+prefix+][+module+]): Likewise, if prev is false.
(host_modules): Set stage1_args to STAGE1_FLAGS_TO_PASS.
* Makefile.in: Regenerate.
* configure.ac (have_static_libs): New variable and associated check.
(stage1-ldflags): Move to after stage1_libs and set to -static-libstdc++
-static-libgcc if stage1_libs is empty and have_static_libs is yes.
* configure: Regenerate.

11 years ago * include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 18.
Corinna Vinschen [Sun, 21 Oct 2012 10:20:53 +0000 (10:20 +0000)]
* include/cygwin/version.h (CYGWIN_VERSION_DLL_MINOR): Bump to 18.

11 years ago * libc/sys/mmixware/sbrk.c (_sbrk): Drop unused extern declaration
Hans-Peter Nilsson [Sun, 21 Oct 2012 03:41:42 +0000 (03:41 +0000)]
* libc/sys/mmixware/sbrk.c (_sbrk): Drop unused extern declaration
of "end".  Mark allocated memory by applying PRELD.

11 years ago * new-features.sgml (ov-new1.7.17): Add section.
Corinna Vinschen [Sat, 20 Oct 2012 15:31:50 +0000 (15:31 +0000)]
* new-features.sgml (ov-new1.7.17): Add section.

11 years ago * Makefile.in (cygcheck.exe): Add temporary (1.7.17-only) hack to
Corinna Vinschen [Fri, 19 Oct 2012 11:58:48 +0000 (11:58 +0000)]
* Makefile.in (cygcheck.exe): Add temporary (1.7.17-only) hack to
allow cygcheck running on pre-Vista despite of the new w32api not
matching the locally used w32api.

11 years ago * libc/stdlib/getopt.c (getopt_internal): Align handling of colon to
Corinna Vinschen [Tue, 16 Oct 2012 19:11:48 +0000 (19:11 +0000)]
* libc/stdlib/getopt.c (getopt_internal): Align handling of colon to
SUSv4 requirements.
(__getopt_long_r): Fix formatting.

11 years ago * libc/stdio/vfprintf.c (__sbprintf): Fix comment.
Corinna Vinschen [Tue, 16 Oct 2012 19:03:01 +0000 (19:03 +0000)]
* libc/stdio/vfprintf.c (__sbprintf): Fix comment.

11 years ago * libc/include/assert.h (static_assert): Define.
Corinna Vinschen [Tue, 16 Oct 2012 19:00:30 +0000 (19:00 +0000)]
* libc/include/assert.h (static_assert): Define.

11 years ago * libc/include/sys/features.h (__GNUC_PREREQ): Define. Use
Corinna Vinschen [Tue, 16 Oct 2012 18:45:24 +0000 (18:45 +0000)]
* libc/include/sys/features.h (__GNUC_PREREQ): Define.  Use
throughout in place of explicit GNUC version checks.
* libc/include/_ansi.h (_NOINLINE): Define.
(_NOINLINE_STATIC): Define.
* libc/stdio/vfprintf.c (__sbprintf): Define _NOINLINE_STATIC.

11 years ago*** empty log message ***
Corinna Vinschen [Tue, 16 Oct 2012 12:02:42 +0000 (12:02 +0000)]
*** empty log message ***

11 years ago*** empty log message ***
Corinna Vinschen [Tue, 16 Oct 2012 11:59:59 +0000 (11:59 +0000)]
*** empty log message ***

11 years ago * fhandler_floppy.cc (fhandler_dev_floppy::lseek): Remove lloffset.
Corinna Vinschen [Tue, 16 Oct 2012 09:52:26 +0000 (09:52 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::lseek): Remove lloffset.
Use offset directly.  Add shortcut for lseek(fd, 0, SEEK_CUR) case.
(fhandler_dev_floppy::ioctl): Drop wrong RDSETBLK case.
* fhandler_raw.cc (fhandler_dev_raw::ioctl): Revamp RDSETBLK code.

11 years ago* fhandler_tty.cc (fhandler_pty_slave::write): Fix potential exit from loop
Christopher Faylor [Mon, 15 Oct 2012 17:12:17 +0000 (17:12 +0000)]
* fhandler_tty.cc (fhandler_pty_slave::write): Fix potential exit from loop
with write mutex held.  Delete redundant mutex release.  Clear tty error once
we've grabbed it.

11 years ago * fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Drop gratuitous
Corinna Vinschen [Mon, 15 Oct 2012 16:11:38 +0000 (16:11 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Drop gratuitous
initializing from previous patch.

11 years ago * fhandler_floppy.cc (fhandler_dev_floppy::open): Fix comment.
Corinna Vinschen [Mon, 15 Oct 2012 14:58:39 +0000 (14:58 +0000)]
* fhandler_floppy.cc (fhandler_dev_floppy::open): Fix comment.

11 years ago* fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.
Christopher Faylor [Mon, 15 Oct 2012 14:36:48 +0000 (14:36 +0000)]
* fhandler_tty.cc (fhandler_pty_slave::write): DWORD -> BOOL.

11 years ago * hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx
John David Anglin [Mon, 15 Oct 2012 00:22:35 +0000 (00:22 +0000)]
* hppa.h (pa_opcodes): Use "cX" completer instead of "cx" in fstqx
opcodes.  Likewise, use "cM" instead of "cm" in fstqs opcodes.

11 years ago * fhandler.h (class fhandler_dev_raw): Add members devbufalloc and
Corinna Vinschen [Sat, 13 Oct 2012 12:34:18 +0000 (12:34 +0000)]
* fhandler.h (class fhandler_dev_raw): Add members devbufalloc and
devbufalign.
(class fhandler_dev_floppy): Remove member bytes_per_sector;
* fhandler_floppy.cc (bytes_per_sector): Define as devbufalign.
(fhandler_dev_floppy::open): Set devbufalign to a multiple of the
sector size and handle devbuf allocation and alignment in !O_DIRECT
case here.  Change comment accordingly.
Call FSCTL_ALLOW_EXTENDED_DASD_IO for partitions as well.
(fhandler_dev_floppy::raw_write): Fix comment.  Rewrite and fix
writing behaviour when application uses read and lseek.
(fhandler_dev_floppy::lseek): Use rounddown macro.  Call
SetFilePointerEx rather than the old SetFilePointer.
(fhandler_dev_floppy::ioctl): Reformat switch.  Call
IOCTL_DISK_UPDATE_PROPERTIES rather than IOCTL_DISK_UPDATE_DRIVE_SIZE
in BLKRRPART case.  Support BLKIOMIN, BLKIOOPT, BLKPBSZGET and
BLKALIGNOFF.
* fhandler_raw.cc (fhandler_dev_raw::fhandler_dev_raw): Initialize
all devbuf-related members.
(fhandler_dev_raw::~fhandler_dev_raw): Delete devbufalloc rather than
devbuf.
(fhandler_dev_raw::open): Drop allocating devbuf.
(fhandler_dev_raw::dup): Allocate devbufalloc and set devbuf to support
new sector-aligned devbuf handling.
(fhandler_dev_raw::fixup_after_exec): Ditto.
* fhandler_tape.cc (fhandler_dev_tape::open): Ditto, set devbufalign
to 1.
* include/cygwin/fs.h (BLKIOMIN): Define.
(BLKIOOPT): Define.
(BLKALIGNOFF): Define.
(BLKPBSZGET): Define.

11 years ago * fhandler_raw.cc (fhandler_dev_raw::open): Allow O_EXCL flag, as on
Corinna Vinschen [Fri, 12 Oct 2012 13:59:45 +0000 (13:59 +0000)]
* fhandler_raw.cc (fhandler_dev_raw::open): Allow O_EXCL flag, as on
Linux.

11 years ago* fhandler_termios.cc (fhandler_termios::line_edit): Don't manipulate
Christopher Faylor [Fri, 12 Oct 2012 01:19:04 +0000 (01:19 +0000)]
* fhandler_termios.cc (fhandler_termios::line_edit): Don't manipulate
output_mutex on CTRL-S/CTRL-Q to avoid a deadlock.
* fhandler_tty.cc (fhandler_pty_slave::write): Loop when output_stopped is
detected before acquiring output_mutex.  Acquire output_mutex in the loop for
each write.
* tty.h: Remove some obsolete defines.
(tty_min::output_stopped): Make 'bool'.

11 years agoconfig.{guess,sub}: update from upstream config-patches repo
Michael Frysinger [Thu, 11 Oct 2012 16:04:17 +0000 (16:04 +0000)]
config.{guess,sub}: update from upstream config-patches repo

From: David Holsgrove <david.holsgrove@xilinx.com>

Adds microblaze little endian support.

Signed-off-by: David Holsgrove <david.holsgrove@xilinx.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
11 years ago * include/cygwin/in.h (struct in_addr): Guard with s_addr to avoid
Corinna Vinschen [Wed, 10 Oct 2012 08:36:33 +0000 (08:36 +0000)]
* include/cygwin/in.h (struct in_addr): Guard with s_addr to avoid
potential collision with Win32 headers.

11 years agomerge from gcc
DJ Delorie [Wed, 10 Oct 2012 03:11:22 +0000 (03:11 +0000)]
merge from gcc

11 years ago* child_info.h (child_info_spawn::has_execed): Remove unneeded synchronization.
Christopher Faylor [Tue, 9 Oct 2012 22:07:10 +0000 (22:07 +0000)]
* child_info.h (child_info_spawn::has_execed): Remove unneeded synchronization.

11 years ago* pinfo.cc: Remove unneeded assert.h.
Christopher Faylor [Tue, 9 Oct 2012 15:12:07 +0000 (15:12 +0000)]
* pinfo.cc: Remove unneeded assert.h.

11 years ago * cygcheck.cc (dump_sysinfo): Convert "if/else if" chain to a switch
Corinna Vinschen [Tue, 9 Oct 2012 12:47:40 +0000 (12:47 +0000)]
* cygcheck.cc (dump_sysinfo): Convert "if/else if" chain to a switch
statement.  Drop "not yet supported" and "Server" from Windows 2012
output string.

11 years ago * libc/posix/wordfree.c (wordfree): The wrong words are freed
Corinna Vinschen [Tue, 9 Oct 2012 12:05:51 +0000 (12:05 +0000)]
* libc/posix/wordfree.c (wordfree): The wrong words are freed
when WRDE_DOOFFS is in use. Restructure the code so that the memory
needed to be freed is instead kept in an internal linked list...
* libc/posix/wordexp2.h: ...as defined here...
* libc/posix/wordexp.c (wordexp): ...and build this internal
linked list here, avoiding wasteful strdup calls in the process.

11 years ago * libc/posix/wordexp.c (wordexp): Return WRDE_NOSPACE on resource
Corinna Vinschen [Tue, 9 Oct 2012 09:26:15 +0000 (09:26 +0000)]
* libc/posix/wordexp.c (wordexp): Return WRDE_NOSPACE on resource
allocation failure. Cleanup leftover resources when failing.

11 years ago * libc/posix/wordexp.c (wordexp): Handle expanded words longer
Corinna Vinschen [Tue, 9 Oct 2012 09:20:46 +0000 (09:20 +0000)]
* libc/posix/wordexp.c (wordexp): Handle expanded words longer
than 500 bytes.

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