summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* * overview.sgml: Fix Red Hat URL.Christopher Faylor2010-01-042-2/+6
|
* * dcrt0.cc: Bump copyright.Christopher Faylor2010-01-013-3484/+3488
| | | | Do the changelog shuffle.
* * dcrt0.cc (dll_crt0_1): Move internal locale setting prior to potentialChristopher Faylor2010-01-012-2/+9
| | | | globify to prevent creation of unglobbed filenames in the wrong character set.
* Update copyright notices to add year 2010.Joel Brobecker2010-01-0114-14/+14
|
* * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.Joel Brobecker2009-12-292-0/+8
|
* * fhandler.h (fhandler_socket::wait_for_events): Drop parameter defaultCorinna Vinschen2009-12-283-4/+13
| | | | | | | | value. * fhandler_socket.cc (fhandler_socket::connect): Add false as second parameter to wait_for_events call. (fhandler_socket::accept): Ditto. (fhandler_socket::send_internal): Fix typo in call to wait_for_events.
* Make pty.h match recent glibc.Eric Blake2009-12-263-5/+14
| | | | | | * include/pty.h (openpty, forkpty): Mark last two arguments const, to match glibc 2.8. * libc/bsdlib.cc (openpty, forkpty): Likewise.
* * fhandler_console.cc (handler_console::read): Use the tty's VERASE characterChristopher Faylor2009-12-252-5/+17
| | | | as the backspace keycode.
* * path.cc (symlink_info::check): Set fileattr toCorinna Vinschen2009-12-242-1/+11
| | | | FILE_ATTRIBUTE_DIRECTORY in a certain error condition. Explain why.
* * pathnames.sgml (mount-table): Add missing slash in pathname.Corinna Vinschen2009-12-232-1/+5
|
* * select.cc (fhandler_fifo::select_read): Fill in device specific record.Christopher Faylor2009-12-232-0/+16
| | | | | (fhandler_fifo::select_write): Ditto. (fhandler_fifo::select_except): Ditto.
* Fix getsubopt declaration.Eric Blake2009-12-223-27/+33
| | | | | * libc/include/sys/unistd.h (suboptarg, getsubopt): Move... * libc/include/stdlib.h: ...here, to match POSIX for getsubopt.
* * path.cc (cygwin_conv_path): Add band-aid including comment to avoidCorinna Vinschen2009-12-212-1/+25
| | | | conversion from POSIX "." to Win32 ".\\".
* * exec.cc (execvp): Call find_exec with FE_NNF flag to enforceCorinna Vinschen2009-12-213-3/+19
| | | | | | | | a NULL return when executable isn't found in $PATH. Convert NULL to "". (execvpe): Ditto. * spawn.cc (spawn_guts): Return with EFAULT if prog_arg is NULL. Return with ENOENT if prog_arg is empty string. Add a comment.
* * fhandler_console.cc (get_nonascii_key): Generate ESC prefixCorinna Vinschen2009-12-212-34/+60
| | | | | | | | | | | for Alt modifier generically for function keys and keypad keys. Distinguish Normal, Ctrl, Shift, Ctrl-Shift rather than Normal, Ctrl, Shift, Alt, so that in combination with generic Alt handling all 8 combinations of these modifiers are distinguished. (keytable): Add escape sequences for remaining modified function keys as a compatible extension using rxvt escape codes. Also distinguish keypad keys modified with Ctrl, Shift, Ctrl-Shift using xterm-style modifier coding.
* Throughout, revert ill-conceived replacement of hMainThread withCorinna Vinschen2009-12-215-3/+17
| | | | | | GetCurrentThread/NtCurrentThread. * dcrt0.cc (dll_crt0_0): Duplicate main thread handle to hMainThread again.
* * fhandler_console.cc (__vt100_conv): Minor formatting change.Corinna Vinschen2009-12-192-1/+5
|
* * fhandler_console.cc (write_console): Check for VT100Corinna Vinschen2009-12-193-11/+127
| | | | | | | | | | | | | | | | | | | | | | graphics mode and transform wide characters in ASCII small letter range to corresponding graphics. (__vt100_conv): Table to transform small ASCII letters to line drawing graphics for use in VT100 graphics mode. (write_normal): Check for SO/SI control characters to enable/disable VT100 graphics mode. (base_chars): Enable SO/SI control characters for detection. (write): Check for ESC ( 0 / ESC ( B escape sequences to enable/disable VT100 graphics mode. Also detect ">" while parsing ESC [ sequences to distinguish specific requests. (char_command): Distinguish Secondary from Primary Device Attribute request to report more details about cygwin console terminal version. * fhandler.h (vt100_graphics_mode_active): New flag to indicate mode. (saw_greater_than_sign): New parse flag for ESC [ > sequences. (gotparen, gotrparen): New state values to parse ESC ( / ) sequences. * fhandler_console.cc (read): Allow combined Alt-AltGr modifiers to also produce an ESC prefix like a plain Alt modifier, e.g. to make Alt-@ work on a keyboard where @ is AltGr-q.
* * signal.cc (nanosleep): Fix bug in previous patch.Eric Blake2009-12-192-3/+7
|
* Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcessCorinna Vinschen2009-12-1828-89/+103
| | | | | | | | | | | | according to context. Throughout, replace hMainThread with GetCurrentThread/NtCurrentThread according to context. * dcrt0.cc (dll_crt0_0): Drop duplication of GetCurrentProcess to hMainProc. Drop duplication of GetCurrentThread to hMainThread. * dtable.cc (dtable::stdio_init): Remove useless comment. * globals.cc (hMainProc): Remove. (hMainThread): Remove. * ntdll.h (NtCurrentProcess): Define. (NtCurrentThread: Define.
* * fhandler.h (fhandler_registry::value_name): Convert to wchar_t*.Corinna Vinschen2009-12-183-56/+96
| | | | | | | | | * fhandler_registry.cc: Call UNICODE registry functions throughout and convert to multibyte using current locale's charset. Accommodate throughout. (must_encode): Take wchar_t. (encode_regname): Convert from wchar_t *. (decode_regname): Convert to wchar_t *.
* include/elf/Ulrich Weigand2009-12-182-0/+6
| | | | | | | | | | | | | * common.h (NT_S390_HIGH_GPRS): Define. bfd/ * elf.c (elfcore_grok_s390_high_gprs): New function. (elfcore_grok_note): Handle NT_S390_HIGH_GPRS notes. (elfcore_write_s390_high_gprs): New function. (elfcore_write_register_note): Call it. binutils/ * readelf.c (get_note_type): Handle NT_S390_HIGH_GPRS notes.
* * path.sgml (func-cygwin-conv-path): Clarify meaning of size parameter.Corinna Vinschen2009-12-182-6/+15
| | | | | (func-cygwin-conv-path-list): Fix typo. (func-cygwin-posix-path-list-p): Ditto.
* * config.sub, config.guess: Update from upstream sources.Ben Elliston2009-12-183-6/+16
|
* * ps.cc (main): Return 0 if pid found.Christopher Faylor2009-12-182-2/+9
|
* 2009-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-12-172-0/+6
| | | | | * mn10300/Makefile.in: Add mkdir call to make installation directory when installing.
* 2009-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-12-173-3/+38
| | | | | * COPYING.NEWLIB: Update copyright date. * COPYING.LIBGLOSS: Ditto.
* 2009-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-12-172-0/+5
| | | | * libc/include/_syslist.h: Add _mkdir transform.
* 2009-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-12-1784-6669/+9015
| | | | | | | | | | | | | | | | | * NEWS: Update with 1.18.0 info. * README: Ditto. * acinclude.m4: Change version number to 1.18.0. * aclocal.m4: Regenerated. * configure: Ditto. * doc/aclocal.m4: Ditto. * doc/configure: Ditto. * libc/*/aclocal.m4: Ditto. * libc/*/configure: Ditto. * libc/libc.texinfo: Ditto. * libm/*/aclocal.m4: Ditto. * libm/*/configure: Ditto. * libm/libm.texinfo: Ditto. * libc/sys/linux/shared.ld: Add VERS_1.18
* 2008-12-17 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-12-179-52/+83
| | | | | | | | | | | | | | | | | * NEWS: Update with 1.18.0 info. * README: Ditto. * acinclude.m4: Change version number to 1.18.0. * aclocal.m4: Regenerated. * configure: Ditto. * doc/aclocal.m4: Ditto. * doc/configure: Ditto. * libc/*/aclocal.m4: Ditto. * libc/*/configure: Ditto. * libc/libc.texinfo: Ditto. * libm/*/aclocal.m4: Ditto. * libm/*/configure: Ditto. * libm/libm.texinfo: Ditto. * libc/sys/linux/shared.ld: Add VERS_1.18
* 2009-12-17 Jerker Back <jerker.back@gmail.com>Jeff Johnston2009-12-173-2/+14
| | | | | | | * libc/iconv/lib/local.h[!__GNUC__]: Add alternative version of ICONV_ZERO_MB_STATE_T macro. * libc/iconv/lib/ucsconv.c (ucs_based_conversion_get_state): Use temporary local variable nullstate to hold empty mbstate_t.
* 2009-12-17 Jerker Back <jerker.back@gmail.com>Jeff Johnston2009-12-1712-45/+62
| | | | | | | | | | | | | | | * libc/include/_ansi.h: Add new _EXFNPTR macro for using with function pointer arguments. * libc/iconv/lib/conv.h: Use _EXFNPTR rather than _EXPARM macro. * libc/iconv/lib/ucsconv.h: Ditto. * libc/include/stdlib.h: Use new _EXFNPTR macro for function pointers. * libc/include/sys/reent.h: Ditto. * libc/include/sys/unistd.h: Ditto. * libc/search/bsearch.c: Ditto. * libc/stdio/fseek.c: Ditto. * libc/stdio64/fseeko64.c: Ditto. * libc/stdlib/atexit.c: Ditto. * libc/stdlib/on_exit.c: Ditto.
* 2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-173-13/+11
| | | | | | * libc/include/machine/ieeefp.h: Rework __IEEE_*_ENDIAN handling. * libc/machine/arm/machine/endian.h: Remove (Conflicts with libc/include/machine/endian.h)
* 2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-172-1/+5
| | | | * libc/include/machine/setjmp.h: Set up _JBLEN #ifdef __m68k__.
* 2009-12-17 Ralf Corsepius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-173-15/+27
| | | | | | | * libc/include/pthread.h: Add pthread_atfork, pthread_rwlock_unlock * libc/include/sys/stat.h: Use struct timespec st_*tim, blksize_t st_blksize, blkcnt_t st_blocks. Add st_*time compatibility macros.
* * syscalls.cc (try_to_bin): Handle remote shares as well. Just renameCorinna Vinschen2009-12-172-72/+85
| | | | | | | files in this case, instead of moving them to the recycler. Create even more unique filename. Add comment to explain filename. (unlink_nt): Remove code returning with EBUSY on remote shares. Set bin_stat to move_to_bin except on NFS. Add comment to explain.
* 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-171-0/+34
| | | | | | | | | | | | | | | | * libc/sys/rtems/machine/_types.h: New (Derived from machine/_default_types.h). * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB. * libc/sys/rtems/sys/param.h: Update copyright notice from FreeBSD. Remove HZ. Add #include <sys/priority.h> Remove priority handling (moved to sys/priority.h). Remove CLBYTES (Unused, abandoned in BSD). * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD). Remove CIRCLEQ_*. 2
* * signal.cc (nanosleep): Support 'infinite' sleep times.Eric Blake2009-12-172-19/+55
| | | | (sleep): Avoid uninitialized memory.
* PR ld/11088Alan Modra2009-12-172-4/+9
| | | | | | | | | | | | | | | | | | | | | | include/elf/ * ppc.h (R_PPC_RELAX32, R_PPC_RELAX32PC, R_PPC_RELAX32_PLT, R_PPC_RELAX32PC_PLT): Delete. (R_PPC_RELAX, R_PPC_RELAX_PLT, R_PPC_RELAX_PLTREL24): Define. bfd/ * elf32-ppc.c (update_plt_info): Clear sec here when addend is less than 32768.. (ppc_elf_check_relocs): ..rather than doing so here. Ignore new relax relocs. (ppc_elf_gc_sweep_hook): Don't segfault when symbol hiding has removed plt_entry records. (ppc_elf_tls_setup): Handle PIE calls to __tls_get_addr correctly. (ppc_elf_tls_optimize): Likewise. Also dec __tls_get_addr refcount when optimizing code using new tlsgd and tlsld marker relocs. (ppc_elf_relax_section): Differentiate relaxed PLTREL24 relocs from ADDR24 relocs using plt or glink. Don't clear the addend for R_PPC_RELAX_PLTREL24. (ppc_elf_relocate_section): Correctly handle addends on relaxed PLTREL24 relocs.
* 2009-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>Jeff Johnston2009-12-162-0/+9
| | | | | * libc/sys/rtems/machine/param.h: Only use sizeof(double) -1 for ALIGNBYTES on SPARC.
* 2009-12-16 Conny Marco Menebrocker <c-m-m@gmx.de>Jeff Johnston2009-12-164-26/+10
| | | | | | | * xc16x/Makefile.in: Remove extraneous stuff brought in by copy. * xc16x/configure.in: Ditto. * xc16x/configure: Regenerated.
* 2009-12-16 Jeff Johnston <jjohnstn@redhat.com>Jeff Johnston2009-12-162-5/+7
| | | | | | * libc/include/sys/errno.h: Move EHOSTDOWN, EPFNOSUPPORT, and ETOOMANYREFS into general list as they are referenced by OpenGroup and needed by RTEMS.
* 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-162-1/+4
| | | | * libc/search/hcreate.c: Don't include <sys/queue.h> (Unused).
* 2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>Jeff Johnston2009-12-164-165/+109
| | | | | | | | | | | | | | * libc/sys/rtems/machine/_types.h: New (Derived from machine/_default_types.h). * libc/sys/rtems/crt0.c: Rework. Introduce macro RTEMS_STUB. * libc/sys/rtems/sys/param.h: Update copyright notice from FreeBSD. Remove HZ. Add #include <sys/priority.h> Remove priority handling (moved to sys/priority.h). Remove CLBYTES (Unused, abandoned in BSD). * libc/sys/rtems/sys/queue.h: Update copyright (from FreeBSD). Remove CIRCLEQ_*.
* * fhandler_console.cc (read): Detect and handle mouse wheel scrollingCorinna Vinschen2009-12-164-92/+194
| | | | | | | | | | | | | | | | | | | events (for completion of mouse reporting mode 1000) and mouse movement events (for additional mouse reporting modes 1002 and 1003). Use mouse_aware() as a guard and only condition for mouse reporting in order to enforce consistence of read() and select(). Add focus reports (for additional focus reporting mode 1004). (mouse_aware): Enable detection of additional mouse events for select(). Tune function to precisely match actual reporting criteria. Move adjustment of mouse position (by window scroll offset) here to avoid duplicate code. (char_command): Initialization of enhanced mouse reporting modes. Initialization of focus reporting mode. * fhandler.h (use_mouse): Change flag (bool->int) to indicate additional mouse modes. Add flag to indicate focus reporting. (mouse_aware): Move enhanced function into fhandler_console.cc. * select.cc (peek_console): Use modified mouse_aware() for more general detection of mouse events. Also check for focus reports.
* * regtool.cc: Throughout, convert all registry calls to wide charCorinna Vinschen2009-12-163-100/+146
| | | | | | | | | | | | | calls and use string conversion according to current locale. (longopts): Change "dword-le" to "dword-be", as was originally intended. (usage): Change usage accordingly. (print_version): Simplify copyright dates in output. (cmd_list): Handle REG_LINK like REG_SZ. (cmd_get): Ditto. (main): Call setlocale. * utils.sgml (regtool): Fix options and add missing descriptions for new features.
* * registry.cc (cygnus_class): Remove.Corinna Vinschen2009-12-162-2/+6
| | | | (reg_key::build_reg): Don't set class when creating key.
* 2009-12-15 Conny Marco Menebrocker <c-m-m@gmx.de>Jeff Johnston2009-12-153-7/+13
| | | | | | * libc/machine/xc16x/Makefile.am: Fix typo and refer to puts.c instead of putc.c. * libc/machine/xc16x/Makefile.in: Regenerated.
* * net.cc (cygwin_setsockopt): Only skip calling setsockopt(SO_REUSEADDR)Corinna Vinschen2009-12-152-4/+10
| | | | on stream sockets under systems supporting enhanced socket security.
* * fhandler_console.cc (char_command): Fix code to select dim modeCorinna Vinschen2009-12-152-4/+17
| | | | | to 2 rather than 9. Add entries for mode 22 (normal, not bold) 28 (visible, not invisible), 25 (not blinking).