]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
13 years ago * common.h (EM_V850): V850s now supplied by Renesas.
Nick Clifton [Thu, 10 Mar 2011 10:23:37 +0000 (10:23 +0000)]
* common.h (EM_V850): V850s now supplied by Renesas.
* readelf.c (get_machine_name): Update EM_V850 entry.

13 years ago* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Handle
Christopher Faylor [Wed, 9 Mar 2011 22:48:05 +0000 (22:48 +0000)]
* fhandler.cc (fhandler_base_overlapped::wait_overlapped): Handle
overlapped_fallback error condition like other error conditions.  Set res
carefully and specifically for each condition rather than resorting to a
default.
(fhandler_base_overlapped::write_overlapped): Preserve errno in
overlapped_fallback condition.  Correct write_overlapped_fallback to avoid
inappropriate looping.
(fhandler_base_overlapped::write_overlapped_fallback): Add some more comments.

13 years ago* fhandler.cc (fhandler_base_overlapped::write_overlapp): Oops! Accommodate
Christopher Faylor [Wed, 9 Mar 2011 16:55:54 +0000 (16:55 +0000)]
* fhandler.cc (fhandler_base_overlapped::write_overlapp): Oops! Accommodate
change in arguments to wait_overlapped.

13 years ago* errno.cc (errmap): Change mapping of NO_SYSTEM_RESOURCES to EFBIG.
Christopher Faylor [Wed, 9 Mar 2011 16:47:44 +0000 (16:47 +0000)]
* errno.cc (errmap): Change mapping of NO_SYSTEM_RESOURCES to EFBIG.
* fhandler.cc (MAX_OVERLAPPED_WRITE_LEN): New constant.
(MIN_OVERLAPPED_WRITE_LEN): Ditto.
(fhandler_base_overlapped::close): Accommodate change in arguments to
wait_overlapped.
(fhandler_base_overlapped::setup_overlapped): Add __stdcall and regparm
modifiers.
(fhandler_base_overlapped::destroy_overlapped): Ditto.
(fhandler_base_overlapped::has_ongoing_io): Ditto.
(fhandler_base_overlapped::wait_overlapped): Modify to return an enum returning
various states.  Accept nonblocking parameter.
(fhandler_base_overlapped::read_overlapped): Add __stdcall and regparm
modifiers.  Rework to attempt to be smarter about reacting to states returned
by wait_overlapped.
(fhandler_base_overlapped::write_overlapped): Ditto.  Add fallback option for
when wait_overlapped detects that smaller chunks must be written.
(fhandler_base_overlapped::write_overlapped_fallback): Ditto.
* fhandler.h (DEFAULT_PIPEBUFSIZE): Move definition here from pipe.cc.
(fhandler_base::has_ongoing_io): Define with __stdcall and regparm modifiers.
(fhandler_base_overlapped::wait_return): New enum.
(fhandler_base_overlapped::max_atomic_write): New variable.
(fhandler_base_overlapped:: wait_overlapped): Accommodate changes mentioned
above to arguments and modifiers.
(fhandler_base_overlapped::setup_overlapped): Ditto for modifiers.
(fhandler_base_overlapped::read_overlapped): Ditto.
(fhandler_base_overlapped::write_overlapped): Ditto.
(fhandler_base_overlapped::destroy_overlapped): Ditto.
(fhandler_base_overlapped::has_ongoing_io): Ditto.
(fhandler_base_overlapped::fhandler_base_overlapped): Zero max_atomic_write.
* fhandler_fifo.cc (fhandler_fifo::fhandler_fifo): Set max_atomic_write to the
size of the DEFAULT_PIPEBUFSIZE.
(fhandler_fifo::wait): Accommodate change in arguments to wait_overlapped.
* pipe.cc (fhandler_pipe::fhandler_pipe): Set max_atomic_write to the size of
the DEFAULT_PIPEBUFSIZE.
(fhandler_pipe::create_selectable): Allow minimum size of DEFAULT_PIPEBUFSIZE.
(DEFAULT_PIPEBUFSIZE): Delete here, move to fhandler.h.

13 years ago * security.cc: Fix copyright dates.
Corinna Vinschen [Tue, 8 Mar 2011 15:12:58 +0000 (15:12 +0000)]
* security.cc: Fix copyright dates.

13 years ago * fhandler.cc (fhandler_base::open): When creating a file on a
Corinna Vinschen [Tue, 8 Mar 2011 14:26:15 +0000 (14:26 +0000)]
* fhandler.cc (fhandler_base::open): When creating a file on a
filesystem supporting ACLs, create the file with WRITE_DAC access.
Explain why.
* fhandler_disk_file.cc (fhandler_disk_file::mkdir): Ditto for
directories.
* fhandler_socket.cc (fhandler_socket::bind): Ditto for sockets.
* path.cc (symlink_worker): Ditto for symlinks.
* security.cc (get_file_sd): Always call GetSecurityInfo for directories
on XP and Server 2003.  Improve comment to explain why.
(set_file_attribute): Explicitely cast mode_t value to bool in call to
get_file_sd.
* wincap.h (wincaps::use_get_sec_info_on_dirs): New element.
* wincap.cc: Implement above element throughout.

13 years ago2011-03-07 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Tue, 8 Mar 2011 01:57:46 +0000 (01:57 +0000)]
2011-03-07  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/winbase.h (PSAPI_WORKING_SET_BLOCK,
        PSAPI_WORKING_SET_INFORMATION): Move from here...
        * include/psapi.h (PSAPI_WORKING_SET_BLOCK,
        PSAPI_WORKING_SET_INFORMATION): ... to here.

13 years agosim: bfin: new port
Michael Frysinger [Sun, 6 Mar 2011 00:20:16 +0000 (00:20 +0000)]
sim: bfin: new port

This can boot Das U-Boot and a Linux kernel.  It also supports Linux
userspace FLAT and FDPIC (dynamic and static) ELFs.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sat, 5 Mar 2011 20:55:46 +0000 (20:55 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sf.net>

        * include/w32api.h: Increment version to 3.16.
        * Makefile.in: Ditto.

13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 20:50:52 +0000 (20:50 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/commctrl.h (NMTCKEYDOWN): Define.

13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 20:43:53 +0000 (20:43 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/wtsapi32.h (WTSSendMessageA, WTSSendMessageW, WTSSendMessage):
        Define.

13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 20:29:08 +0000 (20:29 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (PSAPI_WORKING_SET_BLOCK,
        PSAPI_WORKING_SET_INFORMATION): Define.

13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 19:36:28 +0000 (19:36 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (__GNUC_EXTENSION): Define, replacing __MINGW_EXTENSION.

13 years agoGuard against M4 versions with a buggy strstr.
Ralf Wildenhues [Sat, 5 Mar 2011 07:33:13 +0000 (07:33 +0000)]
Guard against M4 versions with a buggy strstr.

config/:
* override.m4: Error out if a buggy M4 was detected, to
avoid spurious diffs in generated files.

13 years ago2011-03-05 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 05:45:42 +0000 (05:45 +0000)]
2011-03-05  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * lib/kernel32.def (FreeLibraryAndExitThread): Fix definition.

13 years ago2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 05:05:20 +0000 (05:05 +0000)]
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.

13 years ago2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 04:51:01 +0000 (04:51 +0000)]
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.

13 years ago2011-03-04 Seth Jackson <sethj@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 04:39:15 +0000 (04:39 +0000)]
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.

13 years ago2011-03-04 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 5 Mar 2011 04:31:24 +0000 (04:31 +0000)]
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.

13 years ago * fhandler_procsys.cc (fhandler_procsys::exists): Rewrite.
Corinna Vinschen [Fri, 4 Mar 2011 17:51:42 +0000 (17:51 +0000)]
* fhandler_procsys.cc (fhandler_procsys::exists): Rewrite.
(fhandler_procsys::fill_filebuf): Fill buffer with valid string even if
reading the symlink fails.

13 years agoAdjust test of with_ppl.
Sebastian Pop [Fri, 4 Mar 2011 04:21:34 +0000 (04:21 +0000)]
Adjust test of with_ppl.

2011-03-03  Sebastian Pop  <sebastian.pop@amd.com>

        * configure.ac: Adjust test of with_ppl.
        * configure: Regenerated.

13 years ago * posix_ipc.cc (ipc_cond_timedwait): If ipc_mutex_unlock fails, return
Corinna Vinschen [Thu, 3 Mar 2011 15:48:36 +0000 (15:48 +0000)]
* 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.

13 years ago * libc/include/string.h: Include sys/cdefs.h.
Corinna Vinschen [Thu, 3 Mar 2011 11:11:41 +0000 (11:11 +0000)]
* libc/include/string.h: Include sys/cdefs.h.

13 years ago * libc/include/sys/cdefs.h (__CONCAT1): Define.
Corinna Vinschen [Thu, 3 Mar 2011 10:37:09 +0000 (10:37 +0000)]
* 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.

13 years ago * errno.cc (__xpg_strerror_r): Add accidentally missing condition.
Corinna Vinschen [Thu, 3 Mar 2011 09:50:13 +0000 (09:50 +0000)]
* errno.cc (__xpg_strerror_r): Add accidentally missing condition.

13 years ago * fhandler_procsys.cc (fhandler_procsys::open): Call worker exists
Corinna Vinschen [Wed, 2 Mar 2011 13:22:44 +0000 (13:22 +0000)]
* fhandler_procsys.cc (fhandler_procsys::open): Call worker exists
method, rather than wrapper.

13 years ago * include/ddk/winddk.h (TIMER_INFORMATION_CLASS): Define.
Corinna Vinschen [Wed, 2 Mar 2011 08:00:50 +0000 (08:00 +0000)]
* include/ddk/winddk.h (TIMER_INFORMATION_CLASS): Define.
(TIMER_BASIC_INFORMATION): Define.
(NtQueryTimer): Define.
(ZwQueryTimer): Define.

13 years agoAdd -lpwl to ppllibs, and -lisl to clooglibs.
Sebastian Pop [Wed, 2 Mar 2011 03:49:38 +0000 (03:49 +0000)]
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.

13 years ago* autoload.cc (dll_load): Avoid in_forkee test since this apparently fails even
Christopher Faylor [Tue, 1 Mar 2011 22:36:19 +0000 (22:36 +0000)]
* autoload.cc (dll_load): Avoid in_forkee test since this apparently fails even
when not forked.

13 years ago* include/cygwin/version.h: Bump CYGWIN_VERSION_DLL_MINOR to 9.
Christopher Faylor [Tue, 1 Mar 2011 22:35:00 +0000 (22:35 +0000)]
* include/cygwin/version.h: Bump CYGWIN_VERSION_DLL_MINOR to 9.

13 years ago2011-03-01 Aaron Landwehr <snaphat@gmail.com>
Jeff Johnston [Tue, 1 Mar 2011 21:43:15 +0000 (21:43 +0000)]
2011-03-01  Aaron Landwehr <snaphat@gmail.com>

        * libm/complex/cproj.c: Fix typo.
        * libm/complex/cprojf.c: Ditto.

13 years ago* autoload.cc (dll_load): Only perform DONT_RESOLVE_DLL_REFERENCES hack on
Christopher Faylor [Tue, 1 Mar 2011 00:19:23 +0000 (00:19 +0000)]
* 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.

13 years ago* autoload.cc (dll_load): Make inline. Clarify logic.
Christopher Faylor [Mon, 28 Feb 2011 20:55:10 +0000 (20:55 +0000)]
* autoload.cc (dll_load): Make inline.  Clarify logic.

13 years agoChangeLog libiberty/
Kai Tietz [Mon, 28 Feb 2011 18:30:14 +0000 (18:30 +0000)]
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.

13 years ago gas/
Maciej W. Rozycki [Mon, 28 Feb 2011 16:06:51 +0000 (16:06 +0000)]
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.

13 years agoSwap ChangeLog entries.
Maciej W. Rozycki [Mon, 28 Feb 2011 16:03:38 +0000 (16:03 +0000)]
Swap ChangeLog entries.

13 years ago * autoload.cc (dll_load): Only call LoadLibraryExW with
Corinna Vinschen [Sun, 27 Feb 2011 09:45:58 +0000 (09:45 +0000)]
* 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.

13 years ago* autoload.cc: Use LoadDLLfuncEx3 for all winmm functions. Accommodate changes
Christopher Faylor [Sat, 26 Feb 2011 23:30:33 +0000 (23:30 +0000)]
* 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.

13 years ago * autoload.cc: Make autoloaded ntdll function non-optional. Ditto for
Corinna Vinschen [Sat, 26 Feb 2011 20:47:56 +0000 (20:47 +0000)]
* 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.

13 years agofix pr number
Alan Modra [Fri, 25 Feb 2011 12:33:53 +0000 (12:33 +0000)]
fix pr number

13 years ago PR 12519
Alan Modra [Fri, 25 Feb 2011 07:48:51 +0000 (07:48 +0000)]
PR 12519
* internal.h (ELF_SECTION_IN_SEGMENT_1): Don't match zero size
sections at start or end of PT_DYNAMIC.

13 years agoChangeLog include/
Kai Tietz [Wed, 23 Feb 2011 08:52:34 +0000 (08:52 +0000)]
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.

13 years ago * libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition. Avoid SEGV
Corinna Vinschen [Tue, 22 Feb 2011 15:38:14 +0000 (15:38 +0000)]
* libc/stdio/fmemopen.c (fmemopen): Fix EINVAL condition.  Avoid SEGV
if incoming buffer is NULL.

13 years ago * dcrt0.cc: Fix copyright dates.
Corinna Vinschen [Tue, 22 Feb 2011 09:17:57 +0000 (09:17 +0000)]
* dcrt0.cc: Fix copyright dates.
* winsup.h: Ditto.
* syscalls.cc (_read): Move EXPORT_ALIAS to its rightful place.

13 years agoForced checkin
Corinna Vinschen [Tue, 22 Feb 2011 08:58:15 +0000 (08:58 +0000)]
Forced checkin

13 years ago* cygwin.din: Mark __assert* and _abort as NOSIGFE.
Christopher Faylor [Tue, 22 Feb 2011 01:32:42 +0000 (01:32 +0000)]
* cygwin.din: Mark __assert* and _abort as NOSIGFE.

13 years agoAdd missing Changelog entry for previous patch:
Corinna Vinschen [Mon, 21 Feb 2011 17:11:10 +0000 (17:11 +0000)]
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.

13 years ago * fhandler_socket (fhandler_socket::readv): Call recv_internal directly,
Corinna Vinschen [Mon, 21 Feb 2011 17:01:05 +0000 (17:01 +0000)]
* 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.

13 years ago* fhandler.cc (fhandler_base_overlapped::close): Finish any pending I/O before
Christopher Faylor [Mon, 21 Feb 2011 03:18:30 +0000 (03:18 +0000)]
* 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.

13 years ago* dcrt0.cc (dll_crt0_1): Add a CYGHEAP_DEBUG conditional for debugging which
Christopher Faylor [Fri, 18 Feb 2011 17:43:22 +0000 (17:43 +0000)]
* dcrt0.cc (dll_crt0_1): Add a CYGHEAP_DEBUG conditional for debugging which
allocates a lot of space at startup.

13 years ago * cygwin.sc: Set alignment of .cygheap section to 64K.
Corinna Vinschen [Fri, 18 Feb 2011 16:15:20 +0000 (16:15 +0000)]
* cygwin.sc: Set alignment of .cygheap section to 64K.

13 years ago * spawn.cc (spawn_guts): Only set PID_NOTCYGWIN in _P_OVERLAY mode.
Corinna Vinschen [Tue, 15 Feb 2011 18:11:50 +0000 (18:11 +0000)]
* spawn.cc (spawn_guts): Only set PID_NOTCYGWIN in _P_OVERLAY mode.
Drop flag if creating new process failed.

13 years ago * new-features.sgml (ov-new1.7.8): Fix typo.
Corinna Vinschen [Tue, 15 Feb 2011 16:05:27 +0000 (16:05 +0000)]
* new-features.sgml (ov-new1.7.8): Fix typo.

13 years ago * cygcheck.cc: Fix copyright dates.
Corinna Vinschen [Tue, 15 Feb 2011 15:57:35 +0000 (15:57 +0000)]
* cygcheck.cc: Fix copyright dates.

13 years agoforced checkin
Corinna Vinschen [Tue, 15 Feb 2011 15:56:23 +0000 (15:56 +0000)]
forced checkin

13 years ago * Throughout fix copyright dates.
Corinna Vinschen [Tue, 15 Feb 2011 15:56:03 +0000 (15:56 +0000)]
* Throughout fix copyright dates.

13 years ago * legal.sgml: Bump date.
Corinna Vinschen [Tue, 15 Feb 2011 15:37:59 +0000 (15:37 +0000)]
* legal.sgml: Bump date.
* new-features.sgml (ov-new1.7.8): Move dropped NT4 pre-SP4 support
up to be the first paragraph.

13 years ago * new-features.sgml (ov-new1.7.8): Document /proc/sys.
Corinna Vinschen [Tue, 15 Feb 2011 15:32:19 +0000 (15:32 +0000)]
* new-features.sgml (ov-new1.7.8): Document /proc/sys.

13 years ago * devices.in: Throughout use slashes instead of backslashes in the
Corinna Vinschen [Tue, 15 Feb 2011 15:25:59 +0000 (15:25 +0000)]
* 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.

13 years ago * fhandler_procsys.cc (fhandler_procsys::opendir): Avoid SEGV if
Corinna Vinschen [Tue, 15 Feb 2011 14:44:11 +0000 (14:44 +0000)]
* fhandler_procsys.cc (fhandler_procsys::opendir): Avoid SEGV if
opening object directory fails.
* fhandler_virtual.cc (fhandler_virtual::opendir): Don't leak memory.

13 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Don't
Corinna Vinschen [Tue, 15 Feb 2011 10:47:24 +0000 (10:47 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Don't
append slash if there is one already.

13 years ago Revert change from 2010-08-31:
Corinna Vinschen [Tue, 15 Feb 2011 10:39:36 +0000 (10:39 +0000)]
Revert change from 2010-08-31:
* path.cc (normalize_posix_path): Drop support for //./ and //?/
prefixes.
(path_conv::check): Ditto.

13 years ago * fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Use POSIX
Corinna Vinschen [Tue, 15 Feb 2011 10:31:54 +0000 (10:31 +0000)]
* fhandler_disk_file.cc (fhandler_disk_file::readdir_helper): Use POSIX
path to check for symlink.

13 years ago * config/i386/profile.h: Sync with Mingw.
Corinna Vinschen [Mon, 14 Feb 2011 09:42:19 +0000 (09:42 +0000)]
* config/i386/profile.h: Sync with Mingw.

13 years agoRemove freebsd1 from libtool.m4 macros and config.rpath.
Ralf Wildenhues [Sun, 13 Feb 2011 21:00:08 +0000 (21:00 +0000)]
Remove freebsd1 from libtool.m4 macros and config.rpath.

/:
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.

13 years ago * path.cc (struct _FAST_CWD): Redefine to new layout used since patch
Corinna Vinschen [Sun, 13 Feb 2011 15:43:00 +0000 (15:43 +0000)]
* path.cc (struct _FAST_CWD): Redefine to new layout used since patch
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.

13 years agogas/opcodes: blackfin: move dsp mac func defines to common header
Michael Frysinger [Sat, 12 Feb 2011 19:36:31 +0000 (19:36 +0000)]
gas/opcodes: blackfin: move dsp mac func defines to common header

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>
13 years agoImport move-if-change script from gnulib.
Ralf Wildenhues [Sat, 12 Feb 2011 15:47:02 +0000 (15:47 +0000)]
Import move-if-change script from gnulib.

/:
PR binutils/12283
* MAINTAINERS (mkinstalldirs): Comes from Automake.
(move-if-change): Comes from gnulib.
* move-if-change: Import version from gnulib.

13 years agoSync toplevel and config/ from GCC.
Ralf Wildenhues [Sat, 12 Feb 2011 14:40:09 +0000 (14:40 +0000)]
Sync toplevel and config/ from GCC.

/:
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.

13 years ago* mkstatic: Make sure that we are not cd'ed to temporary directory on exit to
Christopher Faylor [Fri, 11 Feb 2011 18:00:55 +0000 (18:00 +0000)]
* mkstatic: Make sure that we are not cd'ed to temporary directory on exit to
avoid bogus warnings on directory cleanup.
* speclib: Ditto.
* mkimport: Ditto.

13 years agoopcodes: blackfin: add multiple inclusion protection
Michael Frysinger [Fri, 11 Feb 2011 17:47:54 +0000 (17:47 +0000)]
opcodes: blackfin: add multiple inclusion protection

Prevent build errors if the header happens to be included multiple times.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
13 years ago* cygwin.sc: Eliminate __cygheap_mid.
Christopher Faylor [Fri, 11 Feb 2011 16:18:34 +0000 (16:18 +0000)]
* cygwin.sc: Eliminate __cygheap_mid.
* cygheap.cc: Ditto.

13 years ago* cygheap.cc (_cygheap_mid): Drop unneeded section attribute.
Christopher Faylor [Fri, 11 Feb 2011 16:05:26 +0000 (16:05 +0000)]
* cygheap.cc (_cygheap_mid): Drop unneeded section attribute.
(cygheap_init): Just zero cygheap structure.
* cygwin.sc: Keep 16 byte alignment but drop all other alignments related to
cygheap.  Eliminate unused __cygheap_end1.

13 years ago * cygwin.sc: Raise default cygheap size to 1 Meg. Set alignment to
Corinna Vinschen [Fri, 11 Feb 2011 12:58:01 +0000 (12:58 +0000)]
* cygwin.sc: Raise default cygheap size to 1 Meg.  Set alignment to
standard 64K.

13 years ago * include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN,
Corinna Vinschen [Fri, 11 Feb 2011 12:42:30 +0000 (12:42 +0000)]
* include/endian.h: Move definitions of __BIG_ENDIAN, __LITTLE_ENDIAN,
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.

13 years agostrerror_r: fix compilation bug in previous patch
Eric Blake [Thu, 10 Feb 2011 20:25:54 +0000 (20:25 +0000)]
strerror_r: fix compilation bug in previous patch

* errno.cc (includes): Avoid compilation failure if <string.h>
settles on wrong strerror_r signature.

13 years ago* new-features.sgml (ov-new1.7.8): Document strerror_r fixes.
Eric Blake [Thu, 10 Feb 2011 17:38:18 +0000 (17:38 +0000)]
* new-features.sgml (ov-new1.7.8): Document strerror_r fixes.

13 years agostrerror_r: obey POSIX, and match newlib header change
Eric Blake [Thu, 10 Feb 2011 17:36:51 +0000 (17:36 +0000)]
strerror_r: obey POSIX, and match newlib header change

* 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.

13 years agostrerror_r: provide POSIX implementation
Eric Blake [Thu, 10 Feb 2011 16:48:18 +0000 (16:48 +0000)]
strerror_r: provide POSIX implementation

* 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.

13 years ago* new-features.sgml (ov-new1.7.8): Document pthread_yield.
Yaakov Selkowitz [Thu, 10 Feb 2011 10:58:28 +0000 (10:58 +0000)]
* new-features.sgml (ov-new1.7.8): Document pthread_yield.

13 years ago* cygwin.din (pthread_yield): Export as alias to sched_yield.
Yaakov Selkowitz [Thu, 10 Feb 2011 10:51:14 +0000 (10:51 +0000)]
* cygwin.din (pthread_yield): Export as alias to sched_yield.
* include/pthread.h (pthread_yield): Declare.
* include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.
* posix.sgml (std-deprec): Add pthread_yield.

13 years ago* cygheap.cc: Add some __stdcall decoration where appropriate.
Christopher Faylor [Thu, 10 Feb 2011 02:22:36 +0000 (02:22 +0000)]
* cygheap.cc: Add some __stdcall decoration where appropriate.
* lib/cygwin_crt0.c: __attribute -> __attribute__.

13 years ago* hookapi.cc (hook_or_detect_cygwin): Prevent i from being considered
Christopher Faylor [Wed, 9 Feb 2011 15:46:00 +0000 (15:46 +0000)]
* hookapi.cc (hook_or_detect_cygwin): Prevent i from being considered
uninitialized by gcc.

13 years ago* exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef.
Christopher Faylor [Wed, 9 Feb 2011 15:40:37 +0000 (15:40 +0000)]
* exception.h: Remove DEBUG_EXCEPTION left over debugging ifdef.
* dll_init.cc: Fix typo in comment.

13 years ago* dll_init.cc: Fix typo in comment.
Christopher Faylor [Tue, 8 Feb 2011 20:14:37 +0000 (20:14 +0000)]
* dll_init.cc: Fix typo in comment.

13 years agoinclude/ChangeLog:
Ulrich Weigand [Tue, 8 Feb 2011 13:30:10 +0000 (13:30 +0000)]
include/ChangeLog:

* dwarf2.h (enum dwarf_calling_convention): Add DW_CC_GDB_IBM_OpenCL.

gdb/ChangeLog:

* dwarf2read.c (read_subroutine_type): Set special calling
convention flag for functions compiled by IBM XL C for OpenCL.
* ppc-sysv-tdep.c: Include "dwarf2.h"
(ppc_sysv_abi_push_dummy_call): Implement IBM OpenCL vector types
calling convention.
(do_ppc_sysv_return_value): Add FUNC_TYPE argument.  Implement
IBM OpenCL vector types calling convention.
(ppc_sysv_abi_return_value): Pass through FUNC_TYPE.
(ppc_sysv_abi_broken_return_value): Likewise.
(ppc64_sysv_abi_push_dummy_call): Implement IBM OpenCL vector
types calling convention.
(ppc64_sysv_abi_return_value): Likewise.
* spu-tdep.c: Include "dwarf2.h"
(spu_return_value): Implement IBM OpenCL vector types calling
convention.

gdb/testsuite/ChangeLog:

* gdb.opencl/callfuncs.cl: New file.
* gdb.opencl/callfuncs.exp: New test.
* gdb.opencl/Makefile.in (EXECUTABLES): Add callfuncs.

13 years ago * configure.in: Remove AC_ALLOCA test and test for __builtin_memset.
Corinna Vinschen [Mon, 7 Feb 2011 16:22:02 +0000 (16:22 +0000)]
* configure.in: Remove AC_ALLOCA test and test for __builtin_memset.
* configure: Regenerate.

13 years agoFix path in ChangeLog entry
Corinna Vinschen [Mon, 7 Feb 2011 11:36:04 +0000 (11:36 +0000)]
Fix path in ChangeLog entry

13 years ago * fhandler_console.cc (fhandler_console::write_normal): Remove
Corinna Vinschen [Mon, 7 Feb 2011 11:18:19 +0000 (11:18 +0000)]
* fhandler_console.cc (fhandler_console::write_normal): Remove
erroneous premature return after collecting truncated multibyte
sequence in trunc_buf.  Rather fall through to printing routine.
Fix return value to take trunc_buf content into account.  Improve
comments.

13 years ago* autoload.cc (wsock_init): Properly define WSAStartup function pointer to
Christopher Faylor [Sat, 5 Feb 2011 19:38:21 +0000 (19:38 +0000)]
* autoload.cc (wsock_init): Properly define WSAStartup function pointer to
avoid stack damage.

13 years ago gas/
Bernd Schmidt [Thu, 3 Feb 2011 23:20:26 +0000 (23:20 +0000)]
gas/
* doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
* doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
(TIC6X Options): Don't mention "-matomic".
* config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
(md_longopts): Remove corresponding entries.
(md_parse_option): Don't handle them.
(md_show_usage): Don't document them.
(tic6x_atomic): Delete variable.
(tic6x_update_features): Always copy tic6x_arch_enable to
tic6x_features.
(tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
(s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
(md_pseudo_table): Remove ".atomic" and ".noatomic".

gas/testsuite/
* gas/tic6x/dir-junk.l: Remove tests for .atomic and .noatomic.
* gas/tic6x/dir-junk.s: Likewise.
* gas/tic6x/insns-c674x-bad.d: Remove test.
* gas/tic6x/insns-c674x-bad.l: Likewise.
* gas/tic6x/insns-atomic.d: Remove "-matomic" switch.

include/opcode/
* tic6x-opcode-table.h (cmtl, ll, sl): Available on C64XP.
* tic6x.h (TIC6X_INSN_ATOMIC): Remove.

13 years agoFix spelling of Ralf Corsepius' name in ChangeLog.
Jeff Johnston [Thu, 3 Feb 2011 22:25:04 +0000 (22:25 +0000)]
Fix spelling of Ralf Corsepius' name in ChangeLog.

13 years ago * libc/bsdlib.cc: Include err.h.
Corinna Vinschen [Wed, 2 Feb 2011 15:17:14 +0000 (15:17 +0000)]
* libc/bsdlib.cc: Include err.h.

13 years ago * include/err.h: Fix loss of semicolons in previous patch.
Corinna Vinschen [Wed, 2 Feb 2011 15:14:46 +0000 (15:14 +0000)]
* include/err.h: Fix loss of semicolons in previous patch.

13 years ago * include/err.h (err): Add noreturn attribute.
Corinna Vinschen [Wed, 2 Feb 2011 10:16:30 +0000 (10:16 +0000)]
* include/err.h (err): Add noreturn attribute.
(errx): Ditto.
(verr): Ditto.
(verrx): Ditto.

13 years ago * path.cc (conv_path_list): Remove enclosing quotes and trailing
Corinna Vinschen [Wed, 2 Feb 2011 09:59:10 +0000 (09:59 +0000)]
* path.cc (conv_path_list): Remove enclosing quotes and trailing
backslashes from Win32 environment path lists.

13 years ago * fhandler.cc (fhandler_base::fsync): Ignore ERROR_INVALID_FUNCTION
Corinna Vinschen [Tue, 1 Feb 2011 08:46:48 +0000 (08:46 +0000)]
* fhandler.cc (fhandler_base::fsync): Ignore ERROR_INVALID_FUNCTION
error from FlushFileBuffers().

13 years ago * syscalls.cc (utmp_data): Fix potential buffer overflow.
Corinna Vinschen [Mon, 31 Jan 2011 13:58:59 +0000 (13:58 +0000)]
* syscalls.cc (utmp_data): Fix potential buffer overflow.

13 years ago * fhandler_socket.cc (address_in_use): Improve comment readability.
Corinna Vinschen [Mon, 31 Jan 2011 08:53:57 +0000 (08:53 +0000)]
* fhandler_socket.cc (address_in_use): Improve comment readability.

13 years agoPR libgcj/44341
Alexandre Oliva [Mon, 31 Jan 2011 05:26:01 +0000 (05:26 +0000)]
PR libgcj/44341
* configure.ac: Discard --with-* flags for host when configuring
target libraries for cross build.
* configure: Rebuilt.

This page took 0.071546 seconds and 5 git commands to generate.