739a6f4749* Makefile.in: Update copyright. Fix 'check' target so that it will once-again create a working testsuite directory. Add a comment this time to explain the unusual behavior. (Previous ChangeLog checkin did not include accompanying Makefile.in)
Christopher Faylor
2006-07-23 23:28:06 +0000
3160f998c5* configure.in: Allow mingw32 and cygwin targets to build cross-gdb. * configure: Regenerated. gdb/ * config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete. * config/i386/nm-cygwin.h: Add contents of tm-cygwin.h. * config/i386/tm-cygwin.h: Delete file.
Daniel Jacobowitz
2006-07-23 03:47:43 +0000
1d11c27d852006-07-22 ipsoner <ipsoner@users.sourceforge.net>
Chris Sutcliffe
2006-07-22 13:31:18 +0000
feef8df7bc2006-07-20 Elias Naur <elias_naur@users.sourceforge.net>
Chris Sutcliffe
2006-07-22 12:06:11 +0000
813f0dcaae2006-07-22 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-07-22 11:47:23 +0000
723ded27782006-07-19 Elias Naur <elias_naur@users.sourceforge.net>
Danny Smith
2006-07-19 21:45:25 +0000
e2213b70dd* Makefile.in: Simplify a little.
Christopher Faylor
2006-07-18 03:24:07 +0000
f62412f235GCC 4.1 fixes. * cygheap.h (cygheap_user): Remove unneeded class names from function declaration. * fhandler.h (fhandler_base): Ditto. (fhandler_dev_floppy): Ditto. (fhandler_console): Ditto. * wininfo.h (wininfo): Ditto. * exceptions.cc (sigpacket::process): Avoid compiler errors about gotos and initialization. * fhandler_fifo.cc (fhandler_fifo::open): Ditto. * fhandler_floppy.cc (fhandler_dev_floppy::ioctl): Ditto. * fhandler_tty.cc (fhandler_tty_slave::ioctl): Ditto. * mmap.cc (mmap64): Ditto. * pipe.cc (fhandler_pipe::open): Ditto. * spawn.cc (spawn_guts): Ditto. * sec_helper.cc: Fix some comments. (get_null_sd): Move file-scope static to only function where it is used.
Christopher Faylor
2006-07-17 19:30:30 +0000
b04b2e6b6d* Makefile.def: Add dependencies for configure-opcodes on configure-intl and all-opcodes on all-intl. * Makefile.in: Regenerated.
Jakub Jelinek
2006-07-17 17:04:21 +0000
fbadc634cb* fork.cc (fork): Lock the process before forking to prevent things like new fds from being opened, etc. * sync.h (lock_process::dont_bother): New function.
Christopher Faylor
2006-07-14 22:15:12 +0000
d9ceecd2d2* include/cygwin/types.h: Update copyright.
Christopher Faylor
2006-07-14 21:45:00 +0000
ebc223f182* cygwin.sc: Make sure there's something in the cygheap. * dllfixdbg: Accommodate newer binutils which put the gnu_debuglink at the end rather than at the beginning.
Christopher Faylor
2006-07-14 19:33:55 +0000
62f94a893e2006-07-14 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu
2006-07-14 16:15:27 +0000
6b838263ea* sigproc.cc (waitq_head): Don't initialize to zero. * sigproc.h: Update copyright, fix whitespace.
Christopher Faylor
2006-07-14 00:50:55 +0000
2d73611e56Add amdfam10 instructions
Michael Meissner
2006-07-13 22:25:48 +0000
e8bf232949* fhandler.cc (fhandler_base::raw_read): Only return EISDIR when we're really trying to read a directory. * sigproc.cc: Use "Static" where appropriate.
Christopher Faylor
2006-07-13 20:56:24 +0000
2e19497afc* mmap.cc (mmap64): Drop MAP_NORESERVE flag for non-anonymous, non-private mappings. (mmap_record::unmap_pages): Only check noreserve flag which now implies anonymous and private. (mprotect): Ditto. (fixup_mmaps_after_fork): Ditto.
Corinna Vinschen
2006-07-13 10:29:21 +0000
f6105f89d5* exceptions.cc (_cygtls::handle_exceptions): Call new mmap_is_attached_or_noreserve_page function in case of access violation and allow application to retry access on noreserve pages. * mmap.cc (mmap_is_attached_or_noreserve_page): Changed from mmap_is_attached_page. Handle also noreserve pages now. Change comment accordingly. * winsup.h (mmap_is_attached_or_noreserve_page): Declare instead of mmap_is_attached_page.
Corinna Vinschen
2006-07-13 08:33:34 +0000
d44b979536* mmap.cc (mmap_record::alloc_page_map): Don't call VirtualProtect on maps created with MAP_NORESERVE.
Corinna Vinschen
2006-07-12 20:15:00 +0000
2633942858* include/pthread.h: Define PTHREAD_PRIO_NONE, PTHREAD_PRIO_INHERIT and PTHREAD_PRIO_PROTECT only if _POSIX_THREAD_PRIO_INHERIT is defined.
Corinna Vinschen
2006-07-12 09:55:47 +0000
a9ad8f8ca5include/ * bfdlink.h (struct bfd_link_info): Add emit_hash and emit_gnu_hash bitfields. include/elf/ * common.h (SHT_GNU_HASH, DT_GNU_HASH): Define. ld/ * scripttempl/elf.sc: Add .gnu.hash section. * emultempl/elf32.em (OPTION_HASH_STYLE): Define. (gld${EMULATION_NAME}_add_options): Register --hash-style option. (gld${EMULATION_NAME}_handle_option): Handle it. (gld${EMULATION_NAME}_list_options): Document it. * ldmain.c (main): Initialize emit_hash and emit_gnu_hash. * ld.texinfo: Document --hash-style option. bfd/ * elf.c (_bfd_elf_print_private_bfd_data): Handle DT_GNU_HASH. (bfd_section_from_shdr, elf_fake_sections, assign_section_numbers): Handle SHT_GNU_HASH. (special_sections_g): Include .gnu.hash section. (bfd_elf_gnu_hash): New function. * elf-bfd.h (bfd_elf_gnu_hash, _bfd_elf_hash_symbol): New prototypes. (struct elf_backend_data): Add elf_hash_symbol method. * elflink.c (_bfd_elf_link_create_dynamic_sections): Create .hash only if info->emit_hash, create .gnu.hash section if info->emit_gnu_hash. (struct collect_gnu_hash_codes): New type. (elf_collect_gnu_hash_codes, elf_renumber_gnu_hash_syms, _bfd_elf_hash_symbol): New functions. (compute_bucket_count): Don't compute HASHCODES array, instead add that and NSYMS as arguments. Use bed->s->sizeof_hash_entry instead of bed->s->arch_size / 8. Fix .hash size estimation. When not optimizing, use the number of hashed symbols rather than dynsymcount. (bfd_elf_size_dynamic_sections): Only add DT_HASH if info->emit_hash, and ADD DT_GNU_HASH if info->emit_gnu_hash. (bfd_elf_size_dynsym_hash_dynstr): Size .hash only if info->emit_hash, adjust compute_bucket_count caller. Create and populate .gnu.hash section if info->emit_gnu_hash. (elf_link_output_extsym): Only populate .hash section if finfo->hash_sec != NULL. (bfd_elf_final_link): Adjust assertion. Handle DT_GNU_HASH. * elfxx-target.h (elf_backend_hash_symbol): Define if not yet defined. (elfNN_bed): Add elf_backend_hash_symbol. * elf64-x86-64.c (elf64_x86_64_hash_symbol): New function. (elf_backend_hash_symbol): Define. * elf32-i386.c (elf_i386_hash_symbol): New function. (elf_backend_hash_symbol): Define. binutils/ * readelf.c (get_dynamic_type): Handle DT_GNU_HASH. (get_section_type_name): Handle SHT_GNU_HASH. (dynamic_info_DT_GNU_HASH): New variable. (process_dynamic_section): Handle DT_GNU_HASH. (process_symbol_table): Print also DT_GNU_HASH histogram. ld/testsuite/ * ld-powerpc/tlsso32.r: Adjust. * ld-powerpc/tlsso32.d: Adjust. * ld-powerpc/tlsso32.g: Adjust. * ld-powerpc/tlsso.r: Adjust. * ld-powerpc/tlsso.g: Adjust. * ld-powerpc/tlstocso.g: Adjust.
Jakub Jelinek
2006-07-10 21:40:24 +0000
722031140a* Makefile.in (DLL_OFILES): Add inet_addr.o and inet_network.o. * autoload.cc (inet_addr): Drop definition. (inet_ntoa): Ditto. * net.cc: Forward declare cygwin_inet_aton and cygwin_inet_ntop. (cygwin_inet_ntoa): Call cygwin_inet_ntop instead of Winsock inet_ntoa. (cygwin_inet_addr): Remove here. (cygwin_inet_aton): Ditto. (cygwin_inet_network): Ditto. * libc/inet_addr.c: New file implementing cygwin_inet_aton and cygwin_inet_addr. * libc/inet_network.c: New file implementing cygwin_inet_network.
Corinna Vinschen
2006-07-07 09:14:15 +0000
b4054e7706* hookapi.cc: Add comment header (putmem): Make static. (get_export): Ditto. (rvadelta): Ditto. Don't assume that a section which ends where the import_rva begins is the import list. * child_info.h: Update copyright. * fork.cc: Ditto.
Christopher Faylor
2006-07-06 17:16:37 +0000
26d31dc917* include/math.h (__INFF,__INFL): Remove '#'.
Danny Smith
2006-07-06 07:36:58 +0000
b0b92438692006-07-05 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2006-07-05 16:18:30 +0000
8307a41117* sortdin: Ignore all leading underscores when deriving a sort key. * cygwin.din: Resort.
Christopher Faylor
2006-07-05 16:06:50 +0000
03ac0afe48* sortdin: New program. * cygwin.din: Sort.
Christopher Faylor
2006-07-05 15:59:39 +0000
7bfe2409a0* path.cc (path_conv::check): Ignore has_ea setting, it's always unset at this point anyway. (get_symlink_ea): Remove. (set_symlink_ea): Remove. (symlink_worker): Drop writing symlink into NTFS extended attributes. (symlink_info::check): Drop reading symlinks from NTFS extended attributes.
Corinna Vinschen
2006-07-05 08:35:51 +0000
49bd27c47c* libc/rexec.cc (cygwin_rexec): Obvious (?) fix to correct a gcc warning - set port to zero first thing in the function.
Christopher Faylor
2006-07-05 00:14:42 +0000
6dbfd8f9ba* fhandler.h (fhandler_socket::wait): Set default timeout to INFINITE.
Corinna Vinschen
2006-07-04 09:26:49 +0000
66e7d55998* mingwex/Makefile.in: Add -I$(srcdir)/.. to INCLUDES.
Danny Smith
2006-07-03 20:51:58 +0000
4635b6ebd8* autoload.cc (NtQueryEaFile): Define. (NtSetEaFile): Define. * fhandler.cc (fhandler_base::open): Use appropriate open flags in query case when allow_ntea is set. * ntdll.h (struct _FILE_GET_EA_INFORMATION): Define. (struct _FILE_FULL_EA_INFORMATION): Define. (NtQueryEaFile): Declare. (NtSetEaFile): Declare. * ntea.cc (read_ea): Rename from NTReadEA and rewrite using NtQueryEaFile. (write_ea): Rename from NTWriteEA and rewrite using NtSetEaFile. * path.cc (get_symlink_ea): Make static. Add handle parameter to accomodate new read_ea call. (set_symlink_ea): Make static. Add handle parameter to accomodate new write_ea call. (symlink_worker): Call set_symlink_ea while file is still open. (symlink_info::check): Call get_symlink_ea after file has been opened. * security.cc (get_file_attribute): Accomodate new read_ea call. (set_file_attribute): Accomodate new write_ea call. * security.h (read_ea): Change declaration accordingly. (write_ea): Ditto.
Corinna Vinschen
2006-07-03 18:30:08 +0000
6258d96af8* fhandler.h (class dev_console): Add `metabit' indicating the current meta key mode. * fhandler_console.cc (fhandler_console::read): Set the top bit of the character if metabit is true. * fhandler_console.cc (fhandler_console::ioctl): Implement KDGKBMETA and KDSKBMETA commands. * fhandler_tty.cc (process_ioctl): Support KDSKBMETA. (fhandler_tty_slave::ioctl): Send KDGKBMETA and KDSKBMETA to the master. * include/cygwin/kd.h: New file for the meta key mode. * include/sys/kd.h: New file.
Corinna Vinschen
2006-07-03 15:29:10 +0000
61aea27d90* include/stdint.h (UINT8_C, UINT16_C): Unsigned types smaller than int promote to signed int.
Corinna Vinschen
2006-07-03 12:30:04 +0000
78db7dff2c* net.cc (cygwin_sendto): Define appropriate parameters using socklen_t type according to SUSv3. (cygwin_recvfrom): Ditto. (cygwin_setsockopt): Ditto. (cygwin_getsockopt): Ditto. (cygwin_connect): Ditto. (cygwin_accept): Ditto. (cygwin_bind): Ditto. (cygwin_getsockname): Ditto. (cygwin_getpeername): Ditto. (cygwin_recv): Ditto. (cygwin_send): Ditto. * include/cygwin/socket.h (socklen_t): Typedef and define. * include/sys/socket.h: Declare socket functions using socklen_t type.
Corinna Vinschen
2006-07-03 11:31:56 +0000
37b43cde0c2006-07-03 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2006-07-03 11:22:03 +0000
ebd84cac3cAdd a real Changelog entry.
Danny Smith
2006-07-03 10:49:42 +0000
f34428eb35Support SSE float environment in fenv.h functions.
Danny Smith
2006-07-03 10:32:58 +0000
69d5f3329f2006-07-03 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2006-07-03 09:26:24 +0000
f90716dddf2006-07-03 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2006-07-03 07:58:12 +0000
d42e28b57a* include/cygwin/version.h: Bump DLL minor version number to 21.
Christopher Faylor
2006-07-02 16:22:59 +0000
8b46f03c8dRevert patches from 2005-10-22 and 2006-06-14 to use event driven accept and connect back to using select: * fhandler.h (class fhandler_socket): Remove accept_mtx. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Drop initializing accept_mtx. (fhandler_socket::accept): Drop event handling. (fhandler_socket.cc (fhandler_socket::connect): Ditto. (fhandler_socket::dup): Drop accept_mtx handling. (fhandler_socket::listen): Ditto. (fhandler_socket::prepare): Ditto. (fhandler_socket::release): Ditto. (fhandler_socket::close): Ditto. * net.cc (cygwin_accept): Revert to calling cygwin_select to implement interuptible accept. (cygwin_connect): Ditto for connect.
Corinna Vinschen
2006-06-26 12:12:11 +0000
50d838a4682006-06-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-26 01:41:48 +0000
4a7163e8a0* mingwex/math/tgamma.c (SQTPI): Add braces.
Danny Smith
2006-06-26 00:56:40 +0000
1dcd64ff55* mingwex/wcrtomb.c (wcsrtombs): Fix src end-pointer thinko. * mingwex/math/lgamma.c: (LOGPI) Avoid type punning. (LS2PI): Likewise. * mingwex/math/sf_erf.c (erff): Initialize z. (erfcf): Likewise. * mingwex/math/tgamma.c (SQTPI): Avoid type punning.
Danny Smith
2006-06-26 00:53:34 +0000
b4e8ed0098Changelog formatting
Danny Smith
2006-06-25 21:19:46 +0000
c3297a3c902006-06-23 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston
2006-06-23 16:27:34 +0000
4470d66ddc* fhandler_fifo.cc (fhandler_fifo::open): Release process lock and grab a system-wide mutex to prevent a deadlock and a race. * sync.h (lock_process): Make fhandler_fifo a friend. * smallprint.c (__small_vsprintf): Cosmetic change.
Christopher Faylor
2006-06-23 00:19:39 +0000
083f3e4a23* include/sys/time.h (struct timezone): Define. * include/time.h (_timezone): Correct comment.
Danny Smith
2006-06-22 21:57:44 +0000
f489b5943c2006-06-22 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2006-06-22 17:59:52 +0000
09fd280ca42006-06-20 David Ayers <d.ayers@inode.at>
David Ayers
2006-06-20 08:45:35 +0000
1cda51cf8a* configure.in (AC_CONFIG_AUX_DIR): Remove. * configure: Regenerate.
Danny Smith
2006-06-18 23:06:56 +0000
8641949d6f2006-06-18 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
Chris Sutcliffe
2006-06-18 13:35:01 +0000
71bbb04de9* mingwex/dirent.c (_tGetFileAttributes): New helper function. (_topendir): Use it.
Danny Smith
2006-06-18 08:43:34 +0000
5ade5bb0ea* include/sys/time.h: Add header guard. Add extern "C" bracketing for __cplusplus. (gettimeofday): Add prototype. * mingwex/gettimeofday.c: New file. * mingwex/makefile.in: Add gettimeofday source and object.
Danny Smith
2006-06-18 08:16:55 +0000
82a044a520* cygwin.din: Export __srget_r, __swbuf_r. * include/cygwin/version.h: Bump API minor number to 156.
Corinna Vinschen
2006-06-15 17:22:56 +0000
c8956c6fec2006-06-15 Corinna Vinschen <corinna@vinschen.de>
Jeff Johnston
2006-06-15 16:08:09 +0000
dac1814fbe* include/elf/arm.h: Correct names of R_ARM_LDC_G{0,1,2} to R_ARM_LDC_SB_G{0,1,2} respectively.
Mark Shinwell
2006-06-15 11:03:01 +0000
59e0ff46b1remove conflict indicators
Paolo Bonzini
2006-06-15 06:25:49 +0000
71205cf04b2006-06-15 Paolo Bonzini <bonzini@gnu.org>
Paolo Bonzini
2006-06-15 06:25:23 +0000
4dc0c0c4e52006-06-14 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston
2006-06-14 20:49:11 +0000
1b9cba59c3* fhandler.h (class fhandler_socket): Add private mutex handle accept_mtx. * fhandler_socket.cc (fhandler_socket::fhandler_socket): Initialize accept_mtx to NULL. (fhandler_socket::dup): Duplicate accept_mtx, if available. (fhandler_socket::listen): Create accept_mtx before trying to listen. (fhandler_socket::prepare): Wait for accept_mtx if available to serialize accepts on the same socket. (fhandler_socket::release): Release accept_mtx. (fhandler_socket::close): Close accept_mtx on successful closesocket.
Corinna Vinschen
2006-06-14 20:19:10 +0000
6976c28f87Sync from gcc: 2006-06-12 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
John David Anglin
2006-06-13 23:06:42 +0000
c2c69526272006-06-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-13 22:44:49 +0000
73c20c325d2006-06-13 Sandra Loosemore <sandra@codesourcery.com>
Jeff Johnston
2006-06-13 20:51:08 +0000
c4cac45fe92006-06-13 Sandra Loosemore <sandra@codesourcery.com>
Jeff Johnston
2006-06-13 20:50:24 +0000
8e16dba0cc2006-06-13 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe
2006-06-13 17:32:01 +0000
f9a26685662006-06-13 David Ayers <d.ayers@inode.at>
David Ayers
2006-06-13 14:46:59 +0000