]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
14 years agoinclude/elf/
Alan Modra [Mon, 21 Sep 2009 11:51:01 +0000 (11:51 +0000)]
include/elf/
* ppc.h (DT_PPC_TLSOPT): Define.
* ppc64.h (DT_PPC64_TLSOPT): Define.
bfd/
* elf32-ppc.c (TLS_GET_ADDR_GLINK_SIZE): Define.
(ADD_3_12_2, BEQLR, CMPWI_11_0, LWZ_11_3, LWZ_12_3): Define.
(MR_0_3, MR_3_0): Define.
(struct ppc_elf_link_hash_table): Add no_tls_get_addr_opt.
(ppc_elf_select_plt_layout): Save emit_stub_syms param earlier.
(ppc_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
table.  Check for presense of __tls_get_addr_opt
(allocate_dynrelocs): Increase glink entry size for __tls_get_addr.
(ppc_elf_size_dynamic_sections): Add DT_PPC_TLS_OPT tag.
(write_glink_stub): Add param p.
(ppc_elf_relocate_section): Adjust write_glink_stub call.
(ppc_elf_finish_dynamic_symbol): Emit special glink call stub for
__tls_get_addr.
* elf32-ppc.h (ppc_elf_tls_setup): Update prototype.
* elf64-ppc.c (struct ppc_link_hash_table): Add no_tls_get_addr_opt.
(ppc64_elf_tls_setup): Add no_tls_get_addr_opt param and save to hash
table.  Check for presense of __tls_get_addr_opt.
(ppc64_elf_size_dynamic_sections): Add DT_PPC64_TLS_OPT tag.
(LD_R11_0R3, LD_R12_0R3, MR_R0_R3, CMPDI_R11_0, ADD_R3_R12_R13,
BEQLR, MR_R3_R0, MFLR_R11, STD_R11_0R1, BCTRL, LD_R11_0R1,
LD_R2_0R1, MTLR_R11): Define.
(build_tls_get_addr_stub): New function.
(ppc_build_one_stub): Call it.
(ppc_size_one_stub): Add extra size for __tls_get_addr stub.
(ppc64_elf_relocate_section): Don't change nop to ld 2,40(1) for
__tls_get_addr plt call.
* elf64-ppc.h (ppc64_elf_tls_setup): Update prototype.
binutils/
* readelf.c (get_ppc_dynamic_type): Add TLSOPT.
(get_ppc64_dynamic_type): Likewise.
ld/
* emultempl/ppc32elf.em (no_tls_get_addr_opt): New var.
(ppc_before_allocation): Pass to ppc_elf_tls_setup.
(OPTION_NO_TLS_GET_ADDR_OPT): Define.  Redefine other options in
terms of previous option.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
--no-tls-get-addr-optimize.
(PARSE_AND_LIST_ARGS_CASES): Handle it.
* emultempl/ppc64elf.em (no_tls_get_addr_opt): New var.
(ppc_before_allocation): Pass to ppc64_elf_tls_setup.
(OPTION_NO_TLS_GET_ADDR_OPT): Define.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add
--no-tls-get-addr-optimize.
(PARSE_AND_LIST_ARGS_CASES): Handle it.
ld/testsuite/
* ld-powerpc/tlslib.s: Delete dot-symbol entry syms.  Add
__tls_get_addr_opt.
* ld-powerpc/tlslib32.s: Add __tls_get_addr_opt.
* ld-powerpc/oldtlslib.s: New file, old-abi version of tlslib.s.
* ld-powerpc/powerpc.exp: Build old-abi library and use it in
two new link tests.
* ld-powerpc/tlsexe.d: Update for new __tls_get_addr stub.
* ld-powerpc/tlsexe.g, * ld-powerpc/tlsexe.r, *ld-powerpc/tlsexe32.d,
* ld-powerpc/tlsexe32.g, * ld-powerpc/tlsexe32.r,
* ld-powerpc/tlsexetoc.d, * ld-powerpc/tlsexetoc.g,
* ld-powerpc/tlsexetoc.r: Likewise.

14 years ago * new-features.sgml (ov-new1.7-file): Add new hardlink behaviour on
Corinna Vinschen [Mon, 21 Sep 2009 11:01:19 +0000 (11:01 +0000)]
* new-features.sgml (ov-new1.7-file): Add new hardlink behaviour on
filesystems not supporting hardlinks.
* overview2.sgml (ov-hi-files): Change descripton accordingly.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::link): Drop faking hardlink
Corinna Vinschen [Mon, 21 Sep 2009 10:56:50 +0000 (10:56 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::link): Drop faking hardlink
creation on filesystems not supporting hardlinks.

14 years agogas/
Ben Elliston [Mon, 21 Sep 2009 10:29:07 +0000 (10:29 +0000)]
gas/
* config/tc-ppc.c (md_show_usage): Document -mpcca2.
* doc/c-ppc.texi (PowerPC-Opts): Document -mppca2.

gas/testsuite/
* gas/ppc/a2.s: New.
* gas/ppc/a2.d: Likewise.
* gas/ppc/ppc.exp: Run the a2 dump test.

include/opcode/
* ppc.h (PPC_OPCODE_PPCA2): New.

opcodes/
* ppc-dis.c (ppc_opts): Add "ppca2" entry.
* ppc-opc.c (powerpc_opcodes): Add eratilx, eratsx, eratsx.,
eratre, wchkall, eratwe, ldawx., mdfcrx., mfdcr. mtdcrx., icswx,
icswx., mtdcr., dci, wclrone, wclrall, wclr, erativax, tlbsrx.,
ici mnemonics.
(ERAT_T): New operand.
(XWC_MASK): New mask.
(XOPL2): New macro.
(PPCA2): Define.

14 years ago* dcrt0.cc (dll_crt0_1): Add another hack to REALLY make sure that cxx_malloc
Christopher Faylor [Mon, 21 Sep 2009 02:32:06 +0000 (02:32 +0000)]
* dcrt0.cc (dll_crt0_1): Add another hack to REALLY make sure that cxx_malloc
is always set to the cygwin version.

14 years ago* external.cc (cygwin_internal): Add hack to always reset cxx_malloc to proper
Christopher Faylor [Mon, 21 Sep 2009 02:19:31 +0000 (02:19 +0000)]
* external.cc (cygwin_internal): Add hack to always reset cxx_malloc to proper
value.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Relocate wayward comment.

14 years ago* exceptions.cc (sigpacket::process): Explicitly set thread-specific handler
Christopher Faylor [Sat, 19 Sep 2009 15:34:19 +0000 (15:34 +0000)]
* exceptions.cc (sigpacket::process): Explicitly set thread-specific handler
function to zero to avoid transferring to incorrect location.
(_cygtls::call_signal_handler): Don't transfer to handler if there is no
handler to transfer to.

14 years ago* libc/include/sys/unistd.h: Declare getpagesize as returning POSIX-mandated
Christopher Faylor [Sat, 19 Sep 2009 02:30:51 +0000 (02:30 +0000)]
* libc/include/sys/unistd.h: Declare getpagesize as returning POSIX-mandated
int.
* libc/sys/linux/sys/unistd.h: Ditto.

14 years ago* exceptions.cc (sigpacket::process): Give sigwait() processing precedence even
Christopher Faylor [Fri, 18 Sep 2009 21:27:02 +0000 (21:27 +0000)]
* exceptions.cc (sigpacket::process): Give sigwait() processing precedence even
when a handler is present.
* syscalls.cc (getpagesize): Change return to 'int'.

14 years ago* ntea.c (write_ea): Don't abort if not-samba.
Christopher Faylor [Wed, 16 Sep 2009 16:23:51 +0000 (16:23 +0000)]
* ntea.c (write_ea): Don't abort if not-samba.

14 years ago2009-09-16 Mike Frysinger <michael.frysinger@analog.com>
Jeff Johnston [Wed, 16 Sep 2009 16:08:27 +0000 (16:08 +0000)]
2009-09-16  Mike Frysinger  <michael.frysinger@analog.com>

        * bfin/include/cdefBF512.h, bfin/include/cdefBF514.h,
        bfin/include/cdefBF516.h, bfin/include/cdefBF518.h,
        bfin/include/cdefBF51x_base.h, bfin/include/cdefBF523.h,
        bfin/include/cdefBF524.h, bfin/include/cdefBF526.h,
        bfin/include/cdefBF542M.h, bfin/include/cdefBF544M.h,
        bfin/include/cdefBF547M.h, bfin/include/cdefBF548M.h,
        bfin/include/cdefBF549M.h, bfin/include/defBF512.h,
        bfin/include/defBF514.h, bfin/include/defBF516.h,
        bfin/include/defBF518.h, bfin/include/defBF51x_base.h,
        bfin/include/defBF523.h, bfin/include/defBF524.h,
        bfin/include/defBF526.h, bfin/include/defBF542M.h,
        bfin/include/defBF544M.h, bfin/include/defBF547M.h,
        bfin/include/defBF548M.h, bfin/include/defBF549M.h:
        New file.
        * bfin/include/ccblkfn.h, bfin/include/cdefBF525.h,
        bfin/include/cdefBF527.h, bfin/include/cdefBF52x_base.h,
        bfin/include/cdefBF532.h, bfin/include/cdefBF534.h,
        bfin/include/cdefBF535.h, bfin/include/cdefBF538.h,
        bfin/include/cdefBF539.h, bfin/include/cdefBF542.h,
        bfin/include/cdefBF544.h, bfin/include/cdefBF547.h,
        bfin/include/cdefBF548.h, bfin/include/cdefBF549.h,
        bfin/include/cdefBF54x_base.h, bfin/include/cdefBF561.h,
        bfin/include/cdefblackfin.h, bfin/include/cdef_LPBlackfin.h,
        bfin/include/cplb.h, bfin/include/defBF527.h,
        bfin/include/defBF52x_base.h, bfin/include/defBF532.h,
        bfin/include/defBF534.h, bfin/include/defBF535.h,
        bfin/include/defBF537.h, bfin/include/defBF538.h,
        bfin/include/defBF539.h, bfin/include/defBF542.h,
        bfin/include/defBF544.h, bfin/include/defBF547.h,
        bfin/include/defBF548.h, bfin/include/defBF549.h,
        bfin/include/defBF54x_base.h, bfin/include/defBF561.h,
        bfin/include/defblackfin.h, bfin/include/def_LPBlackfin.h,
        bfin/include/sys/_adi_platform.h,
        bfin/include/sys/anomaly_macros_rtl.h,
        bfin/include/sys/exception.h, bfin/include/sysreg.h:
        Update to Visual DSP 5.0 Update 6.

14 years ago2009-09-16 Mike Frysinger <michael.frysinger@analog.com>
Jeff Johnston [Wed, 16 Sep 2009 15:59:40 +0000 (15:59 +0000)]
2009-09-16  Mike Frysinger  <michael.frysinger@analog.com>

        * bfin/Makefile.in (BOARD_SCRIPTS): Add bf512.ld, bf514.ld,
        and bf516.ld, bf518.ld.
        * bfin/bf512.ld: New file.
        * bfin/bf514.ld: Likewise.
        * bfin/bf516.ld: Likewise.
        * bfin/bf518.ld: Likewise

14 years ago2009-09-16 Jie Zhang <jie.zhang@analog.com>
Jeff Johnston [Wed, 16 Sep 2009 15:56:58 +0000 (15:56 +0000)]
2009-09-16  Jie Zhang  <jie.zhang@analog.com>

        * bfin/*.ld: Fix typos in comments.

14 years ago * configure.ac: Disable java and boehm-gc for bfin-*-*.
Jie Zhang [Wed, 16 Sep 2009 00:45:55 +0000 (00:45 +0000)]
* configure.ac: Disable java and boehm-gc for bfin-*-*.
* configure: Regenerate.

14 years ago Updated soruces in bfd/* to compile cleanly with -Wc++-compat.
Nick Clifton [Wed, 9 Sep 2009 21:38:59 +0000 (21:38 +0000)]
    Updated soruces in bfd/* to compile cleanly with -Wc++-compat.

        * bfd/aoutx.h: Add casts.
        * bfd/archive.c: Add casts.
        * bfd/archive64.c: Add casts.
        * bfd/archures.c: Add casts.
        * bfd/bfd-in2.h: Regenerated.
        * bfd/bfd.c: Add casts. (enum bfd_direction): Move out to top
        level.
        * bfd/bfdio.c: Add casts.
        * bfd/binary.c: Add casts.
        * bfd/cache.c (cache_bseek,cache_bread_1,cache_bwrite): Updated
        parameter to use enum value instead of int.
        * bfd/coffcode.h: Add casts.
        * bfd/coffgen.c: Add casts.
        * bfd/cofflink.c: Add casts.
        * bfd/compress.c: Add casts.
        * bfd/dwarf1.c: Add casts.
        * bfd/dwarf2.c: Add casts. (struct dwarf2_debug): Rename member
        bfd to bfd_ptr. Update code to use new name.
        * bfd/elf-attrs.c: Add casts.
        * bfd/elf-bfd.h (elf_link_virtual_table_entry): Gives name to
        anonymous struct. (union gotplt_union, struct
        elf_link_virtual_table_entry): Move to top level.
        * bfd/elf-eh-frame.c: Add casts.
        * bfd/elf-strtab.c: Add casts.
        * bfd/elf.c: Add casts. (_bfd_elm_make_Section_from_phdr): Change
        argument name from typename to type_name.
        * bfd/elf32-i386.c: Add casts.
        * bfd/elf64-x86-64.c: Add casts.
        * bfd/elfcode.h: Add casts.
        * bfd/elfcore.h: Add casts.
        * bfd/elflink.c: Add casts.
        * bfd/format.c: Add casts.
        * bfd/hash.c: Add casts.
        * bfd/ihex.c: Add casts.
        * bfd/libaout.h (enum aout_subformat, enum aout_magic): Move to
        top level.
        * bfd/libbfd.c: Add casts.
        * bfd/linker.c: Add casts.
        * bfd/merge.c: Add casts.
        * bfd/opncls.c: Add casts.
        * bfd/peXXigen.c: Add casts.
        * bfd/peicode.h: Add casts.
        * bfd/reloc.c: Add casts.
        * bfd/section.c: Add casts.
        * bfd/simple.c: Add casts.
        * bfd/srec.c: Add casts.
        * bfd/stabs.c: Add casts.
        * bfd/syms.c: Add casts.
        * bfd/targets.c: Add casts.
        * bfd/tekhex.c: Add casts.
        * bfd/verilog.c: Add casts.
        * include/bfdlink.h (struct bfd_link_hash_common_entry): Move to
        top level.

14 years agoconfig:
Paolo Bonzini [Wed, 9 Sep 2009 19:46:39 +0000 (19:46 +0000)]
config:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4 (GCC_HEADER_STDINT): Revert changes to this macro in
the previous two patches.

bfd:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regenerate.

14 years agoconfig:
Paolo Bonzini [Wed, 9 Sep 2009 17:05:42 +0000 (17:05 +0000)]
config:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* stdint.m4: Store temporary file in $tmp/_GCC_STDINT_H.

bfd:
2009-09-09  Paolo Bonzini  <bonzini@gnu.org>

* configure: Regnerate.

14 years ago2009-09-08 Bernd Schmidt <bernd.schmidt@analog.com>
Jeff Johnston [Tue, 8 Sep 2009 21:22:06 +0000 (21:22 +0000)]
2009-09-08  Bernd Schmidt  <bernd.schmidt@analog.com>

* bfin/include/ccblkfn.h: New file.

14 years ago2009-09-08 Mike Frysinger <michael.frysinger@analog.com>
Jeff Johnston [Tue, 8 Sep 2009 21:20:12 +0000 (21:20 +0000)]
2009-09-08  Mike Frysinger  <michael.frysinger@analog.com>

* bfin/include/sys/_adi_platform.h: Convert __ASSEMBLY__ to
__ASSEMBLER__.
* bfin/include/sys/pll.h: Likewise

14 years ago2009-09-08 Jie Zhang <jie.zhang@analog.com>
Jeff Johnston [Tue, 8 Sep 2009 21:17:58 +0000 (21:17 +0000)]
2009-09-08  Jie Zhang  <jie.zhang@analog.com>

        * bfin/Makefile.in (basiccrt.o, basiccrts.o): Don't use
        -mcpu=bf532-any for the default multilib.

14 years agoFix toplevel config.status for HP-UX sed.
Ralf Wildenhues [Tue, 8 Sep 2009 17:55:50 +0000 (17:55 +0000)]
Fix toplevel config.status for HP-UX sed.

/:
* configure.ac: Do not use $extrasub for replacing @if/@endif
parts in Makefile; instead, use additional arguments to
AC_CONFIG_COMMANDS to do the replacement manually, with several
sed invocations, to avoid HP-UX sed command limits.
* configure: Regenerate.

14 years agoChangeLog:
Alexandre Oliva [Mon, 7 Sep 2009 00:44:08 +0000 (00:44 +0000)]
ChangeLog:
* configure.ac (with-build-config): Document.  Handle without.
Handle missing argument.
* configure: Rebuilt.
config/ChangeLog:
* bootstrap-debug-big.mk (STAGE2_CFLAGS): Drop -gtoggle.
* bootstrap-debug-lean.mk: Update comments.
(STAGE2_CFLAGS): Likewise.
(do-compare): Don't override.
ChangeLog:
* configure.ac (with-build-config): Document.  Handle without.
Handle missing argument.
* configure: Rebuilt.

14 years ago * bfd/coff-arm.c (coff_arm_relocate_section)
Nick Clifton [Sat, 5 Sep 2009 07:56:25 +0000 (07:56 +0000)]
    * bfd/coff-arm.c (coff_arm_relocate_section)
        (record_thumb_to_arm_glue, bfd_arm_process_before_allocation):
        Change member name class to symbol_class.
        * bfd/coff-i960.c (coff_i960_relocate_section) Rename variable
        class to class_val. Change member name class to symbol_class.
        * bfd/coff-rs6000.c (_bfd_xcoff_swap_aux_in)
        (_bfd_xcoff_swap_aux_out): Rename arguments class to in_class.
        * bfd/coff-stgo32.c (adjust_aux_in_post)
        (adjust_aux_out_pre, adjust_aux_out_post): Rename arguments class
        to in_class.
        * bfd/coff64-rs6000.c (_bfd_xcoff64_swap_aux_in)
        (_bfd_xcoff64_swap_aux_out): Rename arguments class to in_class.
        * bfd/coffcode.h (coff_pointerize_aux_hook): Rename variable class
        to n_sclass.
        * bfd/coffgen.c (coff_write_symbol, coff_pointerize_aux): Rename
        variables named class to n_sclass. (coff_write_symbols): Rename
        variable class to sym_class. (bfd_coff_set_symbol_class): Rename
        argument class to symbol_class.
        * bfd/cofflink.c (_bfd_coff_link_hash_newfunc)
        (coff_link_add_symbols, _bfd_coff_link_input_bfd)
        (_bfd_coff_write_global_sym, _bfd_coff_generic_relocate_section):
        Update code to use renamed members.
        * bfd/coffswap.h (coff_swap_aux_in, coff_swap_aux_out): Rename
        argument class to in_class.
        * bfd/libcoff-in.h (struct coff_link_hash_entry, struct
        coff_debug_merge_type) Renamed members class to symbol_class and
        type_class.
        * bfd/libcoff.h Regenerated.
        * bfd/peXXigen.c: (_bfd_XXi_swap_aux_in, _bfd_XXi_swap_aux_out):
        Rename argument class to in_class.
        * bfd/pef.c (bfd_pef_parse_imported_symbol): Update code to use
        renamed members.
        * bfd/pef.h (struct bfd_pef_imported_symbol): Changed name of
        member class to symbol_class.
        * binutils/ieee.c (ieee_read_cxx_misc, ieee_read_cxx_class)
        (ieee_read_reference): Rename variables named class to cxxclass.
        * gas/config/tc-arc.c (struct syntax_classes): Rename member class
        to s_class. (arc_extinst): Rename variable class to
        s_class. Update code to use renamed members.
        * gas/config/tc-mips.c (insn_uses_reg): Rename argument class to
        regclass.
        * gas/config/tc-ppc.c (ppc_csect, ppc_change_csect, ppc_function)
        (ppc_tc, ppc_is_toc_sym, ppc_symbol_new_hook, ppc_frob_label)
        (ppc_fix_adjustable, md_apply_fix): Update code to use renamed
        members.
        * gas/config/tc-ppc.h (struct ppc_tc_sy): Change name of member
        from class to symbol_class. (OBJ_COPY_SYMBOL_ATTRIBUTES): Update
        code to use renamed members.
        * gas/config/tc-score.c (s3_adjust_paritybit): Rename argument
        class to i_class.
        * gas/config/tc-score7.c (s7_adjust_paritybit): Rename argument
        class to i_class.
        * gprof/corefile.c (core_create_function_syms): Rename variable
        class to cxxclass.
        * include/coff/ti.h (GET_LNSZ_SIZE, PUT_LNSZ_SIZE): Updated name
        of class variable to in_class to match changes in function that
        use this macro.
        * include/opcode/ia64.h (struct ia64_operand): Renamed member
        class to op_class
        * ld/emultempl/elf32.em (gld${EMULATION_NAME}_load_symbols)
        (gld${EMULATION_NAME}_try_needed): Rename variable class to
        link_class
        * opcodes/ia64-dis.c (print_insn_ia64): Update code to use renamed
        member.
        * opcodes/m88k-dis.c (m88kdis): Rename variable class to in_class.
        * opcodes/tic80-opc.c (tic80_symbol_to_value)
        (tic80_value_to_symbol): Rename argument class to symbol_class.

14 years ago gas/
Jie Zhang [Fri, 4 Sep 2009 04:29:40 +0000 (04:29 +0000)]
  gas/
* config/bfin-parse.y (asm_1): Implement HLT instruction.
Fix comments for DBGA, DBGAH and DBGAL.
* config/tc-bfin.c (bfin_gen_pseudodbg_assert): Change according
to the new encoding of DBGA, DBGAH, and DBGAL.

include/
* opcode/bfin.h (PseudoDbg_Assert): Add bits_grp and mask_grp.
(PseudoDbg_Assert_grp_bits, PseudoDbg_Assert_grp_mask): Define.
(PseudoDbg_Assert_dbgop_bits, PseudoDbg_Assert_dbgop_mask,
PseudoDbg_Assert_dontcare_bits, PseudoDbg_Assert_dontcare_mask):
Adjust accordingly.
(init_PseudoDbg_Assert): Add PseudoDbg_Assert_grp_bits and
PseudoDbg_Assert_grp_mask.

opcodes/
* bfin-dis.c (decode_pseudodbg_assert_0): Change according
to the new encoding of DBGA, DBGAH, and DBGAL.
(_print_insn_bfin): Likewise.

14 years agoupdate copyright dates
Alan Modra [Thu, 3 Sep 2009 02:02:48 +0000 (02:02 +0000)]
update copyright dates

14 years agomerge from gcc
DJ Delorie [Wed, 2 Sep 2009 16:08:35 +0000 (16:08 +0000)]
merge from gcc

14 years agoupdate copyright dates
Alan Modra [Wed, 2 Sep 2009 07:21:40 +0000 (07:21 +0000)]
update copyright dates

14 years ago2009-09-02 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Wed, 2 Sep 2009 07:05:02 +0000 (07:05 +0000)]
2009-09-02  Paolo Bonzini  <bonzini@gnu.org>

* Makefile.tpl (AWK): Fix typo.
* Makefile.in: Regenerate.

2009-09-02  Paolo Bonzini  <bonzini@gnu.org>

* configure.ac: Detect awk and sed.
* Makefile.def (flags_to_pass): Add AWK and SED.
* Makefile.tpl (AWK, SED): New.
(BASE_FLAGS_TO_PASS): Add AWK and SED.
* configure: Regenerate.
* Makefile.in: Regenerate.

14 years agoAvoid multiple link time definitions of _printf() for C++
Keith Marshall [Tue, 1 Sep 2009 20:41:55 +0000 (20:41 +0000)]
Avoid multiple link time definitions of _printf() for C++

14 years ago* select.cc (peek_console): Always check window size when there is ANY keyboard
Christopher Faylor [Tue, 1 Sep 2009 14:25:10 +0000 (14:25 +0000)]
* select.cc (peek_console): Always check window size when there is ANY keyboard
activity.

14 years ago2009-09-01 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Tue, 1 Sep 2009 13:38:26 +0000 (13:38 +0000)]
2009-09-01  Tristan Gingold  <gingold@adacore.com>

* makefile.vms: Adjust include pathes.  Remove useless vaxctrl
library.
* configure.com: Ported to Itanium VMS.  Create build.com DCL script.
Make edit silent.

14 years agomerge from gcc
DJ Delorie [Mon, 31 Aug 2009 23:24:07 +0000 (23:24 +0000)]
merge from gcc

14 years ago2009-08-31 Takaki Makino <t@snowelm.com>
Jeff Johnston [Mon, 31 Aug 2009 22:12:41 +0000 (22:12 +0000)]
2009-08-31  Takaki Makino  <t@snowelm.com>

        * libm/machine/i386/f_pow.c(_f_pow): Alter ASM so it works with
        newer gcc versions.
        * libm/maachine/i386/f_powf.c(_f_powf): Ditto.

14 years ago * ltmain.sh (func_normal_abspath): New function.
Dave Korn [Mon, 31 Aug 2009 16:59:32 +0000 (16:59 +0000)]
* ltmain.sh (func_normal_abspath): New function.
(func_relative_path): Likewise.
(func_mode_help): Document new -bindir option for link mode.
(func_mode_link): Add new -bindir option, and use it to place
output DLL if specified.

14 years ago2009-08-30 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sun, 30 Aug 2009 23:20:52 +0000 (23:20 +0000)]
2009-08-30  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wtsapi32.h (WTSQuerySessionInformationA,
        WTSQuerySessionInformationW, WTSQuerySessionInformation, WTSFreeMemory):
        Moved to (_WIN32_WINNT >= 0x0500) guard.
        (thanks to Pierre Ossman)

14 years ago Updated sources to avoid using the identifier name "new", which is a
Nick Clifton [Sat, 29 Aug 2009 22:11:00 +0000 (22:11 +0000)]
    Updated sources to avoid using the identifier name "new", which is a
        keyword in c++.

        * bfd/aoutx.h (NAME (aout, make_empty_symbol)): Rename variable
        new to new_symbol.
        * bfd/coffgen.c (coff_make_empty_symbol)
        (coff_bfd_make_debug_symbol): Rename variable new to new_symbol.
        * bfd/cpu-ia64-opc.c (ext_reg, ins_imms_scaled): Rename variable
        new to new_insn.
        * bfd/doc/chew.c (newentry, add_intrinsic): Rename variable new to
        new_d.
        * bfd/ecoff.c (_bfd_ecoff_make_empty_symbol): Rename variable new
        to new_symbol.
        * bfd/elf32-m68k.c (elf_m68k_get_got_entry_type): Rename argument
        new to new_reloc.
        * bfd/hash.c (bfd_hash_lookup): Rename variable new to new_string.
        * bfd/ieee.c (ieee_make_empty_symbol): Rename variable new to
        new_symbol.
        * bfd/linker.c (bfd_new_link_order): Rename variable new to
        new_lo.
        * bfd/mach-o.c (bfd_mach_o_sizeof_headers): Rename variable new to
        symbol.
        * bfd/oasys.c (oasys_make_empty_symbol): Rename variable new to
        new_symbol_type.
        * bfd/pdp11.c (NAME (aout, make_empty_symbol)): Rename variable
        new to new_symbol_type.
        * bfd/plugin.c (bfd_plugin_make_empty_symbol): Rename variable new
        to new_symbol.
        * bfd/rs6000-core.c (CoreHdr, VmInfo): Rename union member new to
        new_dump.
        (read_hdr, rs6000coff_core_p)
        (rs6000coff_core_file_matches_executable_p)
        (rs6000coff_core_file_failing_command)
        (rs6000coff_core_file_failing_signal): Updated function to use new
        union member name.
        * bfd/som.c (som_make_empty_symbol): Rename variable new to
        new_symbol_type.
        * bfd/syms.c (_bfd_generic_make_empty_symbol): Rename variable new
        to new_symbol.
        * bfd/tekhex.c (first_phase, tekhex_make_empty_symbol): Rename
        variable new to new_symbol.
        * binutils/nlmconv.c (main): Rename variable new to new_name.
        * gas/config/tc-arm.c (insert_reg_alias): Rename variable new to
        new_reg.
        * gas/config/tc-dlx.c (parse_operand): Rename variable new to
        new_pos.
        * gas/config/tc-ia64.c (ia64_gen_real_reloc_type): Rename variable
        new to newr.
        * gas/config/tc-mcore.c (parse_exp, parse_imm): Rename variable
        new to new_pointer.
        * gas/config/tc-microblaze.c (parse_exp, parse_imm, check_got):
        Change name from new to new_pointer.
        * gas/config/tc-or32.c (parse_operand): Rename variable new to
        new_pointer.
        * gas/config/tc-pdp11.c (md_assemble): Rename variable new to
        new_pointer.
        * gas/config/tc-pj.c (alias): Change argument new to new_name.
        * gas/config/tc-score.c (s3_build_score_ops_hsh): Rename variable
        new to new_opcode. (s3_build_dependency_insn_hsh) Rename variable
        new to new_i2n. (s3_convert): Rename variables old and new to
        r_old and r_new.
        * gas/config/tc-score7.c (s7_build_score_ops_hsh): Rename variable
        new to new_opcode. (s7_build_dependency_insn_hsh): Rename variable
        new to new_i2d. (s7_b32_relax_to_b16, s7_convert_frag): Rename
        variables old and new to r_old and r_new.
        * gas/config/tc-sh.c (parse_exp): Rename variable new to
        new_pointer.
        * gas/config/tc-sh64.c (shmedia_parse_exp): Rename variable new to
        new_pointer.
        * gas/config/tc-tic4x.c (tic4x_operand_parse): Rename variable new
        to new_pointer.
        * gas/config/tc-z8k.c (parse_exp): Rename variable new to
        new_pointer.
        * gas/listing.c (listing_newline): Rename variable new to new_i.
        * ld/ldexp.c (exp_intop, exp_bigintop, exp_relop, exp_binop)
        (exp_trinop, exp_unop, exp_nameop, exp_assop): Rename variable new
        to new_e.
        * ld/ldfile.c (ldfile_add_library_path): Rename variable new to
        new_dirs. (ldfile_add_arch): Rename variable new to new_arch.
        * ld/ldlang.c (new_statement, lang_final, lang_add_wild)
        (lang_target, lang_add_fill, lang_add_data, lang_add_assignment)
        (lang_add_insert): Rename variable new to new_stmt. (new_afile):
        Added missing cast. (lang_memory_region_lookup): Rename variable
        new to new_region. (init_os): Rename variable new to
        new_userdata. (lang_add_section): Rename variable new to
        new_section. (ldlang_add_undef): Rename variable new to
        new_undef. (realsymbol): Rename variable new to new_name.
        * opcodes/z8kgen.c (internal, gas): Rename variable new to new_op.

        Updated sources to avoid using the identifier name "template",
        which is a keyword in c++.

        * bfd/elf32-arm.c (struct stub_def): Rename member template to
        template_sequence. (arm_build_one_stub,
        find_stub_size_and_template, arm_size_one_stub, arm_map_one_stub):
        Rename variable template to template_sequence.
        * bfd/elfxx-ia64.c (elfNN_ia64_relax_br, elfNN_ia64_relax_brl):
        Rename variable template to template_val.
        * gas/config/tc-arm.c (struct asm_cond, struct asm_psr, struct
        asm_barrier_opt): Change member template to
        template_name. (md_begin): Update code to reflect new member
        names.
        * gas/config/tc-i386.c (struct templates, struct _i386_insn)
        (match_template, cpu_flags_match, match_reg_size, match_mem_size)
        (operand_size_match, md_begin, i386_print_statistics, pi)
        (build_vex_prefix, md_assemble, parse_insn, optimize_imm)
        (optimize_disp): Updated code to use new names. (parse_insn):
        Added casts.
        * gas/config/tc-ia64.c (dot_template, emit_one_bundle): Updated
        code to use new names.
        * gas/config/tc-score.c (struct s3_asm_opcode): Renamed member
        template to template_name. (s3_parse_16_32_inst, s3_parse_48_inst,
        s3_do_macro_ldst_label, s3_build_score_ops_hsh): Update code to
        use new names.
        * gas/config/tc-score7.c (struct s7_asm_opcode): Renamed member
        template to template_name. (s7_parse_16_32_inst,
        s7_do_macro_ldst_label, s7_build_score_ops_hsh): Update code to
        use new names.
        * gas/config/tc-tic30.c (md_begin, struct tic30_insn)
        (md_assemble): Update code to use new names.
        * gas/config/tc-tic54x.c (struct _tic54x_insn, md_begin)
        (optimize_insn, tic54x_parse_insn, next_line_shows_parallel):
        Update code to use new names.
        * include/opcode/tic30.h (template): Rename type template to
        insn_template. Updated code to use new name.
        * include/opcode/tic54x.h (template): Rename type template to
        insn_template.
        * opcodes/cris-dis.c (bytes_to_skip): Update code to use new name.
        * opcodes/i386-dis.c (putop): Update code to use new name.
        * opcodes/i386-gen.c (process_i386_opcodes): Update code to use
        new name.
        * opcodes/i386-opc.h (struct template): Rename struct template to
        insn_template. Update code accordingly.
        * opcodes/i386-tbl.h (i386_optab): Update type to use new name.
        * opcodes/ia64-dis.c (print_insn_ia64): Rename variable template
        to template_val.
        * opcodes/tic30-dis.c (struct instruction, get_tic30_instruction):
        Update code to use new name.
        * opcodes/tic54x-dis.c (has_lkaddr, get_insn_size)
        (print_parallel_instruction, print_insn_tic54x, tic54x_get_insn):
        Update code to use new name.
        * opcodes/tic54x-opc.c (tic54x_unknown_opcode, tic54x_optab):
        Update type to new name.

14 years ago * path.h (INTERIX_SYMLINK_COOKIE): Define.
Corinna Vinschen [Wed, 26 Aug 2009 20:32:35 +0000 (20:32 +0000)]
* path.h (INTERIX_SYMLINK_COOKIE): Define.
* path.cc (symlink_info::check_sysfile): Read Interix symlinks as well.

14 years ago * fhandler.cc (fhandler_base::open): Only set R/O attribute if ACLs
Corinna Vinschen [Wed, 26 Aug 2009 19:37:34 +0000 (19:37 +0000)]
* fhandler.cc (fhandler_base::open): Only set R/O attribute if ACLs
are not used.

14 years ago * new-features.sgml (ov-new1.7-posix): Add "KOI8-R" and "KOI8-U"
Corinna Vinschen [Wed, 26 Aug 2009 08:15:49 +0000 (08:15 +0000)]
* new-features.sgml (ov-new1.7-posix): Add "KOI8-R" and "KOI8-U"
charsets.

14 years ago2009-08-25 Andy Koppe <andy.koppe@gmail.com>
Jeff Johnston [Tue, 25 Aug 2009 18:47:24 +0000 (18:47 +0000)]
2009-08-25  Andy Koppe  <andy.koppe@gmail.com>

        * libc/stdlib/sb_charsets.c (__micro_atoi): Allow five-digit codepage
        numbers.
        * libc/locale/locale.c (loadlocale): Set MB_CUR_MAX to 1 for KOI8
        charsets.
        * libc/stdlib/local.h (__cp_conv): Remove incorrect number of codepages.

14 years ago * mount.cc (fs_info::update): Add comment.
Corinna Vinschen [Tue, 25 Aug 2009 11:27:03 +0000 (11:27 +0000)]
* mount.cc (fs_info::update): Add comment.
* path.cc (symlink_info::check_reparse_point): Return -1 for volume
mount points.  Explain why.
(symlink_info::check): Call fs.update again for volume mount points.
Explain why.

14 years ago2009-08-24 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston [Mon, 24 Aug 2009 22:11:11 +0000 (22:11 +0000)]
2009-08-24  Corinna Vinschen  <corinna@vinschen.de>

        * libc/locale/locale.c: Update documentation.
        (loadlocale): Map "KOI8-R" and "KOI8-U" to CP20866 and CP21866.

2009-08-24  Andy Koppe  <andy.koppe@gmail.com>

        * libc/stdlib/sb_charsets.c (__cp_conv): Add KOI8-R (Russian, CP20866)
        and KOI8-U (Ukrainian, CP21866) to Windows codepage conversion tables.
        * libc/ctype/ctype_cp.h (__ctype_cp): Likewise for ctype tables.

14 years agoSync from GCC: Update AC_PREREQ entries to 2.64.
Ralf Wildenhues [Mon, 24 Aug 2009 19:12:54 +0000 (19:12 +0000)]
Sync from GCC: Update AC_PREREQ entries to 2.64.

/:
* configure.ac (AC_PREREQ): Bump to 2.64.

intl/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libdecnumber/:
* configure.ac (AC_PREREQ): Bump to 2.64.

libiberty/:
* configure.ac (AC_PREREQ): Bump to 2.64.

14 years ago2009-08-24 Andy Koppe <andy.koppe@gmail.com>
Jeff Johnston [Mon, 24 Aug 2009 16:59:35 +0000 (16:59 +0000)]
2009-08-24  Andy Koppe  <andy.koppe@gmail.com>

        * libc/ctype/iswspace.c (iswspace): Include "non-breaking
        space" (U+00A0).
        * libc/ctype/iswblank.c (iswblank): Likewise.

14 years ago * globals.cc (ro_u_volume): New R/O unicode string.
Corinna Vinschen [Mon, 24 Aug 2009 11:14:30 +0000 (11:14 +0000)]
* globals.cc (ro_u_volume): New R/O unicode string.
* path.cc (symlink_info::check_reparse_point): Fix check for volume
mount points to work on Vista and later as well.

14 years agoCleanups after the update to Autoconf 2.64, Automake 1.11.
Ralf Wildenhues [Sat, 22 Aug 2009 17:08:06 +0000 (17:08 +0000)]
Cleanups after the update to Autoconf 2.64, Automake 1.11.

/:
* README-maintainer-mode: Point directly to upstream locations
for autoconf, automake, libtool, gettext, instead of copies on
sources.redhat.com.  Document required versions.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gdb/:
* CONTRIBUTE: Bump documented Autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gdb/doc/:
* gdbint.texinfo (Releasing GDB): Point to
README-maintainer-mode file for required autoconf version.
* configure.ac: Do not substitute datarootdir, htmldir,
pdfdir, docdir.  Do not process --with-datarootdir,
--with-htmldir, --with-pdfdir, --with-docdir.
* configure: Regenerate.

gprof/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.

opcodes/:
* Makefile.am (install-pdf, install-html): Remove.
* Makefile.in: Regenerate.

gas/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.

ld/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(install-pdf-recursive, html__strip_dir, install-html)
(install-html-am, install-html-recursive): Remove.
* Makefile.in: Regenerate.

binutils/:
* Makefile.am (install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.
* doc/Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* doc/Makefile.in: Regenerate.

bfd/:
* Makefile.am (datarootdir, docdir, htmldor, pdfdir)
(install-pdf, install-pdf-recursive, install-html)
(install-html-recursive): Remove.
* Makefile.in: Regenerate.

bfd/doc/:
* Makefile.am (pdf__strip_dir, install-pdf, install-pdf-am)
(html__strip_dir, install-html, install-html-am): Remove.
* Makefile.in: Regenerate.

14 years agoRegenerate tree using Autoconf 2.64 and Automake 1.11.
Ralf Wildenhues [Sat, 22 Aug 2009 16:56:38 +0000 (16:56 +0000)]
Regenerate tree using Autoconf 2.64 and Automake 1.11.

config/:
* override.m4 (_GCC_AUTOCONF_VERSION): Bump to 2.64.

/:
* configure: Regenerate.

etc/:
* configure: Regenerate.

sim/common/:
* config.in: Regenerate.
* configure: Likewise.

sim/iq2000/:
* config.in: Regenerate.
* configure: Likewise.

sim/d10v/:
* config.in: Regenerate.
* configure: Likewise.

sim/igen/:
* config.in: Regenerate.
* configure: Likewise.

sim/m32r/:
* config.in: Regenerate.
* configure: Likewise.

sim/frv/:
* config.in: Regenerate.
* configure: Likewise.

sim/:
* avr/config.in: Regenerate.
* avr/configure: Likewise.
* configure: Likewise.
* cris/config.in: Likewise.
* cris/configure: Likewise.

sim/h8300/:
* config.in: Regenerate.
* configure: Likewise.

sim/mn10300/:
* config.in: Regenerate.
* configure: Likewise.

sim/ppc/:
* config.in: Regenerate.
* configure: Likewise.

sim/erc32/:
* config.in: Regenerate.
* configure: Likewise.

sim/arm/:
* config.in: Regenerate.
* configure: Likewise.

sim/m68hc11/:
* config.in: Regenerate.
* configure: Likewise.

sim/lm32/:
* config.in: Regenerate.
* configure: Likewise.

sim/sh64/:
* config.in: Regenerate.
* configure: Likewise.

sim/v850/:
* config.in: Regenerate.
* configure: Likewise.

sim/cr16/:
* config.in: Regenerate.
* configure: Likewise.

sim/moxie/:
* config.in: Regenerate.
* configure: Likewise.

sim/m32c/:
* config.in: Regenerate.
* configure: Likewise.

sim/mips/:
* config.in: Regenerate.
* configure: Likewise.

sim/mcore/:
* config.in: Regenerate.
* configure: Likewise.

sim/testsuite/d10v-elf/:
* configure: Regenerate.

sim/testsuite/:
* configure: Regenerate.

sim/testsuite/frv-elf/:
* configure: Regenerate.

sim/testsuite/m32r-elf/:
* configure: Regenerate.

sim/testsuite/mips64el-elf/:
* configure: Regenerate.

sim/sh/:
* config.in: Regenerate.
* configure: Likewise.

gold/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* testsuite/Makefile.in: Likewise.

gprof/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* configure: Likewise.
* gconfig.in: Likewise.

opcodes/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

gas/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.

ld/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

gdb/:
* aclocal.m4: Regenerate.
* config.in: Likewise.
* configure: Likewise.
* gnulib/Makefile.in: Likewise.

gdb/doc/:
* configure: Regenerate.

gdb/gdbserver/:
* aclocal.m4: Regenerate.
* config.in: Likewise.
* configure: Likewise.

gdb/testsuite/:
* configure: Regenerate.
* gdb.hp/configure: Likewise.
* gdb.hp/gdb.aCC/configure: Likewise.
* gdb.hp/gdb.base-hp/configure: Likewise.
* gdb.hp/gdb.compat/configure: Likewise.
* gdb.hp/gdb.defects/configure: Likewise.
* gdb.hp/gdb.objdbg/configure: Likewise.
* gdb.stabs/configure: Likewise.

binutils/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.
* doc/Makefile.in: Likewise.

bfd/:
* Makefile.in: Regenerate.
* aclocal.m4: Likewise.
* config.in: Likewise.
* configure: Likewise.

bfd/doc/:
* Makefile.in: Regenerate.

readline/:
* configure: Regenerate.

readline/examples/rlfe/:
* configure: Regenerate.

14 years ago* cygwin/strfuncs.cc (__set_charset_from_codepage): Add codepages 20866
Christopher Faylor [Sat, 22 Aug 2009 15:01:03 +0000 (15:01 +0000)]
* cygwin/strfuncs.cc (__set_charset_from_codepage): Add codepages 20866
(KOI8-R) and 21866 (KOI8-U).

* doc/setup2.sgml (setup-locale-charsetlist): Add KOI8-R and KOI8-U to list of
supported charsets.

14 years agoUpdate automake-provided files in the toplevel.
Ralf Wildenhues [Sat, 22 Aug 2009 11:48:33 +0000 (11:48 +0000)]
Update automake-provided files in the toplevel.

/:
* compile: Sync from Automake 1.11.
* depcomp: Likewise.
* install-sh: Likewise.
* missing: Likewise.
* mkinstalldirs: Likewise.
* ylwrap: Likewise.

14 years ago * setup2.sgml (setup-locale-charsetlist): Add description of
Corinna Vinschen [Sat, 22 Aug 2009 08:44:04 +0000 (08:44 +0000)]
* setup2.sgml (setup-locale-charsetlist): Add description of
case-insensitivity of charsets.  Fix a typo.  Add "UTF8" to the list.

14 years ago* dll_init.h (has_dtors): New flag.
Christopher Faylor [Fri, 21 Aug 2009 21:32:06 +0000 (21:32 +0000)]
* dll_init.h (has_dtors): New flag.
(run_dtors): New wrapper function which avoids calling dtors more than once.
* dll_init.cc (dll_global_dtors): Use dll.run_dtors wrapper.
(dll_list::detach): Ditto.
(dll_list::alloc): Set has_dtors flag.

14 years ago* fcntl.cc (fcntl64): Detect negative fd as error.
Christopher Faylor [Fri, 21 Aug 2009 21:19:45 +0000 (21:19 +0000)]
* fcntl.cc (fcntl64): Detect negative fd as error.

14 years ago * libc/locale/locale.c (loadlocale): Throughout check charset string
Corinna Vinschen [Fri, 21 Aug 2009 20:56:13 +0000 (20:56 +0000)]
* libc/locale/locale.c (loadlocale): Throughout check charset string
case insensitive and store internal charset string uppercased.  Allow
"UTF8" additionally to "UTF-8".  Add this change to documentation.

14 years agoiconv: match SUSv3 prototype
Eric Blake [Fri, 21 Aug 2009 20:27:10 +0000 (20:27 +0000)]
iconv: match SUSv3 prototype

* libc/include/iconv.h (iconv): Match POSIX prototype.
* libc/iconv/lib/iconv.c (iconv): Likewise.

14 years ago2009-08-21 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Fri, 21 Aug 2009 20:25:28 +0000 (20:25 +0000)]
2009-08-21  Craig Howland <howland@LGSInnovations.com>

        * libm/common/s_remquo.c (remquo):  Fix sign of quotient when |x|==|y|.
        * libc/stdio/mktemp.c:  Add #include <stdlib.h> for function prototypes.

14 years ago * mmap.cc (mmap64): Allocate fh_disk_file on cygheap. Delete
Corinna Vinschen [Fri, 21 Aug 2009 08:47:59 +0000 (08:47 +0000)]
* mmap.cc (mmap64): Allocate fh_disk_file on cygheap.  Delete
explicitely before returning.

14 years agohppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.
Nick Hudson [Thu, 20 Aug 2009 20:31:27 +0000 (20:31 +0000)]
hppa.h (pa_opcodes): Add a pa10 bb without FLAG_STRICT.

14 years ago * dtable.cc (build_fh_dev): Take additional bool parameter indicating
Corinna Vinschen [Thu, 20 Aug 2009 08:34:21 +0000 (08:34 +0000)]
* dtable.cc (build_fh_dev): Take additional bool parameter indicating
whether set_name should be called or not.
(dtable::dup_worker): Call build_fh_pc with new second parameter set
to false.  Explain why.  If fhandler's dup failed, delete rather than
cfree newfh and set newfh to NULL to indicate failure correctly.
* dtable.h (build_fh_pc): Change declaration according to above change.
Default set_name parameter to true.
* mmap.cc (mmap_record::free_fh): Delete rather than cfree fh.

14 years agoDisable option checking in the toplevel, avoid 2.64 fopen glitch.
Ralf Wildenhues [Wed, 19 Aug 2009 22:21:10 +0000 (22:21 +0000)]
Disable option checking in the toplevel, avoid 2.64 fopen glitch.

/:
* configure.ac: Call AC_DISABLE_OPTION_CHECKING.
(baseargs): Add --disable-option-checking.
* configure: Regenerate.

config/:
* override.m4 (AC_DISABLE_OPTION_CHECKING): Define to be
empty if not defined, to avoid error with 2.59.
(_AC_LANG_IO_PROGRAM): When the Autoconf version is exactly
2.64, avoid per-language instances to drop fopen from test
program.

14 years ago Fix toplevel target deps.
Ralf Wildenhues [Wed, 19 Aug 2009 21:59:11 +0000 (21:59 +0000)]
Fix toplevel target deps.

/:
* Makefile.def (configure-target-libiberty): Depend on
all-binutils and all-ld.
(configure-target-newlib): Likewise.
* Makefile.in: Regenerate.

14 years agoall-local should depend upon crt0, not all.
Ralf Wildenhues [Wed, 19 Aug 2009 20:04:45 +0000 (20:04 +0000)]
all-local should depend upon crt0, not all.

* iconvdata/Makefile.am (all): Remove.
* libc/sys/a29khif/Makefile.am (all-am): Rename from ...
(all): ... this.
* libc/sys/arc/Makefile.am: Likewise.
* libc/sys/arm/Makefile.am: Likewise.
* libc/sys/d10v/Makefile.am: Likewise.
* libc/sys/decstation/Makefile.am: Likewise.
* libc/sys/h8300hms/Makefile.am: Likewise.
* libc/sys/h8500hms/Makefile.am: Likewise.
* libc/sys/linux/Makefile.am: Likewise.
* libc/sys/linux/machine/i386/Makefile.am: Likewise.
* libc/sys/m88kbug/Makefile.am: Likewise.
* libc/sys/mmixware/Makefile.am: Likewise.
* libc/sys/netware/Makefile.am: Likewise.
* libc/sys/rdos/Makefile.am: Likewise.
* libc/sys/rtems/Makefile.am: Likewise.
* libc/sys/sh/Makefile.am: Likewise.
* libc/sys/sparc64/Makefile.am: Likewise.
* libc/sys/sun4/Makefile.am: Likewise.
* libc/sys/sysmec/Makefile.am: Likewise.
* libc/sys/sysnec810/Makefile.am: Likewise.
* libc/sys/sysnecv850/Makefile.am: Likewise.
* libc/sys/sysvi386/Makefile.am: Likewise.
* libc/sys/sysvnecv70/Makefile.am: Likewise.
* libc/sys/tic80/Makefile.am: Likewise.
* libc/sys/w65/Makefile.am: Likewise.
* libc/sys/z8ksim/Makefile.am: Likewise.
* iconvdata/Makefile.in: Regenerate.
* libc/sys/a29khif/Makefile.in: Likewise.
* libc/sys/arc/Makefile.in: Likewise.
* libc/sys/arm/Makefile.in: Likewise.
* libc/sys/d10v/Makefile.in: Likewise.
* libc/sys/decstation/Makefile.in: Likewise.
* libc/sys/h8300hms/Makefile.in: Likewise.
* libc/sys/h8500hms/Makefile.in: Likewise.
* libc/sys/linux/Makefile.in: Likewise.
* libc/sys/linux/machine/i386/Makefile.in: Likewise.
* libc/sys/m88kbug/Makefile.in: Likewise.
* libc/sys/mmixware/Makefile.in: Likewise.
* libc/sys/netware/Makefile.in: Likewise.
* libc/sys/rdos/Makefile.in: Likewise.
* libc/sys/rtems/Makefile.in: Likewise.
* libc/sys/sh/Makefile.in: Likewise.
* libc/sys/sparc64/Makefile.in: Likewise.
* libc/sys/sun4/Makefile.in: Likewise.
* libc/sys/sysmec/Makefile.in: Likewise.
* libc/sys/sysnec810/Makefile.in: Likewise.
* libc/sys/sysnecv850/Makefile.in: Likewise.
* libc/sys/sysvi386/Makefile.in: Likewise.
* libc/sys/sysvnecv70/Makefile.in: Likewise.
* libc/sys/tic80/Makefile.in: Likewise.
* libc/sys/w65/Makefile.in: Likewise.
* libc/sys/z8ksim/Makefile.in: Likewise.

14 years ago * configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
Ralf Wildenhues [Wed, 19 Aug 2009 19:56:05 +0000 (19:56 +0000)]
* configure.in (newlib_cv_ldbl_eq_dbl): Rename cache variable
from newlib_ldbl_eq_dbl.
* configure: Regenerate.

14 years agoSync toplevel with GCC, merge.
Ralf Wildenhues [Wed, 19 Aug 2009 19:49:26 +0000 (19:49 +0000)]
Sync toplevel with GCC, merge.

/:
2009-07-31  Christian Bruel  <christian.bruel@st.com>

* configure.ac (sh*-*-elf): Don't add target-libgloss to noconfigdirs.
* configure: Regenerate.

2009-07-06  Ian Lance Taylor  <iant@google.com>

* configure.ac: Add missing comma in AC_ARG_WITH(boot-libs).
* configure: Rebuild.

2009-06-26  Steve Ellcey  <sje@cup.hp.com>

PR bootstrap/40338
* configure.ac (comparestring): Create new variable.
* Makefile.tpl (comparestring): Use to skip some comparisions.
* configure: Regenerate.
* Makefile.in: Regenerate.

2009-06-23  Ian Lance Taylor  <iant@google.com>

* configure.ac: Add --enable-build-with-cxx.  When set, add c++ to
boot_languages.  Only bootstrap target libraries listed in
target_libs for some boot language.  Add --with-stage1-ldflags,
--with-stage1-libs, --with-boot-ldflags, --with-boot-libs.  Remove
with_host_libstdcxx from ppllibs.  Only add -fkeep-inline-functions
if not building with C++.
* Makefile.def: For target_module libstdc++-v3, set bootstrap=true.
* Makefile.tpl (STAGE1_LDFLAGS, STAGE1_LIBS): New variables.
(POSTSTAGE1_LDFLAGS, POSTSTAGE1_LIBS): New variables.
(HOST_EXPORTS): Add STAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
(POSTSTAGE1_HOST_EXPORTS): Set CXX and CXX_FOR_BUILD.  Add
POSTSTAGE1_LDFLAGS to LDFLAGS.  Export HOST_LIBS.
(POSTSTAGE1_FLAGS_TO_PASS): Likewise.
* configure, Makefile.in: Rebuild.

2009-06-08  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* configure.ac: Detect MPC in default directory.
* configure: Regenerate.

2009-06-02  Richard Sandiford  <r.sandiford@uk.ibm.com>

* configure.ac (powerpc-*-aix*, rs6000-*-aix*): Add target-newlib
to noconfdirs.
* configure: Regenerate.

2009-05-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

* Makefile.def: Add MPC support and dependencies.
* configure.ac: Likewise.  Reorganize GMP/MPFR checks.

* Makefile.in, configure: Regenerate.

2009-05-24  Nicolas Roche  <roche@adacore.com>

* Makefile.tpl (compare-target): Skip ./ada/*tools directories.
* Makefile.in: Regenerate.

2009-05-21  Dave Korn  <dave.korn.cygwin@gmail.com>

* configure.ac (cygwin noconfigdirs):  Remove libgcj.
* configure:  Regenerate.

2009-05-07  Dave Korn  <dave.korn.cygwin@gmail.com>

* configure.ac ($with_ppl):  Default to no if not supplied.
($with_cloog):  Likewise.
configure:  Regenerate.

2009-04-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>

PR bootstrap/39739
* configure.ac (extra_mpfr_configure_flags): Set and AC_SUBST.
* Makefile.def (module=mpfr): Use extra_mpfr_configure_flags.

* configure, Makefile.in: Regenerate.

2009-04-14  Jakub Jelinek  <jakub@redhat.com>

* configure.ac: Change copyright header to refer to version
3 of the GNU General Public License and to point readers at the
COPYING3 file and the FSF's license web page.
* Makefile.def: Likewise.
* Makefile.tpl: Likewise.
* Makefile.in: Regenerate.

2009-04-09  Jack Howarth  <howarth@bromo.med.uc.edu>

* configure.ac: Restore match for darwin9 or later. Use double
brackets since regeneration eats one pair.
* configure: Regenerate.

14 years agoFix 'make info' to work again.
Eric Blake [Wed, 19 Aug 2009 12:38:09 +0000 (12:38 +0000)]
Fix 'make info' to work again.

* libc/Makefile.am (SUBDEFS): Correctly build popen docs.
* libc/libc.texinfo (Top): Add posix node to menu.

14 years ago* MAINTAINERS: Perform some obvious fixups.
Christopher Faylor [Wed, 19 Aug 2009 02:53:50 +0000 (02:53 +0000)]
* MAINTAINERS: Perform some obvious fixups.

14 years ago2009-08-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 18 Aug 2009 21:48:05 +0000 (21:48 +0000)]
2009-08-18  Jeff Johnston  <jjohnstn@redhat.com>

        * newlib.hin: Add comment regarding file being manually edited.
        * Makefile.am: Add no-op rule for newlib.hin.
        * Makefile.in: Regenerated.

14 years ago2009-08-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Tue, 18 Aug 2009 19:57:59 +0000 (19:57 +0000)]
2009-08-18  Jeff Johnston  <jjohnstn@redhat.com>

        * acconfig.h: Add templates for _HAVE_LONG_DOUBLE and _LDBL_EQ_DBL.

14 years ago2009-08-18 Eric Blake <ebb9@byu.net>
Jeff Johnston [Tue, 18 Aug 2009 18:34:57 +0000 (18:34 +0000)]
2009-08-18  Eric Blake  <ebb9@byu.net>

        * libc/posix/popen.c (popen): Fix documented prototype.

        Improve popen compatibility with glibc.
        * libc/posix/popen.c (popen): The 2006-08-22 change to use
        FD_CLOEXEC disagrees with other implementations; instead, use
        pidlist to work even when fcntl is not available.  Meanwhile,
        support the 'e' modifier to set CLOEXEC, as in glibc.  Drop
        cygwin-specific code, now that cygwin has its own version.
        * libc/posix/Makefile.am (CHEWOUT_FILES): Document popen.
        * libc/posix/posix.tex: New file.

14 years ago* libc/posix/popen.c (popen): Fix documented prototype.
Eric Blake [Tue, 18 Aug 2009 17:07:55 +0000 (17:07 +0000)]
* libc/posix/popen.c (popen): Fix documented prototype.

14 years agoImprove popen compatibility with glibc.
Eric Blake [Tue, 18 Aug 2009 16:43:21 +0000 (16:43 +0000)]
Improve popen compatibility with glibc.

* libc/posix/popen.c (popen): The 2006-08-22 change to use
FD_CLOEXEC disagrees with other implementations; instead, use
pidlist to work even when fcntl is not available.  Meanwhile,
support the 'e' modifier to set CLOEXEC, as in glibc.  Drop
cygwin-specific code, now that cygwin has its own version.
* libc/posix/Makefile.am (CHEWOUT_FILES): Document popen.
* libc/posix/posix.tex: New file.

14 years ago2009-08-17 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Tue, 18 Aug 2009 16:03:06 +0000 (16:03 +0000)]
2009-08-17  Craig Howland <howland@LGSInnovations.com>

        * libc/string/wcsncpy.c (wcsncpy):  Re-write function based on small
        version of strncpy() (fixing two bugs).

14 years ago* dtable.cc (dtable::fixup_after_exec): Close any popen'ed file handles here.
Christopher Faylor [Tue, 18 Aug 2009 15:21:47 +0000 (15:21 +0000)]
* dtable.cc (dtable::fixup_after_exec): Close any popen'ed file handles here.
* fhandler.h (fhandler_*::ispipe): New function.
(fhandler_base::get_popen_pid): Define virtual function.
(fhandler_*::isdevice): Make const.
(fhandler_*::isfifo): Ditto.

14 years ago * Makefile.in (CXXFLAGS): Allow override.
Corinna Vinschen [Tue, 18 Aug 2009 08:37:23 +0000 (08:37 +0000)]
* Makefile.in (CXXFLAGS): Allow override.

14 years ago* syscalls.cc (popen): Reorganize slightly for clarity. Fix a comment.
Christopher Faylor [Tue, 18 Aug 2009 01:51:35 +0000 (01:51 +0000)]
* syscalls.cc (popen): Reorganize slightly for clarity.  Fix a comment.

14 years ago* syscalls.cc (popen): Rewrite to accommodate situations where stdin, stdout,
Christopher Faylor [Tue, 18 Aug 2009 01:40:46 +0000 (01:40 +0000)]
* syscalls.cc (popen): Rewrite to accommodate situations where stdin, stdout,
or stderr are closed.

14 years ago* pipe.cc (fhandler_pipe::create_selectable): Add -pipe to default pipe names.
Christopher Faylor [Mon, 17 Aug 2009 12:45:51 +0000 (12:45 +0000)]
* pipe.cc (fhandler_pipe::create_selectable): Add -pipe to default pipe names.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Use bool/true/false for
what is actually a boolean variable.

14 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Mon, 17 Aug 2009 04:10:29 +0000 (04:10 +0000)]
* config.sub, config.guess: Update from upstream sources.

14 years agoSync config/ from GCC:
Ralf Wildenhues [Sun, 16 Aug 2009 12:49:48 +0000 (12:49 +0000)]
Sync config/ from GCC:

--- config/ChangeLog
+++ config/ChangeLog
@@ -19,6 +19,10 @@
  * tls.m4 (GCC_CHECK_TLS): Also test TLS in a shared library when
  cross-compiling.

+2009-06-25  Olivier Hainque  <hainque@adacore.com>
+
+ * config/mh-ppc-aix (BOOT_ADAFLAGS): Remove -mminimal-toc.
+
 2009-05-26  Rafael Avila de Espindola  <espindola@google.com>

  * plugins.m4: New.
@@ -39,6 +43,27 @@
  "# no Tcl configs found".
  (SC_LOAD_TKCONFIG): Similarily for TK_BIN_DIR.

+2009-04-09  Jakub Jelinek  <jakub@redhat.com>
+
+ * lead-dot.m4: Change copyright header to refer to version
+ 3 of the GNU General Public License and to point readers at the
+ COPYING3 file and the FSF's license web page.
+ * warnings.m4: Likewise.
+
+2009-02-11  Kai Tietz  <kai.tietz@onevision.com>
+
+ * mh-cygwin (LDFLAGS): Add linker option to increase stack limit
+ up to 8MB.
+
+2009-01-23  Jie Zhang  <jie.zhang@analog.com>
+
+ * tls.m4 (GCC_CHECK_EMUTLS): Define.
+
+2008-12-21  Andrew Pinski  <pinskia@gmail.com>
+
+ PR target/38300
+ * unwind_ipinfo.m4: Darwin before 9 does not have _Unwind_GetIPInfo.
+
 2008-11-21  Kai Tietz  <kai.tietz@onevision.com>

  Fix PR/25502

14 years agoSync include/ChangeLog-9103 from GCC to fix invalid UTF-8.
Ralf Wildenhues [Sun, 16 Aug 2009 12:06:21 +0000 (12:06 +0000)]
Sync include/ChangeLog-9103 from GCC to fix invalid UTF-8.

14 years ago2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 15 Aug 2009 02:50:19 +0000 (02:50 +0000)]
2009-08-14 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.16.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix length
Corinna Vinschen [Fri, 14 Aug 2009 18:27:18 +0000 (18:27 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Fix length
check for ".." dir.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir): Change comment
Corinna Vinschen [Fri, 14 Aug 2009 14:10:31 +0000 (14:10 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir): Change comment
to be fair.

14 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Remove
Corinna Vinschen [Fri, 14 Aug 2009 13:39:07 +0000 (13:39 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Remove
ill-advised attempt to optimize "." and ".." handling by checking for
specific position in directory listing.  Explain why.
(fhandler_disk_file.cc (fhandler_disk_file::readdir): Ditto.
Special-case opening file on NFS to fetch inode number and add longish
comment to explain why.

14 years ago * (fhandler_socket::getsockname): Fix length returned for unbound
Corinna Vinschen [Fri, 14 Aug 2009 06:58:44 +0000 (06:58 +0000)]
* (fhandler_socket::getsockname): Fix length returned for unbound
AF_LOCAL sockets.
(fhandler_socket::getpeername): Ditto.
* net.cc (socketpair): Don't set sun_path and peer_sun_path to
make sure getsockname and getpeername return the correct values
for AF_LOCAL sockets.

14 years ago * fhandler_socket.cc (fhandler_socket::accept): Use sizeof rather
Corinna Vinschen [Thu, 13 Aug 2009 15:44:29 +0000 (15:44 +0000)]
* fhandler_socket.cc (fhandler_socket::accept): Use sizeof rather
then constant size.  Truncate returned data, but return full address
length as per POSIX.
(fhandler_socket::getsockname): Truncate returned data, but return full
address length as per POSIX.
(fhandler_socket::getpeername): Ditto.

14 years ago * fhandler.h (class fhandler_socket): Add peer_sun_path member.
Corinna Vinschen [Thu, 13 Aug 2009 10:26:42 +0000 (10:26 +0000)]
* fhandler.h (class fhandler_socket): Add peer_sun_path member.
(fhandler_socket::set_peer_sun_path): New method.
(fhandler_socket::get_peer_sun_path): New method.
* fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize
peer_sun_path to NULL.
(fhandler_socket::~fhandler_socket): Free peer_sun_path if necessary.
(fhandler_socket::dup): Duplicate peer_sun_path.
(fhandler_socket::accept): Ditto.  Return fake unbound peer content
and len in case of AF_LOCAL sockets.
(fhandler_socket::getsockname): Always use local sockaddr_storage to
store socket address and copy over to incoming address.  Handle every
namelen correctly per POSIX.
(fhandler_socket::getpeername): Ditto.  Add code path to return
correct value for AF_LOCAL sockets.
(fhandler_socket::set_peer_sun_path): New method.
* net.cc (socketpair): Set peer_sun_path to empty string, just like
sun_path.

14 years agoChangeLog: Fix typo in "typo".
Corinna Vinschen [Thu, 13 Aug 2009 07:41:35 +0000 (07:41 +0000)]
ChangeLog: Fix typo in "typo".

14 years ago * cxx.cc (default_cygwin_cxx_malloc): Enhance commenting.
Corinna Vinschen [Thu, 13 Aug 2009 07:35:50 +0000 (07:35 +0000)]
* cxx.cc (default_cygwin_cxx_malloc): Enhance commenting.
* dll_init.cc (dll_dllcrt0_1): Likewise.
* dlfcn.cc (dlopen): Prevent dlopen()'d DLL from installing any
cxx malloc overrides.
* include/cygwin/cygwin_dll.h (__dynamically_loaded): New variable.
* lib/_cygwin_crt0_common.cc (_cygwin_crt0_common): Check it and only
install cxx malloc overrides when statically loaded.  Extend comments.

14 years ago * libc/stdio/mktemp.c (mkdtemp): Fix type in function name.
Corinna Vinschen [Thu, 13 Aug 2009 07:19:33 +0000 (07:19 +0000)]
* libc/stdio/mktemp.c (mkdtemp): Fix type in function name.

14 years ago * faq-using.xml (faq.using.bloda): Typofix MacAfee -> McAfee.
Dave Korn [Wed, 12 Aug 2009 22:03:18 +0000 (22:03 +0000)]
* faq-using.xml (faq.using.bloda): Typofix MacAfee -> McAfee.

14 years ago2009=08-12 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 12 Aug 2009 18:22:38 +0000 (18:22 +0000)]
2009=08-12  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdio/mktemp.c (_gettemp): Do not call _mkdir_r unless
        HAVE_MKDIR is defined.

2009-08-12  Hans-Peter Nilsson  <hp@axis.com>

        * libc/include/reent.h: Add prototype and definition of _mkdir_r.
        * libc/reent/Makefile.am (GENERAL_SOURCES): Add mkdirr.c.
        (CHEWOUT_FILES): Add mkdirr.def.
        * libc/reent/Makefile.in: Regenerate.
        * libc/reent/mkdirr.c: New file.

14 years ago * fhandler_socket.cc (fhandler_socket::accept): Always use local
Corinna Vinschen [Wed, 12 Aug 2009 14:48:16 +0000 (14:48 +0000)]
* fhandler_socket.cc (fhandler_socket::accept): Always use local
sockaddr_storage to store peer address and copy over to incoming
peer address if available.  Truncate data as necessary according
to POSIX.

14 years ago * mkgroup.c (enum_local_groups): Avoid error message if given group
Corinna Vinschen [Tue, 11 Aug 2009 08:59:50 +0000 (08:59 +0000)]
* mkgroup.c (enum_local_groups): Avoid error message if given group
name isn't found and return 0 to allow searching to proceed.  Always
return 0 or 1, not -1.
(enum_groups): Avoid error message if given group name isn't found.
* mkpasswd.c (enum_users): Ditto.

14 years ago * include/limits.h (NGROUPS_MAX): Set to a more sane value.
Corinna Vinschen [Tue, 11 Aug 2009 07:28:22 +0000 (07:28 +0000)]
* include/limits.h (NGROUPS_MAX): Set to a more sane value.
* include/sys/param.h (NGROUPS): Ditto.

14 years agoinclude/coff/
Jan Kratochvil [Mon, 10 Aug 2009 22:02:41 +0000 (22:02 +0000)]
include/coff/
Fix references past allocated memory for i386-*-go32.
* ti.h (COFF_ADJUST_FILEHDR_IN_POST, COFF_ADJUST_FILEHDR_OUT_POST):
Reference F_TARGET_ID only when !COFF0_P.

14 years agobfd/
Jan Kratochvil [Mon, 10 Aug 2009 21:56:42 +0000 (21:56 +0000)]
bfd/
Stop using bfd_usrdata in libbfd.
* coff-stgo32.c (bfd_coff_go32stub): Remove.
(stub_bytes, comment): Replace STUBSIZE by GO32_STUBSIZE.
(adjust_filehdr_in_post): Declare the abfd parameter as unused.
Replace STUBSIZE by GO32_STUBSIZE.  Save now the stub in
filehdr_dst->u.go32.stub.  New comment with the reason.
(adjust_filehdr_out_pre): Replace STUBSIZE by GO32_STUBSIZE.
Substitute the removed macro bfd_coff_go32stub.
(adjust_filehdr_out_post, adjust_scnhdr_in_post, adjust_scnhdr_out_pre)
(adjust_scnhdr_out_post, adjust_aux_in_post, adjust_aux_out_pre)
(adjust_aux_out_post): Replace STUBSIZE by GO32_STUBSIZE.
(create_go32_stub, go32_stubbed_coff_bfd_copy_private_bfd_data):
Replace STUBSIZE by GO32_STUBSIZE.  Substitute the removed macro
bfd_coff_go32stub.
* coffcode.h (coff_mkobject_hook): Initialize coff->go32stub.
* libcoff-in.h (coff_data_type): New field go32stub.
* libcoff.h: Regenerated.

include/coff/
Stop using bfd_usrdata in libbfd.
* go32exe.h (struct external_filehdr_go32_exe <stub>, FILHSZ): Replace
STUBSIZE by GO32_STUBSIZE.
(STUBSIZE): Move the definition ...
* internal.h (GO32_STUBSIZE): ... here and rename it.
(struct internal_filehdr <go32stub>, F_GO32STUB): New.

14 years ago * spawn.cc (av::fixup): Check shell scripts for executability only on
Corinna Vinschen [Mon, 10 Aug 2009 18:36:28 +0000 (18:36 +0000)]
* spawn.cc (av::fixup): Check shell scripts for executability only on
filesystems/mounts supporting real permissions.

14 years ago2009-08-10 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Mon, 10 Aug 2009 16:23:20 +0000 (16:23 +0000)]
2009-08-10  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/stdlib/wcstombs.c: Change documentation to specify size_t
        return type instead of int.

14 years ago * dtable.cc (DEV_SOCKET): New static WCHAR string. Name of
Corinna Vinschen [Mon, 10 Aug 2009 15:38:37 +0000 (15:38 +0000)]
* dtable.cc (DEV_SOCKET): New static WCHAR string.  Name of
the native NT socket device.
(dtable::init_std_file_from_handle): Remove unused tmp_pathbuf
variable.  Move check for sockets into FILE_TYPE_PIPE clause.
Rely on handle_to_fn having recognized socket, or check if
getsockopt works to accommodate NT4 shortcoming.
(handle_to_fn): Use tmp_pathbuf for OBJECT_NAME_INFORMATION
buffer and simplify code due to that.  Check name returned by
NtQueryObject for socket device.

14 years ago* fhandler_console.cc (create_invisible_console_workaround): Fix size of cmd in
Christopher Faylor [Mon, 10 Aug 2009 15:25:58 +0000 (15:25 +0000)]
* fhandler_console.cc (create_invisible_console_workaround): Fix size of cmd in
the way originally intended.

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