]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
15 years ago PR 10263
Nick Clifton [Mon, 15 Jun 2009 11:37:26 +0000 (11:37 +0000)]
    PR 10263
        * 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.

15 years ago* errno.cc (errmap): Add mapping for ERROR_IO_INCOMPLETE.
Christopher Faylor [Sun, 14 Jun 2009 23:42:09 +0000 (23:42 +0000)]
* errno.cc (errmap): Add mapping for ERROR_IO_INCOMPLETE.
* 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.

15 years ago * localtime.cc (time2): Take another stab at fixing a compiler warning.
Corinna Vinschen [Sun, 14 Jun 2009 09:35:35 +0000 (09:35 +0000)]
* localtime.cc (time2): Take another stab at fixing a compiler warning.

15 years ago* localtime.cc (time2): Take a stab at fixing a compiler warning.
Christopher Faylor [Sun, 14 Jun 2009 05:49:01 +0000 (05:49 +0000)]
* localtime.cc (time2): Take a stab at fixing a compiler warning.

15 years ago* fhandler.cc (fhandler_base::wait_overlapped): Honor nonblocking flag for
Christopher Faylor [Sun, 14 Jun 2009 05:38:55 +0000 (05:38 +0000)]
* fhandler.cc (fhandler_base::wait_overlapped): Honor nonblocking flag for
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.

15 years ago * fhandler_socket.cc (fhandler_socket::recv_internal): Set namelen
Corinna Vinschen [Sat, 13 Jun 2009 16:13:01 +0000 (16:13 +0000)]
* fhandler_socket.cc (fhandler_socket::recv_internal): Set namelen
pointer to NULL if name pointer is NULL.  Explain why.

15 years ago * faq-using.xml (faq.using.emacs): Update.
Corinna Vinschen [Fri, 12 Jun 2009 15:16:27 +0000 (15:16 +0000)]
* faq-using.xml (faq.using.emacs): Update.

15 years ago * localtime.cc (time2): Change "spring gap" to "spring forward gap"
Corinna Vinschen [Fri, 12 Jun 2009 15:08:43 +0000 (15:08 +0000)]
* localtime.cc (time2): Change "spring gap" to "spring forward gap"
in comment.

15 years ago * localtime.cc (time2): Add workaround for spring gap problem. Add
Corinna Vinschen [Fri, 12 Jun 2009 15:06:26 +0000 (15:06 +0000)]
* localtime.cc (time2): Add workaround for spring gap problem.  Add
explaining comment.

15 years ago * Makefile.in (SUBLIBS): Add librt.a.
Corinna Vinschen [Fri, 12 Jun 2009 10:19:36 +0000 (10:19 +0000)]
* Makefile.in (SUBLIBS): Add librt.a.
(librt.a): New rule to build librt.a.

15 years agoImprove ChangeLog entry. Fix posix_ipc.cc copyright
Corinna Vinschen [Fri, 12 Jun 2009 09:52:06 +0000 (09:52 +0000)]
Improve ChangeLog entry.  Fix posix_ipc.cc copyright

15 years ago * posix_ipc.cc (check_path): Fix typo in comment. Align naming
Corinna Vinschen [Fri, 12 Jun 2009 09:50:05 +0000 (09:50 +0000)]
* posix_ipc.cc (check_path): Fix typo in comment.  Align naming
convention rules to Linux.  Add comment.

15 years agoAdd PC-relative branch instructions to moxie port.
Anthony Green [Thu, 11 Jun 2009 11:27:57 +0000 (11:27 +0000)]
Add PC-relative branch instructions to moxie port.

15 years ago * path.cc (oopts): Sort alphabetically, add missing "auto" and
Corinna Vinschen [Wed, 10 Jun 2009 10:42:22 +0000 (10:42 +0000)]
* path.cc (oopts): Sort alphabetically, add missing "auto" and
"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).

15 years ago * libc/ctype/tolower.c (tolower): Cast conversion result from
Corinna Vinschen [Tue, 9 Jun 2009 11:33:57 +0000 (11:33 +0000)]
* libc/ctype/tolower.c (tolower): Cast conversion result from
mbtowc/wctomb to unsigned char to avoid negative return values.
* libc/ctype/toupper.c (toupper): Ditto.

15 years ago * autoload.cc (GetSystemTimes): Remove.
Corinna Vinschen [Tue, 9 Jun 2009 09:45:29 +0000 (09:45 +0000)]
* autoload.cc (GetSystemTimes): Remove.
* 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.

15 years agoFix ChangeLog entry
Corinna Vinschen [Mon, 8 Jun 2009 20:06:55 +0000 (20:06 +0000)]
Fix ChangeLog entry

15 years ago * autoload.cc (GetSystemTimes): Define.
Corinna Vinschen [Mon, 8 Jun 2009 20:04:37 +0000 (20:04 +0000)]
* autoload.cc (GetSystemTimes): Define.
* 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.

15 years ago * fork.cc (frok::parent): Remove ancient code erroneously flushing
Corinna Vinschen [Mon, 8 Jun 2009 19:45:39 +0000 (19:45 +0000)]
* fork.cc (frok::parent): Remove ancient code erroneously flushing
stdout descriptor.

15 years ago * cygerrno.h (save_errno::~save_errno): Set errno directly to avoid
Corinna Vinschen [Mon, 8 Jun 2009 19:44:33 +0000 (19:44 +0000)]
* cygerrno.h (save_errno::~save_errno): Set errno directly to avoid
flooding debug output.

15 years ago * path.cc (symlink_info::check): Return with error set to ENOENT if
Corinna Vinschen [Mon, 8 Jun 2009 15:22:52 +0000 (15:22 +0000)]
* path.cc (symlink_info::check): Return with error set to ENOENT if
STATUS_NO_MEDIA_IN_DEVICE is returned.

15 years ago* cygheap.h (mini_cygheap): New struct.
Christopher Faylor [Mon, 8 Jun 2009 03:53:40 +0000 (03:53 +0000)]
* cygheap.h (mini_cygheap): New struct.
(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.

15 years ago * include/ddk/ntapi.h: Add NtXxx equivalent to ZwXxx where missing
Corinna Vinschen [Sun, 7 Jun 2009 11:40:09 +0000 (11:40 +0000)]
* include/ddk/ntapi.h: Add NtXxx equivalent to ZwXxx where missing
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.

15 years ago * dll_init.cc (dll_list::alloc): Allocate memory using a section
Corinna Vinschen [Sun, 7 Jun 2009 07:26:07 +0000 (07:26 +0000)]
* dll_init.cc (dll_list::alloc): Allocate memory using a section
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.

15 years ago * mmap.cc: Use NtUnmapViewOfSection instead of UnmapViewOfFile
Corinna Vinschen [Sat, 6 Jun 2009 19:56:41 +0000 (19:56 +0000)]
* mmap.cc: Use NtUnmapViewOfSection instead of UnmapViewOfFile
throughout for symmetry.
(fhandler_dev_mem::munmap): Use correct process handle in call to
NtUnmapViewOfSection.

15 years agoPrint moxie addresses nicely.
Anthony Green [Sat, 6 Jun 2009 13:02:21 +0000 (13:02 +0000)]
Print moxie addresses nicely.

15 years ago * dll_init.h (struct dll): Set size of name element to ANYSIZE_ARRAY.
Corinna Vinschen [Sat, 6 Jun 2009 11:47:29 +0000 (11:47 +0000)]
* dll_init.h (struct dll): Set size of name element to ANYSIZE_ARRAY.
* 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.

15 years ago * winbase.h (ilockexch): Fix asm constraints.
Dave Korn [Fri, 5 Jun 2009 13:53:01 +0000 (13:53 +0000)]
* winbase.h (ilockexch):  Fix asm constraints.
(ilockcmpexch):  Likewise.

15 years ago * heap.cc (heap_init): Fix typo in comment.
Corinna Vinschen [Fri, 5 Jun 2009 11:15:28 +0000 (11:15 +0000)]
* heap.cc (heap_init): Fix typo in comment.

15 years ago * fhandler_clipboard.cc: Avoid calling system_printf.
Corinna Vinschen [Thu, 4 Jun 2009 17:14:53 +0000 (17:14 +0000)]
* fhandler_clipboard.cc: Avoid calling system_printf.
(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.

15 years ago * new-features.sgml: Add changes to console BS and Space key.
Corinna Vinschen [Thu, 4 Jun 2009 15:13:40 +0000 (15:13 +0000)]
* new-features.sgml: Add changes to console BS and Space key.

15 years ago * fhandler_console.cc (set_console_title): Convert title string to
Corinna Vinschen [Thu, 4 Jun 2009 14:59:47 +0000 (14:59 +0000)]
* fhandler_console.cc (set_console_title): Convert title string to
wchar_t and call SetConsoleTitleW.

15 years ago * fhandler_console.cc (fhandler_console::read): Allow Ctrl-Space to
Corinna Vinschen [Thu, 4 Jun 2009 09:57:34 +0000 (09:57 +0000)]
* fhandler_console.cc (fhandler_console::read): Allow Ctrl-Space to
emit a NUL byte.

15 years ago * thread.cc (__cygwin_lock_lock): Delete racy optimisation.
Dave Korn [Thu, 4 Jun 2009 01:45:05 +0000 (01:45 +0000)]
* thread.cc (__cygwin_lock_lock):  Delete racy optimisation.
(__cygwin_lock_unlock):  Likewise.

15 years agomerge from gcc
DJ Delorie [Wed, 3 Jun 2009 21:02:16 +0000 (21:02 +0000)]
merge from gcc

15 years ago * libc/string/wcwidth.c: Optimize for speed.
Corinna Vinschen [Wed, 3 Jun 2009 19:28:22 +0000 (19:28 +0000)]
* libc/string/wcwidth.c: Optimize for speed.

* libc/locale/locale.c (lc_ctype_cjk_lang): New static int.
(loadlocale): In case of setting LC_CTYPE, set lc_ctype_cjk_lang
to 1 if the language is "jp", "ko", or "zh", to 0 otherwise.
(__locale_cjk_lang): New function.
* libc/string/local.h (__locale_cjk_lang): Declare.
* libc/string/wcwidth.c: Fix comments.
(__wcwidth): Handle CJK Ambiguous Width characters according
to setting returned by __locale_cjk_lang.

15 years ago * strfuncs.cc (sys_cp_mbstowcs): Fix condition.
Corinna Vinschen [Wed, 3 Jun 2009 19:04:07 +0000 (19:04 +0000)]
* strfuncs.cc (sys_cp_mbstowcs): Fix condition.

15 years agoChangeLog:
Ulrich Weigand [Wed, 3 Jun 2009 18:08:14 +0000 (18:08 +0000)]
ChangeLog:

* mdebugread.c (mdebug_type_void, mdebug_type_char, mdebug_type_short,
mdebug_type_int, mdebug_type_int_32, mdebug_type_int_64,
mdebug_type_long_32, mdebug_type_long_64, mdebug_type_long_long_64,
mdebug_type_unsigned_char, mdebug_type_unsigned_short,
mdebug_type_unsigned_int_32, mdebug_type_unsigned_int_64,
mdebug_type_unsigned_long_32, mdebug_type_unsigned_long_64,
mdebug_type_unsigned_long_long_64, mdebug_type_adr_32,
mdebug_type_adr_64, mdebug_type_float, mdebug_type_double,
mdebug_type_complex, mdebug_type_double_complex,
mdebug_type_fixed_dec, mdebug_type_float_dec, mdebug_type_string):
Remove.

(basic_type_data): New global variable.
(basic_type): New function.
(parse_type): Remove static basic type map map_bt.  Call basic_type
to get basic types instead of using mdebug_type_ variables.

(parse_symbol): Use builtin types instead of mdebug_type_ variables.
(upgrade_type): Likewise.
(parse_procedure): Likewise.
(psymtab_to_symtab_1): Likewise.

(_initialize_mdebugread): Do not initialize mdebug_type_ variables.
Initialize basic_type_data.

include/coff/ChangeLog:

* symconst.h (btLong64, btULong64, btLongLong64, btULongLong64,
btAdr64, btInt64, btUInt64): New defines.

15 years ago * strfuncs.cc (sys_cp_wcstombs): Implement reverse functionality
Corinna Vinschen [Wed, 3 Jun 2009 17:23:39 +0000 (17:23 +0000)]
* strfuncs.cc (sys_cp_wcstombs): Implement reverse functionality
of the change to sys_cp_mbstowcs from 2009-05-30.
(sys_cp_mbstowcs): Slightly reformat.  Fix comment to accommodate
change to sys_cp_wcstombs.  Don't write to *ptr if dst is NULL.

15 years ago * fhandler_console.cc (fhandler_console::read): Convert Alt-Backspace
Corinna Vinschen [Wed, 3 Jun 2009 11:07:38 +0000 (11:07 +0000)]
* fhandler_console.cc (fhandler_console::read): Convert Alt-Backspace
to \033\177 or to \377 dependent on the setting of dev_state->metabit.

15 years ago * Makefile.tpl (all): Avoid a trailing backslash.
Ralf Wildenhues [Wed, 3 Jun 2009 05:40:47 +0000 (05:40 +0000)]
    * Makefile.tpl (all): Avoid a trailing backslash.
        * Makefile.in: Regenerate.

15 years ago * config.sub, config.guess: Update from upstream sources.
Ben Elliston [Tue, 2 Jun 2009 23:00:59 +0000 (23:00 +0000)]
* config.sub, config.guess: Update from upstream sources.

15 years ago2009-06-02 Richard Earnshaw <rearnsha@arm.com>
Jeff Johnston [Tue, 2 Jun 2009 20:39:17 +0000 (20:39 +0000)]
2009-06-02  Richard Earnshaw  <rearnsha@arm.com>

        * libc/include/sys/config.h: Remove specification of _REENT_SMALL for
        thumb2.

15 years ago * path.cc (path_conv::check): Don't call set_exec for files on "noacl"
Corinna Vinschen [Tue, 2 Jun 2009 13:29:30 +0000 (13:29 +0000)]
* path.cc (path_conv::check): Don't call set_exec for files on "noacl"
mount points.

15 years ago * libc/ctype/jp2uc.c: Skip all definition if defined __CYGWIN__.
Corinna Vinschen [Tue, 2 Jun 2009 09:41:06 +0000 (09:41 +0000)]
* libc/ctype/jp2uc.c: Skip all definition if defined __CYGWIN__.
(__jp2uc): Change the scope to static function.
* libc/ctype/local.h (_jp2uc): Define as macro if defined __CYGWIN__.
* libc/string/local.h (_jp2uc): Include ../ctype/local.h.

15 years ago* Makefile.tpl ([+compare-target+]): Compare all stage
Alexandre Oliva [Tue, 2 Jun 2009 08:23:45 +0000 (08:23 +0000)]
* Makefile.tpl ([+compare-target+]): Compare all stage
directories, rather than just gcc.
* Makefile.in: Rebuilt.

15 years agomerge from gcc
DJ Delorie [Mon, 1 Jun 2009 19:40:32 +0000 (19:40 +0000)]
merge from gcc

15 years agobfd/
H.J. Lu [Mon, 1 Jun 2009 13:11:52 +0000 (13:11 +0000)]
bfd/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10205
* elf32-i386.c (elf_howto_table): Add R_386_IRELATIVE.
(elf_i386_reloc_type_lookup): Likewise.
(R_386_tls): Removed.
(R_386_irelative): New.
(R_386_vt_offset): Updated.
(elf_i386_rtype_to_howto): Likewise.
(elf_i386_link_hash_table): Add igotplt, iplt and irelplt.
(elf_i386_link_hash_table_create): Initialize igotplt,
iplt and irelplt.
(elf_i386_check_relocs): Handle STT_GNU_IFUNC symbol first.
(elf_i386_adjust_dynamic_symbol): Likewise.
(elf_i386_allocate_dynrelocs): Likewise.
(elf_i386_relocate_section): Likewise.
(elf_i386_size_dynamic_sections): Set up .iplt and .igot.plt
sections.
(elf_i386_finish_dynamic_symbol): When building a static
executable, use .iplt, .igot.plt and .rel.iplt sections for
STT_GNU_IFUNC symbols.  Generate R_386_IRELATIVE relocation for
locally defined STT_GNU_IFUNC symbol.

* elf64-x86-64.c (x86_64_elf_howto): Add R_X86_64_IRELATIVE.
(x86_64_reloc_map): Likewise.
(R_X86_64_standard): Updated.
(elf64_x86_64_link_hash_table): Add igotplt, iplt and irelplt.
(elf64_x86_64_link_hash_table_create): Initialize igotplt,
iplt and irelplt.
(elf64_x86_64_check_relocs): Handle STT_GNU_IFUNC symbol first.
(elf64_x86_64_adjust_dynamic_symbol): Likewise.
(elf64_x86_64_allocate_dynrelocs): Likewise.
(elf64_x86_64_relocate_section): Likewise.
(elf64_x86_64_size_dynamic_sections): Set up .iplt and .igot.plt
sections.
(elf64_x86_64_finish_dynamic_symbol): When building a static
executable, use .iplt, .igot.plt and .rela.iplt sections for
STT_GNU_IFUNC symbols.  Generate R_X86_64_IRELATIVE relocation
for locally defined STT_GNU_IFUNC symbol.

* reloc.c (BFD_RELOC_386_IRELATIVE): New.
(BFD_RELOC_X86_64_IRELATIVE): Likewise.

* bfd-in2.h: Regenerated.
* libbfd.h: Likewise.

include/elf/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10205
* i386.h (R_386_IRELATIVE): New.
* x86-64.h (R_X86_64_IRELATIVE): Likewise.

ld/testsuite/

2009-06-01  H.J. Lu  <hongjiu.lu@intel.com>

PR ld/10205
* ld-ifunc/ifunc.exp (contains_irelative_reloc): New.
Use it on executable and shared library.
Run *.d.

* ld-ifunc/lib.c: Add a hidden alias, __GI_library_func2, for
library_func2.
(library_func): New.

* ld-ifunc/ifunc-1-x86.d: New.
* ld-ifunc/ifunc-1-x86.s: Likewise.
* ld-ifunc/ifunc-2-i386.d: Likewise.
* ld-ifunc/ifunc-2-i386.s: Likewise.
* ld-ifunc/ifunc-2-x86-64.d: Likewise.
* ld-ifunc/ifunc-2-x86-64.s: Likewise.
* ld-ifunc/ifunc-3a-x86.d: Likewise.
* ld-ifunc/ifunc-3b-x86.d: Likewise.
* ld-ifunc/ifunc-3-x86.s: Likewise.
* ld-ifunc/ifunc-4-x86.d: Likewise.
* ld-ifunc/ifunc-4-x86.s: Likewise.
* ld-ifunc/ifunc-5-i386.d: Likewise.
* ld-ifunc/ifunc-5-i386.s: Likewise.
* ld-ifunc/ifunc-5-x86-64.d: Likewise.
* ld-ifunc/ifunc-5-x86-64.s: Likewise.

15 years ago* strfuncs.cc (sys_cp_mbstowcs): Treat src as unsigned char *. Convert failure
Christopher Faylor [Sun, 31 May 2009 03:59:38 +0000 (03:59 +0000)]
* strfuncs.cc (sys_cp_mbstowcs): Treat src as unsigned char *.  Convert failure
of f_mbtowc into a single malformed utf-16 value.

15 years ago* cygwin/include/sys/termios.h: Make default erase character "^?".
Christopher Faylor [Sat, 30 May 2009 17:21:22 +0000 (17:21 +0000)]
* cygwin/include/sys/termios.h: Make default erase character "^?".

15 years ago* fhandler_console.cc (fhandler_console::read): Convert backspace key to DEL.
Christopher Faylor [Sat, 30 May 2009 05:51:41 +0000 (05:51 +0000)]
* fhandler_console.cc (fhandler_console::read): Convert backspace key to DEL.

15 years ago* path.cc (cwdstuff::set): Rewrite previous change to properly test the end of
Christopher Faylor [Fri, 29 May 2009 20:18:50 +0000 (20:18 +0000)]
* path.cc (cwdstuff::set): Rewrite previous change to properly test the end of
the buffer.

15 years ago2009-05-28 Doug Kwan <dougkwan@google.com>
Doug Kwan [Fri, 29 May 2009 00:15:11 +0000 (00:15 +0000)]
2009-05-28  Doug Kwan  <dougkwan@google.com>

        * configure.ac: Support gold for target arm*-*-*.
        * configure: Regenerate.
        * gold/Makefile.am (TARGETSOURCES): Add arm.cc.
        (ALL_TARGETOBJECTS): Add arm.$(OBJEXT)
        * gold/Makefile.in: Regenerate.
        * gold/arm.cc: New file.
        * gold/configure.tgt: Add armbe*-*-*, armeb*-*-* and arm*-*-* targets.

15 years ago* path.cc (cwdstuff::set): Avoid removing a nonexistent trailing slash.
Christopher Faylor [Thu, 28 May 2009 05:10:03 +0000 (05:10 +0000)]
* path.cc (cwdstuff::set): Avoid removing a nonexistent trailing slash.

15 years ago2009-05-27 Neal H. Walfield <neal@gnu.org>
Jeff Johnston [Wed, 27 May 2009 18:54:58 +0000 (18:54 +0000)]
2009-05-27  Neal H. Walfield  <neal@gnu.org>

        * libc/include/machine/setjmp.h (sigjmp_buf): Size according to
        _JBTYPE and the size of sigset_t.

15 years ago2009-05-27 H.J. Lu <hongjiu.lu@intel.com>
H.J. Lu [Wed, 27 May 2009 17:05:53 +0000 (17:05 +0000)]
2009-05-27  H.J. Lu  <hongjiu.lu@intel.com>

* common.h: Update comments for dynamic tag ranges.

15 years ago * plugins.m4: New.
Nick Clifton [Wed, 27 May 2009 16:29:54 +0000 (16:29 +0000)]
* plugins.m4: New.

        * aclocal.m4: Include ../config/plugins.m4.
        * configure.in: Use AC_PLUGINS.
        * configure: Regenerate.
        * Makefile.in: Regenerate.
        * doc/Makefile.in: Regenerate.

15 years ago* Makefile.tpl (all): Avoid harmless warning in make all when
Alexandre Oliva [Wed, 27 May 2009 07:30:42 +0000 (07:30 +0000)]
* Makefile.tpl (all): Avoid harmless warning in make all when
gcc-bootstrap is enabled but stage_last does not exist.
* Makefile.in: Rebuilt.

15 years agoChange explicitely to explicitly throughout.
Christopher Faylor [Wed, 27 May 2009 02:30:42 +0000 (02:30 +0000)]
Change explicitely to explicitly throughout.

15 years ago2009-05-25 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 25 May 2009 13:31:05 +0000 (13:31 +0000)]
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* setup.com: Complete the file with configuration and build.

15 years ago2009-05-25 Tristan Gingold <gingold@adacore.com>
Tristan Gingold [Mon, 25 May 2009 13:04:40 +0000 (13:04 +0000)]
2009-05-25  Tristan Gingold  <gingold@adacore.com>

* fopen-vms.h (FOPEN_RB, FOPEN_WB, FOPEN_AB, FOPEN_RUB, FOPEN_WUB,
FOPEN_AUB): Use "rfm=udf,rat=none" attribute.

15 years ago* net.cc (gethostby_helper): Use correct signedness.
Christopher Faylor [Wed, 20 May 2009 14:56:46 +0000 (14:56 +0000)]
* net.cc (gethostby_helper): Use correct signedness.

15 years agoPR other/40159
Alexandre Oliva [Tue, 19 May 2009 01:11:12 +0000 (01:11 +0000)]
PR other/40159
* Makefile.tpl (all): Don't assume gcc-bootstrap and
gcc-no-bootstrap are mutually exclusive.
* Makefile.in: Rebuilt.

15 years ago* mount.cc (mount_info::add_item): Avoid using any-old '/' as indicating root.
Christopher Faylor [Tue, 19 May 2009 00:42:35 +0000 (00:42 +0000)]
* mount.cc (mount_info::add_item): Avoid using any-old '/' as indicating root.

15 years agoPR other/40159
Alexandre Oliva [Tue, 19 May 2009 00:01:50 +0000 (00:01 +0000)]
PR other/40159
* Makefile.tpl (all): Don't end with unconditional success.
* Makefile.in: Rebuilt.

15 years agogdb/
Jon Beniston [Mon, 18 May 2009 13:25:34 +0000 (13:25 +0000)]
gdb/
2009-05-18  Jon Beniston <jon@beniston.com>

        * MAINTAINERS: Add lm32 target.
        * Makefile.in: Add lm32 dependencies.
        * NEWS: Indicate lm32 is a new target.
        * configure.tgt: Add lm32 targets.
        * lm32-tdep.c: New file.

gdb/testsuite
2009-05-18  Jon Beniston <jon@beniston.com>

        * gdb.asm/asm-source.exp: Add lm32 target.

include/gdb/
2009-05-18  Jon Beniston <jon@beniston.com>

        * sim-lm32.h: New file.

sim/
2009-05-18  Jon Beniston <jon@beniston.com>

        * MAINTAINERS: Add Jon Beniston as maintainer of lm32 sim.
        * configure.ac: Add lm32 target.
        * lm32: New directory.

sim/common
2009-05-18  Jon Beniston <jon@beniston.com>

        * gennltvals.sh: Add lm32 target.
        * nltvals.def: Add lm32 syscall definitions.

sim/lm32/
2009-05-18  Jon Beniston <jon@beniston.com>

        * Makefile.in: New file.
        * arch.c: New file.
        * arch.h: New file.
        * config.in: New file.
        * configure: New file.
        * configure.ac: New file.
        * cpu.c: New file.
        * cpu.h: New file.
        * cpuall.h: New file.
        * decode.c: New file.
        * decode.h: New file.
        * dv-lm32cpu.c: New file.
        * dv-lm32timer.c: New file.
        * dv-lm32uart.c: New file.
        * lm32.c: New file.
        * lm32-sim.h: New file.
        * mloop.in: New file.
        * model.c: New file.
        * sem.c: New file.
        * sem-switch.c: New file.
        * sim-if.c: New file.
        * sim-main.c: New file.
        * tconfig.in: New file.
        * traps.c: New file.
        * user.c: New file.

15 years ago* mount.cc (mount_info::got_usr_bin): Mark as NO_COPY.
Christopher Faylor [Mon, 18 May 2009 04:58:21 +0000 (04:58 +0000)]
* mount.cc (mount_info::got_usr_bin): Mark as NO_COPY.
(mount_info::got_usr_lib): Ditto.
(mount_info::root_idx): Ditto.

15 years ago * cygpath.cc (codepage): New variable.
Corinna Vinschen [Sun, 17 May 2009 11:16:12 +0000 (11:16 +0000)]
* cygpath.cc (codepage): New variable.
(long_options): Add --codepage option.
(options): Add -C option.
(usage): Add -C/--codepage description.
(my_wcstombs): New function.  Use througout instead of wcstombs.
(do_options): Handle -C/--codepage option.
* utils.sgml (cygpath): Add description for new -C/--codepage option.

15 years ago * Makefile.in (cygpath.exe): Link against cygwin.a before linking
Corinna Vinschen [Sat, 16 May 2009 15:46:42 +0000 (15:46 +0000)]
* Makefile.in (cygpath.exe): Link against cygwin.a before linking
against ntdll.dll to avoid linking symbols defined in both DLLs
from ntdll.
(ps.exe): Ditto.

15 years ago2009-05-15 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Fri, 15 May 2009 16:15:57 +0000 (16:15 +0000)]
2009-05-15  Craig Howland <howland@LGSInnovations.com>

        * configure.in:  Add configuration test for long double type existing
        and set flag _HAVE_LONG_DOUBLE if true.  Fix INIT_ARRAY (.init_array)
        and _LDBL_EQ_DBL tests to not link so that will work with
        cross-compilers.
        * configure: Regenerated.
        * Makefile.in: Ditto.
        * newlib.hin: Add _HAVE_LONG_DOUBLE flag.
        * libc/include/math.h:  Change non-builtin defines for HUGE_VAL,
        HUGE_VALF, and HUGE_VALL to be constant expressions.  Add definitions
        for the non-builtin case for INFINITY and NAN.  Gate HUGE_VALL and
        union __ldmath definitions with (new) _HAVE_LONG_DOUBLE.
        *libm/common/s_infconst.c:  Change definitions to use values from
        float.h instead of non-so-portable integer forms.  Mark as being
        deprecated (because now removed from math.h, are not used anywhere
        in Newlib, itself).

15 years ago * setup2.sgml (setup-locale-console): Disable section for now.
Corinna Vinschen [Fri, 15 May 2009 12:16:01 +0000 (12:16 +0000)]
* setup2.sgml (setup-locale-console): Disable section for now.

15 years ago * libc/string/local.h: New file.
Corinna Vinschen [Fri, 15 May 2009 11:40:28 +0000 (11:40 +0000)]
* libc/string/local.h: New file.
* libc/string/wcswidth.c (wcswidth):  Convert japanese wide
characters to Unicode here.  Handle surrogate pairs for UTF-16
systems.  Call __wcwidth rather than wcwidth.
* libc/string/wcwidth.c: New implementation using Markus Kuhn's
wcwidth implementation for Unicode.
(bisearch): New static function.
(__wcwidth): New function.  Take wint_t rather than wchar_t as
parameter to allow full Unicode handling on UTF-16 systems.
Move old wcwidth implementation here for non-multibyte aware
systems.
(wcwidth): Convert japanese wide characters to Unicode here.
Call __wcwidth rather than using iswprint/iswcntrl.

15 years ago * cygpath.cc (main): Only setlocale for LC_CTYPE category. Fallback
Corinna Vinschen [Fri, 15 May 2009 11:30:18 +0000 (11:30 +0000)]
* cygpath.cc (main): Only setlocale for LC_CTYPE category.  Fallback
to UTF-8 if locale is "C".
* ldd.cc (main): Ditto.
* mkgroup.c (main): Ditto.
* mkpasswd.c (main): Ditto.
* passwd.c (main): Ditto.

15 years ago * wchar.h (sys_mbstowcs): Add missing __stdcall attribute.
Corinna Vinschen [Fri, 15 May 2009 11:27:41 +0000 (11:27 +0000)]
* wchar.h (sys_mbstowcs): Add missing __stdcall attribute.

15 years ago * libc/ctype/local.h (JP_JIS, JP_SJIS, JP_EUCJP): Move definition
Corinna Vinschen [Thu, 14 May 2009 20:16:21 +0000 (20:16 +0000)]
* libc/ctype/local.h (JP_JIS, JP_SJIS, JP_EUCJP): Move definition
to jp2uc.c.
(__jp2uc): Remove declaration.
(_jp2uc): Declare.
* libc/ctype/jp2uc.c (JP_JIS, JP_SJIS, JP_EUCJP): Define.
(__jp2uc): Remove Cygwin special case.
(_jp2uc): New function.  On Cygwin, just return c.
* libc/ctype/iswalpha.c (iswalpha): Just call _jp2uc.
* libc/ctype/iswblank.c (iswblank): Ditto.
* libc/ctype/iswcntrl.c (iswcntrl): Ditto.
* libc/ctype/iswprint.c (iswprint): Ditto.
* libc/ctype/iswpunct.c (iswpunt): Ditto.
* libc/ctype/iswspace.c (iswspace): Ditto.
* libc/ctype/towlower.c (towlower): Ditto.
* libc/ctype/towupper.c (towupper): Ditto.

15 years ago * cygheap.cc (cygheap_init): Set Cygwin default locale values.
Corinna Vinschen [Thu, 14 May 2009 19:49:37 +0000 (19:49 +0000)]
* cygheap.cc (cygheap_init): Set Cygwin default locale values.
* cygheap.h (struct cygheap_locale): New structure.
(struct user_heap_info): Add cygheap_locale member locale.
* dcrt0.cc (dll_crt0_1): Revert to calling _setlocale_r so that only
the applications locale is reverted to "C".
* environ.cc (environ_init): Remove unused got_lc variable.
* fhandler.h (class dev_console): Remove now unsed locale variables.
* fhandler_console.cc (fhandler_console::get_tty_stuff): Remove
setting dev_console's locale members.
(dev_console::con_to_str): Use internal locale settings.  Default to
__ascii_wctomb if charset is "ASCII".
(fhandler_console::write_normal): Ditto.
* strfuncs.cc (__ascii_wctomb): Drop declaration.
(__db_wctomb): Use fixed value 2 instead of not
necessarily matching MB_CUR_MAX.
(__eucjp_wctomb): Use 3 instead of MB_CUR_MAX.
(sys_cp_wcstombs): Remove special case for "C" locale.
(sys_wcstombs): Implement here.  Use internal locale data stored on
cygheap.
(sys_cp_mbstowcs): Remove special case for "C" locale.
(sys_mbstowcs): Implement here.  Use internal locale data stored on
cygheap.
* syscalls.cc (internal_setlocale): New function to set cygheap locale
data and to reset CWD posix path.
(setlocale): Just call internal_setlocale from here if necessary.
* wchar.h (__ascii_wctomb): Declare.
(sys_wcstombs): Don't define inline, just declare.
(sys_mbstowcs): Ditto.

15 years ago* mount.cc (mount_info::init): Remove MOUNT_CYGWIN_EXEC setting when
Christopher Faylor [Thu, 14 May 2009 14:44:31 +0000 (14:44 +0000)]
* mount.cc (mount_info::init): Remove MOUNT_CYGWIN_EXEC setting when
auto-mounting /usr/bin.

15 years ago * faq-setup.xml (faq.setup.upgrade-mountpoints): New entry.
Corinna Vinschen [Thu, 14 May 2009 11:03:43 +0000 (11:03 +0000)]
* faq-setup.xml (faq.setup.upgrade-mountpoints): New entry.
* faq-using.xml (faq.using.directory-structure): Align example to
latest mount output.
* pathnames.sgml (mount-table): Add note about upgrade helper scripts
to create /etc/fstab and /etc/fstab.f/${USER}.

15 years ago * new-features.sgml: Add automounting of /, /usr/bin, and /usr/lib.
Corinna Vinschen [Thu, 14 May 2009 10:03:25 +0000 (10:03 +0000)]
* new-features.sgml: Add automounting of /, /usr/bin, and /usr/lib.
* pathnames.sgml (pathnames-intro): Be more verbose about POSIX and
Win32 paths.
(mount-table): Add "auto" flag.  Add a paragraph about /usr/bin and
/usr/lib.
(pathnames-mount-ex): Enhance flags output.

15 years ago * mount.cc (oopts): Add a no-op "auto" option.
Corinna Vinschen [Thu, 14 May 2009 09:56:45 +0000 (09:56 +0000)]
* mount.cc (oopts): Add a no-op "auto" option.
(mount_info::create_root_entry): Set root dir to MOUNT_IMMUTABLE rather
than to MOUNT_OVERRIDE.

15 years agocygwin ChangeLog
Christopher Faylor [Thu, 14 May 2009 03:25:45 +0000 (03:25 +0000)]
cygwin ChangeLog
2009-05-13  Corinna Vinschen  <corinna@vinschen.de>
    Christopher Faylor  <me+cygwin@cgf.cx>

* mount.cc (mount_info::got_usr_bin): Define.
(mount_info::got_usr_lib): Ditto.
(mount_info::root_idx): Ditto.
(mount_info::create_root_entry): Create root entry as immutable and
flag as automatic.
(mount_info::init): Remove "Huh?  No /etc/fstab..." warning.
Unconditionally call from_fstab for user and system tables.  Fill in
/usr/bin and /usr/lib if they have not been specified in /etc/fstab.
(oopts): Alphabetize.  Add "override" option to allow overriding
immutable mount points.
(mount_info::add_item): Accommodate new MOUNT_IMMUTABLE flag intended
for root mount.
(mount_info::add_item): Detect "/usr/bin", "/usr/lib", and "/" and set
appropriate global state.
(fillout_mntent): Add ,auto to mount points added by Cygwin DLL.
(mount): Remove masking of MOUNT_SYSTEM.  Allow user to shoot
themselves.  Add comment.
* mount.h (mount_info::got_usr_bin): Declare.
(mount_info::got_usr_lib): Ditto.
(mount_info::root_idx): Ditto.
* include/sys/mount.h: Reformat enum.
Add MOUNT_{OVERRIDE,IMMUTABLE,AUTOMATIC}.

doc ChangeLog
2009-05-13  Corinna Vinschen  <corinna@vinschen.de>
    Christopher Faylor  <me+cygwin@cgf.cx>

* pathnames.sgml (mount-table): Sort mount options and add override
option.  Add description of root mount handling.

utils ChangeLog
2009-05-13  Corinna Vinschen  <corinna@vinschen.de>
    Christopher Faylor  <me+cygwin@cgf.cx>

* mount.cc (oopts): Sort.  Add override option.  Add dummy "auto"
option for consistency.
(mount_entries): Avoid adding auto-mounted entries to -m output.

* utils.sgml: Sort mount options.  Add description of override option.

15 years ago2009-05-13 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Wed, 13 May 2009 21:38:25 +0000 (21:38 +0000)]
2009-05-13  Ken Werner  <ken.werner@de.ibm.com>

        * configure.in: Introduce config_libnosys flag which defaults to true.
        * configure: Regenerate.

15 years ago2009-05-13 Ulrich Weigand <uweigand@de.ibm.com>
Jeff Johnston [Wed, 13 May 2009 21:31:06 +0000 (21:31 +0000)]
2009-05-13  Ulrich Weigand  <uweigand@de.ibm.com>

        * spu/crtn.S: Add dummy to ensure nothing gets linked at address 0.
        * spu/crti.S: Remove nop.

15 years ago2009-05-13 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Wed, 13 May 2009 18:31:55 +0000 (18:31 +0000)]
2009-05-13  Paul Brook  <paul@codesourcery.com>

        * libc/machine/arm/setjmp.S: Don't bother saving IP.  Copy SP to
        IP before saving.  Likewise when restoring.

15 years ago2009-05-13 Paul Brook <paul@codesourcery.com>
Jeff Johnston [Wed, 13 May 2009 18:28:49 +0000 (18:28 +0000)]
2009-05-13  Paul Brook  <paul@codesourcery.com>

        * libc/machine/arm/setjmp.S: Add ARMv6-M implementation.

15 years ago * pathnames.sgml (pathnames-unusual): Talk about using UTF-8 in C
Corinna Vinschen [Wed, 13 May 2009 15:11:39 +0000 (15:11 +0000)]
* pathnames.sgml (pathnames-unusual): Talk about using UTF-8 in C
locale.
* setup2.sgml (setup-locale-problems): Ditto.

15 years ago * cygheap.h (cwdstuff): Convert to class. Make posix and dir private.
Corinna Vinschen [Wed, 13 May 2009 15:00:06 +0000 (15:00 +0000)]
* cygheap.h (cwdstuff): Convert to class.  Make posix and dir private.
(cwdstuff::get_posix): New method.
(cwdstuff::reset_posix): New method.
* dcrt0.cc (dll_crt0_1): Call setlocale rather than _setlocale_r.
* environ.cc (environ_init): Ditto.  Prefer "C" locale over current
codepage default locale.
* path.cc (chdir): Use cwdstuff::get_posix method instead of accessing
cwdstuff::posix directly.
(cwdstuff::set): Defer creating posix path to first usage.
(cwdstuff::get_posix): Create posix path if it's empty, and return it.
(cwdstuff::get): Create posix path if it's empty.
* strfuncs.cc (sys_cp_wcstombs): Use UTF-8 conversion in the "C"
locale.
(sys_cp_mbstowcs): Ditto.
* syscalls.cc (gen_full_path_at): Fetch CWD posix path locked.
(setlocale): Implement here.  Reset CWD posix path.

15 years ago * libc/locale/locale.c (setlocale): Don't build on Cygwin.
Corinna Vinschen [Wed, 13 May 2009 14:54:11 +0000 (14:54 +0000)]
* libc/locale/locale.c (setlocale): Don't build on Cygwin.

15 years agoChangeLog:
Alexandre Oliva [Tue, 12 May 2009 18:16:01 +0000 (18:16 +0000)]
ChangeLog:
PR target/37137
* Makefile.def (flags_to_pass): Remove redundant and incomplete
STAGE1_CFLAGS, STAGE2_CFLAGS, STAGE3_CFLAGS, and STAGE4_CFLAGS.
Add FLAGS_FOR_TARGET and BUILD_CONFIG.
(bootstrap_stage): Remove bootstrap-debug custom stages.  Turn
stage_configureflags, stage_cflags and stage_libcflags into
explicit Makefile macros.
* Makefile.tpl (HOST_EXPORTS, EXTRA_HOST_FLAGS): Pass GCJ and
GFORTRAN.
(POSTSTAGE1_HOST_EXPORTS): Add XGCC_FLAGS_FOR_TARGET and TFLAGS to
CC.  Set CC_FOR_BUILD from CC.
(BASE_TARGET_EXPORTS, RAW_CXX_TARGET_EXPORTS,
NORMAL_TARGET_EXPORTS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS and CXXFLAGS to
XGCC_FLAGS_FOR_TARGET.  Add it along with TFLAGS to CC, CXX, GCJ,
and GFORTRAN.
(TFLAGS, STAGE_CFLAGS, STAGE_TFLAGS, STAGE_CONFIGURE_FLAGS): New.
(_LIBCFLAGS): Renamed to _TFLAGS.
(do-compare-debug, do-compare3-debug): Drop.
(CC, GCC_FOR_TARGET, CXX_FOR_TARGET, RAW_CXX_FOR_TARGET,
GCJ_FOR_TARGET, GFORTRAN_FOR_TARGET): Remove FLAGS_FOR_TARGET.
(FLAGS_FOR_TARGET, SYSROOT_CFLAGS_FOR_TARGET,
DEBUG_PREFIX_CFLAGS_FOR_TARGET): Move down.
(XGCC_FLAGS_FOR_TARGET): New.
(BASE_FLAGS_TO_PASS): Pass STAGEid_CFLAGS, STAGEid_TFLAGS and TFLAGS.
(EXTRA_HOST_FLAGS): Pass GCJ and GFORTRAN.
(POSTSTAGE1_FLAGS_TO_PASS): Move SYSROOT_CFLAGS_FOR_TARGET and
DEBUG_PREFIX_CFLAGS_FOR_TARGET from CFLAGS, CXXFLAGS, LIBCFLAGS,
LIBCXXFLAGS to XGCC_FLAGS_FOR_TARGET.    Add it along with TFLAGS
to CC, CXX, GCJ, and GFORTRAN.  Pass XGCC_FLAGS_FOR_TARGET and
TFLAGS.
(BUILD_CONFIG): Include if requested.
(all): Set TFLAGS on bootstrap.
(configure-stageid-prefixmodule): Pass TFLAGS, adjust FLAGS.
(all-stageid-prefixmodule): Likewise.
(do-clean, distclean-stageid): Set TFLAGS.
(restrap): Fix whitespace.
* Makefile.in: Rebuilt.
config/ChangeLog:
* multi.m4: Save CXX, GFORTRAN and GCJ in config.status.
* mt-gnu (CXXFLAGS_FOR_TARGET): Adjust.
* bootstrap-O1.mk: New.
* bootstrap-O3.mk: New.
* bootstrap-debug.mk: New.

15 years ago2009-05-11 Craig Howland <howland@LGSInnovations.com>
Jeff Johnston [Mon, 11 May 2009 21:58:05 +0000 (21:58 +0000)]
2009-05-11  Craig Howland <howland@LGSInnovations.com>

        * libm/machine/i386/f_llrint.c: Remove llrint() definition.
        * libm/machine/i386/f_llrintf.c: Remove llrintf() definition.

15 years ago * Makefile.in: Link ps.exe agains ntdll.dll.
Corinna Vinschen [Mon, 11 May 2009 14:01:17 +0000 (14:01 +0000)]
* Makefile.in: Link ps.exe agains ntdll.dll.
* ps.cc (main): Enable SE_DEBUG_NAME privilege if Windows processes
have to be enumerated.  Workaround EnumProcessModules problem when
running under WOW64 and use NtQueryInformationProcess to fetch
process image name.

15 years ago* cygwin/version.h (CYGWIN_VERSION_CYGWIN_CONV): New define.
Christopher Faylor [Sat, 9 May 2009 20:16:06 +0000 (20:16 +0000)]
* cygwin/version.h (CYGWIN_VERSION_CYGWIN_CONV): New define.

15 years ago * dtable.cc (dtable::init_std_file_from_handle): Add workaround for
Corinna Vinschen [Sat, 9 May 2009 15:56:37 +0000 (15:56 +0000)]
* dtable.cc (dtable::init_std_file_from_handle): Add workaround for
Windows 7 64 bit issue.  Add lengthy comment to explain what happens.
* wincap.h (wincaps::has_console_handle_problem): New element.
* wincap.cc: Implement above element throughout.
(wincap_7): New wincaps structure for NT 6.1 kernels.
(wincapc::init): Set has_console_handle_problem to false for 32 bit
systems.

Fix broken older ChangeLog entry.

15 years ago * sec_auth.cc (str2uni_cat): Move from here...
Corinna Vinschen [Sat, 9 May 2009 15:08:16 +0000 (15:08 +0000)]
* sec_auth.cc (str2uni_cat): Move from here...
* path.cc (str2uni_cat): ...to here.  Simplify.  Make static inline.
(get_nt_native_path): Use RtlAppendUnicodeToString rather than
str2uni_cat for constant strings for speed.
* security.h (str2uni_cat): Drop declaration.

15 years ago * strfuncs.cc (sys_cp_wcstombs): save and restore previous errno value.
Corinna Vinschen [Fri, 8 May 2009 20:28:20 +0000 (20:28 +0000)]
* strfuncs.cc (sys_cp_wcstombs): save and restore previous errno value.
(sys_cp_mbstowcs): Ditto.

15 years ago * strfuncs.cc (sys_cp_wcstombs): Set errno to 0 before converting
Corinna Vinschen [Fri, 8 May 2009 19:38:33 +0000 (19:38 +0000)]
* strfuncs.cc (sys_cp_wcstombs): Set errno to 0 before converting
wide char to SO/UTF-8 sequence.

15 years ago * include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as
Corinna Vinschen [Fri, 8 May 2009 10:54:58 +0000 (10:54 +0000)]
* include/sys/select.h: Guard definitions with __USE_W32_SOCKETS as
the accompanying fd_set definitions in newlib's sys/types.h.

15 years ago * MAINTAINERS: Add myself as a maintainer for the MN10300 and to
Nick Clifton [Fri, 8 May 2009 10:00:25 +0000 (10:00 +0000)]
    * MAINTAINERS: Add myself as a maintainer for the MN10300 and to
        the write-after-approval list.

15 years ago * mn10300/sim.ld: Add missing section names such as .bss.*
Nick Clifton [Fri, 8 May 2009 09:59:56 +0000 (09:59 +0000)]
    * mn10300/sim.ld: Add missing section names such as .bss.*
        .text.*, etc.  General tidy up.

15 years ago2009-05-07 Ken Werner <ken.werner@de.ibm.com>
Jeff Johnston [Thu, 7 May 2009 18:07:35 +0000 (18:07 +0000)]
2009-05-07  Ken Werner  <ken.werner@de.ibm.com>

        * spu/configure.in: Fix multilib support.
        * spu/configure: Regenerate.
        * spu/Makefile.in: Add CFLAGS_FOR_TARGET.

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