Chris Sutcliffe
e8dc396d7a
2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
...
* lib/kernel32.def (FreeLibraryAndExitThread): Fix definition.
2011-03-05 05:45:42 +00:00
Chris Sutcliffe
213bc4f215
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.
2011-03-05 05:05:20 +00:00
Chris Sutcliffe
09ba620e3f
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.
2011-03-05 04:51:01 +00:00
Chris Sutcliffe
2af4c4de09
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.
2011-03-05 04:39:15 +00:00
Chris Sutcliffe
a4c7da048d
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.
2011-03-05 04:31:24 +00:00
Corinna Vinschen
d5071ad7f5
* fhandler_procsys.cc (fhandler_procsys::exists): Rewrite.
...
(fhandler_procsys::fill_filebuf): Fill buffer with valid string even if
reading the symlink fails.
2011-03-04 17:51:42 +00:00
Sebastian Pop
dfbab84c51
Adjust test of with_ppl.
...
2011-03-03 Sebastian Pop <sebastian.pop@amd.com>
* configure.ac: Adjust test of with_ppl.
* configure: Regenerated.
2011-03-04 04:21:34 +00:00
Corinna Vinschen
b994b83729
* 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.
2011-03-03 15:48:36 +00:00
Corinna Vinschen
4b43b20be8
* libc/include/string.h: Include sys/cdefs.h.
2011-03-03 11:11:41 +00:00
Corinna Vinschen
977cd4175e
* 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.
2011-03-03 10:37:09 +00:00
Corinna Vinschen
b7351dcfb1
* errno.cc (__xpg_strerror_r): Add accidentally missing condition.
2011-03-03 09:50:13 +00:00
Corinna Vinschen
723223ab9f
* fhandler_procsys.cc (fhandler_procsys::open): Call worker exists
...
method, rather than wrapper.
2011-03-02 13:22:44 +00:00
Corinna Vinschen
dbc8ac3468
* include/ddk/winddk.h (TIMER_INFORMATION_CLASS): Define.
...
(TIMER_BASIC_INFORMATION): Define.
(NtQueryTimer): Define.
(ZwQueryTimer): Define.
2011-03-02 08:00:50 +00:00
Sebastian Pop
2e4cdd5582
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.
2011-03-02 03:49:38 +00:00
Christopher Faylor
7a3190f081
* autoload.cc (dll_load): Avoid in_forkee test since this apparently fails even
...
when not forked.
2011-03-01 22:36:19 +00:00
Christopher Faylor
96ef911a49
* include/cygwin/version.h: Bump CYGWIN_VERSION_DLL_MINOR to 9.
2011-03-01 22:35:00 +00:00
Jeff Johnston
127c3221cd
2011-03-01 Aaron Landwehr <snaphat@gmail.com>
...
* libm/complex/cproj.c: Fix typo.
* libm/complex/cprojf.c: Ditto.
2011-03-01 21:43:15 +00:00
Christopher Faylor
ba5f92981d
* 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.
2011-03-01 00:19:23 +00:00
Christopher Faylor
8ceb4854b6
* autoload.cc (dll_load): Make inline. Clarify logic.
2011-02-28 20:55:10 +00:00
Kai Tietz
87cd8d6d9d
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.
2011-02-28 18:30:14 +00:00
Maciej W. Rozycki
949ffef8df
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.
2011-02-28 16:06:51 +00:00
Maciej W. Rozycki
8addc3ef02
Swap ChangeLog entries.
2011-02-28 16:03:38 +00:00
Corinna Vinschen
7b5dc6db8e
* 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.
2011-02-27 09:45:58 +00:00
Christopher Faylor
a16b0549d4
* 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.
2011-02-26 23:30:33 +00:00
Corinna Vinschen
e80f6dc8f0
* 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.
2011-02-26 20:47:56 +00:00
Alan Modra
830f7b740b
fix pr number
2011-02-25 12:33:53 +00:00
Alan Modra
e338fc02fb
PR 12519
...
* internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size
sections at start or end of PT_DYNAMIC.
2011-02-25 07:48:51 +00:00
Kai Tietz
cf601851e0
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.
2011-02-23 08:52:34 +00:00
Corinna Vinschen
d9db1bc555
* libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGV
...
if incoming buffer is NULL.
2011-02-22 15:38:14 +00:00
Corinna Vinschen
12374d7d2f
* dcrt0.cc: Fix copyright dates.
...
* winsup.h: Ditto.
* syscalls.cc (_read): Move EXPORT_ALIAS to its rightful place.
2011-02-22 09:17:57 +00:00
Corinna Vinschen
60c04741a8
Forced checkin
2011-02-22 08:58:15 +00:00
Christopher Faylor
ca05a1b4fd
* cygwin.din: Mark __assert* and _abort as NOSIGFE.
2011-02-22 01:32:42 +00:00
Corinna Vinschen
41e50f04cf
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.
2011-02-21 17:11:10 +00:00
Corinna Vinschen
291698e54a
* 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 17:01:05 +00:00
Christopher Faylor
05901e6aee
* 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.
2011-02-21 03:18:30 +00:00
Christopher Faylor
734e1c50ff
* dcrt0.cc (dll_crt0_1): Add a CYGHEAP_DEBUG conditional for debugging which
...
allocates a lot of space at startup.
2011-02-18 17:43:22 +00:00
Corinna Vinschen
f65dbc7e27
* cygwin.sc: Set alignment of .cygheap section to 64K.
2011-02-18 16:15:20 +00:00
Corinna Vinschen
8ec562ed28
* spawn.cc (spawn_guts): Only set PID_NOTCYGWIN in _P_OVERLAY mode.
...
Drop flag if creating new process failed.
2011-02-15 18:11:50 +00:00
Corinna Vinschen
38e6feddab
* new-features.sgml (ov-new1.7.8): Fix typo.
2011-02-15 16:05:27 +00:00
Corinna Vinschen
e99f262f7b
* cygcheck.cc: Fix copyright dates.
2011-02-15 15:57:35 +00:00
Corinna Vinschen
a52973482e
forced checkin
2011-02-15 15:56:23 +00:00
Corinna Vinschen
3591470260
* Throughout fix copyright dates.
2011-02-15 15:56:03 +00:00
Corinna Vinschen
ce05ca932a
* legal.sgml: Bump date.
...
* new-features.sgml (ov-new1.7.8): Move dropped NT4 pre-SP4 support
up to be the first paragraph.
2011-02-15 15:37:59 +00:00
Corinna Vinschen
eceebc3005
* new-features.sgml (ov-new1.7.8): Document /proc/sys.
2011-02-15 15:32:19 +00:00
Corinna Vinschen
a413f8a20e
* 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.
2011-02-15 15:25:59 +00:00
Corinna Vinschen
fe222f2210
* fhandler_procsys.cc (fhandler_procsys::opendir): Avoid SEGV if
...
opening object directory fails.
* fhandler_virtual.cc (fhandler_virtual::opendir): Don't leak memory.
2011-02-15 14:44:11 +00:00
Corinna Vinschen
c48947b454
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Don't
...
append slash if there is one already.
2011-02-15 10:47:24 +00:00
Corinna Vinschen
ec58420870
Revert change from 2010-08-31:
...
* path.cc (normalize_posix_path): Drop support for //./ and //?/
prefixes.
(path_conv::check): Ditto.
2011-02-15 10:39:36 +00:00
Corinna Vinschen
2908e3eb80
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Use POSIX
...
path to check for symlink.
2011-02-15 10:31:54 +00:00
Corinna Vinschen
4655360348
* config/i386/profile.h: Sync with Mingw.
2011-02-14 09:42:19 +00:00