]> sourceware.org Git - newlib-cygwin.git/log
newlib-cygwin.git
18 years ago* devices.h (_major): Revert previous ill-advised change.
Christopher Faylor [Fri, 2 Dec 2005 00:37:21 +0000 (00:37 +0000)]
* devices.h (_major): Revert previous ill-advised change.
(_minor): Ditto.

18 years ago* exceptions.cc (handle_exceptions): Translate a guard page exception to a
Christopher Faylor [Thu, 1 Dec 2005 20:52:00 +0000 (20:52 +0000)]
* exceptions.cc (handle_exceptions): Translate a guard page exception to a
"SIGBUS".

18 years ago * mmap.cc: Make debug output more consistently. Fix some comments.
Corinna Vinschen [Thu, 1 Dec 2005 20:35:13 +0000 (20:35 +0000)]
* mmap.cc: Make debug output more consistently.  Fix some comments.
(gen_protect): Convert to inline function.
(gen_access): Ditto.
(mmap_record::gen_protect): Add create parameter as in global function.
(mmap_record::alloc_page_map): Change condition so that always the
correct protection setting is set after mapping has been established.
(mmap64): For anonymous mappings set offset always to 0.
(fixup_mmaps_after_fork): Always call fixup_mmap_after_fork method
with the MAP_FIXED flag set.

18 years ago* devices.h (_minor): Coerce argument to proper type before manipulating.
Christopher Faylor [Thu, 1 Dec 2005 17:33:59 +0000 (17:33 +0000)]
* devices.h (_minor): Coerce argument to proper type before manipulating.
(_major): Ditto.
(device::is_fs_special): New function.
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Set the size to 0 for
devices rather than reporting the size of the symlink.
(fhandler_disk_file::readdir): Use is_fs_special to determine if .lnk should be
stripped.
* path.cc: Rename symlink_info::is_symlink to symlink_info::issymlink
throughout.
(symlink_info::isdevice): New field.
(path_conv::check): Use 'isdevice' to determine if just-parsed entity is a
device rather than relying on non-zero major/minor.
(symlink_info::parse_device): Set isdevice to true if we've discovered a
device.
(symlink_info::check): Clear isdevice field prior to processing.  Use isdevice
to control debugging output.
(symlink_info::set): Set isdevice to false.
* path.h (path_conv::is_fs_special): New function.
* devices.cc: Regenerate.

18 years ago2005-11-30 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Wed, 30 Nov 2005 23:43:57 +0000 (23:43 +0000)]
2005-11-30  Shaun Jackman  <sjackman@gmail.com>

        * libnosys/Makefile.in (OBJS): Add chown, readlink, and symlink.
        * libnosys/chown.c: New file.
        * libnosys/readlink.c: New file.
        * libnosys/symlink.c: New file.

18 years ago2005-11-30 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Wed, 30 Nov 2005 23:37:14 +0000 (23:37 +0000)]
2005-11-30  Shaun Jackman  <sjackman@gmail.com>

        * arm/libcfunc.c (clock, sleep, usleep): New functions.
        * arm/syscalls.c (_clock): New function.
        (_times): Call _clock.

18 years ago* times.cc (hires_ms::prime): Remove debugging stuff.
Christopher Faylor [Wed, 30 Nov 2005 18:14:07 +0000 (18:14 +0000)]
* times.cc (hires_ms::prime): Remove debugging stuff.
(hires_ms::usecs): Ditto.

18 years ago * mmap.cc (list::try_map): New method, implementing trying to map
Corinna Vinschen [Wed, 30 Nov 2005 15:05:48 +0000 (15:05 +0000)]
* mmap.cc (list::try_map): New method, implementing trying to map
within another already existing map, moved from mmap64 here.
(mmap64): Just call try_map now.
(fhandler_dev_zero::fixup_mmap_after_fork): Always create new private
map with PAGE_READWRITE protection.
(fixup_mmaps_after_fork): Fix comment.

18 years ago * include/cygwin/version.h: Bump API minor version.
Corinna Vinschen [Tue, 29 Nov 2005 18:25:36 +0000 (18:25 +0000)]
* include/cygwin/version.h: Bump API minor version.

18 years ago * fhandler.h (fhandler_dev_zero::mmap): Add method.
Corinna Vinschen [Tue, 29 Nov 2005 16:28:05 +0000 (16:28 +0000)]
* fhandler.h (fhandler_dev_zero::mmap): Add method.
(fhandler_dev_zero::munmap): Ditto.
(fhandler_dev_zero::msync): Ditto.
(fhandler_dev_zero::fixup_mmap_after_fork): Ditto.
* mmap.cc: Implement anonymous mapping using fhandler_dev_zero class.
Implement private anonymous maps using VirtualAlloc/VirtualFree.  Fix
or add some more comments.
(fh_paging_file): Change to type fhandler_dev_zero.
(priv): New static inline function to avoid having lots of flag bit
tests in the code.  Use throughout were appropriate.
(fixed): Ditto.
(anonymous): Ditto.
(noreserve): Ditto.
(autogrow): Ditto.
(gen_protect): Never generate PAGE_WRITECOPY protection for
private anonymous maps.
(gen_access): Drop FILE_MAP_EXECUTE handling since it's not supported
correctly on 9x.
(VirtualProt9x): Move comment from mmap64 here.
(mmap_record::mmap_record): Gegerate correct device entry for
anonymous maps, though unused right now.
(mmap_record::priv): Call global priv function.
(mmap_record::fixed): Call global fixed function.
(mmap_record::anonymous): Call global anonymous function.
(mmap_record::noreserve): Call global noreserve function.
(mmap_record::autogrow): Call global autogrow function.
(list::anonymous): New method.  Use throughout were appropriate.
(mmap_record::compatible_flags): Drop now useless ifdef.
(mmap_record::alloc_page_map): Accomodate private anonymous maps.
(mmap_record::map_pages): Accomodate MAP_NORESERVE mappings.
(mmap_record::unmap_pages): Accomodate private anonymous maps.
(mmap64): Simplify argument check.  Don't remove the MAP_PRIVATE flag
for anonymous mappings on 9x anymore since that's now handled
gracefully.
(mprotect): Accomodate MAP_NORESERVE mappings.  Fix case when
non-mmap areas are just MEM_RESERVEd.
(fhandler_dev_zero::mmap): Implement anonymous mapping here.
(fhandler_dev_zero::munmap): Ditto.
(fhandler_dev_zero::msyn): Ditto.
(fhandler_dev_zero::fixup_mmap_after_fork): Ditto.
(fixup_mmaps_after_fork): Accomodate private anonymous maps.  Enhance
debug output in case VirtualProtect fails.
* include/sys/mman.h: Really define MAP_NORESERVE now.

18 years ago * autoload.cc (NtCreateSection): Define.
Corinna Vinschen [Mon, 28 Nov 2005 22:32:29 +0000 (22:32 +0000)]
* autoload.cc (NtCreateSection): Define.
* cygheap.cc (_csbrk): Call getpagesize instead of getshmlba.
* dcrt0.cc (dll_crt0_0): Call mmap_init.
* external.cc (cygwin_internal): Call getpagesize instead of getshmlba.
* fhandler.h (fhandler_base::mmap): Change access to prot parameter.
(fhandler_base::fixup_mmap_after_fork): Ditto.
(fhandler_disk_file::mmap): Ditto.
(fhandler_disk_file::fixup_mmap_after_fork): Ditto.
(fhandler_dev_mem::mmap): Ditto.
(fhandler_dev_mem::fixup_mmap_after_fork): Ditto.
* fhandler_mem.cc (fhandler_dev_mem::write): Call getsystempagesize
instead of getpagesize.
(fhandler_dev_mem::read): Ditto.
(fhandler_dev_mem::fstat): Ditto.
(fhandler_dev_mem::mmap): Move to mmap.cc.
(fhandler_dev_mem::munmap): Ditto.
(fhandler_dev_mem::msync): Ditto.
(fhandler_dev_mem::fixup_mmap_after_fork): Ditto.
* fhandler_proc.cc (format_proc_meminfo): Call getsystempagesize
instead of getpagesize.
* fhandler_process.cc (format_process_stat): Ditto.
(format_process_status): Ditto.
(get_mem_values): Ditto.
* mmap.cc: Fix formatting.  Try to make more readable and modular.
Take advantage of pagesize==granularity.
(gen_protect): New static function to evaluate Windows
protection bits from POSIX protection and flags.
(gen_access): Ditto for Windows access mode.
(VirtualProt9x): Wrapper function to call VirtualProtect on 9x.
(VirtualProtNT): Ditto for NT.
(VirtualProtEx9x): Ditto for VirtualProtectEx on 9x.
(VirtualProtExNT): Ditto for NT.
(CreateMapping9x): Wrapper function for creating a mapping handle on 9x.
(CreateMappingNT): Ditto for NT.
(MapView9x): Wrapper function to map a view on 9x.
(MapViewNT): Ditto for NT.
(mmap_funcs_9x): Structure containing function pointers to wrapper
functions for 9x.
(mmap_funcs_nt): Ditto for NT.
(mmap_func): Pointer to wrapper functions used in subsequent code.
(mmap_init): Initialize mmap_func depending on OS.
(class mmap_record): Use sensible member names.  Add POSIX protection
member. Drop Windows access flags member.  Constify more methods.
Use accessors instead of direct member access inside of own methods.
(mmap_record::gen_protect): Class wrapper to evaluate matching
Windows protection bits.
(mmap_record::gen_access): Ditto for Windows access flags.
(mmap_record::compatible_flags): New function to check if flags are
compatible with flags of existing map.
(list::add_record): Drop offset and length arguments.
(class map): Change counters to unsigned.  Match usage throughout.
(mmapped_areas): Convert from pointer to global struct.
(mmap_record::alloc_page_map): Simplify.
(mmap_record::map_pages): Ditto.
(mmap_record::fixup_page_map): Delete.
(mmap64): Simplify.  Add workaround for Windows 98 bug.  Fix bug on
NT that existing anonymous mappings weren't searched for a match.
(munmap): Add workaround for Windows 98 bug.
(msync): Simplify.
(mprotect): Handle existing maps correctly.
(mlock): Add local pagesize variable and enlightening comment.
(fhandler_disk_file::mmap): Main functionality now in CreateMapping/
MapView wrapper functions.
(fhandler_disk_file::fixup_mmap_after_fork): Call MapView wrapper.
(fhandler_dev_mem::mmap): Moved from fhandler_mem.cc.  Simplify by
calling MapViewNT.
(fhandler_dev_mem::munmap): Moved from fhandler_mem.cc.
(fhandler_dev_mem::msync): Ditto.
(fhandler_dev_mem::fixup_mmap_after_fork): Ditto.  Call MapViewNT.
(fixup_mmaps_after_fork): Restructure and hopefully speed up loop for
setting protection and memory content on MAP_PRIVATE maps.
* ntdll.h (AT_ROUND_TO_PAGE): Remove define.
(AT_EXTENDABLE_FILE): Add define.
(NtCreateSection): Add prototype.
* syscalls.cc (getpagesize): Return granularity as pagesize now.
(getsystempagesize): New function to retrieve "real" pagesize.
(getshmlba): Delete since it's replaced by getpagesize now.
* wincap.h (wincaps::has_mmap_alignment_bug): New element.
* wincap.cc: Implement above element throughout.
* winsup.h (getshmlba): Drop prototype.
(getsystempagesize): Add prototype.
(mmap_init): Ditto.
* include/sys/mman.h: (Not yet) define MAP_NORESERVE.

18 years ago * fhandler_disk_file.cc (fhandler_base::fstat_helper): Don't rely on
Corinna Vinschen [Mon, 28 Nov 2005 10:06:33 +0000 (10:06 +0000)]
* fhandler_disk_file.cc (fhandler_base::fstat_helper): Don't rely on
has_acl() state for evaluating inodes.  Temporarily(?) enable "real"
inodes for remote drives.

18 years agoFix changelog typo.
Daniel Jacobowitz [Mon, 28 Nov 2005 03:29:07 +0000 (03:29 +0000)]
Fix changelog typo.

18 years ago* heap.cc: Remove spurious getpagesize declaration.
Christopher Faylor [Fri, 25 Nov 2005 19:53:52 +0000 (19:53 +0000)]
* heap.cc: Remove spurious getpagesize declaration.
* exceptions.cc (ctrl_c_handler): Distinguish CTRL-BREAK from CTRL-C in some
cases.

18 years ago* autoload.cc (CloseWindowStation): Define.
Christopher Faylor [Thu, 24 Nov 2005 02:34:49 +0000 (02:34 +0000)]
* autoload.cc (CloseWindowStation): Define.

18 years ago* fhandler_tty.cc (fhandler_tty_slave::open): Reset the current windows station
Christopher Faylor [Thu, 24 Nov 2005 02:34:31 +0000 (02:34 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open): Reset the current windows station
whenever ctty == -1 regardles of whetehr there's a windows station already
assigned.  Close the old windows station in this situation.
* pinfo.cc (_pinfo::set_ctty): Reinstate incrementing of console count when
recording ctty so that the current tty is always around.

18 years ago* Makefile.in: Link cygcheck with libwininet.a.
Christopher Faylor [Tue, 22 Nov 2005 17:19:17 +0000 (17:19 +0000)]
* Makefile.in: Link cygcheck with libwininet.a.
* cygcheck.cc: Add includes.
(grep_packages): New global variable.
(display_internet_error): New function.
(safe_chars): New global variable.
(base_url): Ditto.
(package_grep): New function.
(usage): Reword --help output for clarity.  Document new argument.
(longopts): Add 'package-query' option.
(opts): Add 'p' option, reorder to be consistent with 'longopts'.
(main): Accommodate new option.
* utils.sgml (cygcheck): Update --help output.  Document new -p option.

18 years ago* strptime.cc (_strptime): Fix gcc warnings.
Christopher Faylor [Fri, 18 Nov 2005 19:43:02 +0000 (19:43 +0000)]
* strptime.cc (_strptime): Fix gcc warnings.

18 years ago* memmem.cc: Move from here.
Christopher Faylor [Fri, 18 Nov 2005 19:39:53 +0000 (19:39 +0000)]
* memmem.cc: Move from here.
* lib/memmem.cc: Move to here.

18 years ago2005-11-18 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Fri, 18 Nov 2005 19:00:29 +0000 (19:00 +0000)]
2005-11-18  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/time/strptime.c (strptime): Don't abort for %c and %Z.
        Treat %c as "%a %b %e %H:%M:%S %Y" and ignore %Z.

18 years ago * libc: Add subdirectory.
Corinna Vinschen [Fri, 18 Nov 2005 17:48:23 +0000 (17:48 +0000)]
* libc: Add subdirectory.
* Makefile.in (VPATH): Add libc subdir.
(DLL_OFILES): Add strptime.o and timelocal.o.
* cygwin.din: Export timelocal and timegm.
* localtime.cc: Define STD_INSPIRED unconditionally.
* include/cygwin/time.h (timelocal): Add declaration.
(timegm): Ditto.
* include/cygwin/version.h: Bump API minor version.
* libc/strptime.cc: New file.
* libc/timelocal.cc: New file.
* libc/timelocal.h: New file.

18 years ago * libc/include/ieeefp.h: Add C++ guards.
Corinna Vinschen [Fri, 18 Nov 2005 17:40:21 +0000 (17:40 +0000)]
* libc/include/ieeefp.h: Add C++ guards.

18 years ago* include/cygwin/sys_time.h: Move futimes and lutimes declaration here from
Christopher Faylor [Fri, 18 Nov 2005 16:08:33 +0000 (16:08 +0000)]
* include/cygwin/sys_time.h: Move futimes and lutimes declaration here from
newlib.

18 years ago* include/sys/time.h: Move more cygwin stuff to cygwin-specific header.
Christopher Faylor [Fri, 18 Nov 2005 16:08:10 +0000 (16:08 +0000)]
* include/sys/time.h: Move more cygwin stuff to cygwin-specific header.

18 years ago* include/time.h: Remove more cygwin-specific stuff.
Christopher Faylor [Fri, 18 Nov 2005 15:57:24 +0000 (15:57 +0000)]
* include/time.h: Remove more cygwin-specific stuff.

18 years ago* times.cc (timezone): Put back (void).
Christopher Faylor [Fri, 18 Nov 2005 15:57:16 +0000 (15:57 +0000)]
* times.cc (timezone): Put back (void).
* include/cygwin/time.h: Add more cygwin stuff from newlib.

18 years ago* include/time.h: Move cygwin declarations to cygwin-specific header.
Christopher Faylor [Fri, 18 Nov 2005 15:45:54 +0000 (15:45 +0000)]
* include/time.h: Move cygwin declarations to cygwin-specific header.
* include/sys/time.h: Rename cygwin include to "sys_time.h".

18 years ago* include/cygwin/sys_time.h: Rename from include/cygwin/time.h.
Christopher Faylor [Fri, 18 Nov 2005 15:45:51 +0000 (15:45 +0000)]
* include/cygwin/sys_time.h: Rename from include/cygwin/time.h.
* include/cygwin/time.h: New file.

18 years ago2005=11-18 Brian Gunlogson <gmb300@users.sourceforge.net>
Danny Smith [Fri, 18 Nov 2005 00:44:22 +0000 (00:44 +0000)]
2005=11-18  Brian Gunlogson  <gmb300@users.sourceforge.net>

* include/winuser.h (GetClassLongPtr{AW}): Add prototypes.
(SetClassLongPtr{AW}): Likewise.
(GCLP_*): Add GetClassLongPtr defines.
* lib/user32.def (GetClassLongPtr{AW}): Add stubs.
(SetClassLongPtr{AW}): Likewise.

18 years ago2005=11-18 Brian Gunlogson <gmb300@users.sourceforge.net>
Danny Smith [Fri, 18 Nov 2005 00:30:27 +0000 (00:30 +0000)]
2005=11-18  Brian Gunlogson  <gmb300@users.sourceforge.net>

* include/winuser.h (GetClassLongPtr{AW}): Add prototypes.
(SetClassLongPtr{AW}): Likewise.
(GCLP_*): Add GetClassLongPtr defines.
* lib/user32.def (GetClassLongPtr{AW}): Add stubs.
(SetClassLongPtr{AW}): Likewise.

18 years ago2005-11-17 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 17 Nov 2005 21:51:21 +0000 (21:51 +0000)]
2005-11-17  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/sys/linux/dl/dl-local.h: New file based on old dlfcn.h
        in libc/sys/linux/include.
        * libc/sys/linux/dl/dlfcn.h: Moved to libc/sys/linux/include.
        * libc/sys/linux/dl/ldsodefs.h: Include dl-local.h instead of dlfcn.h.
        * libc/sys/linux/include/dlfcn.h: Replaced with dlfcn.h formerly
        in libc/sys/linux/dl.

18 years ago2005-11-17 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Thu, 17 Nov 2005 18:56:41 +0000 (18:56 +0000)]
2005-11-17  Shaun Jackman  <sjackman@gmail.com>

* libgloss/arm/libcfunc.c (isatty): Call _isatty. GDB now supports
the IsTTY SWI that _isatty calls.

18 years ago* fork.cc (fork): Move top-of-stack calculation later.
Christopher Faylor [Thu, 17 Nov 2005 16:36:00 +0000 (16:36 +0000)]
* fork.cc (fork): Move top-of-stack calculation later.
* pinfo.cc (_pinfo::set_ctty): Use __ctty to print current console in debugging
output.

18 years ago * fhandler_tty.cc (fhandler_tty_slave::open): Don't expect that
Corinna Vinschen [Thu, 17 Nov 2005 16:17:17 +0000 (16:17 +0000)]
* fhandler_tty.cc (fhandler_tty_slave::open):  Don't expect that
service applications have no window station attached.

18 years ago * cris/linunistd.h: Don't redefine errno as extern int.
Hans-Peter Nilsson [Thu, 17 Nov 2005 12:01:44 +0000 (12:01 +0000)]
* cris/linunistd.h: Don't redefine errno as extern int.

18 years ago* times.cc (hires_ms::prime): Don't escalate the priority.
Christopher Faylor [Wed, 16 Nov 2005 05:12:11 +0000 (05:12 +0000)]
* times.cc (hires_ms::prime): Don't escalate the priority.

18 years ago* include/sys/elf64.h: Fix types to reflect linux usage.
Christopher Faylor [Mon, 14 Nov 2005 20:34:33 +0000 (20:34 +0000)]
* include/sys/elf64.h: Fix types to reflect linux usage.

18 years ago* fhandler.h (fhandler_console::fixup_after_fork_exec): Define with additional
Christopher Faylor [Mon, 14 Nov 2005 14:15:51 +0000 (14:15 +0000)]
* fhandler.h (fhandler_console::fixup_after_fork_exec): Define with additional
bool parameter.
(fhandler_console::fixup_after_exec): Accommodate fixup_after_fork_exec's
parameter.
(fhandler_console::fixup_after_fork): Ditto.
* fhandler_console.cc (fhandler_console::fixup_after_fork_exec): Avoid opening
new console only when close_on_exec AND execing.

18 years ago* fhandler.h (fhandler_console::fixup_after_fork_exec): Declare new function.
Christopher Faylor [Mon, 14 Nov 2005 05:36:16 +0000 (05:36 +0000)]
* fhandler.h (fhandler_console::fixup_after_fork_exec): Declare new function.
(fhandler_console::fixup_after_fork): Use fixup_after_fork_exec.
(fhandler_console::fixup_after_exec): Ditto.
* fhandler_console.cc (fhandler_console::fixup_after_fork): Delete definition.
(fhandler_console::fixup_after_fork_exec): Rename from fixup_after_exec.
* pinfo.cc (_pinfo::set_ctty): Don't play with console count here.
* syscalls.cc (close_all_files): Don't close cygheap ctty if hExeced since the
child will be copying information from us.
(setsid): Use myctty() rather than raw ctty #.

18 years ago* cygheap.h (init_cygheap::manage_console_count): Declare new function.
Christopher Faylor [Mon, 14 Nov 2005 04:28:45 +0000 (04:28 +0000)]
* cygheap.h (init_cygheap::manage_console_count): Declare new function.
(init_cygheap::console_count): Renamed from open_fhs.  Make private.
* cygheap.cc (init_cygheap::manage_console_count): Define new function.
* dtable.cc (dtable::fixup_after_exec): Always call fixup_after_exec on
elements of fd even when they are about to be closed.
* fhandler.h (report_tty_counts): Remove open_fhs from debugging output.
* fhandler_console.cc (fhandler_console::open): Use manage_console_count rather
than manipulating count directly.
(fhandler_console::close): Ditto.
(fhandler_console::fixup_after_fork): Ditto.
(fhandler_console::fixup_after_exec): Ditto.  Don't close handles if
close_on_exec.
* fhandler_tty.cc (fhandler_tty_slave::open): Use manage_console_count() rather
than manipulating count directly.  Reflect change in arguments to
report_tty_counts().
(fhandler_tty_slave::close): Ditto for both.
(fhandler_tty_slave::dup): Ditto for both.
(fhandler_tty_slave::ioctl): Use myctty() rather than raw ctty #.
(fhandler_tty_slave::fixup_after_fork): Reflect change in arguments to
report_tty_counts().
(fhandler_tty_master::init_console): Use manage_console_count() rather than
manipulating count directly.
* fhandler_clipboard.cc (fhandler_dev_clipboard::fixup_after_exec): Don't
perform any operations if close_on_exec.
* fhandler_dsp.cc (fhandler_dev_dsp::fixup_after_exec): Ditto.
* fhandler_raw.cc (fhandler_dev_raw::fixup_after_exec): Ditto.
* fhandler_serial.cc (fhandler_serial::fixup_after_exec): Ditto.
* pinfo.h (_pinfo::_ctty): Declare new function.
(myctty): Declare new macro.
(__ctty): Declare new macro.
* pinfo.cc (_pinfo::_ctty): Define new function.
(_pinfo::set_ctty): Use manage_console_count() rather than manipulating count
directly.
* signal.cc (kill_pgrp): Use myctty() and __ctty() macros rather than raw ctty
#.
* syscalls.cc (setsid): Ditto.  Use manage_console_count() rather than
manipulating count directly.

18 years ago * mips.h: Assign 'm'/'M' codes to MIPS16e save/restore
Thiemo Seufer [Mon, 14 Nov 2005 02:25:39 +0000 (02:25 +0000)]
    * mips.h: Assign 'm'/'M' codes to MIPS16e save/restore
        instructions.  Define MIPS16_ALL_ARGS and MIPS16_ALL_STATICS for
        save/restore encoding of the args field.

        * mips16-opc.c: Add MIPS16e save/restore opcodes.
        * mips-dis.c (print_mips16_insn_arg): Handle printing of 'm'/'M'
        codes for save/restore.

        * config/tc-mips.c (mips16_ip): Add handling of 'm' and 'M' codes
        for the MIPS16e save/restore instructions.

        * gas/mips/mips.exp: Run new save/restore tests.
        * gas/testsuite/gas/mips/mips16e-save.s: New test for generating
        different styles of save/restore instructions.
        * gas/testsuite/gas/mips/mips16e-save.d: New.

18 years ago * fhandler_socket.cc (fhandler_socket::recvfrom): Just return 0 (EOF)
Corinna Vinschen [Sun, 13 Nov 2005 16:24:40 +0000 (16:24 +0000)]
* fhandler_socket.cc (fhandler_socket::recvfrom): Just return 0 (EOF)
in case of WSAESHUTDOWN.
(fhandler_socket::recvmsg): Ditto.
* poll.cc (poll): Set revents to POLLIN instead of POLLHUP. Add comment.

18 years ago * include/commdlg.h (OPENFILENAMEW): Add members for
Danny Smith [Sat, 12 Nov 2005 09:49:00 +0000 (09:49 +0000)]
* include/commdlg.h (OPENFILENAMEW): Add members for
_WIN32_WINNT >= 0x0500.
(OPENFILENAMEA): Modify whitespace. Ansify comment.

18 years ago * include/wingdi.h (GetICMProfile{AW}): Correct prototype.
Danny Smith [Sat, 12 Nov 2005 01:10:12 +0000 (01:10 +0000)]
* include/wingdi.h (GetICMProfile{AW}): Correct prototype.
Thanks to: Paul J Lucas

18 years ago * Makefile.def: Remove gdb dependencies for gdbtk.
Daniel Jacobowitz [Fri, 11 Nov 2005 21:45:22 +0000 (21:45 +0000)]
* Makefile.def: Remove gdb dependencies for gdbtk.
* Makefile.tpl (CONFIGURE_GDB_TK, INSTALL_GDB_TK): New variables.
(configure-gdb, install-gdb): New rules.
* configure.in: Set CONFIGURE_GDB_TK and INSTALL_GDB_TK.
* Makefile.in, configure: Regenerated.

18 years ago* cygheap.h (init_cygheap::_gtod): Remove.
Christopher Faylor [Fri, 11 Nov 2005 16:42:15 +0000 (16:42 +0000)]
* cygheap.h (init_cygheap::_gtod): Remove.
* cygwin.din: Export clock_getres and clock_setres.
* hires.h (hires_ms::minperiod): Delete declaration.
(hires_ms::began_period): Ditto.
(hires_ms::prime): Make void.
(hires_ms::resolution): Just define here.
(hires_ms::usecs): Remove unneeded argument.
(gtod): Redeclare as a variable.
* timer.cc (timer_thread): Eliminate argument to gtod.usecs().
(timer_tracker::gettime): Ditto.
(timer_tracker::settime): Ditto.
* times.cc (gettimeofday): Ditto.
(hires_ms::began_period): Delete declaration.
(hires_us::prime): Remove debugging.
(hires_ms::prime): Make void.  Eliminate period stuff.
(hires_ms::usecs): Eliminate argument to gtod.usecs().
(hires_ms::resolution): New function.
(clock_getres): Ditto.
(clock_setres): Ditto.
* version.h: Bump API version to 143.
* include/cygwin/time.h: New file.

18 years ago* libc/include/sys/time.h: For cygwin, use general header rather than specific
Christopher Faylor [Fri, 11 Nov 2005 16:23:36 +0000 (16:23 +0000)]
* libc/include/sys/time.h: For cygwin, use general header rather than specific
"sys/select.h".

18 years agoPR 1150
Nick Clifton [Fri, 11 Nov 2005 11:06:31 +0000 (11:06 +0000)]
PR 1150
* readelf.c (get_mips_symbol_other): New function.
  (get_symbol_other): New function.
  (process_symbol_table): Call get_symbol_other() to get a description of the
    st_other field if it contains more information than just the visibility.
* elfxx-mips.c (mips_elf_calculate_relocation): Ignore an undefined symbol if
    it is optional.
  (_bfd_mips_elf_merge_symbol_attribute): Make sure that the optional flag is
    merged as well as the visibility.
* elfxx-mips.h (_bfd_mips_elf_merge_symbol_attribute): Prototype.
  (elf_backend_merge_symbol_attribute): Define.
* mips.h (STO_OPTIONAL): Define.
  (ELF_MIPS_IS_OPTIONAL): Define.

18 years ago* times.cc (hires_ms::prime): Comment out call to timeBeginPeriod for now.
Christopher Faylor [Fri, 11 Nov 2005 04:07:30 +0000 (04:07 +0000)]
* times.cc (hires_ms::prime): Comment out call to timeBeginPeriod for now.
(hires_ms::usecs): Call prime if haven't called began_period().
* param.h: Don't define stuff that is already defined in endian.h.

18 years ago* include/endian.h: Remove USE_BSD ifdef since it is never defined on Cygwin.
Christopher Faylor [Thu, 10 Nov 2005 21:17:15 +0000 (21:17 +0000)]
* include/endian.h: Remove USE_BSD ifdef since it is never defined on Cygwin.

18 years ago * bsd_helper.cc (securityinit): New function. Move initialization
Corinna Vinschen [Thu, 10 Nov 2005 15:04:06 +0000 (15:04 +0000)]
* bsd_helper.cc (securityinit): New function.  Move initialization
of security related variables from ipcinit here.
* bsd_helper.h (securityinit): Add prototype.
* cygserver.cc (main): Call securityinit right after wincap.init.

* process.cc (process_cache::process): Fix maximum process condition.

* README: Add description for new -p/--process-cache option.
* bsd_helper.cc (default_tun_check): Add kern.srv.process_cache_size
entry to tunable_params. Set max value of kern.srv.request_threads
to 310.
* cygserver.cc (SERVER_VERSION): Set to 1.20.
(print_usage): Print usage of new parameter -p.
(main): Add process cache parameter handling. Accomodate new max
value of request threads.
* cygserver.conf: Add kern.srv.process_cache_size tunable parameter.
Accomodate new max value of kern.srv.request_threads.
* process.cc: Fix a comment.
(process_cache::process_cache): Add max process cache size parameter.
Change _cache_add_trigger to manual reset event.
(struct pcache_wait_t): New struct used as parameter to
pcache_wait_thread.
(pcache_wait_thread): New thread function used for threaded process
cache.
(process_cache::wait_for_processes): Use threaded waiting if number
of processes to wait for is bigger than 62. Always check all processes
to avoid race under heavy load.
(process_cache::sync_wait_array): Remove useless assert. Reset
_cache_add_trigger right at the start since it's manual reset now.
Accomodate threaded waiting.
* process.h (process_cache::process_cache): Add max_procs parameter.
(process_cache::_max_process_count): New member.
(process_cache::_wait_array: Raise to allow up to 5 wait threads.
(process_cache::_process_array): Ditto.

18 years ago * bsd_log.cc (_vpanic): LOG_EMERG is overkill, use LOG_CRIT.
Corinna Vinschen [Thu, 10 Nov 2005 10:50:46 +0000 (10:50 +0000)]
* bsd_log.cc (_vpanic): LOG_EMERG is overkill, use LOG_CRIT.

18 years ago Fix dates.
Corinna Vinschen [Thu, 10 Nov 2005 10:36:45 +0000 (10:36 +0000)]
Fix dates.

18 years ago * syslog.cc (setlogmask): Don't mask the mask.
Corinna Vinschen [Thu, 10 Nov 2005 10:34:49 +0000 (10:34 +0000)]
* syslog.cc (setlogmask): Don't mask the mask.
(vsyslog): Fix priority check.

18 years ago * include/cygwin/signal.h: Add missing sigrelse prototype.
Corinna Vinschen [Thu, 10 Nov 2005 09:12:22 +0000 (09:12 +0000)]
* include/cygwin/signal.h: Add missing sigrelse prototype.

18 years ago* fhandler_base.cc (fhandler_base::readv): Free buf, not a pointer into the
Christopher Faylor [Tue, 8 Nov 2005 23:25:55 +0000 (23:25 +0000)]
* fhandler_base.cc (fhandler_base::readv): Free buf, not a pointer into the
middle of buf.

18 years ago2005-11-08 Tom Walsh <tom@openhardware.net>
Jeff Johnston [Tue, 8 Nov 2005 22:44:16 +0000 (22:44 +0000)]
2005-11-08  Tom Walsh  <tom@openhardware.net>

        * libc/time/tzvars.c: New file.
        * libc/time/tzset_r.c: Moved globals into tzvars.c
        so other time functions needn't link in __tzset_r and its
        dependencies.
        * libc/time/Makefile.am: Add the new file.
        * libc/time/Makefile.in: Regenerated.

18 years ago* libc/include/string.h: Add cygwin-specific function declaration.
Christopher Faylor [Tue, 8 Nov 2005 22:10:33 +0000 (22:10 +0000)]
* libc/include/string.h: Add cygwin-specific function declaration.

18 years agofix entry
Christopher Faylor [Tue, 8 Nov 2005 22:08:59 +0000 (22:08 +0000)]
fix entry

18 years ago* memmem.cc: New file.
Christopher Faylor [Tue, 8 Nov 2005 22:08:39 +0000 (22:08 +0000)]
* memmem.cc: New file.
* include/cygwin/version.h: Bump API version number to 142.
* cygwin.din: Export memmem.

18 years ago* environ.cc (spenvs): Make "SYSTEMDRIVE" an "always export".
Christopher Faylor [Tue, 8 Nov 2005 16:32:09 +0000 (16:32 +0000)]
* environ.cc (spenvs): Make "SYSTEMDRIVE" an "always export".

18 years agobfd:
Nathan Sidwell [Tue, 8 Nov 2005 11:15:12 +0000 (11:15 +0000)]
bfd:
Add ms2.
* archures.c (bfd_mach_ms2): Define.
* cpu-ms1.c (arch_info_struct): Add ms2 stanza.
* elf32-ms1.c (elf32_ms1_machine): Add ms2 case.
(ms1_elf_merge_private_bfd_data): Remove unused variables.  Add
correct merging logic, with workaround.
(ms1_elf_print_private_bfd_data): Add ms2 case.
* reloc.c (BFD_RELOC_MS1_PCINSN8): Add ms2 specific reloc.
* libbfd.h: Regenerated.
* bfd-in2.h: Regenerated.

cpu:
Add ms2
* ms1.cpu (ms2, ms2bf): New architecture variant, cpu, machine and
model.
(f-uu8, f-uu1, f-imm16l, f-loopo, f-cb1sel, f-cb2sel, f-cb1incr,
f-cb2incr, f-rc3): New fields.
(LOOP): New instruction.
(JAL-HAZARD): New hazard.
(imm16o, loopsize, imm16l, rc3, cb1sel, cb2sel, cb1incr, cb2incr):
New operands.
(mul, muli, dbnz, iflush): Enable for ms2
(jal, reti): Has JAL-HAZARD.
(ldctxt, ldfb, stfb): Only ms1.
(fbcb): Only ms1,ms1-003.
(wfbinc, mefbinc, wfbincr, mwfbincr, fbcbincs, mfbcbincs,
fbcbincrs, mfbcbincrs): Enable for ms2.
(loop, loopu, dfbc, dwfb, fbwfb, dfbr): New ms2 insns.
* ms1.opc (parse_loopsize): New.
(parse_imm16): hi16/lo16 relocs are applicable to IMM16L.
(print_pcrel): New.

gas:
Add ms2.
* config/tc-ms1.c (ms1_mach_bitmask): Initialize to MS1.
(ms1_architectures): Add ms2.
(md_parse_option): Add ms2.
(md_show_usage): Add ms2.
(md_assemble): Add JAL_HAZARD detection logic.
(md_cgen_lookup_reloc): Add MS1_OPERAND_LOOPSIZE case.
* doc/c-ms1.texi: New.
* doc/all.texi: Add MS1.
* doc/Makefile.am (CPU_DOCS): Add c-ms1.texi.
* doc/Makefile.in: Rebuilt.
* doc/Makefile: Rebuilt.

gas/testsuite:
Add ms2.
* gas/ms1/allinsn.d: Adjust pcrel disassembly.
* gas/ms1/errors.exp: Fix target triplet.
* gas/ms1/ms1-16-003.d: Adjust pcrel disassembly.
* gas/ms1/ms1-16-003.s: Tweak label.
* gas/ms1/ms1.exp: Adjust target triplet.  Add ms2 test.
* gas/ms1/ms2.d, gas/ms1/ms2.s: New.
* gas/ms1/relocs.d: Adjust expected machine name and pcrel
disassembly.
* gas/ms1/relocs.exp: Adjust target triplet.

include:
Add ms2.
* elf/ms1.h (EF_MS1_CPU_MS2): New.

opcodes:
Add ms2.
* ms1-asm.c, ms1-desc.c, ms1-desc.h, ms1-dis.c, ms1-ibld.c,
ms1-opc.c, ms1-opc.h: Regenerated.

18 years ago * times.cc (futimes): Redirect to utimes_worker if given file
Corinna Vinschen [Mon, 7 Nov 2005 17:08:08 +0000 (17:08 +0000)]
* times.cc (futimes): Redirect to utimes_worker if given file
descriptor is opened R/O.

18 years ago * elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.
John David Anglin [Mon, 7 Nov 2005 00:08:35 +0000 (00:08 +0000)]
* elf/hppa.h (R_PARISC_DIR64WR, R_PARISC_DIR64DR): Remove relocs.

18 years ago* dcrt0.cc (dll_crt0_0): Initialize security data first so that it can be used
Christopher Faylor [Sun, 6 Nov 2005 14:02:33 +0000 (14:02 +0000)]
* dcrt0.cc (dll_crt0_0): Initialize security data first so that it can be used
by subsequent handle creation.

18 years ago* cygheap.h (init_cygheap::_gtod): New hires_ms element.
Christopher Faylor [Fri, 4 Nov 2005 20:45:56 +0000 (20:45 +0000)]
* cygheap.h (init_cygheap::_gtod): New hires_ms element.
* hires.h (hires_ms::minperiod): Remove static designation.
(hires::began_period): New field.
* signal.cc: Include headers required for cygheap.h now that gtod lives in the
cygheap.
* timer.c: Ditto.
* times.cc (gtod): Delete variable.
(gtod::minperiod): Ditto.
(gtod::began_period): Define.
(hires_ms::prime): Add more debugging output.  Call timeBeginPeriod only when
!began_period.

18 years ago* times.cc (hires_ms::prime): More debugging.
Christopher Faylor [Fri, 4 Nov 2005 17:38:32 +0000 (17:38 +0000)]
* times.cc (hires_ms::prime): More debugging.
(hires_ms::usecs): Ditto.

18 years ago2005-11-04 Michael Jung <mjung@iss.tu-darmstadt.de>
Danny Smith [Fri, 4 Nov 2005 02:19:26 +0000 (02:19 +0000)]
2005-11-04  Michael Jung  <mjung@iss.tu-darmstadt.de>

* lib/shell32.c (CLSID_ShellFSFolder): Add GUID.

18 years ago* times.cc (stupid_printf): Define and use throughout -- temporarily.
Christopher Faylor [Fri, 4 Nov 2005 02:01:45 +0000 (02:01 +0000)]
* times.cc (stupid_printf): Define and use throughout -- temporarily.

18 years ago2005-11-03 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Thu, 3 Nov 2005 20:47:50 +0000 (20:47 +0000)]
2005-11-03  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/unix/getcwd.c: Don't use non-reentrant syscall names.
        * libc/unix/getlogin.c: Ditto.
        * libc/unix/getpass.c: Ditto.
        * libc/unix/getut.c: Ditto.
        * libc/unix/ttyname.c: Ditto.

18 years ago2005-11-03 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Thu, 3 Nov 2005 16:52:15 +0000 (16:52 +0000)]
2005-11-03  Shaun Jackman  <sjackman@gmail.com>

        * libc/include/sys/unistd.h (readlink, symlink): Provide these
        prototypes by default.
        * libc/sys/linux/include/unistd.h (readlink): Remove this
        prototype.
        * libc/sys/linux/sys/unistd.h (readlink, symlink): New
        prototypes.

18 years ago* times.cc (hires_ms::prime): Add lots of temporary debugging output.
Christopher Faylor [Thu, 3 Nov 2005 14:59:23 +0000 (14:59 +0000)]
* times.cc (hires_ms::prime): Add lots of temporary debugging output.

18 years ago * lib/crypt32.def (CertOIDToAlgId, CertAlgIDToOID, CryptProtectData,
Danny Smith [Thu, 3 Nov 2005 08:21:18 +0000 (08:21 +0000)]
* lib/crypt32.def (CertOIDToAlgId, CertAlgIDToOID, CryptProtectData,
CryptUnprotectData, CryptDecodeObjectEx, CryptEncodeObjectEx,
CryptRegisterOIDFunction, CryptUnregisterOIDFunction): Add stubs.
Thanks to: F Richter  <res2002 at users dot sourceforge dot net>

Fix some ChangeLog whitespace.

18 years ago * bfdlink.h (struct bfd_link_order): Tweak comment.
Alan Modra [Thu, 3 Nov 2005 02:52:51 +0000 (02:52 +0000)]
* bfdlink.h (struct bfd_link_order): Tweak comment.

18 years ago* times.cc (hires_ms::minperiod): Make copy-on-fork.
Christopher Faylor [Thu, 3 Nov 2005 02:41:51 +0000 (02:41 +0000)]
* times.cc (hires_ms::minperiod): Make copy-on-fork.
(gettimeofday): Remove temporary debugging.
(hires_us::prime): Add lots of temporary debugging output.

18 years ago* times.cc (gettimeofday): Add temporary debugging output.
Christopher Faylor [Wed, 2 Nov 2005 18:28:40 +0000 (18:28 +0000)]
* times.cc (gettimeofday): Add temporary debugging output.

18 years ago2005-11-01 Ralf Corsepius <ralf.corsepius@rtems.org>
Jeff Johnston [Tue, 1 Nov 2005 22:26:21 +0000 (22:26 +0000)]
2005-11-01  Ralf Corsepius <ralf.corsepius@rtems.org>

        * libc/include/stdint.h: Cleanup #if vs. #ifdef.

18 years ago* include/sys/cygwin.h: Define CYGWIN_SIGNAL_STRING.
Christopher Faylor [Tue, 1 Nov 2005 05:55:30 +0000 (05:55 +0000)]
* include/sys/cygwin.h: Define CYGWIN_SIGNAL_STRING.
* exceptins.cc (sigpacket::process): Send a _CYGWIN_SIGNAL_STRING to gdb if the
process is being debugged.  A WIP.

18 years ago2005-10-31 Darin Johnson <darin@usa.net>
Jeff Johnston [Mon, 31 Oct 2005 18:47:20 +0000 (18:47 +0000)]
2005-10-31  Darin Johnson  <darin@usa.net>

        * libm/mathfp/s_mathcnst.c: Fix endian-ness check to be
        correct for constants.

18 years agomerge from gcc
DJ Delorie [Mon, 31 Oct 2005 18:01:16 +0000 (18:01 +0000)]
merge from gcc

18 years ago2005-10-29 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Sun, 30 Oct 2005 00:07:58 +0000 (00:07 +0000)]
2005-10-29      Chris Sutcliffe <ir0nh34d@users.sf.net>

        * include/objbase.h: Fix typo.
        * include/w32api.h: Increment version to 3.5.
        * Makefile.in: Ditto.

18 years ago* exceptions.cc (signal_exit): Eliminate setting of main thread priority since
Christopher Faylor [Sat, 29 Oct 2005 20:33:59 +0000 (20:33 +0000)]
* exceptions.cc (signal_exit): Eliminate setting of main thread priority since
process lock should make that unnecessary.
* fork.cc (stack_base): Eliminate.
(frok::parent): Subsume stack_base and just set stack stuff here.  Report on
priority class in debugging output.
* spawn.cc (spawn_guts): Report on priority class in debugging output.

18 years ago* fork.cc (frok::child): Change order of cleanup prior to return.
Christopher Faylor [Sat, 29 Oct 2005 15:19:34 +0000 (15:19 +0000)]
* fork.cc (frok::child): Change order of cleanup prior to return.
(fork): Save more of the stack.
* gendef: Fix some comments.
* sigproc.cc (wait_sig): Clarify debug output.

18 years ago* child_info.h (CHILD_INFO_MAGIC): Reset.
Christopher Faylor [Sat, 29 Oct 2005 15:05:55 +0000 (15:05 +0000)]
* child_info.h (CHILD_INFO_MAGIC): Reset.

18 years ago2005-10-28 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston [Fri, 28 Oct 2005 21:38:59 +0000 (21:38 +0000)]
2005-10-28  Bob Wilson  <bob.wilson@acm.org>

        * libc/stdio/siprintf.c: Wrap long lines in ANSI_SYNOPSIS.
        * libc/stdio/siscanf.c: Likewise.
        * libc/stdio/sprintf.c: Likewise.
        * libc/stdio/sscanf.c: Likewise.
        * libc/stdio/vfprintf.c: Likewise.
        * libc/stdio/vfscanf.c: Likewise.
        * libc/stdio/viprintf.c: Likewise.
        * libc/stdio/viscanf.c: Likewise.

18 years ago2005-10-28 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston [Fri, 28 Oct 2005 21:36:05 +0000 (21:36 +0000)]
2005-10-28  Bob Wilson  <bob.wilson@acm.org>

        * libc/sys.tex (Stubs): Format examples consistently.   Change sbrk
        example to use "_end" symbol instead of "end".  Change write  example
        to use "outbyte" instead of "writechar".

18 years ago2005-10-28 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston [Fri, 28 Oct 2005 21:33:23 +0000 (21:33 +0000)]
2005-10-28  Bob Wilson  <bob.wilson@acm.org>

        * libc/ctype/ctype.tex: Use hyphens as appropriate, but not  otherwise.
        * libc/ctype/islower.c: Likewise.
        * libc/ctype/isupper.c: Likewise.
        * libc/ctype/iswalnum.c: Likewise.
        * libc/ctype/iswalpha.c: Likewise.
        * libc/ctype/iswblank.c: Likewise.
        * libc/ctype/iswcntrl.c: Likewise.
        * libc/ctype/iswdigit.c: Likewise.
        * libc/ctype/iswgraph.c: Likewise.
        * libc/ctype/iswlower.c: Likewise.
        * libc/ctype/iswprint.c: Likewise.
        * libc/ctype/iswpunct.c: Likewise.
        * libc/ctype/iswspace.c: Likewise.
        * libc/ctype/iswupper.c: Likewise.
        * libc/ctype/iswxdigit.c: Likewise.
        * libc/ctype/tolower.c: Likewise.
        * libc/ctype/toupper.c: Likewise.
        * libc/ctype/towctrans.c: Likewise.
        * libc/ctype/towlower.c: Likewise.
        * libc/ctype/towupper.c: Likewise.
        * libc/string/strcasecmp.c: Likewise.
        * libc/string/strcoll.c: Likewise.
        * libc/string/strings.tex: Likewise.
        * libc/string/strlwr.c: Likewise.
        * libc/string/strncasecmp.c: Likewise.
        * libc/string/strupr.c: Likewise.
        * libc/string/wcscoll.c: Likewise.
        * libc/string/wcslcat.c: Likewise.
        * libc/string/wcslcpy.c: Likewise.
        * libc/string/wcsnlen.c: Likewise.
        * libc/string/wcsstr.c: Likewise.
        * libc/string/wcstrings.tex: Likewise.
        * libc/string/wmemchr.c: Likewise.
        * libc/string/wmemcmp.c: Likewise.
        * libc/string/wmemcpy.c: Likewise.
        * libc/string/wmemmove.c: Likewise.
        * libc/string/wmemset.c: Likewise.

18 years ago2005-10-28 Bob Wilson <bob.wilson@acm.org>
Jeff Johnston [Fri, 28 Oct 2005 21:21:08 +0000 (21:21 +0000)]
2005-10-28  Bob Wilson  <bob.wilson@acm.org>

        * libc/misc/unctrl.c: Replace FUNCTION description.
        * libc/signal/signal.c: Remove documentation for raise and  _raise_r.
        * libc/stdio/getdelim.c: Fix spelling errors.
        * libc/stdio/getw.c: Put RETURNS on a separate line.  Fix  punctuation.
        * libc/stdio/putw.c: Likewise.
        * libc/stdlib/a64l.c: Fix formatting, spelling and  punctuation in
        documentation.
        * libc/stdlib/assert.c: Do not capitalize FUNCTION description.
        * libc/stdlib/efgcvt.c: Add spaces to FUNCTION description.
        * libc/stdlib/envlock.c: Use em-dash in FUNCTION description.
        * libc/stdlib/mlock.c: Likewise.
        * libc/stdlib/mstats.c: Likewise.
        * libc/time/tzlock.c: Likewise.
        * libc/stdlib/rand.c: Use "multi-threaded" and "thread-safe"  in NOTES.
        * libc/stdlib/rand48.c: Remove extra space in FUNCTION  description
        and hyphenate "pseudo-random".
        * libc/string/bcmp.c: Remove extra blank lines in  documentation.
        * libc/string/strncat.c: Likewise.
        * libc/string/memchr.c: Remove extra ">" character in  documentation.
        * libc/string/strcspn.c: Use "characters" instead of "chars".
        * libc/string/strpbrk.c: Likewise.
        * libc/string/strerror_r.c: Capitalize "GNU".
        * libc/string/strnlen.c: Likewise.
        * libc/string/strtok.c: Fix formatting, spelling and  punctuation in
        documentation.  Use "multi-threaded" and "thread-safe" in  NOTES.
        * libc/string/wcscat.c: Split PORTABILITY into two paragraphs.
        * libc/string/wcschr.c: Likewise.
        * libc/string/wcscmp.c: Likewise.
        * libc/string/wcscpy.c: Likewise.
        * libc/string/wcscspn.c: Likewise.
        * libc/string/wcslen.c: Likewise.
        * libc/string/wcsncat.c: Likewise.
        * libc/string/wcsncmp.c: Likewise.
        * libc/string/wcsncpy.c: Likewise.
        * libc/string/wcsnlen.c: Likewise.
        * libc/string/wcspbrk.c: Likewise.
        * libc/string/wcsrchr.c: Likewise.
        * libc/string/wcsspn.c: Likewise.
        * libc/string/wmemchr.c: Likewise.
        * libc/string/wmemcmp.c: Likewise.
        * libc/string/wmemcpy.c: Likewise.
        * libc/string/wmemset.c: Likewise.
        * libc/string/wmemmove.c: Likewise.  Also fix FUNCTION  description.
        * libc/string/wcswidth.c: Formatting and punctuation in  documentation.
        * libc/string/wcwidth.c: Likewise.
        * libm/common/s_modf.c: Remove extra period from documentation.
        * libm/math/s_isnan.c: Fix formatting, grammar and  punctuation in
        documentation.
        * libm/mathfp/s_isnan.c: Likewise.
        * libm/math/s_ldexp.c: Fix punctuation.
        * libm/mathfp/s_ldexp.c: Likewise.
        * libm/math/w_log.c: Likewise.
        * libm/mathfp/s_logarithm.c: Likewise.
        * libm/math/w_j0.c: Add spaces to FUNCTION description.
        * libm/mathfp/w_jn.c: Likewise.

18 years ago2005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 28 Oct 2005 19:41:01 +0000 (19:41 +0000)]
2005-10-28  Dave Brolley  <brolley@redhat.com>

        Contribute the following changes:
        2003-09-29  Dave Brolley  <brolley@redhat.com>

        * dis-asm.h (disassemble_info): insn_sets now (void *) to allow for
        more exotic underlying types to be used.

18 years ago2005-10-28 Dave Brolley <brolley@redhat.com>
Dave Brolley [Fri, 28 Oct 2005 19:38:59 +0000 (19:38 +0000)]
2005-10-28  Dave Brolley  <brolley@redhat.com>

        Contribute the following changes:
        2005-02-16  Dave Brolley  <brolley@redhat.com>

        * cgen-bitset.h: Rename CGEN_ISA_MASK to CGEN_BITSET. Rename
        cgen_isa_mask_* to cgen_bitset_*.
        * cgen.h: Likewise.

18 years ago2005-10-27 Chris Sutcliffe <ir0nh34d@users.sf.net>
Chris Sutcliffe [Thu, 27 Oct 2005 23:28:21 +0000 (23:28 +0000)]
2005-10-27  Chris Sutcliffe  <ir0nh34d@users.sf.net>

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

18 years ago2005-10-27 Chris Sutcliffe <ir0nh34d@users.sourceforge.net>
Chris Sutcliffe [Thu, 27 Oct 2005 21:21:58 +0000 (21:21 +0000)]
2005-10-27  Chris Sutcliffe  <ir0nh34d@users.sourceforge.net>

* Include/_mingw.h: Increment version to 3.9.
* Makefile.in: Ditto.

18 years ago2005-10-26 Shaun Jackman <sjackman@gmail.com>
Jeff Johnston [Wed, 26 Oct 2005 22:16:34 +0000 (22:16 +0000)]
2005-10-26  Shaun Jackman  <sjackman@gmail.com>

        * libc/posix/scandir.c (scandir): Update the function
        prototype to match the header.
        * libc/sys/linux/linuxthreads/bits/libc-lock.h: Remove an
        extraneous #endif.
        * libc/sys/linux/sys/lock.h: Do not include
        machine/weakalias.h, since it's not used by this file.

18 years ago2005-10-26 Jeff Johnston <jjohnstn@redhat.com>
Jeff Johnston [Wed, 26 Oct 2005 22:10:51 +0000 (22:10 +0000)]
2005-10-26  Jeff Johnston  <jjohnstn@redhat.com>

        * libc/Makefile.am: Reorder SUBLIBS so machine and sys
        directories can override properly.

18 years agoAdd support for the Z80 processor family
Nick Clifton [Tue, 25 Oct 2005 17:40:19 +0000 (17:40 +0000)]
Add support for the Z80 processor family

18 years ago* pinfo.cc (_pinfo::fds): Lock fdtab while enumerating.
Christopher Faylor [Mon, 24 Oct 2005 15:42:14 +0000 (15:42 +0000)]
* pinfo.cc (_pinfo::fds): Lock fdtab while enumerating.

18 years ago * spawn.cc (spawn_guts): Don't leave the function with return inside
Corinna Vinschen [Mon, 24 Oct 2005 15:17:54 +0000 (15:17 +0000)]
* spawn.cc (spawn_guts): Don't leave the function with return inside
pthread cleanup brackets.

18 years ago* cygheap.h (cygheap_fdenum): Remove start_fd stuff.
Christopher Faylor [Mon, 24 Oct 2005 15:09:07 +0000 (15:09 +0000)]
* cygheap.h (cygheap_fdenum): Remove start_fd stuff.
(cygheap_fdenum::rewind): Ditto.
* pipe.cc (fhandler_pipe::open): Lock fdtab while enumerating.
* times.cc (utimes_worker): Ditto.

18 years agoinclude/opcode/
Jan Beulich [Mon, 24 Oct 2005 07:42:50 +0000 (07:42 +0000)]
include/opcode/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* ia64.h (enum ia64_opnd): Move memory operand out of set of
indirect operands.

bfd/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* cpu-ia64-opc.c (elf64_ia64_operands): Move memory operand out of
set of indirect operands.

gas/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* config/tc-ia64.c (enum reg_symbol): Delete IND_MEM.
(dot_rot): Change type of num_* variables. Check for positive count.
(ia64_optimize_expr): Re-structure.
(md_operand): Check for general register.

gas/testsuite/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* gas/ia64/index.[sl]: New.
* gas/ia64/rotX.[sl]: New.
* gas/ia64/ia64.exp: Run new tests.

opcodes/
2005-10-24  Jan Beulich  <jbeulich@novell.com>

* ia64-asmtab.c: Regenerate.

18 years agoadd missing ChangeLog entry
Christopher Faylor [Mon, 24 Oct 2005 00:02:05 +0000 (00:02 +0000)]
add missing ChangeLog entry

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