]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
13 years ago2011-03-24 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini [Thu, 24 Mar 2011 16:55:11 +0000 (16:55 +0000)]
2011-03-24  Paolo Bonzini  <bonzini@gnu.org>

* mh-sysv4: Remove AR_CFLAGS.

13 years ago * configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,
Joseph Myers [Thu, 24 Mar 2011 16:52:11 +0000 (16:52 +0000)]
* configure.ac (i[[3456789]]86-*-vsta, i[[3456789]]86-*-go32*,
i[[3456789]]86-*-beos*, powerpc-*-beos*, m68k-hp-hpux*,
m68k-apollo-sysv*, m68k-apollo-bsd*, m88k-dg-dgux*,
m88k-harris-cxux*, m88k-motorola-sysv*, mips*-dec-ultrix*,
mips*-nec-sysv4*, mips*-sgi-irix4*, mips*-*-sysv4*, mips*-*-sysv*,
i370-ibm-opened*, i[[3456789]]86-*-sysv5*, i[[3456789]]86-*-dgux*,
i[[3456789]]86-ncr-sysv4.3*, i[[3456789]]86-ncr-sysv4*,
i[[3456789]]86-*-sco3.2v5*, i[[3456789]]86-*-sco*,
i[[3456789]]86-*-udk*, vax-*-ultrix2*, m68k-sun-sunos*,
hppa*-*-hiux*, *-*-hiux*, rs6000-*-lynxos*, *-*-sysv4*,
*-*-rhapsody*): Remove host cases.
* configure: Regenerate.

config:
* mh-cxux, mh-decstation, mh-dgux386, mh-lynxrs6k, mh-ncr3000,
mh-necv4, mh-sco, mh-sysv5: Remove.

13 years ago * xstormy16/crt0.s (_hwint): Fix .size directive.
Nick Clifton [Thu, 24 Mar 2011 16:29:11 +0000 (16:29 +0000)]
* xstormy16/crt0.s (_hwint): Fix .size directive.

13 years ago * frv/crt0.S (__frv_fix_usrptrs): Fix .size directive.
Nick Clifton [Thu, 24 Mar 2011 16:24:36 +0000 (16:24 +0000)]
* frv/crt0.S (__frv_fix_usrptrs): Fix .size directive.

13 years ago * configure.ac (ppc*-*-pe): Remove host case.
Joseph Myers [Thu, 24 Mar 2011 13:25:45 +0000 (13:25 +0000)]
* configure.ac (ppc*-*-pe): Remove host case.
(strongarm-*-coff | xscale-*-coff, strongarm-*-elf* |
xscale-*-elf*, thumb-*-coff, thumb-*-elf, thumb-*-pe, ep9312-*-elf
| ep9312-*-coff, parisc*64*-*-linux*, ppc*-*-pe): Remove target
cases.
* configure: Regenerate.

13 years ago * config.sub: Update to version 2011-03-23.
Joseph Myers [Thu, 24 Mar 2011 11:13:32 +0000 (11:13 +0000)]
* config.sub: Update to version 2011-03-23.

13 years ago* wincap.cc (wincap_2003): Set use_dont_resolve_hack to true.
Christopher Faylor [Wed, 23 Mar 2011 21:33:36 +0000 (21:33 +0000)]
* wincap.cc (wincap_2003): Set use_dont_resolve_hack to true.

13 years ago2010-03-23 Rafael Ávila de Espíndola <respindola@mozilla.com>
Rafael Ávila de Espíndola [Wed, 23 Mar 2011 14:09:48 +0000 (14:09 +0000)]
2010-03-23  Rafael Ávila de Espíndola <respindola@mozilla.com>

* plugin-api.h (ld_plugin_get_view): New.
(ld_plugin_tag): Add LDPT_GET_VIEW.
(ld_plugin_tv): Add tv_get_view.

13 years ago * libc/machine/frv/setjmp.S: Fix typo in .size directive.
Nick Clifton [Wed, 23 Mar 2011 11:01:05 +0000 (11:01 +0000)]
* libc/machine/frv/setjmp.S: Fix typo in .size directive.

13 years ago* autoload.cc (dll_load): Change error message to make it clear if a newer DLL
Christopher Faylor [Wed, 23 Mar 2011 05:30:49 +0000 (05:30 +0000)]
* autoload.cc (dll_load): Change error message to make it clear if a newer DLL
is being run.

13 years ago * configure.ac (arm-semi-aof, crx-*-*, parisc*-*-linux*,
Joseph Myers [Tue, 22 Mar 2011 20:04:36 +0000 (20:04 +0000)]
* configure.ac (arm-semi-aof, crx-*-*, parisc*-*-linux*,
i370-*-opened*, i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss*
| i[[3456789]]86-*-uwin*, mcore-*-pe*): Remove empty cases.
* configure: Regenerate.

13 years ago * config-ml.in: Don't handle arc-*-elf*.
Joseph Myers [Tue, 22 Mar 2011 20:01:13 +0000 (20:01 +0000)]
* config-ml.in: Don't handle arc-*-elf*.
* configure.ac (arc-*-*, crx-*-*, i[[3456789]]86-*-pe,
m68hc11-*-*|m6811-*-*|m68hc12-*-*|m6812-*-*, mcore-*-pe*): Don't
handle GCC libraries.
* configure: Regenerate.

13 years ago/bfd:
Eric Weddington [Tue, 22 Mar 2011 18:10:45 +0000 (18:10 +0000)]
/bfd:
2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>

* archures.c: Add AVR XMEGA architecture information.
* cpu-avr.c (arch_info_struct): Likewise.
* elf32-avr.c (bfd_elf_avr_final_write_processing): Likewise.
(elf32_avr_object_p): Likewise.

/gas:
2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>

* config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
(AVR_INSN): Change definition to match.
(avr_opcodes): Likewise, change to match.
(mcu_types): Add XMEGA architecture names and new XMEGA device names.
(md_show_usage): Add XMEGA architecture names.
(avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
Add support for SPM Z+ instruction.
* doc/c-avr.texi: Add documentation for XMEGA architectures and
devices.

/include/opcode:
2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>

* avr.h (AVR_ISA_SPMX,AVR_ISA_DES,AVR_ISA_M256,AVR_ISA_XMEGA):
New instruction set flags.
(AVR_INSN): Add new instructions for SPM Z+, DES for XMEGA.

/ld:
2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>

* Makefile.am (ALL_EMULATION_SOURCES): Add AVR XMEGA architectures.
(eavrxmega?.c): Likewise.
* configure.tgt (targ_extra_emuls): Likewise.
* emulparams/avrxmega1.sh: New file.
* emulparams/avrxmega2.sh: Likewise.
* emulparams/avrxmega3.sh: Likewise.
* emulparams/avrxmega4.sh: Likewise.
* emulparams/avrxmega5.sh: Likewise.
* emulparams/avrxmega6.sh: Likewise.
* emulparams/avrxmega7.sh: Likewise.
* emultempl/avrelf.em (avr_elf_${EMULATION_NAME}_before_allocation):
Add avrxmega6, avrxmega7 to list of architectures for no stubs.

/opcodes:
2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>

* avr-dis.c (avr_operand): Add opcode_str parameter. Check for
post-increment to support LPM Z+ instruction. Add support for 'E'
constraint for DES instruction.
(print_insn_avr): Adjust calls to avr_operand. Rename variable.

13 years ago * libc/sys/sysnecv850/trap.S (___trap0): Fix errno handling.
Kevin Buettner [Mon, 21 Mar 2011 22:11:14 +0000 (22:11 +0000)]
* libc/sys/sysnecv850/trap.S (___trap0): Fix errno handling.
* libc/sys/sysnecv850/rename.c: New file.
* libc/sys/sysnecv850/Makefile.am (lib_a_SOURCES): Add rename.c
* libc/sys/sysnecv850/Makefile.in: Regenerate.
* libc/sys/sysnecv850/fstat.c (_fstat): Invoke trap for SYS_fstat.
* libc/sys/sysnecv850/unlink.c (_unlink): Invoke trap for SYS_unlink.

13 years ago * v850/sys/syscall.h (SYS_rename): Define.
Kevin Buettner [Mon, 21 Mar 2011 22:09:34 +0000 (22:09 +0000)]
* v850/sys/syscall.h (SYS_rename): Define.

13 years ago * libltp/lib/get_high_address.c: Align copyright with upstream.
Corinna Vinschen [Mon, 21 Mar 2011 15:42:54 +0000 (15:42 +0000)]
* libltp/lib/get_high_address.c: Align copyright with upstream.

13 years ago PR bootstrap/48120:
Rainer Orth [Mon, 21 Mar 2011 13:03:34 +0000 (13:03 +0000)]
PR bootstrap/48120:
* configure.ac (pwllib): Use LIBS instead of LDFLAGS.
Add -lstdc++ -lm to LIBS.
* configure: Regenerate.

13 years agoFix typo.
Corinna Vinschen [Sun, 20 Mar 2011 15:36:13 +0000 (15:36 +0000)]
Fix typo.

13 years ago * fenv.cc (_feinitialise); Don't use SSE instructions on systems not
Corinna Vinschen [Sun, 20 Mar 2011 15:34:29 +0000 (15:34 +0000)]
* fenv.cc (_feinitialise); Don't use SSE instructions on systems not
supporting them.
* wincap.h (wincaps::supports_sse): New element.
* wincap.cc: Implement above element throughout.

13 years ago * cygwin.sc: Raise default cygheap size to 2 Megs.
Corinna Vinschen [Fri, 18 Mar 2011 18:16:37 +0000 (18:16 +0000)]
* cygwin.sc: Raise default cygheap size to 2 Megs.

13 years ago * config.guess: Update to version 2011-02-02
David Edelsohn [Fri, 18 Mar 2011 17:44:46 +0000 (17:44 +0000)]
    * config.guess: Update to version 2011-02-02
        * config.sub: Update to version 2011-02-24

13 years agoFix typo.
Corinna Vinschen [Fri, 18 Mar 2011 14:42:30 +0000 (14:42 +0000)]
Fix typo.

13 years ago* fhandler.h (DEFAULT_PIPEBUFSIZE): Reset to 64K.
Christopher Faylor [Fri, 18 Mar 2011 14:25:33 +0000 (14:25 +0000)]
* fhandler.h (DEFAULT_PIPEBUFSIZE): Reset to 64K.

13 years ago * mmap.cc (mmap_record::alloc_fh): Initialize nmae strings in fdev to
Corinna Vinschen [Fri, 18 Mar 2011 13:56:56 +0000 (13:56 +0000)]
* mmap.cc (mmap_record::alloc_fh): Initialize nmae strings in fdev to
empty strings or suffer a SEGV.  Drop second parameter in call to
build_fh_dev.

13 years ago * mmap.cc (class mmap_record): Pack 4 byte-aligned. Convert member dev
Corinna Vinschen [Fri, 18 Mar 2011 13:42:03 +0000 (13:42 +0000)]
* mmap.cc (class mmap_record): Pack 4 byte-aligned.  Convert member dev
to plain int.
(mmap_record::alloc_fh): Create temporary device from dev and use in
call to build_fh_dev.

13 years ago * mmap.cc (mmap_record::page_map): Define as variable array rather than
Corinna Vinschen [Fri, 18 Mar 2011 13:38:34 +0000 (13:38 +0000)]
* mmap.cc (mmap_record::page_map): Define as variable array rather than
as pointer.
(mmap_record::alloc_page_map): Remove.
(mmap_record::free_page_map): Remove.
(mmap_record::init_page_map): New method.
(mmap_record::add_record): Take mmap_record parameter by reference
rather than by value.
(mmap_record::map_pages): Fix comment.
(mmap_list::add_record): Allocate space for mmap_record including the
page_map in a single ccalloc call.  Call init_page_map afterwards.
(mmap_list::del_record): Remove call to mmap_record::free_page_map.

13 years ago * crt0.c (mainCRTStartup): Move call to _feinitialise from here...
Corinna Vinschen [Thu, 17 Mar 2011 08:40:25 +0000 (08:40 +0000)]
* crt0.c (mainCRTStartup): Move call to _feinitialise from here...
* dcrt0.cc (_dll_crt0): ...to here.

13 years ago * winver.rc: Fix copyright dates.
Corinna Vinschen [Wed, 16 Mar 2011 21:10:51 +0000 (21:10 +0000)]
* winver.rc: Fix copyright dates.

13 years ago * dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter,
Jakub Jelinek [Wed, 16 Mar 2011 08:48:47 +0000 (08:48 +0000)]
* dwarf2.h (DW_TAG_GNU_call_site, DW_TAG_GNU_call_site_parameter,
DW_AT_GNU_call_site_value, DW_AT_GNU_call_site_data_value,
DW_AT_GNU_call_site_target, DW_AT_GNU_call_site_target_clobbered,
DW_AT_GNU_tail_call, DW_AT_GNU_all_tail_call_sites,
DW_AT_GNU_all_call_sites,, DW_AT_GNU_all_source_call_sites,
DW_OP_GNU_entry_value): New.

13 years agoinclude/elf/
Richard Sandiford [Mon, 14 Mar 2011 16:04:04 +0000 (16:04 +0000)]
include/elf/
* arm.h (R_ARM_IRELATIVE): New relocation.

bfd/
* reloc.c (BFD_RELOC_ARM_IRELATIVE): New relocation.
* bfd-in2.h: Regenerate.
* elf32-arm.c (elf32_arm_howto_table_2): Rename existing definition
to elf32_arm_howto_table_3 and replace with a single R_ARM_IRELATIVE
entry.
(elf32_arm_howto_from_type): Update accordingly.
(elf32_arm_reloc_map): Map BFD_RELOC_ARM_IRELATIVE to R_ARM_IRELATIVE.
(elf32_arm_reloc_name_lookup): Handle elf32_arm_howto_table_3.
(arm_plt_info): New structure, split out from elf32_arm_link_hash_entry
with an extra noncall_refcount field.
(arm_local_iplt_info): New structure.
(elf_arm_obj_tdata): Add local_iplt.
(elf32_arm_local_iplt): New accessor macro.
(elf32_arm_link_hash_entry): Replace plt_thumb_refcount,
plt_maybe_thumb_refcount and plt_got_offset with an arm_plt_info.
Change tls_type to a bitfield and add is_iplt.
(elf32_arm_link_hash_newfunc): Update accordingly.
(elf32_arm_allocate_local_sym_info): New function.
(elf32_arm_create_local_iplt): Likewise.
(elf32_arm_get_plt_info): Likewise.
(elf32_arm_plt_needs_thumb_stub_p): Likewise.
(elf32_arm_get_local_dynreloc_list): Likewise.
(create_ifunc_sections): Likewise.
(elf32_arm_copy_indirect_symbol): Update after the changes to
elf32_arm_link_hash_entry.  Assert the is_iplt has not yet been set.
(arm_type_of_stub): Add an st_type argument.  Use elf32_arm_get_plt_info
to get PLT information.  Assert that all STT_GNU_IFUNC references
are turned into PLT references.
(arm_build_one_stub): Pass the symbol type to
elf32_arm_final_link_relocate.
(elf32_arm_size_stubs): Pass the symbol type to arm_type_of_stub.
(elf32_arm_allocate_irelocs): New function.
(elf32_arm_add_dynreloc): In static objects, use .rel.iplt for
all R_ARM_IRELATIVE.
(elf32_arm_allocate_plt_entry): New function.
(elf32_arm_populate_plt_entry): Likewise.
(elf32_arm_final_link_relocate): Add an st_type parameter.
Set srelgot to null for static objects.  Use separate variables
to record which st_value and st_type should be used when generating
a dynamic relocation.  Use elf32_arm_get_plt_info to find the
symbol's PLT information, setting has_iplt_entry, splt,
plt_offset and gotplt_offset accordingly.  Check whether
STT_GNU_IFUNC symbols should resolve to an .iplt entry, and change
the relocation target accordingly.  Broaden assert to include
.iplts.  Don't set sreloc for static relocations.  Assert that
we only generate dynamic R_ARM_RELATIVE relocations for R_ARM_ABS32
and R_ARM_ABS32_NOI.  Generate R_ARM_IRELATIVE relocations instead
of R_ARM_RELATIVE relocations if the target is an STT_GNU_IFUNC
symbol.  Pass the symbol type to arm_type_of_stub.  Conditionally
resolve GOT references to the .igot.plt entry.
(elf32_arm_relocate_section): Update the call to
elf32_arm_final_link_relocate.
(elf32_arm_gc_sweep_hook): Use elf32_arm_get_plt_info to get PLT
information.  Treat R_ARM_REL32 and R_ARM_REL32_NOI as call
relocations in shared libraries and relocatable executables.
Count non-call PLT references.  Use elf32_arm_get_local_dynreloc_list
to get the list of dynamic relocations for a local symbol.
(elf32_arm_check_relocs): Always create ifunc sections.  Set isym
at the same time as setting h.  Use elf32_arm_allocate_local_sym_info
to allocate local symbol information.  Treat R_ARM_REL32 and
R_ARM_REL32_NOI as call relocations in shared libraries and
relocatable executables.  Record PLT information for local
STT_GNU_IFUNC functions as well as global functions.   Count
non-call PLT references.  Use elf32_arm_get_local_dynreloc_list
to get the list of dynamic relocations for a local symbol.
(elf32_arm_adjust_dynamic_symbol): Handle STT_GNU_IFUNC symbols.
Don't remove STT_GNU_IFUNC PLTs unless all references have been
removed.  Update after the changes to elf32_arm_link_hash_entry.
(allocate_dynrelocs_for_symbol): Decide whether STT_GNU_IFUNC PLT
entries should live in .plt or .iplt.  Check whether the .igot.plt
and .got entries can be combined.  Use elf32_arm_allocate_plt_entry
to allocate .plt and .(i)got.plt entries.  Detect which .got
entries will need R_ARM_IRELATIVE relocations and use
elf32_arm_allocate_irelocs to allocate them.  Likewise other
non-.got dynamic relocations.
(elf32_arm_size_dynamic_sections): Allocate .iplt, .igot.plt
and dynamic relocations for local STT_GNU_IFUNC symbols.
Check whether the .igot.plt and .got entries can be combined.
Detect which .got entries will need R_ARM_IRELATIVE relocations
and use elf32_arm_allocate_irelocs to allocate them.  Use stashed
section pointers intead of strcmp checks.  Handle iplt and igotplt.
(elf32_arm_finish_dynamic_symbol): Use elf32_arm_populate_plt_entry
to fill in .plt, .got.plt and .rel(a).plt entries.  Point
STT_GNU_IFUNC symbols at an .iplt entry if non-call relocations
resolve to it.
(elf32_arm_output_plt_map_1): New function, split out from
elf32_arm_output_plt_map.  Handle .iplt entries.  Use
elf32_arm_plt_needs_thumb_stub_p.
(elf32_arm_output_plt_map): Call it.
(elf32_arm_output_arch_local_syms): Add mapping symbols for
local .iplt entries.
(elf32_arm_swap_symbol_in): Handle Thumb STT_GNU_IFUNC symbols.
(elf32_arm_swap_symbol_out): Likewise.
(elf32_arm_add_symbol_hook): New function.
(elf_backend_add_symbol_hook): Define for all targets.

opcodes/
* arm-dis.c (get_sym_code_type): Treat STT_GNU_IFUNCs as code.

gas/
* config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
determine whether a relocation is needed.
(md_apply_fix, arm_apply_sym_value): Likewise.

ld/testsuite/
* ld-arm/ifunc-1.s, ld-arm/ifunc-1.dd, ld-arm/ifunc-1.gd,
ld-arm/ifunc-1.rd, ld-arm/ifunc-2.s, ld-arm/ifunc-2.dd,
ld-arm/ifunc-2.gd, ld-arm/ifunc-2.rd, ld-arm/ifunc-3.s,
ld-arm/ifunc-3.dd, ld-arm/ifunc-3.gd, ld-arm/ifunc-3.rd,
ld-arm/ifunc-4.s, ld-arm/ifunc-4.dd, ld-arm/ifunc-4.gd,
ld-arm/ifunc-4.rd, ld-arm/ifunc-5.s, ld-arm/ifunc-5.dd,
ld-arm/ifunc-5.gd, ld-arm/ifunc-5.rd, ld-arm/ifunc-6.s,
ld-arm/ifunc-6.dd, ld-arm/ifunc-6.gd, ld-arm/ifunc-6.rd,
ld-arm/ifunc-7.s, ld-arm/ifunc-7.dd, ld-arm/ifunc-7.gd,
ld-arm/ifunc-7.rd, ld-arm/ifunc-8.s, ld-arm/ifunc-8.dd,
ld-arm/ifunc-8.gd, ld-arm/ifunc-8.rd, ld-arm/ifunc-9.s,
ld-arm/ifunc-9.dd, ld-arm/ifunc-9.gd, ld-arm/ifunc-9.rd,
ld-arm/ifunc-10.s, ld-arm/ifunc-10.dd, ld-arm/ifunc-10.gd,
ld-arm/ifunc-10.rd, ld-arm/ifunc-11.s, ld-arm/ifunc-11.dd,
ld-arm/ifunc-11.gd, ld-arm/ifunc-11.rd, ld-arm/ifunc-12.s,
ld-arm/ifunc-12.dd, ld-arm/ifunc-12.gd, ld-arm/ifunc-12.rd,
ld-arm/ifunc-13.s, ld-arm/ifunc-13.dd, ld-arm/ifunc-13.gd,
ld-arm/ifunc-13.rd, ld-arm/ifunc-14.s, ld-arm/ifunc-14.dd,
ld-arm/ifunc-14.gd, ld-arm/ifunc-14.rd, ld-arm/ifunc-15.s,
ld-arm/ifunc-15.dd, ld-arm/ifunc-15.gd, ld-arm/ifunc-15.rd,
ld-arm/ifunc-16.s, ld-arm/ifunc-16.dd, ld-arm/ifunc-16.gd,
ld-arm/ifunc-16.rd, ld-arm/ifunc-dynamic.ld,
ld-arm/ifunc-static.ld: New tests.
* ld-arm/farcall-group.d, ld-arm/farcall-group-size2.d,
ld-arm/farcall-mixed-lib-v4t.d, ld-arm/farcall-mixed-lib.d: Update
for new stub hashes.
* ld-arm/arm-elf.exp: Run them.

13 years agoinclude/elf/
Richard Sandiford [Mon, 14 Mar 2011 15:54:57 +0000 (15:54 +0000)]
include/elf/
* internal.h (elf_internal_sym): Add st_target_internal.
* arm.h (arm_st_branch_type): New enum.
(ARM_SYM_BRANCH_TYPE): New macro.

bfd/
* elf-bfd.h (elf_link_hash_entry): Add target_internal.
* elf.c (swap_out_syms): Set st_target_internal for each
Elf_Internal_Sym.
* elfcode.h (elf_swap_symbol_in): Likewise.
* elf32-i370.c (i370_elf_finish_dynamic_sections): Likewise.
* elf32-sh-symbian.c (sh_symbian_relocate_section): Likewise.
* elf64-sparc.c (elf64_sparc_output_arch_syms): Likewise.
* elfxx-sparc.c (_bfd_sparc_elf_size_dynamic_sections): Likewise.
* elflink.c (elf_link_output_extsym): Likewise.
(bfd_elf_final_link): Likewise.
(elf_link_add_object_symbols): Copy st_target_internal
to the hash table if we see a definition.
(_bfd_elf_copy_link_hash_symbol_type): Copy target_internal.
* elf32-arm.c (elf32_arm_stub_hash_entry): Replace st_type with
a branch_type field.
(a8_erratum_fix, a8_erratum_reloc): Likewise.
(arm_type_of_stub): Replace actual_st_type with an
actual_branch_type parameter.
(arm_build_one_stub): Use branch types rather than st_types to
determine the type of branch.
(cortex_a8_erratum_scan): Likewise.
(elf32_arm_size_stubs): Likewise.
(bfd_elf32_arm_process_before_allocation): Likewise.
(allocate_dynrelocs_for_symbol): Likewise.
(elf32_arm_finish_dynamic_sections): Likewise.
(elf32_arm_final_link_relocate): Replace sym_flags parameter with
a branch_type parameter.
(elf32_arm_relocate_section): Update call accordingly.
(elf32_arm_adjust_dynamic_symbol): Don't check STT_ARM_TFUNC.
(elf32_arm_output_map_sym): Initialize st_target_internal.
(elf32_arm_output_stub_sym): Likewise.
(elf32_arm_symbol_processing): Delete.
(elf32_arm_swap_symbol_in): Convert STT_ARM_TFUNCs into STT_FUNCs.
Use st_target_internal to record the branch type.
(elf32_arm_swap_symbol_out): Use st_target_internal to test for
Thumb functions.
(elf32_arm_is_function_type): Delete.
(elf_backend_symbol_processing): Likewise.
(elf_backend_is_function_type): Likewise.

gas/
* config/tc-arm.c (arm_adjust_symtab): Set the branch type
for Thumb symbols.

ld/
* emultempl/armelf.em (gld${EMULATION_NAME}_finish): Check
eh->target_internal.

opcodes/
* arm-dis.c (get_sym_code_type): Don't check for STT_ARM_TFUNC.
Use branch types instead.
(print_insn): Likewise.

13 years ago * fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only use
Corinna Vinschen [Mon, 14 Mar 2011 09:14:17 +0000 (09:14 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_by_handle): Only use
file id as inode number if it masters the isgood_inode check.

13 years ago* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Remove special
Christopher Faylor [Sun, 13 Mar 2011 20:20:58 +0000 (20:20 +0000)]
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Remove special
treatment for ERROR_NO_SYSTEM_RESOURCES.  Cancel I/O and reset the overlapped
handle on error.
(fhandler_base_overlapped::write_overlapped): Limit writes to max_atomic_write
bytes in blocking case.  Incorporate code from now-defunct
write_overlapped_fallback.  Fix serious oversight where ptr was not advanced as
buffer was written.
(fhandler_base_overlapped::write_overlapped_fallback): Eliminate.
* fhandler.h (fhandler_base_overlapped::write_overlapped_fallback): Ditto for
declaration.
(DEFAULT_PIPEBUFSIZE): Lower size to slightly less than documented worst-case
atomic write size.
(fhandler_overlapped::wait_return): Remove unused element.

13 years ago2011-03-11 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sat, 12 Mar 2011 04:33:16 +0000 (04:33 +0000)]
2011-03-11  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.17.
        * Makefile.in: Ditto.

13 years ago * common.h (EM_V850): V850s now supplied by Renesas.
Nick Clifton [Thu, 10 Mar 2011 10:23:37 +0000 (10:23 +0000)]
* common.h (EM_V850): V850s now supplied by Renesas.
* readelf.c (get_machine_name): Update EM_V850 entry.

13 years ago* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Handle
Christopher Faylor [Wed, 9 Mar 2011 22:48:05 +0000 (22:48 +0000)]
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Handle
overlapped_fallback error condition like other error conditions.  Set res
carefully and specifically for each condition rather than resorting to a
default.
(fhandler_base_overlapped::write_overlapped): Preserve errno in
overlapped_fallback condition.  Correct write_overlapped_fallback to avoid
inappropriate looping.
(fhandler_base_overlapped::write_overlapped_fallback): Add some more comments.

13 years ago* fhandler.cc (fhandler_base_overlapped::write_overlapp): Oops! Accommodate
Christopher Faylor [Wed, 9 Mar 2011 16:55:54 +0000 (16:55 +0000)]
* fhandler.cc (fhandler_base_overlapped::write_overlapp): Oops! Accommodate
change in arguments to wait_overlapped.

13 years ago* errno.cc (errmap): Change mapping of NO_SYSTEM_RESOURCES to EFBIG.
Christopher Faylor [Wed, 9 Mar 2011 16:47:44 +0000 (16:47 +0000)]
* errno.cc (errmap): Change mapping of NO_SYSTEM_RESOURCES to EFBIG.
* fhandler.cc (MAX_OVERLAPPED_WRITE_LEN): New constant.
(MIN_OVERLAPPED_WRITE_LEN): Ditto.
(fhandler_base_overlapped::close): Accommodate change in arguments to
wait_overlapped.
(fhandler_base_overlapped::setup_overlapped): Add __stdcall and regparm
modifiers.
(fhandler_base_overlapped::destroy_overlapped): Ditto.
(fhandler_base_overlapped::has_ongoing_io): Ditto.
(fhandler_base_overlapped::wait_overlapped): Modify to return an enum returning
various states.  Accept nonblocking parameter.
(fhandler_base_overlapped::read_overlapped): Add __stdcall and regparm
modifiers.  Rework to attempt to be smarter about reacting to states returned
by wait_overlapped.
(fhandler_base_overlapped::write_overlapped): Ditto.  Add fallback option for
when wait_overlapped detects that smaller chunks must be written.
(fhandler_base_overlapped::write_overlapped_fallback): Ditto.
* fhandler.h (DEFAULT_PIPEBUFSIZE): Move definition here from pipe.cc.
(fhandler_base::has_ongoing_io): Define with __stdcall and regparm modifiers.
(fhandler_base_overlapped::wait_return): New enum.
(fhandler_base_overlapped::max_atomic_write): New variable.
(fhandler_base_overlapped:: wait_overlapped): Accommodate changes mentioned
above to arguments and modifiers.
(fhandler_base_overlapped::setup_overlapped): Ditto for modifiers.
(fhandler_base_overlapped::read_overlapped): Ditto.
(fhandler_base_overlapped::write_overlapped): Ditto.
(fhandler_base_overlapped::destroy_overlapped): Ditto.
(fhandler_base_overlapped::has_ongoing_io): Ditto.
(fhandler_base_overlapped::fhandler_base_overlapped): Zero max_atomic_write.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Set max_atomic_write to the
size of the DEFAULT_PIPEBUFSIZE.
(fhandler_fifo::wait): Accommodate change in arguments to wait_overlapped.
* pipe.cc (fhandler_pipe::fhandler_pipe): Set max_atomic_write to the size of
the DEFAULT_PIPEBUFSIZE.
(fhandler_pipe::create_selectable): Allow minimum size of DEFAULT_PIPEBUFSIZE.
(DEFAULT_PIPEBUFSIZE): Delete here, move to fhandler.h.

13 years ago * security.cc: Fix copyright dates.
Corinna Vinschen [Tue, 8 Mar 2011 15:12:58 +0000 (15:12 +0000)]
* security.cc: Fix copyright dates.

13 years ago * fhandler.cc (fhandler_base::open): When creating a file on a
Corinna Vinschen [Tue, 8 Mar 2011 14:26:15 +0000 (14:26 +0000)]
* fhandler.cc (fhandler_base::open): When creating a file on a
filesystem supporting ACLs, create the file with WRITE_DAC access.
Explain why.
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Ditto for
directories.
* fhandler_socket.cc (fhandler_socket::bind): Ditto for sockets.
* path.cc (symlink_worker): Ditto for symlinks.
* security.cc (get_file_sd): Always call GetSecurityInfo for directories
on XP and Server 2003.  Improve comment to explain why.
(set_file_attribute): Explicitely cast mode_t value to bool in call to
get_file_sd.
* wincap.h (wincaps::use_get_sec_info_on_dirs): New element.
* wincap.cc: Implement above element throughout.

13 years ago2011-03-07 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Tue, 8 Mar 2011 01:57:46 +0000 (01:57 +0000)]
2011-03-07  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/winbase.h (PSAPI_WORKING_SET_BLOCK,
        PSAPI_WORKING_SET_INFORMATION): Move from here...
        * include/psapi.h (PSAPI_WORKING_SET_BLOCK,
        PSAPI_WORKING_SET_INFORMATION): ... to here.

13 years agosim: bfin: new port
Michael Frysinger [Sun, 6 Mar 2011 00:20:16 +0000 (00:20 +0000)]
sim: bfin: new port

This can boot Das U-Boot and a Linux kernel.  It also supports Linux
userspace FLAT and FDPIC (dynamic and static) ELFs.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sat, 5 Mar 2011 20:55:46 +0000 (20:55 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.16.
        * Makefile.in: Ditto.

13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 20:50:52 +0000 (20:50 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/commctrl.h (NMTCKEYDOWN): Define.

13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 20:43:53 +0000 (20:43 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wtsapi32.h (WTSSendMessageA, WTSSendMessageW, WTSSendMessage):
        Define.

13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 20:29:08 +0000 (20:29 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (PSAPI_WORKING_SET_BLOCK,
        PSAPI_WORKING_SET_INFORMATION): Define.

13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 19:36:28 +0000 (19:36 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (__GNUC_EXTENSION): Define, replacing __MINGW_EXTENSION.

13 years agoGuard against M4 versions with a buggy strstr.
Ralf Wildenhues [Sat, 5 Mar 2011 07:33:13 +0000 (07:33 +0000)]
Guard against M4 versions with a buggy strstr.

config/:
* override.m4: Error out if a buggy M4 was detected, to
avoid spurious diffs in generated files.

13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 05:45:42 +0000 (05:45 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def (FreeLibraryAndExitThread): Fix definition.

13 years ago2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 05:05:20 +0000 (05:05 +0000)]
2011-03-04  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (FILE_ENCRYPTABLE, FILE_IS_ENCRYPTED, FILE_READ_ONLY,
        FILE_ROOT_DIR, FILE_SYSTEM_ATTR, FILE_SYSTEM_DIR, FILE_SYSTEM_NOT_SUPPORT,
        FILE_UNKNOWN, FILE_USER_DISALLOWED): Define.

13 years ago2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 04:51:01 +0000 (04:51 +0000)]
2011-03-04  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winioctl.h (_DRIVE_LAYOUT_INFORMATION_MBR): Add
        _DRIVE_LAYOUT_INFORMATION_MBR_DEFINED guard.
        * include/ddk/winddk.h (_DRIVE_LAYOUT_INFORMATION_MBR): Ditto.

13 years ago2011-03-04 Seth Jackson <sethj@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 04:39:15 +0000 (04:39 +0000)]
2011-03-04  Seth Jackson  <sethj@users.sourceforge.net>

        * include/winnt.h (PAGE_WRITECOMBINE): Define.
        * include/winbase.h (THREAD_MODE_BACKGROUND_BEGIN, THREAD_MODE_BACKGROUND_END): Define.

13 years ago2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 04:31:24 +0000 (04:31 +0000)]
2011-03-04  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (__MINGW_EXTENSION): Define.
        (OVERLAPPED): Add __MINGW_EXTENSION around nameless union /
        struct to correct issue with -std=c99.

13 years ago * fhandler_procsys.cc (fhandler_procsys::exists): Rewrite.
Corinna Vinschen [Fri, 4 Mar 2011 17:51:42 +0000 (17:51 +0000)]
* fhandler_procsys.cc (fhandler_procsys::exists): Rewrite.
(fhandler_procsys::fill_filebuf): Fill buffer with valid string even if
reading the symlink fails.

13 years agoAdjust test of with_ppl.
Sebastian Pop [Fri, 4 Mar 2011 04:21:34 +0000 (04:21 +0000)]
Adjust test of with_ppl.

2011-03-03  Sebastian Pop  <sebastian.pop@amd.com>

        * configure.ac: Adjust test of with_ppl.
        * configure: Regenerated.

13 years ago * posix_ipc.cc (ipc_cond_timedwait): If ipc_mutex_unlock fails, return
Corinna Vinschen [Thu, 3 Mar 2011 15:48:36 +0000 (15:48 +0000)]
* posix_ipc.cc (ipc_cond_timedwait): If ipc_mutex_unlock fails, return
actual error number.
(_mq_send): Break loop if ipc_cond_timedwait returns with error.
(_mq_receive): Ditto.

13 years ago * libc/include/string.h: Include sys/cdefs.h.
Corinna Vinschen [Thu, 3 Mar 2011 11:11:41 +0000 (11:11 +0000)]
* libc/include/string.h: Include sys/cdefs.h.

13 years ago * libc/include/sys/cdefs.h (__CONCAT1): Define.
Corinna Vinschen [Thu, 3 Mar 2011 10:37:09 +0000 (10:37 +0000)]
* libc/include/sys/cdefs.h (__CONCAT1): Define.
(__CONCAT): Define.
(__STRING): Define.
(__XSTRING): Define.
(__ASMNAME): Define.
* libc/include/string.h (strerror_r): Use __ASMNAME to take target
specific label prefixes into account.

13 years ago * errno.cc (__xpg_strerror_r): Add accidentally missing condition.
Corinna Vinschen [Thu, 3 Mar 2011 09:50:13 +0000 (09:50 +0000)]
* errno.cc (__xpg_strerror_r): Add accidentally missing condition.

13 years ago * fhandler_procsys.cc (fhandler_procsys::open): Call worker exists
Corinna Vinschen [Wed, 2 Mar 2011 13:22:44 +0000 (13:22 +0000)]
* fhandler_procsys.cc (fhandler_procsys::open): Call worker exists
method, rather than wrapper.

13 years ago * include/ddk/winddk.h (TIMER_INFORMATION_CLASS): Define.
Corinna Vinschen [Wed, 2 Mar 2011 08:00:50 +0000 (08:00 +0000)]
* include/ddk/winddk.h (TIMER_INFORMATION_CLASS): Define.
(TIMER_BASIC_INFORMATION): Define.
(NtQueryTimer): Define.
(ZwQueryTimer): Define.

13 years agoAdd -lpwl to ppllibs, and -lisl to clooglibs.
Sebastian Pop [Wed, 2 Mar 2011 03:49:38 +0000 (03:49 +0000)]
Add -lpwl to ppllibs, and -lisl to clooglibs.

2011-03-02  Sebastian Pop  <sebastian.pop@amd.com>

* configure.ac: Add -lpwl to ppllibs.
* config/cloog.m4: Add -lisl to clooglibs.
* configure: Regenerated.

13 years ago* autoload.cc (dll_load): Avoid in_forkee test since this apparently fails even
Christopher Faylor [Tue, 1 Mar 2011 22:36:19 +0000 (22:36 +0000)]
* autoload.cc (dll_load): Avoid in_forkee test since this apparently fails even
when not forked.

13 years ago* include/cygwin/version.h: Bump CYGWIN_VERSION_DLL_MINOR to 9.
Christopher Faylor [Tue, 1 Mar 2011 22:35:00 +0000 (22:35 +0000)]
* include/cygwin/version.h: Bump CYGWIN_VERSION_DLL_MINOR to 9.

13 years ago2011-03-01 Aaron Landwehr <snaphat@gmail.com>
Jeff Johnston [Tue, 1 Mar 2011 21:43:15 +0000 (21:43 +0000)]
2011-03-01  Aaron Landwehr <snaphat@gmail.com>

        * libm/complex/cproj.c: Fix typo.
        * libm/complex/cprojf.c: Ditto.

13 years ago* autoload.cc (dll_load): Only perform DONT_RESOLVE_DLL_REFERENCES hack on
Christopher Faylor [Tue, 1 Mar 2011 00:19:23 +0000 (00:19 +0000)]
* autoload.cc (dll_load): Only perform DONT_RESOLVE_DLL_REFERENCES hack on
systems which need it.
* wincap.cc (use_dont_resolve_hack): Set as appropriate.
* wincap.h (use_dont_resolve_hack): Define.

13 years ago* autoload.cc (dll_load): Make inline. Clarify logic.
Christopher Faylor [Mon, 28 Feb 2011 20:55:10 +0000 (20:55 +0000)]
* autoload.cc (dll_load): Make inline.  Clarify logic.

13 years agoChangeLog libiberty/
Kai Tietz [Mon, 28 Feb 2011 18:30:14 +0000 (18:30 +0000)]
ChangeLog libiberty/
2011-02-28  Kai Tietz  <kai.tietz@onevision.com>

* filename_cmp.c (filename_ncmp): New function.
* functions.texi: Regenerated.

ChangeLog include/
2011-02-28  Kai Tietz  <kai.tietz@onevision.com>

* filenames.h (filename_ncmp): New prototype.

ChangeLog bfd/
2011-02-28  Kai Tietz  <kai.tietz@onevision.com>

* archive.c (_bfd_find_nested_archive): Use filename_(n)cmp.
(adjust_relative_path): Likewise.
(_bfd_construct_extended_name_table): Likewise.
* corefile.c (generic_core_file_matches_executable_p): Likewise.
* elf32-bfin.c (bfinfdpic_relocate_section): Likewise.
* elf32-frv.c (elf32_frv_relocate_section): Likewise.
* elf32-spu.c (sort_bfds): Likewise.
(spu_elf_auto_overlay): Likewise.
* syms.c (_bfd_stab_section_find_nearest_line): Likewise.
* xcofflink.c (xcoff_set_import_path): Likewise.
* xtensa-isa.c (xtensa_regfile_lookup): Likewise.
(xtensa_regfile_lookup_shortname): Likewise.

13 years ago gas/
Maciej W. Rozycki [Mon, 28 Feb 2011 16:06:51 +0000 (16:06 +0000)]
gas/
* config/tc-mips.c (macro): Handle M_PREF_AB.

include/opcode/
* mips.h (M_PREF_AB): New enum value.

opcodes/
* mips-opc.c (mips_builtin_opcodes): Add "pref" macro.

13 years agoSwap ChangeLog entries.
Maciej W. Rozycki [Mon, 28 Feb 2011 16:03:38 +0000 (16:03 +0000)]
Swap ChangeLog entries.

13 years ago * autoload.cc (dll_load): Only call LoadLibraryExW with
Corinna Vinschen [Sun, 27 Feb 2011 09:45:58 +0000 (09:45 +0000)]
* autoload.cc (dll_load): Only call LoadLibraryExW with
DONT_RESOLVE_DLL_REFERENCES if a normal LoadLibrary call failed with
ERROR_INVALID_ADDRESS.
(LsaRegisterLogonProcess): Align comment to previous change.

13 years ago* autoload.cc: Use LoadDLLfuncEx3 for all winmm functions. Accommodate changes
Christopher Faylor [Sat, 26 Feb 2011 23:30:33 +0000 (23:30 +0000)]
* autoload.cc: Use LoadDLLfuncEx3 for all winmm functions.  Accommodate changes
to LoadDLLprime.
(LoadDLLprime): Take an extra argument indicating whether this dll needs
special handling on fork.  Place this information in the "handle" location.
(LoadDLLfuncEx3): Eliminate "func" handling.  Pass new no_resolve_on_fork
argument to LoadDLLprime.
(dll_load): New function.
(std_dll_init): Accommodate changes to dll_info::handle.  Use dll_load to load
DLL in both cases where it is used.

13 years ago * autoload.cc: Make autoloaded ntdll function non-optional. Ditto for
Corinna Vinschen [Sat, 26 Feb 2011 20:47:56 +0000 (20:47 +0000)]
* autoload.cc: Make autoloaded ntdll function non-optional.  Ditto for
secur32 functions, except for LsaRegisterLogonProcess.  Change return
value to ERROR_PROC_NOT_FOUND.  Explain why.
* sec_auth.cc (lsaauth): Handle ERROR_PROC_NOT_FOUND from call to
LsaRegisterLogonProcess when generating the errno value.

13 years agofix pr number
Alan Modra [Fri, 25 Feb 2011 12:33:53 +0000 (12:33 +0000)]
fix pr number

13 years ago PR 12519
Alan Modra [Fri, 25 Feb 2011 07:48:51 +0000 (07:48 +0000)]
PR 12519
* internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size
sections at start or end of PT_DYNAMIC.

13 years agoChangeLog include/
Kai Tietz [Wed, 23 Feb 2011 08:52:34 +0000 (08:52 +0000)]
ChangeLog include/

2011-02-23  Kai Tietz  <kai.tietz@onevision.com>

* dwarf2.h (_ELF_DWARF2_H): Renamed to
_DWARF2_H.
(DWARF2_External_LineInfo, DWARF2_Internal_LineInfo,
DWARF2_External_PubNames, DWARF2_Internal_PubNames,
DWARF2_External_CompUnit, DWARF2_Internal_CompUnit,
DWARF2_External_ARange, DWARF2_Internal_ARange): Removed.

ChangeLog binutils/

2011-02-23  Kai Tietz  <kai.tietz@onevision.com>

* dwarf.c (read_leb128): Use bfd_vma instead of
long type.
(dwarf_vmatoa): New helper routine.
(process_extended_line_op): Use for adr bfd_vma
type and print those typed values via BFD_VMA_FMT
or via dwarf_vmatoa for localized prints.
(fetch_indirect_string): Adjust offset's type.
(decode_location_expression): Adjust argument types
and uvalue type.
(read_and_display_attr_value): Likewise.
(read_and_display_attr): Likewise.
(decode_location_expression): Adjust printf format.
(process_debug_info): Likewise.
(display_debug_lines_raw): Likewise.
(display_debug_lines_decoded): Likewise.
(display_debug_pubnames): Likewise.
(display_debug_loc): Likewise.
(display_debug_aranges): Likewise.
* dwarf.h (DWARF2_External_LineInfo,
DWARF2_Internal_LineInfo, DWARF2_External_PubNames,
DWARF2_Internal_PubNames, DWARF2_External_CompUnit,
DWARF2_Internal_CompUnit, DWARF2_External_ARange,
DWARF2_Internal_ARange): Added..
(read_leb128): Adjust return type.

13 years ago * libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGV
Corinna Vinschen [Tue, 22 Feb 2011 15:38:14 +0000 (15:38 +0000)]
* libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition.  Avoid SEGV
if incoming buffer is NULL.

13 years ago * dcrt0.cc: Fix copyright dates.
Corinna Vinschen [Tue, 22 Feb 2011 09:17:57 +0000 (09:17 +0000)]
* dcrt0.cc: Fix copyright dates.
* winsup.h: Ditto.
* syscalls.cc (_read): Move EXPORT_ALIAS to its rightful place.

13 years agoForced checkin
Corinna Vinschen [Tue, 22 Feb 2011 08:58:15 +0000 (08:58 +0000)]
Forced checkin

13 years ago* cygwin.din: Mark __assert* and _abort as NOSIGFE.
Christopher Faylor [Tue, 22 Feb 2011 01:32:42 +0000 (01:32 +0000)]
* cygwin.din: Mark __assert* and _abort as NOSIGFE.

13 years agoAdd missing Changelog entry for previous patch:
Corinna Vinschen [Mon, 21 Feb 2011 17:11:10 +0000 (17:11 +0000)]
Add missing Changelog entry for previous patch:

* fhandler_socket (fhandler_socket::readv): Call recv_internal directly,
rather than recvmsg.
(fhandler_socket::writev): Call send_internal directly, rather than
sendmsg.
* net.cc (cygwin_recv): Call fhandler_socket::recvfrom directly, rather
than cygwin_recvfrom.
(cygwin_send): Call fhandler_socket::sendto directly, rather than
cygwin_sendto.

13 years ago * fhandler_socket (fhandler_socket::readv): Call recv_internal directly,
Corinna Vinschen [Mon, 21 Feb 2011 17:01:05 +0000 (17:01 +0000)]
* fhandler_socket (fhandler_socket::readv): Call recv_internal directly,
rather than recvmsg.
(fhandler_socket::writev): Call send_internal directly, rather than
sendmsg.
* net.cc (cygwin_recv): Call fhandler_socket::recvfrom directly, rather
than cygwin_recvfrom.
(cygwin_send): Call fhandler_socket::sendto directly, rather than
cygwin_sendto.

13 years ago* fhandler.cc (fhandler_base_overlapped::close): Finish any pending I/O before
Christopher Faylor [Mon, 21 Feb 2011 03:18:30 +0000 (03:18 +0000)]
* fhandler.cc (fhandler_base_overlapped::close): Finish any pending I/O before
closing.
(fhandler_base_overlapped::wait_overlapped): Defensively zero bytes read.  Add
more info to debugging output.

13 years ago* dcrt0.cc (dll_crt0_1): Add a CYGHEAP_DEBUG conditional for debugging which
Christopher Faylor [Fri, 18 Feb 2011 17:43:22 +0000 (17:43 +0000)]
* dcrt0.cc (dll_crt0_1): Add a CYGHEAP_DEBUG conditional for debugging which
allocates a lot of space at startup.

13 years ago * cygwin.sc: Set alignment of .cygheap section to 64K.
Corinna Vinschen [Fri, 18 Feb 2011 16:15:20 +0000 (16:15 +0000)]
* cygwin.sc: Set alignment of .cygheap section to 64K.

13 years ago * spawn.cc (spawn_guts): Only set PID_NOTCYGWIN in _P_OVERLAY mode.
Corinna Vinschen [Tue, 15 Feb 2011 18:11:50 +0000 (18:11 +0000)]
* spawn.cc (spawn_guts): Only set PID_NOTCYGWIN in _P_OVERLAY mode.
Drop flag if creating new process failed.

13 years ago * new-features.sgml (ov-new1.7.8): Fix typo.
Corinna Vinschen [Tue, 15 Feb 2011 16:05:27 +0000 (16:05 +0000)]
* new-features.sgml (ov-new1.7.8): Fix typo.

13 years ago * cygcheck.cc: Fix copyright dates.
Corinna Vinschen [Tue, 15 Feb 2011 15:57:35 +0000 (15:57 +0000)]
* cygcheck.cc: Fix copyright dates.

13 years agoforced checkin
Corinna Vinschen [Tue, 15 Feb 2011 15:56:23 +0000 (15:56 +0000)]
forced checkin

13 years ago * Throughout fix copyright dates.
Corinna Vinschen [Tue, 15 Feb 2011 15:56:03 +0000 (15:56 +0000)]
* Throughout fix copyright dates.

13 years ago * legal.sgml: Bump date.
Corinna Vinschen [Tue, 15 Feb 2011 15:37:59 +0000 (15:37 +0000)]
* legal.sgml: Bump date.
* new-features.sgml (ov-new1.7.8): Move dropped NT4 pre-SP4 support
up to be the first paragraph.

13 years ago * new-features.sgml (ov-new1.7.8): Document /proc/sys.
Corinna Vinschen [Tue, 15 Feb 2011 15:32:19 +0000 (15:32 +0000)]
* new-features.sgml (ov-new1.7.8): Document /proc/sys.

13 years ago * devices.in: Throughout use slashes instead of backslashes in the
Corinna Vinschen [Tue, 15 Feb 2011 15:25:59 +0000 (15:25 +0000)]
* devices.in: Throughout use slashes instead of backslashes in the
native path of devices not backed by native NT devices.
* devices.cc: Regenerate.
* globals.cc (ro_u_pmem): Use correct case.
(ro_u_globalroot): New R/O unicode string.
* path.cc (path_conv::check): Fix incorrect handling of /proc/sys
block devices if they are just visited due to a component check.
(symlink_info::posixify): Fix typo in comment.
(cygwin_conv_path): Use ro_u_globalroot instead of string constant.
(fast_cwd_version): New shared variable to store FAST_CWD version
used on the system.
(find_fast_cwd_pointer): Rename from find_fast_cwd_pointers.  Don't
set global fast_cwd_ptr pointer here.  Return pointer value instead.
(find_fast_cwd): New function to set fast_cwd_ptr and fast_cwd_version.
(cwdstuff::override_win32_cwd): Call find_fast_cwd from here.
Check for fast_cwd_version to differ between old and new FAST_CWD
structure.  Check old_cwd for NULL to avoid SEGV.  Don't set CWD if
we have neitehr a valid fast_cwd_ptr, nor a valid CWD handle in the
process parameter block.
(cwdstuff::set): Create Win32 path taking /proc/sys paths into account.
* spawn.cc (spawn_guts): Recode creating runpath.  Also take /proc/sys
paths into account.  Drop special CWD handling when starting non-Cygwin
processes.

13 years ago * fhandler_procsys.cc (fhandler_procsys::opendir): Avoid SEGV if
Corinna Vinschen [Tue, 15 Feb 2011 14:44:11 +0000 (14:44 +0000)]
* fhandler_procsys.cc (fhandler_procsys::opendir): Avoid SEGV if
opening object directory fails.
* fhandler_virtual.cc (fhandler_virtual::opendir): Don't leak memory.

13 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Don't
Corinna Vinschen [Tue, 15 Feb 2011 10:47:24 +0000 (10:47 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Don't
append slash if there is one already.

13 years ago Revert change from 2010-08-31:
Corinna Vinschen [Tue, 15 Feb 2011 10:39:36 +0000 (10:39 +0000)]
Revert change from 2010-08-31:
* path.cc (normalize_posix_path): Drop support for //./ and //?/
prefixes.
(path_conv::check): Ditto.

13 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Use POSIX
Corinna Vinschen [Tue, 15 Feb 2011 10:31:54 +0000 (10:31 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Use POSIX
path to check for symlink.

13 years ago * config/i386/profile.h: Sync with Mingw.
Corinna Vinschen [Mon, 14 Feb 2011 09:42:19 +0000 (09:42 +0000)]
* config/i386/profile.h: Sync with Mingw.

13 years agoRemove freebsd1 from libtool.m4 macros and config.rpath.
Ralf Wildenhues [Sun, 13 Feb 2011 21:00:08 +0000 (21:00 +0000)]
Remove freebsd1 from libtool.m4 macros and config.rpath.

/:
Import from Libtool and gnulib:

2011-01-27  Gerald Pfeifer  <gerald@pfeifer.com>

Prepare for supporting FreeBSD 10.
* config.rpath: Remove handling of freebsd1* which soon would
match FreeBSD 10.0.

2011-01-20  Gerald Pfeifer  <gerald@pfeifer.com>  (tiny change)

Remove support for FreeBSD 1.x.
* libtool.m4 (_LT_LINKER_SHLIBS)
(_LT_SYS_DYNAMIC_LINKER): Remove handling of freebsd1* which
soon would incorrectly match FreeBSD 10.0.

bfd/:
* configure: Regenerate.

gas/:
* configure: Regenerate.

ld/:
* configure: Regenerate.

opcodes/:
* configure: Regenerate.

binutils/:
* configure: Regenerate.

gprof/:
* configure: Regenerate.

13 years ago * path.cc (struct _FAST_CWD): Redefine to new layout used since patch
Corinna Vinschen [Sun, 13 Feb 2011 15:43:00 +0000 (15:43 +0000)]
* path.cc (struct _FAST_CWD): Redefine to new layout used since patch
for KB 2393802.  Adjust comments throughout.
(struct _FAST_CWD_OLD): Rename former definition.
(cwdstuff::override_win32_cwd): Check if the OS is using the old or the
new FAST_CWD structure layout and handle accordingly.

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