summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2009-07-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-07-282-2/+5
| | | | * mingwex/stdio/pformat.c: Implement better fix for type punned warning.
* Convert to monolithic configuration procedure.Keith Marshall2009-07-2712-8342/+215
|
* * include/winnt.h (FILE_SUPPORTS_HARD_LINKS,Corinna Vinschen2009-07-273-0/+24
| | | | | | | FILE_SUPPORTS_EXTENDED_ATTRIBUTES, FILE_SUPPORTS_OPEN_BY_FILE_ID, FILE_SUPPORTS_USN_JOURNALS): Define. Add comment. * include/ddk/ntifs.h: Ditto. (FILE_SEQUENTIAL_WRITE_ONCE, FILE_SUPPORTS_TRANSACTIONS): Define.
* * posix.sgml (std-notes): Remove obsolete reference to CYGWIN=server.Corinna Vinschen2009-07-272-3/+5
|
* * posix.sgml (std-notes): Add flock restriction.Corinna Vinschen2009-07-262-0/+9
|
* bfd/H.J. Lu2009-07-252-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * archures.c (bfd_architecture): Add bfd_arch_l1om. (bfd_l1om_arch): New. (bfd_archures_list): Add &bfd_l1om_arch. * bfd-in2.h: Regenerated. * config.bfd (targ64_selvecs): Add bfd_elf64_l1om_vec if bfd_elf64_x86_64_vec is supported. Add bfd_elf64_l1om_freebsd_vec if bfd_elf64_x86_64_freebsd_vec is supported. (targ_selvecs): Likewise. * configure.in: Support bfd_elf64_l1om_vec and bfd_elf64_l1om_freebsd_vec. * configure: Regenerated. * cpu-l1om.c: New. * elf64-x86-64.c (elf64_l1om_elf_object_p): New. (bfd_elf64_l1om_vec): Likewise. (bfd_elf64_l1om_freebsd_vec): Likewise. * Makefile.am (ALL_MACHINES): Add cpu-l1om.lo. (ALL_MACHINES_CFILES): Add cpu-l1om.c. * Makefile.in: Regenerated. * targets.c (bfd_elf64_l1om_vec): New. (bfd_elf64_l1om_freebsd_vec): Likewise. (_bfd_target_vector): Add bfd_elf64_l1om_vec and bfd_elf64_l1om_freebsd_vec. binutils/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * readelf.c (guess_is_rela): Handle EM_L1OM. (dump_relocations): Likewise. (get_machine_name): Likewise. (get_section_type_name): Likewise. (get_elf_section_flags): Likewise. (get_symbol_index_type): Likewise. (is_32bit_abs_reloc): Likewise. (is_32bit_pcrel_reloc): Likewise. (is_64bit_abs_reloc): Likewise. (is_64bit_pcrel_reloc): Likewise. (is_none_reloc): Likewise. gas/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * config/tc-i386.c (cpu_arch): Add l1om. (check_cpu_arch_compatible): New. (set_cpu_arch): Use it. (i386_arch): New. (i386_mach): Return bfd_mach_l1om for Intel L1OM. (md_show_usage): Display l1om. (i386_target_format): Return ELF_TARGET_L1OM_FORMAT if cpu_arch_isa_flags.bitfield.cpul1om is set. * config/tc-i386.h (TARGET_ARCH): Use (i386_arch ()). (i386_arch): New. (ELF_TARGET_L1OM_FORMAT): Likewise. * doc/c-i386.texi: Document l1om. gas/testsuite/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * gas/i386/l1om.d: New. * gas/i386/l1om-inval.l: Likewise. * gas/i386/l1om-inval.s: Likewise. * gas/i386/i386.exp: Run l1om-inval and l1om. include/elf/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * common.h (EM_L1OM): New. ld/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * configure.tgt (targ64_extra_emuls): Add elf_l1om if elf_x86_64 is supported. Add elf_l1om_fbsd if elf_x86_64_fbsd is supported. (targ_extra_emuls): Likewise. * Makefile.am (ALL_64_EMULATIONS): Add eelf_l1om.o and eelf_l1om_fbsd.o (eelf_l1om.c): New. (eelf_l1om_fbsd.c): Likewise. * Makefile.in: Regenerated. * emulparams/elf_l1om.sh: New. * emulparams/elf_l1om_fbsd.sh: Likewise. ld/testsuite/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * ld-x86-64/abs-l1om.d: New. * ld-x86-64/protected2-l1om.d: Likewise. * ld-x86-64/protected3-l1om.d: Likewise. * ld-x86-64/x86-64.exp: Run abs-l1om, protected2-l1om and protected3-l1om. opcodes/ 2009-07-25 H.J. Lu <hongjiu.lu@intel.com> * configure.in: Handle bfd_l1om_arch. * disassemble.c (disassembler): Likewise. * configure: Regenerated. * i386-dis.c (print_insn): Handle bfd_mach_l1om and bfd_mach_l1om_intel_syntax. Use 8 bytes per line for Intel L1OM. * i386-gen.c (cpu_flag_init): Set CPU_UNKNOWN_FLAGS to ~CpuL1OM. Add CPU_L1OM_FLAGS. (cpu_flags): Add CpuL1OM. (set_bitfield): Take an argument to set the value field. (process_i386_cpu_flag): Support ~CpuXXX and ~(CpuXXX|CpuYYY). (process_i386_opcode_modifier): Updated. (process_i386_operand_type): Likewise. * i386-init.h: Regenerated. * i386-tbl.h: Likewise. * i386-opc.h (CpuL1OM): New. (CpuXsave): Updated. (i386_cpu_flags): Add cpul1om.
* merge from gccDJ Delorie2009-07-251-1/+1
|
* * fhandler_console.cc (set_console_title): Set buffer size toCorinna Vinschen2009-07-252-2/+7
| | | | TITLESIZE + 1. Call sys_mbstowcs with correct destination length.
* merge from gccDJ Delorie2009-07-252-1/+8
|
* * sigproc.h (wait_for_sigthread): Eliminate parameter.Christopher Faylor2009-07-2421-143/+341
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * sigproc.cc (wait_for_sigthread): Ditto. Don't synchronize with wait_sig after receiving an event that it is ready to go. (init_sig_pipe): New function. (wait_sig): Call init_sig_pipe to create pipes for communicating signals to this process. Don't send sigCONT signal when initializing. * fork.cc (frok::child): Accommodate wait_for_sigpipe parameter change. * fhandler.h (fhandler_*::write): Make ssize_t/__stdcall. (fhandler_*::write_overlapped): Ditto. (fhandler_*::raw_write): Ditto. (fhandler_*::readv): Ditto. (fhandler_*::writev): Ditto. (fhandler_*::raw_read): Make __stdcall. * fhandler: Accommodate changes to read/write functions throughout. * fhandler_clipboard.cc: Ditto. * fhandler_console.cc: Ditto. * fhandler_dsp.cc: Ditto. * fhandler_fifo.cc: Ditto. * fhandler_mailslot.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_mem.cc: Ditto. * fhandler_random.cc: Ditto. * fhandler_tape.cc: Ditto. * fhandler_tty.cc: Ditto. * fhandler_virtual.cc: Ditto. * fhandler_windows.cc: Ditto. * fhandler_zero.cc: Ditto. * syscalls.cc (readv): Use ssize_t as temp variable. * fhandler.cc (fhandler_base::read): Coerce returned len to signed or it will never be treated as < 0. (fhandler_base::wait_overlapped): Minimize calls to GetLastError. Remove duplicate debugging test. Fix error return. * fhandler.h (fhandler_fifo::fifo_name): Declare new function. (fhandler_fifo::close): Ditto. (fhandler_fifo::dup): Ditto. (fhandler_fifo::close_on_exec): Ditto. * fhandler.cc (fhandler_fifo::fifo_name): Define new function. (FIFO_BUF_SIZE): New define. (cnp): Ditto. (fhandler_fifo::open): Rework. Use cnp to open named pipe. Always open write side as a client. Open dummy client when writing and can't connect. (wait): Rework. Implement fifo_wait_for_next_client. Handle signals during connect better. Add new fifo_wait_for_server code which polls (sigh) waiting for server. (fhandler_fifo::raw_read): Handle transition states when one client closes and another is available. (fhandler_fifo::close): Define. (fhandler_fifo::dup): Ditto. (fhandler_fifo::close_on_exec): Ditto.
* include/elf/Trevor Smigiel2009-07-242-0/+6
| | | | | | | | | | | | | | | | | | | * spu.h (R_SPU_ADD_PIC): New. bfd/ * reloc.c (BFD_RELOC_SPU_ADD_PIC): Define. * bfd-in2.h: Regenerate. * libbfd.h: Regenerate. * elf32-spu.c (elf_howto_table): Add entries SPU_ADD_PIC. (spu_elf_bfd_to_reloc_type): Handle SPU_ADD_PIC. (spu_elf_relocate_section): Patch instructions marked by SPU_ADD_PIC. gas/ * config/tc-spu.c (md_apply_fix): Handle SPU_ADD_PIC. * config/tc-spu.h (tc_fix_adjustable): Don't adjust for SPU_ADD_PIC. (TC_FORCE_RELOCATION): Emit relocs for SPU_ADD_PIC. ld/testsuite/ * ld-spu/pic.d: New. * ld-spu/pic.s: New. * ld-spu/picdef.s: New.
* * syscalls.cc (internal_setlocale): Fix typo in GBK codepage.Corinna Vinschen2009-07-242-1/+5
|
* * syscalls.cc (unlink_nt): Ignore sharing violation on NFS. AlignCorinna Vinschen2009-07-242-3/+9
| | | | comments.
* 2009-07-23 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-07-242-0/+7
| | | | | * msvcrt.def.in: disable time symbol for libmsvcr90.a and libmsvcr90d.a due to complaints that it causes issues.
* 2009-07-23 Jacky Lai <crazyjacky@users.sourceforge.net>Chris Sutcliffe2009-07-242-1/+5
| | | | * mingwex/math/fminf.c: switch to using __isnanf() as opposed to _isnan().
* * config/obj-elf.c (obj_elf_type): Add code to support a type ofNick Clifton2009-07-232-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | gnu_unique_object. * doc/as.texinfo: Document new feature of .type directive. * NEWS: Mention support for gnu_unique_object symbol type. * common.h (STB_GNU_UNIQUE): Define. * NEWS: Mention the linker's support for symbols with a binding of STB_GNU_UNIQUE. * gas/elf/type.s: Add unique global symbol definition. * gas/elf/type.e: Add expected readelf output for global unique symbol. * elfcpp.h (enum STB): Add STB_GNU_UNIQUE. * readelf.c (get_symbol_binding): For Linux targeted files return UNIQUE for symbols with the STB_GNU_UNIQUE binding. * doc/binutils.texi: Document the meaning of the 'u' symbol binding in the output of nm and objdump --syms. * elf-bfd.h (struct elf_link_hash_entry): Add unique_global field. * elf.c (swap_out_syms): Set binding to STB_GNU_UNIQUE for symbols with the BSF_GNU_UNIQUE flag bit set. * elfcode.h (elf_slurp_symbol_table): Set the BSF_GNU_UNIQUE flag for symbols with STB_GNU_UNIQUE binding. * elflink.c (_bfd_elf_merge_symbol): Set unique_global for symbols with the STB_GNU_UNIQUE binding. (elf_link_add_object_symbols): Set the BSF_GNU_UNIQUE flag for symbols with STB_GNU_UNIQUE binding. Set STB_GNU_UNIQUE for symbols with the unique_global field set. (elf_link_output_extsym): Set unique_global field for symbols with the STB_GNU_UNIQUE binding. * syms.c (struct bfd_symbol): Define BSF_GNU_UNIQUE flag bit. (bfd_print_symbol_vandf): Print a 'u' character for BSF_GNU_UNIQUE symbols. (bfd_decode_symclass): Return a 'u' character for BSF_GNU_UNIQUE symbols. * bfd-in2.h: Regenerate.
* * mount.h (fs_info::fsn): New member.Corinna Vinschen2009-07-233-3/+28
| | | | | | | | | | (fs_info::clear): Clear fsn. (fs_info::fsname): New read accessor for fsn. * mount.cc (fs_info::update): Fill in fsn member with lowercased filesystem name if filesystem is not well-known. Fall back to "unknown" if filesystem name is missing. (fillout_mntent): Print filesystem name retrieved in fs_info::update rather than static string "unknown".
* * cygcheck.cc (dump_sysinfo): Add missing "Server Foundation" toCorinna Vinschen2009-07-232-1/+6
| | | | products array.
* * faq-using.xml (faq.using.ipv6): Try to clarify OS specific support.Corinna Vinschen2009-07-234-7/+15
| | | | | * faq-what.xml (faq.what.supported): Add Windows 7 and 2008 R2. * new-features.sgml: Add "and later" to rcmd news.
* * mount.cc (fs_info::update): Revert to open filesystem with access setCorinna Vinschen2009-07-232-5/+16
| | | | to READ_CONTROL. If that fails, try additionally with FILE_READ_DATA.
* * exceptions.cc (handle_exceptions): Set si_addr according toEric Blake2009-07-232-7/+14
| | | | POSIX for SIGSEGV.
* * mount.cc (fs_info::update): Open filesystem with access set to 0.Corinna Vinschen2009-07-222-4/+11
| | | | Explain why.
* * mount.cc: Revert accidental checkin.Corinna Vinschen2009-07-222-1/+5
|
* * path.cc (symlink_info::check): Handle STATUS_NOT_SUPPORTED fromCorinna Vinschen2009-07-222-1/+8
| | | | NtCreateFile just like STATUS_EAS_NOT_SUPPORTED.
* * mount.cc (do_mount): Replace --no-executable flag with notexecCorinna Vinschen2009-07-223-2/+8
| | | | | mount option in hint for remote filesystems. * path.cc (getmntent): Fix typo (noexec -> notexec).
* * mount.cc (fillout_mntent): Fix typo (noexec -> notexec).Corinna Vinschen2009-07-222-2/+6
|
* * path.cc (symlink_info::check): Fix typo in comment.Corinna Vinschen2009-07-222-2/+6
|
* * fhandler.h (enum del_lock_called_from): New enumeration.Corinna Vinschen2009-07-224-7/+35
| | | | | | | | | | | (fhandler_base::del_my_locks): Declare taking a del_lock_called_from as argument. * fhandler.cc (fhandler_base::close): Call del_my_locks with "on_close". (fhandler_base::fixup_after_fork): Call del_my_locks with "after_fork". (fhandler_base::fixup_after_exec): Call del_my_locks with "after_exec". * flock.cc (fhandler_base::del_my_locks): Take del_lock_called_from as argument. Call node->del_my_locks with NULL handle in after_exec case. Explain why.
* * Makefile.in (path-mount.o): Add a rule to build stripped down versionCorinna Vinschen2009-07-226-26/+175
| | | | | | | | | | | | | | | | | | | | | | | of path.cc for usage in mount. (mount.exe): Add dependency to path-mount.o. * mount.cc (force): Convert to bool value. Accommodate throughout. (from_fstab): New function. (do_mount_from_fstab): New function. (longopts): Add --all option. (opts): Add -a option. (usage): Document -a/--all option. (main): Handle -a option as well as single parameter. * path.cc: Add FSTAB_ONLY conditional to allow building path-mount.o. (mount_table): Remove static storage class. (max_mount_entry): Ditto. (root_here): Unused. Remove. (from_fstab_line): Remove static. * path.h (struct mnt_t): Define here rather than in path.cc. (from_fstab_line): Declare. (mount_table): Declare. (max_mount_entry): Declare. * utils.sgml (mount): Document -a/--all option and mounting of single path from fstab files.
* Avoid a fault from locking a closed standard file.Eric Blake2009-07-222-5/+14
| | | | | * libc/stdio/fflush.c (_fflush_r): Give up early if stream has been previously closed.
* Add ccoutant to previous dwarf4 entry.Doug Evans2009-07-211-1/+2
|
* * dtable.cc (dup2): Correct return value for no-op.Corinna Vinschen2009-07-212-1/+5
|
* * lib/msimg32.def (GetDCBrushColor, GetDCPenColor): Move entry pointsCorinna Vinschen2009-07-213-2/+8
| | | | | from here... * lib/gdo32.dll: ...to here.
* * fhandler_disk_file.cc (fhandler_disk_file::fchmod): Add special caseCorinna Vinschen2009-07-212-6/+49
| | | | | | | for MVFS. Explain why. (fhandler_disk_file::utimens): Drop local variables lastaccess and lastwrite. Copy timestamps right into FILE_BASIC_INFORMATION structure to avoid copying them twice.
* Add some dwarf4 values.Doug Evans2009-07-202-1/+18
| | | | | | | * dwarf2.h (enum dwarf_tag): Add DW_TAG_type_unit. (enum dwarf_form): Add DW_FORM_sec_offset, DW_FORM_exprloc, DW_FORM_flag_present, DW_FORM_sig8. (enum dwarf_attribute): Add DW_AT_signature.
* * wincap.h (wincaps::has_always_all_codepages): New element.Corinna Vinschen2009-07-205-6/+71
| | | | | | | | | | | | | | | * wincap.cc: Implement above element throughout. * wchar.h (__sjis_mbtowc): Declare. (__eucjp_mbtowc): Ditto. (__gbk_mbtowc): Ditto. (__kr_mbtowc): Ditto. (__big5_mbtowc): Ditto. * syscalls.cc (internal_setlocale): Convert to char * function. Return parameter by default. Return NULL if request to use a charset can't be satisfied due to missing codepage support in the underlying OS. Fix comment. (setlocale): Store original locale. Restore to original locale if internal_setlocale returns NULL.
* * Makefile.in (all): Fix wrong target names.Corinna Vinschen2009-07-202-6/+14
| | | | | | (cygwin-ug-net/cygwin-ug-net-nochunks.html.gz): Ditto. (cygwin-ug-net/cygwin-ug-net.pdf): Convert to use docbook2pdf. (cygwin-api/cygwin-api.pdf): Ditto.
* * fork.cc (fork): Create local tmp_pathbuf. Explain why.Corinna Vinschen2009-07-202-0/+9
|
* * faq: Throughout, revert references to User's Guide to default URL.Corinna Vinschen2009-07-206-19/+23
|
* * new-features.sgml (ov-new1.7-misc): Add stdc++ new/delete wrappers.Corinna Vinschen2009-07-202-0/+8
|
* * new-features.sgml (ov-new1.7-posix): Add WCONTINUED, WIFCONTINUED.Corinna Vinschen2009-07-202-0/+6
|
* * setup2.sgml (setup-locale-charsetlist): Fix ISO88-59-13 and -15Corinna Vinschen2009-07-202-2/+7
| | | | codepage numbers.
* * exceptions.cc (sig_handle_tty_stop): Set stopsig to SIGCONT when continuing.Christopher Faylor2009-07-185-4/+21
| | | | | | | | (stopped_or_terminated): Honor WCONTINUED. * wait.cc (wait4): Ditto. * include/cygwin/wait.h (WCONTINUED): Define. (__W_CONTINUED): Ditto. (WIFCONTINUED): Ditto.
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-188-5/+58
| | | | | | * include/inttypes.h include/math.h include/stdio.h include/stdlib.h include/string.h include/unistd.h include/wchar.h: Add __NO_INLINE__ guard to all inline functions.
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-183-0/+13
| | | | | * CRT_fp8.c: Add PCC alternative to GCC-specific constructs. * CRT_fp10.c: Ditto.
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-183-2/+8
| | | | | | * cpu_features.c: replace gcc-specific construct with portable alternative and match the code a few lines above. * crt1.c: remove gcc-specific noreturn attribute with mingw alternative
* 2009-07-18 Gregory McGarry <gregorymcgarry@users.sourceforge.net>Chris Sutcliffe2009-07-182-12/+54
| | | | * include/_mingw.h: Changes required for PCC compiler.
* 2009-07-18 Jeff Lu <jll544@yahoo.com>Chris Sutcliffe2009-07-182-1/+5
| | | | * mingwex/usleep.c: round up to next ms
* 2009-07-17 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-07-1810-300/+307
| | | | | | | * mingwex/math/cephes_mconf.h mingwex/math/erfl.c mingwex/math/lgamma.c mingwex/math/lgammal.c mingwex/math/powl.c mingwex/math/sinhl.c mingwex/math/tanhl.c mingwex/math/tgamma.c mingwex/math/tgammal.c: Based on the fixes from the mingw-w64 code tree, fixed strict-aliasing issues.
* * libstdcxx_wrapper.cc (operator delete): Remove stray space inDave Korn2009-07-172-1/+6
| | | | asm name.