aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2011-03-05Guard against M4 versions with a buggy strstr.Ralf Wildenhues2-0/+12
config/: * override.m4: Error out if a buggy M4 was detected, to avoid spurious diffs in generated files.
2011-03-052011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2-1/+5
* lib/kernel32.def (FreeLibraryAndExitThread): Fix definition.
2011-03-052011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2-0/+15
* 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.
2011-03-052011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe3-1/+12
* include/winioctl.h (_DRIVE_LAYOUT_INFORMATION_MBR): Add _DRIVE_LAYOUT_INFORMATION_MBR_DEFINED guard. * include/ddk/winddk.h (_DRIVE_LAYOUT_INFORMATION_MBR): Ditto.
2011-03-052011-03-04 Seth Jackson <sethj@users.sourceforge.net>Chris Sutcliffe3-0/+10
* include/winnt.h (PAGE_WRITECOMBINE): Define. * include/winbase.h (THREAD_MODE_BACKGROUND_BEGIN, THREAD_MODE_BACKGROUND_END): Define.
2011-03-052011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2-2/+14
* include/winbase.h (__MINGW_EXTENSION): Define. (OVERLAPPED): Add __MINGW_EXTENSION around nameless union / struct to correct issue with -std=c99.
2011-03-04 * fhandler_procsys.cc (fhandler_procsys::exists): Rewrite.Corinna Vinschen2-53/+133
(fhandler_procsys::fill_filebuf): Fill buffer with valid string even if reading the symlink fails.
2011-03-04Adjust test of with_ppl.Sebastian Pop3-2/+7
2011-03-03 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Adjust test of with_ppl. * configure: Regenerated.
2011-03-03 * posix_ipc.cc (ipc_cond_timedwait): If ipc_mutex_unlock fails, returnCorinna Vinschen2-5/+29
actual error number. (_mq_send): Break loop if ipc_cond_timedwait returns with error. (_mq_receive): Ditto.
2011-03-03 * libc/include/string.h: Include sys/cdefs.h.Corinna Vinschen2-0/+5
2011-03-03 * libc/include/sys/cdefs.h (__CONCAT1): Define.Corinna Vinschen3-1/+32
(__CONCAT): Define. (__STRING): Define. (__XSTRING): Define. (__ASMNAME): Define. * libc/include/string.h (strerror_r): Use __ASMNAME to take target specific label prefixes into account.
2011-03-03 * errno.cc (__xpg_strerror_r): Add accidentally missing condition.Corinna Vinschen2-0/+5
2011-03-02 * fhandler_procsys.cc (fhandler_procsys::open): Call worker existsCorinna Vinschen2-1/+6
method, rather than wrapper.
2011-03-02 * include/ddk/winddk.h (TIMER_INFORMATION_CLASS): Define.Corinna Vinschen2-0/+36
(TIMER_BASIC_INFORMATION): Define. (NtQueryTimer): Define. (ZwQueryTimer): Define.
2011-03-02Add -lpwl to ppllibs, and -lisl to clooglibs.Sebastian Pop4-52/+139
2011-03-02 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Add -lpwl to ppllibs. * config/cloog.m4: Add -lisl to clooglibs. * configure: Regenerated.
2011-03-01* autoload.cc (dll_load): Avoid in_forkee test since this apparently fails evenChristopher Faylor2-2/+7
when not forked.
2011-03-01* include/cygwin/version.h: Bump CYGWIN_VERSION_DLL_MINOR to 9.Christopher Faylor2-1/+5
2011-03-012011-03-01 Aaron Landwehr <snaphat@gmail.com>Jeff Johnston3-2/+7
* libm/complex/cproj.c: Fix typo. * libm/complex/cprojf.c: Ditto.
2011-03-01* autoload.cc (dll_load): Only perform DONT_RESOLVE_DLL_REFERENCES hack onChristopher Faylor4-1/+20
systems which need it. * wincap.cc (use_dont_resolve_hack): Set as appropriate. * wincap.h (use_dont_resolve_hack): Define.
2011-02-28* autoload.cc (dll_load): Make inline. Clarify logic.Christopher Faylor2-3/+10
2011-02-28ChangeLog libiberty/Kai Tietz2-0/+7
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.
2011-02-28 gas/Maciej W. Rozycki2-0/+5
* 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.
2011-02-28Swap ChangeLog entries.Maciej W. Rozycki1-2/+3
2011-02-27 * autoload.cc (dll_load): Only call LoadLibraryExW withCorinna Vinschen2-2/+11
DONT_RESOLVE_DLL_REFERENCES if a normal LoadLibrary call failed with ERROR_INVALID_ADDRESS. (LsaRegisterLogonProcess): Align comment to previous change.
2011-02-26* autoload.cc: Use LoadDLLfuncEx3 for all winmm functions. Accommodate changesChristopher Faylor2-38/+65
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.
2011-02-26 * autoload.cc: Make autoloaded ntdll function non-optional. Ditto forCorinna Vinschen3-16/+26
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.
2011-02-25fix pr numberAlan Modra1-1/+1
2011-02-25 PR 12519Alan Modra2-3/+23
* internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size sections at start or end of PT_DYNAMIC.
2011-02-23ChangeLog include/Kai Tietz2-90/+12
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.
2011-02-22 * libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGVCorinna Vinschen2-2/+7
if incoming buffer is NULL.
2011-02-22 * dcrt0.cc: Fix copyright dates.Corinna Vinschen4-5/+11
* winsup.h: Ditto. * syscalls.cc (_read): Move EXPORT_ALIAS to its rightful place.
2011-02-22Forced checkinCorinna Vinschen0-0/+0
2011-02-22* cygwin.din: Mark __assert* and _abort as NOSIGFE.Christopher Faylor2-4/+8
2011-02-21Add missing Changelog entry for previous patch:Corinna Vinschen1-0/+11
* 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.
2011-02-21 * fhandler_socket (fhandler_socket::readv): Call recv_internal directly,Corinna Vinschen2-28/+44
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.
2011-02-21* fhandler.cc (fhandler_base_overlapped::close): Finish any pending I/O beforeChristopher Faylor2-1/+15
closing. (fhandler_base_overlapped::wait_overlapped): Defensively zero bytes read. Add more info to debugging output.
2011-02-18* dcrt0.cc (dll_crt0_1): Add a CYGHEAP_DEBUG conditional for debugging whichChristopher Faylor2-2/+16
allocates a lot of space at startup.
2011-02-18 * cygwin.sc: Set alignment of .cygheap section to 64K.Corinna Vinschen2-0/+5
2011-02-15 * spawn.cc (spawn_guts): Only set PID_NOTCYGWIN in _P_OVERLAY mode.Corinna Vinschen2-1/+7
Drop flag if creating new process failed.
2011-02-15 * new-features.sgml (ov-new1.7.8): Fix typo.Corinna Vinschen2-1/+5
2011-02-15 * cygcheck.cc: Fix copyright dates.Corinna Vinschen2-1/+5
2011-02-15forced checkinCorinna Vinschen0-0/+0
2011-02-15 * Throughout fix copyright dates.Corinna Vinschen16-16/+21
2011-02-15 * legal.sgml: Bump date.Corinna Vinschen3-5/+11
* new-features.sgml (ov-new1.7.8): Move dropped NT4 pre-SP4 support up to be the first paragraph.
2011-02-15 * new-features.sgml (ov-new1.7.8): Document /proc/sys.Corinna Vinschen2-0/+14
2011-02-15 * devices.in: Throughout use slashes instead of backslashes in theCorinna Vinschen6-196/+299
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.
2011-02-15 * fhandler_procsys.cc (fhandler_procsys::opendir): Avoid SEGV ifCorinna Vinschen3-5/+14
opening object directory fails. * fhandler_virtual.cc (fhandler_virtual::opendir): Don't leak memory.
2011-02-15 * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Don'tCorinna Vinschen2-1/+7
append slash if there is one already.
2011-02-15 Revert change from 2010-08-31:Corinna Vinschen2-15/+7
* path.cc (normalize_posix_path): Drop support for //./ and //?/ prefixes. (path_conv::check): Ditto.
2011-02-15 * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Use POSIXCorinna Vinschen2-14/+11
path to check for symlink.