summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* * fhandler.cc (fhandler_base::wait_overlapped): Honor nonblocking flag forChristopher Faylor2009-06-144-7/+21
| | | | | | writes. Don't reset event handle when we see a ERROR_IO_PENDING. * sigproc.cc (stopped_or_terminated): Use bool constants for consistency. * wait.cc (wait4): Remove nonsensical comment.
* * fhandler_socket.cc (fhandler_socket::recv_internal): Set namelenCorinna Vinschen2009-06-132-1/+11
| | | | pointer to NULL if name pointer is NULL. Explain why.
* * faq-using.xml (faq.using.emacs): Update.Corinna Vinschen2009-06-122-2/+12
|
* * localtime.cc (time2): Change "spring gap" to "spring forward gap"Corinna Vinschen2009-06-122-5/+10
| | | | in comment.
* * localtime.cc (time2): Add workaround for spring gap problem. AddCorinna Vinschen2009-06-122-1/+27
| | | | explaining comment.
* * Makefile.in (SUBLIBS): Add librt.a.Corinna Vinschen2009-06-122-1/+9
| | | | (librt.a): New rule to build librt.a.
* Improve ChangeLog entry. Fix posix_ipc.cc copyrightCorinna Vinschen2009-06-122-2/+3
|
* * posix_ipc.cc (check_path): Fix typo in comment. Align namingCorinna Vinschen2009-06-122-4/+17
| | | | convention rules to Linux. Add comment.
* Add PC-relative branch instructions to moxie port.Anthony Green2009-06-114-3/+15
|
* * path.cc (oopts): Sort alphabetically, add missing "auto" andCorinna Vinschen2009-06-102-31/+70
| | | | | | | | | | | "override" entries. (from_fstab_line): Handle mount points same as Cygwin itself. Use "cygdrive prefix" as posix name of cygdrive prefix. (from_fstab): Add auto entries for /usr/bin and /usr/lib. Add MOUNT_AUTOMATIC and MOUNT_IMMUTABLE flags to default root dir entry. Use "cygdrive prefix" as posix name of default cygdrive prefix. (getmntent): Allocate smaller buffers. Align output closer to output of mount(1).
* * libc/ctype/tolower.c (tolower): Cast conversion result fromCorinna Vinschen2009-06-093-2/+8
| | | | | mbtowc/wctomb to unsigned char to avoid negative return values. * libc/ctype/toupper.c (toupper): Ditto.
* * autoload.cc (GetSystemTimes): Remove.Corinna Vinschen2009-06-093-35/+44
| | | | | | | | | | * fhandler_proc.cc (format_proc_uptime): Use global system_info rather than retrieving a local copy of the SYSTEM_INFO. Drop call to GetSystemTimes and retrieve SystemPerformanceInformation on all systems again with buffer size big enough for 64 bit systems. (format_proc_stat): Use global system_info rather than retrieving a local copy of the SYSTEM_INFO. Retrieve SystemPerformanceInformation with buffer size big enough for 64 bit systems.
* Fix ChangeLog entryCorinna Vinschen2009-06-081-1/+1
|
* * autoload.cc (GetSystemTimes): Define.Corinna Vinschen2009-06-083-39/+61
| | | | | | | | | * fhandler_proc.cc (format_proc_uptime): Use GetSystemInfo to retrieve processor count. Use GetSystemTimes when available to retrieve system idle time. Improve debug output. (format_proc_stat): Use GetSystemInfo to retrieve processor count. Improve debug output. Ignore if SystemPerformanceInformation returns error. Explain why.
* * fork.cc (frok::parent): Remove ancient code erroneously flushingCorinna Vinschen2009-06-082-4/+5
| | | | stdout descriptor.
* * cygerrno.h (save_errno::~save_errno): Set errno directly to avoidCorinna Vinschen2009-06-082-1/+6
| | | | flooding debug output.
* * path.cc (symlink_info::check): Return with error set to ENOENT ifCorinna Vinschen2009-06-082-1/+7
| | | | STATUS_NO_MEDIA_IN_DEVICE is returned.
* * cygheap.h (mini_cygheap): New struct.Christopher Faylor2009-06-089-185/+104
| | | | | | | | | | | | | | | | | | | | | | | | | (init_cygheap): Inherit locale field via mini_cygheap. * cygheap.cc (cygheap_at_start): Define new variable. (cygheap): Initialize as cygheap_at_start so that locale information is always available. (cygheap_init): Initialize cygheap iff it is set to cygheap_at_start. * shared_info.h (memory_init): Accommodate argument change. * memory.cc (memory_init): Accept an argument indicating whether cygheap should be initialized or not. * dcrt0.cc (child_info_fork::handle_fork): Pass false to memory_init(). (child_info_spawn::handle_spawn): Ditto. (dll_crt0_0): Pass true to memory_init when not forking or execing. * cygheap.h (cygheap_types::HEAP_2_DLL): New enum. * dll_init.h (dll): Remove unused namelen field. (dll_list::load_after_fork): Accommodate change in arguments. * dll_init.cc (dll_list::alloc): Allocate dll information in the cygwin heap. (dll_list::detach): Free dll information from the cygwin heap. (dll_list::load_after_fork): Use dll information in the cygwin heap directly rather than querying parent. * fork.cc (frok::first_dll): Delete. (frok::child): Don't report on first_dll. Don't pass it to load_on_fork. (frok::parent): Don't set first_dll. (fork): Ditto.
* * include/ddk/ntapi.h: Add NtXxx equivalent to ZwXxx where missingCorinna Vinschen2009-06-075-12/+2029
| | | | | | | | | and vice versa. * include/ddk/ntifs.h: Ditto. * include/ddk/winddk.h: Ditto. * lib/ntdll.def (NtPlugPlayControl, NtQueryInstallUILanguage, ZwPlugPlayControl, ZwQueryInstallUILanguage): Add entry points defined in header, but missing in lib. Omit NT4-only entry points.
* * dll_init.cc (dll_list::alloc): Allocate memory using a sectionCorinna Vinschen2009-06-072-25/+72
| | | | | | | object. Explain why. Drop call to GetSystemInfo, rather call getpagesize to get allocation granularity. Only align to allocation granularity under WOW64. Use roundup2 to align. (dll_list::detach): Call NtUnmapViewOfSection instead of VirtualFree.
* * mmap.cc: Use NtUnmapViewOfSection instead of UnmapViewOfFileCorinna Vinschen2009-06-062-5/+12
| | | | | | throughout for symmetry. (fhandler_dev_mem::munmap): Use correct process handle in call to NtUnmapViewOfSection.
* Print moxie addresses nicely.Anthony Green2009-06-062-0/+6
|
* * dll_init.h (struct dll): Set size of name element to ANYSIZE_ARRAY.Corinna Vinschen2009-06-063-36/+60
| | | | | | | | * dll_init.cc: Fix formatting. (dll_list::alloc): Only allocate as much memory for struct dll as necessary for given DLL name. (dll_list::load_after_fork): Only read a single page of parent memory. Only read more if namelen indicates that it's necessary.
* * winbase.h (ilockexch): Fix asm constraints.Dave Korn2009-06-052-11/+25
| | | | (ilockcmpexch): Likewise.
* * heap.cc (heap_init): Fix typo in comment.Corinna Vinschen2009-06-052-1/+5
|
* * fhandler_clipboard.cc: Avoid calling system_printf.Corinna Vinschen2009-06-042-103/+112
| | | | | | | | (set_clipboard): Add basic error checking. Set errno here. Per MSDN, don't call GlobalFree on data block transferred to clipboard. (fhandler_dev_clipboard::write): Drop setting errno after call to set_clipboard. (fhandler_dev_clipboard::read): Add basic error checking. Simplify code.
* * new-features.sgml: Add changes to console BS and Space key.Corinna Vinschen2009-06-042-0/+9
|