summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-239-12/+21
| | | | | | | * libc/misc/ffs.c, libc/string/bcmp.c, libc/string/bcopy.c, libc/string/bzero.c, libc/string/index.c, libc/string/rindex.c, libc/string/strcasecmp.c, libc/string/strncasecmp.c: Let synopsis reference "#include <strings.h>".
* 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-234-0/+14
| | | | | | | * libc/posix/regexec.c: Define "nope" only #ifndef NDEBUG. * libc/stdio/vfscanf.c: Define "state" only #ifdef _MB_CAPABLE. * libc/string/wcwidth.c: Include <wctypes.h> for "iswprint" and "iswcntrl".
* 2011-08-23 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-232-0/+11
| | | | | * libc/sys/rtems/include/limits.h: Compute SSIZE_MAX based on __SIZE_MAX__, __SIZEOF_SIZE_T__ and __CHAR_BIT__.
* * picflag.m4: New file.Rainer Orth2011-08-222-0/+99
|
* 2011-08-22 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-227-4/+19
| | | | | | | | | | | | | * libc/string/index.c: Include <strings.h> for "index". * libc/string/rindex.c: Include <strings.h> for "rindex". * libc/string/strcasecmp.c: Include <strings.h> for "strcasecmp". Don't include <string.h>. * libc/string/strncasecmp.c: Include <strings.h> for "strncasecmp". Don't include <string.h>. * libc/string/bzero.c: Include <strings.h> for "bzero". Don't include <string.h> * libc/misc/ffs.c: Include <strings.h> for "ffs". Don't include <_ansi.h>.
* * Makefile.in: Check for header file existence when building dumper.exe too.Christopher Faylor2011-08-212-3/+10
|
* * dtable.cc (conv_start_chars): Remove unneeded section attribute.Christopher Faylor2011-08-212-2/+5
|
* * include/paths.h (_PATH_MAILDIR): Define.Yaakov Selkowitz2011-08-212-0/+7
| | | | (_PATH_SHELLS): Define.
* * fhandler_process.cc (format_process_maps): Define page protectionCorinna Vinschen2011-08-202-6/+15
| | | | | shortcuts RO, X, and WC. Use in creating access flag string. Don't set type flag to 's' for copy-on-write pages, as on Linux.
* 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-202-95/+72
| | | | | | | | * libc/sys/rtems/crt0.c: Rework RTEMS_STUB macro. Include <unistd.h>. Remove C++-style comments. Remove hppa, a29k. Add clock_gettime, gettimeofday, sched_yield.
* 2011-08-20 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2011-08-202-2/+6
| | | | * include/_mingw.h: Increment version to 3.19.
* 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2011-08-202-1/+8
| | | | | | * include/float.h: Modify guard to accomodate CLang. Thanks to Ruben Van Boxem for the report.
* 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2011-08-202-34/+4
| | | | * tlssup.c: Remove mingwm10.dll fallback.
* 2011-08-19 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>Chris Sutcliffe2011-08-202-1/+7
| | | | | | * include/sys/types.h (ssize_t): Defined as int as opposed to long. Thanks to bvassche for the report.
* * new-features.sgml (ov-new1.7.10): Document /proc/devicesYaakov Selkowitz2011-08-192-0/+10
| | | | and /proc/misc.
* * devices.h (fh_devices): Define DEV_MISC_MAJOR, DEV_MEM_MAJOR,Yaakov Selkowitz2011-08-193-12/+90
| | | | | | | | DEV_SOUND_MAJOR. Use throughout. * fhandler_proc.cc (proc_tab): Add /proc/devices and /proc/misc virtual files. (format_proc_devices): New function. (format_proc_misc): New function.
* * dtable.cc: Mark some const variables as static.Christopher Faylor2011-08-194-18/+65
| | | | | | | | | | * environ.cc (conv_start_chars): Move to shared cygwin region and initialize at compile time. (match_first_char): New generic function for querying conv_start_chars. (posify_maybe): Rename from posify. (environ_init): Remove conv_envvars initialization. Don't check conv_start_chars, just allow posify_maybe to make the decision. * fhandler_console.cc (__vt100_conv): Fix formatting. Mark as const.
* 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-197-0/+21
| | | | | | | | | * libc/stdio/vasiprintf.c: Include "local.h" for "_svfiprintf_r". * libc/stdio/vasprintf.c Include "local.h" for "_svfprintf_r". * libc/stdio/vsiprintf.c: Include "local.h" for "_svfiprintf_r". * libc/stdio/vsniprintf.c: Include "local.h" for "_svfiprintf_r". * libc/stdio/vsnprintf.c: Include "local.h" for "_svfprintf_r" * libc/stdio/vsprintf.c: Include "local.h" for "_svfprintf_r"
* 2011-08-19 Ralf Corsépius <ralf.corsepius@rtems.org>Ralf Corsepius2011-08-195-0/+11
| | | | | | | * libc/string/bcmp.c: Include <strings.h> for "bcmp". * libc/string/bcopy.c: Include <strings.h> for "bcopy". * libc/string/strcasestr.c: Include <strings.h> for "strncasecmp". * libc/time/strptime.c: Include <strings.h> for "strncasecmp".
* Include the <root>/cpu/ dir in GDB releasesJoel Brobecker2011-08-192-1/+5
| | | | | | | | | | This directory contains some files that are used to generate some of the files included in the GDB release, and thus must be part of the GDB release also. ChangeLog: * src-release (GDB_SUPPORT_DIRS): Add 'cpu'.
* * iq2000/sim.ld (.gcc_except_table): Include .gcc_except_table.fooNick Clifton2011-08-192-1/+6
| | | | sections as well.
* * libc/include/process.h: Remove exec family function declarations.Corinna Vinschen2011-08-193-10/+12
| | | | | Add comment. * libc/include/sys/unistd.h (execlpe): Declare for Cygwin.
* * libc/time/mktime.c (validate_structure): Account for tm_mon possiblyCorinna Vinschen2011-08-192-6/+13
| | | | | being given as negative. (mktime): Set tm_isdst=0 when !daylight.
* * fhandler_console.cc (fhandler_console::read): Recognize backspace keyCorinna Vinschen2011-08-192-1/+7
| | | | | using the device independent key code, rather than the device dependent scan code.
* * include/winuser.h: Ad missing MAPVK_xxx definitions.Corinna Vinschen2011-08-192-0/+10
|
* * sysv_shm.cc (ACCESSPERMS): Remove to fix redefined warning, asYaakov Selkowitz2011-08-192-1/+5
| | | | this is now defined in <sys/stat.h>.
* * dcrt0.cc (dll_crt0_0): Remove unneeded __stdcall decoration.Christopher Faylor2011-08-183-2/+7
| | | | * init.cc: Reflect change to dll_crt0_0 in declaration.
* * dtable.cc (dtable::get_debugger_info): Add missing braces.Corinna Vinschen2011-08-182-7/+14
| | | | (dtable::stdio_init): Fix incorrect negation of not_open(2) condition.
* 2011-08-16 Pierre Humblet <Pierre.Humblet@ieee.org>Pierre Humblet2011-08-162-50/+22
| | | | | * net.cc (gethostby_helper): Remove DEBUGGING code from and streamline the second pass.
* * dlfcn.cc (dlopen): Reimplement RTLD_NODELETE for Windows 2000 usingCorinna Vinschen2011-08-164-9/+67
| | | | | | | | | | internal datastructures. Explain the code. * ntdll.h (struct _LDR_DATA_TABLE_ENTRY): Define. (struct _PEB_LDR_DATA): Define. (struct _PEB): Change PVOID LoaderData to PPEB_LDR_DATA Ldr. * fhandler_process.cc (format_process_maps): Call NtQueryVirtualMemory with valid return length pointer. Explain why.
* * new-features.sgml (ov-new1.7.10): Document new RTLD flags.Corinna Vinschen2011-08-162-0/+8
|
* * include/cygwin/version.h (CYGWIN_VERSION_API_MINOR): Bump.Corinna Vinschen2011-08-162-1/+6
|
* * autoload.cc (GetModuleHandleExW): Define.Corinna Vinschen2011-08-164-16/+50
| | | | | | | | | | * dlfcn.cc: Throughout mark exported symbols as extern "C". (dlopen): Unignore flags argument. Define ret to NULL. Fix typo in comment. Support Glibc flags RTLD_NOLOAD and RTLD_NODELETE. * include/dlfcn.h: Clean up comments. (RTLD_NODELETE): Define. (RTLD_NOLOAD): Define. (RTLD_DEEPBIND): Define.
* * pipe.cc (pipe): Just call _pipe with O_BINARY mode. Move code toCorinna Vinschen2011-08-152-19/+11
| | | | | generate normalized pathnames from here... (_pipe): ...to here.
* Merge from gcc:Yao Qi2011-08-143-2/+10
| | | | | | 2011-08-14 Yao Qi <yao@codesourcery.com> * configure.ac (tic6x-*-*): Remove gdb from noconfigdirs. * configure: Regenerate.
* * miscfuncs.cc (CreatePipeOverlapped): New function.Corinna Vinschen2011-08-135-29/+103
| | | | | | | | | | | (ReadPipeOverlapped): Ditto. (WritePipeOverlapped): Ditto. * miscfuncs.h: Declare new functions. * pinfo.cc (commune_process): Call WritePipeOverlapped instead of WriteFile. Set timeout to 1 sec. (_pinfo::commune_request): Call ReadPipeOverlapped instead of ReadFile. Set timeout to 0.5 secs. * sigproc.cc (sig_send): Create pipe using CreatePipeOverlapped.
* Add R_X86_64_RELATIVE64.H.J. Lu2011-08-122-0/+6
| | | | | | | 2011-08-12 H.J. Lu <hongjiu.lu@intel.com> PR ld/13082 * x86-64.h (R_X86_64_RELATIVE64): New.
* * miscfuncs.cc (create_pipe): Delete obsolete function.Christopher Faylor2011-08-124-16/+7
| | | | | * miscfuncs.h (create_pipe): Delete define. * pipe.c (fhandler_pipe::create_selectable): Delete obsolete comment.
* * new-features.sgml (ov-new1.7.10): Document large address awarenessCorinna Vinschen2011-08-123-44/+61
| | | | | | | of heap and new way to set the default heap size per executable. * setup2.sgml (setup-maxmem): Revamp to explain new method of allocating more heap on a per-executable basis. Drop outdated stuff. Keep shortened description of heap_chunk_in_mb as note.
* * fhandler_proc.cc (fhandler_proc::closedir): Don't free, but deleteCorinna Vinschen2011-08-122-3/+11
| | | | | | instead. Also fix previous ChangeLog entry.
* * fhandler.h (fhandler_proc::opendir): Declare.Corinna Vinschen2011-08-123-1/+31
| | | | | | | (fhandler_proc::closedir): Declare. * fhandler_proc.cc (fhandler_proc::opendir): New method. Fetch list of active processes here once to avoid potential duplicates. (fhandler_proc::closedir): New method.
* * fhandler_proc.cc (fhandler_proc::get_proc_fhandler): Don't allow toCorinna Vinschen2011-08-113-4/+25
| | | | | | access process info by using the Windows PID. * fhandler_process.cc (fhandler_process::fstat): Ditto. (fhandler_process::fill_filebuf): Ditto.
* * (winpids::add): Make sure to store always a Windows PID inCorinna Vinschen2011-08-112-25/+77
| | | | | | | | pidlist, even if pid is a Cygwin PID. (winpids::enum_processes): Fetch Cygwin processes from listing of shared cygwin object dir in the native NT namespace. Only if winpid is true, fetch Windows processes using an additional call to NtQuerySystemInformation.
* * ps.cc (main): Don't overwrite process name, just attach <defunct>Corinna Vinschen2011-08-102-5/+10
| | | | to it for zombie processes.
* * fhandler_process.cc (format_process_status): Always print process nameCorinna Vinschen2011-08-103-28/+34
| | | | | | | even for zombies. (get_mem_values): Fix loop fetching working set list to avoid out of memory conditions. Return all mem values set to 0 for zombies. * ntdll.h (STATUS_PROCESS_IS_TERMINATING): Define.
* gas/Maciej W. Rozycki2011-08-092-5/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * config/tc-mips.c (mips_set_options): Add ase_mcu. (mips_opts): Initialise ase_mcu to -1. (ISA_SUPPORTS_MCU_ASE): New macro. (MIPS_CPU_ASE_MCU): Likewise. (is_opcode_valid): Handle MCU. (macro_build, macro): Likewise. (validate_mips_insn, validate_micromips_insn): Likewise. (mips_ip): Likewise. (options): Add OPTION_MCU and OPTION_NO_MCU. (md_longopts): Add mmcu and mno-mcu. (md_parse_option): Handle OPTION_MCU and OPTION_NO_MCU. (mips_after_parse_args): Handle MCU. (s_mipsset): Likewise. (md_show_usage): Handle MCU options. * doc/as.texinfo: Document -mmcu and -mno-mcu options. * doc/c-mips.texi: Likewise, and document ".set mcu" and ".set nomcu" directives. gas/testsuite/ * gas/mips/micromips@mcu.d: New test. * gas/mips/mcu.d: Likewise. * gas/mips/mcu.s: New test source. * gas/mips/mips.exp: Run the new tests. include/opcode/ * mips.h (OP_MASK_3BITPOS, OP_SH_3BITPOS): New macros. (OP_MASK_OFFSET12, OP_SH_OFFSET12): Redefine. (INSN_ASE_MASK): Add the MCU bit. (INSN_MCU): New macro. (M_ACLR_AB, M_ACLR_OB, M_ASET_AB, M_ASET_OB): New enum values. (MICROMIPSOP_MASK_3BITPOS, MICROMIPSOP_SH_3BITPOS): New macros. opcodes/ * mips-dis.c (mips_arch_choices): Enable MCU for "mips32r2" and "mips64r2". (print_insn_args, print_insn_micromips): Handle MCU. * micromips-opc.c (MC): New macro. (micromips_opcodes): Add "aclr", "aset" and "iret". * mips-opc.c (MC): New macro. (mips_builtin_opcodes): Add "aclr", "aset" and "iret".
* include/opcode/Maciej W. Rozycki2011-08-092-33/+55
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * mips.h (INSN_WRITE_GPR_S, INSN2_WRITE_GPR_MB): New macros. (INSN2_READ_GPR_MC, INSN2_READ_GPR_ME): Likewise. (INSN2_WRITE_GPR_MF, INSN2_READ_GPR_MG): Likewise. (INSN2_READ_GPR_MJ, INSN2_WRITE_GPR_MJ): Likewise. (INSN2_READ_GPR_MP, INSN2_WRITE_GPR_MP): Likewise. (INSN2_READ_GPR_MQ, INSN2_WRITE_GPR_MHI): Likewise. (INSN2_READ_GPR_MMN): Likewise. (INSN2_READ_FPR_D): Change the bit used. (INSN2_MOD_GPR_MD, INSN2_MOD_GPR_MF): Likewise. (INSN2_MOD_SP, INSN2_READ_GPR_31, INSN2_READ_GP): Likewise. (INSN2_READ_PC, INSN2_UNCOND_BRANCH): Likewise. (INSN2_COND_BRANCH): Likewise. (INSN2_WRITE_GPR_S, INSN2_MOD_GPR_MB): Remove macros. (INSN2_MOD_GPR_MC, INSN2_MOD_GPR_ME, INSN2_MOD_GPR_MG): Likewise. (INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MP, INSN2_MOD_GPR_MQ): Likewise. (INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MM): Likewise. (INSN2_MOD_GPR_MN): Likewise. gas/ * config/tc-mips.c (gpr_mod_mask): Remove INSN2_MOD_GPR_MB, INSN2_MOD_GPR_MC, INSN2_MOD_GPR_ME, INSN2_MOD_GPR_MG, INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MM, INSN2_MOD_GPR_MN, INSN2_MOD_GPR_MP and INSN2_MOD_GPR_MQ opcode register use checks. (gpr_read_mask): Add INSN2_READ_GPR_MC, INSN2_READ_GPR_ME INSN2_READ_GPR_MG, INSN2_READ_GPR_MJ, INSN2_READ_GPR_MMN, INSN2_READ_GPR_MP and INSN2_READ_GPR_MQ opcode register use checks. (gpr_write_mask): Replace INSN2_WRITE_GPR_S opcode register use flag with INSN_WRITE_GPR_S. Add INSN2_WRITE_GPR_MB, INSN2_WRITE_GPR_MHI, INSN2_WRITE_GPR_MJ and INSN2_WRITE_GPR_MP opcode register use checks. (can_swap_branch_p): Enable microMIPS branch swapping. (append_insn): Likewise. gas/testsuite/ * gas/mips/micromips.d: Update according to changes to enable microMIPS branch swapping. * gas/mips/micromips-trap.d: Likewise. * gas/mips/micromips@jal-svr4pic.d: Likewise. * gas/mips/micromips@loc-swap.d: Likewise. * gas/mips/micromips@loc-swap-dis.d: Likewise. opcodes/ * micromips-opc.c (MOD_mb, MOD_mc, MOD_md): Remove macros. (MOD_me, MOD_mf, MOD_mg, MOD_mhi, MOD_mj, MOD_ml): Likewise. (MOD_mm, MOD_mn, MOD_mp, MOD_mq, MOD_sp): Likewise. (WR_mb, RD_mc, RD_md, WR_md, RD_me, RD_mf, WR_mf): New macros. (RD_mg, WR_mhi, RD_mj, WR_mj, RD_ml, RD_mmn): Likewise. (RD_mp, WR_mp, RD_mq, RD_sp, WR_sp): Likewise. (WR_s): Update macro. (micromips_opcodes): Update register use flags of: "addiu", "addiupc", "addiur1sp", "addiur2", "addius5", "addiusp", "addu", "and", "andi", "beq", "beqz", "bne", "bnez", "di", "ei", "j", "jalr", "jalrs", "jr", "jraddiusp", "jrc", "lbu", "lhu", "li", "lui", "lw", "lwm", "mfhi", "mflo", "move", "movep", "not", "nor", "or", "ori", "sb", "sh", "sll", "srl", "subu", "sw", "swm" and "xor" instructions.
* * heap.cc (eval_initial_heap_size): New function fetching the heapCorinna Vinschen2011-08-094-34/+36
| | | | | | | | | size from the LoaderFlags field in the PE/COFF header. (heap_init): Call eval_initial_heap_size rather than cygwin_shared->heap_chunk_size to fetch the initial heap size. * shared.cc (shared_info::heap_chunk_size): Remove. * shared_info.h (class shared_info): Drop heap_chunk member. (CURR_SHARED_MAGIC): Update.
* * ntdll.h (STATUS_NOT_FOUND): Define.Corinna Vinschen2011-08-093-25/+62
| | | | | | | | * ntea.cc (read_ea): Return correct ENOTSUP rather than EOPNOTSUPP. Handle STATUS_INVALID_DEVICE_REQUEST and STATUS_NOT_FOUND. Explain why. Convert conditional to switch statement. (write_ea): Return correct ENOTSUP rather than EOPNOTSUPP. Handle STATUS_INVALID_DEVICE_REQUEST. Convert conditional to switch statement.
* Fix name in last entry.Jeff Johnston2011-08-081-0/+5
|