NetBSD/gnu
jonathan 42a6bc2104 Revert handling of divide and remainder assembler pseudo-ops (with
test for divide-by-zero, unlike machine insn) from the binutils-2.9.1
sequence to the older binutils-2.8.1 sequence.

gas 2.8.1 emits a div as (in pseudocode)
	divu $zer0o, a0, v0; bnez $v0, 1f; nop; break0x7; 1: mflo a0;

gas 2.9.1 emits the shorter sequence
	bnez <divisor>, 1f; divu <args>; break0x7;  1:
	 bnez $v0, 1f;  divu $zer0o, a0, v0; /break0x7; 1: mflo a0;

but that on a decstation 5000/150 with a rev 3.0 r4000, for kernel
code, later references to $a0 seem to get a corrupted value.  not
reproduced yet on an r4400.
Could be an r4000-specific bug with the interlock on mulhi and mullo?
1999-03-31 18:01:31 +00:00
..
dist Revert handling of divide and remainder assembler pseudo-ops (with 1999-03-31 18:01:31 +00:00
lib Make it a tad bit easier to bootstrap an a.out system to ELF. Introduce 1999-03-17 00:46:35 +00:00
libexec Whitespace pasto in previous. 1999-03-31 10:47:51 +00:00
usr.bin Install send-pr.el (emacs-lisp front-end to send-pr) into /usr/share/gnats 1999-03-26 13:12:43 +00:00
Makefile remove GNU chess by popular demand, and the fact that it is in pkgsrc. 1999-02-15 11:21:41 +00:00
README

README

src/gnu/README:			<$Revision: 1.3 $>


Organization of Sources:

This directory hierarchy is using a new organization that
separates the GNU sources from the BSD-style infrastructure
used to build the GNU sources.  The GNU sources are kept in
the standard GNU source tree layout under:

	dist/*

The build infrastructure uses the normal BSD way under:

	lib/*
	usr.bin/*

The makefiles in the above hierarchy will "reach over" into
the GNU sources (src/gnu/dist) for everything they need.


Maintenance Strategy:

The sources under src/gnu/dist are generally a combination of
some published distribution plus changes that we submit to the
maintainers and that are not yet published by them.  There are
a few files that are never expected to be submitted to the FSF,
(i.e. BSD-style makefiles and such) and those generally should
stay in src/gnu/lib or src/gnu/usr.bin (the BSD build areas).

Make sure all changes made to the GNU sources are submitted to
the appropriate maintainer, but only after coordinating with the
NetBSD maintainers by sending your proposed submission to the
<tech-toolchain@netbsd.org> mailing list.  Only send the changes
to the third-party maintainers after consensus has been reached.


Maintenance History:

Original GNU sources were imported as follows:	[gwr,1997/09/24]
	dist/gdb	FSF gdb-4-16
	dist/readline	FSF readline-2-1
	dist/(other)	FSF binutils-2-8
Updated dist/(other) to FSF binutils-2-8-1	[gwr,1997/09/24]

Several changes have been integrated since the initial import,
and those will be submitted to the maintainers after this code
has been tested on all NetBSD ports (i.e. after NetBSD 1.3).
Some of the integration was done by importing a file from a
later snapshot.  Please log all such imports here.

Updated these files via import with tags: FSF cygnus970817
	dist/gdb/alpha-tdep.c
	dist/gdb/config/alpha/tm-alpha.h