Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2000-03-24Fix compile time warning messages.Nick Clifton
Add "cc" to list of registers clobbered bu do_AgelSWI
2000-03-23Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>Fernando Nasser
* libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid information to be clobbered by an Angel C library support syscall.
2000-03-22Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* libc/stdlib/envlock.c: Fixed comment typo.
2000-03-19* syscalls.cc (stat_worker): Set st_nlink to 1 on remote drives.Corinna Vinschen
2000-03-19* times.cc: Fix extern declarations for variables that are exported but used byChristopher Faylor
this modules.
2000-03-19* times.cc: Remove unneeded (and incorrect) externs.Christopher Faylor
2000-03-19Patch suggested by Mumit Khan <khan@xraylith.wisc.edu>:Christopher Faylor
* strace.cc (_impure_ptr): New global variable to make strace build under Cygwin gcc.
2000-03-18* Makefile.in: Make CXXFLAGS consistent with cygwin.Christopher Faylor
2000-03-18* dcrt0.cc (host_dependent_constants::init): Eliminate DELETE flag from sharedChristopher Faylor
constant.
2000-03-18* delqueue.cc (delqueue_list::queue_file): Add some debugging.Christopher Faylor
* path.h (class path_conv): Add a char * operator for the most common case. * syscalls.cc (_unlink): Rewrite to use FILE_FLAG_DELETE_ON_CLOSE when possible (i.e., on NT).
2000-03-1820000317 sourceware importRanjith Kumaran
2000-03-17Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* libc/stdio/vfscanf.c (__svfscanf): Fixed floating point code to update nread as each character is processed instead of using buffer contents which throw away leading zeroes.
2000-03-17* fhandler.cc (fhandler_base::open): Call set_file_attribute() only if a ↵Corinna Vinschen
file is really created.
2000-03-16Change ChangeLog entry to more common format.Corinna Vinschen
2000-03-16 * security.cc (set_process_privileges): Removed `static'.Corinna Vinschen
(get_nt_attribute): Returns uid and gid additionally. Removed call to set_process_privileges(). (get_file_attribute): Returns uid and gid additionally. Don't call ntea if ntsec is ON. (set_nt_attribute): Removed call to set_process_privileges(). Don't call ntea if ntsec is ON. (acl): Removed call to set_process_privileges(). * dcrt0.cc (dll_crt0_1): Calls set_process_privileges() now. * winsup.h: New prototype for set_process_privileges(), changed prototype for get_file_attribute(). * fhandler.cc (get_file_owner): Discarded. (get_file_group): Ditto. (fhandler_disk_file::fstat): Discard calls to get_file_owner() and get_file_group(). * path.cc (path_conv::path_conv): Added debugging output for result of GetVolumeInformation(). (mount_info::conv_to_win32_path): Call backslashify() with pathbuf instead of src_path. * syscalls.cc (chown): Reformatted. (chmod): Replace get_file_owner() and get_file_group() calls by a call to get_file_attribute(). Discard local variable has_acls. Slightly reformatted. (stat_worker): Replaced idiot's (it's me) root dir check by call to rootdir(). Don't call num_entries() on remote drives. Discard local variable has_acls.
2000-03-16 * internal.h: Fix a typo in the comment for R_MOVL2.Jeff Law
2000-03-15* errno.cc: Map ERROR_NOACCESS to EFAULT.Corinna Vinschen
2000-03-15* spawn.cc (spawn_guts): Restore dependency on signal_arrived. It's needed toChristopher Faylor
wake up the WaitForSingleObject.
2000-03-15* Makefile.in: Use MINGW_CXXFLAGS when compiling strace.Christopher Faylor
2000-03-15Pipe changes throughout suggested by Eric Fifer <EFifer@sanwaint.com>Christopher Faylor
* debug.cc (threadname_init): Pass name of lock as arg 2 of new_muto. * malloc.cc (malloc_init): Ditto. * sigproc.cc (sigproc_init): Ditto. * exceptions.cc (events_init): Ditto. (call_handler): Eliminate special case for hExeced. Report locked thread in debugging output. * fhandler.cc (fhandker_pipe::fhandler_pipe): Propagate device type to base class. * fhandler.h (fhandler_pipe): Ditto. * hinfo.cc (hinfo::build_fhandler): Pass specific type of pipe to constructor. * spawn.cc (spawn_guts): Eliminate dependency on signal when waiting for subprocess. * strace.cc: Remove obsolete #ifdef. * sync.cc (muto::muto): Save the name of the muto. (muto:~muto): Also release the muto. * sync.h: Add a muto name field. * select.cc (peek_pipe): Avoid doing a PeekNamedPipe on the write end of a pipe.
2000-03-14settimeofday was listed twiceDJ Delorie
2000-03-13Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>Ranjith Kumaran
* libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
2000-03-13* strace.cc: Throughout, track information like start_time, etc. on aChristopher Faylor
per-process basis.
2000-03-12* fhandler.cc (fhandler_base::get_readahead_into_buffer): New function.Christopher Faylor
* fhandler.h: Declare new function. Add extra argument to process_slave_output. * fhandler_console.cc (fhandler_console::read): Move read ahead code to new function. * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Move common code here. (fhandler_tty_slave::read): Understand readahead. (fhandler_pty_master::read): Move code to process_slave_output. * select.cc (peek_pipe): Avoid performing certain checks when non-read and on inappropriate fh types.
2000-03-12* fhandler_console.cc (fhandler_console::read): Don't even think about breakingChristopher Faylor
on interrupt if executing in a "cygwin" thread. * fhandler_tty.cc (fhandler_pty_master::process_slave_output): Streamline, simplify code. * sigproc.cc (sig_send): Remove debugging statement.
2000-03-11* sigproc.cc: Set wait_sig priority to normal.Christopher Faylor
2000-03-11In bfd/:Geoffrey Keating
* elf32-mips.c (mips_elf_next_relocation): Rename from mips_elf_next_lo16_relocation, and generalize to look for any relocation type. (elf_mips_howto_table): Make R_MIPS_PC16 pcrel_offset. (elf_mips_gnu_rel_hi16): Howto for R_MIPS_GNU_REL_HI16. (elf_mips_gnu_rel_lo16): Howto for R_MIPS_GNU_REL_LO16. (elf_mips_gnu_rel16_s2): Howto for R_MIPS_GNU_REL16_S2. (elf_mips_gnu_pcrel64): Howto for R_MIPS_PC64. (elf_mips_gnu_pcrel32): Howto for R_MIPS_PC32. (bfd_elf32_bfd_reloc_type_lookup): Add new relocs. (mips_rtype_to_howto): Likewise. (mips_elf_calculate_relocation): Handle new relocs. (_bfd_mips_elf_relocate_section): REL_HI16/REL_LO16 relocs are paired. The addend for R_MIPS_GNU_REL16_S2 is shifted right two bits. In gas/: * config/tc-mips.c (mips_ip): Don't put stuff in .rodata when embedded-pic. * config/tc-mips.c (SWITCH_TABLE): The ELF embedded-pic implementation doesn't have special handling for switch statements. (macro_build): Allow for code in sections other than .text. (macro): Likewise. (mips_ip): Likewise. (md_apply_fix): Do pc-relative relocation madness for MIPS ELF. Don't perform relocs if we will be outputting them. (tc_gen_reloc): For ELF, just use fx_addnumber for pc-relative relocations. Allow BFD_RELOC_16_PCREL_S2 relocs when embedded-pic. In gas/testsuite/: * gas/mips/empic.d: New file. * gas/mips/empic.s: New file. * gas/mips/mips16-e.d: New file. * gas/mips/mips16-e.s: New file. * gas/mips/mips16-f.d: New file. * gas/mips/mips16-f.s: New file. * gas/mips/mips.exp: Add empic, mips16-e. Add mips16-f as an expected failure. In include/elf: * mips.h: Add R_MIPS_GNU_REL_HI16, R_MIPS_GNU_REL_LO16, R_MIPS_GNU_REL16_S2, R_MIPS_PC64 and R_MIPS_PC32 relocation numbers.
2000-03-112000-03-10 H.J. Lu <hjl@gnu.org>H.J. Lu
* Makefile.in (all-gcc): Backed out the last change.
2000-03-11Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* libc/include/string.h: Include <sys/types.h>.
2000-03-102000-03-10 H.J. Lu <hjl@gnu.org>H.J. Lu
* Makefile.in (all-gcc): Run ld/ld-new if necessary.
2000-03-10* sigproc.cc (wait_sig): Add addtional debugging output.Christopher Faylor
2000-03-10* libc/stdio/putw.c (putw): Return 0 on success, to be compliantAlexandre Oliva
with XSH5, not SVID.
2000-03-10Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* libc/include/string.h: Changed last argument back to ssize_t to make it compatible with XPG4 definition which is defined in <unistd.h>. There is a conflict in the SVID 3 and XPG4 definitions and newlib will settle with XPG4. * libc/string/swab.c: Ditto.
2000-03-10* environ.cc: Eliminate oldstack CYGWIN option.Christopher Faylor
* exceptions.cc (sfta): Eliminate obsolete function. (sgmb): Eliminate obsolete function. (class stack_info): Remove MS method for walking the stack. (stack_info::init): Just initialize required fields. (stack_info::brute_force): Rename to stack_info::walk. (handle_exceptions): Pass derived frame pointer to sig_send. (interrupt_setup): Clear saved frame pointer here. (interrupt_on_return): thestack is no longer a pointer. (call_handler): Accept a flag to indicate when a signal was sent from other than the main thread. Use saved frame pointer for determining where to place signal handler call. (sig_handle): Accept "nonmain" argument. Pass it to call_handler. * fhandler_tty.cc (fhandler_tty_common::__acquire_output_mutex): Change debugging output slightly. * (fhandler_tty_common::__release_output_mutex): Ditto. (fhandler_tty_slave::read): Fix a comment, remove a goto. * sigproc.cc (sig_send): Accept an optional frame pointer argument for use when suspending the main process. sigcomplete_main is an autoreset event now. Save frame pointer for non-main operation. (wait_sig): Make sigcomplete_main an autoreset event. Eliminate NOSIGQUEUE. Pass rc to sig_handle to signify if this was a nonmain process. * sigproc.h: Reflect change to sig_send argument. * syscalls.cc (swab): Eliminate swab function since it is now available in newlib. * winsup.h (signal_dispatch): Change CONTEXT cx to DWORD ebp.
2000-03-09Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston
* libc/include/string.h: Changed last argument to size_t. * libc/string/swab.c: Changed last argument to size_t.
2000-03-08* libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.Alexandre Oliva
(CHEWOUT_FILES): Added unlinkr.def. * libc/reent/Makefile.in: Rebuilt. * libc/sys.tex: Include unlinkr.def. * libc/reent/linkr.c (_unlink_r): Moved to... * libc/reent/unlinkr.c: ... new file.
2000-03-08* libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.Alexandre Oliva
(CHEWOUT_FILES): Added swab.def. * libc/string/Makefile.in: Rebuilt. * libc/string/string.tex: Include swab.def. * libc/include/string.h (swab): Declare. * libc/string/swab.c: New file.
2000-03-08* libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.Alexandre Oliva
(CHEWOUT_FILES): Added getw.def and putw.def. * libc/stdio/Makefile.in: Rebuilt. * libc/stdio/stdio.tex: Include getw.def and putw.def. * libc/stdio/getw.c: New file. * libc/stdio/putw.c: New file.
2000-03-07* sigproc.cc (sig_send): Eliminate sync_sig_send synchronization since itChristopher Faylor
didn't seem to affect the "bash hangs" problem.
2000-03-07Throughout use strace class in place of individual functions and variables.Christopher Faylor
* cygwin.din: Eliminate _strace_wm. * sigproc.cc (wait_sig): Temporarily add more debugging output. * include/cygwin/version.h: Bump minor api to reflect export change.
2000-03-06Remove extraneous CYGNUYS LOCAL markers.Nick Clifton
2000-03-05* exceptions.cc (call_handler): Streamline to use only one call toChristopher Faylor
ResumeThread. * sigproc.cc (sig_send): Use a muto around the ReleaseSemaphore. Remove priority setting since it didn't solve anything.
2000-03-04* Makefile.in (taz): Set PACKAGE to TOOL when not defined.Andrew Cagney
(do-tar-bz2): Replace TOOL with PACKAGE. (gdb.tar.bz2): Remove GDBTK from GDB package. (gdb+dejagnu.tar.bz2, insight.tar.bz2, insight+dejagnu.tar.bz2, dejagnu.tar.bz2): New packages.
2000-03-03Apply patch for 100679Nick Clifton
2000-03-012000-03-01 H.J. Lu <hjl@gnu.org>H.J. Lu
* bfdlink.h (bfd_link_callbacks): Add a boolean arg to the undefined_symbol callback.
2000-02-29* sigproc.cc (sig_send): Temporarily set priority to highest while sending aChristopher Faylor
signal.
2000-02-292000-02-28 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan
* include/largeint.h: Rename HAVE_INT64 macro to _HAVE_INT64 to avoid namespace pollution. * include/rpcndr.h: Likewise. * include/winnt.h: Likewise.
2000-02-292000-02-28 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan
Patches from Jan Nijtmans <j.nijtmans@chello.nl>: * include/wtypes.h (PBLOB, LPBLOB): Define. * include/winsock2.h: Much more complete version. (FD_SET, SOMAXCONN): Protect common macros defined by winsock.h.
2000-02-292000-02-28 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan
Patches from Jan Nijtmans <j.nijtmans@chello.nl>: * include/winsock.h (FD_CLR): Add missing ')'. (timercmp): Fix macro to handle all 6 comparison operators. (AF_FIREFOX, AF_UNKNOWN1, AF_BAN, AF_ATM, AF_INET6): Define. (AF_MAX): Update. (PF_FIREFOX, PF_UNKNOWN1, PF_BAN, PF_ATM, PF_INET6): Define.
2000-02-292000-02-28 Mumit Khan <khan@xraylith.wisc.edu>Mumit Khan
* include/largeint.h: Rename HAVE_INT64 macro to _HAVE_INT64 to avoid namespace pollution. * include/rpcndr.h: Likewise. * include/winnt.h: Likewise.