summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * dwarf2.h (enum dwarf_location_atom): Add DW_OP_implicit_valueJakub Jelinek2009-07-032-0/+8
| | | | | | | and DW_OP_stack_value. * dwarf.c (decode_location_expression): Handle DW_OP_stack_value and DW_OP_implicit_value.
* 2009-07-02 Tristan Gingold <gingold@adacore.com>Tristan Gingold2009-07-023-3/+17
| | | | | | * configure.ac: Do not exclude gas for i386-*-darwin. Add a case for x86_64-*-darwin. * configure: Regenerate.
* Clean up some sources.redhat.com references.Christopher Faylor2009-07-014-13/+7
|
* * net.cc (get_xp_ifs): Fix typo in comment.Corinna Vinschen2009-07-012-1/+5
|
* * moxie/crt0.S (_start): Clear BSS at startup. Register _fini()Anthony Green2009-07-013-5/+21
| | | | | with atexit(). * moxie/sim-open.S: Fix comment.
* * lib/comctl32.def (StrCSpnA@8, StrCSpnIA@8, StrCSpnW@8, StrChrA@8,Corinna Vinschen2009-07-012-22/+9
| | | | | | | | StrChrIA@8, StrChrIW@8, StrChrW@8, StrCmpNA@12, StrCmpNIA@12, StrCmpNIW@12, StrCmpNW@12, StrRChrA@12, StrRChrIA@12, StrRChrW@12, StrRStrIA@12, StrRStrIW@12, StrStrA@8, StrStrIA@8, StrStrIW@8, StrStrW@8, StrToIntA@4, StrToIntW@4): Remove erroneously defined entry points.
* * fhandler.h (class fhandler_socket): Add class members and methodsCorinna Vinschen2009-07-014-17/+68
| | | | | | | | | | | | | | | | to store and retrieve the SO_RCVBUF and SO_SNDBUF sizes. * fhandler_socket.cc (fhandler_socket::dup): Duplicate new members. (fhandler_socket::send_internal): Check for SO_SNDBUF size and restrict send to 1 byte less per KB 823764. Leave loop immediately if WSASendMsg has been used. * net.cc (fdsock): Change comment again. Set buffer sizes to 65536. Store values in fhandler_socket. (cygwin_setsockopt): Store SO_RCVBUF and SO_SNDBUF sizes in fhandler_socket. (cygwin_sendto): Drop call to sig_dispatch_pending. (cygwin_recvfrom): Ditto. (cygwin_recvmsg): Ditto. (cygwin_sendmsg): Ditto.
* * select.h: New file split from fhandler.h.Christopher Faylor2009-06-3013-330/+457
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (select_record::select_record): Define do-nothing constructor for "new" to avoid gratuitous zeroing. (select_info): New base class. (select_pipe_info): New class with methods for dealing with pipes. (select_socket_info): New class with methods for dealing with sockets. (select_serial_info): Dummy class for serial. (select_mailslot_info): Dummy class for mailslots. (select_stuff): Define device_specific_* as actual classes rather than void *. * dtable.h (dtable::select_read): Accommodate return value change to 'bool' and argument change to "select_stuff". (dtable::select_write): Ditto. (dtable::select_except): Ditto. * dtable.cc (dtable::select_read): Accommodate return value change to 'bool' and argument change to "select_stuff". (dtable::select_write): Ditto. (dtable::select_except): Ditto. * fhandler.h: Excise select-related classes. (fhandler_*::select_read): Change argument to select_stuff. (fhandler_*::select_write): Ditto. (fhandler_*::select_except): Ditto. * select.cc (UNIX_FD_ZERO): Use memset rather than bzero. (select_stuff::test_and_set): Change return type to bool. Allocate select_record on entry and let fhandler_*::select_* operate on the start.next field of select_stuff. (pipeinf): Delete. (select_pipe_info::select_pipe_info): New constructor. Allocates event for controlling pipe waits. (select_pipe_info::~select_pipe_info): New destructor. Destroy event. Stop thread. (select_pipe_info::add_watch_handle): New function. (thread_pipe): Wait for the hEvent part of any overlapped pipes before peeking. (start_thread_pipe): Don't allocate device_specific_pipe stuff here. Assume that it has been allocated earlier. (pipe_cleanup): Rely on select_pipe_info destructor to clean up pipe paraphenalia. (fhandler_*::select_*): Derive select_record from new select_stuff argument. (fhandler_pipe::select_*): Ditto. Allocate pipe-specific field if not already allocated. (serialinf): Delete. (thread_serial): serialinf -> select_serial_info. (fhandler_base::ready_for_read): Rewrite to accommodate change in argument to fhandler_*::select_*. (socketinf): Delete. (thread_socket): socketinf -> select_socket_info. (mailslotinf): Delete. (thread_mailslot): mailslotinf -> select_mailslot_info.
* * fhandler.cc (fhandler_base::has_ongoing_io): Accept an argument indicatingChristopher Faylor2009-06-304-6/+17
| | | | | | | | whether the overlapped event should be tested. (fhandler_base::read_overlapped): Pass is_overlapped state to has_ongoing_io. (fhandler_base::write_overlapped): Ditto. * fhandler.h (fhandler_base::has_ongoing_io): Accommodate argument change. * select.cc (peek_pipe): Ditto.
* * net.cc (fdsock): Set default socket buffer sizes to 65520. ChangeCorinna Vinschen2009-06-303-14/+18
| | | | | | comment accordingly. * fhandler_socket.cc (fhandler_socket::send_internal): Set maximum send size to 65520 as well.
* * select.cc (peek_pipe): Turn on (temporarily?) the experimental code whichChristopher Faylor2009-06-292-7/+5
| | | | tries to determine when a pipe is writable.
* * select.cc (peek_pipe): Use has_ongoing_io() to determine if the pipe is readyChristopher Faylor2009-06-282-3/+6
| | | | for writing rather than performing brute-force checks.
* * fhandler.h (fhandler_base::has_ongoing_io): Declare new function.Christopher Faylor2009-06-284-12/+53
| | | | | | | | | * fhandler.cc (fhandler_base::has_ongoing_io): Define new function. (fhandler_base::read_overlapped): Use has_ongoing_io to avoid writing when handle has not completed last I/O. (fhandler_base::write_overlapped): Ditto. * select.cc (peek_pipe): Be more careful about accessing hEvent field from get_overlapped().
* * gendef (cleanup): Rename from 'nocr'. Remove comments and trailing spaces.Christopher Faylor2009-06-285-13/+21
| | | | | * cygwin.din: Add long-needed comment describing what dll_crt0__FP11per_process demangles to.
* * Makefile.def (host_modules): Add cgen.Doug Evans2009-06-265-2/+453
| | | | | | * Makefile.in: Regenerate. * configure.ac (host_tools): Add cgen. * configure: Regenerate.
* * wincap.h (wincaps::has_broken_alloc_console): New element.Corinna Vinschen2009-06-263-0/+18
| | | | * wincap.cc: Implement above element throughout.
* * sec_auth.cc (lsaauth): Close unused handle.Corinna Vinschen2009-06-252-2/+13
| | | | (lsaprivkeyauth): Ditto.
* * include/wtsapi32.h (WTSQueryUserToken, WTSEnumerateSessionsW,Corinna Vinschen2009-06-242-0/+42
| | | | | | | WTSEnumerateSessionsA): Add function prototypes. (struct _WTS_SESSION_INFOW, struct _WTS_SESSION_INFOA): Add typedefs. (WTS_SESSION_INFO, PWTS_SESSION_INFO, WTSEnumerateSessions): Add defines dependent on UNICODE setting.
* * faq-setup.xml (faq.setup.setup-fails-on-ts): Fix another typo.Corinna Vinschen2009-06-242-1/+5
|
* * faq-setup.xml (faq.setup.setup-fails-on-ts): Fix typo.Corinna Vinschen2009-06-242-1/+5
|
* * faq-setup.xml (faq.setup.setup-failes-on-ts): Change rebaseall toCorinna Vinschen2009-06-232-1/+6
| | | | rebase.
* 2009-06-23 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-06-233-0/+8
| | | | | | * Makefile.am (MATHOBJS_IN_LIBC): Add s_fpclassify and sf_fpclassify as these are now used for infinity testing. * Makefile.in: Regenerated.
* * faq-setup.xml (faq.setup.setup-failes-on-ts): New FAQ entry.Corinna Vinschen2009-06-232-0/+33
|
* * sec_auth.cc (get_server_groups): Ignore errors fromCorinna Vinschen2009-06-232-6/+8
| | | | get_user_local_groups.
* * spawn.cc (spawn_guts): Don't run additional check for Win32Corinna Vinschen2009-06-222-3/+14
| | | | | incompatible CWD if newargv.fixup bailed out already. (av::fixup): Check shell scripts for executability.
* include/elf/Alan Modra2009-06-222-4/+10
| | | | | | | * ppc.h (R_PPC_RELAX*): Define as enum. bfd/ * elf32-ppc.c (ppc_elf_check_relocs): Handle R_PPC_RELAX* in switch. * elf32-v850.c (v850_elf_relocate_section): Warning fix.
* 2009-06-19 Joseph Myers <joseph@codesourcery.com>Jeff Johnston2009-06-194-6/+22
| | | | | | * Makefile.in (html, pdf): New. * doc/Makefile.in (html, pdf, porting.pdf, porting.html): New. * doc/porting.texi: Fix section structure.
* 2009-06-19 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2009-06-192-1/+6
| | | | | * libc/sys/rtems/machine/param.h: Change ALIGNBYTES so it can point to an aligned structure or double.
* * new-features.sgml (ov-new1.7-misc): Add new link libs.Corinna Vinschen2009-06-193-4/+29
| | | | | * setup2.sgml (setup-locale-ov): Explain locale-specific wcwidth feature.
* PR 10288Nick Clifton2009-06-182-2/+10
| | | | | | | | | | | | | | | | | | | | | | * arm-dis.c (print_insn_coprocessor): Check that a user specified ARM architecture supports the matched instruction. (print_insn_arm): Likewise. (select_arm_features): New function. Fills in the fields of an arm_feature_set structure based on a given arm machine number. (print_insn): Initialise an arm_feature_set structure. * objdump.c (disassemble_bytes): Set the USER_SPECIFIED_MACHINE_TYPE flag in the disassemble_info structure if the user has invoked the -m switch. * doc/binutils.texi: Document the additional behaviour of objdump's -m switch for ARM targets. * dis-asm.h (USER_SPECIFIED_MACHINE_TYPE): New value for the flags field of struct disassemble_info. * gas/arm/align.s: Add labels so that COFF based targets can correctly locate THUMB code. * gas/arm/copro.d: Do not pass --architecture switch to objdump.
* * path.cc (chdir): Check error conditions first.Corinna Vinschen2009-06-182-5/+9
|
* * libc/locale/locale.c (loadlocale): Add handling of "@cjknarrow"Corinna Vinschen2009-06-182-27/+73
| | | | | modifier on _MB_CAPABLE targets. Add comment to explain. Improve documentation.
* 2009-06-16 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2009-06-172-0/+5
| | | | * include/stdlib.h (_wtof): Define.
* 2009-06-17 Michael Eager <eager@eagercon.com>Jeff Johnston2009-06-174-1/+78
| | | | | | | * libc/include/pthread.h: Support XMK (Xilinx) BSP, add RTEMS to PTHREAD_MUTEX_NORMAL. * libc/include/sys/features.h: Same. * libc/include/sys/types.h: Same.
* 2009-06-17 Michael Eager <eager@eagercon.com>Jeff Johnston2009-06-175-3/+855
| | | | | | | * rs6000/Makefile.in: Add xilinx support. * rs6000/xil-crt0.s: New crt0 file for powerpc-xilinx-eabi. * rs6000/xilinx.ld: New file. * rs6000/xilinx440.ld: Ditto.
* 2009-06-17 Michael Eager <eager@eagercon.com>Jeff Johnston2009-06-172-0/+36
| | | | * COPYING.LIBGLOSS: Add Xilinx license.
* * fhandler_socket.cc (fhandler_socket::recv_internal): Mark WSARecvMsgCorinna Vinschen2009-06-172-1/+6
| | | | as NO_COPY.
* * fhandler.cc (fhandler_base::read_overlapped): Use a better variable name.Christopher Faylor2009-06-162-4/+9
|
* * libc/include/locale.h (struct lconv): Add missing members requiredCorinna Vinschen2009-06-163-0/+15
| | | | | | by POSIX.1-2008. * libc/locale/locale.c (lconv): Initialize new members to default values in "C" locale.
* * fhandler.cc (fhandler_base::read_overlapped): Preserve len when looping dueChristopher Faylor2009-06-162-3/+9
| | | | to received signal.
* * libc/stdio/vfprintf.c (_VFPRINTF_R): Use actual length ofCorinna Vinschen2009-06-165-28/+58
| | | | | | | | | | | radix char instead of assuming length 1. * libc/stdlib/gdtoa-gethex.c: Remove use of USE_LOCALE. (gethex): Allow multibyte decimal point. Fix compiler warnings due to different signedness of pointer types. * libc/stdlib/strtod.c: Remove use of USE_LOCALE. (_strtod_r): Allow multibyte decimal point. * libc/stdlib/wcstod.c (_wcstod_r): Evaluate correct wide char endptr position if the decimal point is a multibyte char.
* 2009-06-16 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2009-06-163-2/+8
| | | | | | * libc/ctype/local.h (__locale_charset): Add arguments to prototype * libc/stdlib/local.h (__locale_charset): Ditto.
* 2009-06-16 Craig Howland <howland@LGSInnovations.com>Jeff Johnston2009-06-162-15/+18
| | | | | | | * libc/include/math.h: Simplify fpclassify, isinf, isnan, and signbit macros to remove un-necessary extension use. isinf and isnan also changed to use fpclassify. isfinite macro modified to run faster by only calling fpclassify once instead of possibly twice.
* merge from gccDJ Delorie2009-06-162-6/+19
|
* * net.cc (get_flags): New static function to generate interface flagsCorinna Vinschen2009-06-152-115/+300
| | | | | | | | | | | | value. (get_ipv4fromreg_ipcnt): New static function to fetch number of configured IPv4 addresses for a given NIC from registry. (get_ipv4fromreg): New static function to fetch configured IPv4 addresses for a given NIC from registry. (get_friendlyname): New static function to generate friendly name. (get_hwaddr): New static function to copy hardware address. (get_xp_ifs): Restructure slightly. Add code to generate IPv4 entries entries for interfaces which are disconnected.
* * configure.ac: Define is_elf for QNX Neutrino targets.Nick Clifton2009-06-153-2/+7
| | | | * configure: Regenerate.
* PR 10263Nick Clifton2009-06-152-10/+21
| | | | | | | | | | | | * arm-dis.c (print_insn): Ignore is_data if the user has requested the disassembly of data as well as instructions. * objdump.c (disassemble_bytes): Set the DISASSEMBLE_DATA bit in the flags field of the disassemble_info structure if the -D switch is in operation. * dis-asm.h (struct disassemble_info): New value for the flags field.
* * errno.cc (errmap): Add mapping for ERROR_IO_INCOMPLETE.Christopher Faylor2009-06-145-16/+47
| | | | | | | | | | | | | * fhandler.cc (fhandler_base::fcntl): Fix comment. (fhandler_base::wait_overlapped): Accept an optional len parameter. Use the len parameter when WriteFile fails with ERROR_IO_PENDING. Make debug output less alarming. (fhandler_base::write_overlapped): Pass len to wait_overlapped. * fhandler.h (fhandler_base::wait_overlapped): Add an optional argument denoting the number of characters intended to be written. * fhandler_tty.cc (fhandler_pty_master::close): Don't close archetype handles when cygwin is still initializing since the handles aren't actually opened at that point.
* * localtime.cc (time2): Take another stab at fixing a compiler warning.Corinna Vinschen2009-06-142-1/+5
|
* * localtime.cc (time2): Take a stab at fixing a compiler warning.Christopher Faylor2009-06-142-1/+5
|