Commit Graph

2851 Commits

Author SHA1 Message Date
8656ee07ef * exceptions.cc (interruptible): Make a little more structured.
(call_handler): Allow signals to be sent even if signalled thread is stopped.
Change order of signal_arrived arming/waiting threads clearing to eliminate a
race.
(reset_signal_arrived): New helper function.
* malloc.cc (malloc_init): Use mutos so that signal handler can keep track of
who owns the lock.
(__malloc_lock): Ditto.
(__malloc_unlock): Ditto.
* sync.h (new_muto): Actually use a muto for the "buffer".
* Makefile.in: Fix a dependency.
2000-02-26 01:11:54 +00:00
52aaab48f4 * Makefile.in: fix "make check" support and cygrun. 2000-02-26 01:06:48 +00:00
dbaf37cf83 Fri Feb 25 14:50:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
* libc/stdio/flags.c (__sflags): Added check that mode[1]
        is non-null before looking at mode[2].
2000-02-25 19:52:27 +00:00
e53d3a5d95 Extend the i386 gas testsuite to do some tests for intel_syntax. Fix all
the errors exposed by this addition.  These were intel mode
"fi... word ptr", "fi... dword ptr", "jmp Imm seg, Imm offset", "out dx,al".
The failure with intel "out dx,al" was also present in att "out al,dx".
Extend testsuite to catch this case too.
2000-02-25 11:41:12 +00:00
7620791bd9 Rename 'flags' to 'signed_overflow_ok_p' 2000-02-24 23:57:23 +00:00
4d0ce66d1f 2000-02-24 Andrew Haley <aph@cygnus.com>
* cgen.h (CGEN_INSN_MACH_HAS_P): New macro.
        (CGEN_CPU_TABLE): flags: new field.
        Add prototypes for new functions.
2000-02-24 21:56:53 +00:00
29cb17f117 Add support for an OS of "wince" 2000-02-24 21:20:57 +00:00
ab1a69347d Eliminate RCS stuff. 2000-02-24 20:59:30 +00:00
9edba13851 *** empty log message *** 2000-02-24 20:57:40 +00:00
faecc585c2 * syscalls.c (_read): Clear errno before doing any read operation. 2000-02-24 20:57:03 +00:00
d3bda1df95 * exceptions.cc (call_handler): Use new muto linked list to look for all
potential mutos owned by suspended thread.  Clear waiting threads while thread
is stopped.
(proc_subproc): Clarify debugging output.
* sync.h (class muto): Add 'next' field.
(new_muto): Keep linked list alive.
2000-02-24 19:54:01 +00:00
4bc3b73cfd Add support for WinCE targeted toolchains. 2000-02-24 19:49:18 +00:00
7408c24343 Adhere to w32api copyright conventions. 2000-02-24 18:04:23 +00:00
bc019ef210 Thu Feb 24 11:43:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
* libm/mathfp/sf_atan2.c: Fix atan2 typo for _DOUBLE_IS_32_BITS.
        * libm/mathfp/sf_atan.c: Ditto.

Thu Feb 24 11:39:00 2000  Joel Sherrill <joel@OARcorp.com>

        * libc/include/sys/stat.h: Add RTEMS prototype for lstat.
2000-02-24 16:48:28 +00:00
759e2a8845 Forgot Changelog for last i386.h change. 2000-02-24 12:41:54 +00:00
df256a94d6 Correct intel_syntax fsub* and fdiv* handling. Oh, how I'd like to be rid
of UNIXWARE_COMPAT.
2000-02-24 12:40:45 +00:00
9aa07a8f60 Fix final round of gcc warnings relating to unused parameters.
* debug.cc (iscygthread): New function.
* debug.h: Declare it.
* exceptions.cc (set_process_mask): Flush pending signals.
(handle_sigsuspend): No need to flush pending signals.
(call_handler): Refine previous tests of muto ownership.  Only clear wait()'s
when we have definitely responded to a signal.
* fhandler_console.cc (fhandler_console::read): Don't set EINTR if executing in
a "cygwin" thread.
* sigproc.cc (proc_subproc): Use second argument to control whether CLEARWAIT
actually sets "signalled" flag.
* sync.h (muto): Add 'unstable' method.
2000-02-24 06:45:32 +00:00
fb87c246a7 * config.guess, config.sub: Updated to match config's 2000-02-15
version.
2000-02-24 05:38:51 +00:00
65b9598470 Fix final round of gcc warnings relating to unused parameters. 2000-02-24 03:53:22 +00:00
2528588a75 Remove RCS cruft. 2000-02-24 03:03:04 +00:00
41f42725a2 * hinfo.cc (hinfo::extend): Clean up debugging output. 2000-02-24 03:00:37 +00:00
f02f1f1444 * exceptions.cc (interruptible): Change method for determining if something is
interruptible.
(call_handler): Avoid suspending a thread if it owns a mutex.  Only set
signal_arrived if the thread was actually interrupted.
(events_init): Initialize module information needed by interruptible().
(sigdelayed): Don't call sig_dispatch_pending since it could screw up
* init.cc (dll_entry): Record module handle of main for use by interruptible().
(proc_subproc): Reorganize handling of terminated child so that the bulk of the
processing comes from the signal thread.
(wait_sig): Force processing of waiting threads if SIGCHLD is not processed.
* sync.cc (muto::release): Set tid == 0 after lock is released or signal
processor will be confused.
2000-02-24 02:49:44 +00:00
58dabf5040 Add IBM 370 support. 2000-02-23 13:52:22 +00:00
01cf5d0f5d Respond to more g++ warnings relating to initializing structures. 2000-02-23 04:07:13 +00:00
237e6cfa82 Add support for sh-pe and arm-wince-pe targets. 2000-02-23 01:26:59 +00:00
9dfc83d797 * opcode/d30v.h (FLAG_NOT_WITH_ADDSUBppp): Redefined as operation cannot
be combined in parallel with ADD/SUBppp.
2000-02-22 20:52:14 +00:00
ebb5df1ee3 Updated comment. 2000-02-22 19:59:40 +00:00
2c98de9ffa Remove use of ELF_ST_OTHER. 2000-02-22 19:56:40 +00:00
cd641b2d55 Tue Feb 22 14:37:00 2000 Ran Cabell <rcabell@norfolk.infi.net>
* libm/mathfp/sf_exp.c: Corrected _DOUBLE_IS_32_BITS to be
        _DOUBLE_IS_32BITS.
2000-02-22 19:44:37 +00:00
196bbedaa7 g2000-02-22 Andrew Haley <aph@cygnus.com>
* mips.h: (OPCODE_IS_MEMBER): Add comment.
2000-02-22 19:01:25 +00:00
b7c65de2b8 ChangeLog change only. 2000-02-22 16:59:39 +00:00
e40ac30be5 merge with include from egcs 2000-02-22 2000-02-22 16:40:36 +00:00
268d66eb67 This commit was generated by cvs2svn to track changes on a CVS vendor
branch.
2000-02-22 16:18:13 +00:00
929ce68fe6 import libiberty from egcs 2000-02-22 16:18:13 +00:00
95d64ccd4e 1999-12-30 Andrew Haley <aph@cygnus.com>
* mips.h (OPCODE_IS_MEMBER): Add gp32 arg.
2000-02-22 14:39:20 +00:00
9d68ec8b5c When SIM_HAVE_ENVIRONMENT: use sim_set_trace() to enable tracing
instead of sim_trace() to run the program; include support for ``-o''
option (operating environment); when a signal occurs, only continue
execution when operating environment mode.
Update d10v.
2000-02-22 08:52:20 +00:00
62a022244b 2000-02-22 H.J. Lu <hjl@gnu.org>
* common.h (ELFOSABI_LINUX): Define.
2000-02-22 07:34:57 +00:00
c90d620db8 * fhandler.cc (set_inheritance): Revert previous patch which got rid of 'name'
parameter.
2000-02-21 23:38:57 +00:00
b0ba0ac217 Mon Feb 21 11:43:50 2000 Jeff Johnston <jjohnstn@cygnus.com>
* libc/stdio/vfprintf.c (VFPRINTF): Added CHECK_INIT
        call prior to calling _VFPRINTF_R so reentrant data area is set.
        (_VFPRINTF_R): Removed now extraneous CHECK_INIT call.
2000-02-21 16:59:23 +00:00
d3b7d141ac This lot mainly cleans up `comparison between signed and unsigned' gcc
warnings.  One usused var, and a macro parenthesis fix too.  Also check
input sections are elf when doing gc in elflink.h.
2000-02-21 12:01:26 +00:00
9cec3d45aa Respond to a multitude of g++ warnings. 2000-02-21 05:20:38 +00:00
17869f8bf7 Update. 2000-02-21 05:18:36 +00:00
1fb0af24a5 cygwin32 -> cygwin. 2000-02-21 03:25:29 +00:00
d30d79907c cygwin32 -> cygwin 2000-02-21 03:24:17 +00:00
83845eaa21 Update. 2000-02-21 03:18:37 +00:00
2b706f3f6e * environ.cc (getwinenv): Make __stdcall.
(winenv): Ditto.
* malloc.cc (strdup): New function.  Occludes newlib version.
(_strdup_r): Ditto.
* winsup.h: Reflect above __stdcall changes.
2000-02-21 03:13:24 +00:00
351c746ca2 Give Corinna some more files. 2000-02-21 01:56:50 +00:00
486e3de201 *** empty log message *** 2000-02-21 00:31:55 +00:00
4859a55042 *** empty log message *** 2000-02-21 00:20:20 +00:00
8a0efa53e4 import newlib-2000-02-17 snapshot 2000-02-17 19:39:52 +00:00