]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
14 years agoSync from GCC: Makefile.tpl (BASE_TARGET_EXPORTS) fix
Ralf Wildenhues [Thu, 7 Jan 2010 20:00:52 +0000 (20:00 +0000)]
Sync from GCC: Makefile.tpl (BASE_TARGET_EXPORTS) fix

/:
PR bootstrap/41818
* Makefile.tpl (BASE_TARGET_EXPORTS): Only add TARGET_LIB_PATH
to $(RPATH_ENVVAR) if bootstrapping.  Fix typo in comment.
* Makefile.in: Regenerate.

14 years ago * cygpath.cc: Throughout, free obsolete path buffers.
Corinna Vinschen [Thu, 7 Jan 2010 17:19:12 +0000 (17:19 +0000)]
* cygpath.cc: Throughout, free obsolete path buffers.

14 years ago * overview.sgml: Fix Red Hat brand name.
Corinna Vinschen [Thu, 7 Jan 2010 12:18:01 +0000 (12:18 +0000)]
* overview.sgml: Fix Red Hat brand name.

14 years ago * cygpath.cc (main): Remove enforcing "en_US.UTF-8" locale.
Corinna Vinschen [Thu, 7 Jan 2010 12:08:11 +0000 (12:08 +0000)]
* cygpath.cc (main): Remove enforcing "en_US.UTF-8" locale.
Revert usage of argz functions when reading input from file and
simplify option usage.  Allow only one option argument and use
the rest as filename argument to allow spaces in filenames.  Restrict
processing special folder type options to one line.

14 years ago * basic-modes.h (MAKEDI): New macro.
Doug Evans [Wed, 6 Jan 2010 05:25:24 +0000 (05:25 +0000)]
* basic-modes.h (MAKEDI): New macro.

14 years agomerge from gcc
DJ Delorie [Tue, 5 Jan 2010 21:10:23 +0000 (21:10 +0000)]
merge from gcc

14 years ago* overview.sgml: Fix Red Hat URL.
Christopher Faylor [Mon, 4 Jan 2010 16:24:06 +0000 (16:24 +0000)]
* overview.sgml: Fix Red Hat URL.

14 years ago* dcrt0.cc: Bump copyright.
Christopher Faylor [Fri, 1 Jan 2010 19:28:15 +0000 (19:28 +0000)]
* dcrt0.cc: Bump copyright.
Do the changelog shuffle.

14 years ago* dcrt0.cc (dll_crt0_1): Move internal locale setting prior to potential
Christopher Faylor [Fri, 1 Jan 2010 19:15:11 +0000 (19:15 +0000)]
* dcrt0.cc (dll_crt0_1): Move internal locale setting prior to potential
globify to prevent creation of unglobbed filenames in the wrong character set.

14 years agoUpdate copyright notices to add year 2010.
Joel Brobecker [Fri, 1 Jan 2010 10:03:25 +0000 (10:03 +0000)]
Update copyright notices to add year 2010.

14 years ago * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.
Joel Brobecker [Tue, 29 Dec 2009 04:12:11 +0000 (04:12 +0000)]
    * dwarf2.h (enum dwarf_attribute): Add DW_AT_GNAT_descriptive_type.

14 years ago * fhandler.h (fhandler_socket::wait_for_events): Drop parameter default
Corinna Vinschen [Mon, 28 Dec 2009 17:24:03 +0000 (17:24 +0000)]
* fhandler.h (fhandler_socket::wait_for_events): Drop parameter default
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.

14 years agoMake pty.h match recent glibc.
Eric Blake [Sat, 26 Dec 2009 06:20:56 +0000 (06:20 +0000)]
Make pty.h match recent glibc.

* include/pty.h (openpty, forkpty): Mark last two arguments const,
to match glibc 2.8.
* libc/bsdlib.cc (openpty, forkpty): Likewise.

14 years ago* fhandler_console.cc (handler_console::read): Use the tty's VERASE character
Christopher Faylor [Fri, 25 Dec 2009 17:38:46 +0000 (17:38 +0000)]
* fhandler_console.cc (handler_console::read): Use the tty's VERASE character
as the backspace keycode.

14 years ago * path.cc (symlink_info::check): Set fileattr to
Corinna Vinschen [Thu, 24 Dec 2009 12:53:43 +0000 (12:53 +0000)]
* path.cc (symlink_info::check): Set fileattr to
FILE_ATTRIBUTE_DIRECTORY in a certain error condition.  Explain why.

14 years ago * pathnames.sgml (mount-table): Add missing slash in pathname.
Corinna Vinschen [Wed, 23 Dec 2009 10:43:45 +0000 (10:43 +0000)]
* pathnames.sgml (mount-table): Add missing slash in pathname.

14 years ago* select.cc (fhandler_fifo::select_read): Fill in device specific record.
Christopher Faylor [Wed, 23 Dec 2009 00:35:18 +0000 (00:35 +0000)]
* select.cc (fhandler_fifo::select_read): Fill in device specific record.
(fhandler_fifo::select_write): Ditto.
(fhandler_fifo::select_except): Ditto.

14 years agoFix getsubopt declaration.
Eric Blake [Tue, 22 Dec 2009 13:07:24 +0000 (13:07 +0000)]
Fix getsubopt declaration.

* libc/include/sys/unistd.h (suboptarg, getsubopt): Move...
* libc/include/stdlib.h: ...here, to match POSIX for getsubopt.

14 years ago * path.cc (cygwin_conv_path): Add band-aid including comment to avoid
Corinna Vinschen [Mon, 21 Dec 2009 16:44:37 +0000 (16:44 +0000)]
* path.cc (cygwin_conv_path): Add band-aid including comment to avoid
conversion from POSIX "." to Win32 ".\\".

14 years ago * exec.cc (execvp): Call find_exec with FE_NNF flag to enforce
Corinna Vinschen [Mon, 21 Dec 2009 15:16:28 +0000 (15:16 +0000)]
* exec.cc (execvp): Call find_exec with FE_NNF flag to enforce
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.

14 years ago * fhandler_console.cc (get_nonascii_key): Generate ESC prefix
Corinna Vinschen [Mon, 21 Dec 2009 10:11:27 +0000 (10:11 +0000)]
* fhandler_console.cc (get_nonascii_key): Generate ESC prefix
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.

14 years ago Throughout, revert ill-conceived replacement of hMainThread with
Corinna Vinschen [Mon, 21 Dec 2009 09:38:25 +0000 (09:38 +0000)]
Throughout, revert ill-conceived replacement of hMainThread with
GetCurrentThread/NtCurrentThread.
* dcrt0.cc (dll_crt0_0): Duplicate main thread handle to hMainThread
again.

14 years ago * fhandler_console.cc (__vt100_conv): Minor formatting change.
Corinna Vinschen [Sat, 19 Dec 2009 15:40:31 +0000 (15:40 +0000)]
* fhandler_console.cc (__vt100_conv): Minor formatting change.

14 years ago * fhandler_console.cc (write_console): Check for VT100
Corinna Vinschen [Sat, 19 Dec 2009 15:37:10 +0000 (15:37 +0000)]
* fhandler_console.cc (write_console): Check for VT100
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.

14 years ago* signal.cc (nanosleep): Fix bug in previous patch.
Eric Blake [Sat, 19 Dec 2009 00:58:34 +0000 (00:58 +0000)]
* signal.cc (nanosleep): Fix bug in previous patch.

14 years ago Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess
Corinna Vinschen [Fri, 18 Dec 2009 20:32:04 +0000 (20:32 +0000)]
Throughout, replace hMainProc with GetCurrentProcess/NtCurrentProcess
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.

14 years ago * fhandler.h (fhandler_registry::value_name): Convert to wchar_t*.
Corinna Vinschen [Fri, 18 Dec 2009 17:14:21 +0000 (17:14 +0000)]
* fhandler.h (fhandler_registry::value_name): Convert to wchar_t*.
* 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 *.

14 years agoinclude/elf/
Ulrich Weigand [Fri, 18 Dec 2009 16:21:51 +0000 (16:21 +0000)]
include/elf/
* 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.

14 years ago * path.sgml (func-cygwin-conv-path): Clarify meaning of size parameter.
Corinna Vinschen [Fri, 18 Dec 2009 10:11:56 +0000 (10:11 +0000)]
* path.sgml (func-cygwin-conv-path): Clarify meaning of size parameter.
(func-cygwin-conv-path-list): Fix typo.
(func-cygwin-posix-path-list-p): Ditto.

14 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Fri, 18 Dec 2009 03:39:58 +0000 (03:39 +0000)]
* config.sub, config.guess: Update from upstream sources.

14 years ago* ps.cc (main): Return 0 if pid found.
Christopher Faylor [Fri, 18 Dec 2009 03:34:59 +0000 (03:34 +0000)]
* ps.cc (main): Return 0 if pid found.

14 years ago2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Dec 2009 21:48:49 +0000 (21:48 +0000)]
2009-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * mn10300/Makefile.in: Add mkdir call to make installation
        directory when installing.

14 years ago2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Dec 2009 21:12:49 +0000 (21:12 +0000)]
2009-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * COPYING.NEWLIB: Update copyright date.
        * COPYING.LIBGLOSS: Ditto.

14 years ago2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Dec 2009 21:08:04 +0000 (21:08 +0000)]
2009-12-17  Jeff Johnston <jjohnstn@redhat.com>

        * libc/include/_syslist.h: Add _mkdir transform.

14 years ago2009-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Dec 2009 20:41:44 +0000 (20:41 +0000)]
2009-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * 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

14 years ago2008-12-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Dec 2009 20:40:06 +0000 (20:40 +0000)]
2008-12-17  Jeff Johnston  <jjohnstn@redhat.com>

        * 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

14 years ago2009-12-17 Jerker Back <jerker.back@gmail.com>
Jeff Johnston [Thu, 17 Dec 2009 20:04:43 +0000 (20:04 +0000)]
2009-12-17  Jerker Back  <jerker.back@gmail.com>

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

14 years ago2009-12-17 Jerker Back <jerker.back@gmail.com>
Jeff Johnston [Thu, 17 Dec 2009 19:43:43 +0000 (19:43 +0000)]
2009-12-17  Jerker Back  <jerker.back@gmail.com>

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

14 years ago2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Thu, 17 Dec 2009 19:26:38 +0000 (19:26 +0000)]
2009-12-17  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/include/machine/ieeefp.h: Rework __IEEE_*_ENDIAN handling.
        * libc/machine/arm/machine/endian.h: Remove (Conflicts with
        libc/include/machine/endian.h)

14 years ago2009-12-17 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Thu, 17 Dec 2009 19:24:22 +0000 (19:24 +0000)]
2009-12-17  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/include/machine/setjmp.h: Set up _JBLEN #ifdef __m68k__.

14 years ago2009-12-17 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Thu, 17 Dec 2009 19:22:23 +0000 (19:22 +0000)]
2009-12-17  Ralf Corsepius <ralf.corsepius@rtems.org>

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

14 years ago * syscalls.cc (try_to_bin): Handle remote shares as well. Just rename
Corinna Vinschen [Thu, 17 Dec 2009 18:33:05 +0000 (18:33 +0000)]
* syscalls.cc (try_to_bin): Handle remote shares as well.  Just rename
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.

14 years ago2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Thu, 17 Dec 2009 16:10:41 +0000 (16:10 +0000)]
2009-12-16  Ralf Corsépius <ralf.corsepius@rtems.org>

        * 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

14 years ago* signal.cc (nanosleep): Support 'infinite' sleep times.
Eric Blake [Thu, 17 Dec 2009 14:04:04 +0000 (14:04 +0000)]
* signal.cc (nanosleep): Support 'infinite' sleep times.
(sleep): Avoid uninitialized memory.

14 years ago PR ld/11088
Alan Modra [Thu, 17 Dec 2009 05:45:25 +0000 (05:45 +0000)]
PR ld/11088
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.

14 years ago2009-12-16 Joel Sherrill <joel.sherrill@oarcorp.com>
Jeff Johnston [Wed, 16 Dec 2009 21:35:51 +0000 (21:35 +0000)]
2009-12-16  Joel Sherrill <joel.sherrill@oarcorp.com>

        * libc/sys/rtems/machine/param.h: Only use sizeof(double) -1
        for ALIGNBYTES on SPARC.

14 years ago2009-12-16 Conny Marco Menebrocker <c-m-m@gmx.de>
Jeff Johnston [Wed, 16 Dec 2009 20:00:55 +0000 (20:00 +0000)]
2009-12-16  Conny Marco Menebrocker <c-m-m@gmx.de>

        * xc16x/Makefile.in: Remove extraneous stuff
        brought in by copy.
        * xc16x/configure.in: Ditto.
        * xc16x/configure: Regenerated.

14 years ago2009-12-16 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 16 Dec 2009 19:33:10 +0000 (19:33 +0000)]
2009-12-16  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/include/sys/errno.h: Move EHOSTDOWN, EPFNOSUPPORT,
        and ETOOMANYREFS into general list as they are referenced
        by OpenGroup and needed by RTEMS.

14 years ago2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 16 Dec 2009 18:30:20 +0000 (18:30 +0000)]
2009-12-16  Ralf Corsépius <ralf.corsepius@rtems.org>

        * libc/search/hcreate.c: Don't include <sys/queue.h> (Unused).

14 years ago2009-12-16 Ralf Corsépius <ralf.corsepius@rtems.org>
Jeff Johnston [Wed, 16 Dec 2009 18:28:15 +0000 (18:28 +0000)]
2009-12-16  Ralf Corsépius <ralf.corsepius@rtems.org>

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

14 years ago * fhandler_console.cc (read): Detect and handle mouse wheel scrolling
Corinna Vinschen [Wed, 16 Dec 2009 14:56:10 +0000 (14:56 +0000)]
* fhandler_console.cc (read): Detect and handle mouse wheel scrolling
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.

14 years ago * regtool.cc: Throughout, convert all registry calls to wide char
Corinna Vinschen [Wed, 16 Dec 2009 14:02:57 +0000 (14:02 +0000)]
* regtool.cc: Throughout, convert all registry calls to wide char
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.

14 years ago * registry.cc (cygnus_class): Remove.
Corinna Vinschen [Wed, 16 Dec 2009 13:09:46 +0000 (13:09 +0000)]
* registry.cc (cygnus_class): Remove.
(reg_key::build_reg): Don't set class when creating key.

14 years ago2009-12-15 Conny Marco Menebrocker <c-m-m@gmx.de>
Jeff Johnston [Tue, 15 Dec 2009 19:34:08 +0000 (19:34 +0000)]
2009-12-15  Conny Marco Menebrocker  <c-m-m@gmx.de>

        * libc/machine/xc16x/Makefile.am: Fix typo and refer
        to puts.c instead of putc.c.
        * libc/machine/xc16x/Makefile.in: Regenerated.

14 years ago * net.cc (cygwin_setsockopt): Only skip calling setsockopt(SO_REUSEADDR)
Corinna Vinschen [Tue, 15 Dec 2009 17:08:20 +0000 (17:08 +0000)]
* net.cc (cygwin_setsockopt): Only skip calling setsockopt(SO_REUSEADDR)
on stream sockets under systems supporting enhanced socket security.

14 years ago * fhandler_console.cc (char_command): Fix code to select dim mode
Corinna Vinschen [Tue, 15 Dec 2009 12:46:40 +0000 (12:46 +0000)]
* fhandler_console.cc (char_command): Fix code to select dim mode
to 2 rather than 9.  Add entries for mode 22 (normal, not bold)
28 (visible, not invisible), 25 (not blinking).

14 years ago2009-12-14 Doug Kwan <dougkwan@google.com>
Doug Kwan [Tue, 15 Dec 2009 02:02:39 +0000 (02:02 +0000)]
2009-12-14  Doug Kwan  <dougkwan@google.com>

bfd/ChangeLog:

* opncls.c (bfd_opnr_iovec): Rename parameters to avoid shawdowed
variable warnings.
* bfd-in2.h: Regnenerate.

include/ChangeLog:

* bfdlink.h (struct bfd_link_callbacks): Rename function parameters
to avoid shadowed variable warnings.
* dis-asm.h (struct disassemble_info): Ditto.
(disassemble_init_for_target): Ditto.
(init_disassemble_info): Ditto.

14 years ago2009-12-14 Maxim Kuvyrkov <maxim@codesourcery.com>
Jeff Johnston [Mon, 14 Dec 2009 20:50:53 +0000 (20:50 +0000)]
2009-12-14  Maxim Kuvyrkov <maxim@codesourcery.com>

        * libc/machine/m68k/memcpy.S: Patch to support
        boards which do not support unaligned read/write.

14 years ago * faq-setup.xml (faq.setup.mirror): Fix URL to wget.
Corinna Vinschen [Mon, 14 Dec 2009 17:15:51 +0000 (17:15 +0000)]
* faq-setup.xml (faq.setup.mirror): Fix URL to wget.

14 years ago * libc/getopt.c (getopt_internal): Set optreset according to optind
Corinna Vinschen [Mon, 14 Dec 2009 10:47:25 +0000 (10:47 +0000)]
* libc/getopt.c (getopt_internal): Set optreset according to optind
setting earlier.  Reevaluate POSIXLY_CORRECT if optreset is set to !0.
Handle a leading '-' in options independently of posixly_correct.

14 years agoFix reference to putchar.o and puts.o which were moved to newlib as part of
Jeff Johnston [Thu, 10 Dec 2009 17:22:11 +0000 (17:22 +0000)]
Fix reference to putchar.o and puts.o which were moved to newlib as part of
initial check-in.

14 years ago2009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>
Jeff Johnston [Thu, 10 Dec 2009 17:12:11 +0000 (17:12 +0000)]
2009-12-10  Conny Marco Menebrocker  <c-m-m@gmx.de>

        * configure.host: Add xc16x support.
        * libc/include/machine/ieeefp.h: Ditto.
        * libc/include/sys/config.h: Ditto.
        * libc/machine/configure.in: Ditto.
        * libc/machine/Makefile.in: Regenerated.
        * libc/machine/aclocal.m4: Ditto.
        * libc/machine/configure: Ditto.
        * libc/machine/xc16x/Makefile.am: New file.
        * libc/machine/xc16x/Makefile.in: Ditto.
        * libc/machine/xc16x/aclocal.m4: Ditto.
        * libc/machine/xc16x/configure: Ditto.
        * libc/machine/xc16x/configure.in: Ditto.
        * libc/machine/xc16x/putchar.c: Ditto.
        * libc/machine/xc16x/puts.c: Ditto.
        * libc/machine/xc16x/setjmp.S: Ditto.

14 years ago2009-12-10 Conny Marco Menebrocker <c-m-m@gmx.de>
Jeff Johnston [Thu, 10 Dec 2009 17:07:04 +0000 (17:07 +0000)]
2009-12-10  Conny Marco Menebrocker <c-m-m@gmx.de>

        * configure.in: Add xc16x support.
        * configure: Regenerated.
        * xc16x/Makefile.in: New file for xc16x port.
        * xc16x/aclocal.m4: Ditto.
        * xc16x/close.S: Ditto.
        * xc16x/configure: Ditto.
        * xc16x/configure.in: Ditto.
        * xc16x/create.c: Ditto.
        * xc16x/crt0.S: Ditto.
        * xc16x/fstat.S: Ditto.
        * xc16x/getchar1.c: Ditto.
        * xc16x/isatty.c: Ditto.
        * xc16x/lseek.c: Ditto.
        * xc16x/mem-layout.c: Ditto.
        * xc16x/misc.c: Ditto.
        * xc16x/open.c: Ditto.
        * xc16x/read.c: Ditto.
        * xc16x/sbrk.c: Ditto.
        * xc16x/syscalls.c: Ditto.
        * xc16x/trap_handle.c: Ditto.
        * xc16x/write.c: Ditto.
        * xc16x/sys/syscall.h: Ditto.

14 years ago* fhandler_fifo.cc (fhandler_fifo::open): Avoid resetting errno after it has
Christopher Faylor [Wed, 9 Dec 2009 16:52:43 +0000 (16:52 +0000)]
* fhandler_fifo.cc (fhandler_fifo::open): Avoid resetting errno after it has
been explicitly set.
* include/cygwin/version.h: Bump DLL minor version number to 2.

14 years agoFix some *at declarations.
Eric Blake [Tue, 8 Dec 2009 13:50:41 +0000 (13:50 +0000)]
Fix some *at declarations.

* libc/include/stdio.h (symlinkat): Move this...
* libc/include/sys/_default_fcntl.h (unlinkat): ...and this...
* libc/include/sys/unistd.h (symlinkat, unlinkat): ...here, to
match POSIX.

14 years agoSync with GCC:
Kaveh Ghazi [Mon, 7 Dec 2009 20:24:59 +0000 (20:24 +0000)]
Sync with GCC:

PR middle-end/30447
PR middle-end/30789
PR other/40302

* configure.ac: Require MPC.
* configure: Regenerate.

* configure.ac: Update minimum MPC version to 0.8.
* configure: Regenerate.

14 years ago * include/cygwin/version.h: Bump DLL minor version number to 1.
Corinna Vinschen [Sun, 6 Dec 2009 12:24:34 +0000 (12:24 +0000)]
* include/cygwin/version.h: Bump DLL minor version number to 1.

14 years agoinclude/
David Daney [Thu, 3 Dec 2009 17:01:46 +0000 (17:01 +0000)]
include/
2009-12-03  David Daney  <ddaney@caviumnetworks.com>
Adam Nemet  <adambnemet@gmail.com>

* elf/mips.h (E_MIPS_MACH_OCTEON2): New machine flag.
binutils/
2009-12-03  David Daney  <ddaney@caviumnetworks.com>
Adam Nemet  <adambnemet@gmail.com>

* readelf.c (get_machine_flags): Handle E_MIPS_MACH_OCTEON2 case.

14 years ago2009-12-03 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Thu, 3 Dec 2009 16:11:27 +0000 (16:11 +0000)]
2009-12-03  Craig Howland <howland@LGSInnovations.com>

        * libc/stdlib/strtod.c:  Correct "NO_REENT" to "_REENT_ONLY".
        * libc/stdlib/wcstod.c:  Ditto.
        * libc/stdlib/dtoastub.c:  Ditto.

14 years ago * fhandler_socket.cc (send_internal): Don't split datagram messages
Corinna Vinschen [Wed, 2 Dec 2009 15:23:03 +0000 (15:23 +0000)]
* fhandler_socket.cc (send_internal): Don't split datagram messages
into pieces.

* syslog.cc (vsyslog): Set default facility to LOG_USER if it hasn't
been set yet.

14 years ago PR binutils/11017
Nick Clifton [Wed, 2 Dec 2009 14:04:15 +0000 (14:04 +0000)]
    PR binutils/11017
        * dlltool.c (PAGE_SIZE): Delete.
        (PAGE_MASK): Provide default definition based on COFF_PAGE_SIZE.
        Check for DLLTOOL_DEFAULT_MX86_64 and DLLTOOL_DEFAULT_I386.

        * coff-i386.h (COFF_PAGE_SIZE): Definition moved to coff/i386.h

        * i386lh (COFF_PAGE_SIZE): Define.
        * x86_64.h (COFF_PAGE_SIZE): Define.

14 years ago * setup2.sgml (setup-env): Clarify that Windows environment gets
Corinna Vinschen [Wed, 2 Dec 2009 09:36:54 +0000 (09:36 +0000)]
* setup2.sgml (setup-env): Clarify that Windows environment gets
copied over.  Add paragraph about TMP, TEMP, and TMPDIR.

14 years ago * fhandler_registry.cc (fhandler_registry::open): Mark /proc/registry
Corinna Vinschen [Tue, 1 Dec 2009 16:31:04 +0000 (16:31 +0000)]
* fhandler_registry.cc (fhandler_registry::open): Mark /proc/registry
directory and siblings as nohandle fhandler.

14 years agoconfig:
Joseph Myers [Mon, 30 Nov 2009 16:46:38 +0000 (16:46 +0000)]
config:
* largefile.m4 (ACX_LARGEFILE): Require AC_CANONICAL_HOST and
AC_CANONICAL_TARGET.

bfd:
* configure: Regenerate.

binutils:
* configure: Regenerate.

gas:
* configure: Regenerate.

gdb:
* configure: Regenerate.

gprof:
* configure: Regenerate.

ld:
* configure: Regenerate.

14 years ago* speclib: Use last dll found since that's the real name of the cygwin DLL.
Christopher Faylor [Mon, 30 Nov 2009 15:40:23 +0000 (15:40 +0000)]
* speclib: Use last dll found since that's the real name of the cygwin DLL.

14 years ago * setfacl.c (getaclentry): Allow to delete default entries for the
Corinna Vinschen [Sun, 29 Nov 2009 14:28:29 +0000 (14:28 +0000)]
* setfacl.c (getaclentry): Allow to delete default entries for the
owner and owner group.

14 years ago2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 28 Nov 2009 06:07:27 +0000 (06:07 +0000)]
2009-11-29 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>

        * include/_mingw.h: Increment version to 3.17.

14 years ago2009-11-25 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 28 Nov 2009 05:28:35 +0000 (05:28 +0000)]
2009-11-25  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * mingwex/gdtoa/misc.c: Fix security vulnerability in gdtoa:
 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-0689

14 years ago * common.h (ELFOSABI_FENIXOS, EM_TI_C6000, EM_TI_C2000,
Joseph Myers [Sat, 28 Nov 2009 03:18:00 +0000 (03:18 +0000)]
* common.h (ELFOSABI_FENIXOS, EM_TI_C6000, EM_TI_C2000,
EM_TI_C5500, EM_CUDA): Define.
(EM_res140, EM_res141, EM_res142): Remove.

14 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix typos in
Corinna Vinschen [Fri, 27 Nov 2009 14:27:22 +0000 (14:27 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Fix typos in
comments.  Always open file synchronized when reading header bytes,
otherwise suffer stack corruption.

14 years ago * cygcheck.cc (dump_sysinfo): Fix typo in products.
Corinna Vinschen [Fri, 27 Nov 2009 10:01:50 +0000 (10:01 +0000)]
* cygcheck.cc (dump_sysinfo): Fix typo in products.

14 years ago * dtable.cc (dtable::stdio_init): Use GetCurrentProcess() rather than
Corinna Vinschen [Thu, 26 Nov 2009 10:58:06 +0000 (10:58 +0000)]
* dtable.cc (dtable::stdio_init): Use GetCurrentProcess() rather than
hMainProc as process handle when duplicating the stdout handle.
Explain why.  Add Win32 error code to debug output.

14 years ago* rx/rx.ld: Place .sbss properly.
DJ Delorie [Wed, 25 Nov 2009 20:20:25 +0000 (20:20 +0000)]
* rx/rx.ld: Place .sbss properly.
* rx/rx-sim.ld: Likewise.

14 years ago * zlib.m4: New file.
Joel Brobecker [Tue, 24 Nov 2009 22:35:29 +0000 (22:35 +0000)]
    * zlib.m4: New file.

14 years ago[sim]
DJ Delorie [Tue, 24 Nov 2009 19:22:44 +0000 (19:22 +0000)]
[sim]
* rx: New directory.
* configure.ac: Add entry for Renesas RX.
* configure: Regenerate.

[include/gdb]
* sim-rx.h: New.

14 years ago Use NetBSD fix for CVE-2009-0689 security vulnerability.
Corinna Vinschen [Mon, 23 Nov 2009 17:02:20 +0000 (17:02 +0000)]
Use NetBSD fix for CVE-2009-0689 security vulnerability.
* libc/include/sys/reent.h (_Kmax): Define here based on the sizeof
size_t, as in latest NetBSD.
* libc/reent/reent.c (_reclaim_reent): Use _Kmax rather than constant
value 15.
* libc/stdlib/mprec.c (_Kmax): Don't define here.  Explain why.

14 years ago * fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): Add
Corinna Vinschen [Mon, 23 Nov 2009 14:50:14 +0000 (14:50 +0000)]
* fhandler_socket.cc (fhandler_socket::fixup_before_fork_exec): Add
socket handle value to debug output.
(fhandler_socket::fixup_after_fork): Ditto.  Make new socket handle
OVERLAPPED, just as if it has been created with socket().
* net.cc (fdsock): Close duplicated socket and explain why.  Disable
the entire WSADuplicateSocket test for now and explain why.

14 years ago * fhandler_socket.cc (fhandler_socket::set_close_on_exec): Only call
Corinna Vinschen [Mon, 23 Nov 2009 12:21:39 +0000 (12:21 +0000)]
* fhandler_socket.cc (fhandler_socket::set_close_on_exec): Only call
fhandler_base::set_close_on_exec for inheritable sockets.

14 years ago * cgen.h: Include bfd_stdint.h.
Doug Evans [Mon, 23 Nov 2009 03:56:29 +0000 (03:56 +0000)]
* cgen.h: Include bfd_stdint.h.
(CGEN_INSN_LGSINT, CGEN_INSN_LGUINT): New types.

14 years ago * globals.cc (ro_u_dll): New R/O unicode string.
Corinna Vinschen [Sat, 21 Nov 2009 12:44:13 +0000 (12:44 +0000)]
* globals.cc (ro_u_dll): New R/O unicode string.
* syscalls.cc (nt_path_has_executable_suffix): Add ro_u_dll to
blessed_executable_suffixes array.  Explain why.

14 years ago2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Nov 2009 05:26:02 +0000 (05:26 +0000)]
2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shlobj.h (SHParseDisplayName): Fix definition.

14 years ago2009-20-10 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sat, 21 Nov 2009 03:46:37 +0000 (03:46 +0000)]
2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sf.net>

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

14 years ago2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Nov 2009 03:25:23 +0000 (03:25 +0000)]
2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/shlobj.h (SHParseDisplayName): Define.

        Thanks to James Roberts-Thomson for the report.

14 years ago2009-20-10 Chris Sutcliffe <ir0n3h4d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Nov 2009 00:55:51 +0000 (00:55 +0000)]
2009-20-10  Chris Sutcliffe  <ir0n3h4d@users.sourceforge.net>

        * include/wingdi.h (ENHMFENUMPROC): Correct definition.

        Thanks to Alexander Vassilev for the report.

14 years ago2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Nov 2009 00:44:50 +0000 (00:44 +0000)]
2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/iprtrmib.h (MIB_IPADDRROW): Correct definition.

        Thanks to Thomas Denk for the report.

14 years ago2009-20-10 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Sat, 21 Nov 2009 00:38:55 +0000 (00:38 +0000)]
2009-20-10  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

        * include/winbase.h (UnmapViewOfFile): Correct definition.

        Thanks to Dimitry Sibiryakov for the report.

14 years ago2009-20-10 Aleksey Chernov <virxkane@users.sourceforge.net>
Chris Sutcliffe [Fri, 20 Nov 2009 23:59:11 +0000 (23:59 +0000)]
2009-20-10  Aleksey Chernov  <virxkane@users.sourceforge.net>

        * include/sspi.h: Include ntsecapi.h to correct postgresql build error.

14 years ago2009-20-10 Heiko Hund <heiko@ist.eigentlich.net>
Chris Sutcliffe [Fri, 20 Nov 2009 23:54:02 +0000 (23:54 +0000)]
2009-20-10  Heiko Hund  <heiko@ist.eigentlich.net>

        * include/commctrl.h (GetMUILanguage, InitMUILanguage): Add prototypes.
        * lib/comctl32.def (GetMUILanguage, InitMUILanguage): Define.

14 years ago2009-20-10 Michael James <james.me@gmail.com>
Chris Sutcliffe [Fri, 20 Nov 2009 23:46:05 +0000 (23:46 +0000)]
2009-20-10  Michael James  <james.me@gmail.com>

        * include/wingdi.h (CLEARTYPE_QUALITY): Define.
        * include/winuser.h (WM_KEYLAST): Alternative definition when _WIN32_WINNT
        >= 0x0501.
        (WM_UNICHAR,UNICODE_NOCHAR): Define.
        * lib/comctl32.def (DefSubclassProc@16,GetWindowSubclass@16,
        RemoveWindowSubclass@12): Add exports.
        * lib/gdi32.def (GetDCBrushColor@4,GetDCPenColor@4): Add exports.

14 years ago2009-20-10 Jarkko Sakkinen <jarkko.sakkinen@iki.fi>
Chris Sutcliffe [Fri, 20 Nov 2009 23:32:27 +0000 (23:32 +0000)]
2009-20-10  Jarkko Sakkinen  <jarkko.sakkinen@iki.fi>

        * include/winuser.h (WM_TOUCHMOVE, WM_TOUCHDOWN, WM_TOUCHUP,
        TOUCHEVENTF_DOWN, TOUCHEVENTF_INRANGE, TOUCHEVENTF_MOVE,
        TOUCHEVENTF_NOCOALESCE, TOUCHEVENTF_PALM, TOUCHEVENTF_PEN,
        TOUCHEVENTF_PRIMARY, TOUCHEVENTF_UP, TOUCHEVENTMASKF_CONTACTAREA,
        TOUCHEVENTMASKF_EXTRAINFO, TOUCHEVENTMASKF_TIMEFROMSYSTEM, TOUCHINPUT,
        CloseTouchInputHandle, GetTouchInputInfo, IsTouchWindow,
        RegisterTouchWindow, UnregisterTouchWindow): Define.
        * lib/user32.def (CloseTouchInputHandle, GetTouchInputInfo, IsTouchWindow,
        RegisterTouchWindow, UnregisterTouchWindow): Define.

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