summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Swap ChangeLog entries.Maciej W. Rozycki2011-02-281-2/+3
|
* * autoload.cc (dll_load): Only call LoadLibraryExW withCorinna Vinschen2011-02-272-2/+11
| | | | | | DONT_RESOLVE_DLL_REFERENCES if a normal LoadLibrary call failed with ERROR_INVALID_ADDRESS. (LsaRegisterLogonProcess): Align comment to previous change.
* * autoload.cc: Use LoadDLLfuncEx3 for all winmm functions. Accommodate changesChristopher Faylor2011-02-262-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.
* * autoload.cc: Make autoloaded ntdll function non-optional. Ditto forCorinna Vinschen2011-02-263-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.
* fix pr numberAlan Modra2011-02-251-1/+1
|
* PR 12519Alan Modra2011-02-252-3/+23
| | | | | * internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size sections at start or end of PT_DYNAMIC.
* ChangeLog include/Kai Tietz2011-02-232-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.
* * libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGVCorinna Vinschen2011-02-222-2/+7
| | | | if incoming buffer is NULL.
* * dcrt0.cc: Fix copyright dates.Corinna Vinschen2011-02-224-5/+11
| | | | | * winsup.h: Ditto. * syscalls.cc (_read): Move EXPORT_ALIAS to its rightful place.
* Forced checkinCorinna Vinschen2011-02-220-0/+0
|
* * cygwin.din: Mark __assert* and _abort as NOSIGFE.Christopher Faylor2011-02-222-4/+8
|
* Add missing Changelog entry for previous patch:Corinna Vinschen2011-02-211-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.
* * fhandler_socket (fhandler_socket::readv): Call recv_internal directly,Corinna Vinschen2011-02-212-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.
* * fhandler.cc (fhandler_base_overlapped::close): Finish any pending I/O beforeChristopher Faylor2011-02-212-1/+15
| | | | | | closing. (fhandler_base_overlapped::wait_overlapped): Defensively zero bytes read. Add more info to debugging output.
* * dcrt0.cc (dll_crt0_1): Add a CYGHEAP_DEBUG conditional for debugging whichChristopher Faylor2011-02-182-2/+16
| | | | allocates a lot of space at startup.
* * cygwin.sc: Set alignment of .cygheap section to 64K.Corinna Vinschen2011-02-182-0/+5
|
* * spawn.cc (spawn_guts): Only set PID_NOTCYGWIN in _P_OVERLAY mode.Corinna Vinschen2011-02-152-1/+7
| | | | Drop flag if creating new process failed.
* * new-features.sgml (ov-new1.7.8): Fix typo.Corinna Vinschen2011-02-152-1/+5
|
* * cygcheck.cc: Fix copyright dates.Corinna Vinschen2011-02-152-1/+5
|
* forced checkinCorinna Vinschen2011-02-150-0/+0
|
* * Throughout fix copyright dates.Corinna Vinschen2011-02-1516-16/+21
|
* * legal.sgml: Bump date.Corinna Vinschen2011-02-153-5/+11
| | | | | * new-features.sgml (ov-new1.7.8): Move dropped NT4 pre-SP4 support up to be the first paragraph.
* * new-features.sgml (ov-new1.7.8): Document /proc/sys.Corinna Vinschen2011-02-152-0/+14
|
* * devices.in: Throughout use slashes instead of backslashes in theCorinna Vinschen2011-02-156-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.
* * fhandler_procsys.cc (fhandler_procsys::opendir): Avoid SEGV ifCorinna Vinschen2011-02-153-5/+14
| | | | | opening object directory fails. * fhandler_virtual.cc (fhandler_virtual::opendir): Don't leak memory.
* * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Don'tCorinna Vinschen2011-02-152-1/+7
| | | | append slash if there is one already.
* Revert change from 2010-08-31:Corinna Vinschen2011-02-152-15/+7
| | | | | | * path.cc (normalize_posix_path): Drop support for //./ and //?/ prefixes. (path_conv::check): Ditto.
* * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Use POSIXCorinna Vinschen2011-02-152-14/+11
| | | | path to check for symlink.
* * config/i386/profile.h: Sync with Mingw.Corinna Vinschen2011-02-142-5/+34
|
* Remove freebsd1 from libtool.m4 macros and config.rpath.Ralf Wildenhues2011-02-133-13/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /: 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.
* * path.cc (struct _FAST_CWD): Redefine to new layout used since patchCorinna Vinschen2011-02-132-31/+107
| | | | | | | 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.
* gas/opcodes: blackfin: move dsp mac func defines to common headerMichael Frysinger2011-02-122-0/+28
| | | | | | | The mmod field is decoded in a few places (gas/opcodes/sim), so move it to a common place to avoid duplication. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Import move-if-change script from gnulib.Ralf Wildenhues2011-02-123-17/+81
| | | | | | | | /: PR binutils/12283 * MAINTAINERS (mkinstalldirs): Comes from Automake. (move-if-change): Comes from gnulib. * move-if-change: Import version from gnulib.
* Sync toplevel and config/ from GCC.Ralf Wildenhues2011-02-129-55/+162
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | /: Sync from GCC: 2011-02-12 Alexandre Oliva <aoliva@redhat.com> PR lto/47225 * Makefile.def (lto-plugin): Double dash for enable-shared. (configure-gcc): Depend on all-lto-plugin. * Makefile.in: Rebuilt. 2011-02-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> * configure.ac: Remove extra bracket. * configure: Regenerate. 2011-02-06 Kai Tietz <kai.tietz@onevision.com> PR lto/47225 * Makefile.def: Add dependency for install-gcc on install-lto-plugin. * Makfile.in: Regenerated 2011-01-25 Jakub Jelinek <jakub@redhat.com> * configure.ac: If with_ppl is no, move setting with_cloog=no after CLOOG_REQUESTED check. * configure: Regenerated. 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * configure.ac: Call AC_MSG_ERROR when PPL 0.11 is not present and CLooG has been requested. * configure: Regenerated. 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> * configure: Regenerated. * configure.ac: Check for version 0.11 (or later revision) of PPL. 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> * configure: Regenerated. * configure.ac: Use CLOOG_CHECK_VERSION(0,16,1). 2011-01-07 Jan Hubicka <jh@suse.cz> PR lto/47225 * Makefile.in: Regenerate. * Makefile.def (lto-plugin): Always pass enable-shared to the plugin configure. config/: 2011-01-25 Jakub Jelinek <jakub@redhat.com> * cloog.m4 (CLOOG_REQUESTED): Use $2 if --without-cloog. 2011-01-10 Jan Hubicka <jh@suse.cz> * bootstrap-lto.mk: -fuse-linker-plugin is default now; pass -fno-lto to STAGEprofile.
* * mkstatic: Make sure that we are not cd'ed to temporary directory on exit toChristopher Faylor2011-02-114-2/+20
| | | | | | avoid bogus warnings on directory cleanup. * speclib: Ditto. * mkimport: Ditto.
* opcodes: blackfin: add multiple inclusion protectionMichael Frysinger2011-02-112-1/+10
| | | | | | Prevent build errors if the header happens to be included multiple times. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* * cygwin.sc: Eliminate __cygheap_mid.Christopher Faylor2011-02-113-2/+5
| | | | * cygheap.cc: Ditto.
* * cygheap.cc (_cygheap_mid): Drop unneeded section attribute.Christopher Faylor2011-02-113-7/+10
| | | | | | (cygheap_init): Just zero cygheap structure. * cygwin.sc: Keep 16 byte alignment but drop all other alignments related to cygheap. Eliminate unused __cygheap_end1.
* * cygwin.sc: Raise default cygheap size to 1 Meg. Set alignment toCorinna Vinschen2011-02-112-2/+7
| | | | standard 64K.
* * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN,Corinna Vinschen2011-02-118-183/+202
| | | | | | | | | | | | | | | | | | and __BYTE_ORDER into ... * include/bits/endian.h: New file. * include/arpa/nameser_compat.h: Include endian.h rather than defining BYTE_ORDER here. * include/asm/byteorder.h: Include bits/endian.h. Drop definition of __LITTLE_ENDIAN. * include/netinet/ip.h: Include bits/endian.h. Drop definitions of BIG_ENDIAN, LITTLE_ENDIAN, and BYTE_ORDER. Use underscored variants of aforementioned constants. * include/netinet/tcp.h: Ditto. * include/sys/param.h: Drop disabled definitions of BIG_ENDIAN, LITTLE_ENDIAN, and BYTE_ORDER. * include/netinet/ip.h: Reformat. Define setsockopt IP_TOS options matching recent RFCs. Tweak comments.
* strerror_r: fix compilation bug in previous patchEric Blake2011-02-102-0/+5
| | | | | * errno.cc (includes): Avoid compilation failure if <string.h> settles on wrong strerror_r signature.
* * new-features.sgml (ov-new1.7.8): Document strerror_r fixes.Eric Blake2011-02-102-0/+11
|
* strerror_r: obey POSIX, and match newlib header changeEric Blake2011-02-104-30/+67
| | | | | | | | | | * errno.cc (__xpg_strerror_r): New function. (strerror_r): Update to copy newlib's fixes. (strerror): Set errno on failure. (_sys_errlist): Cause EINVAL failure for reserved values. * cygwin.din: Export new function. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Combine this into minor 236.
* strerror_r: provide POSIX implementationEric Blake2011-02-107-13/+115
| | | | | | | | | | | * libc/include/string.h (strerror_r): Update declaration. * libc/string/strerror.c (strerror): Update documentation. * libc/string/strerror_r.c (strerror_r): Always return NUL-terminated string; don't overwrite too-short buf. * libc/string/xpg_strerror_r.c (__xpg_strerror_r): Implement POSIX variant. * libc/string/Makefile.am (GENERAL_SOURCES): Build new file. * libc/string/Makefile.in: Regenerate.
* * new-features.sgml (ov-new1.7.8): Document pthread_yield.Yaakov Selkowitz2011-02-102-2/+7
|
* * cygwin.din (pthread_yield): Export as alias to sched_yield.Yaakov Selkowitz2011-02-105-1/+12
| | | | | | * include/pthread.h (pthread_yield): Declare. * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump. * posix.sgml (std-deprec): Add pthread_yield.
* * cygheap.cc: Add some __stdcall decoration where appropriate.Christopher Faylor2011-02-103-16/+21
| | | | * lib/cygwin_crt0.c: __attribute -> __attribute__.
* * hookapi.cc (hook_or_detect_cygwin): Prevent i from being consideredChristopher Faylor2011-02-092-1/+6
| | | | uninitialized by gcc.
* * exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef.Christopher Faylor2011-02-092-6/+9
| | | | * dll_init.cc: Fix typo in comment.
* * dll_init.cc: Fix typo in comment.Christopher Faylor2011-02-081-1/+1
|