summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix value of SHORT_A1.Nick Clifton2000-03-272-15/+21
| | | | Move SHORT_AR to end of list of short instructions.
* ATMEL AVR microcontroller support.Alan Modra2000-03-275-0/+72
|
* * include/winnt.h: Eliminate duplicate PCONTEXT and LPCONTEXT typedefs.Christopher Faylor2000-03-262-4/+8
|
* Mostly cosmetic. Fixes to comments. Don't start as_bad and as_warnAlan Modra2000-03-262-62/+80
| | | | messages with capital. Don't malign Unixware, malign SysV386 instead.
* * path.cc (symlink_check_one): Recognize symlink settings from the mount table.Christopher Faylor2000-03-265-53/+51
| | | | | | | * path.h: Make PATH_SYMLINK an alias for MOUNT_SYMLINK. * syscalls.cc (stat_worker): Use extension search mechanism in path_conv to look for .exe rather than trying to special case it here. * mount.h: Make MOUNT_SYMLINK a real option.
* * environ.cc: Add TMPDIR to the list of environment variables which areChristopher Faylor2000-03-254-3/+15
| | | | | | converted to POSIX format. * sigproc.cc (proc_terminate): Don't attempt to delete when a muto pointer is NULL.
* * partition.h: New file.Christopher Faylor2000-03-251-0/+81
|
* merge from gccJason Merrill2000-03-242-60/+106
|
* Fri Mar 24 15:34:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-24106-142/+208
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * acinclude.m4: Changed release to 1.8.2. * aclocal.m4 configure doc/aclocal.m4 doc/configure libc/aclocal.m4 libc/configure libc/machine/aclocal.m4 libc/machine/configure libc/machine/a29k/aclocal.m4 libc/machine/a29k/configure libc/machine/arm/aclocal.m4 libc/machine/arm/configure libc/machine/d10v/aclocal.m4 libc/machine/d10v/configure libc/machine/d30v/aclocal.m4 libc/machine/d30v/configure libc/machine/fr30/aclocal.m4 libc/machine/fr30/configure libc/machine/h8300/aclocal.m4 libc/machine/h8300/configure libc/machine/h8500/aclocal.m4 libc/machine/h8500/configure libc/machine/hppa/aclocal.m4 libc/machine/hppa/configure libc/machine/i386/aclocal.m4 libc/machine/i386/configure libc/machine/i960/aclocal.m4 libc/machine/i960/configure libc/machine/m32r/aclocal.m4 libc/machine/m32r/configure libc/machine/m68k/aclocal.m4 libc/machine/m68k/configure libc/machine/m88k/aclocal.m4 libc/machine/m88k/configure libc/machine/mips/aclocal.m4 libc/machine/mips/configure libc/machine/mn10200/aclocal.m4 libc/machine/mn10200/configure libc/machine/mn10300/aclocal.m4 libc/machine/mn10300/configure libc/machine/necv70/aclocal.m4 libc/machine/necv70/configure libc/machine/powerpc/aclocal.m4 libc/machine/powerpc/configure libc/machine/sh/aclocal.m4 libc/machine/sh/configure libc/machine/sparc/aclocal.m4 libc/machine/sparc/configure libc/machine/tic80/aclocal.m4 libc/machine/tic80/configure libc/machine/v850/aclocal.m4 libc/machine/v850/configure libc/machine/w65/aclocal.m4 libc/machine/w65/configure libc/machine/z8k/aclocal.m4 libc/machine/z8k/configure libc/sys/aclocal.m4 libc/sys/aclocal.m4 libc/sys/configure libc/sys/a29khif/aclocal.m4 libc/sys/a29khif/configure libc/sys/arm/aclocal.m4 libc/sys/arm/configure libc/sys/cygwin/aclocal.m4 libc/sys/cygwin/configure libc/sys/d10v/aclocal.m4 libc/sys/d10v/configure libc/sys/decstation/aclocal.m4 libc/sys/decstation/configure libc/sys/go32/aclocal.m4 libc/sys/go32/configure libc/sys/h8300hms/aclocal.m4 libc/sys/h8300hms/configure libc/sys/h8500hms/aclocal.m4 libc/sys/h8500hms/configure libc/sys/m88kbug/aclocal.m4 libc/sys/m88kbug/configure libc/sys/netware/aclocal.m4 libc/sys/netware/configure libc/sys/rtems/aclocal.m4 libc/sys/rtems/configure libc/sys/sh/aclocal.m4 libc/sys/sh/configure libc/sys/sparc64/aclocal.m4 libc/sys/sparc64/configure libc/sys/sun4/aclocal.m4 libc/sys/sun4/configure libc/sys/sysmec/aclocal.m4 libc/sys/sysmec/configure libc/sys/sysnec810/aclocal.m4 libc/sys/sysnec810/configure libc/sys/sysnecv850/aclocal.m4 libc/sys/sysnecv850/configure libc/sys/sysvi386/aclocal.m4 libc/sys/sysvi386/configure libc/sys/sysvnecv70/aclocal.m4 libc/sys/sysvnecv70/configure libc/sys/tic80/aclocal.m4 libc/sys/tic80/configure libc/sys/w65/aclocal.m4 libc/sys/w65/configure libc/sys/z8ksim/aclocal.m4 libc/sys/z8ksim/configure libm/aclocal.m4 libm/configure: Regenerated.
* Fix compile time warning messages.Nick Clifton2000-03-242-21/+32
| | | | Add "cc" to list of registers clobbered bu do_AgelSWI
* Thu Mar 22 14:57:00 2000 Fernando Nasser <fnasser@redhat.com>Fernando Nasser2000-03-232-1/+11
| | | | | * libc/sys/arm/syscalls.c (do_AngelSWI): Prevent registers with valid information to be clobbered by an Angel C library support syscall.
* Tue Mar 21 19:08:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-222-1/+5
| | | | * libc/stdlib/envlock.c: Fixed comment typo.
* * syscalls.cc (stat_worker): Set st_nlink to 1 on remote drives.Corinna Vinschen2000-03-192-2/+8
|
* * times.cc: Fix extern declarations for variables that are exported but used byChristopher Faylor2000-03-192-1/+11
| | | | this modules.
* * times.cc: Remove unneeded (and incorrect) externs.Christopher Faylor2000-03-192-3/+4
|
* Patch suggested by Mumit Khan <khan@xraylith.wisc.edu>:Christopher Faylor2000-03-193-2/+14
| | | | | * strace.cc (_impure_ptr): New global variable to make strace build under Cygwin gcc.
* * Makefile.in: Make CXXFLAGS consistent with cygwin.Christopher Faylor2000-03-182-4/+9
|
* * dcrt0.cc (host_dependent_constants::init): Eliminate DELETE flag from sharedChristopher Faylor2000-03-182-1/+6
| | | | constant.
* * delqueue.cc (delqueue_list::queue_file): Add some debugging.Christopher Faylor2000-03-184-19/+48
| | | | | | * 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).
* 20000317 sourceware importRanjith Kumaran2000-03-17420-0/+66815
|
* Fri Mar 17 15:37:00 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-172-2/+13
| | | | | | * 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.
* * fhandler.cc (fhandler_base::open): Call set_file_attribute() only if a ↵Corinna Vinschen2000-03-172-1/+9
| | | | file is really created.
* Change ChangeLog entry to more common format.Corinna Vinschen2000-03-161-11/+11
|
* * security.cc (set_process_privileges): Removed `static'.Corinna Vinschen2000-03-167-120/+123
| | | | | | | | | | | | | | | | | | | | | | | | | | | | (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.
* * internal.h: Fix a typo in the comment for R_MOVL2.Jeff Law2000-03-152-1/+5
|
* * errno.cc: Map ERROR_NOACCESS to EFAULT.Corinna Vinschen2000-03-152-0/+5
|
* * spawn.cc (spawn_guts): Restore dependency on signal_arrived. It's needed toChristopher Faylor2000-03-152-2/+11
| | | | wake up the WaitForSingleObject.
* * Makefile.in: Use MINGW_CXXFLAGS when compiling strace.Christopher Faylor2000-03-152-3/+7
|
* Pipe changes throughout suggested by Eric Fifer <EFifer@sanwaint.com>Christopher Faylor2000-03-1515-88/+106
| | | | | | | | | | | | | | | | | | | | | * 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.
* settimeofday was listed twiceDJ Delorie2000-03-131-2/+2
|
* Mon Mar 13 15:22:00 2000 Sergei Organov <osv@javad.ru>Ranjith Kumaran2000-03-132-1/+5
| | | | * libm/mathfp/sf_sqrt.c: Change _DOUBLE_IS_32BITS sqrt call to sqrtf.
* * strace.cc: Throughout, track information like start_time, etc. on aChristopher Faylor2000-03-132-28/+36
| | | | per-process basis.
* * fhandler.cc (fhandler_base::get_readahead_into_buffer): New function.Christopher Faylor2000-03-127-92/+113
| | | | | | | | | | | | | * 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.
* * fhandler_console.cc (fhandler_console::read): Don't even think about breakingChristopher Faylor2000-03-124-112/+139
| | | | | | | 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.
* * sigproc.cc: Set wait_sig priority to normal.Christopher Faylor2000-03-112-1/+5
|
* In bfd/:Geoffrey Keating2000-03-112-0/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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-10 H.J. Lu <hjl@gnu.org>H.J. Lu2000-03-102-11/+4
| | | | * Makefile.in (all-gcc): Backed out the last change.
* Fri Mar 10 16:09:20 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-102-0/+5
| | | | * libc/include/string.h: Include <sys/types.h>.
* 2000-03-10 H.J. Lu <hjl@gnu.org>H.J. Lu2000-03-102-0/+15
| | | | * Makefile.in (all-gcc): Run ld/ld-new if necessary.
* * sigproc.cc (wait_sig): Add addtional debugging output.Christopher Faylor2000-03-102-2/+6
|
* * libc/stdio/putw.c (putw): Return 0 on success, to be compliantAlexandre Oliva2000-03-102-5/+7
| | | | with XSH5, not SVID.
* Thu Mar 9 17:20:41 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-093-5/+13
| | | | | | | | * 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.
* * environ.cc: Eliminate oldstack CYGWIN option.Christopher Faylor2000-03-098-178/+129
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* Wed Mar 8 17:11:41 2000 Jeff Johnston <jjohnstn@cygnus.com>Jeff Johnston2000-03-083-3/+8
| | | | | * libc/include/string.h: Changed last argument to size_t. * libc/string/swab.c: Changed last argument to size_t.
* * libc/reent/Makefile.am (lib_a_SOURCES): Added unlinkr.c.Alexandre Oliva2000-03-086-37/+74
| | | | | | | | (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.
* * libc/string/Makefile.am (lib_a_SOURCES): Added swab.c.Alexandre Oliva2000-03-086-3/+63
| | | | | | | | (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.
* * libc/stdio/Makefile.am (lib_a_SOURCES): Added getw.c and putw.c.Alexandre Oliva2000-03-086-2/+160
| | | | | | | | (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.
* * sigproc.cc (sig_send): Eliminate sync_sig_send synchronization since itChristopher Faylor2000-03-073-6/+9
| | | | didn't seem to affect the "bash hangs" problem.
* Throughout use strace class in place of individual functions and variables.Christopher Faylor2000-03-0714-93/+87
| | | | | | * 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.
* Remove extraneous CYGNUYS LOCAL markers.Nick Clifton2000-03-061-12/+3
|