]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
14 years ago * path.cc (symlink_info::check): Set h to NULL after closing handle
Corinna Vinschen [Tue, 8 Jun 2010 15:25:09 +0000 (15:25 +0000)]
* path.cc (symlink_info::check): Set h to NULL after closing handle
in udf check.  Remove overagressive bracketing.  Don't set h to NULL
without closing the handle.  Fix using wrong handle in checking
file system when using parent directory handle.

14 years ago * standards.texi: Import current version from gnustandards
Nick Clifton [Tue, 8 Jun 2010 12:15:36 +0000 (12:15 +0000)]
    * standards.texi: Import current version from gnustandards
        project.
        * gnu-oids.texi: New file.

14 years agoetc/ChangeLog
Nick Clifton [Tue, 8 Jun 2010 10:30:54 +0000 (10:30 +0000)]
etc/ChangeLog

        * standards.texi: Relicense under GFDL v1.3.
        * fdl.texi: Replace with v1.3 text.

gas/ChangeLog

        * doc/as.texinfo: Replace abbreviated 20th century year numbers
        with full versions.

gprof/ChangeLog

        * gprof.texi: Replace abbreviated 20th century year numbers with
        full versions.

ld/ChangeLog

        * fdl.texi: Replace with v1.3 text.
        * ld.texinfo: Replace abbreviated 20th century year numbers with
        full versions.
        * ldint.texinfo: Likewise.
        Relicense under GFDL v1.3.  Replace text of v1.1 FDL with an
        include of the fdl.texi file.

14 years ago * include/sys/stdio.h: Remove _GNU_SOURCE guard around getline
Corinna Vinschen [Mon, 7 Jun 2010 09:16:11 +0000 (09:16 +0000)]
* include/sys/stdio.h: Remove _GNU_SOURCE guard around getline
and getdelim prototypes since they are SUSv4 now.

14 years ago2010-06-04 Mark Mitchell <mark@codesourcery.com>
Jeff Johnston [Fri, 4 Jun 2010 15:30:40 +0000 (15:30 +0000)]
2010-06-04  Mark Mitchell  <mark@codesourcery.com>

        * libc/stdlib/__call_atexit.c (__libc_fini): Declare.
        (register_fini): New function.
        * libc/misc/init.c (_fini): Remove.
        (__libc_fini_array): Likewise.
        * libc/misc/fini.c: New file.
        * libc/misc/Makefile.am (LIB_SOURCES): Add fini.c.
        * libc/misc/Makefile.in: Regenerate.

14 years agoImport AC_CHECK_DECL for C++ fixes from git Autoconf.
Ralf Wildenhues [Thu, 3 Jun 2010 06:33:10 +0000 (06:33 +0000)]
Import AC_CHECK_DECL for C++ fixes from git Autoconf.

config/:
Sync from GCC:
PR bootstrap/42798
* override.m4 (_AC_CHECK_DECL_BODY, _AC_CHECK_DECLS): Import
definitions from git Autoconf.

14 years ago * ntdll.h (STATUS_BAD_NETWORK_PATH): Define.
Corinna Vinschen [Wed, 2 Jun 2010 14:52:34 +0000 (14:52 +0000)]
* ntdll.h (STATUS_BAD_NETWORK_PATH): Define.
(STATUS_BAD_NETWORK_NAME): Define.
* path.cc (symlink_info::check): Convert STATUS_BAD_NETWORK_PATH and
STATUS_BAD_NETWORK_NAME into an immediate ENOENT.

14 years ago2010-06-01 Rafael Espindola <espindola@google.com>
Rafael Ávila de Espíndola [Tue, 1 Jun 2010 19:32:27 +0000 (19:32 +0000)]
2010-06-01  Rafael Espindola  <espindola@google.com>

* plugin-api.h (ld_plugin_tag): Add LDPT_OUTPUT_NAME.

2010-06-01  Rafael Espindola  <espindola@google.com>

* plugin.cc (Plugin::load): Pass the output name to the plugin.

14 years ago/:
Ralf Wildenhues [Tue, 1 Jun 2010 17:53:40 +0000 (17:53 +0000)]
/:
* config.sub, config.guess: Update from upstream sources.

14 years agoSync toplevel files from GCC.
Ralf Wildenhues [Tue, 1 Jun 2010 17:28:12 +0000 (17:28 +0000)]
Sync toplevel files from GCC.

/:
        Sync from GCC:

        2010-05-05  Sebastian Pop  <sebastian.pop@amd.com>
        * configure.ac: Allow all the versions greater than 0.10 of PPL.
        * configure: Regenerated.

        2010-04-20  Eric Botcazou  <ebotcazou@adacore.com>
        * configure.ac (BUILD_CONFIG): Redirect output to /dev/null.
        * configure: Regenerate.

        2010-04-17  Ralf Corsépius  <ralf.corsepius@rtems.org>
        * configure.ac (*-*-rtems*): Add target-libiberty to $skipdirs.
        * configure: Regenerate.

        2010-04-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
        * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx
        separately.
        * configure: Regenerate.

        2010-04-13  Steve Ellcey  <sje@cup.hp.com>
        * configure: Regenerate after change to elf.m4.

        2010-04-02  Sebastian Pop  <sebastian.pop@amd.com>
        * configure.ac: Add brackets around AC_TRY_COMPILE alternative.
        * configure: Regenerated.

        2010-04-02  Sebastian Pop  <sebastian.pop@amd.com>
        * configure.ac: Print "buggy but acceptable" when CLooG
        revision is less than 9.
        * configure: Regenerated.

config/:
        Sync from GCC:

        2010-04-13  Steve Ellcey  <sje@cup.hp.com>
        * elf.m4: Add hppa[12]*-*-hpux* to list of non-elf platforms.

        2010-01-05  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
        * stdint.m4 (GCC_HEADER_STDINT): Don't typedef uint8_t etc. if
        corresponding macros already exist.

bfd/:
        * configure: Regenerate.

14 years ago * exceptions.cc (open_stackdumpfile): Correctly append .stackdump
Corinna Vinschen [Tue, 1 Jun 2010 14:51:47 +0000 (14:51 +0000)]
* exceptions.cc (open_stackdumpfile): Correctly append .stackdump
suffix.

* nlsfuncs.cc (rebase_locale_buf): Reorder arguments.  Accommodate
throughout.  Add pointer to end of buffer and avoid changing pointers
not pointing into the buffer.

14 years ago * fhandler_netdrive.cc (fhandler_netdrive::exists): Always free WNet
Corinna Vinschen [Tue, 1 Jun 2010 13:14:37 +0000 (13:14 +0000)]
* fhandler_netdrive.cc (fhandler_netdrive::exists): Always free WNet
resource if created.

14 years ago2010-05-31 Kazu Hirata <kazu@codesourcery.com>
Jeff Johnston [Mon, 31 May 2010 19:15:41 +0000 (19:15 +0000)]
2010-05-31  Kazu Hirata  <kazu@codesourcery.com>

        * libc/stdlib/mallocr.c (malloc_extend_top): Backport the
        difference between versions 2.6.4 and 2.6.5.

14 years ago * cygheap.cc (cygheap_user::set_name): Allow to change the user name
Corinna Vinschen [Mon, 31 May 2010 18:52:02 +0000 (18:52 +0000)]
* cygheap.cc (cygheap_user::set_name): Allow to change the user name
if it only differs by case.

14 years ago2010-05-27 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Thu, 27 May 2010 10:37:23 +0000 (10:37 +0000)]
2010-05-27  Tristan Gingold  <gingold@adacore.com>

* lbr.h: Improve comments.

14 years agomerge from gcc
DJ Delorie [Wed, 26 May 2010 18:16:13 +0000 (18:16 +0000)]
merge from gcc

14 years ago * fhandler_registry.cc (multi_wcstombs): New function.
Corinna Vinschen [Wed, 26 May 2010 16:58:44 +0000 (16:58 +0000)]
* fhandler_registry.cc (multi_wcstombs): New function.
(fhandler_registry::fstat): Call multi_wcstombs for strings of type
REG_MULTI_SZ.
(fhandler_registry::fill_filebuf): Ditto.

14 years ago* hires.h (hires_base::reset): New function.
Christopher Faylor [Wed, 26 May 2010 14:48:17 +0000 (14:48 +0000)]
* hires.h (hires_base::reset): New function.
(hires_us): Specify that hires_base is a public import.
(hires_ms): Ditto.
* times.cc (gtod): Move earlier in file.
(settimeofday): Reset gtod so that base will be subsequently recalculated.

14 years ago * path.cc (symlink_info::check): Don't try to handle remote reparse
Corinna Vinschen [Wed, 26 May 2010 14:24:47 +0000 (14:24 +0000)]
* path.cc (symlink_info::check): Don't try to handle remote reparse
points as symlinks.  Explain why.

14 years ago * include/inttypes.h: Change PTR definitions to int to align with the
Corinna Vinschen [Wed, 26 May 2010 13:37:48 +0000 (13:37 +0000)]
* include/inttypes.h: Change PTR definitions to int to align with the
stdint.h type definitions of intptr_t/uintptr_t.

14 years ago * fhandler.h (class fhandler_pty_master): Add master_thread member.
Corinna Vinschen [Wed, 26 May 2010 13:10:55 +0000 (13:10 +0000)]
* fhandler.h (class fhandler_pty_master): Add master_thread member.
* fhandler_tty.cc (fhandler_pty_master::close): Properly detach from
master thread.
(fhandler_pty_master::setup): Store cygthread pointer of pty master
control thread in master_thread.  Don't zap thread handle.

14 years ago gas/
Catherine Moore [Wed, 26 May 2010 12:59:56 +0000 (12:59 +0000)]
gas/
* config/tc-mips.c (is_opcode_valid): Remove expansionp.
(macro_build): Change invocation of is_opcode_valid.
(mips_ip): Likewise.

gas/testsuite/
* gas/mips/mips-no-jalx.l: Delete.
* gas/mips/mips-no-jalx.s: Delete.
* gas/mips/mips-jalx-2.d: New.
* gas/mips/mips-jalx-2.s: New.
* gas/mips/mips.exp (mips-jalx-2): Run new test.
(mips-no-jalx): Remove deleted test.

include/
* opcode/mips.h (INSN_MIPS16): Remove.

opcodes/
* mips-dis.c (mips_arch): Remove INSN_MIPS16.
* mips-opc.c (I16): Remove.
(mips_builtin_op): Reclassify jalx.

14 years ago * nlsfuncs.cc (__set_lc_time_from_win): Use LOCALE_SMONTHNAME1
Corinna Vinschen [Wed, 26 May 2010 11:36:17 +0000 (11:36 +0000)]
* nlsfuncs.cc (__set_lc_time_from_win): Use LOCALE_SMONTHNAME1
instead of LOCALE_SABBREVMONTHNAME1 in Japanese and Korean
locales to get abbreviated month names.  Explain why.

14 years agoMerge from gcc:
Dave Korn [Wed, 26 May 2010 05:16:31 +0000 (05:16 +0000)]
Merge from gcc:

2010-05-18  Steven Bosscher  <steven AT gcc.gnu.org>
* configure.ac (--enable-lto): All *-apple-darwin* now support LTO.
* configure: Regenerate.

2010-05-07  Steven Bosscher  <steven AT gcc.gnu.org>
* configure.ac (--enable-lto): Add x86_64-apple-darwin* as
a platform that supports LTO.
* configure: Regenerate.

2010-04-27  Dave Korn  <dave.korn.cygwin AT gmail.com>
PR lto/42776
* configure.ac (--enable-lto): Refactor handling so libelf tests
are only performed inside then-clause of ACX_ELF_TARGET_IFELSE,
and allow LTO to be explicitly enabled on non-ELF platforms that
are known to support it inside else-clause.
* configure: Regenerate.

14 years ago2010-05-21 Daniel Jacobowitz <dan@codesourcery.com>
Nick Clifton [Tue, 25 May 2010 14:12:41 +0000 (14:12 +0000)]
2010-05-21  Daniel Jacobowitz  <dan@codesourcery.com>
            Joseph Myers  <joseph@codesourcery.com>
            Andrew Stubbs  <ams@codesourcery.com>

        bfd/
        * config.bfd (sh-*-uclinux* | sh[12]-*-uclinux*): Add
        bfd_elf32_shl_vec, and FDPIC vectors to targ_selvecs.
        * configure.in: Handle FDPIC vectors.
        * elf32-sh-relocs.h: Add FDPIC and movi20 relocations.
        * elf32-sh.c (DEFAULT_STACK_SIZE): Define.
        (SYMBOL_FUNCDESC_LOCAL): Define.  Use it instead of
        SYMBOL_REFERENCES_LOCAL for function descriptors.
        (fdpic_object_p): New.
        (sh_reloc_map): Add FDPIC and movi20 relocations.
        (sh_elf_info_to_howto, sh_elf_relocate_section): Handle new invalid
        range.
        (struct elf_sh_plt_info): Add got20 and short_plt.  Update all
        definitions.
        (FDPIC_PLT_ENTRY_SIZE, FDPIC_PLT_LAZY_OFFSET): Define.
        (fdpic_sh_plt_entry_be, fdpic_sh_plt_entry_le, fdpic_sh_plts): New.
        (FDPIC_SH2A_PLT_ENTRY_SIZE, FDPIC_SH2A_PLT_LAZY_OFFSET): Define.
        (fdpic_sh2a_plt_entry_be, fdpic_sh2a_plt_entry_le)
        (fdpic_sh2a_short_plt_be, fdpic_sh2a_short_plt_le, fdpic_sh2a_plts):
        New.
        (get_plt_info): Handle FDPIC.
        (MAX_SHORT_PLT): Define.
        (get_plt_index, get_plt_offset): Handle short_plt.
        (union gotref): New.
        (struct elf_sh_link_hash_entry): Add funcdesc, rename tls_type to
        got_type and adjust all uses.  Add GOT_FUNCDESC.
        (struct sh_elf_obj_tdata): Add local_funcdesc.  Rename
        local_got_tls_type to local_got_type.
        (sh_elf_local_got_type): Renamed from sh_elf_local_got_tls_type.  All
        users changed.
        (sh_elf_local_funcdesc): Define.
        (struct elf_sh_link_hash_table): Add sfuncdesc, srelfuncdesc, fdpic_p,
        and srofixup.
        (sh_elf_link_hash_newfunc): Initialize new fields.
        (sh_elf_link_hash_table_create): Set fdpic_p.
        (sh_elf_omit_section_dynsym): New.
        (create_got_section): Create .got.funcdesc, .rela.got.funcdesc
        and .rofixup.
        (allocate_dynrelocs): Allocate local function descriptors and space
        for R_SH_FUNCDESC-related relocations, and for rofixups.
        Handle GOT_FUNCDESC.  Create fixups.  Handle GOT entries which
        require function descriptors.
        (sh_elf_always_size_sections): Handle PT_GNU_STACK and __stacksize.
        (sh_elf_modify_program_headers): New.
        (sh_elf_size_dynamic_sections): Allocate function descriptors for
        local symbols.  Allocate .got.funcdesc contents.  Allocate rofixups.
        Handle local GOT entries of type GOT_FUNCDESC.  Create fixups for
        local GOT entries.  Ensure that FDPIC libraries always have a PLTGOT
        entry in the .dynamic section.
        (sh_elf_add_dyn_reloc, sh_elf_got_offset, sh_elf_initialize_funcdesc)
        (sh_elf_add_rofixup, sh_elf_osec_to_segment)
        (sh_elf_osec_readonly_p, install_movi20_field): New functions.
        (sh_elf_relocate_section): Handle new relocations, R_SH_FUNCDESC,
        R_SH_GOTFUNCDESC and R_SH_GOTOFFFUNCDESC.  Use sh_elf_got_offset
        and .got.plt throughout to find _GLOBAL_OFFSET_TABLE_.  Add rofixup
        read-only section warnings.  Handle undefined weak symbols.  Generate
        fixups for R_SH_DIR32 and GOT entries.  Check for cross-segment
        relocations and clear EF_SH_PIC.  Handle 20-bit relocations.
        Always generate R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE.
        (sh_elf_gc_sweep_hook): Handle R_SH_FUNCDESC, R_SH_GOTOFF20,
        R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20, and R_SH_GOTOFFFUNCDESC.
        Handle 20-bit relocations.
        (sh_elf_copy_indirect_symbol): Copy function descriptor reference
        counts.
        (sh_elf_check_relocs): Handle new relocations.  Make symbols
        dynamic for FDPIC relocs.  Account for rofixups.  Error for FDPIC
        symbol mismatches.  Allocate a GOT for R_SH_DIR32. Allocate fixups
        for R_SH_DIR32.
        (sh_elf_copy_private_data): Copy PT_GNU_STACK size.
        (sh_elf_merge_private_data): Copy initial flags.  Do not clobber
        non-mach flags.  Set EF_SH_PIC for FDPIC.  Reject FDPIC mismatches.
        (sh_elf_finish_dynamic_symbol): Do not handle got_funcdesc entries
        here.  Rename sgot to sgotplt and srel to srelplt.  Handle short_plt,
        FDPIC descriptors, and got20.  Create R_SH_FUNCDESC_VALUE for FDPIC.
        Use install_movi20_field.  Rename srel to srelgot.  Always generate
        R_SH_DIR32 for FDPIC instead of R_SH_RELATIVE.
        (sh_elf_finish_dynamic_sections): Fill in the GOT pointer in rofixup.
        Do not fill in reserved GOT entries for FDPIC.  Correct DT_PLTGOT.
        Rename sgot to sgotplt.  Assert that the right number of rofixups
        and dynamic relocations were allocated.
        (sh_elf_use_relative_eh_frame, sh_elf_encode_eh_address): New.
        (elf_backend_omit_section_dynsym): Use sh_elf_omit_section_dynsym.
        (elf_backend_can_make_relative_eh_frame)
        (elf_backend_can_make_lsda_relative_eh_frame)
        (elf_backend_encode_eh_address): Define.
        (TARGET_BIG_SYM, TARGET_BIG_NAME, TARGET_LITTLE_SYM)
        (TARGET_LITTLE_NAME, elf_backend_modify_program_headers, elf32_bed):
        Redefine for FDPIC vector.
        * reloc.c: Add SH FDPIC and movi20 relocations.
        * targets.c (_bfd_target_vector): Add FDPIC vectors.
        * configure, bfd-in2.h, libbfd.h: Regenerated.

        binutils/
        * readelf.c (get_machine_flags): Handle EF_SH_PIC and EF_SH_FDPIC.

        gas/
        * config/tc-sh.c (sh_fdpic): New.
        (sh_check_fixup): Handle relocations on movi20.
        (parse_exp): Do not reject PIC operators here.
        (build_Mytes): Check for unhandled PIC operators here.  Use
        sh_check_fixup for movi20.
        (enum options): Add OPTION_FDPIC.
        (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
        (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
        (sh_elf_final_processing): Handle --fdpic.
        (sh_uclinux_target_format): New.
        (sh_parse_name): Handle FDPIC relocation operators.
        * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
        (sh_uclinux_target_format): Declare for TE_UCLINUX.
        * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
        em=uclinux.
        * doc/c-sh.texi (SH Options): Document --fdpic.

        gas/testsuite/
        * gas/sh/basic.exp: Run new tests.  Handle uClinux like Linux.
        * gas/sh/fdpic.d: New file.
        * gas/sh/fdpic.s: New file.
        * gas/sh/reg-prefix.d: Force big-endian.
        * gas/sh/sh2a-pic.d: New file.
        * gas/sh/sh2a-pic.s: New file.
        * lib/gas-defs.exp (is_elf_format): Include sh*-*-uclinux*.

        include/elf/
        * sh.h (EF_SH_PIC, EF_SH_FDPIC): Define.
        (R_SH_FIRST_INVALID_RELOC_6, R_SH_LAST_INVALID_RELOC_6): New.  Adjust
        other invalid ranges.
        (R_SH_GOT20, R_SH_GOTOFF20, R_SH_GOTFUNCDESC, R_SH_GOTFUNCDESC20)
        (R_SH_GOTOFFFUNCDESC, R_SH_GOTOFFFUNCDESC20, R_SH_FUNCDESC)
        (R_SH_FUNCDESC_VALUE): New.

        ld/
        * Makefile.am (ALL_EMULATIONS): Add eshelf_fd.o and eshlelf_fd.o.
        (eshelf_fd.c, eshlelf_fd.c): New rules.
        * Makefile.in: Regenerate.
        * configure.tgt (sh-*-uclinux*): Add shelf_fd and shlelf_fd
        emulations.
        * emulparams/shelf_fd.sh: New file.
        * emulparams/shlelf_fd.sh: New file.
        * emulparams/shlelf_linux.sh: Update comment.

        ld/testsuite/
        * ld-sh/sh.exp: Handle uClinux like Linux.
        * lib/ld-lib.exp (is_elf_format): Include sh*-*-uclinux*.
        * ld-sh/fdpic-funcdesc-shared.d: New file.
        * ld-sh/fdpic-funcdesc-shared.s: New file.
        * ld-sh/fdpic-funcdesc-static.d: New file.
        * ld-sh/fdpic-funcdesc-static.s: New file.
        * ld-sh/fdpic-gotfuncdesc-shared.d: New file.
        * ld-sh/fdpic-gotfuncdesc-shared.s: New file.
        * ld-sh/fdpic-gotfuncdesc-static.d: New file.
        * ld-sh/fdpic-gotfuncdesc-static.s: New file.
        * ld-sh/fdpic-gotfuncdesci20-shared.d: New file.
        * ld-sh/fdpic-gotfuncdesci20-shared.s: New file.
        * ld-sh/fdpic-gotfuncdesci20-static.d: New file.
        * ld-sh/fdpic-gotfuncdesci20-static.s: New file.
        * ld-sh/fdpic-goti20-shared.d: New file.
        * ld-sh/fdpic-goti20-shared.s: New file.
        * ld-sh/fdpic-goti20-static.d: New file.
        * ld-sh/fdpic-goti20-static.s: New file.
        * ld-sh/fdpic-gotofffuncdesc-shared.d: New file.
        * ld-sh/fdpic-gotofffuncdesc-shared.s: New file.
        * ld-sh/fdpic-gotofffuncdesc-static.d: New file.
        * ld-sh/fdpic-gotofffuncdesc-static.s: New file.
        * ld-sh/fdpic-gotofffuncdesci20-shared.d: New file.
        * ld-sh/fdpic-gotofffuncdesci20-shared.s: New file.
        * ld-sh/fdpic-gotofffuncdesci20-static.d: New file.
        * ld-sh/fdpic-gotofffuncdesci20-static.s: New file.
        * ld-sh/fdpic-gotoffi20-shared.d: New file.
        * ld-sh/fdpic-gotoffi20-shared.s: New file.
        * ld-sh/fdpic-gotoffi20-static.d: New file.
        * ld-sh/fdpic-gotoffi20-static.s: New file.
        * ld-sh/fdpic-plt-be.d: New file.
        * ld-sh/fdpic-plt-le.d: New file.
        * ld-sh/fdpic-plt.s: New file.
        * ld-sh/fdpic-plti20-be.d: New file.
        * ld-sh/fdpic-plti20-le.d: New file.
        * ld-sh/fdpic-stack-default.d: New file.
        * ld-sh/fdpic-stack-size.d: New file.
        * ld-sh/fdpic-stack.s: New file.

14 years ago2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>
Chris Sutcliffe [Wed, 19 May 2010 02:59:46 +0000 (02:59 +0000)]
2010-04-27 Danny Smith <dannysmith@users.sourceforge.net>

        * mingwex/mb_wc_common.h (get_codepage): Revert change of 2006-09-19.

14 years ago* libc/string/strsignal.c (strsignal): Avoid duplicate case statement where
Christopher Faylor [Tue, 18 May 2010 14:52:38 +0000 (14:52 +0000)]
* libc/string/strsignal.c (strsignal): Avoid duplicate case statement where
SIGPWR == SIGLOST.

14 years ago* environ.cc (regopt): Change the first argument to wide char string.
Christopher Faylor [Tue, 18 May 2010 14:30:51 +0000 (14:30 +0000)]
* environ.cc (regopt): Change the first argument to wide char string.
(environ_init): Accommodate change to the first argument of regopt.
* exception.cc (open_stackdumpfile): Accommodate change to the type of progname
in _pinfo.
* external.cc (fillout_pinfo): Ditto.
* fhandler_process.cc (format_process_winexename): Ditto.
(format_process_stat): Ditto.
* fork.cc (fork::parent): Ditto.
* pinfo.cc (pinfo_basic::pinfo_basic): Call GetModuleFileNameW instead of
GetModuleFileName.
(pinfo::thisproc): Accommodate change to the type of progname in _pinfo.
(pinfo_init): Ditto.
* pinfo.h (_pinfo): Change the type of progname to a wide char array.
* registry.h (reg_key::get_int): Change the first argument from constant point
to pointer to constant.
(reg_key::get_string): Ditto.  Change the last argument likewise.
* registry.cc (reg_key::get_int): Accommodate change to the declaration.
(reg_key::get_string): Ditto.
* strace.cc (strace::hello): Accommodate change to the type of progname in
_pinfo.
(strace::vsprntf): Ditto.

14 years agoImplement generic SHF_EXCLUDE.
H.J. Lu [Tue, 18 May 2010 03:31:06 +0000 (03:31 +0000)]
Implement generic SHF_EXCLUDE.

bfd/

2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11600
* elf.c (_bfd_elf_make_section_from_shdr): Handle SHF_EXCLUDE
(elf_fake_sections): Likewise.

* elf32-i370.c (i370_elf_section_from_shdr): Don't handle
SHF_EXCLUDE here.
* elf32-ppc.c (ppc_elf_fake_sections): Likewise.

binutils/

2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11600
* readelf.c (get_elf_section_flags): Treat SHF_EXCLUDE as a
generic flag.

binutils/testsuite/

2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11600
* binutils-all/objcopy.exp: Run exclude-1a and exclude-1b for
ELF targets.

* binutils-all/exclude-1.s: New.
* binutils-all/exclude-1a.d: Likewise.
* binutils-all/exclude-1b.d: Likewise.

gas/

2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11600
* obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
(obj_elf_parse_section_letters): Likewise.
(obj_elf_section_word): Likewise.

* config/tc-ppc.c (ppc_section_letter): Removed.
(ppc_section_word): Likewise.
* config/tc-ppc.h (ppc_section_letter): Likewise.
(ppc_section_word): Likewise.
(md_elf_section_letter): Likewise.
(md_elf_section_word): Likewise.

* doc/as.texinfo: Document `e' and `#exclude'.

gas/testsuite/

2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11600
* gas/elf/elf.exp: Run section8.

* gas/elf/section8.d: New.
* gas/elf/section8.s: Likewise.

include/elf/

2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11600
* common.h (SHF_EXCLUDE): New.

* i370.h (SHF_EXCLUDE): Removed.
* or32.h (SHF_EXCLUDE): Likewise.
* ppc.h (SHF_EXCLUDE): Likewise.
* sparc.h (SHF_EXCLUDE): Likewise.

ld/testsuite/

2010-05-18  H.J. Lu  <hongjiu.lu@intel.com>

PR gas/11600
* ld-elf/exclude3.s: New.
* ld-elf/exclude3a.d: Likewise.
* ld-elf/exclude3b.d: Likewise.
* ld-elf/exclude3c.d: Likewise.

14 years agobfd/
Tristan Gingold [Mon, 17 May 2010 08:07:46 +0000 (08:07 +0000)]
bfd/
2010-05-17  Tristan Gingold  <gingold@adacore.com>

* vms-alpha.c: Include esgps.h and eidc.h.
(_bfd_vms_slurp_egsd): Ignore SPSC and IDC sub-records.
(evax_bfd_print_egsd_flags): New function, extracted from ...
(evax_bfd_print_egsd): ..., calls evax_bfd_print_egsd_flags.  Handles
EGSD__C_SPSC and EGSD__C_IDC.

include/vms:
2010-05-17  Tristan Gingold  <gingold@adacore.com>

* eidc.h: New file.
* esgps.h: New file.

14 years ago2010-05-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 11 May 2010 20:41:37 +0000 (20:41 +0000)]
2010-05-11  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/__call_atexit.c: Fix lock to be of type
        _LOCK_RECURSIVE_T as recursive usage is needed.

14 years ago2010-05-11 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 11 May 2010 20:40:14 +0000 (20:40 +0000)]
2010-05-11  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/locale/locale.c (loadlocale): Fix dangling
        switch statement caused by __HAVE_LOCALE_INFO__ not being
        defined.

14 years ago2010-05-11 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Tue, 11 May 2010 20:27:20 +0000 (20:27 +0000)]
2010-05-11  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/string/strsignal.c: New file.
        * libc/string/Makefile.am: Add support for strsignal.
        * libc/string/strings.tex: Ditto.
        * libc/string/Makefile.in: Regenerated.

14 years ago* Makefile.in (DLL_OFILES): Add pseudo-reloc.o.
Christopher Faylor [Fri, 7 May 2010 21:25:19 +0000 (21:25 +0000)]
* Makefile.in (DLL_OFILES): Add pseudo-reloc.o.
* dcrt0.cc (child_info_fork::handle_fork): Call _pei386_runtime_relocator here.
(dll_crt0_1): Ditto for non-fork case.
* dll_init.cc (dll::init): Complain more in comment.  Clean up slightly.
(dll_dllcrt0_1): Call _pei386_runtime_relocator when we know we have a
filled-in per_process structure.
* globals.cc (__cygwin_user_data): Accommodate new fields for
_pei386_runtime_relocator.
* pseudo-reloc.cc: New file adapted from old lib/pseudo-reloc.c.  Include
winsup.h directly.  Collapse #ifdef __CYGWIN__ into one block.  Perform minor
whitespace code reformatting.
(__report_error): Use small_printf to output error.
(_pei386_runtime_relocator): Conditionalize for cygwin to take per_process
pointer parameter.
* winsup.h (_pei386_runtime_relocator): Declare.
* include/cygwin/version.h
(CYGWIN_VERSION_PER_PROCESS_API_VERSION_COMBINED): New macro.
(CYGWIN_VERSION_USER_API_VERSION_COMBINED): Use above macro.
(CYGWIN_VERSION_USE_PSEUDO_RELOC_IN_DLL): New macro.
(CYGWIN_VERSION_API_MINOR): Bump to 227.
* include/sys/cygwin.h: Remove obsolete comment.
(per_process::unused2): Shorten.
(per_process::pseudo_reloc_start): New field.
(per_process::pseudo_reloc_end): Ditto.
(per_process::image_base): Ditto.
* lib/_cygwin_crt0_common.cc: Declare pseudo runtime externs needed for
per_process structure.
(_cygwin_crt0_common): Fill in pseudo_reloc runtime constants.
* lib/pseudo-reloc-dummy.c: New file.  Dummy function to satisify ld.
* lib/pseudo-reloc.c: Delete.

14 years ago * fhandler_tty.cc (fhandler_tty_slave::init): Disable grabbing
Corinna Vinschen [Fri, 7 May 2010 15:03:27 +0000 (15:03 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::init): Disable grabbing
process group ownership of tty in case we're being debugged.

14 years ago* libc/Makefile.am (stmp-sigset, stmp-iconvset, stmp-extra,
DJ Delorie [Thu, 6 May 2010 23:25:16 +0000 (23:25 +0000)]
* libc/Makefile.am (stmp-sigset, stmp-iconvset, stmp-extra,
stmp-stdio64, stmp-posix,stmp-targetdep): Use unique temporary
file names to allow for parallel installs.
(CLEANFILES): Add new temporary file names.
* libc/Makefile.in: Regenerate.

14 years ago * path.cc (path_conv::check): Drop setting sym.pflags before calling
Corinna Vinschen [Thu, 6 May 2010 10:04:50 +0000 (10:04 +0000)]
* path.cc (path_conv::check): Drop setting sym.pflags before calling
mount_info::conv_to_win32_path since the flag value is overwritten by
mount_info::conv_to_win32_path anyway.
Set flags for DOS paths before calling symlink_info::check so they can
be used in that function already.

14 years ago* dll_init.cc (dll_list::alloc): Add debugging assertion.
Christopher Faylor [Mon, 3 May 2010 16:40:33 +0000 (16:40 +0000)]
* dll_init.cc (dll_list::alloc): Add debugging assertion.

14 years ago * rs6000/Makefile.in: Remove xil-exit.o.
Corinna Vinschen [Mon, 3 May 2010 15:15:53 +0000 (15:15 +0000)]
* rs6000/Makefile.in: Remove xil-exit.o.

14 years agobfd/
Tristan Gingold [Mon, 3 May 2010 12:16:46 +0000 (12:16 +0000)]
bfd/
2010-05-03  Tristan Gingold  <gingold@adacore.com>

* vms-alpha.c: Add comments.
(struct vms_private_data_struct): Remove image_autoextend field.
(dst_check_allocation): Removed.
(image_write): Remove call to dst_check_allocation.
(vms_slurp_debug): Do not set image_autoextend.  Adjust section
size.
(_bfd_vms_slurp_object_records): Remove useless new_type variable.
(alpha_vms_write_exec): Use dst_section to get the dst section.
Write the dmt section.
(evax_bfd_print_image): Also print the dst size in hexa.  Fix typo.
(alpha_vms_read_sections_content): Do not set image_autoextend.

include/vms/
2010-05-03  Tristan Gingold  <gingold@adacore.com>

* dmt.h: Improve comments.

14 years ago * libc/locale/lctype.c: Include <string.h> and "setlocale.h".
Corinna Vinschen [Mon, 3 May 2010 09:25:32 +0000 (09:25 +0000)]
* libc/locale/lctype.c: Include <string.h> and "setlocale.h".
(_C_ctype_locale): Add braces to initializer.
(__ctype_load_locale): Fix compiler warnings in non-Cygwin case.
* libc/locale/nl_langinfo.c (nl_langinfo): Expose _NL_CTYPE_MB_CUR_MAX
case only if __HAVE_LOCALE_INFO__ is defined.

14 years ago * libc/stdlib/wctob.c (wctob): Reorganize and fix WEOF check. Rename
Corinna Vinschen [Sun, 2 May 2010 11:55:01 +0000 (11:55 +0000)]
* libc/stdlib/wctob.c (wctob): Reorganize and fix WEOF check.  Rename
pwc to pmb and convert to array to avoid buffer overflow.  Rename c to
wc.  Check wc for WEOF instead of for EOF.  Return first byte of pmb if
__wctomb conversion returned exactly one byte, EOF otherwise.

14 years ago * libc/include/langinfo.h: Fix #endif positioning.
Corinna Vinschen [Fri, 30 Apr 2010 14:58:28 +0000 (14:58 +0000)]
* libc/include/langinfo.h: Fix #endif positioning.

14 years agobfd/
Tristan Gingold [Fri, 30 Apr 2010 12:44:51 +0000 (12:44 +0000)]
bfd/
2010-04-30  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (vms_read_block): New function.
(vms_traverse_index): Use vms_read_block.  Handle long key names.

include/vms/
2010-04-30  Tristan Gingold  <gingold@adacore.com>

* lbr.h (struct vms_kbn): New structure.

14 years agobfd/
Tristan Gingold [Fri, 30 Apr 2010 09:40:42 +0000 (09:40 +0000)]
bfd/
2010-04-30  Tristan Gingold  <gingold@adacore.com>

* vms-lib.c (struct lib_tdata): Field artdata added, fields nbr_syms
and syms removed.
(struct carsym_mem): New structure.
(vms_add_index): New function.
(vms_add_indexes_from_list): New function.
(vms_traverse_index): Parameter carsym changed to carsym_mem.
Code adjusted to handle elfidx.
(vms_lib_read_index): Adjusted for vms_traverse_index changes.
Parameter NBREL is now a pointer.
(_bfd_vms_lib_archive_p): Adjust for above change.  Handle ia64
archives.
(_bfd_vms_lib_mkarchive): Adjusted for changes in struct lib_tdata.
(_bfd_vms_lib_find_symbol): Ditto.
(vms_lib_bopen): Fix two typos: return FALSE in case of error,
check MHD id.
* vms-alpha.c (alpha_vms_link_add_archive_symbols): Adjust for
changes of _bfd_vms_lib_find_symbol.

include/vms
2010-04-30  Tristan Gingold  <gingold@adacore.com>

* lbr.h (LBR__C_TYP_ISHSTB): Added.
(LHD_SANEID4): Renamed to ...
(LHD_SANEID6): ...  this.
(LBR_MAJORID, LBR_ELFMAJORID): New macros.
(struct vms_rfa): New structure.
(struct vms_idxdef): Renamed to ...
(struct vms_idx): ... this.
(struct vms_idxdef2): Renamed to ...
(struct vms_elfidx): ... this.
(ELFIDX__WEAK, ELFIDX__GROUP, ELFIDX__LISTRFA, ELFIDX__SYMESC): New
macros.
(struct vms_lhs, struct vms_lns): New structures.
(struct vms_mhd): Add missing fields.
(MHD__C_MHDLEN): New macro.

14 years ago * dlfcn.cc (get_full_path_of_dll): Handle non-existent file.
Corinna Vinschen [Thu, 29 Apr 2010 13:03:30 +0000 (13:03 +0000)]
* dlfcn.cc (get_full_path_of_dll): Handle non-existent file.

14 years ago * new-features.sgml (ov-new1.7.6): Add new "dos" and "inode" mount
Corinna Vinschen [Thu, 29 Apr 2010 10:58:17 +0000 (10:58 +0000)]
* new-features.sgml (ov-new1.7.6): Add new "dos" and "inode" mount
options.
* pathnames.sgml (mount-table): Ditto.
(pathnames-specialchars): Change description order.  Add paragraph
to explain new behaviour in terms of leading spaces and trailing dots
and spaces in pathnames.

14 years ago * utils.sgml (mount): Add description for "dos" and "ihash" mount
Corinna Vinschen [Thu, 29 Apr 2010 10:53:31 +0000 (10:53 +0000)]
* utils.sgml (mount): Add description for "dos" and "ihash" mount
options.

14 years ago * path.cc: Include sys/cygwin.h if built for mount(1).
Corinna Vinschen [Thu, 29 Apr 2010 10:39:35 +0000 (10:39 +0000)]
* path.cc: Include sys/cygwin.h if built for mount(1).
(struct opt): Add "dos" and "ihash" options.
(from_fstab_line): Call cygwin_internal rather than read_flags if
built for mount(1).

14 years ago * mount.cc (struct opt): Add "dos" and "ihash" options.
Corinna Vinschen [Thu, 29 Apr 2010 10:38:05 +0000 (10:38 +0000)]
* mount.cc (struct opt): Add "dos" and "ihash" options.
(fillout_mntent): Ditto.
* path.cc (path_conv::get_nt_native_path): Use path_conv's
has_dos_filenames_only method.
(path_conv::check): Add PATH_IHASH flag if FS has unreliable inode
numbers.
(symlink_info::check_shortcut): Or symlink flags to pflags.
(symlink_info::check_sysfile): Ditto.  Change test accordingly.
(symlink_info::check_reparse_point): Ditto.
(symlink_info::check_nfs_symlink): Ditto.
(symlink_info::check): Check PATH_DOS flag in call to get_nt_native_path
to utilize mount flag.  Ditto in test for potential restarting.  Set
PATH_DOS if FS only allows DOS filename rules.
* path.h (enum path_types): Add PATH_DOS and PATH_IHASH.
(path_conv::hasgood_inode): Check PATH_IHASH instead of
fs.hasgood_inode.
(path_conv::has_dos_filenames_only): New method.
* include/sys/mount.h (MOUNT_DOS): New mount flag.
(MOUNT_IHASH): Ditto.

14 years ago * mount.cc (oopts): Remove entirely.
Corinna Vinschen [Thu, 29 Apr 2010 08:50:23 +0000 (08:50 +0000)]
* mount.cc (oopts): Remove entirely.
(usage): Call cygwin_internal (CW_LST_MNT_OPTS) to create list of
mount options.
(print_version): Fix copyright date.
(main): Replace option processing loop with single call to
cygwin_internal (CW_CVT_MNT_OPTS).

14 years ago * external.cc (cygwin_internal): Add CW_CVT_MNT_OPTS to allow mount
Corinna Vinschen [Thu, 29 Apr 2010 08:47:44 +0000 (08:47 +0000)]
* external.cc (cygwin_internal): Add CW_CVT_MNT_OPTS to allow mount
flag parsing.  Add CW_LST_MNT_OPTS case to allow mount flag listing.
* mount.cc (fstab_read_flags): Rename from read_flags.  Make externally
available.  Change input string to char ** to allow returning faulty
option.  Add flag for avoiding debug output.
(fstab_list_flags): New function to create list of options.
* include/sys/cygwin.h (cygwin_getinfo_types): Add CW_CVT_MNT_OPTS and
CW_LST_MNT_OPTS.

14 years ago * mount.cc (compare_flags): New function.
Corinna Vinschen [Wed, 28 Apr 2010 15:35:52 +0000 (15:35 +0000)]
* mount.cc (compare_flags): New function.
(read_flags): Replace loop with bsearch.  Simplify error check.

14 years ago * include/cygwin/version.h: Bump API minor version.
Corinna Vinschen [Wed, 28 Apr 2010 10:20:34 +0000 (10:20 +0000)]
* include/cygwin/version.h: Bump API minor version.

14 years ago * new-features.sgml (ov-new1.7.6): Add locale wide-char changes.
Corinna Vinschen [Wed, 28 Apr 2010 10:19:25 +0000 (10:19 +0000)]
* new-features.sgml (ov-new1.7.6): Add locale wide-char changes.

14 years ago * locale.cc (print_lc_xxx_charset): Remove.
Corinna Vinschen [Wed, 28 Apr 2010 10:00:40 +0000 (10:00 +0000)]
* locale.cc (print_lc_xxx_charset): Remove.
(enum type_t): Change according to the fact that nl_langinfo now returns
all locale category values.
(lc_ctype_names): Add new category members.  Redefine for exclusive
nl_langinfo usage.
(lc_numeric_names): Ditto.
(lc_time_names): Ditto.
(lc_collate_names): Ditto.
(lc_monetary_names): Ditto.
(lc_messages_names): Ditto.
(print_lc): Change switch according to new type_t values.

14 years ago * cygwin.din (__locale_mb_cur_max): Export.
Corinna Vinschen [Wed, 28 Apr 2010 10:00:24 +0000 (10:00 +0000)]
* cygwin.din (__locale_mb_cur_max): Export.
* nlsfuncs.cc (__getlocaleinfo): Drop conversion to multibyte.
(__charfromwchar): New function to convert to multibyte.
(__eval_datetimefmt): Convert to return wchar_t pointer.  Work on
wide char string.
(__set_lc_time_from_win): Take additional pointer to "C" category info
to accommodate C.foo locales.  Rework to fill wide char members in
category info.
(__set_lc_ctype_from_win): New function.
(__set_lc_numeric_from_win): Take additional pointer to "C" category
info to accommodate C.foo locales.  Rework to fill wide char members
in category info.
(__set_lc_monetary_from_win): Ditto.
(__set_lc_messages_from_win): Ditto.
(__get_current_collate_codeset): New function, called from nl_langinfo.
* include/cygwin/config.h (__HAVE_LOCALE_INFO_EXTENDED__): Define.

14 years ago Extend locale support to maintain wide char values of native strings
Corinna Vinschen [Wed, 28 Apr 2010 09:59:37 +0000 (09:59 +0000)]
Extend locale support to maintain wide char values of native strings
if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
* libc/include/langinfo.h (enum __nl_item): New type.  Define all
native values accessible through nl_langinfo.  Define previously
existing POSIX-compatible values as macros as well.
* libc/include/stdlib.h (__mb_cur_max): Drop declaration.
(__locale_mb_cur_max): Declare.
(MB_CUR_MAX): Re-define calling __locale_mb_cur_max.
* libc/locale/Makefile.am (ELIX_SOURCES): Add lctype.c.
* libc/locale/Makefile.in: Regenerate.
* libc/locale/lctype.c: New file to define and load LC_CTYPE category.
* libc/locale/lctype.h: New file, matching header.
* libc/locale/lmessages.c (_C_messages_locale): Add default values for
wide char members.
(__messages_load_locale): Add _C_messages_locale in call to
__set_lc_messages_from_win.
* libc/locale/lmessages.h (struct lc_messages_T): Add wide char members.
* libc/locale/lmonetary.c (_C_monetary_locale):  Add default values for
wide char members.
(__monetary_load_locale): Add _C_monetary_locale in call to
__set_lc_monetary_from_win.
* libc/locale/lmonetary.h (struct lc_monetary_T): Add wide char members.
Add numerical values for international currency formatting per
POSIX-1.2008, if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
* libc/locale/lnumeric.c (_C_numeric_locale): Add default values for
wide char members.
(__numeric_load_locale): Add _C_numeric_locale in call to
__set_lc_numeric_from_win.
* libc/locale/lnumeric.h (struct lc_numeric_T): Add wide char members.
* libc/locale/locale.c (loadlocale): Return doing nothing if category
locale didn't change.  Convert category if chain to switch statement.
Call __ctype_load_locale in LC_CTYPE case.
(__locale_charset): Add (but disable for now) returning codeset from
__get_current_ctype_locale.
(__locale_mb_cur_max): Add (but disable for now) returning mb_cur_max
from __get_current_ctype_locale.
(__locale_msgcharset): Add returning codeset from
__get_current_messages_locale.
(_localeconv_r): Accommodate int_XXX values.
* libc/locale/nl_langinfo.c (nl_ext): New array to define what is to
be returned for non-POSIX values.
(nl_Langinfo): Return correct codeset for each locale category.  Return
extended values if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
* libc/locale/timelocal.c (_C_time_locale): Add default values for
wide char members.
(__time_load_locale): Add _C_time_locale in call to
__set_lc_time_from_win.
* libc/locale/timelocal.h (struct lc_time_T): Add wide char members.
* libc/stdio/vfwprintf.c (_VFWPRINTF_R): Use wide char decimal point
and thousands_sep if __HAVE_LOCALE_INFO_EXTENDED__ is defined.
* libc/time/strftime.c: Rework to accommodate availability of wide char
strings in LC_TIME category if __HAVE_LOCALE_INFO_EXTENDED__ is defined.

14 years ago* spawn.cc (find_exec): Use the first detected errno when lookup fails.
Christopher Faylor [Tue, 27 Apr 2010 23:06:48 +0000 (23:06 +0000)]
* spawn.cc (find_exec): Use the first detected errno when lookup fails.

14 years ago * include/regex.h: Include _ansi.h to avoid missing out on preprocessor
Corinna Vinschen [Tue, 27 Apr 2010 15:18:14 +0000 (15:18 +0000)]
* include/regex.h: Include _ansi.h to avoid missing out on preprocessor
macros in sys/_types.h.

14 years ago * configure.ac (--enable-gold): Support both, both/gold and
Nick Clifton [Tue, 27 Apr 2010 14:24:37 +0000 (14:24 +0000)]
    * configure.ac (--enable-gold): Support both, both/gold and
        both/bfd to add gold to configdirs without removing ld.
        * configure: Regenerated.

        * Makefile.def: Add install-gold dependency to install-ld.
        * Makefile.in: Regenerated.

14 years agomerge from gcc
DJ Delorie [Mon, 26 Apr 2010 18:04:23 +0000 (18:04 +0000)]
merge from gcc

14 years ago * mount.h (fs_info::inited): New inline method.
Corinna Vinschen [Mon, 26 Apr 2010 13:48:04 +0000 (13:48 +0000)]
* mount.h (fs_info::inited): New inline method.
* path.cc (path_conv::check): Clear filesystem info if following a
symlink.  Use new fs_info::inited method to check if FS info is already
available.
(symlink_info::check): Drop fs_update_called.  Use fs_info::inited
method instead.  Streamline test for leading space and trailing dot or
space.  Add comments.

14 years agoinclude/elf/
Alan Modra [Sat, 24 Apr 2010 01:05:22 +0000 (01:05 +0000)]
include/elf/
* internal.h (ELF_SECTION_SIZE): Protect macro args with parentheses.
Invert logic to clarify test for .tbss.
(ELF_IS_SECTION_IN_SEGMENT): Rename to..
(ELF_SECTION_IN_SEGMENT_1): ..this.  Add check_vma param.  Protect
macro args with parentheses.
(ELF_SECTION_IN_SEGMENT): Define.
(ELF_IS_SECTION_IN_SEGMENT_FILE): Delete.
(ELF_IS_SECTION_IN_SEGMENT_MEMORY): Delete.
bfd/
* elf.c: Replace use of ELF_IS_SECTION_IN_SEGMENT and
ELF_IS_SECTION_IN_SEGMENT_FILE with ELF_SECTION_IN_SEGMENT
throughout file.
(assign_file_positions_for_load_sections): Modify section in
segment warning to ignore overlay vmas.
* elf32-spu.c (spu_elf_object_p): Replace use of
ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.
binutils/
* readelf.c (process_program_headers): Replace use of
ELF_IS_SECTION_IN_SEGMENT_MEMORY with ELF_SECTION_IN_SEGMENT.

14 years agomerge from gcc
DJ Delorie [Sat, 24 Apr 2010 01:03:15 +0000 (01:03 +0000)]
merge from gcc

14 years ago * path.h (get_nt_native_path): Add third parameter to declaration and
Corinna Vinschen [Fri, 23 Apr 2010 11:07:35 +0000 (11:07 +0000)]
* path.h (get_nt_native_path): Add third parameter to declaration and
declare with regparms.
* path.cc (get_nt_native_path): Add third parameter to allow conversion
of leading and trailing dots and spaces on filesystems only supporting
filenames following DOS rules.
(path_conv::get_nt_native_path): Call get_nt_native_path according to
fs.has_dos_filenames_only flag.
(getfileattr): Accommodate new parameter to get_nt_native_path.
(symlink_info::check): Revamp fs_update_called handling to call
fs.update only once per call.  Call get_nt_native_path according to
fs.has_dos_filenames_only flag.  Streamline filesystem dependent code
not to be called more than once unnecessarily.  Drop code tweaking
incoming path for broken filesystems only allowing DOS pathnames.
Rely on changed get_nt_native_path instead.
* mount.cc (fillout_mntent): Accommodate new parameter to
get_nt_native_path.
* strfuncs.cc (tfx_rev_chars): New conversion table with comment.
(sys_cp_wcstombs): Use tfx_rev_chars rather than tfx_chars.

14 years ago* libc/Makefile.am (SUBDEFS): Add LIBC_POSIX_DEF.
DJ Delorie [Thu, 22 Apr 2010 23:32:42 +0000 (23:32 +0000)]
* libc/Makefile.am (SUBDEFS): Add LIBC_POSIX_DEF.
(libc.info): Add posix.texi.
(libc.dvi): Likewise.
(stmp-posix): New.
(posix.texi): New.
(libc_TEXINFOS): Add posix.texi.
* libc/configure.in (LIBC_POSIX_LIB, LIBC_POSIX_DEF): Add
tests.
* libc/libc.texinfo: Include posix.texi
* libc/locale/locale.c: Fix texinfo typo.
* libc/time/strftime.c: Fix texinfo typo.

* libc/configure: Regenerate.
* libc/Makefile.in: Regenerate.
* libc/argz/Makefile.in: Regenerate.
* libc/ctype/Makefile.in: Regenerate.
* libc/errno/Makefile.in: Regenerate.
* libc/iconv/Makefile.in: Regenerate.
* libc/iconv/ccs/Makefile.in: Regenerate.
* libc/iconv/ccs/binary/Makefile.in: Regenerate.
* libc/iconv/ces/Makefile.in: Regenerate.
* libc/iconv/lib/Makefile.in: Regenerate.
* libc/locale/Makefile.in: Regenerate.
* libc/misc/Makefile.in: Regenerate.
* libc/posix/Makefile.in: Regenerate.
* libc/reent/Makefile.in: Regenerate.
* libc/search/Makefile.in: Regenerate.
* libc/signal/Makefile.in: Regenerate.
* libc/stdio/Makefile.in: Regenerate.
* libc/stdio64/Makefile.in: Regenerate.
* libc/stdlib/Makefile.in: Regenerate.
* libc/string/Makefile.in: Regenerate.
* libc/syscalls/Makefile.in: Regenerate.
* libc/time/Makefile.in: Regenerate.
* libc/unix/Makefile.in: Regenerate.
* libc/xdr/Makefile.in: Regenerate.

14 years ago * path.cc (symlink_info::check): Make sure to restart only once.
Corinna Vinschen [Thu, 22 Apr 2010 17:42:18 +0000 (17:42 +0000)]
* path.cc (symlink_info::check): Make sure to restart only once.

14 years ago * mount.cc (GETVOLINFO_VALID_MASK): Drop FILE_SEQUENTIAL_WRITE_ONCE
Corinna Vinschen [Thu, 22 Apr 2010 17:33:28 +0000 (17:33 +0000)]
* mount.cc (GETVOLINFO_VALID_MASK): Drop FILE_SEQUENTIAL_WRITE_ONCE
from mask.  Expand the comment a bit.
(WIN_FAT_FLAGS): New define.
(FS_IS_WINDOWS_FAT): New macro.
(fs_info::update): Handle remote FS faking to be FAT.  Subsume under
CIFS.  Check for NWFS and has_buggy_basic_info only for remote
filesystems.  Add check for has_dos_filenames_only.
* mount.h (class fs_info): Add has_dos_filenames_only status flag.
Implement accessors.
* path.cc (symlink_info::check): Rearrange variable definitions to
clear them up.  Add a restart label to allow a clean restart within
the method.  Add a check for broken filesystems only allowing DOS
pathnames in case we encounter a STATUS_OBJECT_NAME_NOT_FOUND status.
If all checks point to one of that, restart method with tweaked
incoming path.  Add lengthy comments to explain what we do.

14 years ago * path.cc (symlink_info::check): Fix a comment.
Corinna Vinschen [Thu, 22 Apr 2010 09:43:29 +0000 (09:43 +0000)]
* path.cc (symlink_info::check): Fix a comment.

14 years ago * cygserver.sgml: Note the fact that slave tty/pty handle dispersal is
Corinna Vinschen [Thu, 22 Apr 2010 09:05:37 +0000 (09:05 +0000)]
* cygserver.sgml: Note the fact that slave tty/pty handle dispersal is
unsed as of Cygwin 1.7.6.
* new-features.sgml (ov-new1.7.6): New section.  Add tty/pty and
setrlimit changes.

14 years ago * fhandler_termios.cc (tcinit): Remove previously applied change.
Corinna Vinschen [Wed, 21 Apr 2010 19:36:40 +0000 (19:36 +0000)]
* fhandler_termios.cc (tcinit): Remove previously applied change.
Replace with...
* fhandler_tty.cc (fhandler_tty_slave::init): Become process group
leader if called from dtable::init_std_file_from_handle.  Add comment
to explain.

14 years agogas/testsuite:
Joseph Myers [Wed, 21 Apr 2010 18:56:45 +0000 (18:56 +0000)]
gas/testsuite:
* gas/tic6x/insns-c674x.s, gas/tic6x/insns-c674x.d: Also test
"b .S2 b3".

include/opcode:
* tic6x-insn-formats.h (s_branch): Correct typo in bitmask.

14 years ago * dtable.cc (dtable::init_std_file_from_handle): Set access mask for
Corinna Vinschen [Wed, 21 Apr 2010 18:44:39 +0000 (18:44 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Set access mask for
the slave side of ttys explicitely.  Explain why.

14 years ago* path.cc (cygwin_create_path): Free memory on error.
Christopher Faylor [Tue, 20 Apr 2010 14:32:29 +0000 (14:32 +0000)]
* path.cc (cygwin_create_path): Free memory on error.

14 years ago * cygheap.h (struct init_cygheap): Add rlim_core member.
Corinna Vinschen [Tue, 20 Apr 2010 10:44:52 +0000 (10:44 +0000)]
* cygheap.h (struct init_cygheap): Add rlim_core member.
* cygheap.cc (cygheap_init): Initialize rlim_core to RLIM_INFINITY.
* exceptions.cc (stackdump): Drop extern declaration of rlim_core.
Refer to cygheap->rlim_core instead.
(exception::handle): Disable stackdumping if cygheap->rlim_core is 0.
Don't set WCOREDUMP flag in exit code, if cygheap->rlim_core is 0.
(sigpacket::process): Ditto.
* resource.cc (rlim_core): Remove.
(getrlimit): Fetch RLIMIT_CORE value from cygheap->rlim_core.
(setrlimit): Store RLIMIT_CORE value in cygheap->rlim_core.

14 years ago* cygerrno.h: Nevermind.
Christopher Faylor [Tue, 20 Apr 2010 03:45:27 +0000 (03:45 +0000)]
* cygerrno.h: Nevermind.

14 years ago* transport_pipes.cc: Include ntdef.h to accommodate cygerrno.h.
Christopher Faylor [Tue, 20 Apr 2010 03:44:38 +0000 (03:44 +0000)]
* transport_pipes.cc: Include ntdef.h to accommodate cygerrno.h.

14 years ago* cygerrno.h: Protect use of NTSTATUS for only when we need it.
Christopher Faylor [Tue, 20 Apr 2010 03:32:37 +0000 (03:32 +0000)]
* cygerrno.h: Protect use of NTSTATUS for only when we need it.
* lib/_cygwin_crt0_common.cc: Remove unneeded declarations.

14 years ago* lib/_cygwin_crt0_common.cc: Remove unneeded declarations.
Christopher Faylor [Tue, 20 Apr 2010 03:30:32 +0000 (03:30 +0000)]
* lib/_cygwin_crt0_common.cc: Remove unneeded declarations.

14 years ago * fhandler_tty.cc (fhandler_tty_slave::fch_set_sd): Remove commented out
Corinna Vinschen [Mon, 19 Apr 2010 20:00:18 +0000 (20:00 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::fch_set_sd): Remove commented out
code.

14 years ago * autoload.cc (GetNamedPipeClientProcessId): Define.
Corinna Vinschen [Mon, 19 Apr 2010 19:52:43 +0000 (19:52 +0000)]
* autoload.cc (GetNamedPipeClientProcessId): Define.
* fhandler.h (fhandler_tty_slave::fch_open_handles): Declare private.
(fhandler_tty_slave::fch_close_handles): Ditto.
(fhandler_tty_slave::cygserver_attach_tty): Drop declaration.
(fhandler_tty_slave::fstat): Declare public.
(fhandler_tty_slave::fchmod): Declare public.
(fhandler_tty_slave::fchown): Declare public.
(class fhandler_pty_master): Add master_ctl handle.
(fhandler_pty_master::pty_master_thread): Declare public.
* fhandler_termios.cc (fhandler_termios::tcinit): If the process
is started from a non-Cygwin process, make it tty process group
leader.
* fhandler_tty.cc: Throughout accommodate additional security related
arguments in calls to functions creating or opening objects.
(close_maybe): Move to start of file to reuse it
in other methods.
(struct pipe_request): Define.
(struct pipe_reply): Define.
(fhandler_tty_slave::open): Throughout, try to open synchronization
objects with MAXIMUM_ALLOWED permissions.  Drop call to cygserver.
Try to duplicate pipe handles via master_ctl pipe if duplicating
directly doesn't work.
(fhandler_tty_slave::cygserver_attach_tty): Remove.
(fhandler_tty_slave::init): Close unused incoming pipe handle.
(fhandler_pty_master::close): Send exit message to master control
thread and close master_ctl handle.
(fhandler_pty_master::pty_master_thread): New method, implementing the
master control thread.
(pty_master_thread): Static helper to start master control thread.
(fhandler_pty_master::setup): Simplify creating pipe inheritance.
Make sure we're the one creating the input_available_event.  Add
comment to explain why.  Create master_ctl pipe and start master
control thread.  Close master_ctl handle in case of error.
* security.cc (alloc_sd): Add code to handle tty objects.  Add comments
to explain what exactly is required.
(get_object_sd): New function.
(get_object_attribute): New function.
(create_object_sd_from_attribute): New function.
(set_object_sd): New function.
(set_object_attribute): New function.
(set_file_attribute): Change attribute type to mode_t.
* security.h (set_file_attribute): Change attribute type to mode_t.
(get_object_sd): Declare.
(get_object_attribute): Declare.
(create_object_sd_from_attribute): Declare.
(set_object_sd): Declare.
(set_object_attribute): Declare.
* tty.cc (tty::slave_alive): Implement directly instead of via alive.
(tty::exists): Open mutex handle with READ_CONTROL access.
(tty::alive): Remove.
(tty::open_output_mutex): Convert to inline method.
(tty::open_input_mutex): Ditto.
(tty::open_mutex): Take additional ACCESS_MASK parameter for the
mutex open access mask.
(tty::open_inuse): New method.
(tty::create_inuse): Take PSECURITY_ATTRIBUTES parameter.  Drop fmt
name parameter.  Always create TTY_SLAVE_ALIVE event.
(tty::get_event): Take additional PSECURITY_ATTRIBUTES parameter for
CreateEvent.
* tty.h (class tty): Change declarations according to aforementioned
changes.
(tty::open_output_mutex): Implement as inline method.
(tty::open_input_mutex): Ditto.

14 years ago * dtable.cc (dtable::init_std_file_from_handle): Set dev to
Corinna Vinschen [Mon, 19 Apr 2010 16:25:11 +0000 (16:25 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Set dev to
valid content for ptys.  Remove setting FILE_CREATE_PIPE_INSTANCE
in access flags since it's not needed.  Set the access mask for
kernel objects according to what's returned by NtQueryInformationFile,
info class FileAccessInformation.

14 years ago * syscalls.cc (rename): On STATUS_ACCESS_VIOLATION, retry to open
Corinna Vinschen [Mon, 19 Apr 2010 08:09:51 +0000 (08:09 +0000)]
* syscalls.cc (rename): On STATUS_ACCESS_VIOLATION, retry to open
for DELETE until the STATUS_ACCESS_VIOLATION goes away.  Add comment
to explain why.

14 years ago * sec_helper.cc (get_null_sd): Make static. Use PSECURITY_DESCRIPTOR
Corinna Vinschen [Sat, 17 Apr 2010 15:51:09 +0000 (15:51 +0000)]
* sec_helper.cc (get_null_sd): Make static.  Use PSECURITY_DESCRIPTOR
instead of SECURITY_DESCRIPTOR *.
(sec_acl): Fix fomratting.
* security.h (get_null_sd): Drop declaration.

14 years ago * cygerrno.h (seterrno_from_nt_status): Declare.
Corinna Vinschen [Fri, 16 Apr 2010 15:42:29 +0000 (15:42 +0000)]
* cygerrno.h (seterrno_from_nt_status): Declare.
(__seterrno_from_nt_status): Call seterrno_from_nt_status.
* errno.cc (seterrno_from_win_error): Set errno without calling
set_errno to avoid packing strace output with errno messages.
(seterrno_from_nt_status): New function to print NT status as well as
resulting Windows error.

14 years ago * kernel32.cc (CreateEventW): Create event object with EVENT_ALL_ACCESS
Corinna Vinschen [Thu, 15 Apr 2010 17:20:59 +0000 (17:20 +0000)]
* kernel32.cc (CreateEventW): Create event object with EVENT_ALL_ACCESS
access mask.
(CreateMutexW): Create mutex object with MUTEX_ALL_ACCESS access mask.
(CreateSemaphoreW): Create semaphore object with SEMAPHORE_ALL_ACCESS
access mask.

14 years ago * sec_helper.cc (set_cygwin_privileges): Enable SE_DEBUG_PRIVILEGE, if
Corinna Vinschen [Thu, 15 Apr 2010 17:17:59 +0000 (17:17 +0000)]
* sec_helper.cc (set_cygwin_privileges): Enable SE_DEBUG_PRIVILEGE, if
available.  Add comments.

14 years ago * ld/testsuite/ld-arm/attr-merge-2.attr: Update for changes in attribute output.
Matthew Gretton-Dann [Thu, 15 Apr 2010 10:56:36 +0000 (10:56 +0000)]
* ld/testsuite/ld-arm/attr-merge-2.attr: Update for changes in attribute output.
* ld/testsuite/ld-arm/attr-merge-3.attr: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-1.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-1r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-2.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-2r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-3.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-3r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-4.d: Likeiwse.
* ld/testsuite/ld-arm/attr-merge-vfp-4r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-5.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-vfp-5r.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-00-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-00.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-02-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-02.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-04-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-04.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-20-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-20.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-22-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-22.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-24-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-40-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-40.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-42-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-44-nowarn.d: Likewise.
* ld/testsuite/ld-arm/attr-merge-wchar-44.d: Likewise.
* ld/testsuite/ld-arm/attr-merge.attr: Likewise.
* binutils/readelf.c (arm_attr_tag_FP_arch): Rename from arm_attr_tag_VFP_arch.
(arm_attr_tag_ABI_align8_needed): Remove.
(arm_attr_tag_ABI_align8_preserved): Remove.
(arm_attr_tag_ABI_HardFP_use): Update text strings.
(arm_attr_public_tags): Add strings for ABI v2.08 attribute tags.
(display_arm_attribute): Add decoding of ABI v2.08 attributes.
* include/elf/arm.h (Tag_FP_arch, Tag_ABI_align_needed, Tag_ABI_align_preserved,
Tag_FP_HP_extension): Add new ABI attribute tags.
* gas/config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
new tag names in v2.08 of ARM ABI.
* gas/doc/c-arm.texi: Document new tag names in ABI.
* gas/testsuite/gas/arm/attr-mcpu.d: Update for new attribute tag names.
* gas/testsuite/gas/arm/attr-mfpu-arm1020e.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-arm1020t.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-arm1136jf-s.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-arm1136jfs.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-neon-fp16.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-neon.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-softvfp+vfp.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp10-r0.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp10.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp3.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfp9.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv2.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv3-d16.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv3.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv4-d16.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpv4.d: Likewise.
* gas/testsuite/gas/arm/attr-mfpu-vfpxd.d: Likewise.
* gas/testsuite/gas/arm/attr-names.d: Add test to make sure all attribute names
are recognised.
* gas/testsuite/gas/arm/attr-names.s: Likewise.

14 years agoUpgrade header files to use GPLv3
Nick Clifton [Thu, 15 Apr 2010 10:26:09 +0000 (10:26 +0000)]
Upgrade header files to use GPLv3

14 years ago * filenames.h (HAS_DRIVE_SPEC, STRIP_DRIVE_SPEC): New macros.
Doug Evans [Wed, 14 Apr 2010 21:18:27 +0000 (21:18 +0000)]
* filenames.h (HAS_DRIVE_SPEC, STRIP_DRIVE_SPEC): New macros.

14 years ago2010-04-14 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Wed, 14 Apr 2010 09:28:48 +0000 (09:28 +0000)]
2010-04-14  Tristan Gingold  <gingold@adacore.com>

* configure.ac (alpha*-*-*vms*): Remove ld from noconfigdirs.
* configure: Regenerate.

14 years agosim: drop PARAMS
Michael Frysinger [Tue, 13 Apr 2010 20:39:44 +0000 (20:39 +0000)]
sim: drop PARAMS

The PARAMS macro is no longer useful, so drop it from the sim includes.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years agosim: constify sim_write source buffer
Michael Frysinger [Tue, 13 Apr 2010 20:28:19 +0000 (20:28 +0000)]
sim: constify sim_write source buffer

Most the sim write functions declare their source buffer const because
they only ever read from it.  The global sim_write() function does not
follow this convention though which causes some warnings when trying to
pass it const strings or buffers.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
14 years ago * fhandler_socket.cc (get_inet_addr): Only test the file for being a
Corinna Vinschen [Tue, 13 Apr 2010 19:56:30 +0000 (19:56 +0000)]
* fhandler_socket.cc (get_inet_addr): Only test the file for being a
socket after opening it.  Retry if opening failed with sharing
violation.  Explain why we do this.
(fhandler_socket::bind): Create file with no sharing allowed.

14 years ago * cygheap.cc (cwcsdup): Fix allocation size to accommodate sizeof WCHAR.
Corinna Vinschen [Tue, 13 Apr 2010 10:01:34 +0000 (10:01 +0000)]
* cygheap.cc (cwcsdup): Fix allocation size to accommodate sizeof WCHAR.
(cwcsdup1): Ditto.

14 years ago * include/cygwin/version.h: Bump DLL minor version number to 5.
Corinna Vinschen [Mon, 12 Apr 2010 17:01:01 +0000 (17:01 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 5.

14 years ago * posix.sgml (std-notes): Improve lseek description.
Corinna Vinschen [Mon, 12 Apr 2010 15:36:48 +0000 (15:36 +0000)]
* posix.sgml (std-notes): Improve lseek description.

14 years ago * fhandler_tty.cc (fhandler_tty_slave::open): Add code to duplicate
Corinna Vinschen [Mon, 12 Apr 2010 13:28:06 +0000 (13:28 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Add code to duplicate
handles within a single process to simplify openpty case.
(fhandler_tty_slave::cygserver_attach_tty): Correctly send Windows PID
to cygserver, rather than the Cygwin PID.

14 years ago* cygwin.dsl: Remove comments.
Christopher Faylor [Sun, 11 Apr 2010 22:15:59 +0000 (22:15 +0000)]
* cygwin.dsl: Remove comments.

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