A C standard library for sh3eb-elf.
Go to file
Christopher Faylor 9a4d574b8d Eliminate use of sigframe and sigthread throughout.
* Makefile.in (DLL_OFILES): Add sigfe.o.  Remove reliance on cygwin.def from
cygwin0.dll dependency since dependence on sigfe.o implies that.  Generate def
file on the fly using 'gendef'.
* configure.in: Don't auto-generate cygwin.def.
* configure: Regenerate.
* cygwin.din: Add SIGFE stuff where appropriate.
* dcrt0.cc (dll_crt0_1): Initialize cygwin tls early in process startup.  Set
_main_tls to address of the main thread's cygwin tls.
* debug.h: Remove now unneeded WFSO and WFMO declarations.
* exceptions.cc (_last_thread): Define.
(set_thread_state_for_signals): New function.
(reset_thread_exception_for_signals): Ditto.
(init_thread_for_signals): Ditto.
(delete_thread_for_signals): Ditto.
(capture_thread_for_signals): Ditto.
(handle_exceptions): Set return address explicitly for exceptions prior to
calling sig_send.
(interrupt_on_return): Eliminate.
(setup_handler): Add preliminary implementation for dealing with
thread-specific signals by querying _main_tls.
(signal_exit): Use cygthread::main_thread_id instead of mainthread.id.
(call_signal_handler_now): For now, just handle the main thread.
* fork.cc (vfork): Save and restore main _my_tls.
* gendef: New file.  Generates def file and sigfe.s file.
* gentls_offsets: New file.  Generates offsets for perl to use in sigfe.s.
* how-signals-work.txt: Mention that info is obsolete.
* init.cc (dll_entry): Initialize cygwin tls storage here.
* miscfuncs.cc (low_priority_sleep): Make a C function for easier calling from
asm.
* perthread.h (vfork_save::tls): New element.
* signal.cc (nanosleep): Replace previous use of
sigframe.call_signal_handler_now with straight call to call_signal_handler_now.
(abort): Ditto.
* syscalls.cc (readv): Ditto.
* termios.cc (tcsetattr): Ditto.
* wait.cc (wait4): Ditto.
* sigproc.cc (sig_dispatch_pending): Ditto.
(sig_send): Ditto.
* sigproc.h: Declare call_signal_handler_now.
* thread.cc (pthread::thread_init_wrapper): Initialize cygwin tls.  Remove
obsolete and unworking signal stuff.
* thread.h (verifyable_object::sigs): Eliminate.
(verifyable_object::sigmask): Eliminate.
(verifyable_object::sigtodo): Eliminate.
(verifyable_object::exit): Make attribute noreturn.
(verifyable_object::thread_init_wrapper): Ditto.
(pthread_null::exit): Ditto.
* winbase.h (__stackbase): Always define.
* winsup.h (low_priority_sleep): Declare as a "C" function.
* include/cygwin/version.h: Bump API version to reflect sigwait export.
* include/sys/queue.h: Protect SLIST_ENTRY from previous declaration.
* signal.cc (sigwait): Implement.
* select.cc (fhandler_base::ready_for_read): Add debugging output.
* devices.h: Define more device pointers via their storage.
* devices.in: Don't parse things like /dev/inet/tcp, as they really have no
meaning.
* devices.cc: Regenerate.
* gendevices: Set proper protection for output file.
* cygtls.h: New file.
* gendef: New file.
* gentls_offsets: New file.
* tlsoffsets.h: New file.  Autogenerated.
* config/i386/longjmp.c: Remove.  File subsumed by gendef output.
* config/i386/makefrag: Remove obsolete file.
* fhandler.cc: Remove spurious access_worker declaration.
* spawn.cc (spawnve): Make debugging output more accurate.
* cygwin-gperf: Remove.
* devices.cc: Remove.
2003-11-28 20:55:59 +00:00
config * gettext.m4: Properly quote arguments to AC_DEFUN. 2003-10-14 21:40:44 +00:00
etc Replace i[3456]86 with i[3-7]86 2003-05-16 16:30:26 +00:00
include * config/tc-mips.c (macro): Handle new macros: "lca" and "dlca" 2003-11-18 21:22:56 +00:00
libgloss 2003-10-27 Bernardo Innocenti <bernie@develer.com> 2003-10-27 20:03:10 +00:00
newlib 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 20:54:12 +00:00
texinfo 2003-03-06 Andrew Cagney <cagney@redhat.com> 2003-03-06 20:50:01 +00:00
winsup Eliminate use of sigframe and sigthread throughout. 2003-11-28 20:55:59 +00:00
COPYING 19990502 sourceware import 1999-05-03 07:29:06 +00:00
COPYING.LIB 19990502 sourceware import 1999-05-03 07:29:06 +00:00
COPYING.LIBGLOSS 2002-12-20 Jeff Johnston <jjohnstn@redhat.com> 2002-12-20 21:36:01 +00:00
COPYING.NEWLIB 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 19:18:38 +00:00
ChangeLog 2003-11-27 Jeff Johnston <jjohnstn@redhat.com> 2003-11-27 19:18:38 +00:00
MAINTAINERS Revise DejaGnu patch submission guidelines. 2003-08-23 08:51:04 +00:00
Makefile.def * Makefile.def: Introduce flags_to_pass. 2003-06-23 20:36:40 +00:00
Makefile.in * Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS. 2003-11-19 19:56:22 +00:00
Makefile.tpl * Makefile.tpl (EXTRA_GCC_FLAGS): Pass BOOT_ADAFLAGS. 2003-11-19 19:56:22 +00:00
README 19990502 sourceware import 1999-05-03 07:29:06 +00:00
README-maintainer-mode Update URL 2003-05-30 07:30:26 +00:00
config-ml.in 2003-10-01 Phil Edwards <pme@gcc.gnu.org> 2003-10-02 06:25:28 +00:00
config.guess 2003-06-14 H.J. Lu <hongjiu.lu@intel.com> 2003-06-14 14:07:21 +00:00
config.if * config.if: Remove unused libc_interface determination. 2003-07-16 06:35:35 +00:00
config.sub Add MSP430 variants 2003-08-08 10:14:51 +00:00
configure * configure.in (*-*-vxworks): Add target-libiberty to noconfdirs. 2003-10-20 21:53:45 +00:00
configure.in * configure.in (*-*-vxworks): Add target-libiberty to noconfdirs. 2003-10-20 21:53:45 +00:00
djunpack.bat * djunpack.bat: Change the Sed script to replace @V@ in fnchange.lst 2000-05-08 15:13:30 +00:00
gettext.m4 * gettext.m4: Test po/POTFILES.in exists before trying to read. 2001-10-03 01:46:25 +00:00
install-sh * install-sh: Update to newer upstream versions (associated with 2003-08-29 00:13:09 +00:00
libtool.m4 * libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*. 2003-04-11 03:58:39 +00:00
ltcf-c.sh 2002-12-01 Nathanael Nerode <neroden@gcc.gnu.org> 2002-12-01 12:01:26 +00:00
ltcf-cxx.sh * libtool.m4 (LD): Append -melf* option to LD on IRIX with GNU ld. 2003-02-20 01:12:28 +00:00
ltcf-gcj.sh * ltcf-cxx.sh: Replace $linker_flags with $compiler_flags wherever 2003-02-19 23:51:28 +00:00
ltconfig 2003-10-03 H.J. Lu <hongjiu.lu@intel.com> 2003-10-04 04:54:47 +00:00
ltmain.sh * ltmain.sh (relink_command): Fix typo in previous change. 2002-03-16 14:43:09 +00:00
makefile.vms 19990502 sourceware import 1999-05-03 07:29:06 +00:00
missing * install-sh: Update to newer upstream versions (associated with 2003-08-29 00:13:09 +00:00
mkdep * mkdep: New file. 1999-08-08 17:46:02 +00:00
mkinstalldirs * mkinstalldirs: Import autoconf 2.57 / automake 1.7 version. 2003-07-30 01:35:07 +00:00
move-if-change 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-README 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-build.in 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-config.in 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-configure 19990502 sourceware import 1999-05-03 07:29:06 +00:00
mpw-install 19990502 sourceware import 1999-05-03 07:29:06 +00:00
setup.com 19990502 sourceware import 1999-05-03 07:29:06 +00:00
src-release 2003-09-12 Michael Chastain <mec@shout.net> 2003-09-14 23:16:45 +00:00
symlink-tree * config-ml.in, symlink-tree: Add license. 2003-08-14 20:44:13 +00:00
ylwrap 19990502 sourceware import 1999-05-03 07:29:06 +00:00

README

		   README for GNU development tools

This directory contains various GNU compilers, assemblers, linkers, 
debuggers, etc., plus their support routines, definitions, and documentation.

If you are receiving this as part of a GDB release, see the file gdb/README.
If with a binutils release, see binutils/README;  if with a libg++ release,
see libg++/README, etc.  That'll give you info about this
package -- supported targets, how to use it, how to report bugs, etc.

It is now possible to automatically configure and build a variety of
tools with one command.  To build all of the tools contained herein,
run the ``configure'' script here, e.g.:

	./configure 
	make

To install them (by default in /usr/local/bin, /usr/local/lib, etc),
then do:
	make install

(If the configure script can't determine your type of computer, give it
the name as an argument, for instance ``./configure sun4''.  You can
use the script ``config.sub'' to test whether a name is recognized; if
it is, config.sub translates it to a triplet specifying CPU, vendor,
and OS.)

If you have more than one compiler on your system, it is often best to
explicitly set CC in the environment before running configure, and to
also set CC when running make.  For example (assuming sh/bash/ksh):

	CC=gcc ./configure
	make

A similar example using csh:

	setenv CC gcc
	./configure
	make

Much of the code and documentation enclosed is copyright by
the Free Software Foundation, Inc.  See the file COPYING or
COPYING.LIB in the various directories, for a description of the
GNU General Public License terms under which you can copy the files.

REPORTING BUGS: Again, see gdb/README, binutils/README, etc., for info
on where and how to report problems.