History log of /freebsd-10.3-release/gnu/
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
296373 04-Mar-2016 marius

- Copy stable/10@296371 to releng/10.3 in preparation for 10.3-RC1
builds.
- Update newvers.sh to reflect RC1.
- Update __FreeBSD_version to reflect 10.3.
- Update default pkg(8) configuration to use the quarterly branch.

Approved by: re (implicit)

294056 15-Jan-2016 marius

Update stable/10 from 10.2-STABLE to 10.3-PRERELEASE,
marking the official start of the code slush.

Set the default mdoc(7) version to 10.3, and update the
clang(1) TARGET_TRIPLE and BUILD_TRIPLE to reflect 10.3.

Approved by: re (implicit)


292898 30-Dec-2015 emaste

MFC r292658: Install ld also as ld.bfd, for use with cc -fuse-ld=bfd


292798 27-Dec-2015 marius

MFC: r285684 (partial)

Record dependencies of gdb/gdbtui/kgdb on binutils/lib{bfd,iberty,opcodes},
fixing parallel builds.


291974 08-Dec-2015 bdrewery

MFC r291226:

Fix ld not respecting --sysroot.

Relnotes: yes


291866 05-Dec-2015 bdrewery

Add dependency for c++filt on libiberty.

This is a direct commit since c++filt does not exist in head.

This ws racing after my SUBDIR_PARALLEL changes here recently.

Reported by: peter
Sponsored by: EMC / Isilon Storage Division


291819 04-Dec-2015 bdrewery

MFC r291348:

Use LIBEXECDIR for /usr/libexec.


291815 04-Dec-2015 bdrewery

MFC r284289,r288267:

r284289:
Misc fixes from projects/bmake
r288267:
Remove redundant .NOPATH.


291792 04-Dec-2015 bdrewery

MFC r289393:

Add more SUBDIR_PARALLEL.


291782 04-Dec-2015 bdrewery

MFC r289379:

Remove directories disconnected since r169718.


290694 12-Nov-2015 bdrewery

Remove empty directories leftover from r255974.


290413 05-Nov-2015 jhb

MFC 288371:
When XSAVE support was added on amd64, the FPU save area was moved
out of 'struct pcb' and into a variable-sized region after the
structure. The kgdb code currently only reads the pcb. It does not
read in the FPU save area but instead passes stack garbage as the
FPU's saved context. Fixing this would mean determining the proper
size of the area and fetching it. However, this state is not saved
for running CPUs in stoppcbs[], so the callback would also have to
know to ignore those pcbs. Instead, just remove the call since it is
of limited usefulness. It results in kgdb reporting the state of the
FPU/SIMD registers in userland, not their current values in the kernel.
In particular, it does not report the correct state for any code in
the kernel which does use the FPU and would report incorrect values
in that case.


289638 20-Oct-2015 bdrewery

MFC r288429:

Replace most of the beforeinstall: hack with FILES mechanism.


289242 13-Oct-2015 bdrewery

MFC r287983,r288075:

r287983:
Replace afterinstall: hack with FILES mechanism.
r288075:
Use SHAREOWN/SHAREMODE/SHAREGRP rather than LIB* as these are plain ASCII
scripts that the linker can load rather than binary library objects.


289241 13-Oct-2015 bdrewery

MFC r288230,r288233:

r288230:
Fix emulation ldscripts not being installed since r131832.
r288233:
Fix subdir -j build after r287983 by adding missing dependencies.


288610 03-Oct-2015 bdrewery

MFC r273756,r287980:

r273756:
only install .pc files when we are not installing 32bit compat libs...
r287980:
Replace beforeinstall: handling with FILES.


288607 03-Oct-2015 bdrewery

MFC r288199,r288246:

Add missing CLEANFILES.


286305 05-Aug-2015 kib

MFC r285041:
Use single instance of the identical INKERNEL() and PMC_IN_KERNEL()
macros on amd64 and i386. On i386, correct the lowest kernel address.


284584 19-Jun-2015 gjb

Update stable/10 from 10.1-STABLE to 10.2-PRERELEASE,
marking the official start of the code slush.

Set the default mdoc(7) version to 10.2, and update the
clang(1) TARGET_TRIPLE and BUILD_TRIPLE to reflect 10.2.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


283010 16-May-2015 pfg

MFC r282115, r282152, r282201
MFV r282150
libgomp: Update to version 4.3.5.
bring initial BSD support from upstream.

This was not meant to be MFC'd at first but the original OMP support
for FreeBSD was in very poor shape. The effect of this change should
be minimal as all ports are already using the version of libgomp that
comes with the gcc ports. The local libgomp is planned to be disabled
for platforms that are not using older gcc by default so this version
of libgomp will not be shipped in tier-1 platform releases.

Discussed with: emaste


278614 12-Feb-2015 ian

MFC r276187, r276190, r271422:

Rename pmap_kenter_temp to pmap_kenter_temporary to be consistent with the
other architectures with this function.

Eliminate unnecessary references to pte.h internals by using the standard
pmap_kenter_temporary() to map pages while dumping.

Cleanup up ARM *frame structures.


276490 01-Jan-2015 ngie

MFC r272777,r272779,r272780,r272781,r272782,r272783,r272784,r272787,r272788:

r272777:

Integrate usr.sbin/nmtree/tests from NetBSD into atf/kyua

In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division

r272779:

Integrate usr.sbin/basename/tests from NetBSD into atf/kyua

In collaboration with: pho
Sponsored by: EMC / Isilon Storage Division

r272780:

Integrate usr.bin/cmp/tests from NetBSD into atf/kyua

In collaboration with: sjg
Sponsored by: EMC / Isilon Storage Division

r272781:

Integrate usr.bin/dirname/tests from NetBSD into atf/kyua

In collaboration with: pho, sjg
Sponsored by: EMC / Isilon Storage Division

r272782:

Integrate bin/sleep/tests from NetBSD into atf/kyua

Sponsored by: EMC / Isilon Storage Division

r272783:

Integrate usr.bin/cut/tests from NetBSD into atf/kyua

Sponsored by: EMC / Isilon Storage Division

r272784:

Integrate usr.bin/grep/tests from NetBSD into atf/kyua

Sponsored by: EMC / Isilon Storage Division

r272787:

Integrate usr.bin/diff/tests from NetBSD into atf/kyua at gnu/usr.bin/diff/tests

Sponsored by: EMC / Isilon Storage Division

r272788:

Integrate usr.bin/gzip/tests from NetBSD into atf/kyua

Sponsored by: EMC / Isilon Storage Division


276486 31-Dec-2014 ngie

MFC r264400,r265836:

r264400:

NO_MAN= has been deprecated in favor of MAN= for some time, go ahead
and finish the job. ncurses is now the only Makefile in the tree that
uses it since it wasn't a simple mechanical change, and will be
addressed in a future commit.

r265836:

Remove last two NO_MAN= in the tree. In both of these cases, MAN= is
what is needed.


276307 27-Dec-2014 ngie

MFC r275866:

Parallelize building gnu/usr.bin/groff

This speeds up building the directory from the bootstrap-tools stage in
buildworld as well as building from the subdirectory

Based on a patch submitted via -arch:
https://lists.freebsd.org/pipermail/freebsd-arch/2014-December/016493.html

Submitted by: Jia-Shiun Li <jiashiun@gmail.com>
Sponsored by: EMC / Isilon Storage Division


275040 25-Nov-2014 dteske

MFC r274116:

Add new libraries/utilities for data throughput visualization.
dpv(3): dialog progress view library
dpv(1): stream data from stdin or multiple paths with dialog progress view
figpar(3): configuration file parsing library

MFC r274120, r274121, r274123, r274124, r274144, r274146, r274159, r274192,
r274203, r274209, r274226, r274270, and r274851: Fixes following r274116

Reviews: D714
Relnotes: New libdpv/libfigpar and dpv(1) utility
Reviewed by: jelischer, shurd
Discussed at: MeetBSD California 2014 Vendor/Dev Summit
Discussed on: -current
Thanks to: ngie, ian, jelischer, shurd, bapt


271125 04-Sep-2014 ngie

MFC r270216:

Add ${LIBC} to DPADD to fix "make checkdpadd"

Phabric: D632
Approved by: jmmv (mentor)


270776 29-Aug-2014 gjb

MFC r270668, r270669, r270672:

r270668:
Add gnugrep.1 to CLEANFILES.

r270669:
Add host.1 to CLEANFILES.

r270672:
Add svnlite.1 to CLEANFILES.

Sponsored by: The FreeBSD Foundation


270665 26-Aug-2014 gjb

- Update stable/10 to 10.1-PRERELEASE now that the
code slush is in effect. (Forgotten on the 22nd.)
- Set the 10.1 as the .Fx mdoc(7) default.
- Update the TARGET_TRIPLE and BUILD_TRIPLE for clang(1)
to reflect 10.1.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


270484 24-Aug-2014 des

MFH (r264367): add RANLIBFLAGS and set timestamps in static libraries to 0


267951 27-Jun-2014 pluknet

MFC r266479, r267153:

- Move Nx definition to a separate block.
- Add Lb string for libcuse.


267734 22-Jun-2014 gavin

Merge r267482,r267483,r267486,r267577,r267671,r267672 from head:

Remove send-pr and fix up all references to it. Replace it with a
stub send-pr directing people towards the web site.


266478 20-May-2014 pluknet

Add FreeBSD version 11.0.

This is a direct commit to stable/10.


265733 09-May-2014 gjb

MFC r265732:
Add 9.3 to mdoc.local

Sponsored by: The FreeBSD Foundation


265037 28-Apr-2014 jmmv

MFC r264741: Add placeholder Kyuafiles for various top-level hierarchies.

This is "make tinderbox" clean.


264572 16-Apr-2014 jmmv

MFC several WITH_TESTS-related documentation fixes.

- r258014 Document WITH_TESTS src.conf(5) option.
- r263089 Fix description of WITHOUT_BMAKE's purpose.
- r264408 Fix test suite name in src.conf(5).
- r264410 Document how to install the test suite.
- r264412 Add FreeBSD 10.1 to the list of recognized releases for Fx.
- r264413 Miscellaneous fixes to tests(7).


264303 09-Apr-2014 dim

MFC r263778:

Add a SUBDIR_PARALLEL option to bsd.subdir.mk, to allow make to process
all the SUBDIR entries in parallel, instead of serially. Apply this
option to a selected number of Makefiles, which can greatly speed up the
build on multi-core machines, when using make -j.

This can be extended to more Makefiles later on, whenever they are
verified to work correctly with parallel building.

I tested this on a 24-core machine, with make -j48 buildworld (N = 6):

before stddev after stddev
======= ====== ======= ======
real time 1741.1 16.5 959.8 2.7
user time 12468.7 16.4 14393.0 16.8
sys time 1825.0 54.8 2110.6 22.8

(user+sys)/real 8.2 17.1

E.g. the build was approximately 45% faster in real time. On machines
with less cores, or with lower -j settings, the speedup will not be as
impressive. But at least you can now almost max out a machine with
buildworld!

Submitted by: jilles

MFC r263833:

Enable parallel building for gnu/usr.bin and usr.bin/clang too.


262656 01-Mar-2014 uqs

MFH r261319,261345,261742 mdoc changes to stable/10


262643 01-Mar-2014 brooks

MFC r261296:

Merge from CheriBSD:
commit c1acf022c533c5ae27e0cd556977eafe3f5959eb
Author: Brooks Davis <brooks@one-eyed-alien.net>
Date: Fri Jan 17 21:46:44 2014 +0000

Add an option WITHOUT_NCURSESW to suppress building and linking to
libncursesw. While wide character support it useful we'd like to
only need one ncurses library on embedded systems.

Sponsored by: DARPA, AFRL


261348 01-Feb-2014 pluknet

MFC r261267: Add libexecinfo.


260998 22-Jan-2014 pfg

MFC r260874:

gcc: fix libgcc by adding the bswap builtins for all platforms.

This change was missing from r258428 which attempted to add the
bswap builtins to gcc. The change is also missing from the patch
in gnu/155309.

Found by: marcel


260096 30-Dec-2013 dim

MFC r257532 (by adrian):

Fix this build for clang.

MFC r259730:

To avoid having to explicitly test COMPILER_TYPE for setting
clang-specific or gcc-specific flags, introduce the following new
variables for use in Makefiles:

CFLAGS.clang
CFLAGS.gcc
CXXFLAGS.clang
CXXFLAGS.gcc

In bsd.sys.mk, these get appended to the regular CFLAGS or CXXFLAGS for
the right compiler.

MFC r259913:

For libstand and sys/boot, split off gcc-only flags into CFLAGS.gcc.

MFC r259927:

Fix pc98 build, by also forcing COMPILER_TYPE in sys/boot/pc98/boot2's
Makefile.

Pointy hat to: dim


259851 25-Dec-2013 dim

MFC r259720:

For gnu/lib/csu, only use gcc-specific flags when compiling with gcc.


259563 18-Dec-2013 pfg

MFC r258428, r258445

gcc: another round of merges from the gcc pre-43 branch.

Bring The following revisions from the gcc43 branch[1]:

118360, 118361, 118363, 118576, 119820,
123906, 125246, and 125721.

They all have in common that the were merged long ago
into Apple's gcc and should help improve the general
quality of the compiler and make it easier to bring
new features from Apple's gcc42.

For details please review the additions to the files:
gcc/ChangeLog.gcc43
gcc/cp/ChangeLog.gcc43 (new, adds previous revisions)

Fix crosscompilation (r258445 by andreast)
Reference:
[1] http://gcc.gnu.org/viewcvs/gcc/trunk/?pathrev=126700

Obtained from: gcc pre4.3 (GPLv2) branch
MFC after: 3 weeks


259405 15-Dec-2013 pfg

MFC rr258501, r258507;
gcc: Bring updates from Google's enhanced gcc-4.2.1.

Google released and enhanced version of gcc-4.2.1 plus their local
patches for Android[1].

The patches are owned by Google and the license hasn't been changed
from the original GPLv2. We are only bringing a subset of the
available patches that may be helpful in FreeBSD, in other words,
changes specific to android are not included.

From the README.google file[1].

Patches applied to google_vendor_src_branch/gcc/gcc-4.2.1:

gcc/Makefile.in
gcc/c-common.c
gcc/c-common.h
gcc/c-opts.c
gcc/c-typeck.c
gcc/cp/typeck.c
gcc/doc/invoke.texi
gcc/flags.h
gcc/opts.c
gcc/tree-flow.h
gcc/tree-ssa-alias-warnings.c
gcc/tree-ssa-alias.c

Backport of -Wstrict-aliasing from mainline.
Silvius Rus <rus@google.com>

gcc/coverage.c:
Patch coverage_checksum_string for PR 25351.
Seongbae Park <spark@google.com>
Not yet submitted to FSF.

gcc/c-opts.c
gcc/c-ppoutput.c
gcc/c.opt
gcc/doc/cppopts.texi
libcpp/Makefile.in
libcpp/directives-only.c
libcpp/directives.c
libcpp/files.c
libcpp/include/cpplib.h
libcpp/init.c
libcpp/internal.h
libcpp/macro.c
Support for -fdirectives-only.
Ollie Wild <aaw@google.com>.
Submitted to FSF but not yet approved.

libstdc++-v3/include/ext/hashtable.h
http://b/742065
http://b/629994
Reduce min size of hashtable for hash_map, hash_set from 53 to 5

libstdc++-v3/include/ext/hashtable.h
http://b/629994
Do not iterate over buckets if hashtable is empty.

gcc/common.opt
gcc/doc/invoke.texi
gcc/flags.h
gcc/gimplify.c
gcc/opts.c
Add Saito's patch for -finstrument-functions-exclude-* options.

gcc/common.opt
gcc/doc/invoke.texi
gcc/final.c
gcc/flags.h
gcc/opts.c
gcc/testsuite/gcc.dg/Wframe-larger-than.c
Add a new flag -Wframe-larger-than- which enables a new warning
when a frame size of a function is larger than specified.
This patch hasn't been integrated into gcc mainline yet.

gcc/tree-vrp.c
Add a hack to avoid using ivopts information for pointers starting
at constant values.

Reference:

[1]
https://android.googlesource.com/toolchain/gcc/+/master/gcc-4.2.1/

Obtained from: Google Inc.


259073 07-Dec-2013 peter

Hoist all the mergeinfo up to the root in preparation for enforcing merges
to the root only. All MFC's were rerecorded to the root.

Going forward, if an MFC includes mergeinfo, it will need to be made to
the root and committed from the root. Merges with --ignore-ancestry
or diff | patch can go anywhere.

The mergeinfo in HEAD is in a bad state from years of neglect and manual
tampering and this was branched into 10.x. This confuses the coalescing
code and prevents it from doing its job.

Approved by: re (gjb, implicit)


257662 04-Nov-2013 brooks

MFC r257530

Reimplement r257525 such that it work with the historic FreeBSD make
implementation. This fixes the toolchain and kernel-toolchain targets
when building from older FreeBSD versions where make is fmake.

Sponsored by: DARPA/AFRL
Approved by: re (glebius)


257459 31-Oct-2013 brooks

MFC r257268:

Enable the --sysroot=/foo option in ld by always building with a sysroot
defined. When not building as a cross linker, the sysroot is set to "/".

Exp-run by: bdrewery (ports/183206)
Approved by: re (gjb)


256281 10-Oct-2013 gjb

Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.

Approved by: re (implicit)
Sponsored by: The FreeBSD Foundation


256198 09-Oct-2013 gjb

Revert r256095, r256120 (partial), r256121:

r256095:
- Add gnu/usr.bin/rcs back to the base system.

r256120:
- Add WITHOUT_RCS back to src.conf.5.

r256121:
- Remove UPDATING entry regarding gnu/usr.bin/rcs removal.

Requested by: many
Approved by: re (marius)
Discussed with: core


256095 07-Oct-2013 eadler

Good bye RCS. You will be missed.

(devel/rcs and devel/rcs57 are available as alternatives)

Approved by: core
Approved by: re (hrs)


255974 01-Oct-2013 emaste

Remove long-unused GNU ar and ranlib

The libarchive-based replacements have been used since 2009; the GNU
ones were kept to support source upgrades from FreeBSD 6.

Approved by: re@ (delphij)


255852 24-Sep-2013 dteske

Update dialog to 1.2-20130923.

Approved by: re (marius)


255500 12-Sep-2013 dim

After r255321, clang uses libc++ by default. This leads to a lot of
errors when you enable WITH_GNUCXX to build libstdc++, since it will
include C++ headers from the libc++ installation under ${WORLDTMP}, and
those are not compatible with libstdc++ at all.

To fix this, add -stdlib=libstdc++ to CXXFLAGS when building libstdc++
(and its companion libsupc++) with clang.

Approved by: re (delphij)


255321 06-Sep-2013 theraven

On platforms where clang is the default compiler, don't build gcc or libstdc++.
To enable them, set WITH_GCC and WITH_GNUCXX in src.conf.
Make clang default to using libc++ on FreeBSD 10.
Bumped __FreeBSD_version for the change.

GCC is still enabled on PC98, because the PC98 bootloader requires GCC to build
(or, at least, hard-codes the use of gcc into its build).

Thanks to everyone who helped make the ports tree ready for this (and bapt
for coordinating them all). Also to imp for reviewing this and working on the
forward-porting of the changes in our gcc so that we're getting to a much
better place with regard to external toolchains.

Sorry to all of the people who helped who I forgot to mention by name.

Reviewed by: bapt, imp, dim, ...


255191 03-Sep-2013 pfg

Remove our hacked GNU patch.

The old (2.1) GNU patch has outlived its days. The major
local changes have been moved into the less restrictedly
licensed patch(1) we adopted in usr.bin/ .

A much newer version of GNU patch is available in the
ports tree (devel/patch).

Disconnect from the build and remove.


255185 03-Sep-2013 jmg

add support to gcc for AES and PCLMUL intrinsics... This addes the
-maes option, but not the -mpclmul option as I ran out of bits in
the 32 bit flags field... You can -D__PCLMUL__ to get this, but it
won't be compatible w/ clang and modern gcc...

Reviewed by: -current, -toolchain


255014 29-Aug-2013 pfg

Drop build option switch for the older GNU patch.

As promised, drop the option to make the older GNU patch
the default.

GNU patch is still being built but something drastic may
happen to it to it before Release.


254295 13-Aug-2013 pfg

Teach libstdc++ about logl(3).

The logl(3) family of functions were implemented in r251292.
Define them in libstdc++'s configuration so they can be used.

Reviewed by: dim


254223 11-Aug-2013 gjb

Add FreeBSD 9.2 to mdoc.local.


254093 08-Aug-2013 ache

Part of r245761 makes "grep -D skip" broken for pipes, i.e.
echo xxx | grep -D skip xxx
returns nothing. Instead of just removing added S_ISFIFO condition
(originally absent in this version of grep), make it work as latest
GNU version does: don't skip directories and devices if fd == STDIN_FILENO.


253689 26-Jul-2013 pfg

Make the BSD-licensed patch the default.

The BSD-licensed patch(1) command has matured and it's behaviour
can be considered equivalent to the older version of GNU patch
in the tree.

The switch has been extensively tested [1] and only two ports
presented regressions, which have since been fixed.

For convenience a new WITH_GNU_PATCH option is available,
but it will likely be removed in the near future.

PR: 176313
Approved by: portmgr


252513 02-Jul-2013 obrien

Properly handle input lines containing NUL characters such that pgets()
accurately fills the read buffer.

Callers of pgets() still mis-process the buffer contents if the read line
contains NUL characters, but this at least makes pgets() accurate.


252512 02-Jul-2013 obrien

Make it so that 'patch < FUBAR' and 'patch -i FUBAR' operate the same.

The former makes a copy of stdin, but was not accurately putting the
content of stdin into a temp file. This lead to the undercounting
the number of lines in hunks containing NUL characters when reading
from stdin. Thus resulting in "unexpected end of file in patch" errors.


252129 23-Jun-2013 bapt

Bump shlib for dialog because ABI has changed when version 1.2 was imported

Reviewed by: kib


251858 17-Jun-2013 emaste

Fold in frame-unwind patch

After moving to svn there's no need to avoid pulling files off a vendor
branch.


251845 17-Jun-2013 bapt

lower the WARNS to 1 again until I have more time to figure out the problems with WARNS=4

Reported by: gavin


251843 17-Jun-2013 bapt

Update dialog to 1.2-20130523
Level up WARNS


251820 16-Jun-2013 theraven

Fix some missing symbols in the libsupc++ Version.map

MFC after: 1 week


251794 15-Jun-2013 eadler

Remove CVS from the base system.

Discussed with: many
Reviewed by: peter, zi
Approved by: core


251512 07-Jun-2013 emaste

Add a new knob WITH_DEBUG_FILES to control the building of standalone
debug files for userland programs and libraries. The "-g" debug flag
is automatically applied when WITH_DEBUG_FILES is set.

The debug files are now named ${prog}.debug and ${shlib}.debug for
consistency with other systems and documentation. In addition they are
installed under /usr/lib/debug, to simplify the process of installing
them if needed after a crash. Users of bsd.{prog,lib}.mk outside of the
base system place the standalone debug files in a .debug subdirectory.
GDB automatically searches both of these directories for standalone
debug files.

Thanks to everyone who contributed changes, review, and testing during
development.


251480 07-Jun-2013 pfg

gcc: install AMD intrinsics header ammintrin.h

This file was included in the changes from r251212 and originated
in the pre-GPLv3 gcc43 branch.

MFC after: 2 weeks


251468 06-Jun-2013 jkim

Adjust CFLAGS to pick up correct regex.h and posix/regex.h. Note this
actually reverts r250860 and r250861.

Reported by: gjb, tinderbox


251438 05-Jun-2013 jkim

Connect libgnuregex 2.17 to the build.


250861 21-May-2013 marcel

Don't look for headers outside of the source or object directories. In
particular, don't use DESTDIR. Such creates an unnecessary dependency
on the build machine.

Obtained from: Juniper Networks, Inc.


250860 21-May-2013 marcel

Don't look for headers outside of the source or object directories. In
particular, don't use DESTDIR. Such creates an unnecessary dependency
on the build machine.

Obtained from: Juniper Networks, Inc.


250823 20-May-2013 pfg

grep: change some int types.

Change several int variables to size_t, ssize_t, or ptrdiff_t.
This should fix the bug described in CVE-2012-5667 when an input
line is so long that its length cannot be stored in an int
variable.

This is based on NetBSD's revision which says:

This change to NetBSD's version of GNU grep 2.5.1 (licenced under
GPLv2) was made without direct reference to any code licenced
under GPLv3.

Obtained from: NetBSD
MFC after: 3 days


250393 08-May-2013 dim

When gcc 4.2.0 was imported, the 3DNow intrinsics header <mm3dnow.h> was
not added to the list of intrinsics headers to install, so belatedly (5
years :) add it.

MFC after: 1 week


249880 25-Apr-2013 rpaulo

Remove the Fortran directories.


249878 25-Apr-2013 imp

Fix mips64 and mipsn32 bilds by using proper register names.


249702 20-Apr-2013 ed

Enable libcompiler-rt on MIPS.

Originally we disabled libcompiler-rt on MIPS and SPARC64, because of an
issue where __clzdi2 and __ctzdi2 would cause endless recursion. This
bug has been fixed in r230021 already, but for some reason we only
switched to libcompiler-rt on SPARC64 -- not MIPS.

This means we can finally use <stdatomic.h> on all our architectures.


249281 08-Apr-2013 pluknet

Add FreeBSD 8.4.

MFC after: 3 days


248838 28-Mar-2013 will

KGDB: Accept KLD symbol files with the ".symbols" extension.

Submitted by: gibbs
Approved by: ken (mentor)
Sponsored by: Spectra Logic
MFC after: 1 month


248836 28-Mar-2013 will

KGDB: Allow modules to be loaded from the specified kernel's directory.

When looking up the absolute path for a kld, call find_kld_path() first.
This enables locating the module in a different directory than the one
stored in kernel memory.

With this change, kgdb can now be run on a kernel & vmcore whose associated
modules are located in the same directory as the kernel. This makes
independent triaging of problems much easier.

This change also does not break the normal kgdb use case where no arguments
are specified; in that case kgdb loads the running kernel and its modules.

Reviewed by: adrian
Approved by: ken (mentor)
Sponsored by: Spectra Logic
MFC after: 1 month


248624 22-Mar-2013 cognet

As it's done for libstdc++, use SJLJ-based exceptions on arm when we're not
using EABI, and use unwind-arm.h instead of unwind-generic.h when using EABI.


248401 17-Mar-2013 andrew

Link libgcc_s against compiler-rt on ARM EABI. This allows us to use all of
the symbols in compiler-rt, including the ones not available in the old
libgcc. This fixes the build with clang which generates calls to funstions
that are missing from libgcc_s.


246958 19-Feb-2013 adrian

kgdb enhancements!

* document the kgdb -b flag
* better verify what's valid with -b
* add more comprehensive command line help

PR: kern/175743
Submitted by: Christoph Mallon <christoph.mallon@gmx.de>


246893 17-Feb-2013 marcel

In kthr.c, obtain the address of the PCB for threads that were running
on a core, when the core was stopped, by calling kgdb_trgt_core_pcb().
This has 2 advantages:
1. We don't need to include a machine-specific header anymore and as
such kthr.c is truly machine independent. This allows the code to
be used in a cross-debugger.
2. We don't need to lookup stoppcbs in generic code when it's an
inherently target-spicific symbol. It does not exist for ia64.

Implement kgdb_trgt_core_pcb() for all architectures, except ia64, by
calling a common function called kgdb_trgt_stop_pcb(). This function
differs from kgdb_trgt_core_pcb() in that it gets the size of the PCB
structure as an argument and as such remains machine independent.

On ia64 the PCB for stopped cores is in the PCPU structure itself.
This for better scaling. The implementation of kgdb_trgt_core_pcb()
for ia64 uses the cpuid_to_pcpu[] array to to obtain the address of
the PCB structure.


246857 15-Feb-2013 dim

Regenerate libstdc++'s config.h, synchronizing it with our current
almost-C99 headers.

MFC after: 1 week


246074 29-Jan-2013 gabor

- Add a BSD-licensed patch, ported by Pedro F. Giffuni (pfg) from
DragonflyBSD and install it as bsdpatch. WITH_BSD_PATCH makes it
default and installs GNU patch as gnupatch.

Submitted by: pfg
Obtained from: The DragonflyBSD Project


246028 28-Jan-2013 theraven

Fix some symbol version mismatches between libstdc++ and libsupc++/libcxxrt
that were causing the runtime and STL libraries to see different versions of
various classes and functions when libstdc++ is used as a filter.

Note: This changes the ABI for libcxxrt, but libcxxrt is currently only in
-STABLE for testing and is not used by anything unless explicitly enabled by
the end user. No default compiler configurations use it.

libc++ will need to be recompiled after this change. make buildworld will do
this automatically, but make in lib/libc++ will not necessarily work unless the
new libcxxrt is installed first.

PR: kern/171610, stand/175453
Reviewed by: kib
MFC after: 1 week


245898 25-Jan-2013 andrew

bsd.own.mk needs to be included before Makefil.inc so MK_ARM_EABI is defined


245882 24-Jan-2013 brooks

Reorder so that NO_MAN is declared before bsd.own.mk is included and thus
has an effect (not installed a g++.1 manpage over the g++.1(.gz) link
created in ../cc).


245803 22-Jan-2013 theraven

Import new (BSDL) device tree compiler. Now built by default, so that it can't
be used on the host system (and not installed on the device, if required). The
GPL'd one is still available if there are any devices that need it (make
universe passes with it, including kernels that use fdt, but there may be some
out-of-tree ones). WITH_GPL_DTC can be used to select the old one, for now.

Probably won't be MFC'd, but we'll remove the GPL'd version in head after the
new one has had a lot more testing and ship it in 10.0.


245761 22-Jan-2013 davidxu

Make "-D skip" option work with FIFO by opening file in non-blocking mode.

Reviewed by: jhb
Tested by: delphij


245705 21-Jan-2013 adrian

Add command-line support to kgdb to allow the baudrate to be set.

This allows a remote session to be specified with '-r' as well as a
non-default baudrate setting using '-b'.

TODO: add to the kgdb manpage.

MFC after: 2 weeks


245539 17-Jan-2013 andrew

Add compiler support for the ARM EABI.

ARM EABI support is disabled by default and can be enabled by setting
WITH_ARM_EABI when building, however only the kernel-toolchain target will
work with this flag until the rest of the support is added.


245101 06-Jan-2013 andrew

Set the correct relocation type for R_ARM_TARGET2 to R_ARM_GOT_PREL. The
TARGET2 relocation is unused in the current ABI but this change is
required for EABI support.


244933 01-Jan-2013 antoine

Fix a dependency


244850 30-Dec-2012 nwhitehorn

Revert r241818 that updated dialog to 20120706. This turns out to horribly
break mixed form dialogs in conjunction with the FreeBSD termcap, making
the bsdinstall partition editor Add dialog, among other things, completely
nonfunctional. This restores dialog 20110707.


244382 18-Dec-2012 andrew

Get libcompiler-rt and libgcc building on ARM with clang.

* Don't provide clear_cache or the __sync_* functions on ARM with clang as
they are provided by clang as builtin functions.
* Tell clang it is aloud to compile some libgcc code using heinous GCC
extensions.


244377 18-Dec-2012 ache

More correct version of prev. fix.


244362 17-Dec-2012 ache

Fix:
line 11: Malformed conditional
(${TARGET} == "arm" || ${TARGET_ARCH} == "powerpc64")


244277 15-Dec-2012 andrew

Also remove -Werror on arm with clang as there are warnings.


243933 06-Dec-2012 eadler

Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in
share/mk/sys.mk instead.

This is part of a medium term project to permit deterministic builds of
FreeBSD.

Submitted by: Erik Cederstrand <erik@cederstrand.dk>
Reviewed by: imp, toolchain@
Approved by: cperciva
MFC after: 2 weeks


241960 23-Oct-2012 dim

For building GNU libstdc++ and libsupc++, filter out libc++-specific and
-std= flags above c++98 or gnu++98 from CXXFLAGS *after* including
bsd.lib.mk, otherwise some additions to CXXFLAGS done in bsd.*.mk might
not be preserved.

MFC after: 1 week


241857 22-Oct-2012 eadler

Add support for the "&" character in usernames.

Charlie & finally has his last name.

PR: gnu/37910
Submitted by: Harry Newton <harry_newton@telinco.co.uk>
Approved by: cperciva
MFC after: 1 week


241818 21-Oct-2012 nwhitehorn

Update dialog to 20120706: includes minor useability enhancements and
fixes for warnings encountered with clang.


241511 13-Oct-2012 gabor

- Remove GNU sort and the WITH_GNU_SORT knob


241298 06-Oct-2012 marcel

Add support for bmake. This includes:
1. Don't do upgrade_checks when using bmake. As long as we have WITH_BMAKE,
there's a bootstrap complication in ths respect. Avoid it. Make the
necessary changes to have upgrade_checks work wth bmake anyway.
2. Remove the use of -E. It's not needed in our build because we use ?= for
the respective variables, which means that we'll take the environment
value (if any) anyway.
3. Properly declare phony targets as phony as bmake is a lot smarter (and
thus agressive) about build avoidance.
4. Make sure CLEANFILES is complete and use it on .NOPATH. bmake is a lot
smarter about build avoidance and should not find files we generate in
the source tree. We should not have files in the repository we want to
generate, but this is an easier way to cross this hurdle.
5. Have behavior under bmake the same as it is under make with respect to
halting when sub-commands fail. Add "set -e" to compound commands so
that bmake is informed when sub-commands fail.
6. Make sure crunchgen uses the same make as the rest of the build. This
is important when the make utility isn't called make (but bmake for
example).
7. While here, add support for using MAKEOBJDIR to set the object tree
location. It's the second alternative bmake looks for when determining
the actual object directory (= .OBJDIR).

Submitted by: Simon Gerraty <sjg@juniper.net>
Submitted by: John Van Horne <jvanhorne@juniper.net>


239695 25-Aug-2012 dim

For building libstdc++ and libsupc++, filter out any -stdlib=libc++
option from CXXFLAGS, otherwise these libraries will not build.
Similarly, filter out any -std=xxx options that aren't supported.

Submitted by: Yamaya Takashi <yamayan@kbh.biglobe.ne.jp>
MFC after: 2 weeks


239654 24-Aug-2012 rdivacky

Dont use -Werror when building libbfd and gnu as on powerpc64 with clang
as there are warnings.

Reviewed by: nwhitehorn


239640 24-Aug-2012 ru

A workaround in r238563 was for makes (notably bmake) without the
internal knowledge that "cd" is a shell's built-in. Such makes
may attempt to exec() "cd" that in turn will fail on systems that
lack the "cd" executable.

Reworked this by eliminating the root cause.

Submitted by: Simon Gerraty <sjg@juniper.net>


239396 19-Aug-2012 andreast

Fix typo. Not a win in terms of functionality but in terms of completeness.


239360 17-Aug-2012 obrien

Catch up with the subversion conversion and apply these build-time patches.


239272 15-Aug-2012 gonzo

Merging of projects/armv6, part 3

r238211:
Support TARGET_ARCH=armv6 and TARGET_ARCH=armv6eb

This adds a new TARGET_ARCH for building on ARM
processors that support the ARMv6K multiprocessor
extensions. In particular, these processors have
better support for TLS and mutex operations.

This mostly touches a lot of Makefiles to extend
existing patterns for inferring CPUARCH from ARCH.
It also configures:
* GCC to default to arm1176jz-s
* GCC to predefine __FreeBSD_ARCH_armv6__
* gas to default to ARM_ARCH_V6K
* uname -p to return 'armv6'
* make so that MACHINE_ARCH defaults to 'armv6'
It also changes a number of headers to use
the compiler __ARM_ARCH_XXX__ macros to configure
processor-specific support routines.

Submitted by: Tim Kientzle <kientzle@freebsd.org>


238799 26-Jul-2012 ru

Backed out r228904, and added libstdthreads support to mdoc(7) to where
it belongs.


238798 26-Jul-2012 ru

Backed out r236255, and added FreeBSD 9.1 support to mdoc(7) to where
it belongs.


238563 18-Jul-2012 obrien

a ";" tells make we want the shell to be used

Submitted by: Simon Gerraty <sjg@juniper.net>


238255 08-Jul-2012 nwhitehorn

After the binutils 2.17.50 import, the assembler supports AS_REL16
relocations.


237629 27-Jun-2012 gabor

- Switch to BSD sort as default sort. GNU sort will still be installed as
"gnusort". Most of the BSD sort development work was done by
Oleg Moskalenko <oleg.moskalenko@citrix.com>.
- GNU grep can be set to default by setting WITH_GNU_GREP. It will cause
BSD sort to be installed as "bsdsort".

Portbuild tested by: linimon


237098 14-Jun-2012 marius

Turn on TLS support for arm on here as it is supported since r231618/
r231619 and working since r233106.


236890 11-Jun-2012 theraven

Clean up some symbol versions for libsupc++ / libcxxrt.

MFC after: 1 week
Reviewed by: kan


236614 05-Jun-2012 des

Add mangled symbols for operator new / delete on 64-bit platforms.

Reported by: decke@
MFC after: 1 week


236177 28-May-2012 theraven

Correctly export operator new / delete for things linking against libsupc++ but
not libstdc++.

Unfortunately, it appears that libsupc++ / libstdc++ have a different idea of
the type of size_t to the rest of the world, which may cause problems later
on...

Reported by: des
MFC after: 1 week


235727 21-May-2012 marcel

Don't recurse into libssp when MK_SSP is set to no.


235714 21-May-2012 davidxu

Print key value, an index, otherwise we don't know which key is allocated.


235566 17-May-2012 marcel

Build the "S" objects with the same name they get installed under.
That is, build crtbeginS.o and crtendS.o instead of crtbegin.So and
crtend.So. Remove the name substitution during install.

Obtained from: Juniper Networks, Inc.


235487 15-May-2012 marius

Switch sparc64 to using libcompiler_rt; since r230021 we have a workaround
in place allowing it to be used there and since r235388 (see also r235486)
we also have usable div/mod optimizations like libgcc has.


235268 11-May-2012 gabor

- Hook up BSD sort to the build. By default, it will be installed as
"bsdsort" and GNU sort will be the default "sort". When WITH_BSD_SORT
is set, BSD sort will be the default "sort" and GNU sort will be installed
as "gnusort".


235211 10-May-2012 gjb

General mdoc(7) and typo fixes.

PR: 167696
Submitted by: Nobuyuki Koganemaru (kogane!jp.freebsd.org)
MFC after: 3 days


234782 29-Apr-2012 kib

Add src.conf option WITH_SHARED_TOOLCHAIN to enable building the
toolchain binaries as dynamically linked. Option is disabled by
default.

Reviewed by: ru (previous version)
MFC after: 2 weeks


234739 27-Apr-2012 marcel

Allow building a powerpc cross-kgdb.


234596 23-Apr-2012 dim

Revert r234356 for now, as it leads to run-time problems on 32-bit
PowerPC. Note this will break world.

Reported by: andreast
Pointy hat to: dim


234546 21-Apr-2012 imp

Replace a bare use of nm with ${NM} for easier cross compilation in
environments where nm is spelled differently.


234356 16-Apr-2012 dim

Work around an issue on 32-bit PowerPC, where clang executable can get
too big, causing 'relocation truncated to fit' errors at link time.

Reviewed by: nwhitehorn


233749 31-Mar-2012 theraven

Make libsupc++ build as a shared library and make libstdc++ a filter library
for it.

This allows people to swap out libsupc++ for libcxxrt easily, so we can begin
the libstdc++ -> libc++ migration.

Approved by: dim (mentor)


233644 29-Mar-2012 jmallett

Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.
This makes our naming scheme more closely match other systems and the
expectations of much third-party software. MIPS builds which are little-endian
should require and exhibit no changes. Big-endian TARGET_ARCHes must be
changed:
From: To:
mipseb mips
mipsn32eb mipsn32
mips64eb mips64

An entry has been added to UPDATING and some foot-shooting protection (complete
with warnings which should become errors in the near future) to the top-level
base system Makefile.


233388 23-Mar-2012 gonzo

Make default ABI for as(1) to be the same as target platform.
This change makes object files compiled with default flags by
gcc and as compatible.


232910 13-Mar-2012 jmallett

Note two shortcomings of GDB on MIPS that should be addressed.


232322 29-Feb-2012 dim

Add a WITH_CLANG_IS_CC option for src.conf(5), disabled by default, that
installs clang as /usr/bin/cc, /usr/bin/c++ and /usr/bin/cpp.

Note this does *not* disable building and installing gcc, which will
still be available as /usr/bin/gcc, /usr/bin/g++ and /usr/bin/gcpp. If
you want to disable gcc completely, you must use WITHOUT_GCC.

MFC after: 2 weeks


231852 17-Feb-2012 bz

Merge multi-FIB IPv6 support from projects/multi-fibv6/head/:

Extend the so far IPv4-only support for multiple routing tables (FIBs)
introduced in r178888 to IPv6 providing feature parity.

This includes an extended rtalloc(9) KPI for IPv6, the necessary
adjustments to the network stack, and user land support as in netstat.

Sponsored by: Cisco Systems, Inc.
Reviewed by: melifaro (basically)
MFC after: 10 days


231620 14-Feb-2012 gonzo

Enable TLS support for ARM toolchain

Reviewed by: cognet


230427 21-Jan-2012 kib

Adopt to new layout of struct pcb.

MFC after: 1 month


229809 08-Jan-2012 ed

Don't include <sys/timeb.h>.

Including this header file causes a compilation warning. The code builds
perfectly fine without this header file.


229521 04-Jan-2012 rwatson

Add missing -w to kgdb(1)'s usage().

Sponsored by: Adara Networks, Inc.
MFC after: 3 days


228601 16-Dec-2011 dim

Define YY_NO_INPUT when building libbinutils, to prevent warnings about
unused input() functions emitted by lex.

MFC after: 1 week


228351 08-Dec-2011 ru

Pull up vendor changes to mdoc(7).


228060 28-Nov-2011 bapt

upgrade gperf to the last GPLv2 version (3.0.3)

Reviewed by: cognet
Approved by: cognet


227953 24-Nov-2011 fjoe

libodialog: Remove no longer used library.


227951 24-Nov-2011 fjoe

libodialog: disconnect from the build and obsolete.


227936 24-Nov-2011 fjoe

Use ${VAR} instead of $(VAR) consistently.


227739 19-Nov-2011 andreast

Rename the linker emulation name for powerpc and powerc64. This is needed that
we can also use the upstream binutils linker where we have to have a unique
name for the FreeBSD emulation.


227215 06-Nov-2011 dim

When one attempts to compile the tree with -march=i386, which also used
to be gcc's default before r198344, calls to atomic builtins will not be
expanded inline. Instead, they will be generated as calls to external
functions (e.g. __sync_fetch_and_add_N), leading to linking errors later
on.

Put in a seatbelt that disables use of atomic builtins in libstdc++ and
llvm, when tuning specifically for the real i386 CPU. This does not
protect against all possible issues, but it is better than nothing.


226702 24-Oct-2011 obrien

* Don't give the impression that this compiler is GPLv3.
(It is "well known" that GCC 4.2.2 is GPLv3.)
* Don't give the impression that this compiler isn't "trustable".
* Fix dependency nit.


226519 18-Oct-2011 dim

Update gcc's __FreeBSD__ and __FreeBSD_cc_version macros for FreeBSD 10.


226436 16-Oct-2011 eadler

- change "is is" to "is" or "it is"
- change "the the" to "the"

Approved by: lstewart
Approved by: sahil (mentor)
MFC after: 3 days


225757 26-Sep-2011 kensmith

Shift head from 9.0-CURRENT to 10.0-CURRENT in preparation for releasing
it from the 9.0-RELEASE release cycle code freeze.

Approved by: re (implicit)


225190 26-Aug-2011 cognet

Do not include <sys/ptrace.h> if we're building a cross-debugger, ptrace isn't
used anyway, and it breaks the build, since sys/ptrace.h now includes
<machine/reg.h>

Approved by: re


225017 19-Aug-2011 jhb

Walk the zombproc list as well as the allproc list when enumerating threads
and processes in a kernel image. This allows examination of threads that
have exited or are in the late stages of exiting.

Tested by: avg
Approved by: re (kib)
MFC after: 1 week


224687 06-Aug-2011 marius

Compile fbsd-threads.c. Amongst others this is necessary for a working
kgdb(1).

Reviewed by: marcel
Approved by: re (kib)
MFC after: 1 week


224014 14-Jul-2011 nwhitehorn

Update dialog to 1.1-20110707.


223953 12-Jul-2011 pluknet

Provide a simple manual page for libprocstat(3).

Reviewed by: jilles, gjb


223758 04-Jul-2011 attilio

With retirement of cpumask_t and usage of cpuset_t for representing a
mask of CPUs, pc_other_cpus and pc_cpumask become highly inefficient.

Remove them and replace their usage with custom pc_cpuid magic (as,
atm, pc_cpumask can be easilly represented by (1 << pc_cpuid) and
pc_other_cpus by (all_cpus & ~(1 << pc_cpuid))).

This change is not targeted for MFC because of struct pcpu members
removal and dependency by cpumask_t retirement.

MD review by: marcel, marius, alc
Tested by: pluknet
MD testing by: marcel, marius, gonzo, andreast


222878 08-Jun-2011 obrien

Simply post r222273.


222854 08-Jun-2011 ru

Added FreeBSD 8.3.


222852 08-Jun-2011 ru

Pull up all vendor changes to mdoc(7).

This also replaces the local fix in r219209 that made .Ac emit
ASCII angle quotes with an official fix. In the official fix,
ASCII quotes are output when using the .Aq, .Ao and .Ac calls,
but only when nested into the .An macro.

PR: gnu/154822


222813 07-Jun-2011 attilio

etire the cpumask_t type and replace it with cpuset_t usage.

This is intended to fix the bug where cpu mask objects are
capped to 32. MAXCPU, then, can now arbitrarely bumped to whatever
value. Anyway, as long as several structures in the kernel are
statically allocated and sized as MAXCPU, it is suggested to keep it
as low as possible for the time being.

Technical notes on this commit itself:
- More functions to handle with cpuset_t objects are introduced.
The most notable are cpusetobj_ffs() (which calculates a ffs(3)
for a cpuset_t object), cpusetobj_strprint() (which prepares a string
representing a cpuset_t object) and cpusetobj_strscan() (which
creates a valid cpuset_t starting from a string representation).
- pc_cpumask and pc_other_cpus are target to be removed soon.
With the moving from cpumask_t to cpuset_t they are now inefficient
and not really useful. Anyway, for the time being, please note that
access to pcpu datas is protected by sched_pin() in order to avoid
migrating the CPU while reading more than one (possible) word
- Please note that size of cpuset_t objects may differ between kernel
and userland. While this is not directly related to the patch itself,
it is good to understand that concept and possibly use the patch
as a reference on how to deal with cpuset_t objects in userland, when
accessing kernland members.
- KTR_CPUMASK is changed and now is represented through a string, to be
set as the example reported in NOTES.

Please additively note that no MAXCPU is bumped in this patch, but
private testing has been done until to MAXCPU=128 on a real 8x8x2(htt)
machine (amd64).

Please note that the FreeBSD version is not yet bumped because of
the upcoming pcpu changes. However, note that this patch is not
targeted for MFC.

People to thank for the time spent on this patch:
- sbruno, pluknet and Nicholas Esborn (nick AT desert DOT net) tested
several revision of the patches and really helped in improving
stability of this work.
- marius fixed several bugs in the sparc64 implementation and reviewed
patches related to ktr.
- jeff and jhb discussed the basic approach followed.
- kib and marcel made targeted review on some specific part of the
patch.
- marius, art, nwhitehorn and andreast reviewed MD specific part of
the patch.
- marius, andreast, gonzo, nwhitehorn and jceel tested MD specific
implementations of the patch.
- Other people have made contributions on other patches that have been
already committed and have been listed separately.

Companies that should be mentioned for having participated at several
degrees:
- Yahoo! for having offered the machines used for testing on big
count of CPUs.
- The FreeBSD Foundation for having sponsored my devsummit attendance,
which has been instrumental.
- Sandvine for having offered offices and infrastructure during
development.

(I really hope I didn't forget anyone, if it happened I apologize in
advance).


222273 25-May-2011 obrien

Build and install a BSD licensed grep.
If WITH_BSD_GREP is not set, it will be 'bsdgrep' and GNUgrep will be
'[ef]grep'. Otherwise, BSD-grep will be the grep family, and GNUgrep
will be 'gnugrep'.

Discussed with: brooks


222090 19-May-2011 imp

Implement WITH{,OUT}_{GCC,BINUTILS} to provide finer-grained control
over building gcc and binutils. They default to true, unless
MK_TOOLCHAIN is no.

Reviewed by: ru@


221869 14-May-2011 attilio

Disconnect sun4v architecture from the three.

Some files keep the SUN4V tags as a code reference, for the future,
if any rewamped sun4v support wants to be added again.

Reviewed by: marius
Tested by: sbruno
Approved by: re


220910 21-Apr-2011 gordon

Remove GNU man implemenation now that the BSD version has cooked for a while.


220755 17-Apr-2011 dim

Remove libobjc and other Objective-C related components, as these are
extremely outdated, and not used by anything in the base system.

Silence from: current@


220749 17-Apr-2011 nwhitehorn

Update dialog to version 1.1-20110302.


220630 14-Apr-2011 dim

In r219639, SSSE3 instruction set support was backported to our gcc.

Therefore, we also need to install the new tmmintrin.h header containing
the related intrinsic functions, similar to xmmintrin.h, emmintrin.h,
etc.

Reported by: George Liaskos <geo.liaskos@gmail.com>


220043 26-Mar-2011 kib

Print the raw value of si_code, that is esp. useful for undecoded values.

Sponsored by: The FreeBSD Foundation
MFC after: 1 week


219876 22-Mar-2011 marcel

Change the load address from offset 0 in region 1 to offset 4G in region 0.
This (almost) gives us the address space back (at the bottom) that we lost
at the top.

Region 0 has traditionally been reserved for IA-32 emulation, which has not
been of great interest. By starting 64-bit processes at the 4G boundary we
at least preserve some of the advantages:
1. Any invalid pointer cast (from int to pointer and back) will still
always fail and not only when more than 4GB of memory is in use.
2. Memory sharing between 64-bit and 32-bit processes is still possibly
by using addresses < 4G.


219875 22-Mar-2011 marcel

Branch from contrib/binutils/ld/emulparams/elf64_ia64_fbsd.s so that
we can modify it.


219811 21-Mar-2011 marcel

Fix typo: s/LIBSERACHPATH/LIBSEARCHPATH/g


219534 11-Mar-2011 marius

Now that TLS is supported for sparc64 by both binutils 2.17.50 committed
in r218822 and rtld(1) committed in r219533 turn on TLS support in GCC.


218822 18-Feb-2011 dim

Merge binutils 2.17.50 to head. This brings a number of improvements to
x86 CPU support, better support for powerpc64, some new directives, and
many other things. Bump __FreeBSD_version, and add a note to UPDATING.

Thanks to the many people that have helped to test this.

Obtained from: projects/binutils-2.17


218672 13-Feb-2011 uqs

Add back soon-to-be-release FreeBSD 7.4 which got clobbered in the previous
merges.


218331 05-Feb-2011 nwhitehorn

Enable wide character support in libdialog.


218182 02-Feb-2011 imp

Make the generated files depend on the Makefile so new platforms are easier
to add than mipsn32 was when I was working on it...


218181 02-Feb-2011 imp

Revert last change now that the reason for it is no more...
MACHINE_ARCH is now always mipsel when building mips/mips.


218064 29-Jan-2011 jchandra

Rewrite the ARCH check another way for backward compatibility.

Compilation fails now, if TARGET_ARCH=mips instead of mipsel/mipseb.


217942 27-Jan-2011 jchandra

Fix n32 compile.

These changes are needed to fix n32 compile after the recent change of
mips n32 MACHINE_ARCH to mipsn32eb/mipsn32el.

Reviewed by: imp, bz (earlier version)


217749 23-Jan-2011 emaste

Use string literal format strings to quiet clang warnings.


217595 19-Jan-2011 uqs

Update groff manpage and symbols with what has been submitted upstream.
Also remove local overrides that are now in the contrib tree.

This is a direct commit to contrib/ as we will no longer import any
newer groff snapshots, due to licensing issues.

MFC after: 3 weeks


217536 18-Jan-2011 nwhitehorn

Add libm to the dependencies section.

Submitted by: Garrett Cooper


217309 12-Jan-2011 nwhitehorn

Update dialog to version 20100428. This changes the license under which
dialog is distributed from GPLv2 to LGPLv2 and introduces a number of new
features and a new and better libdialog API. The existing libdialog will
be kept temporarily as libodialog for compatibility purposes until sade,
sysinstall and tzsetup have been either updated or replaced.

__FreeBSD_version is now 900030.

Discussed on: -current
Approved by: core
Obtained from: http://invisible-island.net/dialog


217128 07-Jan-2011 tijl

Remove unused support for 64 bit long on 32 bit architectures.

It was used mainly to discover and fix some 64-bit portability problems
before 64-bit arches were widely available.

Discussed with: bde
Approved by: kib (mentor)


217123 07-Jan-2011 imp

Retire TARGET_ABI.

Implement MACHINE_ARCH=mips64e[lb] to build N64 images. This replaces
MACHINE_ARCH=mipse[lb] TARGET_ABI=n64.

MACHINE_ARCH=mipsn32e[lb] has been added, but currently requires
WITHOUT_CDDL due to atomic issues in libzfs. I've not investigated
this much, but implemented this to preserve as much of the TARGET_ABI
functionality that I could. Since its presence doesn't affect the
working cases, I've kept it in for now.

Added mips64e[lb] to make universe, so more kernels build.

And I think this (finally) closes the curtain on the tbemd tree.


216804 29-Dec-2010 kan

Switch mips architectures back to libgcc.

MIPS64 n64 binaries are broken with libcompiler_rt at this time.
Switch mips back to libgcc until the cause of breakage is analyzed
and fixed.


216127 02-Dec-2010 nwhitehorn

Unbreak amd64<->i386 cross builds.


216113 02-Dec-2010 nwhitehorn

The driver-XXX.c files used for host CPU detection with -march=native
should not be compiled in the cross-tools case (where -march=native makes
no sense). This fixes cross-building x86 toolchains on non-x86 systems.


215679 22-Nov-2010 attilio

Add the ability for GDB to printout the thread name along with other
thread specific informations.

In order to do that, and in order to avoid KBI breakage with existing
infrastructure the following semantic is implemented:
- For live programs, a new member to the PT_LWPINFO is added (pl_tdname)
- For cores, a new ELF note is added (NT_THRMISC) that can be used for
storing thread specific, miscellaneous, informations. Right now it is
just popluated with a thread name.

GDB, then, retrieves the correct informations from the corefile via the
BFD interface, as it groks the ELF notes and create appropriate
pseudo-sections.

Sponsored by: Sandvine Incorporated
Tested by: gianni
Discussed with: dim, kan, kib
MFC after: 2 weeks


215439 17-Nov-2010 tijl

Let gcc and ld know where to find 32 bit libraries on amd64.

Reviewed by: arch@
Approved by: kib (mentor)


215352 15-Nov-2010 nwhitehorn

Garbage-collect some code made obsolete by the TBEMD import.


215351 15-Nov-2010 nwhitehorn

Try including Makefile.${TARGET_ARCH} before Makefile.${TARGET_CPUARCH} if
it exists in order to allow arch-specific overrides. This fixes the
binutils (and world) build on powerpc64 after recent TBEMD merges.

Reviewed by: imp


215292 14-Nov-2010 nyan

Add missing '/'.


215276 14-Nov-2010 imp

We need to add powerpc64->powerpc translations (I knew I hated copying
this code in the first place).

Also MACHINE_ARCH powerpc is 32-bit, not MACHINE_CPUARCH == powerpc.

Submitted by: nathanw


215275 14-Nov-2010 imp

These two cases should be different...

Submitted by: nathanw@


215185 12-Nov-2010 ed

Revert to libgcc for sparc64.

I've had a report of a sparc64 system where cc1 generates illegal
instructions. We still have to diagnose this properly, but instead of
hosing all sparc64 boxes out there, fall back to libgcc to prevent more
damage.

Reported by: Florian Smeets


215151 11-Nov-2010 dim

Garbage collect gnu/usr.bin/binutils/{gasp,gdb,gdbreplay}, as these have
not been connected to the build for more than 6 years.

Obtained from: projects/binutils-2.17


215150 11-Nov-2010 dim

Do not build or install gasp.info anymore, as gasp has not been built or
installed for more than 6 years.

Obtained from: projects/binutils-2.17


215127 11-Nov-2010 ed

Replace libgcc.a by libcompiler_rt.a.

libcompiler_rt.a is a BSD licensed C language runtime, which implements
many routines which are linked into binaries on architectures where
certain functionality is missing (e.g. 64 bits mul/div on i386).

Unfortunately, libcompiler_rt cannot replace libgcc entirely. Certain
features, such as an unwinder for exception handling, are missing.
That's why only libgcc.a is replaced for now, because this one does seem
to be complete.

Tested by: rene (amd64), nwhitehorn (powerpc), droso (i386 exprun)
and many others. Thanks!
Obtained from: user/ed/compiler-rt


215126 11-Nov-2010 ed

Don't use ${LIB} to obtain the library name.

Once we use libcompiler_rt, the LIB-line must go, to prevent libgcc.a
from being built. Therefore, just hardcode the name.

Obtained from: user/ed/compiler-rt


215082 10-Nov-2010 imp

Complete the integration of tbemd branch into head.

TARGET_BIG_ENDIAN is now completely dead, except where it was
originally supposed to be used (internally in the toolchain building).

TARGET_ARCH has changed in three cases:
(1) Little endian mips has changed to mipsel.
(2) Big endian mips has changed to mipseb.
(3) Big endian arm has changed to armeb.

Some additional changes are needed to make 'make universe' work on arm
and mips after this change, so those are commented out for now.

UPDATING information will be forthcoming. Any remaining rough edges
will be hammered out in -current.


214962 07-Nov-2010 gonzo

Fix cross-debugger build


214960 07-Nov-2010 gonzo

Fix initialization order:_initialize_svr4_solib should
be called before _initialize_thread_db


214952 07-Nov-2010 gonzo

- Use proper constant for accessing PCB intead of hardcoded numbers
- Minor clean-up


214951 07-Nov-2010 gonzo

Link threads support to the build


213835 14-Oct-2010 jh

Add FreeBSD 8.2.

Reviewed by: ru
MFC after: 3 days


213487 06-Oct-2010 delphij

Add definition for FreeBSD 7.4, which will be used in a manual page change.

Reviewed by: ru
MFC after: 3 days


213391 03-Oct-2010 gordon

Retire GNU man in favor of the newly written BSDL version.

Approved by: wes (mentor)


213294 30-Sep-2010 rpaulo

Remove target peigen.c so that make doesn't warn us about it.


213274 29-Sep-2010 rpaulo

Add support for the BFD target efi-app-x86_64.

This uses only GPL2 source code and is a requirement for a 64 bit EFI
boot loader.


213013 22-Sep-2010 emaste

Move test for zero bufp or size before rseq and wseq calculation. This
avoids spinning in an infinite loop for some (possibly corrupt?) core
files at work.


212979 21-Sep-2010 dim

When building world with clang, for gnu/lib/libobjc, sys/boot/i386/boot2
and sys/boot/pc98/boot2, do not simply assign 'gcc' to CC, since compile
flags are sometimes passed via this variable, for example during the
build32 stage on amd64. This caused the 32-bit libobjc build on amd64
to fail.

Instead, only replace the first instance of clang (if any, including
optional path) with gcc, and leave the arguments alone.

Approved-by: rpaulo (mentor)


212286 07-Sep-2010 tijl

GCC defines built-ins for atomic instructions found on i486 and higher.
Because FreeBSD no longer supports the 80386 cpu all code targeting
FreeBSD/i386 necessarily runs on i486 or higher so the compiler
built-ins can be used by default inside libstdc++ and in C++ headers.
This allows newly compiled C++ code to inline some atomic operations.
Old binaries continue to use libstdc++ functions.

PR: 148926
Tested by: Yuri Karaban <tech askold net>
Reviewed by: kan
Approved by: kib (mentor)
MFC after: 2 weeks


212060 31-Aug-2010 dim

Use a more robust way to substitute gcc for clang, when compiling
gnu/lib/libobjc and sys/boot/i386/boot2, so it also works when using
absolute paths and/or options, as in CC="/absolute/path/clang -foo".

Approved by: rpaulo (mentor)


211934 28-Aug-2010 nwhitehorn

Repair some build breakage introduced in r211725 and garbage collect some
code made obsolete in the same commit.


211731 24-Aug-2010 imp

Create a checklist and call one of the *printw() functions from the
selected() callback. When the dialog first appears, you will not see
the printed statement on the dialog, if you move down one, you will,
move up again and it now appears. I am assuming that you call a
*printw() function on a line in the dialog box of course.

The fix, from the pr:
This is a hack at best, I looked at the redraw code in
dialog_checklist() and took the minimal amount of it out to do
a simple "refresh" right after the items are drawn. This
doesn't hurt anything and makes the library work like it
should. There is probably a better way however =).

PR: 148609
Submitted by: John Hixson


211725 23-Aug-2010 imp

MFtbemd:

Prefer MACHNE_CPUARCH to MACHINE_ARCH in most contexts where you want
to test of all the CPUs of a given family conform.


211701 23-Aug-2010 gabor

- Change default grep back to GNU version. BSD grep can be built with the
WITH_BSD_GREP knob.
- Bump __FreeBSD_version

Requested by: dougb
Approved by: delphij (mentor)


211570 21-Aug-2010 rpaulo

We need to pull bsd.own.mk before modifying the CC variable. Otherwise
it will be overwritten when we include bsd.lib.mk.

Pointed out by: Dimitry Andric <dimitry at andric.com>


211243 12-Aug-2010 will

Fix buildworld -DNO_CLEAN when using with Perforce, which marks files as
read-only by default, meaning files copied can't be overwritten next time.

Reviewed by: imp
Approved by: ken (mentor)


210852 04-Aug-2010 jhb

Change kgdb_lookup() to resolve symbols via GDB instead of via libkvm(3).


210778 02-Aug-2010 jkim

Give kgdb(1) a chance to take a look at FPU state.


210770 02-Aug-2010 uqs

Fix case for library macros


210684 31-Jul-2010 rpaulo

Add libproc.

Sponsored by: The FreeBSD Foundation


210681 31-Jul-2010 rpaulo

Add librtld_db.

Sponsored by: The FreeBSD Foundation


210424 23-Jul-2010 avg

kgdb: correctly map sections to addresses in elf object modules (amd64)

Unlike for modules with dso type, in elf object modules all the sections
have virtual address of zero. So, it is insufficient to add module base
address to section virtual address (as recorded in section header) to
get section address in kernel memory.
Instead, we should apply the same calculations that are performed by
kernel loaders (in boot code and in kernel) when they lay out sections
in memory.

Discussed with: jhb, np
MFC after: 3 weeks


210385 22-Jul-2010 rpaulo

Disable building libobjc with clang as it's not yet supported.

Submitted by: Dimitry Andric <dimitry at andric.com>


210101 15-Jul-2010 marcel

Sanitize CFLAGS and add WARNS?=2. The hardcoding of -Os -fPIC
as compiler options resulted in an invalid executable on PowerPC.


209867 10-Jul-2010 nwhitehorn

Teach our toolchain how to generate 64-bit PowerPC binaries. This fixes
a variety of bugs in binutils related to handling of 64-bit PPC ELF,
provides a GCC configuration for 64-bit PowerPC on FreeBSD, and
associated build systems tweaks.

Obtained from: projects/ppc64


209738 06-Jul-2010 bcr

Mention the radiolist option in the man page. It is being listed when
dialog(1) is run without arguments and works as expected. Therefore,
it should be part of the manual as well.

Note: dialog(1) has not been updated for many years and is not actively
maintained at the moment.

PR: docs/139682
Submitted by: manolis@
Discussed with: jkim@
MFC after: 2 weeks


209690 04-Jul-2010 kib

For "thread signal" command, print some information from siginfo when
available.

Suggested by: davidxu
MFC after: 2 weeks


209520 25-Jun-2010 jchandra

Add an alignment of 8 for sections in the n32 ABI. The default alignment
of of 4 causes _end to be word aligned, which will be returned by sbrk.

malloc(3), when compiled for n32, expects sbrk to return an 8-byte aligned
value.

Approved by: rrs (mentor)


209294 18-Jun-2010 kib

Often reported issue with newer ld is:
error in /usr/lib/crtendS.o(.eh_frame); no .eh_frame_hdr table will be created.

The issue is that crtend is compiled with unwind table, and also it
places the special CIE into the .eh_frame indicating the end of section,
that is located before generated unwind table. New ld has assertion that
verifies that closing CIE is indeed the last CIE, causing the crypting
message to be issued, and refusing to generate dwarf unwind.

Add -fno-asynchronous-unwind-tables to disable unwind table generation
for crtbegin/crtend. While there, disable omitting the frame pointer [1].

Requested by: kan [1]
Reviewed by: kan
MFC after: 2 weeks


209200 15-Jun-2010 ae

Make all tests in libdialog compilable.
Fix coredump in menu3.c.

Approved by: kib (mentor)


209128 13-Jun-2010 raj

Connect FDT infrastructure to the build system.

Reviewed by: imp
Sponsored by: The FreeBSD Foundation


208758 02-Jun-2010 jmallett

Fix build for O32 systems without a TARGET_CPUTYPE defined. We must default to
MIPS-III because FreeBSD relies on a number of MIPS-III features; the ABI
default would be MIPS-I which we don't intend to support. Our old default
before I switched to using the ABI default was MIPS32.


208737 02-Jun-2010 jmallett

Add/improve mips64r2, Octeon, n32 and n64 support in the toolchain.

o) Add TARGET_ABI to the MIPS toolchain build process. This sets the default
ABI to one of o32, n32 or n64. If it is not set, o32 is assumed as that is
the current default.
o) Set the default GCC cpu type to any specified TARGET_CPUTYPE. This is
necessary to have a working "cc" if e.g. mips64 is specified, as binutils
will refuse to link objects using different ISAs in some cases.
o) Add support for n32 and n64 ABIs to binutils and GCC.
o) Add additional required libgcc2 stubs for n32 and n64.
o) Add support for the "mips64r2" architecture to GCC. Add the "octeon"
o) When static linking, wrap default libraries in --start-group and
--end-group. This is required for static linking to work on n64 with the
interdependencies between libraries there. This is what other OSes that
support n64 seem to do, as well.
o) Fix our GCC spec to define __mips64 for 64-bit targets, not __mips64__, the
former being what libgcc, etc., check and the latter seemingly being a
misspelling of a hand merge from a Linux spec.
o) When no TARGET_CPUTYPE is specified at build time, make GCC take the default
ISA from the ABI. Our old defaults were too liberal and assumed that 64-bit
ABIs should default to the MIPS64 ISA and that 32-bit ABIs should default to
the MIPS32 ISA, when we are supporting or will support some systems based on
earlier 32-bit and 64-bit ISAs, most notably MIPS-III.
o) Merge a new opcode file (and support code) from a later version of binutils
and add flags and code necessary to support Octeon-specific instructions.
This should also make merging opcodes for other modern architectures easier.

Reviewed by: imp


208536 25-May-2010 raj

Correct dtc version header autogen location.

While there unify brackets usage.


208320 20-May-2010 jkim

Add a new build option, MAN_UTILS. This option lets you control building
utilities and related support files for manual pages, which were previously
controlled by MAN. For POLA, the default depends on MAN, i.e., WITHOUT_MAN
implies WITHOUT_MAN_UTILS and WITH_MAN implies WITH_MAN_UTILS. This patch
is slightly improved by me from:

PR: misc/145212


207995 12-May-2010 obrien

Non-GCC gcc compatible compilers may provide the same multimedia intrinsic
headers as GCC, but of their own implementation. So put the GCC ones into
their own header "namespace".

Requested by: ed


207383 29-Apr-2010 delphij

Add FreeBSD 8.1 to known list as it's being referenced by a couple of
manpages already.

MFC after: 3 days


206624 14-Apr-2010 imp

Make this directory more regular. Since it is one we control, use the
freebsd-based names for filenames. This allows us to eliminate
almost all of the uses of ${MACHINE_ARCH} here to do special things, and
instead we use it to include filenames. This makes new architectures easier
to support.


206622 14-Apr-2010 uqs

mdoc: order prologue macros consistently by Dd/Dt/Os

Although groff_mdoc(7) gives another impression, this is the ordering
most widely used and also required by mdocml/mandoc.

Reviewed by: ru
Approved by: philip, ed (mentors)


206530 12-Apr-2010 imp

Simplify how we select which architectures to add gdbserver for. If
the MD files exist, compile it, otherwise omit it.


205793 28-Mar-2010 ed

Change all our own code to use st_*tim instead of st_*timespec.

Also remove some local patches to diff(1) which are now unneeded.


205711 26-Mar-2010 marcel

Allow building a cross-kgdb for ia64.


205710 26-Mar-2010 marcel

Handle cross-builds for gdbserver.


205702 26-Mar-2010 delphij

Remove GNU cpio after fix of CVE-2010-0624.

Note that this is actually a no-op for most users, as this GNU
cpio was broken on -HEAD and 8-STABLE since last March until
the recent fix.

FreeBSD 8.0+ uses BSD cpio by default and the code is being
actively maintained.

Blessed by: kientzle
With hat: secteam
MFC after: 3 days


205630 24-Mar-2010 imp

This broke when we went to gnu99 as the default standard. Fix the build
by reverting to the gnu89 standard.


205310 19-Mar-2010 imp

Fix typo in comment


204771 05-Mar-2010 imp

Make little endian compiles produce little endian binaries on mips.

Submitted by: neel@


204765 05-Mar-2010 raj

Remove stale path reference.


204685 04-Mar-2010 imp

Make the n32 scripts actually generate, ummm, n32 binaries... <blush>

Submitted by: jmallet


204548 02-Mar-2010 imp

Add n32 ABI generators...

Submitted by: neel, jmallet


204490 28-Feb-2010 raj

Provide BSD-style Makefile for the device tree compiler (dtc).

Note it is not connected to the build hierarchy yet.

Sponsored by: The FreeBSD Foundation


204335 25-Feb-2010 jkim

Initial gdbserver support for amd64.


204227 22-Feb-2010 delphij

POSIX patch(1) would treat -b as different meaning (the functionality
is to be provided by --suffix). Looking at the usage here in diffutils,
it seems that we can just get rid of the -b .orig stuff. This resolves
a problem that can triggered if we move toward to a more permissively
licensed patch(1) program.


204171 21-Feb-2010 gabor

- Remove GNU bc/dc bits. There has not been any regressions seen after
BSD bc/dc import. It has been tested with make universe that this code
is not used by anything any more.

Approved by: delphij (mentor)


204138 20-Feb-2010 rrs

These contain JC's patch to get gdb sort of working
on mips. Its not fully done yet but its a start.

Obtained from: JC - c.jayachandran@gmail.com

M gnu/usr.bin/gdb/kgdb/trgt_mips.c
M gnu/usr.bin/gdb/arch/mips/init.c
M gnu/usr.bin/gdb/arch/mips/Makefile
M gnu/usr.bin/Makefile
M contrib/gdb/gdb/mips-tdep.h


203960 16-Feb-2010 marcel

Compile fbsd-threads.c. Threading & TLS support is working just fine.


203823 13-Feb-2010 avg

kgdb: initialize n_type field of nlist entry for kvm_nlist call

kvm_nlist skips lookup for entries that have n_type != N_UNDF.
N_UNDF happens to be zero, so n_type typically has a correct
value by accident, but not always.
Note: jhb has a patch that replaces kvm_nlist use with direct
gdb parsing.

MFC after: 5 days
X-MFC-Note: unless jhb commits kvm_nlist => kgdb_parse change


203713 09-Feb-2010 marcel

Add description for libefi.

Pointed out by: ru


203435 03-Feb-2010 imp

Remove alpha support from here too. FreeBSD 6 was the last branch to
support it.


203434 03-Feb-2010 imp

Remove more traces of the Alpha port.


203412 03-Feb-2010 imp

Remove another reference to alpha...


203357 01-Feb-2010 joerg

Add a libgpib to the list of known .Lb names.

MFC after: 3 days


202808 22-Jan-2010 sepotvin

Use the new PO_CXXFLAGS from r202807 to remove the '-ffunction-sections'
flag when compiling profiled objects as it's ignored by the compiler.
This removes the associated warning for each file compiled.

MFC after: 1 month


202719 20-Jan-2010 gabor

Replace GNU bc/dc with BSDL versions ported from OpenBSD. They have a good
compatibility level with the GNU counterparts and have shown to be mature
enough. For now, the GNU versions aren't removed from the tree, just detached
from the build.

Sponsored by: Google Summer of Code 2008
Portbuild run by: erwin
Approved by: delphij


202359 15-Jan-2010 ru

Moved the doc-str-Lb-libulog string definition to where it belongs.


202358 15-Jan-2010 ru

Pull up vendor changes. The following local changes made obsolete:

- Addition of several FreeBSD versions.
- r192561 that attempted to fix UTF-8 issues.


201852 08-Jan-2010 imp

Merge r195030 from project/mips into head by hand:

r195030 | gonzo | 2009-06-25 19:27:31 -0600 (Thu, 25 Jun 2009) | 4 lines
- Switch to libc softfloat from libgcc implementation. The problem
with latter is that it is not complete, fpsetXXX/fpgetXXX
functions are missing.


201851 08-Jan-2010 imp

Merge r195575 and 195530 from projects/mips to head by hand:

r195575 | imp | 2009-07-10 12:24:02 -0600 (Fri, 10 Jul 2009) | 2 lines
quick hack for the problem gonzo is seeing.

r195530 | imp | 2009-07-10 01:18:30 -0600 (Fri, 10 Jul 2009) | 5 lines
Always build all 4 emulators into the mips toolchain.
# I think we have a gcc spec file issue with abi=64 since I have to do other
# hacks to get it mostly kinda right.


201850 08-Jan-2010 imp

Merge from project/mips r195021:

r195021 | gonzo | 2009-06-25 18:44:23 -0600 (Thu, 25 Jun 2009) | 2 lines
- Add MIPS to the list of 32-bit architectures


201849 08-Jan-2010 imp

Back-merge (by hand) r195668:

r195668 | gonzo | 2009-07-13 17:01:12 -0600 (Mon, 13 Jul 2009) | 3 lines
- Get rid of ugly TARGET_CPU_DEFAULT default. 16 is MASK_DSP
and was set there due to my ignroance.


200499 14-Dec-2009 kan

Fix one spelling and one copy&paste error in comments.


198471 25-Oct-2009 kan

Compile libgcov without stack protection. It can be linked into
both static and dynamic binaries compiled with or without stack
protection and should not depend on libssp_nonshared.a symbols.

Discussed with: kib
PR: bin/139052


197393 21-Sep-2009 alc

Add FreeBSD 7.2 and 7.3.

Discussed with: ru


197259 16-Sep-2009 sepotvin

The buffer returned by fgenln is not a "C" string and might not be NUL
terminated. Make sure that it is before using it.

Reviewed by: marck@
MFC after: 3 days


196459 23-Aug-2009 ed

Add support for diffs generated by Perforce.

It basically picks the filenames from the "====" line and strips off the
# revision number.


196432 22-Aug-2009 kensmith

Make head 9.0-CURRENT in preparation for lifting code freeze.

Approved by: re (implicit)


195767 19-Jul-2009 kensmith

Bump the version of all non-symbol-versioned shared libraries in
preparation for 8.0-RELEASE. Add the previous version of those
libraries to ObsoleteFiles.inc and bump __FreeBSD_Version.

Reviewed by: kib
Approved by: re (rwatson)


195697 14-Jul-2009 kan

Second attempt at eliminating .text relocations in shared libraries
compiled with stack protector.

Use libssp_nonshared library to pull __stack_chk_fail_local symbol into
each library that needs it instead of pulling it from libc. GCC
generates local calls to this function which result in absolute
relocations put into position-independent code segment, making dynamic
loader do extra work every time given shared library is being relocated
and making affected text pages non-shareable.

Reviewed by: kib
Approved by: re (kib)


195152 29-Jun-2009 kan

Back out previous revision until better tested fix is ready.

Approved by: re (impliciti, by approving previos check-in)


195151 28-Jun-2009 kan

Eliminate .text relocations in shared libraries compiled with stack protector.

Use libssp_nonshared library to pull __stack_chk_fail_local symbol into
each library that needs it instead of pulling it from libc. GCC generates
local calls to this function which result in absolute relocations put into
position-independent code segment, making dynamic loader do extra work everys
time given shared library is being relocated and making affected text pages
non-shareable.

Reviewed by: kib
Approved by: re (kensmith)


194869 24-Jun-2009 jamie

Add libjail, a (somewhat) simpler interface to the jail_set and jail_get
system calls and the security.jail.param sysctls.

Approved by: bz (mentor)


194564 21-Jun-2009 kan

Compile static gcov library with -fPIC to match what stock GCC builds
are doing. This is required for libgcov.a to be usable on amd64.

Reported by: stas


194158 14-Jun-2009 brian

Don't set $PATH - if the caller doesn't have /bin and /usr/bin in their
PATH then they can expect things to break.

PR: 135417
MFC after: 3 weeks


191910 08-May-2009 sepotvin

Change the internal buffer used to store input lines from a static buffer
to a dynamically allocated one in order to support input lines of
arbitrary length.

Approved by: kan (mentor)
MFC after: 1 month


191517 26-Apr-2009 ed

Remove empty directories from the HEAD.

Discussed with: developers, imp


189834 14-Mar-2009 das

Fix build breakage due to the interplay between r189801 and r189824.
In particular, vendor sources that aren't ready for gnu99 should
still be compiled with gnu89. (Before r189824, these would have
generated warnings if you tried to compile them in gnu99 mode,
but the warnings went unheeded due to -Wno-error.)


189135 28-Feb-2009 das

Define a macro for POSIX.1-2008 here until a future groff import
includes one.


189109 27-Feb-2009 ed

Remove empty directory structure.

Submitted by: Pawel Worach <pawel worach gmail com>


188995 24-Feb-2009 ru

Restore the install location of libssp.so.0.

Noticed by: tegge


188941 23-Feb-2009 raj

Initial gdbserver support for PowerPC.

Obtained from: Juniper Networks, Semihalf


188895 21-Feb-2009 ru

Fix build when WITH_SSP is set explicitly.

Submitted by: Jeremie Le Hen


188583 13-Feb-2009 jkim

Honor WITHOUT_INSTALLLIB in some places.


187907 30-Jan-2009 obrien

For files not named on the command line, only the basename is compared
to the exclude pattern.
Change this so that "grep --exclude='*/.svn/*' -[Rr] foo *" DWIM.

Obtained from: dave+news001@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx (Dave Gibson)
Obtained from: comp.unix.questions [Thu, 15 Mar 2007 18:54:38 +0000]
Obtained from: http://unix.derkeiler.com/Newsgroups/comp.unix.questions/2007-03/msg00046.html


186641 31-Dec-2008 imp

There's no need to redundantly redefine atomicity.h.


186602 30-Dec-2008 kensmith

Remove the /usr/X11R6 paths. It has been long enough since the X stuff
moved to /usr/local.

Checked with: des (last person to have fiddled with this)
MFC after: 1 month


186041 13-Dec-2008 ru

Added FreeBSD 6.4.


186040 13-Dec-2008 ru

Added FreeBSD 7.1.


185924 11-Dec-2008 imp

Push mips support into the tree.


185923 11-Dec-2008 imp

Push mips support for ld into the tree.


185922 11-Dec-2008 imp

Push mips support for as into the tree.


185777 08-Dec-2008 kib

Add strndup(3) prototype to string.h.

This change was erronously ommitted from the r185690, and attempt
to simply add the prototype to string.h has revealed that several
contributed programs defined local prototypes for strndup(), controlled
by autoconfed config.h. So, manually change #undef HAVE_STRNDUP to
#define HAVE_STRNDUP 1. Next import of the corresponding program would
regenerate config.h, overriding the changes in this commit.

No objections from: kan


185023 17-Nov-2008 raj

Initial gdbserver support for ARM.

Obtained from: Juniper Networks, Semihalf


183957 16-Oct-2008 obrien

Document what the sed trick is for.
Remove an embedded <TAB>, and use same style for both files.


183696 08-Oct-2008 des

Enable UTF-8.

MFC after: 1 week


183556 02-Oct-2008 jhb

Oops, initialize sections and sections_end to NULL.

Submitted by: Navdeep Parhar
MFC after: 1 week


183440 28-Sep-2008 marcel

Revert previous commit. The prototype has been moved to unistd.h


183414 27-Sep-2008 kib

Differentiate between interrupt frames, trap interrupt frames and timer
frame in the kgdb, to allow it to properly backtrace over the interrupt
stacks.

Noted and reviewed by: tegge
Tested by: pho
MFC after: 1 week


183384 26-Sep-2008 marcel

Add -D_OSRELDATE_H to CFLAGS to prevent the declaration of
getosreldate() in assembler source files. We still get the
definition of __FreeBSD_version this way, because it's
outside the standard multiple-inclusion protection trick.

All this is specific to ia64.


183359 25-Sep-2008 jhb

Use existing GDB routines for parsing the section table of klds in
the 'add-kld' command instead of doing it more by hand.

MFC after: 1 week


183242 21-Sep-2008 sam

add new build knobs and jigger some existing controls to improve
control over the result of buildworld and installworld; this especially
helps packaging systems such as nanobsd

Reviewed by: various (posted to arch)
MFC after: 1 month


183167 19-Sep-2008 imp

MFP4: Add mips to the list of soft-float platforms.


183166 19-Sep-2008 imp

mfp4: sort the architectures alphabetically...


183165 19-Sep-2008 imp

Prefer the patch in p4 to the patch in svn as it properly sorts the
architectures alphabetically.


183023 14-Sep-2008 marcel

Widen psaddr_t from uintptr_t to uint64_t. This results in an
ABI change on ILP32 platforms and relating to events. However
it's harmless on little-endian ILP32 platforms in the sense
that it doesn't cause breakages. Old ILP32 thread libraries
write a 32-bit th_p and new thread libraries write a 64-bit
th_p. But due to the fact that we have an unused 32-bit data
field right after th_p and that field is always initialized to
zero, little-endian ILP32 machines effectively have a valid
64-bit th_p by accident. Likewise for new thread libraries and
old libthread_db: little endian ILP32 is unaffected.

At this time we don't support big-endian threaded applications
in GDB, so the breakage for the ILP32 case goes unnoticed.


182627 01-Sep-2008 obrien

Add FreeBSD/MIPS support to GCC.


182622 01-Sep-2008 obrien

GDB isn't building on MIPS. Temporarily disable, to revisit soon.


182579 31-Aug-2008 obrien

Turn cc_tools/Makefile and Makefile.tgt into a "linear" read. Shared
parts of the configuration aren't duplicated, and arch-specific exceptions
are made "in-place". Also clean up the FreeBSD/amd64 config a little.


182523 31-Aug-2008 rpaulo

Enable EFI target.
While there, make use of the DEFAULT_VECTOR variable.


181344 06-Aug-2008 dfr

Add an implementation of the RPCSEC_GSS authentication protocol for RPC. This
is based on an old implementation from the University of Michigan with lots of
changes and fixes by me and the addition of a Solaris-compatible API.

Sponsored by: Isilon Systems
Reviewed by: alfred


181167 02-Aug-2008 cognet

Unbreak the arm build, by spelling LIBSRCS correctly.


181148 02-Aug-2008 cognet

Do not build fbsd-threads.c if we're building a cross-debugger.

MFC after: 3 days


180407 10-Jul-2008 peter

Merge gnu cpio 2.6 -> 2.8 changes. Unfortunately, we have massive
conflicts due to radically different approaches to security and bug fixes.
In some cases I re-started from the vendor version and reimplemented our
patches. Fortunately, this is not enabled by default in -current.


180067 27-Jun-2008 obrien

Instead of using .POSIX:, use the cool looking "@:" rule.

Submitted by: ru


180012 25-Jun-2008 ru

Enable GCC stack protection (aka Propolice) for userland:
- It is opt-out for now so as to give it maximum testing, but it may be
turned opt-in for stable branches depending on the consensus. You
can turn it off with WITHOUT_SSP.
- WITHOUT_SSP was previously used to disable the build of GNU libssp.
It is harmless to steal the knob as SSP symbols have been provided
by libc for a long time, GNU libssp should not have been much used.
- SSP is disabled in a few corners such as system bootstrap programs
(sys/boot), process bootstrap code (rtld, csu) and SSP symbols themselves.
- It should be safe to use -fstack-protector-all to build world, however
libc will be automatically downgraded to -fstack-protector because it
breaks rtld otherwise.
- This option is unavailable on ia64.

Enable GCC stack protection (aka Propolice) for kernel:
- It is opt-out for now so as to give it maximum testing.
- Do not compile your kernel with -fstack-protector-all, it won't work.

Submitted by: Jeremie Le Hen <jeremie@le-hen.org>


179859 18-Jun-2008 jhb

Catch up to recentish kgdb changes:
- Use ptid_get_pid() rather than ptid_get_tid() (part of the changes to
let 'tid' work for remote kgdb).
- Add a stub kgdb_trgt_new_objfile() hook.

Silence from: obrien, mips@


179834 16-Jun-2008 kan

Install extra include files that were forgotten in original GCC 4.2.x
import changes.

PR: 124647
Submitted by: Vlad GALU
MFC after: 2 days


179813 16-Jun-2008 dougb

1. Make the BSD version of cpio the default [1]
a. The BSD version will be built and installed unless
WITHOUT_BSD_CPIO is defined.
b. The GNU version will not be built or installed unless
WITH_GNU_CPIO is defined. If this is defined, the symlink
in /usr/bin will be to the GNU version whether the BSD
version is present or not.

When these changes are MFCed the defaults should be flipped.

2. Add a knob to disable the building of GNU grep. This will
make it easier for those that want to test the BSD version in
the ports.

Approved by: kientzle [1]


179325 26-May-2008 kientzle

Install GNU cpio as 'gcpio', symlink to 'cpio' unless WITH_BSDCPIO is
defined.


179162 20-May-2008 obrien

Add Juniper's copyright.


179161 20-May-2008 obrien

MIPS arch target kgdb(1) support.

Obtained from: Juniper Networks.


178994 14-May-2008 ru

Add support for bzip2-compressed manpages.

PR: bin/120730
Submitted by: ighighi AT gmail DOT com
MFC after: 1 week


178993 14-May-2008 ru

Add an ability to run man(1) on local files (the argument should
contain a `/' character); based on the submission in the PR.

PR: bin/120730
MFC after: 1 week


178880 09-May-2008 jhb

Trim unneeded header.


178828 07-May-2008 dfr

Fix conflicts after heimdal-1.1 import and add build infrastructure. Import
all non-style changes made by heimdal to our own libgssapi.


178781 05-May-2008 jhb

Go back to fondling FILE internals.


178757 04-May-2008 marcel

Lower WARNS to avoid warning about type-punned casting.


178755 03-May-2008 marcel

Unbreak build: gnu sort has been configured to grope inside struct
__sFILE. It's opaque now, so add a function that returns the pending
output bytes.

Pointy hat: jhb


178750 03-May-2008 gonzo

Add MIPS to the list of "no TLS" architectures.

Approved by: cognet (mentor)


178713 01-May-2008 jhb

- Change how the vmcore target maps FreeBSD thread IDs to GDB ptids. We
now only use the TID and ignore the PID and use pid_to_ptid() to build a
ptid treating the TID as a PID. The benefit of this is that the vmcore
target now uses the same scheme as GDB's remote targets. As a result,
the 'tid' command now works for remote targets (however, it only accepts
TIDs and not addresses of 'struct thread' objects).
- Use gdb_thread_select() to do the actual thread switch for the 'tid' and
'proc' commands. This now gives the same UI feedback when switching
threads as the GDB 'thread' command rather than providing no visual
output at all.

MFC after: 1 week


178670 29-Apr-2008 jhb

Rework how kgdb manages kernel and vmcore files to be a bit more gdb-ish
so that kgdb can be used more like a normal gdb:
- Load the kernel via the standard 'exec' target and allow it to be changed
via the 'file' command.
- Instead of explicitly loading the kernel file as the mail symbol file
during startup, just pass it to gdb_main() as the executable file.
- Change the kld support (via shared libraries) to cache the address of
the linker_files and linker_kernel_file variables in addition to the
offsets of various members in 'struct linker_file'.
- When a new symbol file is loaded, recompute the addresses and offsets
used by the kld support code.
- When a new symbol file is loaded, recalculate the ofs_fix variable to
account for the different ways a trapframe can be passed to trap
frame handlers in i386. This is done by adding a MD
kgdb_trgt_new_objfile() hook that is empty on all but i386.
- Don't use the directory name of the kernel specified on the command
line to find kernel modules in the kld support code. Instead,
extract the filename of the current executable via exec_bfd. Now
the 'kernel' variable is private to main.c again.
- Make the 'add-kld' command explicitly fail if no executable is loaded.
- Make the support for vmcores a real core-dump target that opens the
kernel and vmcore on open and closes the kvm connection when closed, etc.
- The 'core' command can now be used to select a vmcore to use, either
a crash dump file or /dev/mem for live debugging.
- The 'detach' command can be used to detach from a vmcore w/o attaching
to a new one.
- kgdb no longer explicitly opens a core dump during startup and no longer
has to use an atexit() hook to close the kvm connection on shutdown.
- Symbols for kld's are automatically loaded anytime a core is opened.
Also, the unread portion of dmesg is dumped just as it was done on kgdb
startup previously.
- Don't require either a remote target or core dump if a kernel is specified.
You can now just run 'kgdb kernel' similar to running gdb on an executable
and later connect to a remote target or core dump.
- Use a more relaxed way to verify remote targets specified via -r.
Instead of explicitly allowing a few non-file target specifications,
just assume that if stat() on the arg and on "/dev/" + arg both fail
that is some non-file target and pass it to gdb.
- Don't use a custom interpreter. The existing kgdb_init() hook and the
target_new_objfile() hook give us sufficient hooks during startup to
setup kgdb-specific behavior now.
- Always add the 'proc', 'tid', and 'add-kld' commands on startup and not
just if we have a core dump. Currently the 'proc' and 'tid' commands do
not work for remote targets (I will fix at least 'tid' in the next round
of changes though). However, the 'add-kld' command works fine for
loading symbols for a kernel module on a remote target.
- Always setup the 'kld' shared library target operations instead of just
if we have a core dump. Although symbols for kernel modules are not
automatically loaded when connecting to a remote target, you can do
'info sharedlibrary' after connecting to the remote target and kgdb will
find all the modules. You can then use the 'sharedlibrary' command to
load symbols from the module files.
- Change kthr_init() to free the existing list of kthr objects before
generating a new one. This allows it to be invoked multiple times
w/o leaking memory.

MFC after: 1 week


178666 29-Apr-2008 jhb

- Add a global variable 'fbsdcoreops_suppress_target' that can be set to
force the FreeBSD multithreaded core target to not register any target
for handling core dumps. This is analogous to the
'coreops_suppress_target' variable that GDB provides for suppressing the
default core dump target. KGDB will use this new variable so it can
provide its own core dump target that uses libkvm to work with vmcore
files.
- Adjust the long name and documentation of the FreeBSD multithreaded core
dump target so it better matches what GDB's core dump target uses.

MFC after: 1 week
Reviewed by: davidxu, marcel


178638 28-Apr-2008 jhb

Use kgdb_parse() instead of libkvm(3) to read the first instruction from
"calltrap" to see which method is used to pass trap frames. This seg
faulted on remote gdb connections (where libkvm isn't used).

MFC after: 3 days


178634 28-Apr-2008 jhb

Remove the 'add_kld_command' arg from load_kld(). It is always true since
the auto-loading of kld's switched to hooking into gdb's shared library
support.

MFC after: 1 week


178583 26-Apr-2008 imp

FreeBSD/mips gdb build suspport. From the mips2-jnpr branch.


178433 23-Apr-2008 linimon

Add 'arm' category.

Approved by: peter


178291 17-Apr-2008 marcel

Add support for the 32-bit EFI target.


177715 29-Mar-2008 jhb

Change kgdb_parse() to use wrapped versions of parse_expression() and
evaluate_expression() so that any errors are caught and cause the function
to return to 0. Otherwise the errors posted an exception (via longjmp())
that aborted the current operation. This fixes the kld handling for
older kernels (6.x and 7.x) that don't have the full pathname stored in
the kernel linker.

MFC after: 3 days


177701 29-Mar-2008 jhb

Initialize the head pointer in kld_current_sos() to NULL to avoid returning
a junk pointer and possibly causing a seg fault if we don't have any
non-kernel klds (or are unable to walk the list due to core / kernel
mismatch).

MFC after: 1 week


177408 19-Mar-2008 obrien

Re-enable the CVS build.


177407 19-Mar-2008 obrien

Update for version 1.11-20080310.
Make our changes to CVS_RSH & CVS_SSH settings here instead of
contrib/cvs/src/cvs.h.


177406 19-Mar-2008 obrien

+ Make it clear this was taken from the CVS 1.11 branch on 10-March-2008.
+ Depend on $CVSDIR/configure also - so things get properly remade if we tweak.


177389 19-Mar-2008 obrien

Disable CVS build.


176737 02-Mar-2008 ru

Set AR=gnu-ar and RANLIB=gnu-ranlib on systems where we are forced
to use GNU tools. Remove the _WITH_GNUAR knob.

Prodded by: obrien


176568 25-Feb-2008 jhb

Remove a stale prototype I missed when converting the kld support over to
hooking into gdb's shared library infrastructure.


176556 25-Feb-2008 ru

Make again BSD ar(1) the default system ar(1), now properly handling
source upgrades by falling back to GNU ar(1) as necessary. Option
WITH_BSDAR is gone. Option _WITH_GNUAR to aid in upgrades is *not*
supposed to be set by the user.

Stop bootstrapping BSD ar(1) on the next __FreeBSD_version bump, as
there are no known bugs in it. Bump __FreeBSD_version to anticipate
this and to flag the switch to BSD ar(1), should it be needed for
something.

Input from: obrien, des, kaiw


176530 24-Feb-2008 raj

Let PowerPC world optionally build with -msoft-float. For FPU-less PowerPC
variations (e500 currently), this provides a gcc-level FPU emulation and is an
alternative approach to the recently introduced kernel-level emulation
(FPU_EMU).

Approved by: cognet (mentor)
MFp4: e500


176488 23-Feb-2008 ru

Bump the default .Os version to FreeBSD 8.0.


176441 21-Feb-2008 obrien

If 'WITH_BSDAR' is defined, install as gnu-<util_name>.


176438 21-Feb-2008 kaiw

Back out previous commit. Restore Binutils ar as default. Disconnect
'BSD' ar to the build.

Requested by: des


176437 21-Feb-2008 kaiw

* Connect ar(1) to the build and make it default ar. Rename GNU
binutils ar and ranlib to gar and granlib, respectively.

* Introduce a temporary variable WITH_GNUAR as a safety net.
When buildworld with -DWITH_GNUAR, GNU binutils ar and ranlib
will install as default ones and 'BSD' ar will be disabled.

* Bump __FreeBSD_version to reflect the import of 'BSD' ar(1).

Approved by: jkoshy (mentor)


176407 19-Feb-2008 ru

getopt(3) returns -1, not EOF.


175809 29-Jan-2008 jhb

- Rework the kld support to hook into GDB's shared library support.
kgdb(8) now treats kld's as shared libraries relative to the kernel
"binary". Thus, you can use 'info sharedlibrary' to list the kld's
along with 'sharedlibrary' and 'nosharedlibrary' to manage symbol
loading and unloading. Note that there isn't an easy way to force GDB
to use a specific path for a shared library. However, you can use
'nosharedlibrary' to unload all the klds and then use 'sharedlibrary'
to load specific klds where it gets the kld correct and use
'add-kld' for the kld's where the default open behavior doesn't work.
klds opened via 'sharedlibrary' (and during startup) do have their
sections listed in 'info files'.
- Change the 'add-kld' command to use filename completion to complete its
argument.


175808 29-Jan-2008 jhb

Don't close the kernel bfd object during startup. Instead, leave it open
and build a section table from the kernel file so that 'info files' output
for kgdb now matches the usage of gdb on a regular file with the exception
that we don't list sections for memory in the crash dump.


175807 29-Jan-2008 jhb

Use target_read_memory() and extract_unsigned_integer() instead of direct
KVM access to read kernel pointers.


175806 29-Jan-2008 jhb

Don't look for "foo.ko.symbols" files. GDB is smart enough to open the
".symbols" file automatically when you tell it to load "foo.ko" because of
the debug link.


175775 28-Jan-2008 jhb

Use a for loop in find_kld_address() as in kgdb_auto_load_klds() and
replace the remaining goto's with continues as a result.


175774 28-Jan-2008 jhb

Add support for automatically loading symbols for kld's on startup:
- Add a new 'kgdb_auto_load_klds()' routine which is invoked during
startup that walks the list of linker files and tries to find a matching
kld on disk for each non-kernel kld. If a kld file is found, then it
is added as if the 'add-kld' command is invoked. One change from
'add-kld' is that this method attempts to use the 'pathname' from the
linker_file structure first to try to load the file. If that fails
it then looks in the kernel directory followed by the directories in
the module path.
- Move the kld file suffix handling into a separate routine so that it
can be called standalone and to reduce duplicate code in find_kld_path().
- Cache the offsets of members of 'struct linker_file' during startup
instead of computing them for each 'add-kld'.
- Use GDB's target_read_string() instead of direct KVM access.
- Add all resident sections from a kld by using bfd_map_over_sections() to
build the section list rather than just adding symbols for ".text",
".data", ".bss", and ".rodata".
- Change the 'add-kld' command to do a y/n prompt before adding the
symbols when run interactively to match 'add-symbol-file'.

MFC after: 1 week


175771 28-Jan-2008 jhb

Remove the warnx() from kgdb_lookup() so that we don't emit a warning about
optional symbols that are missing (e.g. kgdb complains about _stoppcbs and
_stopped_cpus on UP kernels). Instead, callers that really want their
symbols to be present now do explicitly warnx() about the missing symbol.


175770 28-Jan-2008 jhb

If the quiet flag is specified (-q), don't dump the unread portion of
the message buffer on startup.


175645 24-Jan-2008 jhb

Move the code for working with kld's out into its own file.


175623 24-Jan-2008 ru

Remove one more alpha leftover.


175452 18-Jan-2008 emaste

Include the thread name (in addition to the proc name) in "info threads."


175416 17-Jan-2008 jhb

Add a new 'add-kld <kld>' command to kgdb to make it easier to analyze
crash dumps with kernel modules. The command is basically a wrapper
around add-symbol-file except that it uses the kernel linker data
structures and the ELF section headers of the kld to calculate the
section addresses add-symbol-file needs.

The 'kld' parameter may either be an absolute path or a relative path.
kgdb looks for the kld in several locations checking for variants with
".symbols" or ".debug" suffixes in each location. The first location it
tries is just opening the specified path (this handles absolute paths and
looks for the kld relative to the current directory otherwise). Next
it tries to find the module in the same directory of the kernel image
being used. If that fails it extracts the kern.module_path from the
kernel being debugged and looks in each of those paths.

The upshot is that for the common cases of debugging /boot/kernel/kernel
where the module is in either /boot/kernel or /boot/modules one can merely
do 'add-kld foo.ko'.

MFC after: 1 week


175384 16-Jan-2008 obrien

Use a phony .POSIX target. This seems to be the way to
turn off the stuff in src/usr.bin/make/main.c rev 1.161.


175291 13-Jan-2008 obrien

Use our standard verbose spelling of rules variables.
(as a nice side affect, this will make gnu/usr.bin/cvs/contrib/Makefile
have a later date than contrib/cvs/contrib/Makefile.in - which will help
the build break after the 1.11.22 CVS import...)


175290 13-Jan-2008 obrien

Disable contrib - there is weirdness going on with it.


175286 13-Jan-2008 obrien

Reenable cvs with the build.


175260 13-Jan-2008 obrien

Disable CVS from the build.


173978 27-Nov-2007 jkoshy

Tweak -lpmc's name.


173767 20-Nov-2007 kensmith

While checking over the libraries for 7.0-REL Kris found the following
libraries had not had their versions bumped relative to 6.3-REL but
had indeed been changed. We need to bump their version so they can be
properly added to the compat6x port:

libasn1.so.8 libgssapi.so.8 libhdb.so.8 libkadm5clnt.so.8
libkadm5srv.so.8 libkafs5.so.8 libkrb5.so.8 libobjc.so.2

MFC After: 1 day


173731 18-Nov-2007 ache

Use LC_ALL=C before awk generating "optionlist"
(and before two other awk calls, just to be safe)
Without it sorting is broken for locales with ASCII collating equivalence
like (v,w) in sv_SE


173705 17-Nov-2007 cognet

Add thread support for arm.

MFC After: 1 week


173700 17-Nov-2007 cognet

There's no reason why we couldn't attach to a live process on arm.

MFC After: 1 week


173681 16-Nov-2007 jhb

Teach kgdb how to handle double fault frames on i386:
- Save td_oncpu in 'struct kthr' so the i386 target code can see which CPU
a thread is running on.
- Add a new frame unwinder for double fault frames. This unwinder is used
when "dblfault_handler" is encountered in the stack. It uses the CPU of
the current thread to lookup the base address of the TSS used for the
double fault from the GDT. It then fetches the various registers out
of the TSS similar to how the current trapframe unwinder fetches
registers out of the trapframe.

MFC after: 3 days


172878 22-Oct-2007 ru

Added ".Lb libkse" support to mdoc(7).

Reviewed by: deischen, davidxu


172656 15-Oct-2007 ru

Introduce FreeBSD 8.0 to mdoc(7).


172609 13-Oct-2007 ru

Back out last commit -- it breaks sparc64 build which has
more than one .c file in SRCS.


172595 12-Oct-2007 obrien

style.Makefile(5)


172594 12-Oct-2007 obrien

Minor tweak to finding BEG/END source.


172593 12-Oct-2007 obrien

style.Makefile(5)


172592 12-Oct-2007 obrien

Welcome FreeBSD 8.


172553 12-Oct-2007 rafan

- After gcc 4.2 import, include/objc/objc-api.h requires objc-decls.h which
we did not install. Install objc-decls.h to fix.

PR: 116943
Reported by: beech
Submitted by: vanilla on -current, kan
MFC after: 1 week


172473 08-Oct-2007 marius

Disable TLS for arm and sparc64 here as binutils 2.15 predate GNU TLS
support for these. This is in line with gnu/lib/libgomp/config.h and
gnu/lib/libstdc++/config.h.

Reviewed by: cognet, obrien
Approved by: re (kensmith)


172434 04-Oct-2007 ru

FreeBSD 6.2 is now known to mdoc.

Approved by: re (kensmith)


172326 26-Sep-2007 marcel

Force -O1 compilation when targeted for ia64. GCC 4 generates
bad code at -O2. Since this is likely caused by the low-level
optimizer, testing TARGET_ARCH rather than MACHINE_ARCH should
handle ia64 cross-compilation as well. With this work-around
in place, we can release using the current GCC and Binutils
code at the default optimization level on ia64.

Approved by: re (kensmith)


172325 25-Sep-2007 edwin

Fix possible uninitialized variable insert due to previous commit.

Pointy hat to: me and my absence of -Wall in my CFLAGS.

MFC will happen at the same time of the earlier commit.

Thanks to ru@ for spotting.

Approved by: re (Ken Smith), grog@ (mentor)


172257 20-Sep-2007 edwin

man(1) can't handle compressed included files.

Some ports will install with compressed manpages. man handles
this by looking for the .gz version of a man source file.
It is also common to include other files with the .so
directive where commands or functions share a man page.
Traditionally ports have had to handle this by either not
compressing the manpages, or using the _MLINKS macro in the
port makefile to create symlinks to the actual source file,
rather than using .so versions. Notably, the current version
of Xorg port breaks. See ports/113096 and ports/115845.

PR: bin/115850
Submitted by: Callum Gibson <callumgibson@optusnet.com.au>
Approved by: re@ (ken smith), grog@ (mentor)
MFC after: 1 week


172244 19-Sep-2007 obrien

Catch up with the demise of /usr/X11R6

Approved by: re(ken)


172243 19-Sep-2007 obrien

Reduce diff to vendor for maintance purposes.

Approved by: re(ken)


172241 19-Sep-2007 thomas

In the case of a native build, set NATIVE to yes so that the code circuits
that need to be activated specifically for the case of a native linker
actually are enabled. Specifically, this makes ld(1) look for shared
libraries in LD_LIBRARY_PATH in the native case, as documented in the
man page.

PR: gnu/96481
Approved by: re (kensmith)
MFC after: 2 weeks


172234 18-Sep-2007 cognet

Make gcc default to big endian when building it for a big endian target.
This was lost while migrating to gcc4.

Reported by: Michael Reifenberger <mike at Reifenberger dot com>
Approved by: re (blanket)


171951 24-Aug-2007 ache

Fix stack overflow with too many items return list in 'dialog' program.
(Noticed in ghostscript-gpl core dump)

Approved by: re@ (bmah)


171924 22-Aug-2007 jhb

NMIs now come from 'nmi_calltrap' rather than 'calltrap', so teach 'kgdb'
to treat the frame under 'nmi_calltrap' as a trapframe.

MFC after: 3 days
Approved by: re (bmah)


171864 16-Aug-2007 kan

Install etx/numeric_traits.h.

PR: gnu/115250
Approved by: re (blanket)


171846 14-Aug-2007 kan

Remove comment that was added by mistakes and which prevented _eprintf
and gcc_bcmp to be added to static libgcc.a.

Approved by: re (kensmith)


170925 18-Jun-2007 rafan

- Bump share library version which were missed in last bump

Reported by: jhb
Discussed with: deischen, des, doubg, harti
Approved by: re (kensmith)


170857 17-Jun-2007 delphij

Fix build on arm: time_t on arm is 64 bits while long is
32 bits, so subsequent compile time assertion:

sizeof inf->stat.st_mtime <= sizeof sec

Would fail because of that. This change is suitable for
general consumption as well, but fix it in our local
patchset as we are near a code freeze.

Submitted by: cognet


170758 15-Jun-2007 delphij

Update build skeleton after diffutils 2.8.7 update.


170209 02-Jun-2007 philip

Don't lie about saved reports.

PR: gnu/89777
Submitted by: edwin
MFC after: 1 day


170156 31-May-2007 kan

Install omp.h file.

Submitted by: Pieter de Goeje (pieter at degoejes dot nl)


170039 28-May-2007 kan

Fix compiles when user chooses to disable both ObjC and C++ support in
GCC.

Reported by: bz


169862 22-May-2007 ru

Don't forget to clean generated ssp.h.


169828 21-May-2007 ru

Back out the addition of -static to LDFLAGS; I'm pretty confident
that the build failure was caused by a computer/sources date/time
mismatch that caused GCC tools to be mistakenly rebuilt again at
an inappropriate time during buildworld, re-linking them against
new libraries instead of host's installed libraries and thus making
them not runnable by the host. Normally they are only built in
the early stage of buildworld (build-tools) that links them against
shared libraries of the host, but if either the system clock or
modification date/time on source files is set incorrectly, make(1)
can be foolished into thinking that tools are stale and will rebuild
them again, now in the "target" environment which is not suitable
for building helper apps that are to be run during buildworld.

OK'ed by: kan


169767 19-May-2007 kan

Fix the fallout from over-zealous obsolete files removal. Use correct
atomicity.h file for arm and powerpc.


169740 19-May-2007 scottl

Work-around for upgrading from a pre-symbol-versioned world.

Blame-to: cperciva


169736 19-May-2007 kan

Do not compile hash_compat.c.


169718 19-May-2007 kan

Update bmake glue to build GCC 4.2.

Also:
Switch FreeBSD to use libgcc_s.so.1.

Use dl_iterate_phdr to locate shared objects' exception frame
info instead of depending on older register_frame_info machinery.
This allows us to avoid depending on libgcc_s.so.1 in binaries
that do not use exception handling directly. As an additional
benefit it breaks circular libc <=> libgcc_s.so.1 dependency too.

Build newly added libgomp.so.1 library, the runtime support
bits for OpenMP.

Build LGPLed libssp library. Our libc provides our own
BSD-licensed SSP callbacks implementation, so this library
is only built to benefit applications that have hadcoded
knowledge of libssp.so and libssp_nonshared.a. When linked
in from command line, these libraries override libc
implementation.


169714 19-May-2007 kan

Remove extern int verbose declaration. It is declared static in the
only file it is used in.


169713 19-May-2007 kan

Fix static/extern mismatch by patching corresponding tdep files
in-place.


169188 01-May-2007 marcel

Add threading support.


167471 12-Mar-2007 kan

Minor Makefile cleanup. Do not use Makefile variables named 'version' and
'target'. Latter is problematic in particular as apparently FreeBSD's
bsd.prog.mk re-defines it under some circumstances. This causes an
unexpected failures like -dumpmachine not working for cc while working
fine for c++.

Do not re-define IN_GCC in multipe places, it gets inherited from
Makefile.in anyway.

PR: gnu/110143
Submitted by: usleepless at gmail


167143 01-Mar-2007 kib

Unbreak the kgdb stepping over the special frames on i386 after rev. 1.117 of
i386/i386/exception.s.

No objections from: marcel


167142 01-Mar-2007 kib

Rename lookup() to kgdb_lookup() and make it global (for use in trgt_i386.c).

No objections from: marcel


166851 20-Feb-2007 emaste

Avoid writing uninitialized stack data into a thread's MMX/SSE state by
first getting the current state with td_thr_getxmmregs_p. Without this,
debugging a threaded app that uses libthr resulted in kernel panics or
spurious SIGFPEs for me.

(As of revision 1.6, sys/i386/i386/ptrace_machdep.c masks off the
reserved bits in the mxcsr register, which prevents the kernel panics.)

Architectures without PT_GETXMMREGS are not affected.

MFC after: 1 week


166638 11-Feb-2007 marcel

Fix PowerPC-targeted cross-builds performed on 64-bit platforms.
Only PowerPC supports both 32-bit and 64-bit targets and the
BFD_DEFAULT_TARGET_SIZE is used by the binutils code to reflect
the preferred ABI. We define BFD_DEFAULT_TARGET_SIZE for all
platforms, but based on the build machine. As such 64-bit build
machines defined BFD_DEFAULT_TARGET_SIZE incorrectly for 32-bit
targets, but since this only affects PowerPC it went unnoticed
for a long time.
The fix is to define BFD_DEFAULT_TARGET_SIZE based on the target
architecture.

PR: amd64/102996
MFC after: 1 month


166361 31-Jan-2007 delphij

Remove GNU gzip left-offs, they are no longer necessary.


166255 26-Jan-2007 delphij

Replace the GNU gzip with a slightly modified NetBSD gzip. The
NetBSD version is a feature-to-feature re-implementation of GNU
gzip using the freely-redistributable zlib and this version is
expected to be mostly bug-to-bug compatible with the GNU
implementation.

- Because this is a piece of mature code and we want to make
changes so it is added directly rather than importing to
src/contrib.
- Connect newly added code to src/usr.bin/ and rescue/rescue
build.
- Disconnect the GNU gzip code from build for now, they will
be eventually removed completely.
- Provide two new src.conf(5) knobs, WITHOUT_BZIP2_SUPPORT and
WITHOUT_BZIP2.

Tested by: kris (full exp-7 pointyhat build)
Approved by: core (importing a 4-clause BSD licensed file)
Approved by: re (adding new utility during -HEAD code slush)


166214 25-Jan-2007 rodrigc

Try to avoid a possible infinite loop when parsing an invalid kernel dump file.

PR: 108229
Submitted by: Jessica Han <jessicah juniper net>
Reviewed by: marcel
MFC after: 1 week


165677 31-Dec-2006 ache

Change RL_LIBRARY_VERSION


165676 31-Dec-2006 ache

Update config


165614 29-Dec-2006 ru

-mdoc knows about FreeBSD 7.0 as well.

Reminded by: ceri


165542 25-Dec-2006 ru

Markup revision.


165541 25-Dec-2006 ru

FreeBSD 5.5 is part of official -mdoc.


165532 24-Dec-2006 ru

Fix markup, remove a dummy BUGS section.


165509 23-Dec-2006 ru

Add missing articles.


164917 05-Dec-2006 ru

Teach mdoc(7) about FreeBSD/arm and FreeBSD 6.3; both needed by the
npe(4) manpage.


164190 11-Nov-2006 jkoshy

MFP4: Add an implementation of the ELF(3) and GELF(3) API set.

Bump __FreeBSD_version.

Reviewed by: jb


164019 06-Nov-2006 obrien

Remove gratuitous white space change.


164018 06-Nov-2006 obrien

Allow one to force with issue with 'TARGET_BIG_ENDIAN'.


163867 01-Nov-2006 philip

Fix vim syntax highlighting. Vim complained about the (comment). The syntax
file is also called "sendpr", not "send-pr".


163583 21-Oct-2006 ru

Bump document date for the previous change.


163582 21-Oct-2006 jmg

Turn on gdbserver for the arch that supports it..


163440 16-Oct-2006 jhb

Trim trailing whitespace.


163439 16-Oct-2006 jhb

Restore the 'proc' and 'tid' commands which allow one to switch to the
first thread in a process or to a specific thread via PIDs and TIDs,
respectively.

Submitted by: kan
Approved by: marcel


163366 15-Oct-2006 ceri

Update the FILES section which has been wrong for some time.

MFC after: 3 days


163365 15-Oct-2006 ceri

Add the sun4v category.

Reminded by: ru
MFC After: 1 re approval


163279 12-Oct-2006 cognet

Don't build the libgcc with functions already included in the libc to
unbreak the build.
We'll switch back to the libgcc functions and get rid of the libsoftfloat
later.


163245 11-Oct-2006 obrien

Document '-w' from main.c rev. 1.11.


163231 11-Oct-2006 trhodes

Add the -P option back, but with a note that it is not supported on FreeBSD.

Requested by: ru


163188 10-Oct-2006 trhodes

grep -P xxx file.txt
"The -P option is not supported"
Removed from the manual page via this commit.

PR: 99831


163147 09-Oct-2006 kmacy

Temporarily add newer copy of tc-sparc.c to build to
support building of sun4v. This can be removed once
the binutils import happens.

Reviewed by: kan
Approved by: rwatson (mentor)


163043 05-Oct-2006 obrien

The ARM platform does the setjmp/longjmp type of exception handling.


162975 03-Oct-2006 imp

Enable gdb on the arm. Some time ago I committed it, but had forgotten to
enable it here.

Noticed by: cognet


162851 30-Sep-2006 ru

Fix build due to the incomplete removal of demangle.h.


162553 22-Sep-2006 kan

Reduce diffs with file generated by FSF configure.


162511 21-Sep-2006 ru

Prepare to pick up manpages from their new location.


162496 21-Sep-2006 kan

Bump __FreeBSD_cc_version in case someone cares for differences between
GCC 3.4.4 and GCC 3.4.6 on -current.


162445 19-Sep-2006 simon

Correct multiple vulnerabilities in gzip(1).

Security: FreeBSD-SA-06:21.gzip


162417 18-Sep-2006 imp

Add additional support for generating code for the arm. There's still
a few issues in other parts of the tree, but those will be resolved
separately.

Submitted by: cogenet@
Reviewed by: kan@, obrien@
MFC After: 5 days


162346 16-Sep-2006 ru

This is not needed since src/gnu/usr.bin/cc/cc_int/Makefile,v 1.34.


162313 15-Sep-2006 ru

Remove vestiges of GNU tar.


162312 15-Sep-2006 imp

A TARGET_CPU_DEFAULT of xscale for arm results in illegal instructions
during buildworld. Comment it out for now.


162304 14-Sep-2006 imp

Remove redundant default vector

Submitted by: ru@


162303 14-Sep-2006 imp

Add cross debug support to arm.

Submitted by: cognet@


162302 14-Sep-2006 imp

fix the build: add missing end of line cont character


162301 14-Sep-2006 imp

scripts for the arm port.

Submitted by: cognet@
Reviewed by: obrien and kan


162300 14-Sep-2006 imp

Fix the build and minor cleanup.


162299 14-Sep-2006 imp

.end -> .endif


162298 14-Sep-2006 imp

Architecture specific portions of gdb for arm.

Submitted by: cognet@


162297 14-Sep-2006 imp

Config file for arm assembler


162296 14-Sep-2006 imp

TARGET_BIG_ENDIAN isn't appropriate here. __ARMEB__ is sufficient and
besides, TARGET_BIG_ENDIAN isn't defined anyway.


162258 12-Sep-2006 kan

Remove redundant defines alerady set by Makefile.fe


162256 12-Sep-2006 obrien

Style sync.


162247 12-Sep-2006 obrien

Move to more global Makefile.tgt vs. having to define in the leaves.


162246 12-Sep-2006 obrien

Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined, and set an ARM
target default.


162244 12-Sep-2006 obrien

Default to big endian ARM if "TARGET_BIG_ENDIAN" is defined (& targeting ARM).


162243 12-Sep-2006 obrien

Craft the FreeBSD/ARM ABI by hacking the New ARM ABI source.

Submitted by: cognet


162242 12-Sep-2006 obrien

Default vector to big endian ARM if "TARGET_BIG_ENDIAN" is defined.


162241 12-Sep-2006 obrien

Build 'ld' supporting a big endian ARM if "TARGET_BIG_ENDIAN" is defined.


162240 12-Sep-2006 obrien

Configure for for big endian if TARGET_BYTES_BIG_ENDIAN is defined.


162219 11-Sep-2006 obrien

Define build 'as' TARGET_BYTES_BIG_ENDIAN if "TARGET_BIG_ENDIAN" is defined.
This is needed for bi-sex architectures.


162209 11-Sep-2006 imp

Fix three whitespace nits.

I think these are from kan@...


161621 25-Aug-2006 jhb

Use the pcb in stoppcbs[] if it is present for threads that were running
on other CPUs in system when a dump is written.

Submitted by: ups
Reviewed by: marcel
MFC after: 3 days


161589 24-Aug-2006 marcel

Add initial support for kgdb(1) on PowerPC.


161578 24-Aug-2006 marcel

Build gdb on PowerPC.


161564 24-Aug-2006 marcel

Add basic support for PowerPC. This excludes kgdb(1).


161560 24-Aug-2006 marcel

Add rs6000 to the architectures on PowerPC. It's needed by gdb(1).


161555 23-Aug-2006 jhb

Remove special handling for PC == 0. With this, kgdb can now properly
unwind across a page fault due to a null function pointer. It does a
better job than ddb now in fact.

Reviewed by: marcel
MFC after: 3 days


161548 23-Aug-2006 ru

Remove alpha-specific stuff.

Approved by: marcel


161517 21-Aug-2006 marcel

Build gperf(1) for/on PowerPC. There's no apparent reason not to
build it and nothing can be found in the commit logs. We won't
know if there are runtime problems, until we build it...


161457 19-Aug-2006 kan

Update libsupc++ to include missing files. This was fixed in libstdc++
a long time ago, but libsupc++ was left out somehow,

PR: gnu/99702
Submitted by: George Mitchell


161282 14-Aug-2006 ru

How stupid of me. :>> doesn't change a modification time.


161281 14-Aug-2006 ru

- Include bsd.own.mk early so existsence check using ${SHAREDIR}
actually works.
- Touch /usr/share/tmac/man.local if it already exists.

MFC after: 3 days


161280 14-Aug-2006 ru

Touch `locale' and `se_locale' if they exist to stop people from
thinking they are obsolete.

Prodded by: kris
Submitted by: des
MFC after: 3 days


161188 10-Aug-2006 obrien

Fix typo.

Submitted by: kevlo


161104 08-Aug-2006 ru

Add FreeBSD 6.2 to the list of known versions.


161009 05-Aug-2006 yar

Add libbsm to the list of our standard libraries.

Approved by: ru


160581 22-Jul-2006 obrien

Add initial platform support.

Submitted by: cognet


160579 22-Jul-2006 obrien

Add ARM platform Makefile for building BFD. We include the New ARM ABI only.
(rev 1.1 was an accidental commit)


160578 22-Jul-2006 obrien

Be consistent in quoting.


160576 22-Jul-2006 obrien

Create a genscripts driver based on the PowerPC one.


160575 22-Jul-2006 obrien

The platform name is ARM not StrongARM.

Submitted by: cognet


160430 17-Jul-2006 ceri

Add the sun4v category.

Requested by: linimon, kmacy
X-MFC: Instant


159355 06-Jun-2006 kan

Garbage collect library we did not compile for ages.


157626 10-Apr-2006 ru

Clean the product of patch(1).


157574 06-Apr-2006 jmg

bring in the necessary changes to make gdbserver compile and work (at
least on i386)... fbsd-* changes started out as s/linux/fbsd/g and then
additional changes to handle different ptrace defines among other things..
(use vfork to eliminate a race for progress group creation)

reg-i386.c is generated by regdat.sh..


157572 06-Apr-2006 jmg

This commit was generated by cvs2svn to compensate for changes in r157571,
which included commits to RCS files with non-trunk default branches.


157315 31-Mar-2006 jmg

remove these vestiges of gdbserver.. It hasn't built in a long time, and
now really belongs in gdb, not binutils.. Plus, these don't resemble what
the new gdbserver looks like.


157190 27-Mar-2006 ache

Upgrade to 5.1


156935 21-Mar-2006 ru

Desupport the *_COLLECT2 no-op.


156854 18-Mar-2006 ru

Convert NO_PROFILE and NO_LIB32 to new style.


156813 17-Mar-2006 ru

Reimplementation of world/kernel build options. For details, see:

http://lists.freebsd.org/pipermail/freebsd-current/2006-March/061725.html

The src.conf(5) manpage is to follow in a few days.

Brought to you by: imp, jhb, kris, phk, ru (all bugs are mine)


156775 16-Mar-2006 ru

NO_MAN is not needed here.


155829 19-Feb-2006 tjr

Correctly locate the character preceeding the matched string in -w
mode when in non-UTF-8 multibyte locales (e.g. EUC, GB2312, etc.).

PR: 91909


155441 07-Feb-2006 jkim

- Add default choice option for --yesno box.
- Reduce trivial code duplications.


155412 07-Feb-2006 davidxu

Introduce a new proc service routine ps_linfo() to get LWP info.


155379 06-Feb-2006 davidxu

1. Eliminate compile warnings.
2. Add command 'thread signal' to print out current thread's signal mask
and pending signals.


154374 14-Jan-2006 ru

Don't pollute output when "make" is run with -s.

Approved by: kan


154261 12-Jan-2006 ru

Remove releases now found in Groff sources.


154043 04-Jan-2006 kan

Add -w parameter which tells kgdb to open kmem-based targets in read-write
mode. This allows one to use kgdb on /dev/mem and be able to patch memory
on a live system. This is identical to what -wcore used to do in previous
gdb versions for FreeBSD.

Requested by: wpaul


153838 29-Dec-2005 dfr

Add a new extensible GSS-API layer which can support GSS-API plugins,
similar the the Solaris implementation. Repackage the krb5 GSS mechanism
as a plugin library for the new implementation. This also includes a
comprehensive set of manpages for the GSS-API functions with text mostly
taken from the RFC.

Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)


153507 18-Dec-2005 ru

Fix a markup nit.

PR: docs/88848
Prodded by: remko


153115 05-Dec-2005 ru

Prepare for MACHINE and hw.machine switching to "pc98" on FreeBSD/pc98.

Reviewed by: nyan


152777 24-Nov-2005 joel

Add entry for 6.1.


152548 17-Nov-2005 ru

doc sweep


151992 03-Nov-2005 delphij

Suggest the user to use 'diff -urN' instead of 'diff -crN'.

Submitted by: Jimmie James <jimmiejaz@gmail.com>
PR: docs/88427


151887 30-Oct-2005 obrien

Locate __FreeBSD_cc_version's value beside __FreeBSD__'s value to make it
easier to keep them in sync.


151857 29-Oct-2005 obrien

Catch up with FreeBSD 7.


151683 26-Oct-2005 marcel

Fix dump of the unread portion of the kernel message buffer.

PR: bin/87964
Submitted by: Frank Mayhar frank at exit dot com


151647 25-Oct-2005 tjr

Fix 'grep -Fw' for encodings other than UTF-8 (RH bug #161700).

PR: 87969
Obtained from: Fedora (Tim Waugh)


151599 24-Oct-2005 obrien

Add vim syntax highlighting support to the send-pr(1) utility.

PR: 35333
Submitted by: Hendrik Scholz <hendrik@scholz.net>


151584 23-Oct-2005 stefanf

Document [:blank:].


151534 21-Oct-2005 jkim

Remove redundant string length check from the previous commit.


151527 20-Oct-2005 jkim

Fix a longstanding buglet in bz-prefixed grep(1).


151505 20-Oct-2005 ru

Remove some conversion leftovers.


151504 20-Oct-2005 ru

Upgrade to Groff 1.19.2.


150991 06-Oct-2005 tjr

Compile with -DHAVE_LSTAT since, for whatever reason, the configure script
shipped with GNU cpio 2.6 fails to test for it.


150777 01-Oct-2005 tjr

Define HAVE_MKFIFO and HAVE_SETLOCALE here since the configure script
apparently fails to do it.


150770 01-Oct-2005 tjr

Update for GNU cpio 2.6.


150668 28-Sep-2005 peter

Unbreak - remove leftover reference to pcb_rflags.


150234 16-Sep-2005 kan

Include <sys/defs.h> to get __ISO_C_VISIBLE definition is one is not
already available.


150233 16-Sep-2005 kan

Do not expose vfwscanf, vswscanf, vwscanf and wcstof functions if
they are not visible from wchar.h.


149977 11-Sep-2005 marcel

Claim frames corresponding to tl(0|1)_intr and tl0_trap as well. I
think that's the lot, but it's hard to understand the exception code
by mere glancing at it.

MFC after: 1 week


149976 11-Sep-2005 marcel

Unwind across intrframes as well. While here, better handle bottom of
stack by claiming the frame when the IP is 0. It's a bit of a kluge,
but avoids screens full of bogus frames.

MFC after: 1 week


149975 11-Sep-2005 marcel

Unwind across intrframes as well.

MFC after: 1 week


149967 11-Sep-2005 marcel

Unwind across trap frames. Handles all entry points, except the EPC
syscall. This is an entry from userland anyway.

MFC after: 1 week


149965 10-Sep-2005 marcel

Unwind across trapframes. All kernel entries are handled.

MFC after: 1 week


149961 10-Sep-2005 marcel

Unwind across trap frames. This adds most of the meat. The sniffer
just needs to be taught about all the other entry points and the
unwinder needs to be taught about the frame variation between them.

MFC after: 1 week


149957 10-Sep-2005 marcel

Unwind across trap frames. This adds most of the meat. The sniffer
just needs to be taught about all the other entry points and the
unwinder needs to be taught about the frame variation between them.

MFC after: 1 week


149955 10-Sep-2005 marcel

Unwind across trap frames. This adds most of the meat. The sniffer
just needs to be taught about all the other entry points and the
unwinder needs to be taught about the frame variation between them.

MFC after: 1 week


149954 10-Sep-2005 marcel

Add a kluge to allow kgdb(1) to inject its own frame sniffer in the
list of frame sniffers so that trapframes can be detected. The kluge
is needed because this version of gdb only supports appending a
sniffer to the list of sniffers and the moment kgdb gets a chance to
add its own frame sniffer, the target's default frame sniffer is
already in the list. Since the default frame sniffer claims any
frame thrown at it, kgdb's frame sniffer never gets to smell (a
process much akin to tasting, but with lesser chance of hurling :-)

This commit adds dummy frame sniffers that never claim a frame and
as such don't fix anything yet. However, we now have frame sniffers
and they are being called, so it's just a matter of adding meat to
the bones and we'll be able to properly unwind across trapframes.

MFC after: 1 week


149910 09-Sep-2005 keramida

Expand a bit the description of the -t option.

Triggered by: Stijn Hoop <stijn@win.tue.nl>
on freebsd-questions


149683 01-Sep-2005 garys

Added ENVIRONMENT section (PAGER, MANPATH, etc.).

PR: docs/84485
Submitted by: garys
Approved by: keramida
MFC after: 3 days


149321 20-Aug-2005 trhodes

Do not place paragraph information post-macro unless required by mdoc(7).


149195 17-Aug-2005 cperciva

Repeatability is Considered Good when building this library, too. (And
I think this is the last one which needs it.)


149172 17-Aug-2005 cperciva

Add -frandom-seed=RepeatabilityConsideredGood to CFLAGS. This makes
this library build repeatably. (This change was made to libstdc++
several months ago; I just realized today that it would help here as
well.)

Approved by: kan


149119 16-Aug-2005 marcel

Fix backtraces. Supply registers from the register window.

MFC after: 3 days


148806 06-Aug-2005 phk

Control rcs inclusion with NO_RCS insted of NO_TOOLCHAIN


148802 06-Aug-2005 marcel

o Remove the obscure tid command, because it does what the thread
command does, but worse.
o Remove the obscure proc command, because it does what the thread
command does, but not unambigously.
o Move the PID to the extra thread info, where it makes sense and
where it doesn't confuse users. The extra thread info holds some
process information, to which the PID belongs.
o Implement the to_find_new_threads target method by having it call
the target beneath us if we're not using KVM. This makes sure that
new threads are found when using the remote target.

o Fix various core dump scenarios:
- Implement the to_files_info target method. Previously the
'info target' command would cause a NULL pointer dereference.
- Don't assume there's a current thread. We're not initialized
in all cases. This prevents a NULL pointer dereference.
- When we're not ussing KVM, have the to_xfer_memory target
method call the target beneath us. This avoids calling into
KVM with a NULL pointer.

MFC after: 1 week


148801 06-Aug-2005 marcel

o As mentioned in the previous commit: make the KVM error buffer
static.
o Register a function with atexit(3) to close the KVM object if
we have one open.
o Show the unread portion of the kernel's message buffer before
presenting the prompt. It's bound to provide some useful info.
o Don't call kgdb_target() twice. It results in having all threads
listed twice.

MFC after: 1 week


148740 05-Aug-2005 phk

let NO_MAN control man
let NO_TOOLCHAIN control rcs
let NO_INFO control texinfo


148739 05-Aug-2005 phk

Respect NO_EXAMPLES


148674 03-Aug-2005 phk

Don't install groff if NO_GROFF


148485 28-Jul-2005 keramida

Spell "currently" correctly.


148297 22-Jul-2005 kensmith

Bump the shared library version number of all libraries that have not
been bumped since RELENG_5.

Reviewed by: ru
Approved by: re (not needed for commit check but in principle...)


148108 17-Jul-2005 wosch

remove myself as maintainer.


148040 15-Jul-2005 rwatson

Hook up libmemstat(3) to the library list in mdoc.local. This will cause
the library description (specifically, -lmemstat) to render properly in
the libmemstat.3 man page.

Submitted by: ru
MFC after: 1 week


147931 11-Jul-2005 kensmith

Adjust for HEAD being 7.0 now.

Approved by: re (implicit)


147570 24-Jun-2005 peter

kvm_openfiles() uses the supplied buffer for storing error messages
in future calls, so we can't free it here. The right place to free the
buffer would be to be after kvm_close(), but we don't do that yet. A
static buffer would work too.

Reviewed by: marcel (who has other plans for this anyway)
Approved by: re


147442 16-Jun-2005 ru

A number of manpages already use ``.Fx 5.5'', define it.

Approved by: re (blanket)


147435 16-Jun-2005 ceri

1. Add the threads and usb categories.
2. Fill in the blanks on the advocacy category.
3. Expand a contraction while I'm in here.

Prodded by: simon (1)
Approved by: re (hrs)
MFC after: 5 days


147229 10-Jun-2005 ru

Clean up after the last change -- remove now stale comment.


147225 10-Jun-2005 des

Remove kludges intended to support src trees with partial obj trees.

Discussed with: ru


147143 08-Jun-2005 simon

Correct directory traversal and race condition vulnerabilities in gzip.

Security: FreeBSD-SA-05:11.gzip
Security: CAN-2005-0988, CAN-2005-1228
Obtained from: Steve Grubb via RedHat, Debian
Approved by: nectar


146929 03-Jun-2005 imp

Tidy up cvs entries


146910 03-Jun-2005 kan

Update bmake glue for GCC 3.4.4.


146820 31-May-2005 tjr

Pass the RE_ICASE flag to re_set_syntax() as appropriate to fix
case-insensitive matching (-i option) in certain multibyte locales.

Obtained from: Fedora


146818 31-May-2005 dfr

Add support for XMM registers in GDB for x86 processors that support
SSE (or its successors).

Reviewed by: marcel, davidxu
MFC After: 2 weeks


146522 23-May-2005 ru

Update for texinfo 4.8.


146208 14-May-2005 tjr

Add a note explaining what local modifications have been made to GNU grep,
and giving advice on importing future releases.


146207 14-May-2005 tjr

Fixed -w handling for EGexecute.

Obtained from: Fedora (Tim Waugh)


146206 14-May-2005 tjr

Automatically disable DFA when processing multibyte input. GREP_USE_DFA
environment variable overrides.

Obtained from: Fedora (Tim Waugh)


146205 14-May-2005 tjr

Better multibyte handling in EGexecute() and Fexecute(). Fixed -Fi for
multibyte input (RH bug #143079).

Obtained from: Fedora (Jakub Jelinek, Tim Waugh)


146204 14-May-2005 tjr

Removed redundant (and incorrect) code in prline. Fixes grep -i --color "",
among other things.

PR: 79063
Obtained from: Fedora (Tim Waugh)


146203 14-May-2005 tjr

Fix background colour problems with --color output (RH bug #138913).

Obtained from: Karsten Hopp via Fedora


146201 14-May-2005 tjr

Fixed a bug in the fgrep patch, exposed by the dfa-optional patch
(RH bug #138558). Removed bogus part of grep-2.5.1-fgrep patch.

Obtained from: Fedora (Jakub Jelinek, Tim Waugh)


146200 14-May-2005 tjr

Fix dfa multibyte character class matching when -i is used (RH bug #123363).

Obtained from: Fedora (Tim Waugh)


146199 14-May-2005 tjr

Remove mb-caching hack.

Obtained from: Fedora (Tim Waugh)


146053 10-May-2005 tjr

This commit was generated by cvs2svn to compensate for changes in r146052,
which included commits to RCS files with non-trunk default branches.


146050 10-May-2005 tjr

Update instructions to match recent import.


146044 10-May-2005 tjr

Update build infrastructure for new GNU regex bits.


146043 10-May-2005 tjr

Merge. Discard local bracket expression collating order patch, since
modern versions of GNU regex already do things the way we want when
multibyte character support is enabled.


146041 10-May-2005 tjr

This commit was generated by cvs2svn to compensate for changes in r146040,
which included commits to RCS files with non-trunk default branches.


145960 06-May-2005 davidxu

Don't try to enable event reporting for core file, it is not writable.


145739 01-May-2005 peter

Turn on libobjc.so for all platforms on -current. It didn't work back
in 1996.


145413 22-Apr-2005 trhodes

Enforce style.Makefile(5).

Glanced at by: ru (some time ago).


145275 19-Apr-2005 jkoshy

Capitalize words in library description.

Submitted by: ru


145256 19-Apr-2005 jkoshy

Bring a working snapshot of hwpmc(4), its associated libraries, userland utilities
and documentation into -CURRENT.

Bump FreeBSD_version.

Reviewed by: alc, jhb (kernel changes)


144923 12-Apr-2005 davidxu

Report events from thread library.


144664 05-Apr-2005 davidxu

Print thread address.

PR: threads/76821


144140 26-Mar-2005 das

Teach libstdc++ about frexpl() and ldexpl().


143901 21-Mar-2005 kientzle

Stop building gtar. Bump __FreeBSD_version to reflect this change.


143900 21-Mar-2005 kientzle

Ooops. Correctly disable "tar"->"gtar" link.

Thanks to: Simon L. Nielsen, who was the first of
several people to point this out. <sigh>


143889 20-Mar-2005 kientzle

Deorbit gtar, step 1: Remove WITH_GTAR knob.
"tar" is now always a synonym for "bsdtar".
People who need gtar can access it as "gtar."

Approved by: No objections on arch@


143046 02-Mar-2005 marcel

Implement and document the -q and -f options with their corresponding
long form (-quiet and -fullname resp.) Bump documentation date.

PR: bin/78031
MFC after: 5 days


142954 01-Mar-2005 obrien

.It the -v option.


142189 21-Feb-2005 ru

Fixed compilation warnings.


142154 20-Feb-2005 kan

Restore r1.2 change to use TARGET_ARCH.

Submitted by: kris


142151 20-Feb-2005 kan

Attempt to make kgdb little more useful and easy to use. Properly initialize
it to recognise what ABI to use on amd64 (and possibly others) platform.
Display PID and process name as a part of the 'info threads' output, TIDs
alone are too confusing. Introduce new commmands 'tid <tid>' and 'proc <pid>'
to accompany gdb's default 'thread <thread num>' to make the task of switching
between different contexts easier.


141946 15-Feb-2005 ru

Expand contractions.


141941 15-Feb-2005 marcel

Remove mention of the -k and -wcore options because they don't
exist anymore.

PR: doc/70943
Submitted by: Jun <junsu at delphij dot net>
Reviewed by: delphij


141911 14-Feb-2005 obrien

Use the system gnuregex library vs. building GNU regex bits into libiberty
and using them.

Reviewed by: marcel,imp
Desired by: ache


141847 13-Feb-2005 obrien

Fix regression in output with -R compared to previous version.

PR: 77466
Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>


141846 13-Feb-2005 ru

Expand *n't contractions.


140864 26-Jan-2005 kan

More math functions.

Prodded by: stefanf


140861 26-Jan-2005 kan

We have floorl() now. Reflect this in the library config file.


140860 26-Jan-2005 kan

Of all templates only lists need a special implmementation file compiled
to support __GLIBCXX_DEBUG. Add debug_list.cc to the list of files to
compile.


140805 25-Jan-2005 ru

libpam is now standard.


140410 18-Jan-2005 ru

Sort sections.


140409 18-Jan-2005 ru

Fold two ENVIRONMENT sections into one.


140372 17-Jan-2005 cperciva

Add -frandom-seed=RepeatabilityConsideredGood to CFLAGS for building this
library. As the value suggests, this allows the library to be built repeatably;
without this flag, gcc uses a random value in its parsing.

Since the random seed is only used when handling files which do not have any
externally-visible symbols, this change is not needed for any other libraries
in the FreeBSD base system.

Discussed on: freebsd-arch (in early November)
Approved by: kan
MFC after: 1 week


140368 17-Jan-2005 ru

Added the EXIT STATUS section where appropriate.


140175 13-Jan-2005 ru

Markup nits.


140071 11-Jan-2005 peadar

When grabbing registers for an lwp, fake the inferior's pid using the
lwp ID before invoking the underlying target operation.

For corefiles, we rely on gdb internals to do this, and it uses the
pid as an index, rather than the lwpid, so previously, backtraces
for multithreaded core files wasn't working correctly. For processes,
we currently use ptrace directly, so fixup that code to also use
the pid directly.

Discussed With: marcel, davidxu
MFC After: 4 days


139943 09-Jan-2005 ru

Scheduled mdoc(7) sweep.


139719 05-Jan-2005 ceri

Add a usb category for USB PRs.

Requested by: Craig Rodrigues on behalf of usb@
MFC After: 1 day


139669 04-Jan-2005 phantom

Fix 'redraw' of checklist box. It is occurs in situation when size of
checklist box is strictly set via command line, but amount of checklist
items less than height of checklist box. In this case bottom part
of box was not redrawn (occurs when passing focus behind of 'Cancel' button
while configuring any FreeBSD port OPTIONS)

MFC after: 3 days


139411 29-Dec-2004 keramida

A lot of people may want to submit PRs from systems that are not
connected to the Internet or systems that do not have a correctly
configured email subsystem. Now that the send-pr web interface has
antispam protection, mention that it is ok to use it for submitting
problem reports.

Ok by: linimon
Submitted by: Rob <spamrefuse@yahoo.com> on freebsd-doc


139119 21-Dec-2004 ru

NOHTML -> NO_HTML


139113 21-Dec-2004 ru

NOCRYPT -> NO_CRYPT


139112 21-Dec-2004 ru

NOSHARED -> NO_SHARED


139106 21-Dec-2004 ru

NODOCCOMPRESS -> NO_DOCCOMPRESS
NOINFO -> NO_INFO
NOINFOCOMPRESS -> NO_INFOCOMPRESS
NOLINT -> NO_LINT
NOPIC -> NO_PIC
NOPROFILE -> NO_PROFILE


139103 21-Dec-2004 ru

Start the dreaded NOFOO -> NO_FOO conversion.

OK'ed by: core


139007 18-Dec-2004 ru

Uncomment an upcoming 5.4-RELEASE.


138997 18-Dec-2004 jkoshy

Uncomment entries for FreeBSD 6.0 and 4.11.

Requested by: ru


138667 10-Dec-2004 kensmith

Add removal of MKTEMP_SH_FUNCTION to processing for cvsbug script.

Approved by: peter (a while ago)
MFC After: 1 week


138383 05-Dec-2004 marcel

Source changes to allow building a cross-debugger. Move solib.c and
solib-svr4.c to the MD makefiles because they are native files for
alpha and sparc64, but target files for amd64, i386 and ia64.

Note that kgdb(1) does not yet build as a cross-debugger due to
libkvm.


138380 05-Dec-2004 marcel

Fix previous commit. GDB_CROSS_DEBUGGER needs to be defined for all
subdirectories.


138215 30-Nov-2004 marcel

Makefile (only) changes to allow building a cross debugger.


138213 30-Nov-2004 marcel

s/MACHINE_ARCH/TARGET_ARCH/. We use TARGET_ARCH to pick the MD files
for libgdb and should do so here as well.


137993 22-Nov-2004 joerg

[Sorry, forgot to commit my source changes in my previous commit.]
Document all options and general usage.

Implement the -a option to bump the annotation_level. This improves
the Emacs gud behaviour. You can now supply the following function

(defun gud-gdb-massage-args (file args) (cons "-a" args))

(e.g. by evaluating it from the *scratch* buffer) and get the normal
jump to the source window when browsing the stack.

We should probably eventually supply our own kgdb submode to gud.el.


137992 22-Nov-2004 joerg

Document all options and general usage.

Implement the -a option to bump the annotation_level. This improves
the Emacs gud behaviour. You can now supply the following function

(defun gud-gdb-massage-args (file args) (cons "-a" args))

(e.g. by evaluating it from the *scratch* buffer) and get the normal
jump to the source window when browsing the stack.

We should probably eventually supply our own kgdb submode to gud.el.


137990 22-Nov-2004 joerg

Fix the abuse of Ar macros for designating flag options, use Fl instead.


137731 15-Nov-2004 davidxu

Always set current thread when activating thread debugger,
the current thread may already be added by fbsd_find_new_threads,
this can result that current thread is not set correctly.


137465 09-Nov-2004 keramida

The correct name of the long option is --line-buffered,
not --line-bufferring.

PR: docs/72985
Submitted by: John Engelhart <johne@zang.com>
MFC after: 1 week


137441 09-Nov-2004 marcel

Whitespace fix.


137440 09-Nov-2004 marcel

Prepare for a subsequent import: If the first letter of the filename
changes, start on a new line. Insertion of a filename will keep the
diff limited to the block of filenames that have the same first letter
instead of creating a huge diff. While here, move remote.c after the
remote-*.c files and move tui.c after the tui-*.c files. This matches
the order of ls(1) and makes it easier to compare object files created
by a stock gdb(1) build with the list of files we have here.

This is a non-functional change only.


137361 07-Nov-2004 kan

Remove trailing whitespace.

Pointed out by: ru


137334 07-Nov-2004 kan

Reconnect c++filt to the build.


137333 07-Nov-2004 kan

Unbreak c++filt. It was disconnected from the build and never fixed during
GCC 3.4.2 work unintentioanlly.

Reminded by: bms


136910 24-Oct-2004 ru

For variables that are only checked with defined(), don't provide
any fake value.


136679 18-Oct-2004 ru

Utilize SCRIPTS.


136666 18-Oct-2004 ru

Replaced afterinstall: with FILES.


136661 18-Oct-2004 ache

Update to readline 5.0


136658 18-Oct-2004 ache

Back out termcap -> ncurses change in LDADD/DPADD
It expand functions scope too wide


136657 18-Oct-2004 ache

Upgrade to 5.0


136654 18-Oct-2004 ache

Upgrade to 5.0


136653 18-Oct-2004 ache

Update for 5.0


136027 01-Oct-2004 kensmith

Bump the library version numbers for the following libraries:

/lib/{libm,libreadline}
/usr/lib/{libhistory,libopie,libpcap}

in preparation for doing the same thing to RELENG_5. HUGE amounts of
help for determining what to bump provided by kris.

Discussed on: freebsd-current
Approved by: re (not required for commit but something like this should be)


135944 29-Sep-2004 peter

We *need* the pic libobjc library for amd64. It is needed for ia64 as
well, but I'll let Marcel decide whether he wants to build a .so or not.

Without this, building certain ports that use objc have fatal errors.


135909 28-Sep-2004 peter

Make cvsbug(1) actually work instead of aborting due to missing configure
script substitution markers.


135908 28-Sep-2004 peter

Fix the embedded version string in cvs and cvsbug. This breaks scripts
that parse it.

PR: 72139
Submitted by: Eugene M. Kim <gene@nttmcl.com>


135463 19-Sep-2004 ru

Style.


135286 16-Sep-2004 peter

Be explicit about which regex.h file we are including. This reduces the
need for hack workarounds in tools/lib32/build32.sh.


135246 14-Sep-2004 ceri

Use a safe temporary file for saving out the PR if send-pr is
interrupted.

MT5: 7 days
MT4: 7 days


135029 10-Sep-2004 ru

Fix a problem mentioned in the previous revision in a different,
non-intrusive way. This should also fix the PowerPC build that
broke due to this change.


135011 09-Sep-2004 obrien

Add the .h files to the .o dependency lists so the .h's are created before
trying to build the .o's.


134686 03-Sep-2004 brooks

If the argument to the -r flag starts with a ':' or a '|', don't try to
make sure it is a device. GDB special cases these prefixes and treats
:#### as a tcp port on localhost and executes what ever follows '|'.

This allows kgdb to debug via dconschat.

Discussed with: marcel


134596 01-Sep-2004 ru

Add atomicity.cc to CLEANFILES.


134154 22-Aug-2004 davidxu

Only compile fbsd-thread.c on amd64 and i386, other architectures
have not been tested yet.


134152 22-Aug-2004 davidxu

Fix comments, most are style fix.


134149 22-Aug-2004 davidxu

Fix some text messages.


134147 22-Aug-2004 davidxu

Add code to support statically linked binary and .core file of threaded
program.


134009 19-Aug-2004 ru

Meet the 6.0-CURRENT era. While here, teach mdoc(7) about the upcoming
FreeBSD 4.11-RELEASE.


133956 18-Aug-2004 ru

A fix from rev. 1.52 of gnu/usr.bin/cc/cc_tools/Makefile was lost
in rev. 1.57. Fix this regression by making cc_tools a new-style
build-tool in Makefile.inc1. For details of what has been fixed,
please see the gnu/usr.bin/cc/cc_tools/Makefile,v 1.52 commit log.

Caught this by accidentally touching param.h while in the process
of cross-buildworld for amd64.


133739 15-Aug-2004 marcel

Improve the usage. Without any arguments, kgdb(1) works on /dev/mem
with the currently running kernel image. Otherwise, one of -c, -n or
-r is expected for working on a particular core file (-c), working
on a saved dump (-n) or working remotely (-r). When working on a
saved dump, a kernel may be omitted.
For a remote debugging session (-r), kgdb(1) will use the specified
device.


133707 14-Aug-2004 kan

Add libgcov, a runtime support library for binaries compiled for basic
block profiling.


133610 13-Aug-2004 tjr

Bring in fix from gzip 1.3.3 to avoid crashes when processing certain corrupt
input files:

1999-06-25 Paul Eggert <eggert@twinsun.com>

* inflate.c (huft_build):
Set n to length of v, to detect improper tables.
Don't accidentally grow j past z.

MFC after: 3 days


133581 12-Aug-2004 kan

Consolidate libiberty files in one place and avoid listing some
of them in several places.

Noticed by: bsdimp


133552 12-Aug-2004 tjr

Change version string to distinguish our modified version of GNU grep
from the original.


133551 12-Aug-2004 tjr

Update version strings to better reflect reality.


133549 12-Aug-2004 tjr

Hook xalloc-die.c up to the build.


133432 10-Aug-2004 davidxu

Initialize thread_db module.


133346 08-Aug-2004 davidxu

Initialize thread_db module.


133345 08-Aug-2004 davidxu

1. Add some code check if thread suspending or resuming is failed.
2. Add code to retrieve thread tls address.


133196 06-Aug-2004 cperciva

Join the 21st century: Cryptography is no longer an optional component
of releases. The -DNOCRYPT build option still exists for anyone who
really wants to build non-cryptographic binaries, but the "crypto"
release distribution is now part of "base", and anyone installing from a
release will get cryptographic binaries.

Approved by: re (scottl), markm
Discussed on: freebsd-current, in late April 2004


133103 04-Aug-2004 kan

Add missing patch which was forgotten during GCC 3.4.2 import. libgcc.a
gets most of it content back now, when symbols from LIB2FUNCS are actually
compiled.

Noticed by: Steve Kargl <gk at troutmask dot apl dot washington dot edu>
Pointy hat to: kan


133057 03-Aug-2004 ru

Whitespace nit.

OK'ed by: kan


132887 30-Jul-2004 kan

Fix a copy and paste error. Do not include errors.c in libgcc_int.a,
it is only used by build tools.

Submitted by: grehan


132754 28-Jul-2004 kan

Add NO_WERROR here. Binutils as does not compile cleanly with GCC 3.4.x.


132751 28-Jul-2004 kan

Bmake glue for GCC 3.4.2-prerelease.


132750 28-Jul-2004 kan

We generate this file from config.h automatically.


132625 25-Jul-2004 marcel

Hook kgdb into the build.


132624 25-Jul-2004 marcel

Add the beginnings of kernel debugging support. the kgdb(1) tool
is basicly a shell on top of libgdb that knows about kernel threads,
kernel modules and kvm(3). As the word "beginnings" implies, not
all of the features have been implemented yet. The tool is useful
and I'd like feedback on the taken route.

The simplest way to debug a kernel core file is:
kgdb -n 0

This opens /var/crash/vmcore.0 with the corresponding kernel in
the object directory (kernel.debug is used if it exists).

Typical things that need to be added are:
o Auto loading of kernel modules,
o Handling of trapframes so that backtraces can be taken across
them,
o Some fancy commands to extract useful information out of a core
file,
o Various (probably many) other things.


132300 17-Jul-2004 marcel

o ps_pd{read|write} and ps_pt{read|write} are obsolete interface
functions. Only ps_p{read|write} remains.
o Remove ps_getpid. We don't need it now.


132281 17-Jul-2004 kientzle

Make bsdtar the default system tar. This makes /usr/bin/tar a symlink
pointing to /usr/bin/bsdtar by default. To make it point to /usr/bin/gtar,
you can define WITH_GTAR.


132244 16-Jul-2004 davidxu

ptrace's first parameter is command not pid. pointy hat to me.


132238 16-Jul-2004 marcel

Update config.h to account for the prgregset_t and psaddr_t types
that have been added to <sys/procfs.h>. This change has no effect
because the source file that would be affected is not compiled on
FreeBSD. Hence, this is for completeness only.


132179 15-Jul-2004 davidxu

Add libthread_db assisted debugging support module.


131832 08-Jul-2004 obrien

MAJOR cleanup of the Bmake framework.
This includes removing all vestiges of the old not-really supported
ability to build cross tools targeting non-FreeBSD systems, such as
m68k Lynx and NetBSD. Move as much duplicated code from platform
Makefiles into the shared Makefiles. Add a simple mechanism for
specifying ELF 'ldscripts'. Also share as many .h files as possible
(now a single bfd.h vs. one per platform).


131746 07-Jul-2004 ru

Build things in dictionary order.


131727 06-Jul-2004 obrien

Prepare for upcoming Binutils house cleaning.


131663 06-Jul-2004 ache

Update to match recent import


131578 04-Jul-2004 tjr

Fix bug causing `[' to be wrongly included in character class expressions
in some multibyte locales (Red Hat bug #108484).

Obtained from: Fedora (Tim Waugh)


131576 04-Jul-2004 tjr

Make grep run much (~10x) faster in multibyte locales by caching the wide
character representation of input data across calls to dfaexec(), and by
caching the lengths of character across calls to check_multibyte_string().

Obtained from: Fedora (Tim Waugh)


131569 04-Jul-2004 tjr

Avoid accessing accessing memory past the end of mb_properties in the
degenerate case of fgrep with an empty pattern in a multibyte locale.
Found by phkmalloc.


131564 04-Jul-2004 tjr

Improve case-insensitive matching in multibyte locales.

Obtained from: Isamu Hasegawa (IBM) via Fedora


131563 04-Jul-2004 tjr

Fix failure of fgrep to report some matches (Red Hat bug #116909).

Obtained from: Fedora (Tim Waugh)


131561 04-Jul-2004 tjr

Use hard_locale() to check whether collating order is "hard" regardless
of whether NLS is enabled.


131560 04-Jul-2004 tjr

Ignore ENABLE_NLS when deciding whether we can use setlocale().
Use the same shortcut as glibc to test for the "C" or "POSIX" locale.


131558 04-Jul-2004 tjr

Update for grep 2.5.1.


131557 04-Jul-2004 tjr

Merge local changes.


131555 04-Jul-2004 tjr

This commit was generated by cvs2svn to compensate for changes in r131554,
which included commits to RCS files with non-trunk default branches.


131547 04-Jul-2004 tjr

Fix regression in new version of GNU regex code: bracket expressions
like [X-Y] should match all characters between X-Y according to the
locale's collating order, not by binary value. For now, this only fixes
the !MBS_SUPPORT case (which is the default).


131546 04-Jul-2004 tjr

Merge local changes (addition of $FreeBSD$).


131544 04-Jul-2004 tjr

This commit was generated by cvs2svn to compensate for changes in r131543,
which included commits to RCS files with non-trunk default branches.


131490 02-Jul-2004 ru

Mechanically kill hard sentence breaks.


131472 02-Jul-2004 ru

Removed trailing whitespace.


131454 02-Jul-2004 tjr

Hook strnlen.c up to the build - the i18n patch uses it.


131452 02-Jul-2004 tjr

Update build infrastructure for sort from GNU coreutils 5.2.1.


131173 27-Jun-2004 marcel

Removed. It was used for building gdb docs, which we don't do here
anymore.


131172 27-Jun-2004 marcel

We don't have to reach into binutils/doc anymore for inc-hist.diff
The file was repo copied into our doc directory.


131131 26-Jun-2004 bde

Fixed world breakage in the NOSHARED=yes case (missing library).

Fixed some style bugs.


131090 25-Jun-2004 obrien

GDB has moved up one level.


131089 25-Jun-2004 marcel

Hook gdb into the build. Exclude gdb on arm and powerpc as support
does not exist yet. The NO_GDB knob is respected.


131088 25-Jun-2004 marcel

Remove building gdb info files. The gdb info files are built as part
of building gdb itself, which has been decoupled from binutils for
as much as is reasonable.


131087 25-Jun-2004 marcel

Add bmake glue for gdb 6.1.1. Supports alpha, amd64, i386, ia64
and sparc64.

Note that the debugger doesn't support threading, nor kernel
debugging yet.


130957 23-Jun-2004 obrien

Turn back on the building of GDB info files.


130862 21-Jun-2004 obrien

This should be the right set of docs sources.


130859 21-Jun-2004 obrien

Disable building of GDB info files until the gdb6 upgrade is finished.


130771 20-Jun-2004 obrien

With tmm's latest change to the sparc64 dynamic loader, we can remove this
hack to binutils and use the stock sparc64 sources.


130757 20-Jun-2004 obrien

Our 'TOOLS_PREFIX' and not 'DESTDIR' matches what the stock GNU build
framework wants.


130754 19-Jun-2004 marcel

Update to binutils 2.15.


130751 19-Jun-2004 marcel

Seperately add regex.c and splay-tree.c to SRCS. They are both needed
by gdb(1). While here, sort SRCS.


130747 19-Jun-2004 marcel

Add the necessary branding of ELF files. This is relatively easy to
achieve on ia64, because we need to generate the ELF64/ia64 code and
simply tag elf-fbsd-brand.c at the end of it.

This hasn't actually been tested beyond trivial compilation testing.
A buildworld has been started and it's time I wait for my changes to
loop back to my local repo anyway. I'll get back to this in a couple
of hours...


130746 19-Jun-2004 marcel

Add bfdwin.c to SRCS. The file contains support for mmap(2) windows
into a BFD. It's included in stock BFD on the platforms I checked
(i386 and ia64).


130743 19-Jun-2004 marcel

Move the elf32-target.h and elf64-target.h targets from the MD
makefiles to the centralized makefile. This not only reduces
duplication, it also makes the MD quirks stand out better and
thus improves maintenance.


130740 19-Jun-2004 marcel

Update to binutils 2.15:
o BFD_VERSION_DATE now reflects the release date of 2.15,
o BFD_VERSION now has the correct version number.

Previous values reflected 2.14.92 from a week prior to release.

While here, fix a whitespace (tab) nit.


130739 19-Jun-2004 marcel

Update to binutils 2.15:
o HAVE_SEEKO and HAVE_TELLO are defined now. These are used in bfdio.c.
o HAVE_STRTOULL is defined now. This is used in bfd.c.


130736 19-Jun-2004 marcel

Update to binutils 2.15.


130635 17-Jun-2004 obrien

Commit a crude hack so we get sparc64 snapshots working again with a
stable ld.so. We need to revisit the rtld-elf/sparc64/rtld_start.S
rev. 1.5 and rtld-elf/sparc64/rtld_machdep.h rev. 1.5, which was
suppose to allow stock Binutils 2.13 (and later) to be used.


130575 16-Jun-2004 obrien

Updated Bmake framework for Binutils 2.15.


130558 16-Jun-2004 obrien

Disable gdb from the build due to the impending binutils 2.15 import.
GDB 5.12 cannot consume the 2.15 bfd and libiberty.


130352 11-Jun-2004 obrien

Sperate out the MD parts of kvm-fbsd to get rid of the #ifdef maze.
Also quiet some warnings by tweaking the included headers.


130325 11-Jun-2004 peter

Revise previous commit - I managed to mess up a 1-line change and broke
amd64 world. The csu code evalues this Makefile with a different origin.


130324 10-Jun-2004 peter

The gcc/config/i386/freebsd64.h file neglects to override the default
(bogus, application name space) mcount function name on amd64. Override
it here instead.

I've done it this way to avoid touching gcc source while 3.4 is in
progress, and this is the smallest, lowest impact I could come up with.
Adding a patch touches about 10-14 lines of Makefile, this touches only 1.
This will likely go away with the 3.4 import.

I spoke with Alexander about this a few days ago, but waited until after
sorting out some of the other bugs in the userland profiling.


130308 10-Jun-2004 peter

Turn cvs back on after import; that was less painful than I expected.


130302 10-Jun-2004 peter

Turn off cvs while import/merging.


130047 04-Jun-2004 kientzle

Have /usr/bin/tar be a symlink to /usr/bin/gtar rather
than a hardlink. This will make it easier for people
to tell which system tar they're currently using.


129828 29-May-2004 kan

Remove componenst which are not part of GCC 3.3 and which are not likely
to get used again in the future.


129092 10-May-2004 obrien

Use pcbp->pcb_ufp for UltraSparc vs. ->pcb_fp.


128866 03-May-2004 obrien

Restore vendor Id.


128865 03-May-2004 obrien

Tweak to rev 1.8 to match the offical http://www.gzip.org/gzip-1.2.4b.patch


128849 02-May-2004 obrien

Gzip assumes 'unsigned long' is 32-bits wide and depends on this.
One thing Gzip does is implicitly by store the size of a file into an
'unsigned long' rather than explicitly compute the remainder modulo 2^32
(see RFC 1952 section 2.3.1 "ISIZE"). Thus an extracted file size is
does not equal the original size (mod 2^32) for files larger than 4GB.

This manifests itself in errors such as:
zcat: bigfile.gz: invalid compressed data--length error

PR: 66008, 66009
Submitted by: Peter Losher <Peter_Losher@isc.org>
Patch by: tjr


128811 02-May-2004 tjr

Apply patch from gzip web page to correctly decompress files larger than
4GB on architectures with 64-bit long integers.


128527 21-Apr-2004 obrien

What is CVS doing to me??


128481 20-Apr-2004 obrien

Add missing unique bits from libI77 v3.3.3's config.h.in.
The GCC developers separated out the configure header between libU77 and
libI77 and FreeBSD didn't keep up with the change. So now this header needs
to be a superset of both sublib's configuration specification.

Notably this commit causes ftruncate(), fseeko(), and ftello() to be used.

PR: 22635


128479 20-Apr-2004 obrien

Updated config.h for f77 3.3.3.


128475 20-Apr-2004 obrien

Add "subscribe out of range" support.


128405 18-Apr-2004 obrien

Revert rev 1.21 which configured with --enable-64-bit-bfd.
GDB 5.2 can't handle a 64-bit BFD on a 32-bit host.
We can revisit configuring with --enable-64-bit-bfd when we get a modern GDB.


128310 16-Apr-2004 ru

Removed local bits that are now part of the standard mdoc(7) package.


128289 15-Apr-2004 ru

Whitespace nit in previous revision.


128274 15-Apr-2004 peter

Update bmake glue for cvs-1.11.15, with apologies to Jacques for messing
up his day. The *.patch files are still fine for MFC'ing.


128265 15-Apr-2004 peter

Turn off cvs build for a few hours while importing.


128243 14-Apr-2004 nectar

Patch vulnerabilities in the CVS client and server:

A malicious CVS server could cause your CVS client to overwrite
arbitrary files (CAN-2004-0180).

When a CVS client uses the `-p' checkout option, the server could be
fooled into checking out files from outside the given $CVSROOT.

(This patch is applied in an unorthodox manner so as not to complicate
a later vendor import of CVS.)


128180 13-Apr-2004 ru

Added FreeBSD 5.2.1, just in case.


128179 13-Apr-2004 ru

Added upcoming 4.10 and 5.3 releases.

Reminded by: marcel


127918 05-Apr-2004 ceri

Add a new threads category.

PR: gnu/65209
Submitted by: Craig Rodrigues <rodrigc@crodrigues.org>
Discussed with: julian,deischen
MFC after: 1 day


127185 18-Mar-2004 dannyboy

Get rid of a spurious "the".

PR: 64081
Submitted by: Chris Pepper <pepper@reppep.com>
MFC after: 1 day


127161 18-Mar-2004 obrien

Configure as --enable-64-bit-bfd.


127138 17-Mar-2004 obrien

I accidently spammed rev. 1.18, back out rev 1.19.


127104 17-Mar-2004 obrien

Avoid the whole -I${DESTDIR}/usr/include/gnu issue by including
<gnu/regex.h> vs. just <regex.h>.


127009 15-Mar-2004 ru

gasp(1) isn't linked with -lgnuregex, and it doesn't need <gnu/regex.h>
either.

Reviewed by: obrien


126688 06-Mar-2004 ru

Just pass -DCRT_BEGIN as an option to mkdep(1), no need to override
the entire command.


126658 05-Mar-2004 ache

Back out attempt to bypass contrib's getopt.h on the way,
it makes cross-build fail.
Prefer invisible incorrect -current build to visible failure.


126622 05-Mar-2004 ache

Move -I${DESTDIR}/usr/include/gnu up, before
-I${DESTDIR}/usr/include to pick correct regex.h


126616 04-Mar-2004 ache

Add -I${DESTDIR}/usr/include before -I${SRCDIR}/include to pick right
getopt.h (as workaround until it will be removed from contrib)


126558 03-Mar-2004 ru

Fixed "make clean".


126435 01-Mar-2004 ache

Merge conflicts, upgrade


126433 01-Mar-2004 ache

This commit was generated by cvs2svn to compensate for changes in r126432,
which included commits to RCS files with non-trunk default branches.


126343 28-Feb-2004 ache

Use system getopt_long*


126268 26-Feb-2004 bde

Rremoved bogus -static from CFLAGS. Makeworld will add -static in the
correct place if needed and possible. Self-hosted builds can just use
the system default.


126266 26-Feb-2004 bde

Backed out the residue of rev.1.13 (bogus addition of -static to CFLAGS).
Makeworld will add -static in the correct place if needed and possible.
Self-hosted builds can just use the system default.

Fixed some nearby style bugs (code unrelated to its comment, and comment
formatting).


126257 26-Feb-2004 eric

Test data before using it.

Of course, libdialog is still chock-full of similar bugs, but it's been
multiple years and no one has any better suggestions so the bugs will just
be dealt with case-by-case.

PR: 28221


126228 25-Feb-2004 johan

Fix style bug in last commit,
add a tab after WARNS?=.

While I'm here fix other style bugs.

Submitted by: bde (libbdf/Makefile)


126224 25-Feb-2004 ache

Change warning hint to be more useful


126215 25-Feb-2004 ache

Add upgrade instructions


126213 25-Feb-2004 ache

Upgrade to regex from grep 2.4.2


126212 25-Feb-2004 ache

Merge conflicts


126210 25-Feb-2004 ache

This commit was generated by cvs2svn to compensate for changes in r126209,
which included commits to RCS files with non-trunk default branches.


126197 24-Feb-2004 johan

style.Makefile(5):
Use WARNS?= instead of WARNS=

For this to work properly for all part is the subdirectories
the WARNS assignments in Makefile.inc0 are moved to the correspondning
Makefile.inc.

Approved by: obrien (binutils maintainer)
Tested by: make universe


126022 19-Feb-2004 obrien

Allow to compile with non-GCC compiler.


125978 18-Feb-2004 ache

Install gnuregex.h as wrapper for gnu/regex.h (with warning)


125931 17-Feb-2004 ache

Oops, use -I${DESTDIR}/usr/include/gnu instead of ... /../../include/gnu


125921 17-Feb-2004 ache

Remove getopt*.c, we already have compatible getopt_long() in libc


125919 17-Feb-2004 ache

Remove getopt*.c, we already have compatible getopt_long() in libc
(cc toolchain use it rarely, so no surprizes should occurse)


125917 17-Feb-2004 ache

Remove getopt*.c, we already have compatible getopt_long() in libc


125915 17-Feb-2004 ache

Remove getopt*.c, we already have compatible getopt_long() in libc


125913 17-Feb-2004 ache

Remove getopt*.c, we already have compatible getopt_long() in libc


125911 17-Feb-2004 ache

Remove getopt*.c, we already have compatible getopt_long() in libc


125910 17-Feb-2004 ache

Remove getopt*.c, we already have compatible getopt_long() in libc


125907 17-Feb-2004 ache

Remove getopt*.c, we already have compatible getopt_long() in libc


125905 17-Feb-2004 ache

Remove getopt*.c, we already have getopt_long() in libc


125902 17-Feb-2004 ache

Remove old explicit -I${DESTDIR}/usr/include/readline
it is no longer needed


125900 16-Feb-2004 ache

Switch back to regex.h


125899 16-Feb-2004 ache

Formally switch back to regex.h (not sure it ever needed here - libgnuregex
is not used)


125898 16-Feb-2004 ache

Switch back to regex.h and fix error when mismatched regex.h used with
system libgnuregex


125895 16-Feb-2004 ache

Remove files no longer needed
Switch back to regex.h


125894 16-Feb-2004 ache

1) Remove files no longer needed.
2) Switch back to regex.h


125893 16-Feb-2004 ache

Install regex.h under include/gnu


125762 13-Feb-2004 kientzle

Register libarchive in bsd.libnames.mk and mdoc.local

Submitted by: ru


125758 13-Feb-2004 kientzle

Style fixes: Use curly braces in Makefiles,
use cat (not cp) to copy files.

Submitted by: ru


125757 12-Feb-2004 emax

Register libbluetooth and libsdp

Reviewed by: imp (mentor), ru


125683 11-Feb-2004 kientzle

GNU tar in the base system is now called "gtar"

"tar" is now just a link to "gtar".

This lays the groundwork for an orderly migration
from GNU tar to some other tar. (First, we introduce
the new tar program, then we migrate the 'tar' name,
then we remove gtar, with intervals of months between
these steps.)

Approved by: gordon


125513 06-Feb-2004 ru

Removed all the complexities when installing the strip(1) binary.

Submitted by: bde


125503 05-Feb-2004 ru

Fixed style of DPADD and LDADD assignments as per style.Makefile(5).


125492 05-Feb-2004 ru

strip wasn't stripped since we stopped to include bsd.own.mk from sys.mk.


125459 04-Feb-2004 des

Remove Perl lines; it's better to let use.perl handle them.


125306 01-Feb-2004 ceri

Add a section documenting the return values from diff.

PR: docs/59991
Submitted by: keramida,Erik Greenwald <erik@smluc.org>
MFC After: 1 week


125262 31-Jan-2004 ru

Catch up with the 20040130 src/UPDATING entry, and spell libpthread
as -lpthread. (Alpha and SPARC64 still spell it -lkse, but we hope
this to change by 5.3-RELEASE.)

Reviewed by: deischen


125064 27-Jan-2004 obrien

Discontinuation of an action that now fits on one.


125040 26-Jan-2004 kan

Do not treat make variables as Perl variables.


125008 26-Jan-2004 obrien

Fix problem where kgdb misses trap frames.

Reported by: iedowse


125007 26-Jan-2004 obrien

Use proper name.


125000 26-Jan-2004 obrien

style.Makefile(5)


124999 26-Jan-2004 obrien

Follow existing GDB style for frame_info vars.


124998 26-Jan-2004 obrien

Remove trailing white space.


124561 15-Jan-2004 ru

Put libufs into the correct slot in the list.


124559 15-Jan-2004 ru

Added description for libthr.

Reviewed by: deischen


124547 15-Jan-2004 ru

Fixed "make clean".


124451 12-Jan-2004 ru

Last revision also added duplicate SRCS. Fixed this so that
the resulting .a library has only unique .o files.

Noticed by: bde


124443 12-Jan-2004 ru

Don't put objects in SRCS -- this creates all sort of havoc like
causing objects to be built during "make depend", missed sources
in .depend, etc.


124417 12-Jan-2004 ru

Removed duplicate SRCS.


124400 11-Jan-2004 ru

Ensure that generated headers are here before we build .depend
and object files in a less hackish way compatible with further
planned changes to bsd.dep.mk.


124189 06-Jan-2004 kan

Correct the atomicity.h fallback path on architectures which do not
define their own.


124153 05-Jan-2004 kan

Do not install files which are not part of GCC 3.3.x anymore.


124150 05-Jan-2004 kan

Stop compiling files which are not part of GCC 3.3.x.


123678 19-Dec-2003 kan

Use __cxa_atexit, rather than atexit, to register C++ destructors for local
statics and global objects. This is essential for fully standards-compliant
handling of destructors, and requires __cxa_atexit in libc.


123359 09-Dec-2003 kan

Add two additional headers for amd64 and x86.

Reported by: Ollivier Robert


123237 07-Dec-2003 ru

MFR: Bump manpages revision to 5.2.


122835 17-Nov-2003 obrien

/rescue/g{{,un}zip,zcat} exist, so build this dynamically now.


122834 17-Nov-2003 obrien

/rescue/tar exists, so build this dynamic now.


122587 12-Nov-2003 ceri

Attempt to save the last dregs of emacs users' sanity by saving the
contents of the PR when an interrupt is received during the editor
session. This stops the use of ^G from deleting a filled PR from
underneath the user.

PR: bin/59201
Submitted by: Heikki Suonsivu <hsu@evoluutio.bbnetworks.net>
MFC After: 2 weeks


122545 12-Nov-2003 obrien

FBSDID style nit.


122392 10-Nov-2003 des

The current Perl 5.8 version is 5.8.1; 5.8.2 is right around the corner.


121900 02-Nov-2003 ceri

Since we do not honour the Confidential: field, and as an attempt to
decrease the number of misfiled PR submissions in general, do not
allow users to send a PR that contains errors.

Discussed with: core


121683 29-Oct-2003 simokawa

Implement gdb_solib_create_inferior_hook().

This function is used for autoloading kld module symbols for remote kgdb.
We still need a patch(*) for src/contrib/gdb/gdb/solib-svr4.c to enable
this function.

(*) http://people.freebsd.org/~simokawa/gdb/patch-solib-svr4.c


121566 26-Oct-2003 bde

Fix previous commit. glob_filename() returns "(char **) -1" for certain
errors, not necessarily a pointer such that (intptr_t)pointer is -1.

Also fix the style bug that the cast was not followed by a space.
This style of this file is now perfectly non-KNF for this cast too.


121536 26-Oct-2003 peter

Fix some warnings by defining has_sa_sigaction to 1. When the configure
script was run (years and years ago), we didn't have it.


121535 26-Oct-2003 peter

Since I'm having so much fun with const, beat my head against the wall
some more. Make this compile cleanly.


121534 26-Oct-2003 peter

Pointers dont fit in an int on 64 bit platforms. Fix a gcc warning.


121533 26-Oct-2003 peter

The third arg to strncmp() is size_t, not int. This causes a warning on
systems where size_t is long, not int.


121101 15-Oct-2003 jkoshy

Detect errors during 'cat' page creation better. This fixes bin/5591.

Reviewed by: ru


120674 02-Oct-2003 deischen

Add an entry for libpthread (aka libkse). For now, it's link command
is defined as -lkse, but we'll come back later and change it once
libkse is renamed.

Requested by: ru


120492 26-Sep-2003 fjoe

- Support for multibyte charsets in LIBICONV.
- CD9660_ICONV, NTFS_ICONV and MSDOSFS_ICONV kernel options
(with corresponding modules).
- kiconv(3) for loadable charset conversion tables support.

Submitted by: Ryuichiro Imura <imura@ryu16.org>


120303 20-Sep-2003 ru

Update the copyright year.


120302 20-Sep-2003 ru

Keep up with recent mdoc(7) changes.


120301 20-Sep-2003 ru

Comment out and mark all non-translated library strings.


120196 18-Sep-2003 des

Perl 5.8.0 has been in ports for a long time. Add the correct directory
to manpath.config so use.perl won't needs to add it.


119933 10-Sep-2003 ru

Add /usr/X11R6/man to the optional manpath.

PR: conf/56626
Submitted by: Oliver Eikemeier


119931 09-Sep-2003 ru

Catch up with mdoc.local list of libraries.


119930 09-Sep-2003 ru

Catch up with mdoc.local list of libraries.


119887 08-Sep-2003 ru

Unbreak Russian KOI8-R support.


119864 07-Sep-2003 obrien

Enable '--interpreter=mi' support.

Submitted by: Rui Lopes <rui@ruilopes.com>


119863 07-Sep-2003 obrien

s/x86-64/amd64/


119862 07-Sep-2003 obrien

style.Makefile(5)


119843 07-Sep-2003 ru

Eliminate the need in uname(1) during install.


119841 07-Sep-2003 ru

Only evaluate CVS version once, when necessary.
Eliminates the need in sed(1) during install.


119840 07-Sep-2003 ru

Only evaluate CVS version once, when necessary.
Eliminates the need in sed(1) during install.


119729 04-Sep-2003 peter

There is no need to #include <sgtty.h>


119616 31-Aug-2003 ache

Upgrade to 4.3


119587 30-Aug-2003 ache

Upgrade to textutils 2.1 sort


119553 29-Aug-2003 phk

Introduce more knobs to slim down FreeBSD userland

NO_TOOLCHAIN skips Compilers and Binutils
NO_USB skips USB stuff
NO_VINUM skips Vinum stuff
NO_ACPI skips ACPI stuff


119136 19-Aug-2003 obrien

Properly quote the lib path.


119051 17-Aug-2003 obrien

Stage 3 of dynamic root support, con't.
'ld' should also search /lib for dynamic libraries.


119050 17-Aug-2003 obrien

s/x86_64/amd64/g where possible.


119017 17-Aug-2003 gordon

Stage 3 of dynamic root support. Make all the libraries needed to run
binaries in /bin and /sbin installed in /lib. Only the versioned files
reside in /lib, the .so symlink continues to live /usr/lib so the
toolchain doesn't need to be modified.


118903 14-Aug-2003 ru

The as(1) manpage was missing on i386 and amd64.


118796 11-Aug-2003 ceri

Back out revision 1.32; it attaches the files in the wrong section of the PR.


118793 11-Aug-2003 ceri

Have the -a and -f options work together.

PR: misc/40057


118480 05-Aug-2003 ru

Added description for the libufs(3) library.

PR: 55238
Reviewed by: jmallett


118449 04-Aug-2003 ache

LANG->LC_ALL

Pointed by: ru


118435 04-Aug-2003 ache

Use LANG=C before tr to be sure that ranges are correct
Strip [] from ranges


118377 03-Aug-2003 ache

Remove collate_range_cmp() stabilization, it conflicts with ranges


118375 03-Aug-2003 ache

Remove collate_range_cmp() stabilization, it conflicts with ranges


118273 31-Jul-2003 obrien

If ${GCC_CPU}-c.c exists, we need to use it.


118136 29-Jul-2003 jwd

returned length can exceed the limits of type char

Submitted by: blc@bsdwins.com
Approved by: gad
MFC after: 1 week


117496 13-Jul-2003 kan

Including dynamically generated osreldate.h wasn't such a good
idea after all.

Fix cross-builds and ia64 builds. gnu/lib/csu/Makefile is modified to
pre-include osreldate.h and gnu/usr.bin/cc/cc_tools/auto-host.h
will avoid including sys/param.h if __FreeBSD_version is already defined.


117453 11-Jul-2003 kan

Include osreldate.h instead of sys/param.h to get __FreeBSD_version
definition. This fixes buildworld breakage on ia64.


117429 11-Jul-2003 kan

Update bmake bits to build GCC 3.3.1-prerelease.


117428 11-Jul-2003 kan

Update for GCC 3.3.1-pre.


117425 11-Jul-2003 kan

Add unwind-c.c file required for -fexceptions in C sources.


117424 11-Jul-2003 kan

Change CFLAGS to more closely follow options used when GCC is built
from stock FSF sources.


117423 11-Jul-2003 kan

Temporarily turn off -Werror for these components.


117310 07-Jul-2003 obrien

Only define a default editor if one isn't already defined.


117131 01-Jul-2003 obrien

bfd_elf32_i386_freebsd_vec is the only 32-bit vector we really need.
ar and nm aren't very smart when faced with multiple applicable vectors.


117130 01-Jul-2003 obrien

Add elf_i386_fbsd emulation.

Obtained from: p4


117118 01-Jul-2003 ru

Fixed build.

Noticed by: bde


117114 01-Jul-2003 ru

Don't build separate annotate.info, it's already part of gdb.info.


117082 30-Jun-2003 ru

Catch up with bsd.lib.mk,v 1.143.


116891 26-Jun-2003 peter

Add missing quote after cut/paste error in last commit. :-(


116886 26-Jun-2003 obrien

Update the target.


116859 26-Jun-2003 peter

Configure gcc in biarch mode for amd64 so that the -m32 flag is enabled
for things like boot blocks etc.

Reviewed by: kan


116858 26-Jun-2003 peter

Oops, remove hack to stop libstdc++.so being built now that gcc uses
-lgcc_pic by default on -fpic stuff. I forgot about this here.


116611 20-Jun-2003 des

Add an amd64 category now that amd64 has its own mailing list and all.


116346 14-Jun-2003 obrien

Remove MAINTAINER lines.


116335 14-Jun-2003 des

Do not bogusly set CSTD to the empty string.


116320 13-Jun-2003 peter

When building a shared library, link it against libgcc_pic.a instead of the
non-PIC libgcc.a. Linking non-pic code into a shared library is not
a good thing. It happens to break amd64 at compile time, and the ppc
folks want it too. The problem is mainly with C++ code, unwind-dw2.c
in particular. Most of the other functions in libgcc.a are self
contained so most of the time it isn't a problem. The dwarf2 unwinder
is not safe though since it does make global variable references.

Reviewed by: kan


116318 13-Jun-2003 peter

Build/install the PIC version of libgcc (libcc_pic.a) for use by shared
libraries that do exception unwinding.


116089 09-Jun-2003 ru

Teach mdoc(7) about the upcoming 5.2-RELEASE.

Suggested by: juli


116020 08-Jun-2003 charnier

The .Fn function


115898 06-Jun-2003 kuriyama

Use
cat ${.ALLSRC} > ${.TARGET}
rather than
ln -sf ${.ALLSRC} ${.TARGET}
not to depends on absolute-path of symbolic links.

Commented by: marcel, obrien, bde


115873 05-Jun-2003 ru

Make the footer display "FreeBSD 5.1".


115714 02-Jun-2003 ru

We have at least one consumer of the upcoming FreeBSD 4.9.


115680 02-Jun-2003 obrien

Something funky is going on here... disabling CSTD makes it go away...


115664 02-Jun-2003 obrien

Don't set a C standard level for ObjC code.


115663 02-Jun-2003 obrien

Use ?= before someone brings it up.


115646 01-Jun-2003 obrien

crtstuff needs isn't compilable with C99 on Sparc64, so set CSTD to gnu89.


115292 24-May-2003 peter

Add a temporary indirect patch for gcc when targeting amd64. This is to
give the cvs tree a surviving a 'make world'. One of the two diff chunks
is already in gcc-3.3, the other has been committed to gcc's HEAD and
is in the pipeline for gcc-3.3.1 (but has not been committed yet).

The first chunk simplifies an excessively complex assembler statement
when generating switch jump tables. The use of '.' causes as(1) to choke
on big files. Use a simpler form instead. This is only an issue for
TARGET_64BIT mode.

The second chunk fixes an internal compiler error when compiling
libc/stdio/vfprinf.c. While this is supposedly only an issue for
64 bit mode, it does touch the 32 bit i386 code paths, so this patch
is only applied for TARGET_ARCH == amd64 to keep the risks down.
Breaking gcc at the 11th hour would suck.

This will be removed when it is time to import gcc-3.3.

Discussed with: kan
Approved by: re (jhb)


115287 24-May-2003 peter

libstdc++.so breaks on amd64 due to bogons in our build, so prevent the
shared library being built for amd64. The problem is that libstdc++.so
is produced with 'cc -shared'. This has an internal -lgcc, which is
not PIC. libstdc++.so uses exceptions and the dwarf2 unwinder, which
are in libgcc.a. As a result, non-PIC code gets pulled into libstdc++.so.
This is fatal on amd64 when certain relocation types cannot be used in
PIC mode. The official FSF solution to this is to have libgcc.so with
internal ELF symbol versioning to solve the ABI problem, but I dont want
to fight that battle yet. I tried making libgcc_pic.a (which worked
fine), but thats not something for the 11th hour before a release.

Approved by: re (amd64 "safe" stuff)


114834 08-May-2003 peter

Set the binutils arch for as/nm correctly on the amd64 platform.
As far as binutils is concerned, the amd64 platform is still called
"x86-64"/"x86_64". Setting things from ${MACHINE_ARCH} breaks that.

Approved by: re (scottl)


114740 05-May-2003 nectar

Enable GSSAPI/Kerberos 5 support (aka `gserver').

MFC after: 1 month


114603 03-May-2003 obrien

Use __FBSDID over rcsid[].


114602 03-May-2003 obrien

This is WARNS=2 clean.


114525 02-May-2003 ru

Fix build on 4.x.


114480 02-May-2003 ru

Re-enable building of Groff documentation; texinfo has just been
upgraded to version 4.5.


114479 02-May-2003 ru

Update for texinfo 4.5.


114468 01-May-2003 ru

catman(1) sources now live elsewhere.


114425 01-May-2003 obrien

Lock GCC w/o -m32 into 64-bit mode.


114412 01-May-2003 ru

Upgrade to Groff 1.19.


114327 30-Apr-2003 ru

Replace beforeinstall: with plain FILES.


114234 29-Apr-2003 kan

Enable wchar_t support in libstdc++.


114129 27-Apr-2003 obrien

Wrap gperf in NO_CXX as it needs the C++ to compile.


114083 26-Apr-2003 obrien

We're changing the platform name from x86[_-]86 to amd64.


114050 26-Apr-2003 obrien

The AMD64 Hammer bits.


114049 26-Apr-2003 obrien

Remove first attempt at x86-64 bits. We're going to call it "amd64" now.

Sponsored by: Microsoft


114037 25-Apr-2003 obrien

Enable ISO-C99 compatibility -- among other things, this tells libstdc++
not to blindly undef isnan() and other functions that became macros in C99.
Enable use of newly grown C99 functions: strtof(), strtold(), wcstof()

Submitted by: das


113398 12-Apr-2003 ru

Removed invasion into these makefiles by the "legacy" stuff;
I have a better fix in the works.


113369 11-Apr-2003 ru

libbinutils.a needs basename(3); when the latter is provided
by -legacy, liblegacy.a should come last in the LDADD list.


113136 05-Apr-2003 imp

Migrate to a new way of dealing with building from old revisions of
FreeBSD. This method attempts to centralize all the necessary hacks
or work arounds in one of two places in the tree (src/Makefile.inc1
and src/tools/build). We build a small compatibility library
(libbuild.a) as well as selectively installing necessary include
files. We then include this directory when building host binaries.

This removes all the past release compatibilty hacks from various
places in the tree. We still build on tip of stable and current. I
will work with those that want to support more, although I anticipate
it will just work.

Many thanks to ru@, obrien@ and jhb@ for providing valuable input at
various stage of implementation, as well as for working together to
positively effect a change for the better.


112940 01-Apr-2003 ru

Mark bits that do not require an object directory as such.


112656 26-Mar-2003 keramida

Document the MAIL_AGENT environment var.

PR: 48277
Submitted by: Stefan Walter <sw@gegenunendlich.de>


112454 21-Mar-2003 iedowse

Attempt to automatically read in kernel module symbols when a live
or dead kernel core is loaded into gdb. This extends gdb's existing
shared library support, so the "info sharedlibrary", "sharedlibrary"
and "nosharedlibrary" commands can be used to view and change the
list of loaded symbol files.

The current implementation is more than a kludge however, and it
will not always manage to find the .ko.debug file corresponding to
the loaded module. In particular, for modules whose build directory
cannot be easily guessed from the module name such as all the
netgraph modules, the debug version of the .ko will not be found
automatically.

The logic for finding the module file first attempts to guess at
the module build directory by parsing the version[] string. Then
using that directory ($DIR), it tries the following paths in turn:

./<module>.ko.debug ./<module>.ko
$DIR/<module>.ko.debug $DIR/<module>.ko
/boot/kernel/<module>.ko.debug /boot/kernel/<module>.ko

Approved by: obrien, mp


112374 18-Mar-2003 des

Shorten the URL to the problem-reports article.


112327 17-Mar-2003 marcel

Forced non-forced commit by adding a comment mentioning what the
previous commit log should have mentioned:
PR: ia64/49081


112324 16-Mar-2003 marcel

libobjc is linked against shared objects and since we don't have a
shared object of libobjc, we end up linking in from the archive
version. This is wrong, because we don't compile the archive version
suitable for inclusion in shared objects. On ia64 this causes actual
breakages. Compile the archive version with PIC on ia64 to avoid
the breakage there and also to avoid changing the status quo on
other architectures. If other architectures have the same problem,
we probably should start building a shared library. There's no
indication however that other architectures actually need it.

Building the archive version with PIC on ia64 does pessimize linking
complete binaries (ie fully archive), but we don't use Objective-C
ourselves and so far I haven't seen non-shared executables written
in Objective-C, so I'm sure this will be nothing but academic.

Trigger case: ports/lang/gnustep-base


111608 27-Feb-2003 ru

Only cross-tools may use TARGET_ARCH/TARGET, everyone else
should use the normal MACHINE_ARCH/MACHINE instead.


111490 25-Feb-2003 ru

Fixed CLEANFILES.

Submitted by: cron


111451 24-Feb-2003 ru

Install the gcov(1) manpage; kernbb(8) references it.


111450 24-Feb-2003 ru

So we don't use this header anymore.


111401 24-Feb-2003 obrien

I thought groff was wrapped with NO_CXX. Oh well, it is now.


111204 21-Feb-2003 obrien

Some things don't build for PowerPC yet.

List from: benno


111116 19-Feb-2003 kan

Update for GCC 3.2.2


110876 14-Feb-2003 ru

Recognize FreeBSD 5.1; libc_gen/signbit.3 has set the precedent.


110864 14-Feb-2003 ru

Moved the libugidfw library definition out from contributed source
to where it actually belongs.

Submitted by: phantom


110808 13-Feb-2003 phantom

FreeBSD 5.x does not provide libskey anymore, remove reference


110807 13-Feb-2003 phantom

Add 'libgeom' to list of valid .Lb arguments


110662 11-Feb-2003 ache

Add /usr/local/man as OPTIONAL_MANPATH


110655 10-Feb-2003 nectar

Install the OpenSSL man pages in /usr/share/openssl/man
and remove the WANT_OPENSSL_MANPAGES knob.


110632 10-Feb-2003 kan

Install one more header file which is new with GCC 3.2.2.


109667 21-Jan-2003 peter

Finish update for cvs-1.11.5. Some build-time tunables were moved from
options.h to config.h.in and set via ./configure when built normally.
Export some of the build knobs to the Makefile here, overridable
from /etc/make.conf. Also get the version strings right.
config.h was repocopied to config.h.proto, and we do a limited sed on it
at build time now.


109666 21-Jan-2003 peter

Dont bother with unused rules for version.c


109663 21-Jan-2003 peter

Update for cvs-1.11.5 import (note to self: gotta fix the version tags)


109618 21-Jan-2003 obrien

The PowerPC-specfic scripttempl file was depreciated in favor of the generic
ELF one.


108674 04-Jan-2003 obrien

Reformat.


108673 04-Jan-2003 obrien

Add the ability to debug C++ programs using v2 and v3 of the G++ ABI.

Submitted by: Peter Edwards <pmedwards@eircom.net>


108672 04-Jan-2003 fjoe

GC 'char sigmap[]' (it is no longer used)

Approved by: obrien
MFC after: 3 days


107886 14-Dec-2002 keramida

Make minimal changes to point the users to the Texinfo documentation
for more detailed information about sdiff(1). Hopefully this will
make it easier to find how `interactive merging' works with sdiff.

PR: docs/30618
Submitted by: mark@summersault.com


107788 12-Dec-2002 ru

Uniformly refer to a file system as "file system".

Approved by: re


107644 05-Dec-2002 obrien

We need to support the bfd_efi_app_ia64_vec vector for loader support.

Submitted by: Marcel
Approved by: RE


107643 05-Dec-2002 obrien

Change the default emulation to elf64_sparc_fbsd. This emulation knows the
correct spelling of our rtld.


107642 05-Dec-2002 obrien

Set WARNS=0 as a temp work around until I can get access to an IA-64 box
to do this right.

Approved by: RE


107641 05-Dec-2002 obrien

Change the default emulation to elf64_ia64_fbsd. This knows the proper
spelling of our rtld.


107640 05-Dec-2002 obrien

Don't dike out ELF_DYNAMIC_INTERPRETER, we need this copy now.
This should have been committed with ia64/bfd.h rev 1.6.

Approved by: RE


107639 05-Dec-2002 kan

C++ exceptions with shared libraries are working on sparc64 now.
Build shared libstdc++so on sparc64 platform too.

Approved: re (rwatson)


107615 04-Dec-2002 obrien

Update for Gcc 3.2.1 release.
We also have more wide char support in libc now.


107614 04-Dec-2002 obrien

Gperf is usable again.


107568 04-Dec-2002 peter

Sigh. Another wrong version string. However, this one isn't used in the
build.

Approved by: re


107564 03-Dec-2002 peter

Oops. Use the correct version number. The number that was here was the
one that I originally used on freefall etc.

Approved by: re


107511 02-Dec-2002 obrien

Remove the ancient PEI cruft that is useless.


107510 02-Dec-2002 obrien

We can handle the bfd_elf32_i386_vec vector at the same time as the
bfd_elf32_i386_freebsd_vec. This may help in intra-branch building.


107509 02-Dec-2002 obrien

We can handle the bfd_elf64_alpha_vec vector at the same time as the
bfd_elf64_alpha_freebsd_vec. This may help in intra-branch building.


107508 02-Dec-2002 obrien

Cleaner support of a DEFAULT_VECTOR.


107507 02-Dec-2002 obrien

Update for the Binutils 2.13.2 20021127 snapshot import.


107506 02-Dec-2002 obrien

Handle the "HAVE_" defines via the VECS list.


107505 02-Dec-2002 obrien

Update for the Binutils 2.13.2 20021127 snapshot import.
Among other things, we don't need to redefine ELF_DYNAMIC_INTERPRETER here.


107504 02-Dec-2002 obrien

Update for the Binutils 2.13.2 20021127 snapshot import.


107503 02-Dec-2002 obrien

We now have insque().


107502 02-Dec-2002 obrien

Binutils 2.13.2 is WARNS=2 clean for all our architectures.


107501 02-Dec-2002 obrien

Update for the 2.13.2 2002-11-27 snapshot import.


107488 02-Dec-2002 peter

Update bmake glue after 1.11.2.1-20021201 import. options.h is no longer
touched by configure in the autoconf system and a standard version is
now used.

Approved by: re


107331 27-Nov-2002 obrien

Remove files no longer part of the gcc_3_2_anoncvs_20021009 libstdc++.

Approved by: re(jhb)


107286 26-Nov-2002 obrien

Remove our custom mixed ELF/a.out support. This means the base compiler
now only produce ELF objects. It also makes us closer to stock GCC, and
simplifies the set of changes we still need from stock GCC on every import.

Applauded by: peter
Approved by: re


107054 18-Nov-2002 ru

Catch up with The Great Perl Script Rewrite.


107053 18-Nov-2002 ru

Install /usr/libexec/makewhatis.local and /usr/libexec/catman.local.
This has slipped through the cracks of The Great Perl Script Rewrite.

Repocopied by: joe


106852 13-Nov-2002 ru

Take __FreeBSD_version into account when BOOTSTRAPPING.


106848 13-Nov-2002 ru

Bootstrapping aid for 4.0-RELEASE.


106488 06-Nov-2002 obrien

Better emulate the FSF build for Sparc64.


106213 30-Oct-2002 kan

Build Objective-C runtime support library with thr-posix.c.

Submitted by: davidc
Requested by: obrien


106143 29-Oct-2002 ru

bsd.doc.mk changes:

Don't gratuitously pipe thru a cat(1) if NODOCCOMPRESS.

Only create _stamp.extra when necessary.

Get rid of SOELIMPP and OBJS.

Use Groff version of soelim(1); we need its -I option
for the following to work.

Don't needlessly chdir to SRCDIR. Only a few documents
need CD_HACK, and those that need it either use refer(1)
or .PSPIC macro which internally uses the .psbb call.


106012 27-Oct-2002 kris

Don't dump core if none of the directories in /etc/manpath.config exist.

Submitted by: terry


105859 24-Oct-2002 ru

A version of SGR disabling stuff that is believed to be safe.

Submitted by: Werner LEMBERG <wl@gnu.org>


105822 23-Oct-2002 gallatin

Remove the hack to build groff statically on alpha, now that the rtld
has been extended to grok binaries with only one PLT_LOAD segment

An UPDATING entry about this is pending review..

Approved by: ru


105813 23-Oct-2002 ru

A crude temporary hack to fix building of ms(7) formatted documents
while I am working on a real fix.


105660 21-Oct-2002 mp

Add support for sparc64 kernel debugging.

Submitted by: tmm


105615 21-Oct-2002 ru

Grammar nits.

Submitted by: Ken Stailey <kstailey@speakeasy.net>


105600 21-Oct-2002 obrien

Make static in our normal manner.

Submitted by: bde


105593 21-Oct-2002 obrien

Unbreak Alpha world.
We are seeing "/usr/libexec/ld-elf.so.1: groff: too few PT_LOAD segments",
however it appears that there really is only one PT_LOAD segment in the groff
binary. It is unclear if `rtld' or `ld' is at fault here -- but using an
RELENG_4 `ld' binary allows one to build a working dynamic groff binary.

Submitted by: gallatin


105564 20-Oct-2002 obrien

GDB 5.2.1 doesn't build on sparc64 right now.


105502 20-Oct-2002 obrien

We HAVE_STPCPY now.


105388 18-Oct-2002 ru

Revert last delta. SGR support in grotty(1) is disabled system-wide
in /usr/share/tmac/troffrc pending the issue resolution on -arch.


105070 14-Oct-2002 obrien

Take a guess at what WARNS level will make this compile on ia64.


105043 13-Oct-2002 ru

Oops, missed that in rev. 1.35.

Spotted by: make release


105031 13-Oct-2002 ru

Support FreeBSD versions starting from 4.0-RELEASE.

Reminded by: imp


105017 13-Oct-2002 kris

Prevent stack-smashing buffer overflows in -D and -r options by using
buffer-safe string functions. The rest of the code is still probably
unsafe.

MFC after: 1 week


105003 12-Oct-2002 mp

Remove dependency on version.in for version information.

Submitted by: obrien


104997 12-Oct-2002 kris

Disallow libdialog to be used in setugid applications; it is chock full
of buffer overflows.

MFC after: 3 days


104994 12-Oct-2002 mp

Fix function parameter lists to be correct and eliminate compiler warnings.


104962 12-Oct-2002 obrien

Update for 2.13 10-Oct-2002 import.


104961 12-Oct-2002 obrien

Update for 2.13 10-Oct-2002 import.


104960 12-Oct-2002 obrien

Shut up GCC, don't shadow Version 6 standard functions.


104959 12-Oct-2002 obrien

Talk about punting and not going to any trouble to DTRT:

contrib/binutils/include/getopt.h
/* Many other libraries have conflicting prototypes for getopt, with
differences in the consts, in stdlib.h. To avoid compilation
errors, only prototype getopt for the GNU C library. */

so manually define HAVE_DECL_GETOPT since configure doesn't offer any way
to set it... and its unistd.h not stdlib.h dang it.


104958 12-Oct-2002 obrien

Seems the warnings Binutils 2.13 grew now makes it impossible for WARNS != 0
all 64-bit machines.


104950 12-Oct-2002 obrien

The 2.13-almost.1 import was done on 10/10, not 11/10.


104949 12-Oct-2002 obrien

Update for 2.13 10-Oct-2002 import.


104934 11-Oct-2002 obrien

GDB plays nice with Binutils again.


104931 11-Oct-2002 obrien

Use the new FreeBSD vectors from Binutils 2.13.1.


104923 11-Oct-2002 obrien

Binutils 2.13 grew some warnings that make WARNS != 0 now impossible on
sparc64.


104914 11-Oct-2002 obrien

Turn off GDB for now. It and the new binutils just aren't agreeing on our
binary format.


104897 11-Oct-2002 ru

New Russian hyphenation patterns from the teTeX distribution.
Use the new .hpfa request to append them to English patterns.


104896 11-Oct-2002 ru

This commit was generated by cvs2svn to compensate for changes in r104895,
which included commits to RCS files with non-trunk default branches.


104885 11-Oct-2002 ru

koi8-r was repo-copied to ru.KOI8-R by joe@.


104878 11-Oct-2002 obrien

Sync with 2.13. Reduce forking by using multiple sed expressions rather
than piping thru tr(1). Also prefer case over for+test, as case will
handle regex's nicely.

Note we can't exactly follow the real 2.13 genscripts.sh as we wind up with
multiple "'s in search paths. It is too late tonight to track down why.


104876 11-Oct-2002 obrien

witch over to the new FreeBSD bfd vec and emulation


104875 11-Oct-2002 obrien

Switch over to the new FreeBSD emulation and bfd vec


104874 11-Oct-2002 ru

Groff 1.18.1 comes in with ANSI color support, enabled by default.
In "nroff" mode, italic font renders as an underlined text, which
makes it indistinguishable from the bold text on color monitors
(cons25 terminal type), yet it requires the less(1)'s -R option.
(Refer to the new grotty(1) manpage for details.)

So turn off the color support for now (when generating catpages),
until we figure out what do we do with this new feature. I have
a patch for grotty(1) that tells it to use the "reverse video"
attribute to render the italic font. Once this is accepted, we
can turn color support back on (if there won't be any objections
from the community).


104869 11-Oct-2002 ru

Upgrade to Groff 1.18.1.


104861 11-Oct-2002 obrien

Yesterday was the 10th month of the year, not the 11st.


104860 11-Oct-2002 obrien

*sigh* The GNU folks want to layer and abstract yet another standard API.
This time remove the xregex redirection and just directly use their own
gnuregex.


104853 11-Oct-2002 obrien

Really update for 2.13 10-Oct-2002 import. (this time for sure Rocky)


104852 11-Oct-2002 obrien

Update for 2.13 10-Oct-2002 import.


104851 11-Oct-2002 obrien

Update for 2.13 10-Oct-2002 import - Identify the version correctly


104850 11-Oct-2002 obrien

Don't do WARNS setting here.


104770 10-Oct-2002 kan

Add multilib_options variable definition.

Approved by: obrien


104709 09-Oct-2002 ru

Print the OS name in the right place in the document title.


104614 07-Oct-2002 ru

Added bzip2 variants to the NAME section.
Added missing break.
Remove the statement that -J requires zlib(3).


104555 06-Oct-2002 obrien

Allow -J to simultaneously do non-bzip2 grepping.
Don't allow -J and -Z together.

Partially submitted by: knu


104327 01-Oct-2002 dd

choosen -> chosen

PR: 42962
Submitted by: Scott D Friedemann <sdf@expertune.com>


104203 30-Sep-2002 ru

Pass our idea of a manpage's locale from man(1) down to mdoc(7).


104182 30-Sep-2002 ru

French -mdoc localization.

Submitted by: gioria
Reviewed by: blackend, ru


104178 30-Sep-2002 ru

libusb -> libusbhid did not reach here.


104177 30-Sep-2002 ru

FreeBSD 4.6, 4.6.2, 4.7 and 4.8 are now officially supported in -mdoc.


104073 28-Sep-2002 peter

Zap now-unused SHLIB_MINOR


103959 25-Sep-2002 markm

Avoid linting GNU contrib'ed stuff, even if the build engineer asked
for it (via WANT_LINT). It's Just Too Noisy.


103780 22-Sep-2002 obrien

There is need to have a special BINUTIL_ARCH when we can use our more
common place TARGET_ARCH.


103644 19-Sep-2002 obrien

gdb now builds on sparc64.


103548 18-Sep-2002 obrien

Fix GNU coding violations.


103546 18-Sep-2002 obrien

Stop using 3 distinct and far varied coding styles in a single file.
Pretend to actually adhere to the GNU coding standards.


103474 17-Sep-2002 bde

Re-axe.


103473 17-Sep-2002 bde

Make `as' compile before it is axed. It still uses the archaic BSD
interface setbuffer(), and emulates setbuffer() on USG systems using a
#define of setbuffer() in terms of setvbuf(). The #define is correctly
ifdefed in some places but was not correctly ifdefed here -- i.e., BSD
was essentially configured as USG here. This became fatal when <stdio.h>
was de-__P(())ified without testing. This file gets included before
<stdio.h>, so the #define now affects (and breaks)
`setbuffer<left parentheses>' in <stdio.h> where it didn't affect
`setbuffer<whitespace>'.


103472 17-Sep-2002 bde

Un-axe this so that it can be fixed before it is axed.


103456 17-Sep-2002 kan

Bmake bits for GCC 3.2.1-prerelease libstdc++.
Connect two new source and one header file to the build.

Approved by: obrien


103437 17-Sep-2002 obrien

BANG! BANG! BANG! Put these bits out of their misery.
Murdered by members of: a.out.die.die.die

ELF is the 1 true path now. So make good on the src/Makefile threat that
building a.out will not be supported post 4.x. These bits should either
resurface as a port, or a new port using the latest Binutils bits. The
later will not support our SunOS-style shared a.out libs; but we shouldn't
need such support by this point in time.


103436 17-Sep-2002 peter

Initiate deorbit burn for the i386-only a.out related support. Moves are
under way to move the remnants of the a.out toolchain to ports. As the
comment in src/Makefile said, this stuff is deprecated and one should not
expect this to remain beyond 4.0-REL. It has already lasted WAY beyond
that.

Notable exceptions:
gcc - I have not touched the a.out generation stuff there.
ldd/ldconfig - still have some code to interface with a.out rtld.
old as/ld/etc - I have not removed these yet, pending their move to ports.
some includes - necessary for ldd/ldconfig for now.

Tested on: i386 (extensively), alpha


103435 17-Sep-2002 obrien

Disable building of the a.out gas and ld. They will become ports.


103372 16-Sep-2002 obrien

Create bzgrep.


103257 12-Sep-2002 obrien

We're going to have to use a TARGET_ARCH of "x86_64" rather than "x86-64"
to make building GCC happy.


103140 09-Sep-2002 wollman

Quiet another annoying warning.


102905 03-Sep-2002 eric

Adhere to guidelines when testing for null strings.

Submitted by: rwatson


102854 02-Sep-2002 peter

cvs-1.11.2 seems to bug out if HAVE_MMAP is not defined. It hoses its
internal buffer management somehow (an off by one perhaps). HAVE_MMAP
wasn't detected because configure has a bogus declaration of malloc
which conflicted with stdlib.h. Sigh.


102847 02-Sep-2002 peter

version.h is now autogenerated in 1.11.2, not version.c


102846 02-Sep-2002 peter

Update for 1.11.1p1 -> 1.11.2 import


102845 02-Sep-2002 peter

It seems CVSvn.texi isn't used anymore.


102806 01-Sep-2002 kan

Connect new files added with GCC 3.2.1 import to the build.

Approved by: obrien


102778 01-Sep-2002 obrien

Update for 2.12.1 20-July-2002 import.


102737 31-Aug-2002 obrien

Update for 2.12.1 20-July-2002 import.


102661 31-Aug-2002 keramida

Typo in [^[:alnum:]] character class.

PR: docs/41728
Submitted by: osgene@web.de


102587 29-Aug-2002 keramida

Our gnats sets Confidential to "no" by default.

PR: docs/41727
Submitted by: osgene@web.de
Reviewed by: des


102475 27-Aug-2002 eric

Use the default pager if the environment variable is blank.

PR: 37662
MFC after: 5 days


102425 26-Aug-2002 keramida

Document -p option of diff.

PR: docs/41887
Submitted by: tobez


101874 14-Aug-2002 ru

Removed the (never-released) FreeBSD 4.6.1.

Inspired by: bmah's commit to www/en/releases/4.6.1R


101853 14-Aug-2002 murray

Add definition for FreeBSD 4.6.2.


101828 13-Aug-2002 ru

mdoc(7) police: Removed redundant .Ns calls.


101810 13-Aug-2002 ru

can not -> cannot.


101779 13-Aug-2002 blackend

Add PowerPC category.

PR: docs/41595
Submitted by: Christian Brueffer <chris@unixpages.org>
MFC after: 3 days


101476 07-Aug-2002 ru

Added Russian translation of the .Ex -std macro.

MFC after: 3 days


101475 07-Aug-2002 ru

POSIX.1-2001 says ``man -k'' should produce results equivalent to
the ``grep -Ei'' searching.

MFC after: 3 days


100872 29-Jul-2002 ru

Drop support for COPY, -c has been the default mode of install(1)
for a long time now.

Approved by: bde


100828 28-Jul-2002 peter

Recognize frames for lcall_syscall and int0x80_syscall.

Reminded by: bde


100313 18-Jul-2002 ru

s/${INSTALL} -c/${INSTALL} ${COPY}/


100304 18-Jul-2002 ru

Move the definition of FreeBSD 4.6 back to where it belongs.


100303 18-Jul-2002 murray

Add definition for FreeBSD 4.6.1.


100177 16-Jul-2002 mike

This isn't quite ready for WARNS=3 in the sparc64 case.

Noticed by: sparc64 tinderbox


99970 14-Jul-2002 charnier

The .Nm utility


99815 11-Jul-2002 keramida

Add note about the info documentation of diff(1).
It contains a detailed description of the =format option part.

PR: docs/36464
Submitted by: Gary W. Swearingen <swear@blarg.net>


99809 11-Jul-2002 keramida

Mention zegrep and zfgrep too,
and what their equivalent grep options are.

PR: docs/35603
Submitted by: "Gary W. Swearingen" <swear@blarg.net>


99718 10-Jul-2002 obrien

Make our i386 hacks in a less vendor file disturbing manner.


99717 10-Jul-2002 obrien

Stop trying to reimplement libkvm on i386. Instead use it directly and
consistently on all platforms.

Submitted by: gallatin


99713 10-Jul-2002 obrien

Target specific FreeBSD kgdb hacks.


99677 09-Jul-2002 sheldonh

Revert previous delta; warnings fixed by obrien:

rev 1.5 rc/contrib/gdb/gdb/gdbserver/gdbreplay.c


99643 09-Jul-2002 sheldonh

Define NO_WERROR to unbreak world until the maintainer has had time
to coordinate fixes for this contrib code.


99584 08-Jul-2002 peter

Bandaid for sparc64. Do not build libstdc++.so for now on sparc64.
Binaries compiled with it segfault.


99405 04-Jul-2002 ru

Add the missing dependency (gdbint.info: gdb-cfg.texi).
This should resume parallel builds, among other things.


99401 04-Jul-2002 ru

Fixed CLEANFILES.


99321 03-Jul-2002 des

Add the "java" category.


99204 01-Jul-2002 sheldonh

Reconnect gdb info file to the build.

Submitted by: Szilveszter Adam <sziszi@bsd.hu>


99114 30-Jun-2002 obrien

Don't need these any more.


99107 30-Jun-2002 obrien

Dike out bits specific to i386. This pretty much means no kgdb for
non-i386 platforms.

I would however like to see a shared file here. If a function or two cannot
be shared we should create ${TARGET_ARCH}/kvm-fbsd-${TARGET_ARCH}.c.


99103 30-Jun-2002 obrien

Bmake bits for GDB 5.2.


99080 29-Jun-2002 mp

Reflect new gdb directory structure.


99074 29-Jun-2002 obrien

I don't see any reason to conditionalize this.


99068 29-Jun-2002 obrien

Bmake bits for GDB 5.2.


99016 29-Jun-2002 obrien

Turn back on GDB.
gdbserver does not build, but I've gone about as far with GDB as I'm going
to right now.


99015 29-Jun-2002 obrien

Best guess at configurations for our other arches. (totally untested)


99014 29-Jun-2002 obrien

Allow to compile and at least startup on sparc64.


99003 29-Jun-2002 obrien

Bmake bits for GDB 5.2.


98956 28-Jun-2002 obrien

There will be no GDB related .info files unless someone that cares about them
sends a patch.


98952 28-Jun-2002 obrien

NO! We DON'T wany any libintl action here.


98950 28-Jun-2002 obrien

Things Gdb 5.2 wants to know about us.


98942 27-Jun-2002 obrien

NO_GDB while it is being upgraded.


98777 24-Jun-2002 eric

Correctly state the size of the help message.

Sponsored by: Apple


98623 22-Jun-2002 obrien

For the benefit of those Emacs users amongst us, only cut out gdb.info
rather than *.info.


98622 22-Jun-2002 obrien

When linking staticaly libtermcap is a postrequisite of libreadline.
Otherwise `tgoto' (only used by libreadline) isn't resolved.

Submitted by: bde


98620 22-Jun-2002 obrien

Take the guaranteed fix -- turn off .info docs for now until we get the
gdb docs sorted out.


98608 22-Jun-2002 obrien

Grre-^#$(*+#@$!@% I hate .info files, I really do (thus I have NO_INFO set...)
Don't try to read files from a non-existant gdb.291/.


98575 21-Jun-2002 obrien

We need to link with libiberty.a before libreadline.so. Both supply
xmalloc() and xrealloc() and the mixed usage of xmalloc in some .c's from
libiberty.a and other .c's from libreadline.so produces an unusable binary
on the Alpha.

While I am here, preventatively move other libs in the link order.

Submitted by: gallatin


98512 20-Jun-2002 obrien

Remove GAWK. I removed it from the build 2 weeks ago and the world
did not end. So finish the deed.


98413 19-Jun-2002 obrien

Disconnect the docs until we figure out if there are any with v3.


98368 18-Jun-2002 dougb

Teach mdoc about the 4.6 release


98195 13-Jun-2002 dougb

In addition to exiting the dialog via ESC, the user could also have
exited via \r, \n, or ' ' (space); all of which are valid,
non-error responses.


98056 09-Jun-2002 obrien

Allow one to profile FORTRAN77 programs.


98054 08-Jun-2002 obrien

Restore revision 1.15 (use profiled C++ libs) which wasn't on the WIP_GCC31
branch and thus was lost in the shuffle on the move to Gcc 3.1.


98051 08-Jun-2002 obrien

Fix compiling FORTRAN77 programs.


98047 08-Jun-2002 ache

Activate new GNU sort from contrib


97913 06-Jun-2002 obrien

Read specs from /usr/libdata/gcc/specs if it exists.


97890 05-Jun-2002 obrien

The best we can do about man pages for the moment.


97874 05-Jun-2002 obrien

We haven't used this libg++ header since 1999/04/05 05:36:37.


97873 05-Jun-2002 obrien

Search the "backward" C++ compatibility include dir also.


97872 05-Jun-2002 obrien

We don't need bsd.dep.mk here.


97854 05-Jun-2002 ru

SUBDIR is initially empty.


97853 05-Jun-2002 ru

Canonicalize.


97852 05-Jun-2002 ru

Back out addition of a plus sign.
DPADD and LDADD belong to individual makefiles.


97834 04-Jun-2002 sobomax

Collapse lib and tar dirs into single top-level directory.

Suggested by: obrien


97833 04-Jun-2002 obrien

Remove GNU awk.


97831 04-Jun-2002 obrien

Install the i386 MMX headers, and IA-64 intrinsics functions.

Requested by: peter


97830 04-Jun-2002 obrien

We don't need this library any more.


97813 04-Jun-2002 sobomax

Don't forget to include ../Makefile.inc.


97812 04-Jun-2002 sobomax

Add bmake bits for building GNU tar from src/contrib/tar.


97811 04-Jun-2002 sobomax

Send our ancienv GNU tar into Attic.

Suggested by: ps


97788 03-Jun-2002 mike

Use POSIX macros for wait(2)-style status information instead of the
deprecated 4.2/4.3BSD wait union. Fix some nearby pid_t/int
confusion.


97774 03-Jun-2002 ru

Do not overwrite mm locale files.


97745 02-Jun-2002 obrien

Turn on the math function stub stubs.

Submitted by: Martin Blapp <mb@imp.ch>
I believe OK with: peter


97657 31-May-2002 ru

The new bsd.incs.mk is powerful enough to handle this wrinkle.


97623 30-May-2002 wollman

Add used includes of <stdlib.h>.


97551 30-May-2002 alfred

Check for defined(__i386__) instead of just defined(i386) since the compiler
will be updated to only define(__i386__) for ANSI cleanliness.


97523 29-May-2002 obrien

Tweak so that .o's are written into src/contrib/gcc


97517 29-May-2002 obrien

Build docs not out of libobc++.295


97435 29-May-2002 peter

Put on peril sensitive sunglasses and turn C++ stuff back on.


97433 29-May-2002 peter

Add some build glue for libstdc++. I'm not a C++ person, but this seems
to work at least for the non-hairy stuff. The main wrinkle here is that
a whole mess of include files get installed and under different names.
An earlier version of this built a shadow include tree first in the obj
directory, but this depends on the 'make includes' functionality.

More tweaking is certainly going to be needed.


97356 27-May-2002 obrien

I missed the setting of PREFIX_INCLUDE_DIR when I visually santity checked
the output from a autoconfig run.


97351 27-May-2002 bde

phsyical -> physical

Submitted by: Andre Guibert de Bruet <andy@siliconlandmark.com>


97315 26-May-2002 obrien

Alpha has crtfastmath also.


97314 26-May-2002 obrien

Rev 1.12 broke `make all' w/o a previous `make depends'.


97292 25-May-2002 markm

Trim out this subdir; nothing has been made in here for _ages_.


97202 24-May-2002 ache

Remove /usr/share/perl/man


97059 21-May-2002 markm

Remove ptx. It is not used anywhere in the base system, has not been
maintained for years and is very old code. If there is any need for
it, I suspect that ports would be a better place.

No objection from: current@freebsd.org


97028 21-May-2002 gad

Change parts of the source code to make it closer to style(9), mainly
changing indentation and some comments. Main goal is not perfect style,
but just to reduce differences with NetBSD. The object code is exactly
the same after this change as before it (except for assert() statements
which have moved).

Reviewed by: /sbin/md5 on i386
Obtained from: NetBSD


96950 19-May-2002 obrien

This is only WARNS=0 clean now.


96878 18-May-2002 markm

remove perl scripts from the build.


96871 18-May-2002 obrien

This is enough to get thru a cross-build.


96853 18-May-2002 obrien

The AMD x86-64 Hammer bits.


96850 18-May-2002 obrien

Fix the sparc64 build and make the LIB1ASMSRC handling more robust.


96846 18-May-2002 phk

Improve chances that we correctly compile LIB1ASMSRC on all architectures.

sparc64 looked for the nonexistent sparc64/lb1spc.asm file instead
of the sparc/lb1spc.asm file.

arm probably looked for arm/arm/lib1funcs.asm instead of arm/lib1funcs.asm
ia64 probably looked for ia64/ia64/lib1funcs.asm instead of ia64/lib1funcs.asm

i386 and alpha don't seen to use the LIB1ASMSRC.


96835 18-May-2002 obrien

Segregate MD weirdness a little bit more. Improve cross buildability.


96834 18-May-2002 obrien

Style sync with other platforms.


96833 18-May-2002 obrien

Use a more API denoting way to handle what is in libc and what isn't.


96829 18-May-2002 obrien

Don't build gperf.


96828 18-May-2002 obrien

Don't depend on gperf.


96799 17-May-2002 peter

Move LIB1ASMFUNCS from the SYMS variable and explicitly add it to OBJS
later. Otherwise make will try and build the supposedly assembler .o
files from libgcc2.c - which does not work too well (the .o's have no
content)

Reviewed by: obrien


96796 17-May-2002 peter

Put on peril-sensitive sunglasses and risk touching gcc related build glue
again. Try and deal with platforms that provide their own crtbegin/end asm
files (ia64 for example). crtstuff.c does not actually work on ia64 since
libgcc.a doesn't have a few key support functions when built on ia64 so it
is compulsory to use crtbegin.asm and crtend.asm.

Reviewed by: obrien


96794 17-May-2002 obrien

Remove some WIP bits that I didn't fully clean out before merging to HEAD.


96789 17-May-2002 ru

Back out revision 1.30 change.

cc1plus can apparently be built if you happen to have
/usr/bin/gperf, or set CXX to point to a C++ compiler
that can build gperf(1) in the bootstrap-tools stage
of buildworld.


96784 17-May-2002 obrien

Post rev 1.39, the PowerPC specific additions to OBJS was getting lost.


96783 17-May-2002 obrien

Update to Binutils 2.12.0 and stick to the native emulation for now.
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.


96782 17-May-2002 obrien

Update to Binutils 2.12.0 release.


96780 17-May-2002 obrien

Update to Binutils 2.12.0 and stick to the native emulation for now.
This lets us get on the with the task at hand -- porting FreeBSD.
We can get fancy later on.


96779 17-May-2002 obrien

bsd.lib.mk now understands what to do with .asm files.
So we can refer to these files by their real name vs. playing tricks
renaming them during the build.


96778 17-May-2002 obrien

GCC 3.1 on PowerPC also has the crtsavres C Run Time file.


96777 17-May-2002 obrien

Do not cut `docs' out of the build with NO_CXX.
There are no longer GNU C++ specific info files, and it was a bug with Gcc
2.95 that NO_CXX would cause the C and CPP info files to not be installed.


96736 16-May-2002 ru

MD_EXEC_PREFIX doesn't work for the cross-arch compiler.
The change also makes the `cc -print-search-dirs' output
sane (the pre-3.1 way) in the non-cross case.

Draft reviewed by: obrien


96734 16-May-2002 ru

Make it possible to build a cross compiler for alpha,
ia64 and sparc64 on systems that do not have atoll(3).
The "cross" here doesn't necessarily mean cross-arch.


96722 16-May-2002 markm

Remove the perl build. Farewell, old friend.


96720 16-May-2002 markm

Don't build perl.


96699 15-May-2002 obrien

Add x86-64 bits.


96697 15-May-2002 obrien

The IA-64 config needs to know that we are using GNU ld & as.

Submitted by: peter


96669 15-May-2002 ru

Make sure to not yet build the GNU C++, but still allow
for the C++ progs to be built with e.g. an old compiler,
CXX=/usr/bin/c++, for the time being.


96642 15-May-2002 obrien

We won't be doing FreeBSD-NT (NTBSD?, BSDNT?) anytime soon.
Same for any m68k platform.


96641 15-May-2002 obrien

We aren't quite ready to switch emulations and loose the
override ELF_DYNAMIC_INTERPRETER requirement.

Has a good eye: jmallet


96640 15-May-2002 obrien

We won't be doing FreeBSD/m68k or FreeBSD/rs6k anytime soon.
(not to mention these bits are still at the 2.9.1 level)


96600 14-May-2002 mp

Make our version tag unique due to our local changes.

PR: 19733
Submitted by: sheldonh
MFC after: 3 days


96553 14-May-2002 obrien

Quote {CC} so ccache can be used.


96530 13-May-2002 ru

Fixed CLEANFILES after bsd.lib.mk sweep.


96514 13-May-2002 ru

Mark all internal libraries with INTERNALLIB.


96513 13-May-2002 ru

Removed now unused INTERNALSTATICLIB.
INTERNALLIB now implies NOPIC and NOPROFILE.
Removed gratuitous NOMAN.


96512 13-May-2002 ru

Major cleanup of bsd.lib.mk.

Get rid of the INTERNALSTATICLIB knob and just use plain INTERNALLIB.
INTERNALLIB now means to build static library only and don't install
anything. Added a NOINSTALLLIB knob for libpam/modules. To not
build any library at all, just do not set LIB.


96488 13-May-2002 obrien

Restore some of the implementation from the Bmake gcc 2.95 bits.
In the end, I can do things more like the previous Bmake bits than was
apparent in the middle of the gcc31 WIP.


96484 13-May-2002 obrien

I was finally able to repeat the -j breakage on one of my machines. Fix it.
I borrowed some ideas from Ruslan, and made the style match cc_tools/Makefile


96464 12-May-2002 ru

NOLIB is gone; put INTERNALLIB back for now.


96462 12-May-2002 ru

Added new bsd.incs.mk which handles installing of header files
via INCS. Implemented INCSLINKS (equivalent to SYMLINKS) to
handle symlinking include files. Allow for multiple groups of
include files to be installed, with the powerful INCSGROUPS knob.
Documentation to follow.

Added standard `includes' and `incsinstall' targets, use them
in Makefile.inc1. Headers from the following makefiles were
not installed before (during `includes' in Makefile.inc1):

kerberos5/lib/libtelnet/Makefile
lib/libbz2/Makefile
lib/libdevinfo/Makefile
lib/libform/Makefile
lib/libisc/Makefile
lib/libmenu/Makefile
lib/libmilter/Makefile
lib/libpanel/Makefile

Replaced all `beforeinstall' targets for installing includes
with the INCS stuff.

Renamed INCDIR to INCSDIR, for consistency with FILES and SCRIPTS,
and for compatibility with NetBSD. Similarly for INCOWN, INCGRP,
and INCMODE.

Consistently use INCLUDEDIR instead of /usr/include.

gnu/lib/libstdc++/Makefile and gnu/lib/libsupc++/Makefile changes
were only lightly tested due to the missing contrib/libstdc++-v3.
I fully tested the pre-WIP_GCC31 version of this patch with the
contrib/libstdc++.295 stuff.

These changes have been tested on i386 with the -DNO_WERROR "make
world" and "make release".


96456 12-May-2002 obrien

Properly build lb1spc.asm on Sparc64.


96454 12-May-2002 obrien

There is no more NOLIB.


96449 12-May-2002 obrien

I was not strict enough with my ordering of things to satisfy make(1) nieve
symbol evaluation which causes it to be very sensitive to macro ordering.


96448 12-May-2002 obrien

Tidy up the cleanfiles.


96447 12-May-2002 obrien

Fixes for building a.out bits.

Submitted by: bde


96395 11-May-2002 obrien

Sorry, I did not mean to turn collect2 back on yet.


96370 11-May-2002 obrien

Revert rev 1.3 -- I tested using the wrong build compiler.


96369 10-May-2002 obrien

Actually we don't need any special YACC'ing here. The ones known to
Bmake are fine.


96363 10-May-2002 obrien

BWK awk appears to work for world builds just fine now. We want to make
sparc64 the same as the other platforms -- so do it by moving the other
platforms toward the sparc64.


96360 10-May-2002 obrien

Touching the sjlj setting on IA-64 makes things not build.

Submitted by: peter


96359 10-May-2002 obrien

Build compiler on all platforms.


96358 10-May-2002 obrien

Doh! Add IA-64 to our target list.


96345 10-May-2002 obrien

Gather up the stragglers that depends on genrtl.h. This is -j10 safe now.


96344 10-May-2002 obrien

This was *very* -j unsafe. Add a dependency on the common generated
headers to mostly make it -j1 safe.


96343 10-May-2002 obrien

[Ab]use LDFLAGS rather than CFLAGS.
BDE tells me POSIX pretends `ld' as a directly callable entity does not exist.


96340 10-May-2002 obrien

Bmake bits for Gcc 3.1.

Partially made possible by: Wilko.Bulte@compaq.com


96323 10-May-2002 obrien

Gcc 3.1 now offers both a C99 and a K&R traditional C preprocessor.
This is the ISO C99 one.


96304 10-May-2002 obrien

Turn off groff and gperf -- they will not compile with the in-tree Gcc 3.1.


96303 10-May-2002 obrien

All platforms should be on equal footing now -- no special handling for
Sparc64 and IA-64.


96239 09-May-2002 obrien

Gcc 3.1 now offers both a C99 and a K&R traditional C preprocessor.
This is the traditional one.


96136 07-May-2002 obrien

libstdc++ version 3 (Gcc 3.1 is a consumer) uses the typical `config.h'.


96126 06-May-2002 obrien

GCC's libstdc++ version 3 has the "libgcc" like bits (start up / terminate
code, `new' handler, exception handling, etc.) split out into libsupc++.


95878 01-May-2002 obrien

Add support for using the profiled versions of the C++ (and related) libs.


95601 28-Apr-2002 gad

Add many prototypes and ANSI-ize 'patch. Not a complete job of it, but it gets
our patch to look a little more like NetBSD's, and has the nice characteristic
that the object code is exactly the same after the change as before it (even in
patch.c and pch.c, which have pesky 'assert' statements in them).

Reviewed by: /sbin/md5 on i386, alpha, sparc64
MFC after: 3 days


95600 28-Apr-2002 gad

Add FreeBSD id's to these files, in advance of a separate update.

MFC after: 3 days


95582 27-Apr-2002 eric

Move ID tag.


95514 26-Apr-2002 gad

Modify our 'patch' utility to recognize the
\ No newline at end of file
line that some versions of diff print out if the last line of the two files
are different, and one of the two files does not have a newline character
on that last line.

This change is still somewhat under discussion in -arch and -standards, but I
want to commit it to -current today so I'd have the chance to MFC it to -stable
before the code freeze for 4.6-release (which would be May 1st).

Note: the related change to 'diff' (so it might *generate* that line) is NOT
expected to be included in 4.6-release. We can debate that change later.

Obtained from: NetBSD (1.13 of basesrc/usr.bin/patch/pch.c, by kristerw)
MFC after: 4 days


95509 26-Apr-2002 ru

Milestone #1 in cross-arch make releases.

Do not install games and profiled libraries to the ${CHROOTDIR}
with the initial installworld.

Eliminate the need in the second installworld. For that, make sure
_everything_ is built in the "world" environment, using the right
tool chain.

Added SUBDIR_OVERRIDE helper stuff to Makefile.inc1. Split the
buildworld process into stages, and skip some stages when
SUBDIR_OVERRIDE is set (used to build crypto, krb4, and krb5
dists).

Added NO_MAKEDB_RUN knob to Makefile.inc1 to avoid running
makewhatis(1) at the end of installworld (used when making crypto,
krb4, and krb5 dists).

In release/scripts/doFS.sh, ensure that the correct boot blocks are
used.

Moved the creation of the "crypto" dist from release.5 to
release.2.

In release.3 and doMFSKERN, build kernels in the "world"
environment. KERNELS now means "additional" kernels, GENERIC is
always built.

Ensure we build crunched binaries in the "world" environment.
Obfuscate release/Makefile some more (WMAKEENV) to achieve this.

Inline createBOOTMFS target.

Use already built GENERIC kernel modules to augment mfsfd's
/stand/modules. GC doMODULES as such.

Assorted fixes:

Get rid of the "afterdistribute" target by moving the single use
of it from sys/Makefile to etc/Makefile's "distribute".

Makefile.inc1: apparently "etc" no longer needs to be last for
"distribute" to succeed.

gnu/usr.bin/perl/library/Makefile.inc: do not override the
"install" and "distribute" targets, do it the "canonical" way.

release/scripts/{man,cat}pages-make.sh: make sure Perl manpages and
catpages appear in the right dists. Note that because Perl does
not respect the MANBUILDCAT (and NOMAN), this results in a loss of
/usr/share/perl/man/cat* empty directories. This will be fixed
soon.

Turn MAKE_KERBEROS4 into a plain boolean variable (if it is set it
means "make KerberosIV"), as documented in the make.conf(5)
manpage. Most of the userland makefiles did not test it for "YES"
anyway.

XXX Should specialized kerberized libpam versions be included into
the krb4 and krb5 dists? (libpam.a would be incorrect anyway if
both krb4 and krb5 dists were choosen.)

Make sure "games" dist is made before "catpages", otherwise games
catpages settle in the wrong dist.

Fast build machine provided by: Igor Kucherenko <kivvy@sunbay.com>


95396 24-Apr-2002 eric

When a compound section name is specified, search for pages that actually
match the requested section. Previously, the section would be trimmed and
every entry matching the page name would be displayed.

Sponsored by: Apple


95294 23-Apr-2002 obrien

Don't use "GCCDIR" as the multiple inclusion protector. Subdir Makefiles
may want to override GCCDIR and this gets in the way.


95187 21-Apr-2002 markm

Remove my MAINTAINER= from here, as it is in src/MAINTAINER


95186 21-Apr-2002 markm

Tidy up some of the configs; s/gcc/cc/ to make the choice of C compiler
more generic. Fix paths for things like scripts (fix perldoc). Tweak
externally passed macros.


95091 20-Apr-2002 obrien

It is easier for me to debug with -I's at the rear.


94985 18-Apr-2002 ru

Replaced exists() tests with two equivalent defined().

LIBDIR is defined in bsd.own.mk but sys.mk no longer
includes bsd.own.mk as of revision 1.60.


94821 16-Apr-2002 ru

*sigh* Really fix a typo.

Submitted by: bde


94802 15-Apr-2002 obrien

Fix typo.


94720 15-Apr-2002 obrien

Turn off collect2.
collect2 was added based on the need of -frepo. However, -frepo is currently
broken on -CURRENT (Gcc 2.95.4 20020320 [FreeBSD] / ld 2.12.0 [FreeBSD]
2002-04-10). It is also broken on RELENG_4 (Gcc 2.95.3 20010315 / ld
2.11.2 20010719), so there is no need to MFC collect2 there yet. I have
a feeling the brokeness is due to the wide difference between the libiberty
bits of Gcc 2.95 and the later ld.

Testing by: fjoe


94572 13-Apr-2002 ache

Re-add sort spammed in v1.62


94567 13-Apr-2002 eric

Fix compilation in the non-FreeBSD case.

Sponsored by: Apple


94549 12-Apr-2002 obrien

Updated to a 10-April-2002 2.12 branch snapshot.
This fixes serious problems in ld's symbol handling.


94453 11-Apr-2002 obrien

Use PTRACE_ARG3_TYPE of caddr_t.

Obtained from: gdb 5.2


94448 11-Apr-2002 obrien

In the cross case we need to provide TARGET_MACHINE.


94427 11-Apr-2002 ru

Revert the last change and mark the program as PROG_CXX.


94425 11-Apr-2002 ru

Use the new PROG_CXX knob.


94331 10-Apr-2002 obrien

In the cross case we need to provide TARGET_MACHINE.


94328 10-Apr-2002 obrien

Change YACCing.

Submited by: ru


94319 10-Apr-2002 obrien

Back out most of revision 1.59.


94278 09-Apr-2002 ru

-ltermcap is spelled -lncurses nowadays.


94245 08-Apr-2002 peter

move gperf to NO_GXX section, it works fine on ia64. It just needs a
c++ compiler.


94244 08-Apr-2002 peter

Unbreak world (missing .else)

Submitted by: fenner
Pointy hat to: obrien


94243 08-Apr-2002 ache

Get decimal point from locale


94237 08-Apr-2002 ache

Connect sort


94232 08-Apr-2002 obrien

GCC and Gperf do not work on ia64 or sparc64 yet.
Also do not try to compile Groff if NO_CXX is set.


94231 08-Apr-2002 obrien

Some things don't compile on ia64 and sparc64 yet.


94226 08-Apr-2002 obrien

Fine! I cannot freaking take the bikeshed any more.
These binaries will be static, peroid.


94208 08-Apr-2002 ache

Revive GNU sort


94205 08-Apr-2002 ru

Add .Fx entries for upcoming 4.6 and forthcoming 4.7.

Requested by: asmodai


94013 07-Apr-2002 peter

Add -lstdc++ to the link args for these C++ tools so that they can be
compiled with gcc-3.1. Somebody thought it was a good idea to move
the implementation of new and delete from libgcc to libstdc++. This
change doesn't harm the current compiler in the tree.


94011 07-Apr-2002 peter

Bandaid for LP64 machines where 'warning: cast to pointer from different
sized integer' bites. The various malloc functions return pointers,
but without any prototype/declarations visible to callers, the compiler
expects them to return int.


94005 06-Apr-2002 obrien

Break some things used by the front-ends from Makefile.inc that cannot
be used build-wide for GCC 3.1.


94004 06-Apr-2002 obrien

Build and install collect2. This is needed for some C++ programs.


94003 06-Apr-2002 obrien

Break some things out of Makefile.inc that cannot be used build-wide
for GCC 3.1.


93955 06-Apr-2002 obrien

Expand the toolchain a little bit.

Requested by: fjoe (collect2), des (protoize)


93874 05-Apr-2002 obrien

A little more reorg.


93871 05-Apr-2002 obrien

Style reorg. Also spell -fpic as determined by bsd.lib.mk.


93868 05-Apr-2002 obrien

Style reorg.


93807 04-Apr-2002 obrien

Minor reorg.


93806 04-Apr-2002 obrien

Minor style tweak.


93803 04-Apr-2002 des

Document new categories.

Submitted by: Hiten Pandya <hiten@uk.FreeBSD.org>
MFC after: 3 days


93801 04-Apr-2002 obrien

Remove some local cruft that snuck in yesterday.


93744 04-Apr-2002 obrien

Make the sed line a little bit more clear (it will get messier later).


93742 04-Apr-2002 obrien

Set NOSHARED conditionally.


93741 04-Apr-2002 obrien

Clean up the YACCing. I don't know why we cannot leave the .y's as .y's.
So lets see if doing so causes anyone trouble.
Also use make(1)'s assistance in using the right file. It knows the
dependency, so lets just ask it.


93740 04-Apr-2002 obrien

Remove duplicate objc-parse.h. While we are at it, just spell it correctly
as c-parse.h since that is how the consumers spell it.


93738 04-Apr-2002 obrien

Get rid of GCC_ARCH, and just use plain TARGET_ARCH.
We got rid of the MIPS le/be stuff that needed this a long time ago.


93709 03-Apr-2002 obrien

Remove some 1996 GCC 2.6.3 cruft for building a shared cc_int lib.


93444 30-Mar-2002 ru

Restore the correct CLEANFILES that got damaged in rev. 1.15.


93413 30-Mar-2002 obrien

Allow to build with GCC 3.1.


93374 29-Mar-2002 markm

Boot this into the Attic. We now have (Net)BSD sort.


93361 29-Mar-2002 obrien

Make it easier to change the native emulation.

Tested on: alpha, i386, sparc64


93351 28-Mar-2002 joe

Install libusbhid, and use it instead of libusb.

MFC after: 6 days


93262 27-Mar-2002 obrien

Enhance GDB's abillity WRT stack traces where signal handlers are involved.
Correct backtrace was made more complex when the new signal trampoline
was introduced to support more than 32 signals, while keeping a modified
version of the old signal trampoline.

The 'where' command will now show:

#2 <signal handler called>

where appropiate.

Submitted by: Tor.Egge@fast.no


93145 25-Mar-2002 ru

Upgrade to GNU texinfo 4.1.


93105 24-Mar-2002 markm

Remove GNU sort from the build. BSD sort is coming.


93031 23-Mar-2002 obrien

GDB 4.18 does not use the mmalloc library by default. So GC a little.


93004 23-Mar-2002 obrien

Fix setting of CLEANFILES.


92993 23-Mar-2002 brian

Update perl's man path for 5.6.1


92943 22-Mar-2002 ru

Revision 1.45 of gnu/usr.bin/man/man.c obviated the need to link
manpages in machine-specific subdirectories (like man4/i386/) to
"../". This change didn't propagate here resulting in a loss of
whatis(1) database entries. Fix this.

Reviewed by: tobez
MFC after: 1 week


92848 21-Mar-2002 obrien

Properly get the version number after the 2.95.4 upgrade.


92840 20-Mar-2002 obrien

Update to Binutils 2.12.0 release.


92814 20-Mar-2002 des

Add www category


92620 19-Mar-2002 des

Rename the (not really new but so far unused) sparc category to sparc64.


92617 19-Mar-2002 des

Uncomment the powerpc category. It maps to the freebsd-ppc mailing list.


92615 19-Mar-2002 des

Add a "standards" category at mike@'s request.


92613 18-Mar-2002 des

Add an ia64 category; we'll need it sooner or later. Also add a commented-
out entry for powerpc; I'll enable it when the powerpc port gets its own
mailing list.


92560 18-Mar-2002 ru

FreeBSD 4.x bootstrapping aid (no eaccess(2) syscall).

Reviewed by: markm


92450 16-Mar-2002 markm

Update for Perl 5.6.1.


92448 16-Mar-2002 obrien

GCC 3.1's cpp no longer searches for includes using hints from #line.


92440 16-Mar-2002 obrien

Fix unaligned access in the GDB binary on Alpha.

Submitted by: gallatin


92409 16-Mar-2002 markm

Allow the use of the NO_PERL as well as NOPERL. The latter is
going to go.


92308 15-Mar-2002 obrien

Minor style nit.


92307 15-Mar-2002 obrien

Update for binutils_2_12_anoncvs_20020221.


92306 15-Mar-2002 obrien

Uggg!! LD ME HARDER!!
Rev 1.2 changed the default emulation from ``elf64_sparc'' to ``elf32_sparc''
and I never noticed it after my review of rev 1.1. Backing the change of
the default emulation out, and Wa-la!, I can now build a native [and usable]
binutils. WTF, the "-m elf64_sparc" parameter handed to `ld' by `gcc'
wasn't DTRT is beyond me.


92257 14-Mar-2002 obrien

Tune WARNS for Alpha.


92237 13-Mar-2002 obrien

Support linking with -z combreloc (combine and sort reloc sections) and with
--shared -z combreloc (shared library, combine & sort relocs)

Submitted by: peter
Bribed by: peter
Fixes: IA-64, Kaffe, and QT
Doesn't fix ports by: kris
Tested on: make(1) release w/docproj
Desired for: 5.0-DP#1
Approved by: murray
Seconded by: jhb


92206 13-Mar-2002 obrien

Turn up WARNS as high as possible.

Tested by: gcc31, gcc32, /usr/bin/cc


92182 12-Mar-2002 charnier

RETURN VALUES is for sections 2, 3 and 9, but here in section 1 man page,
DIAGNOSTICS should be used instead.

Reviewed by: wosch


92048 11-Mar-2002 obrien

Wrong spelling of PIC.

Submitted by: jake


91952 09-Mar-2002 wosch

apropos(1) manual page doesn't tell that keyword can be regular expression

PR: gnu/31685
Submitted by: Andrey Simonenko <simon@simon.org.ua>


91926 09-Mar-2002 dd

The -a switch didn't cause send-pr to attach the specified file if the
PR template was obtained from the environment variable $PF_FORM.

PR: 34831
Submitted by: Mike Makonnen <mike_makonnen@yahoo.com>


91708 05-Mar-2002 obrien

On the sparc64 platform we install this as "gawk" as Gawk is currently
borked on the sparc64. We are using BWK's AWK at the moment.


91559 02-Mar-2002 obrien

Move the creation of the insn-*.c files from cc_tools to cc_int.
This gets rid of a cross build problem we have because we build
everything in cc_tools during the `make build-tools' (or `make depend')
stage.


91190 24-Feb-2002 obrien

Use libgcc_p.a when -pg is in effect.

I am committing this here rather than in gcc/config/freebsd.h because the
profiled libgcc only exists with the native system compiler. It is not
created by a stock FSF build and we will never be able to get these bits
committed to the FSF CVS repo. Thus this is very much a FreeBSD "native"
issue.


91162 23-Feb-2002 deischen

Sync this up to recent changes to our (userland) thread structure.


91073 22-Feb-2002 obrien

Update for binutils_2_12_anoncvs_20020221.


91057 22-Feb-2002 obrien

Update for binutils_2_12_anoncvs_20020221.


90993 20-Feb-2002 obrien

Allow for better control over the GCC front-end when building a cross
compiler.

* Undo the diking out of cross compiler logic from gcc.c rev 1.16.
* Add the `CROSS_STARTFILE_PREFIX' knob.
* Add our own definition of `STANDARD_INCLUDE_DIR'. This should have been
included in freebsd-native.h rev 1.5.
* Minimize a little bit more, things we dike out in the FREEBSD_NATIVE case.

Submitted by: ru & obrien


90952 20-Feb-2002 obrien

Clean up the style a little bit.


90951 20-Feb-2002 obrien

Do not define a 'MD_EXEC_PREFIX'. It is not needed, not used in the
cross case, and just ends up causing "/usr/libexec" being added to the
library search path.

Also remove misleading comment about 'STANDARD_EXEC_PREFIX'. It is needed
if one does not set 'MD_EXEC_PREFIX'.

Submitted by: ru


90851 18-Feb-2002 gallatin

Fix kgdb in the face of the last round of KSE commits.
The alpha world may actually build now..


90840 18-Feb-2002 des

Add some verbiage to the comments at the top of the PR template:

- point at the FDP article rather than GNU's send-pr documentation
- warn the user that PRs are public information and will be published in
mailing lists and on the web
- suggest that the user contact security-officer@ directly if the report
concerns sensitive security issues.


90773 17-Feb-2002 deischen

Don't rely on <sys/signal.h> to include <sys/ucontext.h>.


90479 10-Feb-2002 markm

Nice set of fixes to use SCRIPT instead of PROG, thus fixing up
a lot of nasty STRIP= problems. This has the added side effect
if neatening up some leaf makefiles very nicely.

Submitted by: ru


90470 10-Feb-2002 obrien

Update this to 5.006.


90402 08-Feb-2002 ru

FreeBSD 4.1 bootstrapping aid (setproctitle(3) is in -lutil).

This backs out (sort of) delta 1.18 to perl/miniperl/Makefile.
Update to the ld(1) comment by peter in this revision:

ld(1) built as part of the cross-tools stage of buildworld has
been fixed to look for dynamic dependencies in the right place,
${WORLDTMP}/usr/lib, effective binutils/ld/Makefile,v 1.20.

Approved by: markm


90399 08-Feb-2002 ru

Fixed RCSLOCALID buffer overflow (by making an overflow condition fatal).

Spotted by: John Johnson <bio.metrix@gte.net>


90386 08-Feb-2002 peter

Add missing &


90383 08-Feb-2002 peter

Make this part compile and try and use the p_threads tailq. It might work
but I am not sure, I haven't been able to compile the rest of gdb yet.


90379 08-Feb-2002 mike

Add -i option (SUSv3) to patch(1). This allows one to specify a
patch file on command line instead of stdin.

Submitted by: Joseph Mallett <jmallett@xMach.org>
MFC after: 1 month


90353 07-Feb-2002 obrien

We do not need to use -I- any longer.
Presumably the issue was with arparse.[ch]. Those are now in FREEBSD-Xlist
and FREEBSD-deletelist. So we do not import the Bison produced files that
was causing the problem.

Submitted by: ru


90345 07-Feb-2002 sobomax

When unpacking compressed archive check exit status of the child (gzip or bzip)
and exit with error code if that status != 0.

PR: 30876
Submitted by: Simon Gerraty <sig@juniper.net>


90330 07-Feb-2002 obrien

Set the SCRIPTDIR to be rooted at TOOLS_PREFIX rather than DESTDIR.
(the two may be different (ie, build vs. runtime))
Allow ldscript's SEARCH_DIR do be rooted somewhere other than `/'.
(in this case at TOOLS_PREFIX)

These changes are most helpful during `make buildworld' so that the shared
libs built in the middle of `make buildworld' are used vs. the ones in
/usr/lib on the build machine.

Submitted by: ru


90194 04-Feb-2002 obrien

I missed adding a file that was needed on the Alpha (and will be needed
on x86_64 also.

Submitted by: ru


89934 28-Jan-2002 obrien

Upgrade to a Binutils 2.12.0 snapshot.


89933 28-Jan-2002 obrien

Special case the foreign platform vs. the native one.


89932 28-Jan-2002 obrien

Upgrade to a Binutils 2.12.0 snapshot.


89929 28-Jan-2002 obrien

Support cross building from 64-bit machines.


89928 28-Jan-2002 obrien

Upgrade to a Binutils 2.12.0 snapshot.


89927 28-Jan-2002 obrien

Upgrade to a Binutils 2.12.0 snapshot.


89886 27-Jan-2002 obrien

Change the way the version strings are handled.


89879 27-Jan-2002 obrien

Upgrade to a Binutils 2.12.0 snapshot.


89878 27-Jan-2002 obrien

Style fix.


89877 27-Jan-2002 obrien

Add files new with 2.12.0.


89876 27-Jan-2002 obrien

Style fixes.


89875 27-Jan-2002 obrien

Add files new with 2.12.0.


89874 27-Jan-2002 obrien

We are now at a 2.12.0 pre-release snap version.


89782 25-Jan-2002 nectar

Use mktemp(1) when creating temporary files.


89653 22-Jan-2002 ru

Reincarnate SETUID code in man(1), not compiled in by default.

The code will be fixed for all known security vulnerabilities,
and a make.conf(5) knob (ENABLE_SUID_MAN) will be provided for
those who still want it installed setuid for whatever reasons.


89504 18-Jan-2002 ru

GC spurious -m in the usage().


89390 15-Jan-2002 ru

Do not install man(1) setuid ``man''.

The catpaging and setuidness features of man(1) combined make
it vulnerable to a number of security attacks. Specifically,
it was possible to overwrite system catpages with arbitrarily
contents by either setting up a symlink to a directory holding
system catpages, or by writing custom -mdoc or -man groff(1)
macro packages and setting up GROFF_TMAC_PATH in environment
to point to them. (See PR below for details).

This means man(1) can no longer create system catpages on a
regular user's behalf. (It is still able to if the user has
write permissions to the directory holding catpages, e.g.,
user's own manpages, or if the running user is ``root''.)

To create and install catpages during ``make world'', please
set MANBUILDCAT=YES in /etc/make.conf. To rebuild catpages
on a weekly basis, please set weekly_catman_enable="YES" in
/etc/periodic.conf.

PR: bin/32791


89256 11-Jan-2002 ru

Now that we have the original BSD man(1)'s ${MACHINE} feature
back (as of man.c,v 1.45), change the meaning of the -m option
from poorly documented and badly coded "alternate system" to a
much more useful "different architecture for the same system".

PR: docs/31261


89252 11-Jan-2002 ru

The -pthread -> -lc_r change didn't reach here.


89249 11-Jan-2002 ru

Forgot to commit these two files for the recent .Dt change.


89183 10-Jan-2002 cjc

Fix what was a pointless conditional. Use $GCC_EXEC_PREFIX if
/etc/gnats does not exist.

PR: gnu/33682
Submitted by: Alan Eldridge <ports@geeksrus.net>


89015 07-Jan-2002 jhb

Back out the previous revision for now. Instead, the current sparc64
Makefile changes are in the sparc64 p4 tree.


88854 03-Jan-2002 jhb

Don't build csu or libgcc on sparc64 for the time being.


88457 24-Dec-2001 ru

MFV: FreeBSD 4.4, FreeBSD 4.5, NetBSD 1.6, POSIX.1-2001.


88067 17-Dec-2001 ru

Install files via FILES.


88055 17-Dec-2001 ru

FILES support for bsd.prog.mk. See bsd.README for details.

Stolen from: NetBSD


88043 17-Dec-2001 ru

Add .Lb entry for -lpam.


87760 12-Dec-2001 jhb

Catch up to the globaldata -> pcpu changes.


87644 11-Dec-2001 peter

*** empty log message ***


87625 10-Dec-2001 peter

Recognize numeric digits inside $id$ tags, eg: $XFree86$

PR: 30666
Submitted by: Tony Finch <dot@dotat.at>


87532 08-Dec-2001 ru

December 6th -- the IEEE Standards Board approves the Austin Group
Specification as IEEE Std 1003.1-2001. Yay!


87433 06-Dec-2001 obrien

Upgrade to Binutils 2.11.2.


87087 29-Nov-2001 ru

Fixed memory leak in dialog_gauge(3).

PR: gnu/32260
Submitted by: Igor Pokrovsky <tiamat@telegraph.spb.ru>
MFC after: 3 days


86983 27-Nov-2001 ru

CFLAGS is not suitable for `optimize' thing; it spams Config.pm
with -nostdinc which breaks Perl ports building.

This change will be re-applied if BDE agrees on having COPTFLAGS
in userland.

PR: bin/31877


86979 27-Nov-2001 ru

Add .Lb entry for -lpam.

Requested by: des


86946 27-Nov-2001 ru

Removed glibc specific stuff.

PR: docs/31431


86249 11-Nov-2001 bde

Fixed style bugs (tab corruption) on every changed line in previous commit.


86215 09-Nov-2001 ache

Back out switching from libreadline to libedit:
1) It is capabilities degradation: f.e. libedit can't process ~/.inputrc files
2) It have no sense to try to un-GNU GNU program.


85975 03-Nov-2001 dfr

Clone the alpha config for ia64.


85924 02-Nov-2001 obrien

Bring Gawk back. There just isn't any other POSIX compliant AWK out there.
The biggest thing missing from Bell-Labs AWK is the character class regexes.


85923 02-Nov-2001 obrien

Update to Gawk 3.1.0.


85922 02-Nov-2001 obrien

Bring Gawk back. There just isn't any other POSIX compliant AWK out there.
The biggest thing missing from Bell-Labs AWK is the character class regexes.


85807 01-Nov-2001 obrien

-v must have a space between it and the variable.

Submitted by: David Wolfskill <david@catwhisker.org>
(did I mention he should be a committer? :-) )


85742 30-Oct-2001 markm

tip(1) can do cu(1). We don't need this anymore.


85724 30-Oct-2001 obrien

Switch to the One True AWK from Bell-Labs, away from GNU AWK.


85548 26-Oct-2001 ru

There are users of FreeBSD 4.5 already.


85402 24-Oct-2001 ru

It's safe to assume that ${.OBJDIR} == ${.CURDIR} in the
NOOBJ-hinted Makefiles.


85193 19-Oct-2001 obrien

Make the logic more explicit.


85158 19-Oct-2001 ru

Respect system ${CFLAGS} when building Perl modules.

bsd.obj.mk -> bsd.prog.mk in modules makefiles, as the
latter automatically includes ../Makefile.inc and adds
-I${DESTDIR}/usr/include to ${CFLAGS} needed for "make
world" which is built with -nostdinc.

Reviewed by: MAINTAINER timeout


85157 19-Oct-2001 bde

Fixed style bugs in previous commit:
- don't comment out the old version; just modify it.
- don't 2 sets of 3 style bugs that weren't present in the old version.


85121 19-Oct-2001 mdodd

Turn on the libedit support in bc. Turn off libreadline.


84959 15-Oct-2001 obrien

We don't use the IA-64 psABI ELF_DYNAMIC_INTERPRETER, so remove it.


84955 15-Oct-2001 obrien

Clean this up.


84954 15-Oct-2001 obrien

Binutils 2.11.2 build framework for the FreeBSD/IA-64 target.


84951 15-Oct-2001 obrien

We don't support GDB for IA-64, PowerPC, or sparc64 yet.


84949 15-Oct-2001 obrien

We can easily share obj-format.h and targ-env.h files across all FreeBSD
platforms, which reduces the upgrade effort.
Also tidy up the Makefiles.


84947 15-Oct-2001 obrien

More cleaning.


84915 14-Oct-2001 obrien

Adjust for the movement of `as' headers.


84914 14-Oct-2001 obrien

You know the last revision will work better if the TARGET_TUPLE is set
conditionally....


84913 14-Oct-2001 obrien

Allow easier override of the configure tuple, in case you wanted to build
as "powerpc-obrien-freebsd" rahter than "powerpc-unknown-freebsd" for example.


84912 14-Oct-2001 obrien

Need to look in additional places for BFD's config.h now.


84911 14-Oct-2001 obrien

Clean up a little bit more.


84910 14-Oct-2001 obrien

Clean up the formatting.


84909 14-Oct-2001 obrien

We do "sparc64", not "sparc".


84908 14-Oct-2001 obrien

Clean up the formatting.


84907 14-Oct-2001 obrien

We do "sparc64", not "sparc".


84906 14-Oct-2001 obrien

Clean up the formatting.


84905 14-Oct-2001 obrien

We can easily share a single config.h file across all FreeBSD platforms,
which reduces the upgrade effort.


84904 14-Oct-2001 obrien

Update for Binutils 2.11.2.


84903 14-Oct-2001 obrien

We support sparc64, not plain sparc.


84902 14-Oct-2001 obrien

Clean up the formatting.


84870 13-Oct-2001 bde

Backed out "Compensate for header dethreading [mistakes]" mistakes in
alpha files too.


84768 10-Oct-2001 bde

Compensate for "Compensate for header dethreading" by backing it out.


84733 09-Oct-2001 iedowse

Remove the Xresume* labels from the i386 interrupt handlers; the
code in ipl.s and icu_ipl.s that used them was removed when the
interrupt thread system was committed. Debuggers also knew about
Xresume* because these labels hide the real names of the interrupt
handlers (Xintr*), and debuggers need to special-case interrupt
handlers to get the interrupt frame.

Both gdb and ddb will now use the Xintr* and Xfastintr* symbols to
detect interrupt frames. Fast interrupt frames were never identified
correctly before, so this fixes the problem of the running stack
frame getting lost in a ddb or gdb trace generated from a fast
interrupt - e.g. when debugging a simple infinite loop in the kernel
using a serial console, the frame containing the loop would never
appear in a gdb or ddb trace.

Reviewed by: jhb, bde


84668 08-Oct-2001 iedowse

Catch up with the SMPng reduced interrupt frame size. The corresponding
change was made to DDB months ago (i386/i386/db_trace.c revision 1.37).

Reviewed by: bde


84473 04-Oct-2001 ru

Removed mentions of TARGET_ARCH from non-cross places.


84465 04-Oct-2001 ru

Unbreak standalone `make depend' in gnu/usr.bin/perl.

Noticed by: bde


84397 03-Oct-2001 bde

Fixed missing return type in synopsis.


84310 01-Oct-2001 ru

Document how manpath(1) handles user's path directories that end in "/bin".

PR: docs/30940
MFC after: 3 days


84306 01-Oct-2001 ru

mdoc(7) police: Use the new .In macro for #include statements.


84251 01-Oct-2001 kris

Phase I of UUCP migration to ports. This leaves behind a minimal build
environment for cu, which is still useful.


84136 29-Sep-2001 ru

Fix cross-building, etc:

1. To cross-build, one now needs to set TARGET_ARCH, and not the
MACHINE_ARCH. MACHINE_ARCH should never be changed manually!

2. Initialize DESTDIR= explicitly for bootstrap-tools, build-tools,
and cross-tools stages. This fixes broken header and library
dependencies problem. We build them in the host environment,
and obviously want them to depend on host headers and libraries.
The problem with broken header dependencies for bootstrap-tools
and cross-tools was already partially solved (see BOOTSTRAPPING
tests in bsd.prog.mk and bsd.lib.mk), but it was still there for
build-tools if the user ran "make world DESTDIR=/foo". Also,
for all of these stages, the library dependencies were broken
because of how bsd.libnames.mk define DPADD members.

We still provide a glue to install bootstrap- and cross-tools
under the ${WORLDTMP}.

Removed PATH overrides for bootstrap-, build-, and cross-tools
stages. There is just no reason why we would need to override
it, and the hacks to clean up the ${WORLDTMP} in the -DNOCLEAN
case are no longer needed with fixes from this step.

That is, we now never use ${WORLDTMP} headers and libraries,
and we don't use any ${WORLDTMP} installed binaries during
these stages. Again, these stages depend solely on the host
environment, including compiler, headers, and libraries.

3. Moved "miniperl" back from cross-tools (it has nothing to do
with a cross-compiler) to build-tools where it belongs. The
change from step 1 let to do this. Also, to make this work,
build-tools targets of "cc_tools" and "miniperl" were modified
to call "depend". Here follow the detailed explanations.

There are two categories of build tools, for now. In the first
category there are "cc_tools" and "miniperl". They occupy the
whole (sub)directory, and nothing needs to be done in this
subdirectory later during the "all" stage. They are also
constructed using system makefiles. We must build the .depend
early in the build-tools stage because:

1) They use (and depend on) the host environment.

2) If we don't do this in build-tools, the "depend" stage of
buildworld will do this for us; wrong library and header
dependencies will be recorded (DESTDIR=${WORLDTMP}) and,
what's worse, the "all" stage may then clobber the
build-architecture format tools (that we built in the
build-tools stage) with the target-architecture format
ones, breaking cross build.

In the second category there are all other build-tools. They
share their directory with the "main" module that needs them
in the "all" stage, and they don't show up themselves in the
.depend file. The portion of this fix was already committed
in gnu/usr.bin/cc/cc_tools/Makefile,v 1.52.

4. "libperl" is no longer a build tool, and "miniperl" is the
stand-alone application. I had to make this change because
build-tools and "all" stages share the same object directory.
Without this change, if we cross compile, libperl.a is first
built for the build architecture during the build-tools stage
(for the purposes of immediate linkage with "miniperl").
Later on, the "all" stage sees this library as up-to-date,
and doesn't rebuild it. The effect is that the wrong format
static libperl library is installed with installworld.

5. Fixed "includes" to install secure/lib/libtelnet headers if
required.

Reviewed by: bde


84103 29-Sep-2001 jlemon

Add support for 28800 baud to sio.

PR: 30906
Submitted by: "Daniel O'Connor" <darius@chowder.dons.net.au>


84032 27-Sep-2001 obrien

We need to build ``.depend'' early in the "build-tools" for the GCC
"build-tools". If we do not do this, the "depend" stage of
"buildworld" will build ``.depend'' and it will record the wrong
library and header dependencies (DESTDIR=${WORLDTMP}). Even worse,
the "all" stage may clobber build-architecture-format build tools
built in the "build-tools" stage with target-architecture-format ones.

Submitted by: ru


83993 26-Sep-2001 obrien

Unconditionally use basename.c source vs. only doing this if the libc we
are linking against does not have basename(). There is a buffer overflow
bug in lib/libc/gen/basename.c rev 1.1. There is no way for us to test
what revision of basename() we have in libc, thus this change.

Requested by: ru


83877 24-Sep-2001 ru

Fixed the buildworld breakage in cross-tools caused by
misuse of /usr/src/include headers. This REALLY fixes
the 20010919 src/UPDATING entry.

With this patch the 4.2-RELEASE box was able to survive
the 5.0-CURRENT "make world".

Beat over the head with this patch: obrien


83770 21-Sep-2001 markm

[ Very nasty nautical expletive removed ]

Remove debugging code that should never have been committed.


83720 20-Sep-2001 markm

Through some hackery-pokery, allow folks to cd to src/gnu/usr.bin/perl
and do the usual "make obj && make depend all".

This sort of stuff makes my teeth itch, but folks wanted it badly
enough, so here it is.


83705 20-Sep-2001 peter

Fix alpha gdb -k on "live" kernels. Use offsetof() instead of some evil
hand-rolled macros to do the same thing.


83671 19-Sep-2001 fenner

Don't try to dereference a kernel pointer in userland; use offsetof()
to get the right address.

This fixes kernel GDB after KSE2.

Reviewed by: jhb, jake


83661 19-Sep-2001 ru

In FreeBSD, -Z is reserved for zgrep(1), and only
a long version of the --null option is supported.

PR: gnu/30644


83477 14-Sep-2001 obrien

Rev 1.10 bogusly tested the kernel version, not the libc version.
The version of the kernel has no bearing on what is in libc.
We now search for basename in libc to determin if we need to include
the libiberty version in the build.

This is all still a bit bogus as it will (like the sysctl method) cause
basename.o to be linked into the cross-build as well as the host build. It
would probably be better to test if we were doing the initial host build and
unconditionally include that. Once we've generated the target libc we know
that basename is available. (maybe test for $TOOLS_PREFIX or something).

Submitted by: peter


83446 14-Sep-2001 peter

Update this to compile on the Alpha.


83367 12-Sep-2001 ru

Fixed some of style bugs.


83366 12-Sep-2001 julian

KSE Milestone 2
Note ALL MODULES MUST BE RECOMPILED
make the kernel aware that there are smaller units of scheduling than the
process. (but only allow one thread per process at this time).
This is functionally equivalent to teh previousl -current except
that there is a thread associated with each process.

Sorry john! (your next MFC will be a doosie!)

Reviewed by: peter@freebsd.org, dillon@freebsd.org

X-MFC after: ha ha ha ha


83305 10-Sep-2001 obrien

I am no longer the FreeBSD GCC maintainer.


83238 09-Sep-2001 dillon

Make sure that all non-root-owned binaries in standard system
paths are chflaged 'schg' to prevent exploit vectors when run
by cron, by a root user, or by a user other then the one owning the
binary. This applies to most of the uucp binaries, cu, tip, and
man (man was already installed properly).

MFC will occur when approved.


83166 06-Sep-2001 obrien

Fix the upgrade path from 4.1 and earlier.


83146 06-Sep-2001 ru

SECURITY.

Avoid using setre[ug]id() calls.
Removed the setgid stuff we don't need.


83036 04-Sep-2001 peter

Implement .previous (swap section back to the last section)
This enables:
.data
.asciz "foo"
.previous
.. just like on current binutils


82647 31-Aug-2001 bde

Fixed style bugs in rev.1.4, including clobbering of the "Don't generate
y.output" part of rev.1.11.


82613 31-Aug-2001 eric

Properly move cursor when home and end keys are used.


82264 24-Aug-2001 peter

Dynamically adapt to kernbase changes on crashdumps, falling back to
KERNBASE if the "kernbase" symbol is not present on older kernels.


81974 20-Aug-2001 nik

Note that submitted patches are assumed to be under the same license as
the file they patch.


81803 16-Aug-2001 obrien

Define _KERNEL as this grubs around where no userland should go.


81749 16-Aug-2001 obrien

Add the `WANT_FORCE_OPTIMIZATION_DOWNGRADE' knob. If set to an integer
value, it forces GCC to not optimize above this level. For intance, GCC
made with "WANT_FORCE_OPTIMIZATION_DOWNGRADE=1" is a good setting for the
Alpha platform when building ports.


81685 15-Aug-2001 ru

The .Rv macro support zero and more than one arguments.


81622 14-Aug-2001 ru

mdoc(7) police: s/BSD/.Bx/ where appropriate.


81603 13-Aug-2001 peter

msg_out is already initialized


81595 13-Aug-2001 peter

Turn cvs back on. It seems that there's nothing outright broken, but there
are some odd things I've run into.. eg: log message formatting, etc.


81590 13-Aug-2001 ru

mdoc(7) police: s/NetBSD/.Nx/ where appropriate.


81588 13-Aug-2001 ru

Spell "FreeBSD" with "F" and "BSD" in uppercase.


81586 13-Aug-2001 ru

Removed duplicate VCS ID tags, as per style(9).


81467 10-Aug-2001 dd

Remove libgmp build infrastructure.


81445 10-Aug-2001 peter

Use some slightly less horrible make magic for doing the version stuff.


81444 10-Aug-2001 peter

One more version related tweak after cvs-1.11 -> 1.11.1p1


81439 10-Aug-2001 peter

Update build rules for .in and tidy up.


81432 10-Aug-2001 peter

Tools dir is now empty and unused


81422 10-Aug-2001 peter

Generate version.c on the fly rather than using a generated file.


81420 10-Aug-2001 peter

Get the version source from the (more) correct place.
Remove the obsolete cvsbug.sh script


81410 10-Aug-2001 peter

*** empty log message ***


81409 10-Aug-2001 peter

Add annotate.c, remove rtag.c for 1.11.1p1


81403 10-Aug-2001 peter

Temporarily turn off cvs builds for the (short) duration of
import/verification.


81358 09-Aug-2001 ru

Skip empty calls in the NAME section after the .Nm macro call.
This makes the following difference:

-groff_mdoc(7), -(7) - groff_mdoc reference for groff's mdoc implementation
+groff_mdoc(7) - reference for groff's mdoc implementation


81356 09-Aug-2001 ru

An empty request (single dot on the line) is treated as an
empty line by troff(1) and is ignored. Teach makewhatis(1)
about this. This makes the following difference:

-groff_man(7), . groff_man(7) - groff `man' macros to support generation of man pages
+groff_man(7) - groff `man' macros to support generation of man pages
-groff_mdoc(7), -(7) - . groff_mdoc reference for groff's mdoc implementation
+groff_mdoc(7), -(7) - groff_mdoc reference for groff's mdoc implementation
-troff(1), . . troff(1) - format documents
+troff(1) - format documents

Noticed by: yar


81355 09-Aug-2001 ru

Teach makewhatis(1) about mdoc(7) .Xr macro.

% whatis finger.conf
finger.conf(5) - finger 1 alias configuration file

% whatis finger.conf
finger.conf(5) - finger(1) alias configuration file

Reviewed by: MAINTAINER timeout


81331 09-Aug-2001 eric

Handle keys consistently.


81251 07-Aug-2001 ru

mdoc(7) police:

Avoid using parenthesis enclosure macros (.Pq and .Po/.Pc) with plain text.
Not only this slows down the mdoc(7) processing significantly, but it also
has an undesired (in this case) effect of disabling hyphenation within the
entire enclosed block.


81232 07-Aug-2001 ru

dialog(3) -> dialog_noyes(3).


80844 01-Aug-2001 eric

Update man page to actually match the source.

PR: 7456


80530 29-Jul-2001 dd

Enable the new libmp in the build, and disable libgmp and its
henchmen.


80527 29-Jul-2001 obrien

Hook up the manpage.


80375 26-Jul-2001 eric

Properly update cursor position when the list is scrolled.


80372 26-Jul-2001 eric

Handle keys consistently.


80020 20-Jul-2001 obrien

Add lbasename which is used in the `LD' fix for -current.


80019 20-Jul-2001 obrien

Update the version string so I can identify this new variant.


79843 18-Jul-2001 eric

Improve the interface provided by libdialog. Move a cursor around over
the components and trigger actions based on its position. This reduces
the need to remember the functions of various keys, and makes the
interface more consistant across library.
~


79632 12-Jul-2001 ru

Restore vendor CVS keywords; eliminate troff(1) warnings.


79631 12-Jul-2001 peter

Use the real structure names explicitly. Note that this is mostly for
reading old a.out core files, which are totally 100% non-understandable
to the gdb floating-point reader if you have SSE turned on.

This should be the last of the world build breakers...


79629 12-Jul-2001 ru

Restore UUCP VCS IDs; eliminate troff(1) warnings.


79616 12-Jul-2001 ru

Fixed CLEANFILES.


79557 10-Jul-2001 ru

mdoc(7) police: removed punctuation after the last SEE ALSO xref.


79552 10-Jul-2001 ru

Add $FreeBSD$ CVS tag.


79551 10-Jul-2001 ru

Upgrade to Groff 1.17.2.


79528 10-Jul-2001 ru

mdoc(7) police: removed HISTORY info from the .Os call.


79454 09-Jul-2001 dd

mdoc(7) police: remove extraneous .Pp before and/or after .Sh.


79452 09-Jul-2001 brian

Fix the type of the NULL arg to execl()

Idea from: Theo de Raadt <deraadt@openbsd.org>


79366 06-Jul-2001 ru

mdoc(7) police: sort SEE ALSO xrefs (sort -b -f +2 -3 +1 -2).


79312 05-Jul-2001 kris

Silence a non-constant format string warning.

MFC after: 1 week


78954 29-Jun-2001 obrien

Upgrade to Binutils 2.11.2.


78848 26-Jun-2001 obrien

Style fix.


78847 26-Jun-2001 obrien

Add the IA-64 unwind handling (needed for readelf).


78842 26-Jun-2001 obrien

Upgrade to Binutils 2.11.2.


78830 26-Jun-2001 obrien

Upgrade to 2.11.2.


78779 25-Jun-2001 ache

Rewrite locale handling using nl_langinfo(CODESET), so aliases not needed here
now


78438 18-Jun-2001 dd

When processing -a, strip off the path of the argument before copying
it to the output.

Reviewed by: alex


78389 17-Jun-2001 alex

Document the -a flag.


78375 17-Jun-2001 dd

Add an -a option which will make send-pr copy the specified file into
the Fix: section. Binary files (as determined by file(1)) are
uuencode'd.

Submitted by: alex


78184 13-Jun-2001 tobez

Fix the build of C programs that link against libperl, and use the
blessed way of doing this:

cc -o interp interp.c `perl -MExtUtils::Embed -e ccopts -e ldopts`

In order for this to work, ldopts should contain -lcrypt.

PR: 21804
Reviewed by: markm


78030 10-Jun-2001 ache

In debug mode don't print error for C,POSIX,ASCII,US-ASCII locales


77991 10-Jun-2001 ache

Fix for new locale names


77990 10-Jun-2001 ache

Fix for new locale names


77846 07-Jun-2001 dd

Don't allow the user to change the subject; instead, always generate
it from the Synopsis field. There's no reason for the subject to be
different, since all that does is cause confusion. Users may get
confused because they may think the subject and synopsis are supposed
to be different, and developers may get confused because it may look
like there are two different problems.

Requested by: ru


77643 03-Jun-2001 dd

Put the originator's full name in the From and Reply-to fields, and
stick their username (which sendmail will make into an e-mail address)
inside '<>'. Sendmail will still DTRT with this, and it conveniently
puts the submitter's name and e-mail address on one line, just like it
should be after "Submitted by" in a commit message.


77571 01-Jun-2001 obrien

Minor style reformatting.


77570 01-Jun-2001 obrien

Upgrade to Binutils 2.11.0.


77519 31-May-2001 markm

For the time being, Perl threading is considered dangerous. How, when
and why this is re-enabled will be addressed again in the future.


77324 28-May-2001 obrien

Upgrade to Binutils 2.11.0.


77320 28-May-2001 ru

`\<space>' (unpaddable space) does not work in groff_font(5) files,
it is taken as a single escape (`\') character. This prevented \e
from being output correctly in -Tkoi8-r case.

Noticed by: Andrey Simonenko <simon@comsys.ntu-kpi.kiev.ua>


77236 26-May-2001 markm

From the submitter:

$ PERL_DL_NONLAZY=1 perl -MPOSIX -e ''
Can't load '/usr/libdata/perl/5.6.0/mach/auto/POSIX/POSIX.so' for module
POSIX: /usr/libdata/perl/5.6.0/mach/auto/POSIX/POSIX.so: Undefined
symbol "sv_setptrobj" at /usr/libdata/perl/5.6.0/XSLoader.pm line 73.
at /usr/libdata/perl/5.6.0/mach/POSIX.pm line 24
Compilation failed in require.
BEGIN failed--compilation aborted.

This problem only exists in -CURRENT. Most often it is reproduced when
compiling some perl extension manually. Make test uses PERL_DL_NONLAZY,
and if a tested module uses POSIX, boom!

Luckily, we don't see it very often, mostly because the vast majority of
p5 ports do not perform the `make test' step.

Submitted by: Anton Berezin <tobez@tobez.org>
Needs to be a committer already: Anton Berezin <tobez@tobez.org>


77229 26-May-2001 markm

CURRENT no longer needs -pthread


77107 24-May-2001 dd

Use pw(8) instead of grep'ing through /etc/passwd. This fixes
automatic filling of the "Originator" field for NIS users.

PR: 24372


76627 15-May-2001 ru

Add support for FreeBSD 4.4.


76512 12-May-2001 kris

Fix typo introduced in a comment in the previous commit


76332 07-May-2001 ru

Only load KOI8-R-specific bits if document language is set
via the \*[lang] register, not if just device is `koi8-r'.

Reviewed by: ache


76301 06-May-2001 kris

Create temporary files securely using mkstemp() instead of mktemp()

Reviewed by: mikeh, audit@
MFC after: 1 week


76253 03-May-2001 obrien

Total hack to fix broken bootstrap. Add -I/usr/src/include at the tail
end of the include searching. We really need a real fix for the issue of
which set of headers to use in compiling the cross-tools -- /usr/include,
or /usr/src/include.


76234 03-May-2001 mjacob

like i386, add inclusion of lock.h


76219 02-May-2001 markm

- Avoid circular `use Config', which may lead to random synax errors
produced by miniperl during buildworld phase.

- While at it, do loading of SelfLoader only when it is needed, and in
place where it is needed.

Submitted by: tobez@tobez.org (who is doing way too much good work
and is in need of the Commit Bit punishment)


76177 01-May-2001 joe

* Add Config.pm to fight situations when perldoc(1) showed a manual page
for a module overridden by BSDPAN instead of the original module.

* Fix wrong manual section numbers in SEE ALSO.

* Add `Revision 42' to the beer-ware license. The BSDPAN author did not
originally get the reference and removed the revision from original
phk's version.

Submitted by: Anton Berezin <tobez@tobez.org>


76171 01-May-2001 markm

Compensate for dethreaded headers.
(I have no religion about how this was done. Follow-up commits welcome)


76028 26-Apr-2001 ru

-lposix1e is dead.


75977 25-Apr-2001 ru

Backout rev.1.30, as the root of this problem was already fixed
in bsd.obj.mk rev.1.35, and

On Tue, Apr 24, 2001 at 06:29:27AM +1000, Bruce Evans wrote:
>
> This is bogus. It is normal for sloppy cleaning to cause problems.
> `make depend' after `make depend' should not do anything. I'm still
> waiting for a similar problem in kdump to be fixed properly :-).


75866 23-Apr-2001 ru

If the world was built using either -DNOCLEAN or -DNOCLEANDIR, it was
possible to use old generated doc-* files as the source for new ones.
Wrong -mdoc files would then be installed, and man(1) failed with the
following diagnostics:

mdoc error: end-macro (.em) respecification is not allowed. (#41)
Should this have been `.Em ...'?

Put helper stuff into `beforedepend' to cleanup old files.

Makefile first infected in rev 1.15.

Reported via: -current


75857 23-Apr-2001 ru

This is not a problem but a feature of PMake.

Pointed out by: bde


75852 23-Apr-2001 ru

Add .Lb entry for -ldevinfo.


75808 21-Apr-2001 ache

Pick manpages from their original locations


75695 19-Apr-2001 ru

Work around the problem in multi-job make(1).
(Fixes ``make -jN buildworld'' breakage in bootstrap-tools.)

Reported by: Steve Kargl <sgk@troutmask.apl.washington.edu>


75670 18-Apr-2001 ru

mdoc(7) police: normalize .Nd.


75652 18-Apr-2001 ru

Synch with devascii/R.proto, RFC 1489, and groff_char(7).


75595 17-Apr-2001 ru

mdoc.samples(7) is superseded by mdoc(7).


75592 17-Apr-2001 ru

Upgrade to Groff 1.17.


75439 12-Apr-2001 ache

Install history.3 as rlhistory.3 to not conflict with existing libedit function


75412 11-Apr-2001 ache

Upgrade for readline 4.2


75410 11-Apr-2001 ache

Upgrade to 4.2


75400 11-Apr-2001 obrien

Remove MIPS support.
It has rotted quite badly and no one has provided updates for it.


75387 10-Apr-2001 ru

psroff(1) has never been a part of Groff.


75316 08-Apr-2001 markm

From the author:

Fix a bug when the return values from the overridden sub were lost
during the first invocation.


75286 07-Apr-2001 ru

beforeinstall -> SCRIPTS.


75235 05-Apr-2001 joe

Fix a few bugs in BSDPAN:

* Fix a bug which prevented the second invocation of overloaded
subs governed by SelfLoader from functioning.

* Fix a bug with XS modules. MakeMaker determines where the xsubpp
preprocessor is located by adding "ExtUtils" string to the Perl's
system path. At the same time, BSDPAN has to fool MakeMaker into
thinking that the Perl's system path is elsewhere. Now we
`reverse-adjust' the notion of the Perl's system path for a
moment, so xsubpp utility is found.

This should fix the breakage with some p5- ports.

Reported by: vanilla
Submitted by: Anton Berezin <tobez@tobez.org>


75157 04-Apr-2001 ru

mdoc(7) police: use .Nm, remove blank line (these cause warnings in mdocNG).


75140 03-Apr-2001 joe

Commit the first version of BSDPAN.

BSDPAN is the collection of modules that provides tighter than ever
integration of Perl into BSD Unix.

Currently, BSDPAN does the following:

o makes p5- FreeBSD ports PREFIX-clean;

o registers Perl modules in the FreeBSD package database with a
package name derived from the module name.
The name is of the form: bsdpan-ModuleName-V.VV.

Anyone interested in where BSDPAN is developing should read Anton's
message to the ports mailling list:
Message-ID: <20010105040828.A26011@heechee.tobez.org>

Submitted by: Anton Berezin <tobez@tobez.org>


75045 31-Mar-2001 obrien

Reduce the libiberty sources we build to those we actually need.


75034 31-Mar-2001 obrien

Minor style cleanup.


75032 31-Mar-2001 obrien

Add libiberty. This is needed on the Alpha by the iprobe port.
I have held this back for over a year, as we will always have to wrestle
with the question of "*which* libiberty sources to use". Sigh, if only
the GNU people would treat it as a totally separate library from GCC, et al.
and release it as such...


75020 30-Mar-2001 ru

Backout rev 2.3 (-fno-for-scope); problem fixed in Groff 1.12.


75019 30-Mar-2001 wosch

space typo in last commit


75018 30-Mar-2001 wosch

* A comment in apropos.sh contains the misspelled word
"locailzed"; it should read "localized".

* The "test" operator can be a bit dangerous (e.g., if
a newbie writes a script named "test" and has it call
"apropos", which calls "test, ...).

* In its use as "whatis", apropos formats the first
line of the output differently than the following
lines. Specifically, it leaves out all but one of
the spaces that precede the dash in the first line.

Submitted by: Rich Morin <rdm@cfcl.com>
PR: 25126


74954 28-Mar-2001 phk

Add to BUGS section why tar can't dump large minors


74861 27-Mar-2001 ru

MAN[1-9] -> MAN.


74804 26-Mar-2001 ru

Don't use MANDEPEND and MANSRC.


74767 25-Mar-2001 obrien

Temporary build structure for GDB 5.0 so people can test the new version
before pulling the switch to making it the default version.


74743 24-Mar-2001 obrien

Sigh. I should know better than to commit a one line change from a PR
w/o a full compile test, even when the PR seemed so authoritative on the
subject...

Install sstream, not the non-existent sstring.


74737 24-Mar-2001 obrien

Install sstring.

PR: 25927
Submitted by: Jeremy Norris <ishmael27@home.com>


74736 24-Mar-2001 obrien

Garbage collect these ancient bits.


74689 23-Mar-2001 ache

Fix -I getopt form

PR: 26010
Submitted by: Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>


74591 21-Mar-2001 ache

Cosmetique, use %R instead of %H:%M


74580 21-Mar-2001 ache

Don't attempt to parse %c output, use nl_langinfo instead


74313 15-Mar-2001 obrien

Note rules of enguagement.


73754 05-Mar-2001 ru

mdoc(7) police: Nm macro remembers its argument on the first
call, punctuation characters should be separated by whitespace.


73349 02-Mar-2001 ru

setlocale(3) has been fixed to match POSIX standard:
LC_ALL takes precedence over other LC_* envariables.


73307 02-Mar-2001 obrien

Include `dbxelf.h' via tm.h (the approved FSF/GNU way) vs. in our MI header.


73306 02-Mar-2001 obrien

Define "FREEBSD_NATIVE" in the freebsd-native header to reduce the amount
of stuff (and thus length of error output) we put on the invocation command
line. Also follow the new FSF/GNU style of giving the symbol a value so it
can be used in `if()' statements in addition to `#if' so seldomly compiled
in code (on some platforms) gets compiled always, to help reduce bit-rot.


73297 01-Mar-2001 obrien

Do not need to define "VERSION" here -- we do it on the command line.


73218 28-Feb-2001 obrien

Allow "NOSHARED" to be overridden.

Submitted by: bde


73146 27-Feb-2001 obrien

Make critical toolchain binaries staticly linked in this development
version of the OS.


73069 26-Feb-2001 kris

Update for bc 1.06


72986 24-Feb-2001 jkh

Properly orient the buttons for yes/no and no/yes so that POLA is
observed. This fixes the "no/yes box jumps buttons around" problem.

PR: gnu/24487
Submitted by: Gerhard Sittig <Gerhard.Sittig@gmx.net>


72942 23-Feb-2001 ru

Make ``groff -man'' work again for both man(7) and mdoc(7) manpages.
The new Groff release will support this feature.

Requested by: peter


72798 21-Feb-2001 obrien

Our OS name is "freebsd", not "freebsdelf"


72696 19-Feb-2001 ru

Implement one nice feature of original BSD man(1):

: As some manual pages are intended only for specific architectures,
: man searches any subdirectories, with the same name as the current
: architecture, in every directory which it searches. Machine specific
: areas are checked before general areas. The current machine type may
: be overridden by setting the environment variable MACHINE to the name
: of a specific architecture.


72695 19-Feb-2001 ru

Fixed the order of environment variables list.


72666 18-Feb-2001 ume

Introduce $TAR_RSH to enable use of ssh as transport.


72584 18-Feb-2001 bde

Quick fix for attempts to free non-malloc()ed memory. The variables
current_file_name and current_link_name sometimes point into the
middle of malloc()ed memory and sometimes point to alloca()ed memory,
but free() is sometimes called on them. This seems to be harmless
for the usual tar operations, but it is usually fatal for `tar -W'.
E.g., for `cd /etc; tar Wcf /tmp/foo rc', at the start of
verify_volume(), current_file_name points to alloca()ed memory, and
tar attempts to free it.


72567 17-Feb-2001 obrien

Make `cc' and `cpp0' staticly linked binaries in this development version
of the OS.


72534 16-Feb-2001 ru

Fix broken -L for short locale names.


72522 15-Feb-2001 ru

Do not ever try to look into nonexisting locale subdirectories.

(is_directory() returns -1 if the file does not exist, 1 if it
is a directory or a symlink to a directory, and 0 otherwise.)


72488 14-Feb-2001 ru

If both full-locale-name and short-locale-name searches
fail, look the manpage in the en.<charset> subdirectory.

See the manpage for details.

Suggested by: ache


72481 14-Feb-2001 ru

Backout 1.38->1.41 (functional) changes pending the proper solution.
/usr/share/man/cat? is only allowed to store -Tascii formatted data.

Requested by: ache


72449 13-Feb-2001 ru

Do not allow non-absolute pathnames in the manpath.


72444 13-Feb-2001 ru

Make it possible for any given locale to use different
groff(1) devices for localized and non-localized pages.

Currently, for *.ISO_8859-1 locales the device in both
cases is "latin1", and for KOI8-R locale it is "koi8-r"
for localized and "ascii" for non-localized pages.

Discussed with: des


72426 13-Feb-2001 peter

When setproctitle() moved from libutil to libc, we forgot to back the
change out that made libperl.so dynamically depend on libutil.so to pick
up setproctitle() in its old location. This breaks changes involving
incomptabable libc's because ld looks for the dynamic dependency
(which it has no business doing anyway) in the wrong place - /usr/lib!


72029 05-Feb-2001 dillon

Finish draining any input prior to closing the pipe, to prevent unsightly
'Broken pipe' messages from gzcat.


71895 01-Feb-2001 ru

mdoc(7) police: split punctuation characters + misc fixes.


71744 28-Jan-2001 des

Revert part of previous commit and initialize locale_nroff to " -Tascii"
so man(1) works properly when no locale is set.

Spotted by: bde


71715 27-Jan-2001 des

Make an effort to actually pass the correct device to groff.


70974 12-Jan-2001 ru

mdoc(7) police: Ft/Vt now accept punctuation-type arguments.


70898 10-Jan-2001 jake

- Add #defines for the symbol names of the kernel interrupt, system
call and trap entry points so they're easy to find and change
- Use the cpuhead and allcpu list to locate globaldata for the current
cpu, rather than SMP_prvspace or __globaldata
- Use offsets into struct globaldata directly to find per-cpu variables,
rather than symbols in globals.o

Glanced at by: peter


70755 07-Jan-2001 n_hibma

Assume that the submitter knows what he is doing and order the
suggested actions accordingly. S)end should be the first one.


70743 07-Jan-2001 peter

Fix gdb -k after jake's most recent commit. The gd_XXX symbols are now
offsets in all cases, and we have to find the base address (&__globaldata)
ourselves for the UP case as well as SMP.


70703 06-Jan-2001 obrien

Use a unified libgcc rather than a seperate one for threaded and
non-threaded programs. This provides threaded programs with the
needed exception frame symbols.

parts submitted by: Max Khon <fjoe@iclub.nsu.ru>
PR: 23252


70649 04-Jan-2001 obrien

The preprocessor used by the `cc' driver is now named `ccp0' to make it
clear this is the 1st pass of compilation and to make clear this particular
cpp is for `cc's use only.


70563 01-Jan-2001 obrien

s/rsa0/sa0/g


70539 31-Dec-2000 phk

Use macro API to <sys/queue.h>

Submitted by: Dima Dorfman <dima@unixfreak.org>
Reviewed by: phk


70395 27-Dec-2000 ru

Prepare for mdoc(7)NG.


70377 26-Dec-2000 joerg

Fix an annoying message ``gdb: ptrace(PT_GETDBREGS) failed: No such process''
when using gdb on a remote target. The fix is to restrict PT_GETDBREGS
calls to `child' and `freebsd-uthreads' targets solely.

I've been in some conversation with Brian about this, and this solution
seems to be the most appropriate one.

PR: gnu/21685
Submitted by: bsd


70359 26-Dec-2000 obrien

Add these files that were used from contrib/gcc/. They are taken from
GCC 2.7.2.3 as that was the version of GCC in active use before the switch
to ELF.
The GCC 2.9[67] versions of these files carry more baggage and I'm not sure
the are appropriate for this linker.


70347 25-Dec-2000 ru

mdoc(7) police: formatting fixes.


70327 24-Dec-2000 obrien

Clean up the -j/-y/--bzip entry in usage().

Add the -U and --unlink-first options which are the offical verions of our
--unlink localism.
Add support for the "TAR_OPTIONS" environmental variable.

Obtained from: GNU tar 1.13.18


70326 24-Dec-2000 obrien

Add -j as the offical "pipe thru bzip2 compression program" option.
Make -I equivalent to -T for compatiblity with Solaris.

Obtained from: GNU tar 1.13.18


70318 23-Dec-2000 obrien

Add `gcov' to the mix.

Requested by: David Malone <dwmalone@maths.tcd.ie>
PR: 18574


70281 22-Dec-2000 ru

Teach man(1) how to look inside compressed manuals
for preprocessor directives. Avoid use of cat(1).

PR: bin/23585


70279 22-Dec-2000 obrien

Update the date of last change.

Submitted by: ru


70268 22-Dec-2000 obrien

Add the -bzip and -I flags as aliases for -y for Red Hat compatibility.


70065 15-Dec-2000 obrien

Our OS name is "freebsd", not "freebsdelf".


70062 15-Dec-2000 obrien

Only build the a.out `as' and `ld' if "WANT_AOUT" is defined.

Looking in src/Makfile* it looks like all the "WANT_AOUT" support
has been removed, maybe these should just go away...

Note that the a.out `ld' reaches over into src/contrib/gcc for libiberty
bits. This is biting us because the libiberty bits have evolved beyond
what the a.out `ld' can handle.

This change fixes the broken world, but only because very few have
"WANT_AOUT" defined.


70013 14-Dec-2000 ru

mdoc(7) police: removed history info from the .Os call.


70004 14-Dec-2000 jkh

Add a new function, dialog_noyes(), for sysinstall to be able to
present questinos with a different default answer. Somebody submitted
a patch to me once which did something this but I lost it (my bad) so
I'm just going to re-implement it with thanks to whomever it was who
gave me the idea.


69983 13-Dec-2000 ru

This file was not regenerated for the latest import, thus the
reported grep version is wrong. The correct version is 2.4d.


69940 12-Dec-2000 jhb

Catch up to the new kinfo_proc.


69857 11-Dec-2000 ru

mdoc(7) police: use canonical form of .Dd macro.


69793 09-Dec-2000 obrien

Add `_PATH_DEVZERO'.
Use _PATH_* where where possible.


69679 06-Dec-2000 ru

Install the stock (as supplied by groff(1) distribution) tmac.an
and tmac.andoc files. The man(1), catman(1) and bsd.man.mk have
been modified to call groff(1) with -mandoc argument.


69677 06-Dec-2000 ru

Build and install groff(1) texinfo(1) documentation.


69674 06-Dec-2000 ru

Hmm, font `L' is still used in old Sun docs.


69668 06-Dec-2000 ru

Font `L' is not needed for BSD docs, but some use font `CW'.


69665 06-Dec-2000 ru

Fixed device files building procedure. This makes
it possible to ``make all install'' in one pass.


69632 05-Dec-2000 ru

Upgrade to version 1.16.1.


69605 05-Dec-2000 ru

Fixed manpage building.


69535 03-Dec-2000 obrien

tm.h should include the platform specific ELF header if it exists.


69453 01-Dec-2000 obrien

The GCC 2.96 snapshots have slightly different rules for finding include
files. Mostly -I${.CURDIR} was needed -- especially for YACC generated
files as the new cpp does not look in the ultimate source file
(ie, the .y file)'s directory as told by the "#line" directive. Some were
misspellings of "-I${.CURDIR}" as "-I.".


69165 25-Nov-2000 obrien

Deal with a real PITA in that GDB 4.18 (as we imported it) requires a
`wait.h' that was in contrib/binutils/, however this wait.h went away with
bintuils 2.10.0 so I `cvs rm'ed it. Now we find gdb will not build. This
binutils wait.h contained nothing we didn't already have in <sys/wait.h>.
So just hack a symlink to it.


69164 25-Nov-2000 obrien

`stringify.sed' has been replaced by `astring.sed' [on ANSI-C systems].


69162 25-Nov-2000 obrien

Don't compile libgcc_r twice.


69128 25-Nov-2000 obrien

Don't build libgcc_r if "NOLIBC_R" defined. If you don't have a threads
safe libc, having a threads safe libgcc isn't of much use.


69026 22-Nov-2000 ru

log


69000 21-Nov-2000 ru

mdoc(7) police: Add a missing `.Sm on' request.


68967 20-Nov-2000 rnordier

Typo police.


68938 20-Nov-2000 ru

mdoc(7) police: use the new features of the Nm macro.


68927 20-Nov-2000 marcel

Fix cross-building.

o Move building libperl and miniperl from build-tools to
cross-tools. libperl uses MACHINE_ARCH to determine the
right configuration, which doesn't match the build
machine when cross-building if they are built as build-
tools.
o Since miniperl needs to be built as a cross-tool, it
needs to be installed under /usr/obj so that it can be
used (cross-tools have a special object directory to
avoid build conflicts. As a downside, you can't easily
run cross-tools from their object directory). Remove
the install and distribute override targets. To avoid
having miniperl installed by installworld, remove it
from SUBDIR.
o We can't pickup miniperl from the object directory but
since it's installed, depend on PATH. This is save,
because the makefiles are run with a known path.
o Build libperl again as part of the library target. A
_libperl variable existed, but it was never defined.
o Add chmod to the list of saved tools, because perl
conditionally uses it during install.

The bootstrap-tools and cross-tools targets are modified to
avoid building profiled and shared libraries. While here,
have these targets build static binaries instead of shared
binaries.

Approved by: markm


68903 19-Nov-2000 kris

Use mktemp -t to respect TMPDIR
Clean up temporary file at runtime


68788 15-Nov-2000 obrien

Correct the Bintuils src path from the debugging version I accidently
committed.


68780 15-Nov-2000 obrien

Upgrade to Binutils 2.10.1.


68716 14-Nov-2000 ru

Use Fx macro wherever possible.


68675 13-Nov-2000 obrien

Build and install the useful `readelf' util that is new with Binutils 2.10.0.


68594 11-Nov-2000 kris

Create temporary filenames securely, don't just number them sequentially.

Audited by: eivind, freebsd-audit


68572 10-Nov-2000 obrien

Add comment about a requirement in using a 64-bit `long' on i386.


68571 10-Nov-2000 obrien

Link with libgcc_pic when building shared objects.
(note we should not just use GCC's default LIBGCC_SPEC as it doesn't use
the PIC version when linking shared)

Recomended by: jdp
PR: 21983


68539 10-Nov-2000 deischen

Sync gdb thread support with recent changes to the threads library.

Approved by: obrien


68528 09-Nov-2000 obrien

Found remaining -kthread option that [sort of] supported using the
LinuxThreads port. Dike it out as it was removed from freebsd.h on
19-July-2000 as this option depended on bits not part of the base system
and required people to install the LinuxThreads port in a manner
non-consistent with the workings of our Ports Collection.

Requested by: jasone


68143 01-Nov-2000 jdp

Tell libgcc_r how to initialize a mutex before it uses it. This
fixes the immediate segmentation violations from some multithreaded
programs built on very up-to-date systems.


68064 31-Oct-2000 obrien

Quiet -Wall.


68019 31-Oct-2000 obrien

GCC uses .asm files on the Alpha for crt{begin,end}.o rather than
crtstuff.c as they do for other platforms.

Moral support from: jdp


67925 30-Oct-2000 vanilla

Change "PERL_THREADED=yes" to "PERL_THREADED=true".


67923 30-Oct-2000 vanilla

Add suffix "-thread" to archname when perl with thread support.

Approved by: markm


67909 29-Oct-2000 steve

Add two new classes of problem reports primarily for the Ports Collection:

- update: For submitting non-maintainer updates/changes
- maintainer-update: For submitting maintainer updates/changes

The intent is to make it easier to spot maintainer sactioned or submitted
updates to ports though it might also be useful for userland code that is
maintained by someone that is not a FreeBSD committer.

Submitted by: nbm and many others


67908 29-Oct-2000 steve

Update to version 3.113. Major changes were to incorporate FreeBSD-
specific changes into the original distribution (although sometimes
with a slightly different approach) and to add two commandline
options to send-pr(1):

-c which allows you to specify an address to CC this
PR to
-s allow the severity to be specified on the commandline

PR: 17922


67811 28-Oct-2000 obrien

* Bring back the guts of crt{i,n}.S. This allows C++ exceptions to work
when using the egcs and gcc-devel ports, along with GCC built from stock
public FSF sources. With out this change, FreeBSD will be removed from
the list of systems GCC 3.0 must be evaluated on before release. With
the effort some of us put into getting FreeBSD on this list, we should
not turn this effort into a waste, else we might not be worth fighting
for in the future. (note that Alpha and IA-64 versions of crt{i,n}.S
are needed)

* Switch from our own crt{begin,in} to those created from GCC's crtstuff.c.
This will allow us to switch to DWARF2 exceptions in the future, along with
staying in sync with any future GCC requirements.

* Break out our ELF branding bits into a seperate file. Currently this
is now included by our crt1.c files (since this functionality was part of
our native crtbegin.c). Later crtbrand.o will be merged in the creation
of crti.o.


67489 24-Oct-2000 obrien

Add "NO_CXX" knob to match src/gnu/usr.bin/cc/Makefile.


67183 16-Oct-2000 brian

Include sys/types.h


67176 15-Oct-2000 brian

include <sys/types.h>


67098 13-Oct-2000 deischen

Adjust to reflect recent changes in the internal layout of a struct
pthread in libc_r.

Reviewed by: dfr


67068 13-Oct-2000 obrien

Style tweaks.


66532 02-Oct-2000 peter

Regenerated. There are a bunch of changes from this round of ./configure
but none of them are used or make any difference (at least in the FreeBSD
version).


66368 25-Sep-2000 peter

Stop the freebsd hardwired version of send-pr from requesting
submitter-id's and try and stop people sending 'Confidential: yes' PRs.
The gnats database is public.


66238 22-Sep-2000 ru

Removed files not present in v1_15 import.


65975 17-Sep-2000 ache

Spelling fixes

Submitted by: "Peter Avalos" <pavalos@theshell.com>


65915 16-Sep-2000 ache

Remove unneded -lmytinfo


65879 15-Sep-2000 markm

Gosh. I managed to commit the wrong version of this file. Darn;
I must remember not to do that again.

(This fixes broken install and distribute targets)


65853 14-Sep-2000 markm

Silence the perl build a lot; particularly in the case where a
"make all" is being done on top of a "make buildworld", and nothing
needs making.

Asked for by: jkh


64873 20-Aug-2000 markm

Fixes and cleanups to the perl build; don't error out when NOCLEAN is
set and directories are being (re)made; build the procname ($0) stuff,
don't install miniperl.
(Miniperl needs a revisit).


64842 19-Aug-2000 markm

Silence -Wall; main()'s second argument was "unsigned char **",
and this had filtered down into too many other places.


64789 17-Aug-2000 joerg

Implement the GDB counterpart to use hardware watchpoints in connection
with Brian's kernel support for i386 debug registers. This makes
watchpoints actually usable for real-life problems. Note: you can
only set watchpoints on 1-, 2- or 4-byte locations, gdb automatically
falls back to [sloooow] software watchpoints when attempting to use
them on variables which don't fit into this category. To circumvent
this, one can use the following hack:

watch *(int *)0x<some address>

David O'Brien is IMHO considering to get this fully integrated into the
official GDB, but as long as we've got the i386/* files sitting around
in our private FreeBSD tree here, the feature can now be tested more
extensively, so i'm committing this for the time being.

This work has been done in order to debug a tix toolkit problem, thus
it has been sponsored by teh Deutsche Post AG.

Reviewed by: bsd (not the operating system, but Brian :-)


64672 15-Aug-2000 sheldonh

Update for the newly-updated gawk-3.0.6.


64671 15-Aug-2000 sheldonh

Update for the newly-updated gawk-3.0.6.


64575 13-Aug-2000 imp

Always build and install suidperl. Only install suidperl setuid when
ENABLE_SUIDPERL is set to true. When perl is updated to remove the
fork mail code, additional warnings will enable the users to know what
is gonig on and how to correct it. Markm will make those commits as
part of his perl patch integration. suidperl is installed with
execute permissions so that markm's added error messages wil be seen
by the user.


64516 10-Aug-2000 imp

Don't build suidperl by default. Make users specifically enable its
building.


64156 02-Aug-2000 kbyanc

Fix previous commit such that only -S/--skip ignores errors when applying
a patch, returning -f/--force and -t/--batch to their previous semantics.

Pointed out by: asami


64120 02-Aug-2000 kbyanc

Fix patch such that skipping files does not count as a failure.
Previously, using -S/--skip, -f/--force, or -t/--batch to skip a patch in
a patchset still registers a failure which causes patch to return a
non-zero exit code. This is particularly undesirable with regards to
ports as there is no way to ignore the non-zero code. (Luckily, we don't
currently have any ports that make use of any of these options.)

The PR (yes, my own) is slightly incorrect: It states that -f does indeed
properly skip patches. It does, but it still sets the failure flag causing
patch to return non-zero.

PR: 19638
Submitted by: kbyanc@posi.net


64074 31-Jul-2000 green

Make style match the surrounding style. Use memset() instead of bzero()
because it's standard (bah, show me a real system without bzero()...)

Noted by: bde


64072 31-Jul-2000 kris

Fix a bug in keyed sorting due to malloc abuse.

Submitted by: green


62990 12-Jul-2000 kris

Don't call fprintf() without a format string.


62902 10-Jul-2000 obrien

Install the general binutils (such as `nm') info files.

Patch submitted by: nbm
PR: 16585
Submitted by: Assar Westerlund <assar@sics.se>


62634 05-Jul-2000 sheldonh

Correct the usage printed for --exclude, which takes a globbing pattern
and not a file name.

PR: 19698
Reported by: Jeff Blaine <jblaine@mitre.org>


62418 02-Jul-2000 markm

Perl's version number needs upating.


62415 02-Jul-2000 markm

Bunch-o'-tweaks.

1) (Biggest) I tried long-and-hard to keep the version number (5.006)
backwards compatible with FreeBSD; I have lost this battle, and
must defer to the Perl convention (5.6.0). Victims include suidperl.
this means that dirs with a name of 5.006 will be replaced with
dirs named 5.6.0 in both /usr/libdata/perl and /usr/local/lib/perl.

2) Errno module is added.

3) Alpha bits extensively tweeked after a Beast-build.

Other commits to follow.


62374 02-Jul-2000 ache

Fix manpath for new perl


62281 30-Jun-2000 peter

Fix the perl build on the Alpha. int32 is 'int' not 'long'. int64 is
'long', not 'long long'. Maybe the intXX_t types should have been used.


62262 29-Jun-2000 markm

Tweaks to the build to allow "make -DNOCLEAN" and "make release" to
work.


62161 27-Jun-2000 markm

Fix the upgrade-build case.


62125 26-Jun-2000 markm

Fix for bootstrapping. Grr. Pointy Hat Please?


62116 26-Jun-2000 markm

Thread support for v5.6.0


62081 25-Jun-2000 markm

Userland build stuff for Perl5.006.

This is cleaned up quite a lot since 5.00502, and the library modules
are broken out into individual dirs. This should please a lot folk.


61857 20-Jun-2000 alex

/etc/weekly -> /etc/periodic/weekly/320.whatis

PR: 19272
Submitted by: Uwe Pierau <uwe.pierau@tu-clausthal.de>


61842 20-Jun-2000 obrien

We are now at version 2.10 release.


61265 04-Jun-2000 ache

Remove libxpg4


61238 04-Jun-2000 obrien

Scoot things over to the temporary *.295 source while I do major construction
on the mainline sources.


61088 30-May-2000 ru

Restore backwards compatible -R option.
Broken in revision 1.17.

Noticed by: hoek


60938 26-May-2000 jake

Back out the previous change to the queue(3) interface.
It was not discussed and should probably not happen.

Requested by: msmith and others


60926 25-May-2000 ume

IPv6 support.
Add $FreeBSD$.


60884 24-May-2000 obrien

Move c-decl.c out of the common libcc_int.a into the binary Makefiles
where it is used. c-decl has symbols that conflict with several of the
cc1plus sources.

GNU `ld' was changed in Dec 1999 to be more be compatable with the way that
other linkers work (specifically in the Solaris linker). The 2.9.1 `ld',
did the Wrong Thing in that if a library contained a common symbol that
matched a definition of that symbol in another (already linked in object)
it would also be linked in, even if there was no other reason to do so.
This is wrong. The library should only be linked in if it contains
non-common, non-weak symbols which are needed by previously linked in
objects.


60882 24-May-2000 steve

Don't allow people to create new PRs with a 'wish' class.

Requested by: Sheldon Hearn <sheldonh@uunet.co.za>


60833 23-May-2000 jake

Change the way that the queue(3) structures are declared; don't assume that
the type argument to *_HEAD and *_ENTRY is a struct.

Suggested by: phk
Reviewed by: phk
Approved by: mdodd


60783 22-May-2000 obrien

Updated 2.10 headers.


60782 22-May-2000 obrien

Tweaks to match those done in the Binutils mainline code.


60781 22-May-2000 obrien

version 2.10 config file.


60780 22-May-2000 obrien

Conditionally define "CROSS_COMPILE" here.


60777 22-May-2000 obrien

Pull the switch and activate our Binutils to a snapshot of the up and
comming 2.10 release.


60745 21-May-2000 hoek

Once again fix substitution of TMAC_M and TMAC_S_PREFIX in manpages.

PR: bin/5693 docs/9352


60665 17-May-2000 obrien

callback.c is not really used, nor is it part of GDB 4.18.


60600 15-May-2000 bde

Don't forget to clean "grog".

Don't use MANDEPEND. It hasn't had anything to do with dependencies for
5-6 years, but is still being used, mainly in groff/*/Makefile, where it
amounts to just a macro giving the list of generated man pages. Since
all man pages in groff are generated (from .man to .[1-9]), it's simpler
to use the source names ({$MANX}) to give the list.

Fixed some other style bugs.


60598 15-May-2000 bde

Don't forget to clean f77.1.

Don't use "+=" for variables that are only set once.


60483 12-May-2000 obrien

Use a alternate side 2.9.1 source tree while upgrading Binutils.


60319 10-May-2000 phantom

mdoc cleanup: use .Nm macro correctly, don't non mdoc macro


60129 07-May-2000 kris

Update device references.


59807 30-Apr-2000 nik

Only set $MAIL_AGENT if it isn't already defined in the environment.
No idea why this was sent in as a docs bug. . .

PR: docs/17014
Submitted by: Giorgos Keramidas <keramida@ceid.upatras.gr>


59740 29-Apr-2000 dfr

Add support for debugging programs using libc_r's implementation of
pthreads.


59366 18-Apr-2000 steve

Add a new wishlist category.


59332 17-Apr-2000 obrien

Perl lib configuration for IA-64 (along with PPC and arm32)


59331 17-Apr-2000 obrien

Fix the .PATH style nits. Other style nits left for later.


59329 17-Apr-2000 obrien

Use the non-asm routines for IA-64, PPC, and arm32 ports.


59298 16-Apr-2000 steve

Add sparcnetbsd support and cleanup style so that this looks nearly
identical to Makefile.sparc.


59297 16-Apr-2000 steve

Fix a typo (aout32.o -> aout32.c). Add support for NetBSD/Sparc and
sparc64.


59284 16-Apr-2000 steve

Add a config.SH for the sparc and sparc64 ports. The ones for the sparc64
might need some adjusting for the size of long long and long double.

Reviewed and approved by: markm


59265 15-Apr-2000 steve

Use the non-asm routines (for now) on the sparc and sparc64 ports.


59043 05-Apr-2000 sheldonh

The MANSECT environment variable was misrepresented as MANSEC. Fixed.

PR: 17745
Submitted by: nordwick@askjeeves.com (Jason "Just Change It" Nordwick)


59007 04-Apr-2000 gj

Add a '+' to the first LDADD, otherwise it clobbers the LDADD in
Makefile.alpha such that the -lkvm disappears and the link fails.

This time I tested it, honest :)


58968 03-Apr-2000 sheldonh

Fix unsafe tempfile creation. This file is already off the vendor
branch. Although this problem has been reported to the GNU folks,
it's unlikely that any solution they may come up with will involve
the use of mktemp(1).

PR: 16942
Submitted by: Colin Phipps <crp22@cam.ac.uk>


58961 03-Apr-2000 steve

Add support for sunos_big_vec to support 'make world's on Solaris
boxes.


58960 03-Apr-2000 steve

Add support for the sunos_big_vec format as well.


58959 03-Apr-2000 steve

Build and install the elf32_sparc ld(1) scripts and make elf32_sparc
the default emulation.


58954 02-Apr-2000 steve

Enable Haifa on sparc64 as well.


58953 02-Apr-2000 steve

First cut at the (non-contrib) bits needed to build the binutils
distribution for FreeBSD/Sparc64.

Reviewed by: obrien


58947 02-Apr-2000 steve

The ld directory is in ${SRCDIR} not ${BINUTILSDISTDIR}.


58894 01-Apr-2000 asmodai

Add additional path for info to /usr/X11R6/info. This will allow
people to actually look at the info files for gdk and gtk for example.


58823 30-Mar-2000 obrien

Get the installed headers list right.


58807 30-Mar-2000 obrien

Switch over to using the GCC 2.95 Objc library code.


58690 27-Mar-2000 bde

Fixed wrong path to libperl in DPADD.

Fixed wrong path to libperl in LDADD in some funky objdir setups.

Use ${dir}/libfoo.a instead of -L${dir} -lfoo for local static libraries
in LDADD so that `make checkdpadd' doesn't report non-errors.

Fixed misformatting of $FreeBSD$.


58683 27-Mar-2000 bde

Use `${dir}/libfoo.a' instead of `-L${dir} -lfoo' for local static
libraries in LDADD so that `make checkdpadd' doesn't report non-errors.

Fixed some style bugs (the usual ones for DPADD and LDADD, and misformatting
of $FreeBSD$).


58675 27-Mar-2000 bde

Don't abuse LDADD for holding linker flags. Doing so broke
`make checkdpadd'. Linker flags (ones passed via ${CC}) go in
LDFLAGS.

Fixed some style bugs (misformatting of $FreeBSD$).


58674 27-Mar-2000 bde

Fixed missing DPADD.

Fixed some style bugs (some usual ones for LDADD, and misformatting of
$FreeBSD$).


58554 25-Mar-2000 kris

Update for gperf 2.7


58510 24-Mar-2000 mpp

Fix a minor grammar problem.


58478 23-Mar-2000 obrien

Clean up the FreeBSD configuration files -- includes removing the usage
of svr4.h on the i386, and moving all the shared arch neutral bits into
the FreeBSD general config header.


58391 20-Mar-2000 dan

Wrap building of uucp related programs around NOUUCP knob.


58347 20-Mar-2000 peter

A bandaid to try and make this buildable. This should probably be
rechecked by somebody who knows what is meant to happen here. The new
libreadline rluser.texinfo file duplicates the '@defcodeindex bt' entry.


58318 19-Mar-2000 obrien

Make the SUBDIR list more granular to assist in my GCC hacking.


58317 19-Mar-2000 ache

Add missing depend file


58316 19-Mar-2000 ache

Install readline API info


58315 19-Mar-2000 ache

Upgrade to 4.1
Minor bumped because new function added


58086 15-Mar-2000 obrien

Make the build-tools objects weirder named so one can tell there is
something special going on here.


57965 13-Mar-2000 obrien

Move some cflag contents down to where they are acutally used.


57827 08-Mar-2000 markm

Considerable upgrade to the way perl links to shared objects. This
fixes the way that third-party apps like apache link in perl .so's
(and previously did not get libperl linked in.)

NOTE - you neeed to recompile all your perl stuff - all the p5-*
por4ts with C code, and things like mod_perl.


57660 01-Mar-2000 nik

Remove xrefs to obsolete ft driver.

PR: docs/17080
Submitted by: Udo Erdelhoff <ue@nathan.ruhr.de>


57460 24-Feb-2000 markm

Use libcrypto instead of libdes.


57381 21-Feb-2000 obrien

Build and install gasp's infodocs along side the other binutil docs rather
than seperately.

Pointed out by: bde


56920 31-Jan-2000 ru

Merge FreeBSD changes into 2.4d.


56919 31-Jan-2000 ru

Merge FreeBSD changes into 2.4d.

FreeBSD changes OBE'ed by 2.4d:
* rev 1.5 - use collate for alpha character ranges.


56918 31-Jan-2000 ru

This is the stock GNU grep 2.4d file.


56916 31-Jan-2000 ru

This commit was generated by cvs2svn to compensate for changes in r56915,
which included commits to RCS files with non-trunk default branches.


56911 30-Jan-2000 obrien

The "INCDIR" required by the new header installation code in bsd.lib.mk
was not set correctly.

Ok'ed by: JKH


56907 30-Jan-2000 obrien

Retire Bison as it is not need to build GCC any more.

Ok'ed by: JKH


56820 29-Jan-2000 markm

Fix for (amongst other things) the cross-compile case where a too-old
version of libperl was being found.

Tested on: beast


56806 29-Jan-2000 obrien

"Rev.1.45 of cc_tools/Makefile was a wrong fix for a problem introduced
in rev.1.44 (the egcs to gcc switch). The problem is that print-rtl.o
is now needed to build some tools, but it wasn't added to the list of
objects which are specially handled because they are prerequisites for
tools."

Submitted by: bde


56804 29-Jan-2000 obrien

Move the header installation down into `readline' which is the subsystem
the headers are part of.


56730 28-Jan-2000 jasone

Track internal(!) libc symbol naming change.


56586 25-Jan-2000 obrien

Do not use "DEFAULT_VTABLE_THUNKS". The bugs that have existed since
EGCS 1.x have not been worked out. And with 4.0 RELEASE comming quickly
we need C++ to be stable and usable.


56560 24-Jan-2000 archie

Fix typo for the flag ``--ungzip'' which should have been ``--gunzip''
as is documented in the man page. Retain the older mistaken version
of the flag for backwards compatibility in case anybody is using it.
Add $FreeBSD$ tag as cvs requires it.

PR: gnu/7800


56552 24-Jan-2000 obrien

Merge cc_drv into cc_int. Merge more shared files into cc_int.


56521 24-Jan-2000 obrien

Simply cc_tools/Makefile by moving the parser generation to the respective
backends.


56513 24-Jan-2000 obrien

Style change to better match src/lib/'s Makefiles.


56497 23-Jan-2000 obrien

I *hate* using "i" in variables, looks too much like "1" or "l".


56356 21-Jan-2000 obrien

Minor style nits.


56234 18-Jan-2000 ru

Back out previous revision because someone upgraded our
texinfo system to one that understands "command{foo}".


56233 18-Jan-2000 ru

Fix conflicts.


56231 18-Jan-2000 ru

This commit was generated by cvs2svn to compensate for changes in r56230,
which included commits to RCS files with non-trunk default branches.


56224 18-Jan-2000 ru

Oops, cleanup this a bit.

Forgotten by: ru


56198 17-Jan-2000 green

:%s:\([A-Z][A-Z]ADD\)=:\1+=:g
Add the forgotten plus, which should unbreak the world build.


56168 17-Jan-2000 ru

Upgrade to GNU texinfo 4.0


56106 16-Jan-2000 obrien

Update for 1.0.5a.


56076 16-Jan-2000 obrien

Remove Bison from the build. This is a prelude to possibly removing it
from 4.0-R.


55960 14-Jan-2000 obrien

This patch solves the a cross-build problem where proj.c is both used by a
build-tools target and by the actual target. In a cross-building situation
proj.o is both a native object and a cross-object (i.e., for the target
arch) and thus doesn't work. Creating seperate opjects from the same
source file solves this...

This patch may also fix the following issue:

> it looks like -DNOCLEAN doesn't work too well.
> cd /usr/src/gnu/usr.bin/cc/f771; make build-tools
> make: don't know how to make /usr/obj/usr/src/i386/usr/include/stdarg.h. Stop

This seems caused by wrong dependency information. Dependency
information shouldn't be created for build-tools sources.

Submitted by: marcel


55870 13-Jan-2000 obrien

Make mktemp.c a "normal" C implimentation when building this library.


55853 12-Jan-2000 asmodai

Add necessary tmac files to the tmac Makefile and install them
in /usr/share/tmac like the rest.


55852 12-Jan-2000 asmodai

Allow devhtml and grohtml to be built.
This is a new feature of groff and is a html driver for groff.

From the manual page:
"grohtml translates the output of GNU troff to html."

This is very interesting for people working on documentation.


55851 12-Jan-2000 asmodai

Add bmake glue for devhtml and grohtml of the groff package.


55846 12-Jan-2000 asmodai

Allow grog to be made during compilation.


55845 12-Jan-2000 asmodai

Add bmake glue for grog(1), an utility which guesses groff's
flags and options.

Requested by: andreas


55816 11-Jan-2000 green

This is the second half of unbreaking the world build. Add a -DNOHTML
corollary for -DNOINFO and -DNOMAN. I'll fix this properly (add
specific HTML doc magic) in the .mk files later; right now, just
unbreak the world.


55813 11-Jan-2000 green

*draws his sword*
I smite thee, vile buildworld breakage!

The story is that these were added to beforeinstall improperly. In our
beforeinstall, a full mtree has not been populated. Since the tree is
not populated, we explode from missing directories on doc install. It
should not be done in beforeinstall (includes) anyway.


55808 11-Jan-2000 peter

Ack, missed a CVSHeader reference in a switch. *blush*

Submitted by: ru


55803 11-Jan-2000 obrien

Drop the use of Bison for Byacc now that we don't need to depend on the
--broken-undeftoken-init Bison 1.25 bug.


55792 11-Jan-2000 jkh

This change was mis-identified as the problem, sorry. It appears to be
an anomaly restricted only to the alpha in FreeBSD-current (weird).


55791 11-Jan-2000 jkh

Back out the previous change to install the examples - it breaks the release builds.


55755 10-Jan-2000 phantom

Install contents of the TESTS subdirectory to /usr/share/examples/libdialog


55753 10-Jan-2000 phantom

Remove -lncurses and -lmytinfo from LDFLAGS


55752 10-Jan-2000 phantom

Cleanup warnings.


55750 10-Jan-2000 phantom

Fix typo: MAINAINER -> MAINTAINER


55743 10-Jan-2000 phantom

Completely reconstruct page. Make it mdoc(7) style compatible also :)
Page still needs some work about english refinements and some actualization.


55734 10-Jan-2000 phantom

install contrib/bc/Examples as /usr/share/examples/bc


55592 08-Jan-2000 jkh

Have to install from ${.CURDIR}, not ${.OBJDIR}.


55569 07-Jan-2000 phantom

Install contents of the dialog/TESTS directory to share/examples/dialog


55405 04-Jan-2000 ru

Decompression is supported via -Z, not -z.


55404 04-Jan-2000 ru

* Make --null option work in (HAVE_LIBZ > 0) case.
* Remove "why we need this decl..." comment. The `matcher' variable
is defined in *grepmat.c files in the original distribution, which
we did not import.


55388 04-Jan-2000 obrien

Turn on a new /usr/bin/cpp that is a true binary rather than a shell script
wrapper. /usr/bin/cpp knows about all the GCC predefined symbols and has
the functionality of the previous EGCS 1.1.2 /usr/libexec/cpp.


55382 04-Jan-2000 obrien

Update for version 2.4.


55381 04-Jan-2000 obrien

Turn off GNU Info docs until someone upgrades our texinfo system to one
that understands "command{foo}".


55379 04-Jan-2000 obrien

Merge FreeBSD chagnes into GNU grep 2.4.


55361 03-Jan-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r55360,
which included commits to RCS files with non-trunk default branches.


55358 03-Jan-2000 obrien

This commit was generated by cvs2svn to compensate for changes in r55357,
which included commits to RCS files with non-trunk default branches.


55345 03-Jan-2000 obrien

Stop my evil plot to stop the use of GNU info files (which I don't care for)
for people that don't have "NOINFO=yes" in /etc/make.conf.
[read: this still refered to contrib/egcs/]


55334 03-Jan-2000 obrien

Egads! This still refered to contrib/egcs/


55317 02-Jan-2000 obrien

Didn't get these PREFIX specifiers removed with Makefile.inc rev 1.48.

Submitted by: marcel


55278 30-Dec-1999 ru

This is the stock 2.3 file. Since someone majorly SPAMMED the
repository by NOT vendor importing the virgin 2.0 sources, CVS
had no idea what to do here.


55257 30-Dec-1999 obrien

Honestly, really, really add a manpage for gasp.


55256 30-Dec-1999 obrien

Add a manpage for gasp.


55249 29-Dec-1999 steve

Provide some verbage for FreeBSD's list of categories.

PR: 2897
Submitted by: Stephen J. Roznowski <sjr@home.net>


55220 29-Dec-1999 obrien

Allow the specification of a prefix for gcc to find all the various bits.
If one wishes to anchor the compiler toolchain tree somewhere other than /,
all one needs to do is set "TOOLS_PREFIX" to a different rooting.

Submitted by: marcel (in a different format and reworked by me)


55199 29-Dec-1999 obrien

Hookup the info docs.


55197 28-Dec-1999 obrien

Build and install the GASP info page. Unfortunately there is no manpage.


55182 28-Dec-1999 phantom

Better handling groff failures. If popen(ROFF_COMMAND) returns zero bytes
then handle it as problem. This commit fixes problem with archiving empty files.

PR: gnu/5767
Submitted by: Bill Fenner <fenner@parc.xerox.com>


54991 22-Dec-1999 obrien

Fix cut-n-paste braino.


54990 22-Dec-1999 obrien

Reduce the FreeBSD custom hacks to gcc.c by using the GCC provided methods
of changing the search dirs. This also removes an used search dir,
removes unneeded redundancy, and a bugus dir we enherited on the i386
by baseing off of svr4.h.

We went from:
install: /usr/libexec/(null)
programs: /usr/libexec/<OBJFORMAT>/:/usr/libexec/:/usr/bin/:/usr/libexec/
libraries: /usr/libdata/gcc/:/usr/libexec/:/usr/ccs/lib/:/usr/lib/

to:
install: /usr/libexec/(null)
programs: /usr/libexec/<OBJFORMAT>/:/usr/libexec/
libraries: /usr/libexec/:/usr/lib/


54988 22-Dec-1999 obrien

Another style nit.


54987 22-Dec-1999 obrien

* Support a non-default sized `long' data type. This allows one to easily
build the compiler with a 64-bit longs on the i386.
* Comment an important dependancy.
* Fix some style nits

Submitted by: bde


54986 22-Dec-1999 obrien

* Remove debugging cruft that accidently got committed.
* Support mixed OBJDIR handling such .a's are properly found with a mix of
obj subdirs both w/in and outside the source tree works. Requested by BDE.


54885 20-Dec-1999 asmodai

Update man(1) to explain how to use the section numbers.

PR: docs/15557
Submitted by: John Meshkoff <johnpipe@nwserv.com>
Reviewed by: sheldonh


54837 19-Dec-1999 obrien

Add libcc_fbsd.a that contains libc and libiberty routines needed in
bootstraping on FreeBSD specifically.

3.2 upgrade path tested by: marcel


54782 18-Dec-1999 peter

Revert the libcrypt/libmd stuff back to how it was. This should not have
happened as it was working around problems elsewhere (ie: binutils/ld
not doing the right thing according to the ELF design). libcrypt has
been adjusted to not need the runtime -lmd. It's still not quite right
(ld is supposed to work damnit) but at least it doesn't impact all the
users of libcrypt in Marcel's cross-build model.


54748 17-Dec-1999 marcel

s/MACHINE_ARCH/TARGET_ARCH/g

The target machine is represented by TARGET_ARCH. MACHINE_ARCH always
represents the host machine. When TARGET_ARCH is not defined, it is
assumed to be equal to MACHINE_ARCH. This means that we're building a
native toolset by default. We're creating cross-compilation tools when
MACHINE_ARCH != TARGET_ARCH.

TARGET_ARCH is defined when building binutils as part of the bootstrap
build and is set to reflect the architecture we're currently cross-
building. With this change binutils is ready for cross-building.


54720 17-Dec-1999 jkh

*Really* make space accelerators work; no wonder Brian McGovern was
confused! I fat-fingered the first commit.


54680 16-Dec-1999 marcel

Add libmd to LDFLAGS. libmd is needed by libcrypt.


54678 16-Dec-1999 jkh

Make the perl build a little less chatty.

Reviewed by: markm


54677 16-Dec-1999 marcel

Add libmd (or move it after libcrypt). We don't want the linker to be
smart because it will definitely get it wrong. This popped up during
cross-linking.


54647 15-Dec-1999 marcel

Misuse MakeMaker's DEFINE parameter to add an include path to the cc
command line. The makefiles created can now be used for cross-building.


54585 14-Dec-1999 jkh

Prevent spaces from being interpreted as accelerators.


54446 11-Dec-1999 peter

reactivate cvs subdir build


54443 11-Dec-1999 peter

Update files generated by configure.


54426 11-Dec-1999 peter

Turn off cvs for a moment pending import of a newer version..


54368 09-Dec-1999 marcel

Don't make gdb, objc and f77 when building tools.


54318 08-Dec-1999 peter

Add maintainer tags


54317 08-Dec-1999 obrien

Revert rev 1.8.

NOT Approved by: obrien


54313 08-Dec-1999 marcel

Maintain compatibility with FreeBSD versions that don't have mkstemps


54302 08-Dec-1999 dfr

Make this actually build with current sources.


54261 07-Dec-1999 dfr

Build gasp (GAS Preprocessor). This is needed for building Glide.


54127 04-Dec-1999 marcel

Override PERL and FULLPERL to be just "perl". This prevents MakeMaker
(ie Makefile.PL) from creating makefiles that explicitly use the perl
from the object tree. It breaks cross-building. While I'm here, create
a variable that holds common MakeMaker arguments used by all targets,
and by doing so automaticly fixed a bug.

Approved by: markm


54126 04-Dec-1999 marcel

Add miniperlmain.c to CLEANFILES and remove a second instance of
config_h.sh

Not objected to by: markm


54117 04-Dec-1999 obrien

Call isspace() directly to get rid of an objectionable include.


54107 04-Dec-1999 obrien

Support the environtmental var "CVS_OPTIONS". Which can hold a set of
default options for cvs. These options are interpreted first and can be
overwritten by explicit command line parameters.

Obtained from: GNU Grep 2.3


53825 28-Nov-1999 marcel

remove cc1obj from the original SUBDIR list since it's made optional
in the previous commit resulting.

Forgotten by: obrien


53808 28-Nov-1999 obrien

Arange the f* floating point instructions to match binutils 2.9.1.


53807 28-Nov-1999 obrien

Add "fild" instruction. GCC 2.95.2 likes to generate this one.

Obtained from: contrib/binutils/include/opcode/i386.h


53787 27-Nov-1999 obrien

Make ObjC bits optional. NO_OBJC ==> don't need `em.


53715 26-Nov-1999 phk

s/dir.h/dir.c/


53705 26-Nov-1999 obrien

Support the environtmental var "GREP_OPTIONS". Which can hold a set of
default options for diff. These options are interpreted first and can be
overwritten by explicit command line parameters.

Obtained from: GNU Grep 2.3h


53704 26-Nov-1999 obrien

Style changes -- whitespace and sorting.


53703 26-Nov-1999 obrien

* Support the environtmental var "DIFF_OPTIONS". Which can hold a set of
default options for diff. These options are interpreted first and can be
overwritten by explicit command line parameters.
* Add the "-o" option to specify old-traditional output style.
* Add utility functions for env vars obtained from GNU Grep 2.3h.


53668 24-Nov-1999 obrien

GNU killed this sometime before 2.3.


53623 23-Nov-1999 ache

Allow man to parse MANLOCALES but not to store it


53622 23-Nov-1999 ache

#ifdef MAIN locale additions to build man


53618 23-Nov-1999 ache

Use manpath -L for locales


53617 23-Nov-1999 ache

Add -L: print MANLOCALES variable for man locales list


53601 22-Nov-1999 obrien

Missed two.

Submitted by: Philippe Charnier <charnier@xp11.frmug.org>


53575 22-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r53574,
which included commits to RCS files with non-trunk default branches.


53571 22-Nov-1999 obrien

Make the tests work again.


53570 22-Nov-1999 obrien

spencer.tests is now spencer1.tests. The other files aren't part of
GNU Grep any longer.


53569 22-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r53568,
which included commits to RCS files with non-trunk default branches.


53567 22-Nov-1999 obrien

Finish proper hookup of GNU Grep 2.3, including docs & config header file,
rather than the compile commandline from hell.

Submitted by: ru


53566 22-Nov-1999 obrien

Build and install GNU Grep 2.3 docs.


53565 22-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r53564,
which included commits to RCS files with non-trunk default branches.


53519 21-Nov-1999 obrien

Restore the 2.3 config file.


53496 21-Nov-1999 peter

Apply a bandaid to the grep Makefile to try and get it to compile and stop
breaking world.


53482 21-Nov-1999 obrien

Spell command names correctly. Even when they appear at the beginning
of a sentence.


53481 21-Nov-1999 obrien

Merge FreeBSD changes into 2.3:
* revs 1.5-6 - added builtin decompression using zlib library, option -Z.

Submitted by: ru


53479 21-Nov-1999 obrien

Merge FreeBSD changes into 2.3:
* rev 1.2 - use -lgnuregex

FreeBSD changes OBE'ed by 2.3:
* revs 1.4-5 - icase searches & ctype macro changes, fuctionality moved
elsewhere.
* rev 1.3 - Remove trailing whitespace. The GNU Grep maintainers did this
for us.

Submitted by: ru


53478 21-Nov-1999 obrien

Alias -R to -r for backward compatibility.

Submitted by: ru
Requested by: wosch


53477 21-Nov-1999 obrien

Set default matcher from argv[0].

Merge FreeBSD changes into 2.3:
* revs 1.9-10 - built-in decompression using zlib(3) library

FreeBSD changes OBE'ed by 2.3:
* rev 1.7 - our "-q" flag. Use "-L" or "-l" now.
* revs 1.{4,6} - colleate, and with correct LC_ type.
* rev 1.3 - remove trailing whitespace.

Submitted by: ru


53475 20-Nov-1999 obrien

This is the stock 2.3 file (+ FreeBSD id). Since someone added 2.0 rather
than vendor importing the virgin 2.0 sources, we have to manually put this
on the HEAD branch.


53474 20-Nov-1999 obrien

This is the stock 2.3 file (+ FreeBSD id). Since someone majorly SPAMMED
the repository by NOT vendor importing the virgin 2.0 sources, CVS had no
idea what to do here.


53473 20-Nov-1999 obrien

This is the stock 2.3 file (+ FreeBSD id). Since someone majorly SPAMMED
the repository by NOT vendor importing the virgin 2.0 sources, CVS had no
idea what to do here.


53472 20-Nov-1999 obrien

Merge FreeBSD changes into 2.3:
* rev 1.5 - use collate for alpha character ranges
* rev 1.3 - use -lgnuregex

Submitted by: ru


53470 20-Nov-1999 obrien

This commit was generated by cvs2svn to compensate for changes in r53469,
which included commits to RCS files with non-trunk default branches.


53451 20-Nov-1999 peter

Back out the botched attempt to update to gnu grep 2.3 (lots of history
was lost). Restore original version to try and avoid breaking the build
while David O'brien does a proper set of imports and merges.

Requested by: obrien


53443 20-Nov-1999 obrien

mkstemps() has been brought into 3-STABLE, so this isn't needed here
anymore as building -CURRENT sources on 3-STABLE was the reason for the
previous revision adding this.

Note that since the GCC Project moved mkstemp.c from GCC's world to
libiberty, we no longer support building -CURRENT sources on non-FreeBSD
boxes unless that box has a very simular libc mix as FreeBSD.


53442 20-Nov-1999 obrien

Remove the `sysctl' get osversion hack. There are issues with cross-hosting
builds, Also, `sysctl' is not a build-tool and I'd rather not make it one.
3-STABLE has been updated to deal with the main reason this came in.


53280 17-Nov-1999 obrien

Build genrtl.h before print-rtl.o.

Submitted by: John Hay <jhay@mikom.csir.co.za> (basic idea, changed by me)


53271 17-Nov-1999 sheldonh

Add perlopentut.pod, perlreftut.pod and perlthrtut.pod to the list of
pod files to be converted to and installed as manual pages.

These were probably overlooked in the last minor version number upgrade
to perl5. This change was approved by the perl5 maintainer.

PR: 14649
Submitted by: Andy Farkas <andyf@speednet.com.au>


53267 17-Nov-1999 obrien

Allow sub-Makefile's to determine the version of the OS we are make'ing on.


53266 17-Nov-1999 obrien

Add `mkstemp.c' to the mix if we are building on something older than
__FreeBSD_version < 400004.

This allows -STABLE to build -CURRENT sources.

[mkstemps() was added to -current just before the version bump to 400004
(a matter of hours in this case), so the test is as exact as possible.]

Submitted by: marcel


53263 17-Nov-1999 obrien

Pay attention to the "KEEP THIS IN SYNC" comment, and sync the `tm.h'
header with src/gcc/usr.bin/cc/cc_tools/Makefile.


53173 15-Nov-1999 obrien

Cut over the system compiler from from EGCS 1.1.2 to GCC 2.95.2.


53162 15-Nov-1999 obrien

Cosmetic change to match cc_tools/Makefile


53161 15-Nov-1999 obrien

Purely cosmetic changes to lineup targets.


53160 15-Nov-1999 obrien

Cosmetic removeal of a trailing white space.


53152 14-Nov-1999 marcel

${MACHINE} -> ${MACHINE_ARCH}

All Makefiles now use MACHINE_ARCH for the target architecture.
Unification is required for cross-building.

Tags added to:
sys/boot/Makefile
sys/boot/arc/loader/Makefile
sys/kern/Makefile
usr.bin/cpp/Makefile
usr.bin/gcore/Makefile
usr.bin/truss/Makefile

usr.bin/gcore/Makefile:
fixed typo: MACHINDE -> MACHINE_ARCH


53119 13-Nov-1999 jhb

Fix man so that it does not allow command line arguments to expand when
executing apropos or whatis. This prevents `man -k ';echo foo'` from
executing `echo foo` and causes apropos to print an error message instead.

Add $FreeBSD$ while I am here.

Noticed by: chris


53112 12-Nov-1999 marcel

Make binutils for Alpha work on i386 machine, by properly defining
whether the host machine has a 64-bit long or not.


52962 07-Nov-1999 jb

Replace freebsdelf with freebsd in BINDIR

Requested by: obrien


52959 07-Nov-1999 jb

These have been repo-copied to i386-freebsd.


52958 07-Nov-1999 jb

These have been repo-copied to alpha-freebsd.


52957 07-Nov-1999 jb

Replace freebsdelf with freebsd in most places.

Requested by: obrien


52956 07-Nov-1999 jb

After a repo copy of as_{alpha,i386,mips} to {alpha,i386,mips}-freebsd,
tidy up the logic that works out which sub-directories to build.

The new directories with freebsdelf suffixes now have freebsd suffixes
after a repo move by Peter at the request of David O'Brien.


52954 07-Nov-1999 jb

Replace freebsdelf with freebsd in BINDIR.

[ alpha-freebsd, i386-freebsd and mips-freebsd were repo-copied
by Peter (one of the repo-men) ]

Requested by: obrien


52943 06-Nov-1999 jb

Add support for additional architectures.


52941 06-Nov-1999 jb

Use the simplified genscripts.sh and set the cross-compiled library
directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that
the cross tools behave the same way that the host versions do. When
building cross tools, Cygnus doesn't set the default library directory.
This doesn't suit FreeBSD IMHO.

Add WinNT emulation support too. You only get this if you've set
BINUTILSDISTDIR because the contrib/binutils repository doesn't
contain the required sources.


52940 06-Nov-1999 jb

Use the simplified genscripts.sh and set the cross-compiled library
directory to /usr/cross/${MACHINE_ARCH}-freebsdelf/usr/lib so that
the cross tools behave the same way that the host versions do. When
building cross tools, Cygnus doesn't set the default library directory.
This doesn't suit FreeBSD IMHO.


52939 06-Nov-1999 jb

This is a simplified version of the binutils script which better suits
the (few) things that the FreeBSD makefiles need to specify.


52938 06-Nov-1999 jb

Add a BINUTILSDISTDIR hook here too.


52937 06-Nov-1999 jb

This one might be a bit controversial. 8-)

gas for i386 targeted to NT for those (like me) who have to do work
targeted to NT, but can't stand actually looking at it all day long.
I cross build apps on FreeBSD and just run them on NT later. Life is
better that way.


52936 06-Nov-1999 jb

gas for m68k targeted to NetBSD's a.out format. Useful for porting or
even just building applications targeted to NetBSD.

I know this will upset some people (outside FreeBSD).


52935 06-Nov-1999 jb

gas for powerpc targeted to FreeBSD.


52934 06-Nov-1999 jb

gas for m68k targeted to FreeBSD.


52933 06-Nov-1999 jb

gas for sparc targeted to FreeBSD as ELF32 for a start (suject to change).


52932 06-Nov-1999 jb

Don't change the name when building a cross-tool. Just set the BINDIR
to /usr/libexec/cross/${MACHINE_ARCH}-freebsdelf.


52931 06-Nov-1999 jb

Add the BINUTILSDISTDIR hook here too.


52930 06-Nov-1999 jb

Change CROSS_TARGETS to CROSS_FORMATS because that makes more sense.

Check if already cross-compiling and only build the cross-tools if
not cross-compiling (to save time).


52929 06-Nov-1999 jb

Add support for additional architectures.


52928 06-Nov-1999 jb

Add support for additional architectures.


52927 06-Nov-1999 jb

Change CROSS_TOOLS to CROSS_ARCH because that makes more sense.

Allow for the case where the host architecture might also be listed
in CROSS_ARCH, so don't do things twice. This situation can arise if you
want NT support in binutils (CROSS_ARCH=i386 CROSS_FORMAT=winnt).


52926 06-Nov-1999 jb

Teach binutils how to understand NT format objects and libs. This is useful
for those who want to objdump --disassemble things that they're not
supposed to. 8-)


52924 06-Nov-1999 jb

Add a BINUTILSDISTDIR hook to provide a path to a full binutils release
outside the contrib files that FreeBSD distributes. This for use by
those who want to work on porting FreeBSD to additional architectures.


52923 06-Nov-1999 jb

Add binutils support for additional architectures.


52914 06-Nov-1999 obrien

Our capibilities updated for GCC 2.95.2.


52861 04-Nov-1999 obrien

Minor cosmetic changes in an attempt to improve consistancy.


52700 30-Oct-1999 ache

Describe localized directories naming convention

Submitted by: mostly by phantom


52694 30-Oct-1999 ache

Localize it

Submitted by: phantom


52648 30-Oct-1999 obrien

`make' will fail if hash.h exists for some reason and gxx-hash needs to be
rebuilt. Fix this.

Submitted by: bde


52591 28-Oct-1999 ru

Upgrade grep to version 2.3


52485 25-Oct-1999 tg

Bring back texindex from the dead. Some ports use it to format their docs.


52423 21-Oct-1999 mpp

Correctly document the -V and --version options.

PR: docs/14417
Submitted by: Greg Lewis <glewis@trc.adelaide.edu.au>


52209 13-Oct-1999 ru

Cast tp[-2] to unsigned char before comparing.

PR: 14011
Ignored by: maintainer
Obtained from: GNU grep 2.3


52172 12-Oct-1999 obrien

Add a comment explaing the linking and segrated the old and new cases a little.


52171 12-Oct-1999 obrien

Change the name of the file generaged from gxx.gperf from "hash.h" to
"gxx-hash.h" with hopes of getting Cygnus to do the same. We create a link
to the old name for now.


52170 12-Oct-1999 obrien

Move -I of cc_tool/ before the GCCDIR ones.

When I imported EGCS into contrib/egcs/ I failed to prune out
egcs/gcc/cp/hash.h which is generated from gxx.gperf. Thus `cc1plus' wasn't
using the hash.h we generated by cc/cc_tools/Makefile, but rather the one in
egcs/gcc/cp/.

When I imported contrib/gcc/ I did prune gcc/cp/hash.h. Unfortunately the
GCC maintainers weren't smart on their file nameing and there is also a
egcs/gcc/hash.h (name overloading does NOT work as well on the filesystem
as in C++...). Due to the -I ordering we are were then picking up gcc/hash.h
when compiling `cc1plus'.


51895 03-Oct-1999 bde

Fixed the hack for using "../libgcc/Makefile" in libgcc_r/Makefile.
${LIB} was wrong at dependency-parsing time, so dependencies for
libgcc_r*.a were wrong. This somehow worked right, except libgcc_r*.a
were always out of date.


51794 29-Sep-1999 marcel

sigset_t change (part 5 of 5)
-----------------------------

Most of the userland changes are in libc. For both the alpha
and the i386 setjmp has been changed to accomodate for the
new sigset_t. Internally, libc is mostly rewritten to use the
new syscalls. The exception is in compat-43/sigcompat.c

The POSIX thread library has also been rewritten to use the
new sigset_t. Except, that it currently only handles NSIG
signals instead of the maximum _SIG_MAXSIG. This should not
be a problem because current applications don't use any
signals higher than NSIG.

There are version bumps for the following libraries:
libdialog
libreadline
libc
libc_r
libedit
libftpio
libss

These libraries either a) have one of the modified structures
visible in the interface, or b) use sigset_t internally and
may cause breakage if new binaries are used against libraries
that don't have the sigset_t change. This not an immediate
issue, but will be as soon as applications start using the
new range to its fullest.

NOTE: libncurses already had an version bump and has not been
given one now.

NOTE: doscmd is a real casualty and has been disconnected for
the moment. Reconnection will eventually happen after
doscmd has been fixed. I'm aware that being the last one
to touch it, I'm automaticly promoted to being maintainer.
According to good taste this means that I will receive a
badge which either will be glued or mechanically stapled,
drilled or otherwise violently forced onto me :-)

NOTE: pcvt/vttest cannot be compiled with -traditional. The
change cause sys/types to be included along the way which
contains the const and volatile modifiers. I don't consider
this a solution, but more a workaround.


51643 25-Sep-1999 markm

Rename a macro; it gets set at "make world" time, and I had a local
mod that masked this. D'uh.


51632 24-Sep-1999 markm

Fix problem where a macro is not properly initialised in the !THREAD
case. Simple reodering does it.

Thanks to: sos


51629 24-Sep-1999 markm

Low-level, but significant cleanup of Perl's build process.

This should significantly ease "make; make install" loops.


51608 23-Sep-1999 phantom

mdoc(7)'fy
Empty sections commented.


51523 21-Sep-1999 ache

install hyphen.us-ru from GROFF_DIST/tmac/locale

repository move GROFF_DIST/troff/hyphen.us-ru to GROFF_DIST/tmac/locale
required


51457 20-Sep-1999 phantom

Correct spelling : ascii -> ASCII

PR: docs/13702
Submitted by: Stephen J. Roznowski <sjr@home.com>
Reviewed by: mpp


51438 19-Sep-1999 markm

Change distribution to krb4 in preparation for K5.


51315 15-Sep-1999 ache

fix LOCALEDIR


51299 15-Sep-1999 peter

Add a hook for disabling cvs and collect a few similar options together.
(We do this on freefall as we use a tweaked /usr/bin/cvs wrapper)


51181 11-Sep-1999 ache

install localized files


51177 11-Sep-1999 ache

install hyphen.us-ru under locale subdir


51171 11-Sep-1999 ache

localize it

Submitted by: Alexey Zelkin <phantom@crimea.edu>


51170 11-Sep-1999 ache

localize it

Submitted by: Alexey Zelkin <phantom@crimea.edu>


50997 06-Sep-1999 peter

$Revision$ -> $FreeBSD$


50984 06-Sep-1999 phantom

Fix problem with manpages which contain ``-'' (dash) symbol in
Name Description (.Nm) field.

PR: bin/13456
Reviewed by: mpp, jkh


50966 05-Sep-1999 peter

$Source$,$Revision$ -> $FreeBSD$


50965 05-Sep-1999 peter

Clean up some $Log$ debris, including some real messes.


50954 05-Sep-1999 markm

Fix for new Common Error system.


50927 04-Sep-1999 markm

Oops. Forgot to cvs add these for threads support.


50882 04-Sep-1999 markm

Allow perl to be built with thread support.

Submitted by: Doug Ambrisko <ambrisko@whistle.com>


50800 02-Sep-1999 chris

Remove superfluous tab in `Fix:' field.

Cosmetic, and done mostly for consistency.


50631 30-Aug-1999 peter

#include <termios.h>


50488 28-Aug-1999 peter

$Header$ -> $FreeBSD$


50475 27-Aug-1999 peter

gcc 2.6 is kinda obsolete now.


50472 27-Aug-1999 peter

$Id$ -> $FreeBSD$


50443 27-Aug-1999 ru

Don't install /etc/manpath.config.sample.


50332 25-Aug-1999 obrien

Try to get /usr/include/readline back into the snapshots.

Submitted by: bde


50110 21-Aug-1999 obrien

MFS: Revert shared lib major version number back to 3.


50082 20-Aug-1999 ru

Remove unused MANBIN directive.


50078 20-Aug-1999 obrien

A "=" should have been "+=".

Submitted by: Mikhail Teterin <mi@aldan.algebra.com>


50064 19-Aug-1999 peter

Make gcc work on the Alpha again. alpha/alpha.h is used instead of svr4.h


49888 16-Aug-1999 ru

- Add an OPTIONAL_MANPATH directive (same as MANDATORY_MANPATH,
except an absence of the directory is not considered an error
and doesn't produce a warning).
Put /usr/local/lib/perl5/*/man under OPTIONAL_MANPATH.

- An order of directives in manpath.config is now irrelevant.

- Get rid of infinite loop when PATH is unset or NULL, and
MANDATORY_MANPATH directory doesn't exist.

- mdoc(9)ify manpage.

Reviewed by: des, markm, sheldonh


49885 16-Aug-1999 obrien

Rev 1.36 also includes functional chagnes I intended to commit seperately.
Configuration header inclusion has been moved around to reduce diffs from
the offical GCC distribution. We now generate the same ``tm.h'' produced by
gcc's `configure' script [minus all the "#ifdef IN_GCC"'s].

Jeff Law of EGCS/Cygus says the new "approved" way of doing configure-related
includes is to list them all in ``tm.h'' rather than having the architure
config headers include large numbers of other configure headers.


49867 16-Aug-1999 obrien

{EGCSDIR}->{SRCDIR} + associated tweaks.
This is in prepreparation of the gcc-2.95 upgrade.

Also seems I was -I'ing several GCC directories I did not need to.


49866 16-Aug-1999 obrien

{EGCSDIR}->{SRCDIR} + associated tweaks.
This is in prepreparation of the gcc-2.95 upgrade.


49865 16-Aug-1999 obrien

Purely cosmetic changes -- fix Id's


49864 16-Aug-1999 obrien

Purely cosmetic cleanups.
- Id tag layout wrong.
- "FOO =" -> "FOO=".
- 4 space indention on continuation lines rather than a <tab>

Basic idea checked by: bde


49855 15-Aug-1999 obrien

Reduce the number of -I's. I have no idea why I thought I needed extra ones.

Submitted by: bde


49853 15-Aug-1999 obrien

Move "LIBGCC_SPEC" to freebsd-native.h as it is not approapiate for
submitting to the GCC mainainers for folding into the stock GCC.


49825 15-Aug-1999 mpp

Various man page cleanup:

- Sort xrefs
- Be consistent with section names as outlined in mdoc(7).
- Other misc mdoc cleanup.

PR: doc/13144
Submitted by: Alexey M. Zelkin <phantom@cris.net>


49811 14-Aug-1999 obrien

Use Bison with "--broken-undeftoken-init".


49810 14-Aug-1999 obrien

Rather than deleting the grammer files during building, move them out of the
way. This way they are available for inspection when debugging problems.


49808 14-Aug-1999 obrien

Due to brain damage on the FSF people, we can not longer pass "config.h"
type settings on the compiler command line. FSF put their version of our
"__P()" macro in config.h, thus ``config.h'' required now.


49807 14-Aug-1999 obrien

Fixes for Bison 1.25->1.28 upgrade.


49621 11-Aug-1999 ru

Unbroke zforce.

PR: 8348
Submitted by: Christoph Weber-Fahr <wefa@callcenter.systemhaus.net>


49620 11-Aug-1999 bde

Support 21-bit minor numbers. Avoid wasting a byte in their octal
representation by generating the same format as tar-1.13 (use a single
space as the terminator for 7-digit octal numbers). This is POSIX.1
conformant (2-byte terminators are just a bug or historical wart in
old versions of gnu tar). All devices created by `MAKEDEV all' except
rsa0.ctl can now be handled by tar(1).


49510 08-Aug-1999 bde

Forgotten in previous log message:

PR: misc/12920


49509 08-Aug-1999 bde

Install c++filt in /usr/libexec/${OBJFORMAT}. The version that
was installed in /usr/bin normally got clobbered when objformat
was installed. Indirection through objformat is correct although
underscore handling is the only thing that differs for aout and
elf -- going through objformat is the easiest way to set c++filt's
underscore handling flag correctly.


49368 02-Aug-1999 obrien

Use Byacc rather than Bison.


49349 01-Aug-1999 obrien

Clarify that "-w" ignores horizontal white space changes.


49347 01-Aug-1999 obrien

Only use Bison to generate cc1plus's parse code.


49329 31-Jul-1999 hoek

Remove explicit testing of the NOFSCHG variable. Its functionality (in this
file) is now superceeded by INSTALLFLAGS_EDIT in bsd.{prog,kmod,lib}.mk.


49324 31-Jul-1999 ache

Tune table since 0200-0206 is not available, add more chars


49313 31-Jul-1999 ache

Add more koi8-r chars


49311 31-Jul-1999 ache

install msafer.7


49297 30-Jul-1999 nik

Reflect the change from the /etc/weekly to /etc/periodic/weekly/*.

PR: docs/12734
Submitted by: Alexey M. Zelkin <phantom@scorpion.crimea.ua>


49294 30-Jul-1999 imp

Add -S to nroff and troff invocations of man.


49291 30-Jul-1999 mpp

Make direct calls to nroff work again. Rev 1.5 of contrib/gnu/nroff/nroff.sh
broke nroff because it added the '-S' option to the troff call, which
requires that the tmac.safer macro package be installed.

Since 90% of our *roff calls are probably generated by man(1), and
man(1) calls groff directly, I'm not really sure what rev 1.5 of nroff.sh
was trying to fix, but at least now nroff works again.

Broken by: imp


49224 29-Jul-1999 sheldonh

Add an example for folks who can never remember how to generate a
recursive diff for use with send-pr(1).

PR: 12440
Requested by: David Kelly <dkelly@hiwaay.net>


49213 29-Jul-1999 obrien

Go back to using Bison for now, due to `make world' breakage.

BTW, if our src/contrib/bison is upgraded from 1.25 to the current 1.27
offering, the build breaks exactly the same way....


49152 28-Jul-1999 obrien

Use Yacc rather than Bison.


49151 28-Jul-1999 obrien

The Unix way is arguments come before an input file name, not after.


49087 25-Jul-1999 markm

Remove paths that are listed as compulsory (sorta). /usr/local is not
guaranteed to be there on a new system. This fixes whereis' "Could not
stat file..." errors.


48573 05-Jul-1999 hoek

Respect the NOFSCHG variable. Add an $Id$ while I'm here, for whatever
reason Makefiles need $Id$.


48564 04-Jul-1999 bde

Fixed missing prototype for address_to_line(). One call passes an
int where an unsigned long is expected. This was fatal on i386's
with 64-bit longs.


48562 04-Jul-1999 bde

Don't override the (correct) default for BINDIR.


48075 21-Jun-1999 gallatin

Live & postmortem kernel debugging support for the alpha platform.
This was modeled after NetBSD's kernel debugging support.

Reviewed by: Doug Rabson <dfr@nlsystems.com>


47893 13-Jun-1999 dt

Fix placement of signal trampoline.


47845 09-Jun-1999 ache

little optimization of locale sensing code


47839 08-Jun-1999 ache

Just ignore malformed locale variable unless -d specified


47825 07-Jun-1999 ache

Localize NEQN part too


47823 07-Jun-1999 ache

Add ability to read/write localized manpages


47762 05-Jun-1999 ache

remove getopt & friend declarations, now unistd.h included


47761 05-Jun-1999 ache

fix typo preventing to include unistd.h


47637 30-May-1999 billf

Add the 'advocacy' category, sort this document.


47586 28-May-1999 kris

Fixes from OpenBSD:

Add $Id$
Removes temp file exploits in gzexe (predictable filenames)
Fixes some typos
Fixes a buffer overrun in gzip -S
Don't prepend /usr/local/bin to path in scripts
Correct location of /usr/share/misc/termcap

Obtained from: OpenBSD


47573 28-May-1999 ache

don't include Makefile.inc twice


47569 28-May-1999 ache

upgrade to 4.0


47426 23-May-1999 dfr

Use the correct width integer on both i386 and alpha.

Reviewed by: Steve Price <sprice@hiwaay.net>


47422 23-May-1999 obrien

Install g2c.h header incase others want to call libg2c from C.

Submitted by: Steve


47421 23-May-1999 jb

Add a missing backslash from the last commit. (Broke installworld)


47406 22-May-1999 hoek

Use BINOWN and BINGRP (some people do change these...)


47117 13-May-1999 ache

fix downcase() for chars with 8bit


47116 13-May-1999 ache

fix typo uid_t -> gid_t
add unsigned char cast to ctype macros


47115 13-May-1999 ache

upgrade to perl 5.00503


47110 13-May-1999 dt

Add one more dependency (oops).


47077 12-May-1999 dt

Added some missing dependencies.


46996 11-May-1999 bde

Fixed some regressions in rev.1.40:
- rev.1.39 was clobbered.
- PROG was defined twice, once as nm.
- style bugs.


46690 08-May-1999 dfr

Install gdbserver and gdbreplay in /usr/bin, not /usr/libexec/elf.


46654 07-May-1999 dfr

Implement corefiles for FreeBSD/alpha. This requires a separate change to
the kernel which is awaiting review.


46652 07-May-1999 dfr

Add core-regset.c to the Makefile to allow debugging elf corefiles.


46519 05-May-1999 markm

Remove $Log garbage from these; it was causing failure when expanded.

Found by: Udo Schweigert <ust@cert.siemens.de>


46430 04-May-1999 ghelmer

Correct SYNOPSIS (remove args from synopsis that are actually arguments
to flags).

PR: docs/9658


46337 02-May-1999 obrien

_G_USING_THUNKS probably applies to a.out too.
(well we define DEFAULT_VTABLE_THUNKS=1 for G++ in the a.out case, so it seems
likely)

Submitted by: jdp


46330 02-May-1999 dfr

Remove old bmake framework for gdb. It has moved to live next to binutils.


46328 02-May-1999 dfr

* Merge gdb/doc/Makefile into binutils/doc/Makefile
* Update build for gdbserver and gdbreplay to work under binutils
* Fix gdbserver to use PT_GETREGS etc to access registers, removing the
dependancy on the u-area.
* Make gdbserver work on the alpha.


46320 02-May-1999 dfr

Enable gdb on the alpha.


46316 02-May-1999 markm

System Perl is now 5.00503! There is support for threads, but this is
not currently enabled. Thread-boffins are welcome to send me patches.


46291 02-May-1999 dfr

Enable building gdb under binutils for i386. I can't enable the alpha build
yet since CVS is hiding one of my files.


46290 02-May-1999 dfr

* Add bmake framework for using gdb alongside binutils. The old bmake
framework was repository copied from gnu/usr.bin/gdb.
* Add alpha support.


46282 02-May-1999 dfr

Disable building gdb in preparation for importing gdb-4.18


46235 01-May-1999 obrien

Add more bits of libF77.

Submitted by: jmz


46234 01-May-1999 obrien

* Add MAIN.c
* be more selective what I add to CLEANFILES (what was I previously thinking??)


46233 01-May-1999 obrien

JMZ says:
Add an emply MAIN__() function. This avoid an unresolved reference error
during link phase when using fortran subroutines with non-fortran 'main()'.

Obtained from: src/lib/libF77/MAIN.c rev 1.1 by jmz


46184 29-Apr-1999 peter

Handle byte counts for >2G archives

PR: 11389
Submitted by: Adrian Chadd <adrian@FreeBSD.org>


46157 28-Apr-1999 obrien

Rather than hack config/freebsd.h to contain our hacks for a native compiler,
just include them in tm.h (as built from cc/cc_tools/Makefile).

This will reduce the diffs from the vendor sources.

Excellent idea by: jdp


46133 28-Apr-1999 luoqi

Make gdb work with kernel after the SMP vmspace sharing changes.


46077 25-Apr-1999 imp

Use braces to avoid potentially ambiguous else clause.
main's return type is int not void.

Reviewed by: obrien and chuckr


46070 25-Apr-1999 obrien

use `target' macro crafted in parent Makefile rather than making our own

Submitted by: Warner Losh


46069 25-Apr-1999 obrien

Hookup FORTRAN info docs.

Submitted by: Mark Murry


46067 25-Apr-1999 obrien

Remove several explicit rules. The two for exceptioni.o and typeionfoi.o
aren't needed as those files aren't part of libstdc++ any longer. Another
isn't needed as Cygnus doesn't compile with -frtti.

Noticed by: bde & my initial mispelling of ".So".


45944 22-Apr-1999 obrien

Sorry didn't get this in the last commit: MACHINE_ARCH changes courtesy
of Warner Losh <imp@village.org>. (he's got plans for FreeBSD mips :-))


45943 22-Apr-1999 obrien

Use `GNU_ARCH' in most places where `MACHINE_ARCH' was used. Building for
mips has some particularlies.


45932 22-Apr-1999 imp

For mips assembler, we need to define TARGET_BYTES_BIG_ENDIAN to be
zero when building for little endian machines.

Correct the target names for mips. We just use the generic targets
for mips elf, so the mipse[lb]-unknown-freebsd emulation types don't
exist.


45928 22-Apr-1999 obrien

Have config/i386/freebsd.h directly include att.h. I have no idea why stock
EGCS doesn't just do this. None of the rest of our other platforms will need
this file.


45904 21-Apr-1999 imp

TARGET was being defined wrong, causing ld to always fail. It is the
name of the bfd target, not the gnu-standard target name. Corrected
to be elf32-{big,little}mips from mipse[bl]-unknown-freebsd.

DEFAULT_EMULATION was bogusly defined, causing ld to always fail (this
was masked by the TARGET bogosity). Define correctly as elf32bmip and
elf32lmip. Mips doesn't follow the same conventions as i386 and alpha
do in this area.

ld now appears to work correctly for the uncommitted mips changes to
egcs.


45772 18-Apr-1999 obrien

This duplicates gnu/usr.bin/cc/c++filt.


45769 18-Apr-1999 obrien

Hookup libg2c. (define NO_FORTRAN if you don't want it built)


45768 18-Apr-1999 obrien

libg2c -- EGCS's version of libf2c (plus enhancements).


45767 18-Apr-1999 obrien

Add FORTRAN support.


45766 18-Apr-1999 obrien

Move HAVE_CONFIG_H define to global cc/ Makefile so all can share the benifits.


45765 18-Apr-1999 obrien

*** empty log message ***


45764 18-Apr-1999 obrien

Use inherited BINDIR defintion.


45763 18-Apr-1999 obrien

Include the parent Makefile.inc so we get a proper BINDIR definition.

As explained by: bde


45762 18-Apr-1999 obrien

Hookup the new FORTRAN compiler. Define `NO_FORTRAN' to not compile it.


45761 18-Apr-1999 obrien

Add the EGCS g77 FORTRAN compiler.


45760 18-Apr-1999 obrien

Minimum change to convert from home-grown f77 to EGCS's g77.
(Pre-bdelinted)


45757 18-Apr-1999 obrien

Make room for g77.


45698 15-Apr-1999 obrien

Foo. jdp changed .so to .So during the time I did the EGCS work and I
missed bring in his changes into my work.


45669 14-Apr-1999 obrien

Create a libgcc with POSIX threads support.

Submitted by: Luoqi Chen <luoqi@chen.ml.org> (reorganized by me)


45659 13-Apr-1999 markm

As the INFO stuff un doc/ works, we may as well build/install it.

OK'ed by: obrien


45583 11-Apr-1999 bde

Cleaned up egcs changes (mainly to minimise diffs with the gcc version
and restore order to sorted lists).


45582 11-Apr-1999 bde

Fixed unusable dependencies in `.depend'. The following comment in the
code still applies, but the code attached to it had rotted:

# ../Makefile.inc will put an absolute path to our objdir in CFLAGS.
# Prevent mkdep from using it, so that we don't have to give rules for
# aliases of generated headers.

Many other makefiles seem to have the same bug (i.e., spelling "." as
"${.OBJDIR}" or as an even more complicated alias in -I directives).


45532 10-Apr-1999 obrien

Look in the new place for GCC bits.


45519 09-Apr-1999 bde

Fixed world breakage. Fixed (?) building with -jN (N > 1).

The previous commit made things worse by breaking the -j0 case and
moving around the breakage for the -jN case. The fix involves
restoring .ORDER statements that were deleted in the previous commit,
removing wrong special handling of tree-check.h, and rewriting the
generation of fudged dependencies based on an idea I got from the
previous commit (filter out problematic objects first).


45500 08-Apr-1999 obrien

Another fix for -jN building -- the last fix didn't fix it for everybody.

Submitted by: Luoqi Chen <luoqi@watermarkgroup.com>


45481 08-Apr-1999 peter

Clean up some stuff that's no longer used.


45480 08-Apr-1999 peter

Clean up the multilib stuff so that it actually works..
cc -aout now works again.


45469 08-Apr-1999 obrien

Remove some of the dependencies. This removes the cycles I was getting on
`make -j 8' builds.


45467 08-Apr-1999 obrien

Due to other explicit dependancies, don't treat tree-check.h as a SRCS.


45466 08-Apr-1999 obrien

Fix a circular dependancy.


45465 08-Apr-1999 obrien

Missed a "\" in a continuation line.


45464 08-Apr-1999 obrien

alpha/freebsd-elf.h has been merged with alpha/freebsd.h


45463 08-Apr-1999 obrien

Don't require gcc/config/${MACHINE_ARCH}/xm-freebsd.h when we already know
the contents of it. Instead create it, so all arch's are consistent.


45456 08-Apr-1999 obrien

alpha/freebsd-elf.h is being folded into alpha/freebsd.h

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>


45455 08-Apr-1999 obrien

Get stdargs right on the Alpha.

Submitted by: Hidetoshi Shimokawa <simokawa@sat.t.u-tokyo.ac.jp>


45454 08-Apr-1999 obrien

Cometic cleanup.

Pre-bdelinted by: bde


45419 07-Apr-1999 obrien

Don't generate _G_config.h, use fixed version.
I knew better... too dependant on the environment we generate in, but...

This fixes the
/usr/lib/libstdc++.so: undefined reference to `filebuf virtual table'
/usr/lib/libstdc++.so: undefined reference to `stdiobuf virtual table'
errors seen after the initial bootstrap from gcc 2.7.2 to EGCS.

Agreed with by: bde & jdp


45389 06-Apr-1999 obrien

Use Haifa scheduler on the Alpha.


45380 06-Apr-1999 obrien

* Fix indentation style bug.
* Missed a "<" on the /dev/null redirection in the runtime-info.h generation.

Submitted by: missing "<" by bde


45354 06-Apr-1999 peter

Zap the genclass makefile too, it's gone. (It was part of g++ - a hack to
create classes from templates manually)


45341 05-Apr-1999 obrien

Crap! I grabbed the wrong Makefile from the test machine.


45340 05-Apr-1999 peter

Fix type mismatch..


45339 05-Apr-1999 obrien

Fix .for loop continuation lines style bugs.

Submitted by: bde


45338 05-Apr-1999 obrien

Turn off src/gnu/usr.bin/genclass -- it is OBE as it was part of libg++.


45337 05-Apr-1999 obrien

Add iostream Info docs.


45333 05-Apr-1999 obrien

Correct contents for the EGCS compiler documentation.
Currently it is unbuildable, but an info-aware developer should be able to get
this working w/o too much trouble.


45327 05-Apr-1999 obrien

osfcn.h (part of libg++) is going away, so don't try to include it.


45318 05-Apr-1999 obrien

_G_config.h is now dynamically created.


45307 04-Apr-1999 obrien

Conditionalize one more i386'ism.


45306 04-Apr-1999 obrien

Attempt to creating the right ``tm.h'' file for the Alpha.


45305 04-Apr-1999 obrien

Attempt at creating the right ``tm.h'' file for the Alpha.


45304 04-Apr-1999 imp

Remove mkstemp.c from build. This is now in libc.

Tested by: make buildworld


45301 04-Apr-1999 obrien

didn't get latest version:
Don't conditionalize -I${.CURDIR}/../cc_tools


45300 04-Apr-1999 obrien

This is old C++ code -- no need for rtti or exceptions.


45299 04-Apr-1999 obrien

Minimum set of changes to switch from Gcc 2.7.2 (in contrib/gcc) to Egcs 1.1.2
(in contrib/egcs)


45276 03-Apr-1999 obrien

Commit msg for rev 1.20 should probably have added that gnu/lib/libregex was
the only lib that was using the SHLIB_* values from gnu/lib/Makefile.inc.
Thus I simply added the to the Makefile here.


45275 03-Apr-1999 obrien

Makefile.inc was politing all subdir's with SHLIB_{MAJOR,MINOR} definitions.
Since we aren't keeping all the GNU libs at the same versions, this is
useless and causes us to build a shared libgcc, which we don't want to do.


45258 03-Apr-1999 bde

echo -> ${ECHO}.


45250 02-Apr-1999 obrien

`make world' works fine -- no reason to revert the move to gnu/lib/


45235 01-Apr-1999 steve

Missed a '/' in the last commit.

PR: 10909
Submitted by: Yasuhiro Fukama <yasuf@big.or.jp>


45171 31-Mar-1999 obrien

Add bits we were getting from gnu/usr.bin/cc/Makefile.inc.


45169 31-Mar-1999 obrien

Hookup libgcc at gnu/lib instead of gnu/usr.bin/cc
(libgcc was repository copied for me by Peter)


45110 29-Mar-1999 obrien

Document -y/--bzip2/--bunzip2 flag.


44996 24-Mar-1999 steve

Defer the expansion of $PATTERN until it has a useful value and not
one that may have existed in the user's environment.

PR: 6795
Submitted by: Greg Lehey <grog@lemis.com>


44865 18-Mar-1999 julian

Need to translate more .h to .ph then just /usr/include &
/usr/include/sys. Specifically we need /usr/include/machine
since "syslog.h" includes "machine/ansi.h". To be safe we
translate all of /usr/include/* and /usr/include/*/*.

sample error case:
echo "require 'syslog.ph';" | /usr/bin/perl
will fail when syslog.ph tries to include machine/ansi.ph

Submitted by: Doug Ambrisko


44857 18-Mar-1999 peter

Update bmake glue for cvs-1.10


44828 17-Mar-1999 obrien

Add new -y/--bzip2/--bunzip2 flag. With all the ports that are going to
bzip2 as the compression mechanism, this makes life easier.

Obtained from: bzip2 website


44724 13-Mar-1999 torstenb

Install uuxqt sgid uucp. Since "rnews" should not be executable for
everyone (to prevent fake-postings) and modern Inn installs
rnews as news.uucp and mode 4550 this is the only save way to allow
uuxqt to process rnews batches.


44483 05-Mar-1999 bde

Don't use backslash-newline to split the too-long line for
".Fn dialog_ftree ...", since my synopsis checker doesn't support it
and no other too-long .Fn lines are split.


44360 01-Mar-1999 imp

Add TARGET_ARCH=mipsel and TARGET_ARCH=mipseb as a valid targets.
Unlike the unisex architecutres we've had so far, mips is bisexual.
These tools can produce either byte sex, and the compiler/make
determines the proper gender to use. Otherwise, we'd have to have had
mipsel and mipseb in all the places that we have just mips. And there
are other complications with doing that (binutils doesn't like to
build mips tools without both byte genders, it seems).

Introduced BINUTIL_ARCH so that other bisexual architectures can a
generic mechanism.

We cannot just define MACHINE_ARCH as mips because we need to
differentiate big and little endian types of binaries. Discussions on
freebsd-arch have hashed out this issue (and the parallel libc
issues). NetBSD is moving towards mipsel and mipseb for their two
flavors of mips ports (in time for 1.4, if this change hasn't already
been accomplished).

I've been building i386 worlds with this tree for a three months with
these files in place with no ill effects.


44324 28-Feb-1999 obrien

I don't know why the version was bumped to 1.11.3, nothing from the real
GNU 1.11.3 got in when this change was made. thepish's submitted fixes
unbroke --norecurse.


43988 14-Feb-1999 ache

use minimum length for strcoll too


43969 13-Feb-1999 ache

remove collating optimization - not work with substituted characters


43966 13-Feb-1999 ache

use strcoll() where it is easy to sort german ss and similar properly


43904 11-Feb-1999 wosch

$Id$ misspelled as $Id

Submitted by: bde


43805 09-Feb-1999 wosch

Added myself as maintainer.


43755 08-Feb-1999 obrien

Fix white-space spamming.


43594 04-Feb-1999 markm

Add perl5 userland (actually localland) to MANPATH list.


43146 24-Jan-1999 rnordier

Drop outdated FreeBSD version number from test script.
Submitted by : Sue Blake <sue@vedanix.welearn.com.au>
PR : 9650


42877 20-Jan-1999 bde

Fixed ifdef for libintl in previous commit (the location of libintl.a's
obj dir is only indirectly related to the location of libtxi.a's obj
dir).

Fixed about 3 style bugs in previous commit.

Fixed my bug in rev.1.7. "../../Makefile.inc" worked as an alias for
"../Makefile.inc" in some cases, but it gives endless recursion when
there is an obj dir in one of the subdirs.


42868 19-Jan-1999 bde

Fixed breakage of cross-compiling in previous commit. The installed
version of makeinfo must be used. The fix breaks bootstrapping of
texinfo by a simple `make' in the texinfo directory -- `make world'
must be used to bootstrap it if you don't know how to do it manually.

Fixed at least 7 style bugs in previous commit.


42745 17-Jan-1999 markm

Back out the last commit; it broke things.

NB! NB! NB! GUYS - the perl5 build is extremely nasty!! Please run all
changes to it past me _before_ committing. There are some very subtle
gotchas.


42731 16-Jan-1999 peter

Remove BINFORMAT/a.out/elf default hackery, it's elf by default internally
and doesn't need to use this.


42698 15-Jan-1999 peter

Typo: s/local/locale/ in LOCALEDIR.

Submitted by: Seigo TANIMURA <tanimura@naklab.dnj.ynu.ac.jp>


42684 15-Jan-1999 ache

fix optimize= settings - configpm understand only =' or =" as variables
and treat any other stuff as comments


42667 14-Jan-1999 markm

Fix some more turdage from the original ./configure.

Submitted by: bde


42665 14-Jan-1999 markm

Update this area for Texinfo-3.12.
Submitted by: lkoeller@cc.fh-lippe.de


42616 13-Jan-1999 danny

MF22 - allow dates to 2069
Submitted by: Arjan de Vet <Arjan.deVet@adv.iae.nl>


42593 12-Jan-1999 danny

Allow --newer and friends to handle dates beyond 1999/12/31


42562 12-Jan-1999 peter

When doing a setuid script, the usual #!/usr/bin/perl detects it and execs
/usr/bin/sperl5.00502 to implement it, so that name had better exist..

Reviewed by: markm (a while ago)


42450 09-Jan-1999 jdp

Switch to using ".So" as the extension for PIC object files rather
than ".so". The old extension conflicted with well-established
naming conventions for dynamically loadable modules.

The "clean" targets continue to remove ".so" files too, to deal with
old systems.


42393 08-Jan-1999 n_hibma

Ignore return value for strip. Avoids make world going pop
because of

strip maybe_stripped
strip: maybe_stripped: File format not recognized
*** Error code 1

in I/usr/src/gnu/usr.bin/binutils/strip


42093 27-Dec-1998 bde

Avoid using `ld -O' (as in bsd.lib.mk). `ld -O' seems to have caused only
non-problems for elf -- `ld -elf -O foo.tmp -x -r foo' apparently puts
the result in a.out so it has essentially no effect.


42091 27-Dec-1998 bde

Removed rotten, unused implicit rules. The ld -O in one might have been
harmful if it were used.


41849 16-Dec-1998 imp

Add support for building on MIPS based systems.


41475 03-Dec-1998 jkoshy

Add a reference to man(7).


41436 01-Dec-1998 dillon

Added reference to mdoc(7) and mdoc.samples(7) to the bottom of
man(1). The man manual page is the obvious first place that people
who are trying to write manual pages look.


41155 14-Nov-1998 wosch

Use mmap for reading files. This is faster than read().


40663 26-Oct-1998 imp

Another instance where we default to elf only on alpha, but should
default to aout only on i386.


40468 17-Oct-1998 markm

Fix paths. This sorts out the remaining p5-* port-creation hassles.


40457 16-Oct-1998 bde

Split up rule for ${COMMONHDRS} so that `make -j N' doesn't create the
6 headers up to 6 times concurrently. Debugged by Don Lewis
(Don.Lewis@tsc.tdk.com).

Fixed some disorder.


40400 15-Oct-1998 markm

Properly install the *.h files in CORE and Config.pm where it wants to be.

This should fix a substantial number of broken p5-* ports.

Tested-on: x11-toolkits/p5-Tk (Amongst others)


40391 15-Oct-1998 bde

Fixed breakage of gdbreplay's and gdbserver's BINDIR in previous commit.
They may belong in /usr/libexec/{aout,elf}, but objformat doesn't
support that.

Fixed bogus `?=' assignments for BINDIR.


40365 15-Oct-1998 peter

Install gdb in /usr/lib/aout or /usr/lib/elf depending on format.


40248 12-Oct-1998 markm

Damn - dirname(1) is not available this early. Work-around.


40232 11-Oct-1998 markm

Very substantial debug/improvement of the FreeBSD/Perl5 build.

o make install ; make install now works
o make all ; make all is quiet the second time
o Dependancies are properliy debugged; this means that make -jN has a
far hihjer likelyhood of working.
o a proper 'link farm' has been constructed for the build. This
dramatically simplifies the dependancy tangle.
o for perldoc's use, all the .pod files are installed.
o the man3 docs are properly compressed.
o the man pages and libary code are installed by the makefiles, not
by a perl script.
o at the end, h2ph is run.


40204 11-Oct-1998 peter

libg++ and libstdc++ also have internal calls to libm. Programs using the
shared versions should not need to add -lm unless the program uses libm
itself. Strictly speaking, libg++ depends on libstdc++, but libstdc++
has dynamic dependencies on some exception tables and binutils doesn't
seem to like it when a secondary library has undefined references. It
doesn't seem to care when -lstdc++ is added on the command line to ld
though. Anyway, the c++ driver adds -lstdc++ explicitly, so that should
be OK. c++ also adds -lm explicitly too, even though it wouldn't need
to now. [except for statically linked binaries as .a files don't have an
equivalent of automatic internal shared object dependencies.]


40177 10-Oct-1998 bde

Fixed searching for section "1aout" man pages. Section numbers must be
single digits or in the section list.


39998 06-Oct-1998 peter

Replace use of non-standard ld -O with a ld -o / mv combination as used
elsewhere in the tree. Binutils doesn't support the -O hack^H^H^H^H
extension. (actually, it ignores it for option compatability with some
other OS).


39909 03-Oct-1998 jdp

Don't build the info pages for the old assembler. Instead, build
and install the info pages for the new assembler and linker.


39893 02-Oct-1998 ache

space/tab problem


39889 02-Oct-1998 jkh

Add documentation for tree functions.
Submitted by: Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>


39888 02-Oct-1998 jkh

Add documentation for new tree functions.
Submitted by: Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>


39886 02-Oct-1998 obrien

Install z*grep manpages


39878 02-Oct-1998 ache

add /usr/share/perl/man


39835 30-Sep-1998 markm

Allow NOSUIDPERL to DTRT.


39817 30-Sep-1998 jkh

Add missing free()
Submitted by: Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>


39816 30-Sep-1998 jkh

Add missing free().
Submitted by: Anatoly A. Orehovsky <tolik@mpeks.tomsk.su>


39776 29-Sep-1998 markm

Fix the shared library configuration stuff.

Noticed by: Ollivier Robert


39765 29-Sep-1998 jkh

Add examples for tree functions.
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>


39764 29-Sep-1998 jkh

Add support for saved trees.
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>


39718 28-Sep-1998 jkh

Update tree function and remove gratuitous .h file.
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>


39717 28-Sep-1998 jkh

Teach this code about the new tree functionality of libdialog.
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>


39698 28-Sep-1998 jkh

Unbump the minor number; guess this doesn't happen in the ELF world
anymore and maybe we should nuke the meaning if MINOR altogether. :)


39688 26-Sep-1998 markm

Repairs to make the ports system work again. Currently, the ports
are installed in the same place as on 2.2.*; this will almost
certainly change in the future.

While I'm here, finish off the shared library brouhaha with miniperl.


39677 26-Sep-1998 jkh

Add some new functionality which I promised to add over a year a go and
shamefully dropped on the floor. I need to add it now since it does a
minor number bump, but otherwise the current functionality of libdialog
is unchanged (in all its evil glory) and the change is non-intrusive.
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>


39630 24-Sep-1998 markm

Part #2 (final) of suidperl repair.


39585 23-Sep-1998 markm

More make cleanups.

1) Part of the NOSHARED fix; I messed this up and managed to get
perl installed without being linked to the shared library libperl.so.
This broke Perl in ELF when linking in shared objects.

2) Start of a cleanup of the man3 page location. This will (eventually)
allow for a the ports to put their pages in the "normal" ${PREFIX}-
based location.

3) Nuke cruft.


39561 22-Sep-1998 markm

Big cleanup of the perl build.

1) Inspired by JB's finding of a hardcoded /usr/bin/ranlib in the
config files, these have been properly cleaned up and have
been personalised for FreeBSD, not MarkM.

2) Inspired by Peter, copying of the lib/ext etc dirs has been
replaced by a link farm.

3) Common code has been moved to a higher-level Makefile.inc.

This has been tested with a make -j8.


39557 22-Sep-1998 roberto

Change rst0 into rsa0 in the man page too. Correct the spelling of
POSIXLY_CORRECT while I'm here.

Pointed out by: Andreas Klemm


39546 21-Sep-1998 roberto

The default tape device should be /dev/rsa0 for CAM.


39540 21-Sep-1998 jb

I danced with the devil and found the needle in the haystack!
Remove the /usr/bin path to ranlib and just let the build environment
set the path. Running an aout version of ranlib on an elf library
is something we'd prefer not to do. I'm surprised that the build
didn't spit any errors when it did this. Shrug.


39374 16-Sep-1998 dfr

Supply correct type widths etc. for alpha.


39367 16-Sep-1998 markm

Generalise the build a bit more.

1) Fix up the NOSHARED stuff (bde)
2) Accomodate CFLAGS (vanilla)
3) Provide separate files for i386 and alpha (Doug Rabson)

In case 3, the supplied files were corrupted, but the concepts
sound enough, so I just copied what exists into
config.SH-{elf|aout}.{i386|alpha}. Alpha team, go ahead and do what
is necessary on config.SH-elf.alpha. :-)


39199 14-Sep-1998 jdp

Fix GDB so that it can handle ELF core dumps.


39195 14-Sep-1998 brian

Remove Id keywords from files that are still on the vendor branch
This will make life easier when upgrading.
Suggested by: bde


39181 14-Sep-1998 markm

Add a link perl --> perl5.00502

Asked-for-by: Asami-San (for ports)


39145 13-Sep-1998 brian

Add Id keyword


39109 12-Sep-1998 markm

Allow libperl to be a shared library.

This has the delightful side effect of fixing ELF .so objects.

Asked-for-by: peter


39100 12-Sep-1998 markm

Fix parallel building.

(Tested by make -j12 buildworld on a 4-cpu SMP box).

Address (but not solve) ELF shareable objects causing perl to
dump core. (I have a heck of a lot to learn about ELF).

Lots of help by: bde, jkh, jb and others


39052 10-Sep-1998 imp

Fix bogus length restriction on readlink. Use sizeof(buf) - 1 rather
than the size of the directory name. Fix style bug which increased
the number of lines > 80 characters by one.

Pointed out by: bde


39044 10-Sep-1998 markm

Dorkus sum. I managed to commit an earlier version of this. This fixes the
broken perl build.

* NOTE * * NOTE * * NOTE *

PERL5 RELIES IN A MAKE WORLD FOR THE BOOTSTRAP!!

* NOTE * * NOTE * * NOTE *


39027 09-Sep-1998 markm

Remove the NOPERL block to building Perl5.

Perl 5 will rebuild/bootstrap itself next time a make world is done
with this in effect.


39014 09-Sep-1998 imp

Fix fencepost error in readlink; inspired by OpenBSD


39013 09-Sep-1998 imp

Use size of structure rather than hard coded 256 in readlink. This change
either came from OpenBSD, or was inspired by work done there.


38995 09-Sep-1998 kato

Change i386 in a few paths to ${MACHINE} to support MACHINE=pc98.


38989 09-Sep-1998 cracauer

Document why the library is still not being build as shared.
PR: gnu/7811


38983 09-Sep-1998 markm

Bring in the Perl5 BMake files. This ends the easy stuff.

I'll be doiung the rest in stages.


38979 09-Sep-1998 markm

Old Perl is leaving us. Goodbye, faithful friend.


38974 09-Sep-1998 markm

Set NOPERL while I spend the rest of the day bringing in Perl5.
This will doubtless confuse someone, but I'd rather have this than
breakage.


38964 09-Sep-1998 jkoshy

Fix typo.

PR: 7809
Submitted by: Amakawa Shuhei <amakawa@sf.t.u-tokyo.ac.jp>


38906 07-Sep-1998 dfr

Update alpha configuration files and remove i386 target from
libbinutils/config.h - it is declared in the arch Makefile.


38896 07-Sep-1998 jb

Install the legacy man file in section 1aout.


38892 06-Sep-1998 jdp

Update for import of binutils-2.9.1.

Submitted by: Doug Rabson <dfr>


38751 02-Sep-1998 bde

Fixed munging of the SUBDIR list in rev.1.16-1.18.


38711 31-Aug-1998 jb

MACHINE -> MACHINE_ARCH to allow PC98 to define MACHINE=pc98.

Submitted by: Takahashi Yoshihiro <nyan@wyvern.cc.kogakuin.ac.jp>


38696 31-Aug-1998 dfr

All libs build on alpha now.


38695 31-Aug-1998 dfr

Get definition of va_list from <stdarg.h>.


38634 30-Aug-1998 jb

Missed some BINFORMATs. Fingers! Can't live with 'em. Can't live without 'em.


38633 30-Aug-1998 jb

BINFORMAT -> OBJFORMAT ready for E-day. I tossed a coin to decide this
one. We'll probably need to revisit gdb after E-day.


38632 30-Aug-1998 jb

BINFORMAT -> OBJFORMAT ready for E-day.


38462 20-Aug-1998 jb

Make the build tools static to avoid trying to use the shared loader
before it is installed.

This upsets Bruce because the host boostrap build forces tools to be
static anyway. He says I'm abusing NOTOOLS in src/Makefile by using
it to do a aout->elf transition build. One day I'll find a place to
install host tools like these to allow a true cross build.


38461 20-Aug-1998 jb

Change the aux field type to long instead of int so that it is large
enough to hold a man-sized pointer.


38419 18-Aug-1998 jb

Install binutils tools in /usr/libexec/elf like on i386 so that objformat
can be used to select them. The purpose of this is not necessarily to
allow another host format, but to allow us to use the objformat trickery
for cross compilation.


38335 15-Aug-1998 markm

Fix LIBDIR so kerberised CVS will work.


38118 05-Aug-1998 thepish

PR: 7488
Submitted by: lhecking@nmrc.ucc.ie
merge from stable


38019 02-Aug-1998 bde

Fixed printf format warnings for non-errors. This change is null unless
a system header defines a macro __printf0like() using the new printf0
format attribute. uucp's internal ulog() function isn't actually
printf-like but uucp normally declares it as such.


37892 27-Jul-1998 nectar

fixed: tar will extract file even if -C command fails
tar now exits with new exit code EX_BADDIR after a failed chdir()
in name_next(), name_match(), and name_from_list().
PR: bin/2394
Submitted by: Satoshi Asami <asami@freebsd.org>


37867 26-Jul-1998 jkoshy

Add Xref to ldd(1).

PR: 7397


37854 24-Jul-1998 phk

During compilation of a Fortran program f2c/f77 will spew the
name of entry points, functions, subroutines, and program to
stderr error. The enclosed patches do 3 things:

(1) Silenced the output to stderr.
(2) Added a -v option to f2c and f77. This will turn on a verbose
mode, and dumps quite a bit of stuff to stderr.
(3) Updated the f2c man page.

PR: 7369
Submitted by: Steven G. Kargl <kargl@troutmask.apl.washington.edu>


37533 09-Jul-1998 des

For every directory in ${PATH} that ends with "/bin", look for a
corresponding directory ending in "/man".

PR: 7215
Submitted by: Wayne Scott <wscott@ichips.intel.com>


37524 09-Jul-1998 jkoshy

fix description of `-C' option to match behaviour in the sources:
`-C' can be used both when creating and extracting files. Further,
a `-C' inside the argument list causes a `chdir()' to the named
directory before the subsequent filename arguments to be interpreted.

Eg:- "tar -cf a+b.tar -C /a . -C /b ."

PR: 7221


37488 08-Jul-1998 bde

Use a different hack for building libgcc2: `XCC= ${CC}' instead of
`XCC= <relative cc> -B<path to relative cc1> ...'. This is equivalent
when cc and cc1, etc. have just been bootstrapped by `make world'.
The relative versions normally won't work if the target system is
not binary compatible. Bootstrapping different versions of gcc
without going through `make world' is slightly more broken than
before.

Uniformized macro names (P1OBJS -> LIB1POBJS, etc.).

Don't give full paths to sources.


37486 08-Jul-1998 bde

Use the installed versions of cc, cc1 and cpp for building underscore.
They have been bootstrapped by `make world' since long before the
hacks here were cloned from ../libgcc/Makefile. The versions just
built in "../*" normally won't work if the target system is not binary
compatible.

Don't use OBJS to defeat `make depend'; just put generated sources in
SRCS.

Added temporary files to CLEANFILES.


37485 07-Jul-1998 bde

Use the installed version of perl for `make install'. It is now
bootstrapped by `make world'. The version just built in ".."
normally won't work if the target system is not binary compatible.


37482 07-Jul-1998 bde

Use the installed version of perl for `make depend'. It is now
bootstrapped by `make world'. The version just built in ".."
normally won't work if the target system is not binary compatible.
The bootstrapped version has a better chance of working.

This makes the fixes and bugs in the previous 3 commits irrelevant.
Rev.1.11 was just wrong and rev.1.10 became unnecessary when
perl/perl was added to build-tools. Don't expect to build perl/usub
without using `make world' or equivalent if you don't have perl
installed.


37460 07-Jul-1998 bde

Added a `build-tools' target for internal tools.


37314 30-Jun-1998 bde

Fixed printf format errors.


37313 30-Jun-1998 bde

Fixed printf format errors.


36921 12-Jun-1998 peter

Add -DFREEBSD_AOUT to CFLAGS, to ensure that <link.h> gives us the correct
definitions, even when compiling the a.out ld under elf.


36692 06-Jun-1998 jkoshy

Spelling corrections.

PR: 6868
Submitted by: Josh Gilliam <josh@quick.net>


36649 04-Jun-1998 steve

Fix a bunch of spelling errors.

PR: 6856
Submitted by: Josh Gilliam <josh@quick.net>


36633 04-Jun-1998 bde

Don't use beforedepend or give dependencies on generated headers explicitly.
Just put generated headers in SRCS.


36627 04-Jun-1998 bde

Removed superfluous beforedepends. Their files were already in SRCS.


36623 04-Jun-1998 bde

Don't use beforedepend; just put generated headers in SRCS. ldgram.h
was already put in SRCS by the general yacc rules. Putting ldemul-list.h
in SRCS fixes races in `make -jN' when .depend hasn't been made.

Don't forget to clean ldemul-list.h.


36620 04-Jun-1998 bde

Removed special rules for lex- and yacc- generated files. The general
rules work identically, except that they actually work if the yacc-
generated header somehow becomes out of date.


36616 03-Jun-1998 peter

Missing DPADD's.


36615 03-Jun-1998 peter

Add missing DPADD's.


36569 01-Jun-1998 peter

These files were moved elsewhere (sbin/ldconfig, libexec/rtld-aout,
usr.bin/ldd) as they stand alone and are under bsd-style license.


36568 01-Jun-1998 peter

Look for files in their new locations.


36457 29-May-1998 jkh

Also check for Satoshi's TMPDIR location of perl when looking around for it.
Clean up an .ifdef which was probably doing the wrong thing in the case
where user wants to override PERL.
Submitted by: jhay


36397 26-May-1998 sos

ELF preparation step 2:

Move a.out libraries to /usr/lib/aout to make space for ELF libs.
Make rtld usr /usr/lib/aout as default library path.
Make ldconfig reject /usr/lib as an a.out library path.
Fix various Makefiles for LIBDIR!=/usr/lib breakage.

This will after a make world & reboot give a system that no
longer uses /usr/lib/*, infact one could remove all the old
libraries there, they are not used anymore.

We are getting close to an ELF make world, but I'll let this
all settle for a week or two...


36374 25-May-1998 sos

ELF preparation step 1:

Move our old a.out utils to /usr/libexec/aout.
Enable binutils and put the utils in /usr/libexec/elf
Enable objformat, a little helper program that calls the right
utils based on /etc/objformat and $OBJFORMAT.

This will enable the ELF generating tools.
Remember that this is only step one, the system is still compiled
and run in a.out format ONLY.

Problem left to solve: The BSD manpages wins over the GNU equivalents
as the are installed last. We need to distinguish between the manpages
somehow...


36344 24-May-1998 eivind

Don't blow away parts of the sourcetree on a 'make clean'. This was
only harmful for building from a read-only filesystem - the parts
blown away were old rm'ed directories.


36050 15-May-1998 jb

Change the order of the include paths so that the architecture specific
directory is searched before the generic one. You can guess what was
happening.. all the world's assumed to be 32-bit.


35989 12-May-1998 jb

perl now works on alpha.

This just leaves gdb to be configured for alpha.


35988 12-May-1998 jb

This code casts double -> int -> char *. Ugh. Take a punt and change the
int to a long so that no bits are thrown away on alpha and hope for
the best.


35987 12-May-1998 jb

Change a cast of long * to time_t * in a call to time();


35986 12-May-1998 jb

Allow the makefile to choose the perl executable to run h2ph rather
than relying on the #!/usr/bin/perl in the first line of the script.


35985 12-May-1998 jb

If perl exists in OBJDIR it has just been built; if it exists in
CURDIR it has been built without an obj directory; however if it is in
neither of those places, we expect it to be in DESTDIR.

Yes Bruce, I know this is broken because the host is not supposed to be
the same as the target, but we need to get the hosted build working
properly first before even attempting a cross compiled operating
system build. That will need to concept of TOOLSDIR or something that
can be mapped to DESTDIR in the case of a hosted build and set to the
installed tools in a cross compiled build. Later, later, later!


35984 12-May-1998 jb

Change .if to .elif to prevent the current directory path search for a
perl executable from overriding the object directory path search where
perl is most likely to be. Most people haven't seen this because it
defaulted to /usr/bin/perl which might be OK as a fallback, but when
bootstrapping a new version (or the *first* version on alpha), we don't
really want to use /usr/bin/perl.


35983 12-May-1998 jb

awk and groff (et al) now work on alpha as the result of library
fixes.


35972 12-May-1998 bde

Don't attempt to read process context from the kernel when (the
kernel's) curproc is null. This fixes endless recursion in
xfer_umem() for attempts to read from user addresses, in particular
for attempts to read %fs and %gs from the pcb for `info reg'.


35946 11-May-1998 jb

The yacc makefile changes don't seem to know when to generate the
header file and when not to, so for the time being make sure the
sucker gets generated up front.


35945 11-May-1998 jb

Add CROSS_TARGETS to the list of GASES to build. We end up with a separate
gas for each target format. So for m68k targets that means several
gases. I wanted a m68k gas for VxWorks which uses aout in sun3 big
endian format, cross compiled on i386 under FreeBSD using libraries
supplied by DEC and intended by them for cross compilation on Alpha
under OSF/1. And it actually works!


35944 11-May-1998 jb

Make a path absolute.


35839 08-May-1998 bde

Simplified by using new yacc rules and by not generating y.tab.h.


35743 05-May-1998 jb

Fix the path.


35742 05-May-1998 jb

Specify an absolute include path.

Backout the previous commit in favour of the Makefile.inc added to
the parent directory.


35741 05-May-1998 jb

One of those silently included files that just about guarantee that
nobody has any idea how something like BINDIR gets defined.


35740 05-May-1998 jb

The BINDIR definition is an extra directory level away, so include it
explicitly.


35739 05-May-1998 jb

Oops, missed the common part of gas.


35732 05-May-1998 bde

Don't generate a2p.h or y.tab.h from a2p.y. Neither is actually used,
and building a2p.h clobbered the unrelated source file a2p.h if
${.OBJDIR} == ${.CURDIR}.


35724 04-May-1998 jb

Support cross architectures by using specific directories instead of
the ones that match the host.


35723 04-May-1998 jb

i386 gas config files.


35722 04-May-1998 jb

Alpha gas config files.


35721 04-May-1998 jb

Support cross-architectures using sub-directories.


35720 04-May-1998 jb

Add support for cross-architecture gases. Since the GNU code doesn't
support more than one architecture at a time, build as from the
default for the host and if CROSS_TOOLS defines other architectures,
build them as as_${arch}


35719 04-May-1998 jb

BINDIR is now specified in a single place. There are no cross-architecture
issues with this utility.


35717 04-May-1998 jb

Work out the list of emulations based on the cross-architectures
defined. The TARGET is now set from an included makefile.


35716 04-May-1998 jb

Add cross-architecture support.


35715 04-May-1998 jb

BINDIR is now specified in a single place. There are no cross-architecture
issues with this utility.


35714 04-May-1998 jb

BIDIR is now specified in a single place. There are no cross-architecture
issues with this utility.


35713 04-May-1998 jb

Evaluate the TARGET from the architecture. We'll assume that FREEBSD
is ELF from here on.


35712 04-May-1998 jb

Remote i386 cross-architecture support. It's now configurable, and off
by default.


35711 04-May-1998 jb

Add cross-architecture support.


35710 04-May-1998 jb

Since the makefiles below binutils with the architecture extension
are now included according to the cross-architecture support required,
default the BINDIR for i386 to /usr/libexec/elf here instead of in
all the i386 specific makefiles. For all other architectures, BINDIR
is just /usr/bin.


35709 04-May-1998 jb

Add makefile support for cross-architectures. Allow CROSS_TOOLS to
be defined (in /etc/make.conf, say) and set to the additional architectures
that need to be compiled in. So on alpha I set CROSS_TOOLS = i386.
On i386 you can't build alpha due to lack of 64-bit support on 32-bit
architectures, but that's a GNU problem.

This change relies on makefiles in the binutils sub-directories having
the extension defined in the CROSS_TOOLS, instead of those makefiles
being selected based on the host architecture.


35708 04-May-1998 bde

Fixed races in `make -jN' using new yacc rules.


35699 04-May-1998 bde

Don't add y.tab.h to CLEANFILES, since this would now be done centrally
if y.tab.h were generated. Don't generate y.tab.h, since it is not used.


35697 04-May-1998 bde

Simplified using new yacc rules. This is cosmetic - the old rules
worked because .ORDER prevented problems from concurrent generation
of multiple parsers (and their headers), and there were no missing
dependencies because the generated headers were not actually used.


35693 04-May-1998 bde

Simplified using new yacc rules. This is cosmetic - the old rules worked
with `make -jN' because they did the right things to generate cexp.h
without clobbering cexp.c, and there were no missing dependencies on
cexp.h because cexp.h isn't actually used.

Fixed style bugs.


35692 04-May-1998 bde

Fixed races in `make -jN' using new yacc rules. This also fixes plain
`make' (without a previous `make depend').


35691 04-May-1998 bde

Fixed races in `make -jN' using new yacc rules.

Fixed slightly wrong order of -I's in CFLAGS.

FIxed the usual style bugs in DPADD and LDADD.


35690 04-May-1998 bde

Symlink awk.y to awktab.y so that the default yacc rules apply, and use
the (new) default yacc rules. This is cosmetic - the special rule was
good enough here because y.tab.h is not used.

Don't generate y.output.


35685 04-May-1998 wosch

Added a alpha category to the list.


35602 01-May-1998 ache

Do not store the same config.h twice - use one from bc directory


35600 01-May-1998 ache

Add missing -DHAVE_CONFIG_H


35588 01-May-1998 bde

Inherit BINDIR properly.


35587 01-May-1998 bde

Fixed apparent bitrot (`=' changed to `?=') in the definition of BINDIR
in the previous commit. Just don't define it here at all. This works
now that the default is inherited properly.


35586 01-May-1998 bde

Removed self-inclusion-prevention ifdef. It is unnecessary now that
bsd.man.mk doesn't include ${.CURDIR}/../Makefile.inc.

Removed GDBDIR-redefinition-prevention ifdef. It hasn't done anothing
for a long time, if ever. The directory is defined to the same value in
each subdir and had the same value because all subdirs are at the same
level. Keep defining it in the subdirs since that is more flexible and
no more verbose.

Prepare to inherit BINDIR by including ../Makefile.inc.


35585 01-May-1998 bde

Oops, This should have been committed with the Makefile change that
requires the new file.

Fixed stale near-copy of contrib/libreadline/doc/hsuser.texinfo. Patch
it at build ntime, and only keep the patch for it here.

Don't keep a copy of contrib/gdb/gdb/doc/all-cfg.texi here. Link to it
at build time.


35584 01-May-1998 bde

Fixed dependencies.

Fixed stale near-copy of contrib/libreadline/doc/hsuser.texinfo. Patch
it at build ntime, and only keep the patch for it here.

Don't keep a copy of contrib/gdb/gdb/doc/all-cfg.texi here. Link to it
at build time.


35580 01-May-1998 des

Don't delete man pages with colons in their name (e.g. Perl 5 manpages)

PR: bin/5439
Submitted by: Martin Kammerhofer dada@sbox.tu-graz.ac.at


35579 01-May-1998 bde

Added missing -DHAVE_CONFIG_H to CFLAGS. It happens to be a no-op here
only because dc doesn't use anything in the gnu library that has a
significant dependency on config.h.

Simplified paths.


35577 01-May-1998 andreas

Style:
$Id$ should be preceded by a tab
Don't include ../Makefile.inc when it is not used explicitly
Use the normal amount of horizontal and vertical whitspace (1 tab/none)
Don't override the (correct) default for MAN1
Use the correct order for -I paths
Use config.h generated by `configure', don't use a huge CFLAGS statement
Enable useage of libreadline in config.h, configure didn't enable it itself.


35576 01-May-1998 andreas

Style:
- Makefiles shouldn't have copyrights.
- $Id$ should be preceded by a tab.
- Don't include ../Makefile.inc when it is not used explicitly.
- Use the normal amount of horizontal and vertical whitspace (1 tab/none).
- Don't override the (correct) default for MAN1.
- Use the correct order for -I paths.
- Don't use += to initialize SUBDIR.
- use the config.h generated by `configure' and don't use a huge
CFLAGS statement.
I think the other Makefiles under src/gnu needs some polishing as well ;-)
Thanks to Bruce, everythig looks smarter now.
Obtained from: Bruce Evans <bde@zeta.org.au>


35575 01-May-1998 dfr

Add ELF support.


35573 01-May-1998 ache

Add libtermcap to DPADD too


35572 01-May-1998 scrappy

-ltermcap is required due to -lreadline else you get missing functions
like 'tputs()' et al...


35553 30-Apr-1998 ache

Use generated bc.h


35536 30-Apr-1998 ache

Turn on Readline support


35535 30-Apr-1998 dfr

Add support for ELF shared libraries. Also use bfd from the binutils in that
case rather than gdb's own copy.


35531 30-Apr-1998 ache

fix make - use -I${.CURDIR} instead -I.


35530 30-Apr-1998 ache

Fix make - use -I${.CURDIR} instead of -I.


35528 30-Apr-1998 dfr

This was broken for ELF builds.


35522 29-Apr-1998 andreas

update dc utility as well
after importing the new bc-1.0.4 sources,
which contain the latest DNU dc version


35521 29-Apr-1998 andreas

remove old bc-1.0.3 stuff
modify Makefile, to get bc-1.0.4 from src/contrib/bc
adjust config.h
PR: closes 4183


35492 28-Apr-1998 ache

Upgrade to 2.2


35402 23-Apr-1998 bde

Fixed missing dependencies. The critical missing one was of bi-lexer.o
on bi-parser.h. Not having it sometimes (only with `make -j') triggered
a bug suite that led to ordinary cpp output being put in .depend files.
Various bugs (the main one only with `make -j') prevented timely detection
of failure to build and install gnu/usr.bin/cc. Eventually the missing
${WORLDTMP}/usr/libexec/cpp caused ${WORLDTMP}/usr/bin/cpp to be invoked
by cc, and this version of cpp is not suitable for such invocation.
Ordinary cpp output was put in .depend files when cpp terminated options
processing before seeing the -M flag.

Cleaned up.


35295 19-Apr-1998 eivind

Add an ".ifmake regress" to avoid warning during 'make world'.

Noticed by: bde


35292 19-Apr-1998 bde

Never generate neqn at install time (the previous fix for this was
incomplete).


35114 10-Apr-1998 jdp

Fix the assembler so that it produces object files with the correct
magic number byte ordering for FreeBSD. This makes "file" describe
our object files as "FreeBSD/i386 object" instead of as NetBSD
object files. In case this seems drastic and risky, Bruce points
out that the "ld -r -x" step that is done on every object file when
building libraries fixes the byte ordering in the same way. I have
been running with this patch for over a month and have seen no
problems.


35097 07-Apr-1998 jdp

Fix a bug which clobbered linker set symbols that had forward references.
With -O3, egcs generates such forward references.

PR: gnu/6055
Reviewed by: jdp
Submitted by: Dmitrij Tejblum <tejblum@arc.hq.cti.ru> in slightly different form


34986 01-Apr-1998 charnier

Use .An/.Aq.


34985 01-Apr-1998 charnier

.Use .An.


34983 01-Apr-1998 charnier

Use .An/.Aq.


34971 31-Mar-1998 charnier

Use .An/.Aq.PR:


34955 30-Mar-1998 jdp

Give up on a.out support in binutils. It has too many problems to
be worth much effort. Install all i386 binutils programs in
"/usr/libexec/elf". Disable a.out support in libbfd. It's too
dangerous to leave it in. Some of the utilities think they can
handle a.out, but they generate bad object files.


34954 30-Mar-1998 jdp

Add c++filt.


34935 29-Mar-1998 jdp

Add support for the AT&T style "fildll" and "fistpll" mnemonics.
These are equivalent to "fildq" and "fistpq" respectively. This
fixes the bad floating point object code that resulted after recent
changes in the compiler.

Test driven by: "Mike Burgett" <mburgett@awen.com>,
Amancio Hasty <hasty@rah.star-gate.com>


34932 28-Mar-1998 eivind

Activate CVS regression test.


34890 26-Mar-1998 dima

Don't build sperl if you don't want to.


34814 23-Mar-1998 bde

Support building of libgcc.a without building all of gcc. This is
useful for bootstrapping. Compatible versions of gcc and cc1 should
should be installed before using this feature.


34813 23-Mar-1998 bde

Honour -static in LDLAGS. ld without -Bstatic is happy to choose
static libraries if there are no shared libraries in the search path,
but gcc without -static blindly attempts to link crt0.o.


34748 21-Mar-1998 bde

Generate files at build time, not at install time. This should be the
last fix of this type. Installing from a read-only object tree should
work now.

Install files using a single install command where this is easy; don't
use shell loops.

Don't use MANDEPEND to complicate things.


34707 20-Mar-1998 bde

Don't use beforedepend to complicate and break things. The usual
fix of putting generated source files in SRCS breaks many special
cases (many dependencies had to be incomplete for ${.ALLSRC}
not to give .h files that would break compiling with c++ -c).
Reduce these special cases to the general case so that SRCS works
normally and bsd.lib.mk handles most of the complications. Now
we only have to duplicate rules from bsd.lib.mk to add special
CFLAGS in some cases.


34704 20-Mar-1998 bde

Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.


34703 20-Mar-1998 bde

Put generated source files in SRCS. This fixes races generating
the source files. E.g., the stale version of locate.cc in the
source directory was sometimes used. We didn't even use beforedepend.

Added temporary files to CLEANFILES.

Fixed some style bugs.


34702 20-Mar-1998 bde

Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.

Don't use MANDEPEND to complicate things. Just put the generated
man page in CLEANFILES.

Partly fixed yacc header brokenness, as in ../eqn/Makefile.

Added temporary files to CLEANFILES.

Fixed some style bugs.


34701 20-Mar-1998 bde

Don't use beforedepend to complicate and break things. Just put
generated source files in SRCS.

Don't use MANDEPEND to complicate things. Just set MAN1 and put
generated man pages in CLEANFILES.

Added temporary files to CLEANFILES.

Partly fixed a potentially fatal bug involving the yacc header.
We generate eqn.cc (even if there is a version of it in the source
directory older than eqn.y) and a matching eqn.tab.h, but only use
the possibly-non-matching eqn.tab.h in the source directory. This
works because Cygnus's yacc happened to generate a y.tab.h identical
to the current generated one. The correct version will be used
when the wrong version is deleted from the source tree. Kludge to
get the header generated early enough. Yacc headers are mishandled
everywhere they are renamed (and used).

Generate neqn at build time, not at install time.

Fixed some style bugs.


34700 20-Mar-1998 bde

Removed bogus -I path. The correct path is in all subdir Makefiles
where it matters.


34684 19-Mar-1998 bde

Removed vestiges of use of beforedepend target.


34656 18-Mar-1998 obrien

I goofed on the `LINKS' syntax.
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>


34627 16-Mar-1998 hoek

This is uulog.1, not uuname.1.

PR: docs/5980


34587 15-Mar-1998 jdp

Make the binutils strip ELF-only for now. It isn't quite right for a.out.


34562 14-Mar-1998 jdp

Disable support for the a.out-i386-bsd target. Everything it can do
seems to be supported in the a.out-i386-freebsd target. When both
are present, there are sometimes complaints of "ambiguous file
format."


34553 13-Mar-1998 jb

Add binutils if BINFORMAT is elf. This is needed for alpha, and it
works on i386, but is still disabled until you set BINFORMAT.


34518 12-Mar-1998 bde

Put sources in SRCS and don't depend on them in beforedepend. IIRC,
this is to fix `make -j50' where `make -j18' worked. The race may
just have been more likely to be lost for -j50.


34517 12-Mar-1998 jb

Configure alpha to disassemble both alpha and i386 opcodes.


34515 12-Mar-1998 bde

Fixed `make -jN depend' (N >= 2) by removing the beforedepend
target. .ORDER doesn't work right, but is used for things related
to the depend target. It "works" for the depend target by skipping
the build of .depend when N >= 2 and there is a non-default
beforedepend target with no rules. Recent fixes made almost all
the beforedepend targets in the tree a no-op except for this bug.

Removed vestiges of elf and aout targets.


34514 12-Mar-1998 jb

Configure bfd for elf64, elf32, and aout. Yes alpha can handle i386
formats. No i386 can't handle alpha formats. 8-)


34505 12-Mar-1998 jb

Define the target type for alpha.


34503 12-Mar-1998 jb

Add the alpha makefile.

Move tc-i386.c from Makefile to Makefile.i386 'cause alpha doesn't
like trying to swallow it. Indigestion, I think.


34502 12-Mar-1998 jb

Change the include path for bfd.h to libbfd/${MACHINE_ARCH} since
I moved the location of that architecture specific file.


34501 12-Mar-1998 jb

This file was generated on i386, so it has been moved to the i386
sub-directory. It differs from the alpha version.


34500 12-Mar-1998 jb

This file was generated on i386 by the update.sh script in
src/gnu/usr.bin/binutils.


34499 12-Mar-1998 jb

These files were generated on alpha by the update.sh script in
src/gnu/usr.bin/binutils.


34498 12-Mar-1998 jdp

Replace empty install targets with definitions of INTERNALLIB and
INTERNALSTATICLIB to suppress installation of internal libraries.


34497 12-Mar-1998 jb

Change script to get the machine type from `uname -m' and make
the binutils headers for (machine)-unknown-freebsdelf.

Also copy the bfd.h header to an architecture specific directory
because there are two fundamental lines that differ (32-bit vs 64-bit)
between i386 and alpha.

The config.h for libbinutils generates the same on alpha as i386,
so I didn't change that (though I was tempted!).


34495 12-Mar-1998 jdp

Restructure the binutils hierarchy somewhat in order to better
support building it for variant architectures. It was already
becoming clear that the former structure was too rigid and didn't
scale well.

The usual sort of makefile magic arranges to .include an architecture
specific makefile "Makefile.${MACHINE_ARCH}" in each directory
where it exists. Also, sources will be found in each subdirectory
"${MACHINE_ARCH}" that exists. This is all taken care of automatically
by the top level "Makefile.inc0".

This all seems to work right for the i386 now. I have also converted
those alpha pieces already present to the new schema as best I
could.

Also: change the BINDIR on the i386 to /usr/libexec/elf for "ar"
and "ranlib". They are not object format independent enough to
put into /usr/bin.


34477 10-Mar-1998 guido

mktemp -> mkstemp as pointed out on bugtraq
Obtained from: Theo de Raadt


34469 10-Mar-1998 peter

indicate ability to support the PerservePermissions stuff


34468 10-Mar-1998 peter

add new file (hardlink.c) into sources


34411 09-Mar-1998 jkh

Eliminate duplicated lines.
PR: 5956
Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.j>


34371 09-Mar-1998 jb

We want ld in /usr/bin, not some weird and wonderful hiding place
that might be inspired by some creation from Intel. Doh.


34337 09-Mar-1998 jb

This commit was generated by cvs2svn to compensate for changes in r34336,
which included commits to RCS files with non-trunk default branches.


34318 08-Mar-1998 peter

Use cc -E rather than cpp when looking for __ELF__


34282 08-Mar-1998 obrien

add `CC' as a link to `c++' for compatablity with SGI.


34245 08-Mar-1998 peter

Set LIB_PATH explicitly otherwise genscripts makes (incorrect) references
all over the place.


34229 08-Mar-1998 peter

First round of changes to support generation of assembler for the old
a.out gas and the binutils gas (elf or a.out) with a single compiler.

This uses other infrastructure not yet committed, in order to support
both a.out and elf it needs to be able to get to both a.out and elf
gas, ld, libs, crt* etc. So for now, the support is pretty much dormant.

The new freebsd.h file is based on the old freebsd-elf.h file (which has a
long lineage, right back through linux and svr4 files). The change is
pretty dramatic from a gcc internals standpoint as it overrides a lot of
definitions in order to generate different output based on target mode.
There is potential for screw-ups, so please be on the lookout - gcc's
configuration mechanism wasn't really meant for this kind of thing.
It's believed to compile world etc just fine under both a.out and elf, can
handle global constructors and destructors, handles the differences in
a.out and elf stabs, and what sections things like exceptions go in.

The initial idea came from i386/osfrose.h which is a dual rose/elf format
target. These two are not as diverse as a.out and elf it would seem.

The cc front-end uses external configuration to determine default object
format (still being thrashed out, so read the source if you want to see
it so far), and has a '-aout' and '-elf' override command line switch.
There are some other internal switches that can be accessed, namely -maout,
-mno-aout, -munderscores and -mnounderscores. The underscore and local
symbol prefixing rules are controllable seperately to the output format.
(ie: it's possible to generate a.out without the _ prefixes on symbols and
also to generate elf with the _ prefixes. This isn't quite optimal, but
does seem to work pretty well, except the linkers don't always recognise
the local symbols without their normal names)

The default format is a.out (still), nobody should see any major changes.

With both elf and a.out tools and libraries installed:

[1:26pm]/tmp-223> cc -elf -o hello hello.c
peter@beast[1:27pm]/tmp-224> file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped
[1:27pm]/tmp-225> ./hello
hello world!

[1:27pm]/tmp-226> cc -aout -o hello hello.c
[1:27pm]/tmp-227> file hello
hello: FreeBSD/i386 compact demand paged dynamically linked executable not stripped
1:27pm]/tmp-228> ./hello
hello world!

Since my co-conspirators put a lot of effort into this too, I'll add them
so they can share the blame^H^H^H^H^Hglory. :-)

Reviewed by: sos, jdp


34189 07-Mar-1998 wosch

Delete cc(1) debug option, typo from last commit.

Pointed out by: Søren Schmidt


34159 07-Mar-1998 bde

Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internal
libraries so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.

Get the default BINDIR correctly (by including ../Makefile.inc recursively.


34149 07-Mar-1998 bde

Use `foo/bar.a' instead of `-Lfoo -lbar' for linking to static internal
libraries, so that `ld -f' in can create correct dependencies for
yet-to-be-built libraries.


34136 06-Mar-1998 guido

Open temporary files with O_EXCL.
Obtained from:bugtraq


34112 06-Mar-1998 bde

Fixed `make -jN' for large N. The usual method of pretending that all
objects depend on all generated headers doesn't work because it gives
cyclic dependencies. Give enough dependencies explicitly. We no
longer need to use .SINGLESHELL for `make depend'. .SINGLESHELL was
more of a bottleneck than usual because `make depend' makes everything.

Fixed some spelling and English errors.


34098 06-Mar-1998 bde

Fixed `make -jN' for large N. Just put the generated headers in
${SRCS} instead of giving inadequate explicit dependencies. There
is still a problem after `make depend; make clean'. Then `make'
barely works, and `make -jN' is confused by absolute paths in
.depend.


34061 06-Mar-1998 jdp

Fix the broken installation of strip. It tried to use the installed
strip program (via "install") to strip itself. But the program
wasn't executable because "install" hadn't made it so yet. I
borrowed the method used for the old strip to get around this.


33976 01-Mar-1998 jdp

This commit was generated by cvs2svn to compensate for changes in r33975,
which included commits to RCS files with non-trunk default branches.


33799 25-Feb-1998 bde

Don't add streambuf.cc to SRCS twice.


33704 21-Feb-1998 steve

Build perl header files for machine/* too.

PR: 672
Submitted by: Jun Kuriyama <kuriyama@opt.phys.waseda.ac.jp>


33689 20-Feb-1998 jkh

Correct spammage from MACHINE_ARCH commit - you don't want to
*replace* the SUBDIR list in that case, you want to augment it.
Also move a stray .endif to its proper location. Heh, no wonder my
release builds were falling over! ;)


33672 20-Feb-1998 bde

Don't create an unused obj directory.


33619 19-Feb-1998 jb

No binutils yet 8-(, and a few programs that need porting to alpha.
Make them i386 specific for now.


33610 19-Feb-1998 jb

Just one of these libs left to port to alpha.


33405 15-Feb-1998 steve

The ' character is treated differently as the first character of a line.

PR: 5754
Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>


33297 13-Feb-1998 bde

Fixed printing of %fs and %gs for live kernels.

Only print the current pcb on startup. Printing it every time a utility
routine was called messed up the register dump for live kernels.


33150 07-Feb-1998 alex

catman(1) is now invoked by /etc/periodic/weekly/330.catman.


33137 06-Feb-1998 jdp

Implement dladdr.


33076 04-Feb-1998 danny

Submitted by: Alex Nash
Style nit - extraneous space.


33001 01-Feb-1998 steve

setpwent and endpwent have a return type of void, so change this
to work like newer versions of perl.

Reviewed by: Bruce Evans


32795 26-Jan-1998 peter

comment that pvcs_to_rcs is left out since it needs perl5


32794 26-Jan-1998 peter

Add libdiff


32793 26-Jan-1998 peter

Build the internal libified diff


32792 26-Jan-1998 peter

Update options.h as per configure generated version


32791 26-Jan-1998 peter

Update config.h


32764 25-Jan-1998 jb

Make machine dependent asm code machine dependent. 8-)


32763 25-Jan-1998 jb

Change MACHINE -> MACHINE_ARCH so that the design make sense on those
machines where the processor chip determines the compiler, and where
multiple machines use the same architecture.


32761 25-Jan-1998 jb

Modify for MACHINE_ARCH support instead of assuming just x86.
Added alpha and m68k stuff.


32698 22-Jan-1998 ache

Add PATCH_INDEX_FIRST environment variable to do the same as -I option


32674 21-Jan-1998 ache

Update usage line with new option


32673 21-Jan-1998 ache

Add -I or --index-first option to take Index: precedence over context diff,
as it was in hacked FreeBSD version


32672 21-Jan-1998 ache

Resurrect patch 2.1 without FreeBSD Index: hack


32620 19-Jan-1998 bde

Fixed accesses to addresses between VM_MAXUSER_ADDRESS (normally
0xefbfe000) and kernel_start (normally 0xf0100000).

Things are unnecessarily (?) difficult because procfs is used to
access user addresses in the live-kernel case although we must have
access to /dev/mem to work at all, and whatever works for the
dead-kernel case should work in all cases (modulo volatility of
live kernel variables). We used the wrong range [0, kernel_start)
for user addresses. Procfs should only work up to VM_MAXUSER_ADDRESS,
but it bogusly works for reads up to the address 2 pages higher
(the user area, including the kernel stack, is mapped to where the
user area used to be (WTUAUTB)). Procfs can not work at all for
addresses between WTUAUTB and kernel_start.

Now we use procfs only to access addresses up to VM_MAXUSER_ADDRESS.
Higher addresses are translated normally using kvtophys(), so the
user ptd is used for addresses below the real kernel start (0xf0000000;
see INKERNEL()) and nothing is found WTUAUTB.

Strange accesses that cross the user-kernel boundary are now handled,
but such ranges are currently always errors because they necessarily
overlap the hole WTUAUTB.

Short reads are still not handled.


32619 19-Jan-1998 bde

Removed `kstack' and associated mistranslations in kvtophys().
Correct translations would have been null. However, kstack was
the top of the kernel stack instead of the base of the kernel stack
like it was when the kernel exported it, so the area above the
kernel stack was mistranslated and the kernel stack was not
translated. This bug was depended on to compensate for the wrong
value of kstack - to read the pcb, instead of just using the address
of the pcb, we used the mistranslated address of kstack, which
happened to be the same (curpcb = kstack - 0x2000).

This area is simpler than it used to be now that the kernel stack
address is per-process. The code still seems to be more complicated
than necessary - the `found_pcb == 0' case seems to be unused.


32603 18-Jan-1998 bde

Fixed endless loop for `p/x *(int *)0xf0000000'. kvm_uread() in
gdb was cloned from the buggy version of kvm_uread() in libkvm and
had the same bugs. It looped endlessly on EOF and checked errno
without setting it in the lseek() error check. The first bug caused
gdb to loop endlessly for reads from addresses between the end of
the user area and the start of the kernel text. kvm_uread() should
not be used for addresses beyond the end of the user area, but is
due to bugs elsewhere.


32602 18-Jan-1998 bde

Don't override FRAME_CHAIN(). If the current frame is valid, then
the previous frame is in the usual place even for traps, interrupts
and syscalls in the kernel, because the assembly language stubs
don't change the frame pointer. The previous frame is just not for
the calling function. We may as well depend on this as on magic to
determine the trap frame address. The magic is in FRAME_SAVED_PC()
which elides the correct number of stubs (1) to go back to a pc that
matches the previous frame.

Removing fbsd_kern_frame_chain() fixes bugs in it. Xsyscall was
misspelled as _Xsyscall (gdb removes one leading underscore), so
the tf_syscall frame type was never found. This was harmless
because tf_normal works in all cases in fbsd_kern_frame_chain()
and Xsyscall is spelled correctly in fbsd_kern_frame_saved_pc()
where it matters. There were style bugs on almost every line,
starting with a primary indent of 7.


32600 18-Jan-1998 bde

Fixed sloppy definitions of SIGTRAMP_START and SIGTRAMP_END. The old
range was a little too large.


32597 17-Jan-1998 bde

Pass the system name to dmesg. Rev.1.7 only works when the symbols in
/kernel aren't too different form those in the kernel being debugged.


32423 11-Jan-1998 jb

More i386 -> ${MACHINE} changes to make this Makefile machine
independent. It makes it look like you can get aout on alpha, but
that's just your imagination. The makefile above gives you no choice.


32422 11-Jan-1998 jb

Replace i386 references with ${MACHINE} to make this makefile almost
machine independent, with the only dependency being the binary format
to build. We only expect to build ELF on alpha although we'll need
ECOFF compatibility with Digital Unix.


32407 10-Jan-1998 jb

Avoid building x86 specific libraries on Alpha.


32383 10-Jan-1998 jdp

Make the ".set" directive copy the aux field when the expression
reduces to a relocatable symbol plus an offset. This preserves
the symbol type information (function vs. object). It is important
for SVR4-style weak symbols, e.g., "#pragma weak foo=bar". Without
this change, the linker complains that the jmpslot entry is not a
function.


32276 05-Jan-1998 danny

PR: gnu/4385
Submitted by: Robert Eckardt <roberte@MEP.Ruhr-Uni-Bochum.de>
Sundry man page fixes; handle Central European Summer Time (CEST);
usage fixes in line with man page fixes.


32252 04-Jan-1998 ache

Upgrade to 2.5 (contrib version)


32224 03-Jan-1998 ache

Back out Index over +++/--- precedence.
It maybe right, if patch was FreeBSD-own program, but it break compatibility
with pre-existent patches in other systems.
The example is big ncurses patch which don't apply on FreeBSD
due to "fixed" precedence.


32147 01-Jan-1998 alex

Removed /etc/ld.so.conf reference from FILES section (people get
confused when they can't find it), but leave the reference to it
as being a standard filename (which doesn't imply that it exists).

Discussed with: jkh


32121 30-Dec-1997 danny

Submitted by: Peter Hawkins <peter@clari.net.au>
Actually implement --norecurse as documented in the man page.


32013 27-Dec-1997 wosch

Check argument filename length before copying.

$ gzip `perl -e 'for(1..10240){ print "a"}'`


32006 26-Dec-1997 wosch

Workaround to avoid a strange core dump.

gzip < /dev/null | perl -npe 's/\003\003/\003\225/' | gzip -d


31995 26-Dec-1997 wosch

Do not install the z*grep man pages if grep was linked with -lz.


31989 25-Dec-1997 hoek

Use consistent spelling,
writeable -> writable (recall prior debate over this? :-)
initialise -> initialize
recognise -> recognize

Merry Christmas! :)


31928 21-Dec-1997 wosch

When called as `zgrep', the -Z argument is assumed. Make a
link from zgrep to grep.

Pointed out by: Tim Vanderhoek <hoek@hwcn.org> and
Mike Smith <mike@smith.net.au>


31902 20-Dec-1997 wosch

Added zgrep.libz. This version of zgrep(1) depend on a
grep(1) linked with libz.


31901 20-Dec-1997 wosch

Added a sparc category to the list.


31900 20-Dec-1997 wosch

Added builtin decompression using zlib library, option -Z.

Enabled this new feature with the makefile variable GREP_LIBZ. If
you don't like it, compile with `make GREP_LIBZ='.

grep + zlib has several advantages:

- the shell script zgrep(1) will be basically a one line
exec grep -Z "$@"

- no shell script, no bugs. The current zgrep implementations
have many bugs and some grep options are no supported.

- no shell script, no security risks.

- it is a magnitude faster than a shell script

Also fixed:
0 -> STDIN_FILENO
Close a file descriptor only if the open call was successfully. It does
not hurt for the open(2) function, but the gzclose(3) function
died in free() to free up (not) allocated memory.


31867 19-Dec-1997 bde

Exec dmesg and awk to print everything in the message buffer
following "panic:" or "Fatal trap". `panicstr' is still printed,
although it is redundant if there is a valid message buffer and
incomplete if it contains `%'s. I think the awk command belongs
here and not in a script since a standard format with complete
messages is good for bug reports.


31843 18-Dec-1997 bde

Fixed missing dependency on version.c.

Fixed some style bugs ($@ is not recommended ...).


31821 17-Dec-1997 bde

<bsd.prog.mk> has always included ../Makefile.inc, and there are no
complications involving .PATH or dependencies, so don't include it here.


31820 17-Dec-1997 bde

<bsd.prog.mk> has included ../Makefile.inc for a long time, and there
are no complications involving .PATH or dependencies, so don't include
it here.


31812 17-Dec-1997 bde

Don't use LDDESTDIR. Just put the -L arg in LDADD.


31804 17-Dec-1997 bde

Use BINOWN, etc. instead of bin, etc. so that (this part of)
`BINOWN=... make world' can be run by users other than root.


31588 07-Dec-1997 wosch

Use getopts instead getopt(1). This should fix the problem
with whitespaces in pattern.
PR: 5211


31546 05-Dec-1997 jdp

Make emacs work again. This is a workaround for the fact that the
emacs a.out file, self-generated by emacs's "unexec" function in
"unexsunos4.c", is invalid. In particular, its "_end" symbol has
the wrong value. The dynamic linker was using the value of that
symbol to initialize its sbrk break level.

The workaround is to peek at the executable's a.out header in
memory, and calculate what "_end" should be based on the segment
sizes.

I will work out a fix for emacs and send it to the FSF. This
dynamic linker workaround is still worthwhile, if only to avoid
forcing all emacs users to build a new version.

Note: xemacs gives a bogus warning at startup, for related reasons.
The warning is harmless and can safely be ignored. I will send a
patch to the xemacs maintainers to get rid of it, and meanwhile
add a patch file to our port.


31462 30-Nov-1997 steve

Remove manpath.[ch] here and use the ones in ../manpath instead.


31461 30-Nov-1997 steve

Resurrect manpath.c here.


31458 30-Nov-1997 steve

Remove this copy of manpath.c and add the .PATH directive to get to
the same file in ${.CURDIR}/../man.

Suggested by: Bruce Evans


31453 30-Nov-1997 steve

Always call gripe_reading_mp_config with the required arguments.

PR: 3894
Submitted by: Stephen Clawson <sclawson@marker.cs.utah.edu>


31445 29-Nov-1997 jdp

Get rid of the dynamic linker's internal malloc package, and arrange
things so that it uses the same malloc as is used by the program
being executed. This has several advantages, the big one being
that you can now debug core dumps from dynamically linked programs
and get useful information out of them. Until now, that didn't
work. The internal malloc package placed the tables describing
the loaded shared libraries in a mapped region of high memory that
was not written to core files. Thus the debugger had no way of
determining what was loaded where in memory. Now that the dynamic
linker uses the application's malloc package (normally, but not
necessarily, the system malloc), its tables end up in the regular
heap area where they will be included in core dumps. The debugger
now works very well indeed, thank you very much.

Also ...

Bring the program a little closer to conformance with style(9).
There is still a long way to go.

Add minimal const correctness changes to get rid of compiler warnings
caused by the recent const changes in <dlfcn.h> and <link.h>.

Improve performance by eliminating redundant calculations of symbols'
hash values.


31442 28-Nov-1997 jdp

In the "ldd -v" output, display the N_AUX information for each
symbol. It indicates whether the symbol refers to a function or a
data object.


31363 23-Nov-1997 bde

Implemented "info float" for core files.

Implemented reading of %fs and %gs from core files.

Print weird floating point values better. We have to convert long
doubles to doubles here because of limitations and bugs in printf()
and floatformat_to_double() (long doubles aren't really supported
and naive converion to double causes exceptions). Conversion loses
information about weird formats (everything becomes a quiet NaN),
and printf() doesn't know about different types of NaNs anyway.


31214 18-Nov-1997 jdp

Add missing argument detected by "-Wformat".


30846 29-Oct-1997 ache

Define PR_PROGRAM properly


30844 29-Oct-1997 ache

Switch to contrib version


30843 29-Oct-1997 ache

Switch to contrib version


30842 29-Oct-1997 ache

Switch to contrib version


30736 26-Oct-1997 jraynard

Remove yet another superfluous file.


30731 26-Oct-1997 ache

Add -funsigned-char to CFLAGS (for ctype macros)


30661 23-Oct-1997 ache

Add (unsigned char) cast to ctype macros


30658 23-Oct-1997 ache

Add (unsigned char) cast to ctype macros


30657 23-Oct-1997 ache

Add unsigned char cast to ctype macros


30654 23-Oct-1997 ache

Add (unsigned char) casts to ctype macros


30578 19-Oct-1997 jraynard

<gnuregex.h> is rather old and breaks AWK's regex matching. Use a newer
version instead.


30441 15-Oct-1997 ache

Do not use gawk random, we have better one in libc


30417 14-Oct-1997 jraynard

Makefile for contributed version of awk.


30416 14-Oct-1997 jraynard

Remove old version of awk.


30333 12-Oct-1997 jkh

Fix improperly re-entrant code which caused the menu spammage we've
been seeing since 2.2.1.
Pointed-in-the-right-direction by: phk


30276 10-Oct-1997 peter

#include <machine/tss.h> explicitly


30253 10-Oct-1997 peter

If kerberos is installed and enabled in make.conf, activate cvs's kserver
hooks. This is a lot safer than 'cvs pserver'.


30195 07-Oct-1997 joerg

Include optional support for HDB-style config files, so the true masochists
can get their rights as well. ;-) The default remains, of course, Taylor
config.

Demanded by: some people on -hackers

I think this is safe enough to go into RELENG_2_2 as well, if there's
demand.


30113 05-Oct-1997 jkh

Changes to support full make parallelism (-j<n>) in the world
target.
Reviewed by: <many different folks>
Submitted by: Nickolay N. Dudorov" <nnd@nnd.itfs.nsk.su>


29982 29-Sep-1997 joerg

Nevermind... Wolfram already did it, but added the file (IMHO wrong)
to the contrib area so i didn't see it.
NB: RELENG_2_2 is still missing it (what's why i didn't see it in the
first place).


29981 29-Sep-1997 joerg

Add a stub man page for psroff(1).


29637 20-Sep-1997 peter

_G_VTABLE_LABLE_PREFIX is different between ELF and a.out
('_vt.' vs '__vt$')


29574 18-Sep-1997 phk

Many places in the code NULL is used in integer context, where
plain 0 should be used. This happens to work because we #define
NULL to 0, but is stylistically wrong and can cause problems
for people trying to port bits of code to other environments.

PR: 2752
Submitted by: Arne Henrik Juul <arnej@imf.unit.no>


29496 16-Sep-1997 joerg

Sigh, there's always one more buffer overflow. :-(
This one hinted to by the recently posted exploit (although not exploited by
it).


29478 15-Sep-1997 wosch

Add a genclass.1 manpage.


29474 15-Sep-1997 wosch

Add a simple manpage.


29437 15-Sep-1997 ache

Fix neqn building:
1) Move it after Makefile.inc included since it uses DIST_DIR from there
2) Add neqn.sh dependance


29429 14-Sep-1997 wosch

Add a simple manpage.


29385 14-Sep-1997 wosch

Add some UUCP manpages.


29345 13-Sep-1997 wosch

Add some UUCP manpages.


29329 13-Sep-1997 wosch

spelling corrections.

PR: docs/4450
Submitted by: josh@quick.net


29042 02-Sep-1997 jdp

Touch up the code that implements "ldd -v".

Bring the style of sods.c into better conformance. Add code to
print the contents of each datum being relocated. Correct the logic
that distinguishes between programs, shared libraries, and object
files. Make the entire program "-Wall" clean.


28935 30-Aug-1997 jmg

fix a few spelling changes

Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.


28928 30-Aug-1997 jmg

fix misspelling

Submitted-by: Josh Gilliam

Closes PR:4426


28905 29-Aug-1997 sos

Dont use an internal function called warn it clashes with libc.
Allows ELF compile.


28899 29-Aug-1997 peter

Insert first cut of hooks for compiling under ELF.


28898 29-Aug-1997 peter

Insert hooks for building under elf.


28886 29-Aug-1997 obrien

Real skeleton manpage for install-info
(someone that actually knows what it really does (I don't use info) really
should try to put some meat in this)


28837 27-Aug-1997 joerg

Major Ooops. I've overlooked a few calls to scanident() in my last commit.

Submitted by: rbezuide@oskar.nanoteq.co.za (Reinier Bezuidenhout)


28635 23-Aug-1997 steve

.Ar -l -> .Fl l

PR: docs/3682
Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>


28619 23-Aug-1997 steve

Add missing *roff macros to correct display about -V option.

PR: docs/4162
Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp


28609 23-Aug-1997 jmg

bin to BIN{OWN,GRP} and add Id line


28566 22-Aug-1997 peter

Fix missed optimisation in "Attic/" stripping code in $CVSHeader$

Submitted by: jdp


28559 22-Aug-1997 peter

Add -R (rescan or refresh) option to rescan and rebuild the hints
file based on the previous list of directories stored there which
should overcome a weakness of the '-m' switch which can only add
libs. This is an ideal way of updating the hints list after adding
or removing a shlib since it will remove entries that are gone and
doesn't need to have all the directories spelled out each time.
(eg: rm -f /usr/lib/libtcl75*; ldconfig -R) This only works for
version 2 hints files (which we've been generating for a year or
so) which store the path.


28533 21-Aug-1997 bde

Backed out previous commit. mp.h is installed from libmp and should not
be installed from here.


28515 21-Aug-1997 obrien

Added to RELENG_2_2 via tagging.


28476 21-Aug-1997 jmg

change bin to BINOWN and BINGRP

Reviewed-by: joerg


28434 19-Aug-1997 nate

- In dlsym(), if the lookup fails using the original symbol, prepend an
underscore and try looking it up again. This is a non-issue if we
switch to ELF.

Reviewed by: sef, jdp


28407 19-Aug-1997 peter

Redo the $CVSHeader$ support to use code from David Dawes as in XFree86.
The stuff I hacked together didn't strip out "/Attic/" for files
on branches when the HEAD version was cvs rm'ed.


28331 17-Aug-1997 andreas

during the ,beforeinstall' target mp.h has to be installed as well
to /usr/include. Otherwise chkey and newkey can't be compiled
properly during make world.


28018 09-Aug-1997 peter

Don't accidently compress "sh" or there are unfortunate consequences.

PR: 4220
Submitted-by: Dag-Erling Coidan Smørgrav <finrod@pugwash.priv.no>


27984 08-Aug-1997 joerg

Fix a buffer overflow condition (that causes a security hole in suidperl).

Closes: CERT Advisory CA-97.17 - Vulnerability in suidperl
Obtained from: (partly) the fix in CA-97.17


27838 02-Aug-1997 jdp

Implement dlsym(RTLD_NEXT, symbol).


27718 27-Jul-1997 bde

Support 4MB pages.


27429 15-Jul-1997 itojun

small change to prevent "modules" to be modified twice, on the following
execution sequences:
% easy-import -n foobaa
% easy-import foobaa

Reviewed by: joerg_wunsch@uriah.heep.sax.de


27413 15-Jul-1997 dyson

Add some Pentium and PentiumPro opcodes and registers.


27370 13-Jul-1997 bde

Don't define HOST_DATA_START_ADDR, since gdb works without it the
previous definition doesn't work on BSD4.4Lite[2] derived systems
without the changes in rev.1.27 of kern_proc.c.


27334 11-Jul-1997 jkh

Allow ldconfig to accept files (containing directory paths) as well as
directory paths.
Reviewed by: jkh & jdp
Submitted by: Hans Zuidam <hans@brandinnovators.com>


27198 04-Jul-1997 wosch

Better section guessing for manual pages without suffix. The
plan9 manual pages dont have a suffix.


27118 30-Jun-1997 bde

Removed -I path to gdb's readline. This didn't do much in -current
because the -I path to config/libreadline had precedence, but in
2.2 it help hide the bug that the -I path to the non-contrib
libreadline was garbage.


27112 30-Jun-1997 bde

gdb.info still needs a near-copy of hsuser.texinfo to avoid the
reference to the programming manual. Use this near-copy of the version
of hsuser.texinfo in contrib/libreadline instead of the stale near-copy
in contrib/gdb.


27083 29-Jun-1997 bde

Configure static linkage in the normal way (default to -static using
NOSHARED?= yes).


27082 29-Jun-1997 bde

Configure static linkage in the normal way (default to -static using
NOSHARED?= yes).

Split long lines.


27040 29-Jun-1997 pst

NOSHARED takes a yes/YES no/NO value, not "true, false, hey mon!".
NOPIC is used to not generate a shared library, not NOSHARED.
Make NOSHARED advisory where appropriate.
Remove bogus NOSHARED (kbdio).


26992 27-Jun-1997 tegge

Don't depend upon the user structure having been aligned on a 8 KB boundary.
Reviewed by: Peter Wemm <peter@spinner.dialix.com.au>


26984 27-Jun-1997 peter

Zap some unused debugging printfs that I accidently left in.


26827 23-Jun-1997 steve

Fix a minor nit in the .Dd macro invocation so that
the revision date is displayed correctly.


26815 22-Jun-1997 phk

BYOC - Bring Your Own Calloc(3)

Someday I'm going to face the music and dispose of this private malloc copy.


26523 09-Jun-1997 jmg

support remote imports (you must have a local cvs with same path as
remote for this to work)

Approved/Improved by: joerg


26502 07-Jun-1997 paul

Remove "support" class since we don't provide support services to users.


26501 07-Jun-1997 ache

Upgrade to 2.1


26495 07-Jun-1997 bde

Support reading and writing of %fs and %gs (except from core files).


26459 05-Jun-1997 max

Typo fix in the EXAMPLES section.


26296 31-May-1997 jdp

Fix some old typos and misspellings.


26275 29-May-1997 dfr

Document new -Bforcedynamic flag and -assert pure-text.

Reviewed by: jdp


26195 27-May-1997 max

Typo fix.
PR: 3693
Submitted by: Kazuo Horikawa <k-horik@yk.rim.or.jp>


26049 23-May-1997 asami

Add ${DESTDIR} in front of absolute paths.

Reviewed by: bde


26036 23-May-1997 charnier

Add -fno-for-scope to CFLAGS, required by gcc (see NEWS).
PR: gnu/3585


26012 22-May-1997 imp

Fix buffer overload that might lead to root.


25963 21-May-1997 charnier

replace obsolete @ctrl{A} with @kbd{C-A}. Suppress compilation warning.


25932 19-May-1997 eivind

`it's'' -> `its'' where appropriate and typo fixes in time2posix.3.

Closes PR docs/3612.

Submitted by: Josh Gilliam <soil@quick.net>


25845 15-May-1997 peter

Update to build the new cvs version


25774 13-May-1997 dfr

Changes to support the kernel linker:

Add a -Bforcedynamic option which generates a dynamic object even
if no shared libraries were given in the link.

Make RRS in text section warnings conditional on "-assert pure-text"
so that I can link non-PIC kernel modules without tons of link
errors. Changes to bsd.lib.mk to follow.

Fix a couple of bugs exposed by the fact that the kernel is not
linked at zero.

Reviewed by: jdp


25699 11-May-1997 peter

After looking around at what the other *BSD's do for their $xxxBSD$ tags,
take the easy way out and implement the beginnings of something similar.
Don't worry, the code here is *dormant* so far, some "help" from cvs is
required. This is going in now so that jdp can see what I'm working on.
This is an extension of the previous existing skeleton $FreeBSD$ code.


25501 06-May-1997 jdp

Bye bye CPLUSPLUSLIB hack! It's not needed any more.

Don't merge this into -2.2 unless you understand the dependencies on
c++rt0, bsd.lib.mk, and gcc -shared. I.e., let me do it.


25386 02-May-1997 gj

delete kcorelow.c, it didn't produce any code and broke init.c
because 2 references to _initialize_kcorelow (the other one
from kvm-fbsd.c) resulted. This prevented gdb from working correectly.

delete kcorelow.c from XSRCS in the Makefile.


25355 01-May-1997 pst

Clean up merge from 2.2 (without spamming peter's changes)


25350 01-May-1997 peter

Patch up init.c generation so that it works in -current.. It was trying
to use files that do not exist here. Also, fix(?) ${.OBJDIR}/init.c hack.


25349 01-May-1997 peter

Fix include of <sys/dir.h> to <dirent.h> - it hits a #warning


25331 01-May-1997 pst

Fix up a spurious '@' I added at the last second


25330 01-May-1997 pst

Merge from 2.2: auto-gen init.c and add ser-tcp.c


25312 30-Apr-1997 bde

Fetch the registers from struct members in the pcb instead of
punning the pcb to an array of ints and using magic indices to
access values in it. This should prevent silent breakage from
changes in the pcb.

Supply 0 for unavailable registers instead of punning the tss to
an array of ints and using magic indices to access garbage values
in it. (The registers are in the pcb; there is nothing interesting
in the tss. This should change someday. At least for dumps, all
the registers should be saved, and common_tss is a good place to
put them.)

Removed ancient wrong (disabled) method for reading eip.


25309 30-Apr-1997 bde

Backed out previous change. It just gave a more verbose Makefile by
repeating the default for MAN1.


25300 30-Apr-1997 jdp

Fix a bug that caused the relocs for linker set members in shared
libraries to come out as 1-byte relocations instead of 4-byte
relocations.

Submitted by: Doug Rabson <dfr@nlsystems.com>


25262 29-Apr-1997 jdp

Set the N_EXT (external) flag for all weak symbols. It makes no
sense to have a weak symbol that is not externally visible. This
fixes many of the "relocation burb" warnings produced when compiling
C++ code with "-fpic". Beyond eliminating warnings, it also makes
some things work that didn't work before.


25209 27-Apr-1997 gj

change kvm-fbsd.c so that kernel debugging works again.

document the -k and -wcore options in the manpage.

change Makefile to use a local copy of the manpage.


25170 26-Apr-1997 pst

Activate gdbserver and gdbreplay


25150 25-Apr-1997 pst

This commit was generated by cvs2svn to compensate for changes in r25149,
which included commits to RCS files with non-trunk default branches.


25149 25-Apr-1997 pst

Initial import of gdbserver FreeBSD support


25148 25-Apr-1997 pst

This commit was generated by cvs2svn to compensate for changes in r25147,
which included commits to RCS files with non-trunk default branches.


25147 25-Apr-1997 pst

Initial import of gdbreplay build structure


25144 25-Apr-1997 bde

Fixed `make depend'. The previous change reduced it to making only
config.h (which isn't used directly). Added a comment about the
indirect use of config.h.


25141 25-Apr-1997 bde

Don't complain about no input files for `ld -f'. This fixes spurious
(ignored :-() errors for `make depend' in /sys/i386/boot/*. It's
natural for there to be no libraries there and inconvenient to check
for this in bsd.prog.mk.


25139 25-Apr-1997 jdp

Fill the padding at the end of the runtime strings with zeros,
instead of leaving random data there. This makes the linker's
output files more deterministic -- an important property for
regression tests.


25030 19-Apr-1997 wosch

Understand `--' to end processing of command options.
This means one search for a string starting with a dash.
Fix also filenames starting with a dash. Close PR #3349


24979 16-Apr-1997 bde

Fixed `make depend' and related bogons. LDFLAGS was used for
ld-specific flags. LDFLAGS is really for ld-related flags for cc,
not for ld, and some flags, e.g., -Bshareable, mean completely
different things to cc and ld. Having the wrong things in LDFLAGS
also broke the standard ${PROG} target. This was kludged around
by using a special rule that depended on LDFLAGS being bogus.
Fixing `make depend' broke the special rule but fixed the standard
rule (except in the DESTDIR case, which was handled more strictly
here than elsewhere).


24871 13-Apr-1997 bde

Fixed synopsis. There was a missing arg, 3 args with the wrong type,
and many apparent dependendcies on <sys/types.h> from use of u_char.
<dialog.h> avoids u_char, so avoid it here too.


24863 13-Apr-1997 joerg

Don't create anything on the disk if -O (aka --to-stdout) was given.

PR: gnu/3247: tar -O creates directories...


24859 13-Apr-1997 jkh

Close PR#3118


24835 12-Apr-1997 peter

Don't descend into the perl directory if it isn't there (eg: cvsup
refuse file), or if NOPERL is defined (eg: in /etc/make.conf)


24814 11-Apr-1997 bde

Don't print nonexistent library names for `ld -f [-Lfoo] -lbar'. A
dependency on `bar' is very unlikely to be correct.

This is a quick fix for broken dependencies in gdb and many other
places. The dependencies on internal libraries are now missing
instead of wrong when `make depend' is run before the libraries
are created.


24802 11-Apr-1997 jkh

Make depend rely on config.h


24793 10-Apr-1997 bde

Fixed bogus existence test related to searching for a nearby obj
directory. The object (= current) directory always exists, so
don't search for it.

Use ${.TARGET} instead of deprecated $@.


24792 10-Apr-1997 bde

Fixed bogus existence test related to searching for a nearby obj
directory. manpath.1 is always in the current (= object) directory,
so don't search for it.


24791 10-Apr-1997 bde

Fixed bogus existence test related to searching for a nearby obj
directory. man.1 is always in the current (= object) directory,
so don't search for it.


24790 10-Apr-1997 bde

Fixed bogus existence test related to searching for a nearby obj
directory. config.h is always in the current (= object) directory,
so don't search for it.

config.h is not a source for the library, so don't put it in SRCS and
don't make the library depend on it.

Don't put unused flags in CFLAGS.

Simplify using INTERNALLIB*.


24749 09-Apr-1997 peter

Oops. Missed the Complex number add case of code generation.. :-]
Fixes PR#3239.

Submitted by: Takeshi WATANABE <watanabe@crayon.earth.s.kobe-u.ac.jp>


24706 07-Apr-1997 bde

Fixed bugs involving paths:
- LDADD was wrong for non-uniform obj trees.
- DPADD was wrong for separate obj tres.

Cleaned up nearby messes, mostly ones invoving paths:
- ../libtxi was useless.
- there were too many redefinitions and too many different names for the
same paths.
- use INTERNALLIB* to simplify libtxi/Makefile.


24705 07-Apr-1997 bde

Fixed bugs involving paths:
- LDADD was wrong for non-uniform obj trees.
- DPADD was wrong for separate obj tres.

Cleaned up nearby messes, mostly ones invoving paths:
- -I../libtxi was useless.
- there were too many redefinitions and too many different names for the
same paths.
- use INTERNALLIB* to simplify libtxi/Makefile.


24692 07-Apr-1997 peter

Attempt to patch up gdb so that it has a chance of working with the new
UPAGES layout.. it was entirely too comfortable with reading and writing
the U area before. I've changed it to use PT_GETREGS/PT_PUTREGS
ptrace ops instead of READ_U etc. The code to read the registers from
core dumps is a bandaid at best. It seems to have problems reading
core dumps from dynamic linked executables still, but at least static
dumps work.

I desperately need help from a gdb/bfd expert. :-) HELP!!


24594 03-Apr-1997 obrien

Bmake Makefile for building info files for GNU cpio.


24593 03-Apr-1997 obrien

Bmake Makefiles for GNU cpio.


24592 03-Apr-1997 obrien

Make way for FreeBSD files with CPIO bits in src/contrib/cpio


24500 01-Apr-1997 mpp

Remove a doubled word. Closes PR# 3163.

Submitted by: Kazuo Horikawa <horikawa@jp.freebsd.org>


24445 31-Mar-1997 peter

Toast dummy lchown(), it's in libc now.


24389 29-Mar-1997 jkh

YAMF22


24366 29-Mar-1997 peter

generate c-exp.c, f-exp.c and m2-exp.c with yacc rather than using
the generated ones in the gdb dist.


24365 29-Mar-1997 peter

Protect against multiple inclusion (All the CFLAGS+= items make the cc
command lines get rather long). (bsd.lib.mk is particularly bad at this)


24355 29-Mar-1997 jdp

Support the ".p2align" directive, which is standard in newer versions
of binutils. For all architectures and object file formats,
".p2align n" aligns to the next multiple of 2**n. Thus for FreeBSD,
it does exactly the same thing as the traditional ".align".

The old ".align" directive has different meanings in different
object formats, and even in different variants of a.out. Sometimes
is aligns to a multiple of n, and other times it aligns to a multiple
of 2**n. ".p2align" is preferable for use in assembly language
sources, since it makes them more portable to object formats other
than a.out.


24336 28-Mar-1997 jdp

Change a "=" to "?=" to make it easier to override the binary format
from the environment.


24306 26-Mar-1997 obrien

FreeBSD modifications and notes for GNU cpio.


24097 22-Mar-1997 jdp

Add a new "-f" option to the linker, to print the resolved paths
of all the files and libraries in the command line.

Submitted by: bde (Bruce Evans)


24095 21-Mar-1997 wosch

Make makewhatis(1) happy.


23970 17-Mar-1997 ache

Fix initstate() cast to match Lite2


23955 17-Mar-1997 jmg

fix compilation warnings in patch... (with slight modification)

also remove -Wall that I acidentally committed last time I was here...

Submitted-by: Philippe Charnier

Closes PR#2998


23917 15-Mar-1997 guido

Remove unnecessary chmod()'s. This should likely go in other branches.
Obtained from: aleph1@UNDERGROUND.ORG on Bugtraq


23914 15-Mar-1997 gj

delete the LINKS line (link gdb to kgdb) by popular demand.


23890 14-Mar-1997 wosch

Support german mdoc man pages (currently no german mdoc man page exists).
Support japanese FreeBSD man pages, Jpman Project.


23853 13-Mar-1997 wosch

Support german Linux/GNU man pages.


23820 12-Mar-1997 gj

add LINKS line to Makefile to automatically produce a link to kgdb

define START_PROGRESS in nm.h to check whether gdb was invoked as kgdb
and set the kernel_debugging flag in that case.

2.2 candidate ?


23731 11-Mar-1997 peter

Oops.. Missed this one too. getopt is in unistd.h now, not stdlib.h


23725 11-Mar-1997 peter

Fix the getopt() prototype to match the system one.


23724 11-Mar-1997 peter

Build under Lite2 includes


23701 11-Mar-1997 ache

Fix srandom arg type according to Lite2


23567 09-Mar-1997 bde

Fixed style bugs in install rule (afterinstall -> beforeinstall, etc).
Removed stale comment.


23552 09-Mar-1997 mpp

Fix a number of typos, one of which is part of PR# 2917.


23538 08-Mar-1997 bde

Don't use a dot in the chown commands. In fact, don't use any commands
except `install'. Changed $() to ${}. Don't use the afterinstall target
(it is only for things that must be done after the install target is
built).


23535 08-Mar-1997 bde

Fixed substitution of @TMAC_S_PREFIX@ and @TMAC_M_PREFIX@.


23242 01-Mar-1997 wosch

Bugfix for man pages created by perlpod(1).

Submitted by: Slaven Reziæ (Tomiæ) <eserte@cs.tu-berlin.de>


23241 01-Mar-1997 joerg

Plug an old security hole: suidperl didn't honor MNT_NOSUID.

Strong 2.2 and 2.1.x candidate. Someone should review the patch before,
however.

The maintainer of the Perl5 port should probably introduce a similar patch
there.


23220 28-Feb-1997 ache

Fix various overflows for items longer then menu width.
Fix cursor place after PgUp/PgDn.

Should go into 2.2
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su>


23104 25-Feb-1997 mpp

Don't set the umask until after we have processed the arguments
and opened the archive file. This allows "cpio -o -O output_file"
to create the output file with the callers proper umask.
Closes PR# 1391.


23035 23-Feb-1997 peter

Fix some $ Id$ in $ Log$ expansion problems. :-( (added spaces just in
case)

Pointed out by: bde


22996 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


22995 22-Feb-1997 peter

Revert $FreeBSD$ to $Id$


22879 18-Feb-1997 ache

When wrong directory choosed and chdir failed, directory name
was not reset to old name causing any file choosen put error
diagnostic about wrong directory, fix it by resetting back
to old name after chdir failed.

Add \r as alias to \n, some telnets have problem with that.

Should go into 2.2
Submitted by: "Anatoly A. Orehovsky" <tolik@mpeks.tomsk.su> & me


22761 15-Feb-1997 bde

Oops, the last commit shouldn't have removed floatformat.c.


22760 15-Feb-1997 bde

Don't use the private version of vasprintf(). It doesn't understand
"%%" in format strings and tends to dump core for "%%st". I needed
"%%st" to fix the new gdb ...

Don't use the private version of strerror() either.

Use INTERNALLIB and INTERNALSTATICLIB instead of a private install
rules NOPROFILE and NOPIC. This is only slightly cleaner.
INTERNALLIB was previously only used in compatibility libraries
(libgnumalloc etc.) and INTERNALSTATICLIB was previously unused.
INTERNAL*LIB probably should be replaced by something like NOSTATICO
together with NO{STATICO,PROFILE,PIC}INSTALL.


22674 13-Feb-1997 jmg

Fix a problem with patch in that is will always default, even when the
controlling terminal is closed. Now the function ask() will return 1 when th
input is known to come from a file or terminal, or it will return 0 when ther
was a read error.

Modified the question "Skip patch?" so that on an error from ask it will skip
the patch instead of looping.

Closes PR#777

2.2 candidate


22483 09-Feb-1997 joerg

Reorder the default man sections.

2.2 candidate?


22440 08-Feb-1997 wosch

Check return value from system() function.

Pointed out some months ago by: Bruce


22438 08-Feb-1997 jdp

Correct the recommended option for "find" from "-depth" to "-d".


22297 05-Feb-1997 mpp

Don't force postscript output when "man -t" is specified.
Closes PR# 2661.

Submitted by: John-Mark Gurney <gurney_j@efn.org>


22187 01-Feb-1997 jdp

Fix a bug involving alias (N_INDR) symbols. When building a shared
library with a shared object dependency that contained alias symbols,
the linker incorrectly counted the number of symbols that would be
written, resulting in a fatal internal error. Since our libc now
contains some alias symbols (in "net/res_stubs.c"), this was
sufficient to tickle the bug: "ld -Bshareable foo.so -lc". To
fix it, I moved the accounting of alias symbols to a later point
in the processing, where it is possible to count only those symbols
that will actually be written to the output file.

This fix is well-confined to affect alias symbols only. I have
tested it with a full "make world". I am going to merge it into
-2.2 after a few more days of living with it in -current.


21967 24-Jan-1997 jdp

Use xmalloc instead of malloc in two places, so that out-of-memory
conditions will be detected.

Submitted by: Philippe Charnier <charnier@xp11.frmug.org>


21928 21-Jan-1997 jkh

Remove incorrect use of double-negative since it means the same thing
to make but perhaps not to the human reading it.


21819 17-Jan-1997 jdp

Pay attention to the environment variable "LD_IGNORE_MISSING_OBJECTS".
If it is set to a nonempty string, then simply skip any missing
shared libraries. This came up in a discussion long ago as a
potentially useful feature at sysinstall time. For example, an
X11 utility could be used without the X libraries being present,
provided the utility had a mode in which no X functions were actually
called.


21810 17-Jan-1997 jdp

Add back the description of the "-v" option. It seems to have been
lost in the conflict resolution leading up to revision 1.4.
2.2 candidate.


21790 17-Jan-1997 jkh

Go on one of my periodic rampages through this code, trying to make
it DTRT. In the process, discover the usual 10-15 evil bogons which
have been lurking in it for years. This closes, for one thing, the
recent report Mike Smith made about nested checklist menus returning
with the scrolling region messed up.


21788 17-Jan-1997 jkh

Remove -lmalloc; it's no longer relevant.
Pointed-Out-By: jdp, dima and others.


21782 16-Jan-1997 ache

Simplify using SRCDIR


21781 16-Jan-1997 ache

Use SRCDIR instead of PATH


21780 16-Jan-1997 ache

Simplify using SRCDIR


21779 16-Jan-1997 ache

Use SRCDIR instead of PATH


21778 16-Jan-1997 ache

Simplify it using SRCDIR


21747 15-Jan-1997 gj

Remove mmalloc since we're now using phkmalloc. This is made possible
by the -DNO_MMALLOC flag in gdb/Makefile.

The one thing we lose by doing this, AFAIK, is the possibility of using
mmap. Does anyone use that feature at all ?

2.2 candidate ?


21746 15-Jan-1997 gj

Changes required in directory libiberty to make gdb from the sources in
/usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?


21745 15-Jan-1997 gj

The files in gdb/elf are now grabbed from /usr/src/contrib/gdb/include/elf.

This also applies to the last 2 commits for aout and coff. Oops !

This is based on /usr/ports/devel/gdb.

2.2 candidate ?


21744 15-Jan-1997 gj

The files in gdb/coff are now grabbed from /usr/src/contrib/gdb/coff.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?


21743 15-Jan-1997 gj

The files in gdb/aout are now grabbed from /usr/src/contrib/gdb/aout.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?


21742 15-Jan-1997 gj

changes required in the gdb directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?


21741 15-Jan-1997 gj

changes required in the doc directory for making the gdb info
files using the texi sources in /usr/src/contrib/gdb/gdb/doc.

I put a pointer to /usr/src/contrib/libreadline/doc into
Makefile.inc in the hope that the appropriate files would be
picked up.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?


21740 15-Jan-1997 gj

changes required in the bfd directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?


21739 15-Jan-1997 gj

changes required in the top-level directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?


21697 15-Jan-1997 jkh

Allow emacs-style next/prev characters as well as arrow keys so that
I can offer this as a consistent feature.


21693 14-Jan-1997 jdp

If a library is found in the hints file, but the library doesn't exist,
ignore the hint.

This is a straightforward fix, and it should go into 2.2 after a burn-in
period of a few days.

Noticed by: bde


21673 14-Jan-1997 jkh

Make the long-awaited change from $Id$ to $FreeBSD$

This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore. This update would have been
insane otherwise.


21652 13-Jan-1997 jkh

Back out previous fix. It was bogus.


21649 13-Jan-1997 jkh

Install a dir file if one doesn't exist. This seems the most likely
place to do it, I guess, and it's the utility which falls over without one.


21643 13-Jan-1997 jkh

Turn this into legal texinfo. Since I don't know what the author
intended (and clearly, neither did the author :) I've just used the
bullet list attribute everywhere.


21635 13-Jan-1997 wosch

Sort cross references.


21620 12-Jan-1997 jdp

Use the RTLD_NOW symbol, now that it is defined in <dlfcn.h>.


21595 12-Jan-1997 peter

Patch up the readline info building. This one is a bit of a problem
since the source name is not the same as the texinfo name so we have to
use SRCS=. This means we can't build two info sets in the same directory
so I've split it.


21594 12-Jan-1997 peter

Don't conflict with INFODIR?=${SHAREDIR}/info from the system Makefiles


21591 12-Jan-1997 peter

Make this (hopefully) build now. There was no dir entry.


21587 12-Jan-1997 peter

Fix path to readline docs, since it's now in contrib


21584 12-Jan-1997 peter

Disconnect the doc subdir until somebody fixes this. I don't see how this
could possibly have worked during the testing before the last commit. :-(


21578 12-Jan-1997 jdp

Correct typos and spelling errors.


21577 12-Jan-1997 jdp

Add support for the LD_BIND_NOW environment variable. If it is set to a
nonempty string, then function calls are relocated at program start-up
rather than lazily. This variable is standard on Sun and SVR4 systems.

The dlopen() function now supports both lazy and immediate binding, as
determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or
2 (RTLD_NOW). I will add defines of these symbols to <dlfcn.h> as soon
as I've done a little more checking to make sure they won't cause
collisions or bootstrapping problems that would break "make world".

The "LD_*" environment variables which alter dynamic linker behavior are
now treated as unset if they are set to the empty string. This agrees
with the standard SVR4 conventions for the dynamic linker.

Add a work-around for programs compiled with certain buggy versions of
crt0.o. The buggy versions failed to set the "crt_ldso" member of the
interface structure. This caused certain error messages from the
dynamic linker to begin with "(null)" instead of the pathname of the
dynamic linker.


21576 12-Jan-1997 jdp

Set LD_TRACE_LOADED_OBJECTS to "1" instead of to "". The dynamic linker
now treats empty "LD_*" environment variables as if they were unset, per
the standard SVR4 conventions.


21574 12-Jan-1997 jdp

Add support for the LD_BIND_NOW environment variable. If it is set to a
nonempty string, then function calls are relocated at program start-up
rather than lazily. This variable is standard on Sun and SVR4 systems.

The dlopen() function now supports both lazy and immediate binding, as
determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or
2 (RTLD_NOW). I will add defines of these symbols to <dlfcn.h> as soon
as I've done a little more checking to make sure they won't cause
collisions or bootstrapping problems that would break "make world".


21525 11-Jan-1997 jmacd

Changes to make ld demangle C++ symbol names before printing
error messages containing them.

Reviewed by: Peter Wemm


21524 11-Jan-1997 jmacd

Same.


21521 11-Jan-1997 jmacd

Same. This wasn't installed before either.


21520 11-Jan-1997 jmacd

Same.


21519 11-Jan-1997 jmacd

Same. This wasn't even in the old dir file.


21518 11-Jan-1997 jmacd

Same.


21517 11-Jan-1997 jmacd

Same deal.


21516 11-Jan-1997 jmacd

Same deal.


21515 11-Jan-1997 jmacd

Same thing.


21514 11-Jan-1997 jmacd

Forgot a TAB.


21513 11-Jan-1997 jmacd

Same thing.


21512 11-Jan-1997 jmacd

Getting tired of writing same thing.


21511 11-Jan-1997 jmacd

Added section and entry annotations.


21510 11-Jan-1997 jmacd

Add missing info section name.


21509 11-Jan-1997 jmacd

Add the missing annotations.


21508 11-Jan-1997 jmacd

Add the missing annotations.


21501 11-Jan-1997 jmacd

Clearing out the old stuff, its all in contrib now.


21469 10-Jan-1997 jdp

For "ldd -v", print shared object dependencies that were specified as
pathnames (rather than as "-lfoo") correctly.
Closes PR bin/2404.


21458 09-Jan-1997 mpp

Fix some file descriptor leaks. Closes PR# 2392.

2.2 candidate.


21394 07-Jan-1997 asami

Typo, "%d" -> "%s". This caused tar to print things like

tar: Can't change to directory 282656 : No such file or directory


21392 07-Jan-1997 jkh

Remove bogus redeclaration of setenv().
Fixes make world failure #3 for today (part of an ongoing series).


21388 07-Jan-1997 jkh

Fix bogosity with gdb documentation path.
Submitted-By: Chuck Robey <chuckr@glue.umd.edu> (with fix from me)


21382 06-Jan-1997 ache

Add -f to ln


21342 05-Jan-1997 ache

Use contrib version now


21158 01-Jan-1997 bde

Use ${COPY} instead of -C for installing non-source files. crt*.o
should be installed using the same flag as libraries, but ${COPY}
is currently used for libraries.


21155 01-Jan-1997 bde

Use ${COPY} instead of -c for installing non-source files.


20930 26-Dec-1996 swallace

Fix spelling error in manpage.


20924 26-Dec-1996 joerg

Pull the fix from rev 1.31.2.1; i've accidentally committed it to
2.2 first.


20877 23-Dec-1996 phk

Remove a couple of private malloc() implementations, one of which
was unused afterall.


20674 19-Dec-1996 ache

Even more buffer overflow fixes
Change CATMODE to 0644, because group man not used
Add immutable sbit to man binary, so if user even got man uid,
he can't replace man binary with fake one

Should go to 2.2

Submitted by: Marc Slemko <marcs@znep.com> with small editing by me


20660 18-Dec-1996 ache

Fix many buffer overflows, sprintf -> snprintf
Fix manpath dirs count overflow

Should be in 2.2


20655 18-Dec-1996 ache

Fix my popen fix: conditionalize saving/restoring of euid

Should be in 2.2


20654 18-Dec-1996 ache

Drop man priveledges before popen and restore them after it, because
it is possible to execute system command from f.e groff

Should be in 2.2


20486 14-Dec-1996 mpp

Correct some xrefs/mlinks.


20446 14-Dec-1996 jkh

Somewhere along the way, multiple targets started working and nobody
noticed.


20442 14-Dec-1996 jkh

Add another hateful global to libdialog (what the heck, there are already
so many). For now, the only extended attribute implemented is NO ECHO,
useful for things like passwords. See TESTS/input2.c for an example.
This should go into 2.2.


20359 12-Dec-1996 jkh

Line up some of these OK boxes properly again.


20244 09-Dec-1996 mpp

Convert to mdoc format.

Submitted by: Sandro Sigala <sandro@cat.local.net> as part of PR# 2134


20241 09-Dec-1996 mpp

Minor formatting fixes.

Submitted by: Sandro Sigala <sandro@cat.local.net> as part of PR # 2134.


20238 09-Dec-1996 mpp

Fix a spelling error.


20237 09-Dec-1996 mpp

Convert man page to mdoc format.

Submitted by: Sandro Sigala <sandro@cat.local.net> as part of PR# 2154


20216 08-Dec-1996 joerg

Merge tar's version of rtapelib, namely the changes as of rev 1.2.
Both files used to be identical previously, so they are again now.


20201 07-Dec-1996 asami

Remove /usr/ucb and /usr/local/mh/bin from MANPATH_MAP, we don't ship
the system with these (and the mh port doesn't install there either).

Comment out /usr/X386/bin in MANPATH_MAP, it is already commented out
in MANDATORY_MANPATH.

2.2 candidate, I guess. I can't even imagine why these stuff were
still there!


20193 07-Dec-1996 markm

Fix libmp to be more Berkely compatible.

This is a very safe 2.2 candidate.

Submitted by: Nick Sayer <nsayer@quack.kfu.com>


20183 07-Dec-1996 ache

Disable seteuid/setegid back, I overlook one place where
SETEUID chacked before SETREUID


20180 06-Dec-1996 ache

Enable seteuid, setegid


20179 06-Dec-1996 ache

Not have saved setuid anymore


20121 03-Dec-1996 nate

Added support for '-T' and '-B' (text and binary) file recognition by
peeking inside of Chris Torek's stdio library internals. This is
similar to the code used for other systems, but didn't work on CT's new
implementation.

Submitted by: Gary Kline <kline@tera.com>


20084 02-Dec-1996 jkh

Allow baud rate of 230400.
Submitted-By: Andrew L.Davydov <davydov@ns.okbmei.msk.su>


20050 30-Nov-1996 bde

Made the synopsis in the man page conform to the style guide.

Made the usage message conform to the style guide.

Don't use the implementation variable `__progname'.


19972 26-Nov-1996 ache

Use LC_TIME=C


19926 22-Nov-1996 peter

make the Usage string match reality

Submitted by: faried nawaz <fn@uidaho.edu>, PR#2075


19922 22-Nov-1996 obrien

Added reminder to edit the parent Makefile to add what you just imported.


19824 16-Nov-1996 joerg

Disable the inclusion of the Posix regexp stuff into libgnuregexp.
We've already got it in libc, but both libraries are incompatible
wrt. their header files and internal data structures. This
incompatibility caused the expr(1) on the fixit floppy to mysteriously
dump core for the colon operator.

Strong 2.2 candidate, since it fixes the usage of MAKEDEV on the fixit
floppy. I'd like to get it reviewed by somebody else though.

Observed by: andreas


19786 15-Nov-1996 jkh

STL object files missing from libstdc++ - fix.
This closes PR#1975 and was on my TODO list, so I'm breaking my own "no more
commits before I fly!" rule and taking care of this, since it was at the
very top and Peter shamed me in to taking care of it. This is definitely
a 2.2 candidate.

Submitted-By: Mark Diekhans <markd@Grizzly.COM>


19681 12-Nov-1996 jkh

Gnu tar has problems creating an archive which contains a file with a hard
link to another file which has a long (>=100 char) name. When listing such
an archive, the name of the link is truncated to 99 characters, and when
extracting such an archive, an error is reported because it is trying to
create a hard link to a file which doesn't exist. This patch fixes that
problem and has also been sent to the GNU maintainers.

Closes PR#1992

Submitted-By: David Dawes <dawes@landfill.physics.usyd.edu.au>


19652 11-Nov-1996 dyson

Add the PPro %cr4 register to the supported registers in the
assembler.


19584 09-Nov-1996 jdp

Document that "ldconfig -m" rescans all directories previously
entered into the hints file, in addition to the directories named
on the command line.

2.2 Candidate.


19522 08-Nov-1996 jdp

Fixed a bug in the handling of the directories in the search path
that is stored in the hints file. If that search path contained
a non-existent directory (one, say, that had been removed), and
"ldconfig -m /a/perfectly/good/directory" was run, ldconfig returned
an error status without printing an error message. This caused
some confusing bombs when installing ports, in particular.

I changed it so that non-existent directories from the stored search
path are silently ignored. Only non-existent directories named
explicitly on the command line are treated as errors. Also, a
diagnostic is printed if and only if an error status is returned.

In an unrelated fix, ldconfig now silently ignores any directories
named on the command line when the "-r" option is given. Formerly,
these directories incorrectly made their way into the "search
directories" line of the listing. It really should be an error to
specify directories together with "-r", but I don't have time to
fix the manual page in that way right now.

2.2 Candidate.


19438 05-Nov-1996 wosch

Not hang in the downcase routine.

Submitted by: Trevor Blackwell tlb@viaweb.com

2.1.6/2.2 Candidate


19389 04-Nov-1996 steve

Change -I$(.CURDIR) to -I. in CFLAGS. As Bruce pointed out
$(...) is bad style and without -I. this program would not
compile unless ${.OBJDIR} == ${.CURDIR}.

Submitted by: bde


19383 04-Nov-1996 steve

Get rid of bogus #ifdef's.


19382 04-Nov-1996 steve

Upgrade to dc version 1.0 which comes bundled with
bc version 1.03.


19381 04-Nov-1996 steve

Cleanup -Wall warnings added with upgrade to version 1.03.


19380 04-Nov-1996 steve

Upgrade to version 1.03.


19366 03-Nov-1996 steve

Ok, instead of covering up the problem, let's fix it.
Reinstate the ability to use directories as input files
and make dc print an error message when trying to
lookup/set the value of an invalid register.

Suggested by: bde


19365 03-Nov-1996 joerg

Print out permissions that could not be re-established using 0%o
instead of decimal. Also, don't use the `l' modifier for something
that has just been cast to `int' anyway.

Remove various bogus pathnames to look up rsh(1) at. Our rsh is in
/usr/bin, but never in /usr/usb, nor would it ever be called remsh...
Also, if it hasn't been found there, use execlp() to look it up. the
latter is required for `weird' environments like a fixit floppy where
the regular /usr/bin hiearrchy is not avaiable. tar should probably
do it similar to dump/restore, and use rcmd(3) instead of forking an
external process.


19345 03-Nov-1996 steve

Don't allow filenames specified on the commandline
to be directories.


19290 31-Oct-1996 ache

Uncomment static from collate_range_cmp, no more in locale.h


19286 31-Oct-1996 ache

Remove unused file


19285 31-Oct-1996 ache

Localize it


19284 31-Oct-1996 ache

Replace collate_range_cmp call with its code (GNU version)


19283 31-Oct-1996 ache

Replace collate_range_cmp call by its code (GNU version)


19279 31-Oct-1996 ache

Replace collate_range_cmp with its code (GNU variant)


19258 29-Oct-1996 gj

changes to gdb to:
1) add Garrett Wollman's trap frame resolving mods
2) make the `proc' command (kernel debugging) really work
3) allow use of a pid with the `proc' command (previously you had to
provide the address of the proc structure)

Unfortunately, the `proc' command won't work while doing remote debugging.


19253 29-Oct-1996 peter

oops, uninitialised variable.. -v mode depended on stack contents.

Submitted by: Masafumi NAKANE <max@wide.ad.jp>, PR#1920


19215 27-Oct-1996 joerg

Added ${DESTDIR} to the install target so bison.{simple,hairy}
will also appear in our releases. ;)

Forgotten by: peter


19160 24-Oct-1996 markm

Fix the dependancies.
Thanks Andrey!
Submitted by: ache


19159 24-Oct-1996 markm

Fix this so that dependancies work properly.
Thanks Andrey!
Submitted by: ache


19158 24-Oct-1996 jdp

If errors occur during the loading of the shared libraries required by
the main program, report them directly from the dynamic linker and die
there, rather than returning an error message to crt0.o. This enables
the printing of error messages even for old executables, whose version
of crt0.o is not able to print them.

This fix closes PR bin/1869.

The code in crt0.o for printing error messages from the dynamic linker
is no longer used, because of this change. But it must remain, for
backward compatibility with older dynamic linkers.


19135 23-Oct-1996 ache

Remove local fnmatch() copy, we now compatible with GNU fnmatch


19063 20-Oct-1996 phk

Removing old isdn stuff.


19056 20-Oct-1996 joerg

Make it clear that a vendor-branch import adds something to the
existing sources.

Requested by: markm


19053 20-Oct-1996 markm

BMakefile for gmp-2.0.2
Requested by: ache
Made world by: chuckr


19052 20-Oct-1996 markm

BMakefiles for gmp-2.0.2
Requested by: ache
Made world by: chuckr


19051 20-Oct-1996 markm

Remove the old libgmp. Version 2.0.2 is about to hit prime time.


19050 20-Oct-1996 markm

Remove the old libgmp. Version 2.0.2 is about to hit prime time.


19046 20-Oct-1996 markm

This commit was generated by cvs2svn to compensate for changes in r19045,
which included commits to RCS files with non-trunk default branches.


19039 19-Oct-1996 joerg

Various fixes and FreeBSD modifications:

. remove the blubber about `submitter-id's from the man page, we don't
use them,
. use REPLY_TO or REPLYTO in preference over LOGNAME as the value for
the Reply-To address (closes PRs 1471 and its duplicates 1472 and 1823),
. don't abuse ~/.signature as ORGANIZATION, this is almost always
useless blunder,
. actually list the Categories again, instead of xrefing to ``see
above'' (closes PR 1835),
. check the Synopsis field for being not empty,
. make the mail Subject the same as Synopsis if left blank (closes
PR 1209).

The remaining open send-pr related PRs (184 and its duplicate 1047,
and 1415) are pilot errors or local hardware problems.


19010 18-Oct-1996 jdp

Fix two minor typos in the manual page.


18913 13-Oct-1996 peter

Build/install c++filt from g++, we already have all the sources and
it's and useful. (Ever tried to read 'nm' and 'ldd -v' output on a c++
object or library? :-) This filter decodes the mangled symbol names.)

Requested by: Chuck Robey <chuckr@glue.umd.edu>


18880 12-Oct-1996 joerg

Catch a situation where the tty speed might be 0 (in the case of UUCP
over TCP), but is used as a divisor later, causing uucico to abort
with a SIGFPE.

Reviewed by: Ian Lance Taylor <ian@cygnus.com>


18862 10-Oct-1996 jdp

Add the search directories from the hints file only the first time it is
opened. After that, the directories are already present, and there is
no point in adding them again. This doesn't fix any bugs; it's just for
efficiency.


18859 10-Oct-1996 jdp

Add a new option "-f hints_file" to specify an alternate file instead of
"/var/run/ld.so.hints".

Delete an incorrect statement about LD_LIBRARY_PATH from the manual
page.


18849 10-Oct-1996 jdp

Fix a bug that caused a segmentation violation if dlsym() was called
with its first argument equal to NULL.


18800 07-Oct-1996 peter

Use ${INSTALL} -C instead of -c. I did it with -C originally, but during
testing I changed it to -c to check for missed files by looking at time
stamps in /usr/include/g++.

Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>


18718 05-Oct-1996 wosch

delete doubled words, e.g.: "the the" -> "the"


18688 04-Oct-1996 peter

Oops, an editing error at one point meant I had missed the osfcn.h header
(it was directly underneath where bool.h used to be in the list, I think
I must have not been paying attention and deleted a word from the wrong
line. The machine that I was testing on still had an (old?) osfcn.h file)

Pointed out by: Andreas Klemm <andreas@klemm.gtn.com>


18682 04-Oct-1996 jkh

"CONTINUE" was just too long. Make it a nice "OK" now.


18678 04-Oct-1996 peter

To the Attic we go..


18673 04-Oct-1996 peter

Add genclass to the subdir list


18672 04-Oct-1996 peter

Add libstdc++ to the SUBDIR list


18671 04-Oct-1996 peter

Update to use the contrib/libg++ version, now that my (slow) 486 has
finished a 'make world'.


18670 03-Oct-1996 peter

Initial attempt at a bmakefile for genclass.


18666 03-Oct-1996 peter

Initial shot at a bmakefile for libstdc++


18654 03-Oct-1996 peter

Ugly hack alert!

libg++'s exception code causes gcc to generate (ahem!) non-conventional
assembler code in -fpic mode that gas and ld choke on. Basically, gas
and ld require than symbols referenced in the GOT (global offset table)
are actually global (as the name implies). It attempted to work around
it before, but didn't quite go far enough to prevent a core dump in ld.
This hack causes GOT referenced symbols to be forced global. This
probably breaks the __EXCEPTION_TABLE__ stuff in pic mode, but heck, it
wasn't even possible to compile with a shared library before at all.

I'm not 100% sure what the bug is. There's two possibilities:
1: gcc/cp/exception.c has to be fixed to stop doing GOT references to
local symbols, or
2: as/ld/symorder/ld.so etc need to be taught about how to keep local
symbols around so that they can be dealt with in GOT references.

John Polstra's elfkit stuff seems to deal with this fine though, which is
why I think it's a "missing feature" in our hacked gas and ld..


18625 01-Oct-1996 nate

There's no need to 'unsetenv()' unsafe environment variables explicitly
since rt_readenv() already takes care of not setting unsafe variables.
This was part of the changes I submitted to Peter and John during the
review which must have gotten missed.


18618 01-Oct-1996 peter

Sigh, oh well, here's my obligigatory "oops" commit. I don't quite know
how I managed to get this out of sync, but I did. I guess that's what I
get for directly committing from different machines that I was testing on.

Pointed out by: Paul Traina <pst@freebsd.org>


18609 01-Oct-1996 peter

Resync the libgcc functions list with the 2.7.2.1 tree. We were building
a (now) defunct routine that no longer exists (causing an empty .o file),
and were missing some others. Some of the ones we were missing are no-ops
on the i386, so there are now 4 empty .o files.

(It seems that libc/quad has got some defunct functions now)


18607 01-Oct-1996 peter

Don't build config/i386/i386.o in the src/contrib/gcc tree..... :-]


18600 01-Oct-1996 peter

Incorporate John Polstra's sods.c display of the details about the
dynamic linking information in the executable. It's quite extensive.
It's connected to ldd's (new) -v option.


18599 01-Oct-1996 peter

Update to handle new version ld.so.hints and info in executable for
configurable fallback search paths, as well as new crt interface version.

Also:
- even faster getenv(), get all environment variable settings in a single
pass.
- ldd printf-like format specifications
- minor code cleanups, one vsprintf -> vsnprintf (harmless)

The library search sequence is a little more complete now. Before,
it'd search $LD_LIBRARY_PATH (by opendir/readdir/closedir), then read
the hints file, then read /usr/lib (again by scanning thr directory). It
would then fail if there was no "found" library.

Now, it does LD_LIBRARY_PATH and the hints file the same, but then uses
a longer fallback path. The -R path is fetched from the executable if
specified at build time, the ldconfig path is appended, and /usr/lib is
appended to that. Duplicates are suppressed. This means that simply
placing a new library in /usr/local/lib will work (the same as it did in
/usr/lib) without needing ldconfig -m. It will find it quicker if the
ldconfig is run though.

Similar changes have been made to the NetBSD ld.so, but ours is rather
different now due to John Polstra's speedups and fixes from a while back.

The ldd printf-like format support came direct from NetBSD.

Reviewed by: nate, jdp


18598 01-Oct-1996 peter

Support for specifying printf-like output specs to control the ldd output
as present in the new rtld version.

Obtained from: NetBSD
Reviewed by: nate, jdp


18597 01-Oct-1996 peter

Updates to deal with ld.so.hints version 2. It now deals with the
ldconfig path (from NetBSD). I added code to make sure there were no
duplicates in the path when multiple ldconfig -m's were used.

Reviewed by: nate, jdp
Obtained from: NetBSD (partly)


18596 01-Oct-1996 peter

Update the backends to go with the top-level ld changes. The non-i386
changes are for completeness, I don't think they work. There are changes
to deal with the new include files.

Obtained from: NetBSD (mostly)


18595 01-Oct-1996 peter

Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also deal
with the -R option and store the path in the dynamic header when specified.
The $LD_RUN_PATH environment variable is not checked yet.

While here, split up the code a bit more to enable more selective replacing
of GPL'ed components that are linked with ld.so with others.

Obtained from: NetBSD (mostly, the breakup is my fault)


18590 01-Oct-1996 peter

Mostly resync our gas with the NetBSD version to obtain support for
.weak as gcc and g++ would like to use.

This includes changes to other architectures mostly for completeness,
I don't expect cross-assemblink would work but I could be wrong.

Obtained from: NetBSD


18543 28-Sep-1996 wosch

xVERSIONx -> 3.2; close PR 1404


18522 27-Sep-1996 wosch

grep -q pattern file

search 'pattern' in whole file 'file', from top to bottom. This is
not necessary; if grep found 'pattern' it can stop further searching
in file 'file'.

Example:

$ time ./grep-old -q Adam /usr/share/dict/*
1.93 real 1.05 user 0.85 sys
$ time ./grep-new -q Adam /usr/share/dict/*
0.14 real 0.06 user 0.06 sys


18521 27-Sep-1996 wosch

test 37: [b-a] is a syntax error and exit with status 2


18520 27-Sep-1996 wosch

grep(1) should not parse manpages as arguments.
Now `apropos -xfer' works.


18519 27-Sep-1996 wosch

Reverts exit status for `man -k' and `man -f'.
Man(1) now return 0 if apropos/whatis return 0, otherwise 1.


18486 24-Sep-1996 bde

Really eliminated includes of the "temporary" backwards compatibility
header <sys/dir.h> in applications. My previous sweep didn't find the
places that included it without needing it.


18485 24-Sep-1996 bde

Eliminated includes of the "temporary" backwards compatibility header
<sys/dir.h> in applications. Maintained existing (inadequate) ifdefs
for dir.h vs dirent.h in libdialog, amd and rarpd, but didn't add any
new ones.


18480 23-Sep-1996 wosch

add missing comma(s) in .Xr macros


18477 23-Sep-1996 bde

cpp was named ccp.


18473 23-Sep-1996 peter

Crude hack to work around cpp.1 doing a .so man1/cccp.1

Pointed out by: Warner Losh <imp@village.org>, PR#1667


18453 22-Sep-1996 pst

Fix up some compilation warnings.


18447 21-Sep-1996 jkh

Nuke a trailing .endif which survived Peter's last edits.


18441 21-Sep-1996 peter

Remove the partial support for a shared -lcc_int, since it's been unusable
for a fair while. cc1, cc1plus etc have been linked static for some time.


18430 20-Sep-1996 bde

Fixed bogus obj target (found by objwarn check).

Removed unnecessary clean and cleandir targets. The defaults are
adequate and we never bothered overriding the default for all,
depend, lint or tags.,


18423 20-Sep-1996 ache

Replace GNU-made __P definition by standard from sys/cdefs.h


18391 19-Sep-1996 peter

Add libobjc, the Objective-C runtime library.


18390 19-Sep-1996 peter

Man the lifeboats! Tie down the hatches! Red alert! Activate gcc-2.7.2.1!

(the old cc has been tagged with "gcc_2_6_3_final" so we have a reference
point in case of unforseen disasters...)

This has the objc backend active, and I think I've managed to get the
f77 f2c support through in one piece, but I don't know fortran to test it.

A 'make world' change and libobjc commit will follow.

If you normally do 'make -DNOCLEAN world', do not do so this time, I know
it can fail with groff.

This version of gcc makes a **LOT** more warnings on our kernel.


18328 17-Sep-1996 pst

Grab h2ph from /usr/bin, not /usr/local/bin!


18327 16-Sep-1996 wosch

Set enviroment variable PAGER=pager if using option `man -P pager'
This inherit variable PAGER for childs like whatis(1), e.g.
`man -P less -k man' should now work like expected. Close PR#1068


18301 14-Sep-1996 wosch

Cleanup exit status; 2: syntax error, 0: keyword matched,
$exit_nomatch: no keyword matched. Default value for variable
exit_nomatch is 0 because `man -k' don't like exit status != 0

Detected by: "Stephen J. Roznowski" <sjr@zombie.ncsc.mil>


18258 12-Sep-1996 bde

Use `install -C' instead of lots of shell commands to install ld.so
as atomically as possible.

(Immutable targets can't be renamed without opening a window when
neither the source nor the target is immutable. Perhaps there
should be a rename_immutable syscall to do this if unsetting the
immutable flags would work.)


18253 11-Sep-1996 jfieber

Add missing tmac.lj4 (for PCL driver)


18219 10-Sep-1996 peter

add bison, gperf


18218 10-Sep-1996 peter

add bmakefiles


18213 10-Sep-1996 peter

Add bmakefiles to compile bison.


18189 09-Sep-1996 phk

DISTDIR is a reserved variable for make release
s/DISTDIR/DIST_DIR/g


18142 08-Sep-1996 pst

long live groff


18140 08-Sep-1996 pst

...long live groff


18138 08-Sep-1996 pst

Initial revision


18135 08-Sep-1996 pst

Groff is dead...


18128 08-Sep-1996 pst

Add Russian language / koi8-r font support.

Original author: ache


18127 08-Sep-1996 pst

Add psroff command


18078 06-Sep-1996 jkh

Make button highlighting more visible on B/W displays.


18050 05-Sep-1996 bde

Fixed DPADD.


18043 05-Sep-1996 peter

forgot to reconnect easy-import to the Makefile


17984 01-Sep-1996 jkh

Collapse some common arrow key handling semantics from sysinstall into
PollObj(), simplifying code which uses it.


17960 30-Aug-1996 peter

missed these parts of Bruce's changes last time..

Submitted by: bde (again :-)


17958 30-Aug-1996 peter

consistancy fixup

Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>


17952 30-Aug-1996 peter

Too verbose, typo (I missed the -C :-)

Submitted by: bde


17951 30-Aug-1996 ache

Add HAVE_STRING_H
Use -DHAVE_XXX=1 form to be visually consistent with config.h defines


17944 30-Aug-1996 peter

cmp -s || install -c -> install -C


17937 30-Aug-1996 peter

cmp -s || install -c ==> install -C
Add -DHAVE_UNISTD_H -DHAVE_STDLIB_H to get these files


17936 30-Aug-1996 peter

oops!! back out last accidental commit! (gcc-2.7.2.1 tweak that I gave up
on..)


17935 30-Aug-1996 peter

cmp -s || install -c ==> install -C


17891 29-Aug-1996 wosch

[HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41


17881 28-Aug-1996 wosch

add Version 1 AT&T UNIX to .At macro


17859 28-Aug-1996 ache

Keep in sync with latest bash


17858 28-Aug-1996 bde

Don't install zgrep twice.


17849 27-Aug-1996 wosch

sync copyright with /usr/share/examples/etc/bsd-style-copyright


17731 21-Aug-1996 peter

Ack! Don't install cvs.info.gz etc in /usr/bin...


17730 21-Aug-1996 peter

Make the CVSvn.texi dependency hack work a little better..


17727 21-Aug-1996 peter

Oops, forgot to 'cvs add' this one.


17726 20-Aug-1996 peter

Update to use the cvs-1.8.1 sources from src/contrib/cvs


17715 20-Aug-1996 joerg

Ensure at least one space between the module name and the module path.

Detected by: asami


17709 20-Aug-1996 ache

Pick collate info fo ranges


17639 17-Aug-1996 wosch

make install should not install any file in /etc.


17621 15-Aug-1996 ache

8bit clean ctype fixes


17620 15-Aug-1996 ache

Localization fixes


17619 15-Aug-1996 ache

Localization fixes.


17579 13-Aug-1996 ache

Use collate for alpha character ranges


17578 13-Aug-1996 ache

Use collate for alpha character ranges


17575 13-Aug-1996 jkh

Reverse my patch which erroneously removed the library dependencies
for a library. They're needed.


17563 13-Aug-1996 chuckr

Change in man page to document "-" flag as stdin/stdout, add
example showing how to move file hierarchies.
Reviewed by: jkh


17555 12-Aug-1996 ache

Convert to newly aded collate compare function


17554 12-Aug-1996 ache

Convert to newly aded collate compare function


17549 12-Aug-1996 ache

Use collate for alpha character ranges


17548 12-Aug-1996 ache

Pick collate info too


17518 11-Aug-1996 jkh

Throw some unnecessary dreck out of this Makefile.


17477 09-Aug-1996 asami

The default editor is "vi", not "/usr/ucb/vi".


17471 08-Aug-1996 jkh

Remove mkisofs from Makefile


17470 08-Aug-1996 jkh

bye bye mkisofs!


17438 05-Aug-1996 pst

Bring xditview back from the grave (part 2).
Fix things so it *really* won't compile if the environment isn't there.

This commit has been sitting in my to-do list for 2 months. Xditview
should never have been half-removed, so now it's back with a vengance
because we want to keep groff intact as a package.


17437 05-Aug-1996 pst

Bring xditview back from the grave (1 of 2 commits).


17228 20-Jul-1996 jdp

Check for, and disallow, duplicate tags in the "cvs import" command.
RCS cannot deal with duplicate tags; the extra one always becomes
inaccessible and useless.

This will prevent the common mistake of specifying the same name
for the vendor tag and the release tag. The FreeBSD CVS repository
already contains zillions of files with this error. We don't need
any more of them.


17142 12-Jul-1996 jkh

General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>


17098 11-Jul-1996 jkh

1. Remove some ancient bogons from when I initially added dialogMenuItem
support.
2. Have message boxes say "Continue" instead of "Exit"


17092 11-Jul-1996 jkh

Fix a couple of whoopers which somehow went undetected until now.


17075 10-Jul-1996 mpp

Teach the mdoc .Os and .Fx macros about the FreeBSD 2.1.5 release.


17037 09-Jul-1996 ache

Restore my backed out changes (writting cats) because they was
not reviewed by pst in claimed period (1 week) and over 3 weeks passed.
CONSTRUCTIVE complaints welcome!


17016 08-Jul-1996 wosch

add manpage getNAME(1)


17015 08-Jul-1996 wosch

Exits 0 on success, and 1 if no keyword matched.
Start $PAGER only if we find a manual page.


16973 05-Jul-1996 jkh

Add missing dialog_clear() calls.


16919 02-Jul-1996 wosch

install fast version of zgrep


16888 02-Jul-1996 jkh

Round out the examples a little better in showing custom buttons in operation
more than once.


16848 30-Jun-1996 wosch

checklog - extract your commits from commitlogs archive


16846 30-Jun-1996 joerg

Back out Nate's changes from rev. 1.6; our Perl has not been
vulnerable since it used setreuid() as opposed to Posix saved IDs.
The change broke setuid scripts.


16777 26-Jun-1996 nate

Fix for " CERT Advisory CA-96.12 - Vulnerability in suidperl"

Submitted by: The Perl Gods as described in the advisory


16663 24-Jun-1996 jkh

Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src. This is the final version of the
patches, incorporating the feedback I've received from -current.


16594 22-Jun-1996 ache

Back out security changes until pst review them


16584 22-Jun-1996 ache

Do not produce empty cat file in debug mode


16583 22-Jun-1996 gpalmer

Try to make it a bit clearer that our send-pr comes pre-configured
with a submitter-id, and that a new one is not required.


16573 21-Jun-1996 ache

Close security holes and restore suid bit
Restore writting cat's functionality


16402 16-Jun-1996 jkh

Nuke xditview. It was in the same category as xroach.
Screeched-For By: Michael Smith


16272 10-Jun-1996 ache

Increase performance using pre-calculated collate table


16261 09-Jun-1996 ache

Follow alphabetical order more closely, now ISO8859-1 characters
sorted properly too.


16257 09-Jun-1996 ache

Compare 8bit alpha characters alphabetically using strcoll()


16215 08-Jun-1996 bde

Stop using the alias `pcb_ptd' for `pcb_tcc.tss_cr3'. Use the (existing)
alias `pcb_cr3' instead. That is still one alias too many, but is convenient
for me since I've replaced the tss in the pcb by a few scalar variables in
the pcb.


16191 08-Jun-1996 wpaul

Aw c'mon. I'm being driven mad by plenty of other things. I don't
need this.

Consider the following code:

case 'O':
output_filename = malloc(strlen(arg)+4);
strcpy(output_filename, arg);
strcat(output_filename, ".tmp");
real_output_filename = arg;
return;

The idea here is to malloc() a buffer big enough to hold the name of
a supplied file name, plus ".tmp". So we malloc() 'size of filename'
bytes plus 4, right? Wrong! ".tmp" is _FIVE_ bytes long! There's a
traling '\0' which strcat() gleefully tacks on _outside_ the bounds
of the buffer. Result: program corrupts own memory. Program SEGVs at
seemingly random times. Bill not like random SEGVs. Bill smash.

Know how I found this? I've been trying to bootstrap -current on my
2.1.0-RELEASE machine at work and I couldn't seem to get libc.a built
because the linker would intermittently blow chunks while executing
things like 'ld -O foo.o -X -r foo.o'. Since this is an initial
bootstrap version of ld, it was linked against the 2.1.0 libc, who's
malloc() behaves differently than that in -current.

Presumeably ld -O doesn't blow up in -current, otherwise someone would
have spotted this already. I don't know if this is a bug or a feature.

Anyway. I'm changing the strlen(arg)+4 to strlen(arg)+5. Bah.


16078 02-Jun-1996 gpalmer

Use setreuid instead of seteuid for permissions management


16049 01-Jun-1996 lars

Reviewed by: joerg
Change man so that it will still display the man page even if it
cannot create a "cat" file.


15958 28-May-1996 phk

Add an option -O <filename> to ld. From the manpage:
-O filename
Specifies the name of the output file. The file is created as
filename.tmp and when output is complete renamed to filename.
This allows us to:
ld -O ${.TARGET} -x -r ${.TARGET}


15956 28-May-1996 phk

Make rules reentrant.


15939 27-May-1996 jdp

Zero out an unused field in a structure that is written to the output
file. The field formerly contained random garbage, leading to spurious
differences between otherwise identical executables and libraries.

Submitted by: Bruce Evans <bde@freebsd.org>


15933 27-May-1996 peter

Remove this version, it now comes from libc.


15932 27-May-1996 peter

This version is no longer needed, and probably better off gone. It
tried to parse the format string to estimate how much space it needed.
It didn't know all of the formats..


15916 26-May-1996 jkh

There's no -p flag to our diff.


15914 26-May-1996 jkh

Fix some argument ordering and redundancy bogons.


15865 22-May-1996 pst

Remove setuid bit, it's not necessary.


15864 22-May-1996 pst

Call groff directly instead of using nroff shell script.
Submitted by: peter


15861 22-May-1996 jdp

When checking to see whether a needed shared library has already
been loaded, look for a match by device and inode number if the
traditional pathname comparisons don't find a match. This detects
the case in which a library is requested using two different names
which are really links to the same file, and avoids loading it
twice.

Requested by: peter@freebsd.org
Reviewed by: peter@freebsd.org


15857 22-May-1996 wosch

New option -append: teach makewhatis to only add records, instead
of clobbering the entire database.

sort options in alphabetic order.

install manpage makewhatis.local.8


15856 22-May-1996 wosch

remove INFODIR?= /usr/share/info, already defined in bsd.own.mk


15854 22-May-1996 wosch

remove SHAREDIR?=/usr/share, already defined in bsd.own.mk


15826 20-May-1996 jkh

Invoke proper gzip


15776 14-May-1996 wosch

Makewhatis appended the filename to list of keywords if no keyword
matched the filename. Now put the list after the filename. E.g.

filename: vt220keys.1
Keyword: vt220

was: vt220(1), vt220keys(1) - define SHIFTED [...]
now: vt220keys(1), vt220(1) - define SHIFTED [...]


15755 12-May-1996 wosch

Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286

Submitted by: invalid opcode <coredump@nervosa.com>

makewhatis.local - start makewhatis(1) only for file systems
physically mounted on the system
Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill
your NFS server -- all clients start makewhatis at the same time!
So use this wrapper instead calling makewhatis directly.

Pointed out by: Bruce


15751 12-May-1996 wosch

faster
average 2-3 x
for option -h or -q 10 x

handle option -q and -L

better exit status, similar to grep (0: matches found 1: no
matches found 2: error)


15679 07-May-1996 wosch

``mv'' -> ``mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root


15542 02-May-1996 phk

PD_SHIFT -> PDRSHIFT
PGOFSET -> PAGE_MASK


15535 02-May-1996 phk

NBPG -> PAGE_SIZE
Avoid using the struct pte stuff.


15429 28-Apr-1996 joerg

Fix a bogon that prevented easy-import from inserting the new module
name in alphabetical order (broken by my previous commit).

Pointed out by: asami


15422 28-Apr-1996 wpaul

Toss the GNU yp_mkdb into the attic.


15421 28-Apr-1996 wpaul

Remove yp_mkdb; it's going away.

Uhm, guys? This Makefile doesn't build anything anymore. The isdn
stuff under here isn't compiled. Is this normal?


15418 28-Apr-1996 jkh

Fix the OK/Cancel accellerator bogon I introduced a few days back.


15410 27-Apr-1996 jkh

Fix what I just broke with DITEM_LEAVE_MENU


15406 27-Apr-1996 jkh

Fix a bogon with ok/cancel callback usage.


15382 25-Apr-1996 jkh

More custom hackery to deal with issues discovered in sysinstall.


15380 25-Apr-1996 jkh

Allow some post-fire actions to be combined in ways that weren't
possible before.


15376 25-Apr-1996 jkh

alloca() was being called with highly bogus arguments due to brain
fade. Fixed.


15374 24-Apr-1996 jdp

When a local symbol that would normally be eliminated by "-x" or
"-X" must survive, because of references from relocations, don't
qualify the symbol name with the name of the input file. This
saves some string space. It makes libc_pic.a about 2.4% smaller.

Adapted from a suggestion by Bruce Evans.


15373 24-Apr-1996 jkh

Change "Found end of tape. Load next tape ..." messages to say
"volume" instead of tape. Running cpio off of /dev/fd0 and having
it say "give me the next tape" is kind of ludicrous.. :-)


15354 23-Apr-1996 jkh

Cosmetic tweaks.


15348 22-Apr-1996 jdp

Add a couple of needed X11 libraries. Discovered when trying to build a
static version.


15326 20-Apr-1996 jdp

Implement support for LD_PRELOAD in the dynamic linker. Remove
descriptions of LD_NO_INTERN_SEARCH and LD_NOSTD_PATH from the manual
page, since they are not supported.

Submitted by: Doug Ambrisko <ambrisko@ambrisko.roble.com>


15325 20-Apr-1996 jdp

Implement support for LD_PRELOAD in the dynamic linker.

Submitted by: Doug Ambrisko <ambrisko@ambrisko.roble.com>


15323 20-Apr-1996 jkh

Another bug fix for the DITEM_REDRAW case.


15322 20-Apr-1996 jkh

Make the DITEM_RECREATE option work properly.


15306 19-Apr-1996 jkh

Fix a bug which did not properly bias checklist items by their scroll
factor.


15290 18-Apr-1996 jkh

Remove a long-standing window leak I just noticed.


15289 18-Apr-1996 jkh

Remove the special-case behavior for fire actions that return
DITEM_FAILURE - formerly they would simply act as an implicit "continue",
but this is wrong. If you want this behavior, you should now return
with the DITEM_CONTINUE flag set.

Also make the semantics of DITEM_RESTORE quite a bit different - rather
than restore the screen back to pre-menu state, we restore the menu
itself. This is more correct for a variety of reasons when dealing with
nested menus (whoops!).


15273 16-Apr-1996 jkh

More changes to attempt to make this whole new dialog scheme more
robust. The new "fire" actions, while affording signficantly more
interactivity to libdialog, come at a cost - if the fire action trashes
the screen then you're not going to be in Kansas anymore when you
come back to the menu and there had better be considerable extra
smarts in place for coping with such a situation. These changes are my
attempt to do just that.


15240 13-Apr-1996 jkh

Remove some of the grot I added to try and save/restore screen contents.
This shouldn't be done here, it should be done in the client as needed.


15214 12-Apr-1996 markm

Attempt to break a $Log$ snafu where a *** /--- (minus space)
was fouling up a comment in the checked-out code.


15195 11-Apr-1996 markm

Priorities were broken. If there was an Index: line and ***/--- lines
with valid names, the ***/---names were taken first.
this broke eg:
Index: foo/Makefile
==========
RCS <blah>
Retrieving <blah>
diff <blah>
*** Makefile <blah>
--- Makefile <blah>

By trying to patch the Makefile in the _curent_ directory, rather than
the one in the foo/ directory.


15143 08-Apr-1996 jkh

Save screen before calling any fire() callbacks - you never know what
they might do to the screen.


15142 08-Apr-1996 jkh

Refresh dialogs if a callback action fails.


15135 08-Apr-1996 mpp

Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.


15099 07-Apr-1996 joerg

Make `easy-import' ready for vendor-branch imports.

I'm also going to install the new version on freefall.


15090 07-Apr-1996 jkh

Make this properly respect obj dirs.


15089 07-Apr-1996 jkh

Strive for a little more consistency with my examples.


15044 05-Apr-1996 jkh

Add an `aux' field for some other gunk I'm doing.


14914 29-Mar-1996 bde

Moved the include of <sys/types.h> to before the include of <dirent.h>
so that mkisofs will compile when namespace pollution is removed from
<stdio.h>. (<dirent.h> recently became dependent on <sys/types.h>.)


14830 27-Mar-1996 joerg

f2c's -krd does not work with f77 wrapper
Closes PR # gnu/1101

Submitted by: kargl@troutmask.apl.washington.edu (Steven G. Kargl)


14742 21-Mar-1996 wosch

Don't count character ``+'' as garbage (c++.1, flex++.1)

Submitted by: joerg


14684 18-Mar-1996 joerg

Fix an infinite loop for empty files in the archive, and handle
sparsely stored linked files correctly.

Submitted by: haug@conterra.com (Brian R. Haug)


14677 18-Mar-1996 joerg

Several changes to the gethostname module:

. rename the function to main'gethostname, so it can be called unqualified,
. strip the trailing \0 character, closes PR # bin/1084,
. a better way to express an insane long string.

Submitted by: Giles Lean <giles@topaz.nemeton.com.au> (except the 1st)


14605 12-Mar-1996 wosch

delete /usr/local/bin from PATH

Submitted by: nate


14601 12-Mar-1996 wosch

delete /usr/ucb from PATH, move /usr/local/bin after /usr/bin


14461 10-Mar-1996 wosch

remove ``whatis''


14460 10-Mar-1996 wosch

share the code between apropos and whatis


14377 04-Mar-1996 markm

Make "make tests" actually work. This is an extremely crude hack, but
I figure that as this is not part of any automated processes, WTH.


14309 01-Mar-1996 bde

Removed temporary file.


14260 26-Feb-1996 pst

Bring in some of Paul K's fixes for ldconfig from NetBSD-current.
This solves the problem of being unable to use shared libraries with dots
in their names before the ".so.<version>" code.

This should be brought into -stable.

There are more changes from Paul that look like they should be included,
but they change the format of the hints file, so I'm not going to bring them
in now (but we should in the future).

Obtained from: pk@netbsd.org


14256 25-Feb-1996 wosch

print error messages to stderr
don't fail if search arguments contain spaces
allow programs from $PATH as PAGER
faster


14250 25-Feb-1996 bde

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.


14084 13-Feb-1996 joerg

Add a small `gethostname' package. It uses __sysctl(2), and thus
avoids the kludgy backquotes that are required by now (`hostname`).

Usage:

require "gethostname.pl";
$thishost = &gethostname'gethostname;


14070 12-Feb-1996 mpp

Added a ".Fx" macro to the mdoc package. Usage:

.Fx version.rel { , . ; : ( ) [ ]

Example:

The
.Nm xyzzy
command first appeared in
.Fx 2.2 .

Produces:

The xyzzy command first appeared in FreeBSD 2.2.

Suggested by wollman.


14061 12-Feb-1996 wpaul

Toss the old yppasswdd into the attic.


14060 12-Feb-1996 wpaul

Remove yppasswdd. (It's going away in a minute.)


14052 12-Feb-1996 nate

Merged in FreeBSD changes.


14050 12-Feb-1996 nate

This commit was generated by cvs2svn to compensate for changes in r14049,
which included commits to RCS files with non-trunk default branches.


14045 12-Feb-1996 mpp

Another round of man page cleanups.

Down to only about 100 items left to cleanup! :-)


14038 11-Feb-1996 mpp

Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.


14032 11-Feb-1996 phk

gnumalloc is gone.


14031 11-Feb-1996 phk

Remove libgnumalloc.


14006 09-Feb-1996 jmz

Spelling fixes.
This is the man page which has been obtained from NetBSD, not the program.


14003 09-Feb-1996 mpp

Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.


13987 09-Feb-1996 mpp

Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.


13980 08-Feb-1996 pst

Whoops, do not reference myself.


13979 08-Feb-1996 pst

Close docs/1002 - remove bogus cross references


13975 08-Feb-1996 mpp

Added entries for some info files that are being installed, but
not referenced in the main info menu:

cvs, cvsclient (cvs client/server stuff), diff/patch, gmp (GNU MP math
library).


13969 08-Feb-1996 jkh

Minor tweak to this test.


13964 08-Feb-1996 pst

Fix bin/pr506 - uname from current system


13960 07-Feb-1996 jdp

Update the manual page to reflect the fact that an "Index" line
now takes precedence over a context diff header for determining
the name of the file to patch.


13950 06-Feb-1996 wosch

making <page>.1 from <page>.man


13847 02-Feb-1996 wosch

recursive grep, enabled with -DHAVE_FTS=1
enable mmap (-DHAVE_MMAP=1)


13835 02-Feb-1996 mpp

Correct some manual page cross reference errors. E.g. su is a section
one man page, not section eight. This is the first round of such changes
and only fixes man pages in manual section one.


13828 01-Feb-1996 mpp

Fix the ".Os" macro to not display "BSD Experimental" if no arguments
are specified. Just "BSD" is displayed instead.


13811 31-Jan-1996 mpp

Remove groff/tmac/mm.diff - it is just a small file containing a context
diff that was probably mistakenly committed when the package was brought in.


13810 31-Jan-1996 mpp

Updated the ".St -ansiC" macro to report "ISO 9899: 1990 (``ISO C'')"
You can also specify -iso9899, or -isoC. Use -ansiC-89 if you still need
the X3.159-1989 string reported.

Suggested by Garrett Wollman.


13801 31-Jan-1996 mpp

Teach the .Os macro about FreeBSD and our releases. E.g.

.Os FreeBSD 2.1

will now display "FreeBSD 2.1" at the bottom of the man page,
instead of just "FreeBSD".

Added a bunch of missing standards to the .St macro.

4.4BSD is no longer "BSD Experimental".

Obtained from: Partially obtained from NetBSD & 4.4BSD-lite2


13604 24-Jan-1996 wosch

man.1 depend on man.man


13603 24-Jan-1996 wosch

manpath.1 depend on manpath.man


13595 23-Jan-1996 joerg

`-w' was actually a flag, not an option...


13593 23-Jan-1996 joerg

Add a hint that the -w flag to catman(1) is actually the command
wakewhatis(1) for us.

Closes PR # docs/966

Submitted by: obrien@cs.ucdavis.edu (David E. O'Brien)


13588 23-Jan-1996 bde

Search section 9.


13571 23-Jan-1996 wosch

Add missing manpage zgrep.1 and links zegrep.1, zfgrep.1
Add missing links zegrep and zfgrep


13559 22-Jan-1996 mpp

Change the reference to less(1) (which may not be installed) to more(1).
Closed PR# 847.


13512 20-Jan-1996 mpp

Rcsdiff incorrectly only allows one -L option to be specified.

Submitted by: Niklas Hallqvist <niklas@filippa.appli.se> via NetBSD-bugs


13458 16-Jan-1996 graichen

Reviewed by: jmz (Jean-Marc Zucconi)
added a simple man-page for our f77 (f2c/gcc driver)


13406 13-Jan-1996 jdp

This release is a moderate restructuring of the dynamic linker.
It addresses a number of problems that were present in earlier
versions.

The calls to the "init" and "fini" functions of shared libraries
have been reordered, so that they are called in a strictly nested
fashion, as is required for C++ constructors and destructors. In
addition, the "init" functions are called in better order relative
to each other. That makes the system more tolerant of C++ programs
which depend on a library's being initialized before its clients.

The dynamic linker is now more tolerant of shared libraries in
which dependencies on other shared libraries are incompletely
recorded.

Cleanup in the event of errors has been improved throughout the
dynamic linker. A number of memory leaks were eliminated.

The warning message for a shared library whose minor version number
is too old has been clarified.

The code dealing with the "ld.so.hints" file has been cleaned up.
A bug that caused the hints file to be unmapped incompletely has
been fixed. A different bug that could potentially cause the hints
file to be mapped on top of a loaded object has been fixed.

The code that searches for shared libraries has been cleaned up.
The searching is now more compatible with that done by SunOS and
SVR4. Also, some unnecessary and useless searches of both the
hints file and library directories have been eliminated.

Reviewed by: nate@freebsd.org


13405 13-Jan-1996 jdp

Split up the code so that a single directory can be searched, to
support some changes in the dynamic linker. (This code is shared
by the dynamic linker.)

Reviewed by: nate@freebsd.org


13393 12-Jan-1996 wpaul

Toss the old yppush into the attic.


13392 12-Jan-1996 wpaul

Remove yppush; it's about to be replaced.


13390 11-Jan-1996 phk

Another '-' needed for make release.


13388 11-Jan-1996 phk

Make the new realinstall target a little less draconian so that make release
doesn't fall over.


13384 11-Jan-1996 peter

Whoops. cvsinit was creating a modules file in CVSROOT with an
explicit (and wrong) /usr/local/bin/mkmodules path. We install in /usr/bin.

Noticed by: Faried Nawaz <fn@pain.csrv.uidaho.edu>


13382 11-Jan-1996 jdp

Install ld.so in a way that is safe even on a running system.


13373 10-Jan-1996 jkh

Fix small bug with negative item_no.


13371 10-Jan-1996 mpp

Correct the path used to invoke "pr" if the "-l" option to diff is
specified. Also invoke "pr" with "-F" instead of the invalid "-f"
option.

Obtained from: NetBSD-bugs mailing list (PR# 1896)


13232 05-Jan-1996 jkh

Refresh before calling selection hook.


13209 04-Jan-1996 jkh

Work around optimizer strength reduction bug.
Submitted by: Richard Henderson <richard@atheist.tamu.edu>
Obtained from: bug-gcc@prep.ai.mit.edu


13163 02-Jan-1996 joerg

Use cvs -Q release, instead of cvs release -Q, for removing the
modules module.


13136 01-Jan-1996 jkh

Create individual tests for each dialog feature.


13135 01-Jan-1996 jkh

Next round of changes - make dialog boxes drawable at arbitrary X,Y locations
and add selection traversal callbacks so context-sensitive behavior can
even be implemented for individual menu items. These work around the two
largest issues holding me back with some of my sysinstall changes.


13123 30-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.


13122 30-Dec-1995 peter

recording cvs-1.6 file death


13088 29-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r13087,
which included commits to RCS files with non-trunk default branches.


13018 26-Dec-1995 bde

Enabled my FUNCTION_PROFILER_EPILOGUE code and added option
-mprofiler-epilogue to support it and documented the option.

cc.1:
Listed all the machine-dependent options, even the temporary
debugging ones.

invoke.texi:
Fixed the sense of -mno-ieee-fp.
Sorted the machine-dependent options.


13010 25-Dec-1995 peter

Bah humbug!

Two uninitialised variables were causing a phkmalloc warning (another notch
in phkmalloc's belt) and caused the full rcstemplate to not be constructed
for commits on freefall.


13006 25-Dec-1995 wpaul

Toss ypxfr into the attic. The new one should be appearing shortly.


13005 25-Dec-1995 wpaul

Turn of ypxfr. It's about to be nuked.


12999 24-Dec-1995 nate

Fix the convert to 'death-support' script to work with un-modified
RCS sources.


12992 23-Dec-1995 markm

Remove games from the SUBDIR list. Gnu Chess is in ports now.
OK'ed by: jkh, phk, asami (and others)


12987 23-Dec-1995 jkh

Add another test to round out the radiolist dialog suite.
Add more comments and attempt to make everything just that much
more understandable.


12985 23-Dec-1995 jkh

Add a reference to dialog(3) now that the man pages exist.


12984 23-Dec-1995 jkh

o Add some test code.


12983 23-Dec-1995 jkh

Add changes to:
o Support a new, fully backwards-compatible API for controling
individual items in dialog menus.
o Write a man page.
o Add some test code.


12935 19-Dec-1995 jkh

Document the -k and -w flags.
Submitted by: Gary Jennejohn <gj>


12920 18-Dec-1995 peter

A one line hack to prevent 'cvs checkout -c' from triggering a nasty bug
in GNU getopt(). ('cvs checkout -c' cats the modules file to stdout)

Noticed by: Stefan Esser


12916 18-Dec-1995 peter

Re-connect cvs to gnu/usr.bin/Makefile..

(Note that you need to have either done a 'make world' or explicitly
run a 'make distrib-dirs' (in src/etc) to get some needed directories in
/usr/share/examples/cvs to be built.)


12890 16-Dec-1995 wpaul

Turn off ypserv. It's about to be replaced by a new non-GPL version.


12774 11-Dec-1995 peter

Fix yp_mkdb to do what the code suggests it's trying to do..

The code, as written, appears to load the new database data into a new
hash file and renames the two.

Due to a run of bugs and lack of error checking, it's going a whole
mess of unlink() and rename() calls that are failing. It only
worked in the first place because the data was being inserted into a
"live" hash file. (I wonder how much stale data has assumulated?)

Submitted by: Laurence Lopez <lopez@mv.mv.com>


12766 11-Dec-1995 peter

Whitespace cleanup, add forgotten file to CLEANFILES..


12763 11-Dec-1995 peter

Make CVS use /usr/lib/libmd.a rather than supplying Yet Another Copy(TM)
of md5.[ch]. Note that minor mods were made to md5.h to support this,
so a reinstall of lib/libmd is needed before building this cvs.


12761 11-Dec-1995 peter

Tweak the install targets so that the installs are done in the right place
relative to the SUBDIR recursion.. Otherwise, the results look really odd.
(basically changed a couple of afterinstall's to beforeinstall's)


12760 11-Dec-1995 peter

Argh! Botch alert! I dont *believe* I did this....
(I think I'll blame it on Tristan! :-)


12759 11-Dec-1995 peter

Fix a couple of build warts that I broke...


12758 11-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r12757,
which included commits to RCS files with non-trunk default branches.


12756 11-Dec-1995 peter

Attach easy-import.pl (repostory copied from easy-import.perl) and
use the xPERL_PATHx substitution like the rest of the .pl stuff.


12755 11-Dec-1995 peter

Clean out some files which are no longer part of CVS...


12754 10-Dec-1995 peter

First round of the post-import cleanups...


12753 10-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r12752,
which included commits to RCS files with non-trunk default branches.


12752 10-Dec-1995 peter

Import CVS-1.6.3-951211.. Basically, this is the cvs-1.6.2 release
plus a couple of minor changes..

Some highlights of the new stuff that was not in the old version:
- remote access support.. full checkout/commit/log/etc..
- much improved dead file support..
- speed improvements
- better $CVSROOT handling
- $Name$ support
- support for a "cvsadmin" group to cut down rampant use of "cvs admin -o"
- safer setuid/setgid support
- many bugs fixed.. :-)
- probably some new ones.. :-(
- more that I cannot remember offhand..


12751 10-Dec-1995 peter

This commit was generated by cvs2svn to compensate for changes in r12750,
which included commits to RCS files with non-trunk default branches.


12747 10-Dec-1995 peter

Disconnect 'cvs' from SUBDIRS in preperation for import of new version..


12697 09-Dec-1995 wpaul

Close PR #853. The services.byname case needs to greate keys in the form
'service/transport' (i.e. telnet/tcp) instead of just 'service.'


12593 03-Dec-1995 peter

Restore white spaces to original cvs-1.4Alpha2 state so that we can
deal with the cvs-1.6 (and beyond) imports more cleanly and safely.


12586 03-Dec-1995 ache

Add fixes from bash beta
Back out trailing spaces changes


12553 01-Dec-1995 jkh

gets() -> fgets()


12552 01-Dec-1995 jkh

gets() -> fgets()


12506 28-Nov-1995 jkh

Comment out /usr/X386/man entry from MANDATORY_MANPATH - it's obsolete.
Submitted by: mi@ALDAN.star89.galstar.com


12486 26-Nov-1995 bde

Fixed beforeinstall rule. .CURDIR was spelled .SRCDIR.

Changed beforeinstall rule to use `install -C' instead of `cmp -s'
and `install -c'. `install -C' has exactly the right semantics
for installing headers and should be used elsewhere.


12482 25-Nov-1995 peter

Part two of a repository operation to sort out the libmp/libgmp builds.
After this commit, you should be able to build libmp and libgmp independently
and without being forced to do a make depend first..


12267 13-Nov-1995 markm

BBild libgmp from the sources already in ../libmp.


12266 13-Nov-1995 markm

Add libgmp.


12264 13-Nov-1995 markm

Make the tests work. libmp and libgmp must be installed for this
to work.


12263 13-Nov-1995 markm

Build the TeXinfo manual


12262 13-Nov-1995 markm

1) Add the doc/subdirectory - this will get gmp.texi installed
2) Clean up the Makefile - libgmp is coming!


12238 12-Nov-1995 markm

Add libmp


12237 12-Nov-1995 markm

BMake the multiprecision library, and fix as many of the -Wall warnings
as is now feasable.


12235 12-Nov-1995 markm

This commit was generated by cvs2svn to compensate for changes in r12234,
which included commits to RCS files with non-trunk default branches.


12012 02-Nov-1995 nate

Changed the terminology for what used to be called the "memorizing"
vector. Now it is called the "symbol caching" vector. This was made
possible and unconfusing by other changes that allowed me to localize
everything having to do with the caching vector in the function
reloc_map().

Switched to alloca() for allocating the caching vector, and eliminated
the special mmap-based allocation routines. Although this was motivated
by performance reasons, it led to significant simplification of the
code, and made it possible to confine the symbol caching code to the
single function reloc_map().

Got rid of the unnecessary and inefficient division loop at the
beginning of rtld().

Reduced the number of calls to getenv("LD_LIBRARY_PATH") to just 1, on
suggestion from <davidg@root.com>.

Added breaks out of the relocation loops when the relocation address is
found to be 0. A relocation address of 0 is caused by an unused
relocation entry. Unused relocation entries are caused by linking a
shared object with the "-Bsymbolic" switch. The runtime linker itself
is linked that way, and the last 40% of its relocation entries are
unused. Thus, breaking out of the loop on the first such entry is a
performance win when ld.so relocates itself. As a side benefit, it
permits removing a test from md_relocate_simple() in
../i386/md-static-funcs.c.

Unused relocation entries in other shared objects (linked with
"-Bsymbolic") caused even bigger problems in previous versions of the
runtime linker. The runtime linker interpreted the unused entries as if
they were valid. That caused it to perform repeated relocations of the
first byte of the shared object. In order to do that, it had to remap
the text segment writable. Breaking out of the loop on the first unused
relocation entry solves that.

Submitted by: John Polstra <jdp@polstra.com>


11951 31-Oct-1995 ache

Add setlocale LC_CTYPE


11929 29-Oct-1995 peter

Remove the $ Log: ... $ lines from the comments in the files that had
them. Good greif! This was causing an unimaginable amount of brain-damage!
The mere fact that I griped about $ Log $ in a previous commit (misspelled
deliberately here) meant that the blasted thing was being expanded from the
middle of the log entry as well as the beginning, and using " * All these"
as the comment leader.. AARGH!!!! We *really* need to prevent these from
being expanded! (or remove the magic identifier from the source).


11927 29-Oct-1995 peter

Recover the -K option to co, for handling selective keyword expansion.


11926 29-Oct-1995 peter

Restore phk's changes from 1.3 - 1.5.. Adds a -v switch to rlog to get it
to print the current version of the RCS files.


11925 29-Oct-1995 peter

Restore nate's change from rev 1.2; improve readability of the rlog output
(adds a short row of dashes in a place that CVS and RCS dont mind)


11909 29-Oct-1995 peter

Build and install diff.info..

As Bruce said, this is a little bogus, it'd be nice if bsd.prog.mk knew
about .texi in the same way as it does man pages..

Submitted by: bde


11906 29-Oct-1995 peter

This commit was generated by cvs2svn to compensate for changes in r11905,
which included commits to RCS files with non-trunk default branches.


11904 29-Oct-1995 peter

AARGH!!!!

Fix the hard-coded pathname to /usr/local/bin/co and /usr/local/bin/merge
that I missed...


11894 28-Oct-1995 peter

First part of import conflict merge from rcs-5.7 import.

All those $Log$ entries, combined with the whitespace changes are a real
pain.

I'm committing this now, before it's completely finished to get it compiling
and working again ASAP. Some of the FreeBSD specific features are not working
in this commit yet (mainly rlog stuff and $FreeBSD$ support)


11892 28-Oct-1995 peter

This commit was generated by cvs2svn to compensate for changes in r11891,
which included commits to RCS files with non-trunk default branches.


11889 28-Oct-1995 ache

Add setlocale LC_CTYPE


11888 28-Oct-1995 ache

Add setlocale LC_CTYPE
Fix ctype functions for 8bit charsets


11887 28-Oct-1995 ache

Add setlocale LC_CTYPE
Fix icase searches for 8bit charsets


11886 28-Oct-1995 peter

Merge in/out comflicts caused by Diffutils-2.7 import...

In future, it should be as easy as "update -j ....", but this time I had to
go over it by hand. Not nice..


11885 28-Oct-1995 peter

This commit was generated by cvs2svn to compensate for changes in r11884,
which included commits to RCS files with non-trunk default branches.


11871 28-Oct-1995 ache

Add setlocale LC_CTYPE


11862 28-Oct-1995 ache

Simplify FILES section in the same manner like groff manpage
does, add more koi8-r references


11861 28-Oct-1995 ache

Add reference to koi8-r device, fix formatting a little


11859 28-Oct-1995 ache

Add reference to koi8-r device


11818 26-Oct-1995 wpaul

Add preliminary support for netgroup.byuser and netgroup.byhosts maps.

(I have to make another pass through here soon; awk doesn't handle
lines broken up with '\', which can sometimes appear in netgroup maps.)


11812 26-Oct-1995 ache

Add setlocale LC_ALL


11810 26-Oct-1995 ache

Add setlocale LC_ALL


11781 25-Oct-1995 nate

Run-time linker speedups - Round One

Implemented symbol memorizing to reduce the number of calls to lookup(),
making relocation go faster. While relocating a given shared object,
the dynamic linker maintains a memorizing vector that is directly
indexed by the symbol number in the relocation entry. The first time a
given symbol is looked up, the memorizing vector is filled in with a
pointer to the symbol table entry, and a pointer to the so_map of the
shared object in which the symbol was defined. On subsequent uses of
the same symbol, that information is retrieved directly from the
memorizing vector, without calling lookup() again.

A symbol that is referenced in a relocation entry is typically
referenced in many relocation entries, so this memorizing reduces the
number of calls to lookup() dramatically. The overall improvement in
the speed of dynamic linking is also dramatic -- as much as a factor of
three for programs that use many shared libaries.

Submitted by: jdp@polstra.com "John Polstra"


11779 25-Oct-1995 torstenb

fix bad dependencies (LIBMATH -> LIBM)


11777 25-Oct-1995 torstenb

Fix a typo ("-It Fl" to ".It Fl")
document the "-P" switch

Obtained from: the NetBSD bugs mailinglist


11766 24-Oct-1995 ache

Remove LD_NOSTD_PATH implementation, it isn't works and
can cause some problems.
Suggested-by: davidg


11727 23-Oct-1995 wpaul

Add support for publickey.byname map (turned off by default since
we haven't imported the Secure RPC stuff yet).


11725 23-Oct-1995 wpaul

Eek! When we encounter a '+' or '-', the resulting action should be
'continue' rather than 'break'.


11675 22-Oct-1995 bde

Remove includes of the wrong ../Makefile.inc (one was commented out, the
other was in the wrong order).


11654 22-Oct-1995 joerg

Merge version 1.04 into HEAD.


11647 22-Oct-1995 joerg

This commit was generated by cvs2svn to compensate for changes in r11646,
which included commits to RCS files with non-trunk default branches.


11619 21-Oct-1995 bde

Remove private maninstall target. It will conflict with the one in
bsd.man.mk when I change the latter to use `::' instead of `:'
dependencies. (bsd.man.mk is included because NOMAN isn't defined.
The maninstall target is supposed to be private to bsd.man.mk so
bsd.man.mk doesn't bother testing if it is already defined. The
test for redefinition in Makefile.dev was too early to do anything.)

Change install target to a beforeinstall target (perhaps there should
be an `extrainstall' target so that Makefiles don't have to abuse
one of beforeinstall, install, realinstall or afterinstall). Don't
bother testing for the install target already being defined. Rewrite
the shell loop as a make loop (this reduces the time for installing
groff from 78s to 65s here).


11617 21-Oct-1995 ache

if uid != euid or gid != egid unsetenv("LD_NOSTD_PATH") too


11616 21-Oct-1995 bde

Rewrite and merge some bogus makefiles to create Makefile.shprog. Just
include this in the old makefiles.

I intended to fix only the private maninstall rule but found a lot of
other bogons and bugs:
- strong resistance to installing the program anywhere other than
${DESTDIR}/usr/bin (first, ../../Makefile.inc was not included.
../Makefile/inc was redundantly included instead. Second, /usr/bin
was hard coded).
- the owner, group and permissions were hard coded.
- the man page was installed twice.
- MANDEPEND wasn't necessary.
- calculations to determine the obj directory weren't necessary.
- there were unnecessary private rules for depend, rcsfreeze and tags.
We don't support the rcsfreeze target.
- there was an extra, bogus, rule for `all'.

The final version uses suffix rules to eliminate the remaining verboseness
involving directories (${.CURDIR}) and to potentially allow multiple
shell programs in one directory.


11557 18-Oct-1995 dg

When building -static, link with special scrt0.o instead of crt0.o. This
reduces the text size by about 1.5Kbytes.


11433 11-Oct-1995 wpaul

A one-liner:

We already check for (and reject entries with) '+' or '-' as the first
character of the key side of the key/data pair; we should check the data
side too. (Letting spurious +/- entries into the NIS maps is bad karma.)


11412 10-Oct-1995 gclarkii

Change UNIX to FreeBSD.
I got tired of see ``UNIX System Managers Manual''

NOTE: There still a couple of UNIXs left in here. There deal with the
documents. We may want to change there also, even though VERY little of there
even pertain to FreeBSD.


11198 05-Oct-1995 nate

This is a FreeBSD manpage, not a NetBSD manpage. :)


11135 02-Oct-1995 wollman

Make cc1plus smaller and faster as was done for cc1 by linking static.


11117 01-Oct-1995 dg

Build cc1 nonshared. This actually results in it consuming 40K *less* disk
space and improves compile times by a few percent.


11056 28-Sep-1995 bde

Fix checks for open() failing. open() may successfully return 0.

ld.c:
Fix a an error message that said that open() failed after fopen() failed.


11055 28-Sep-1995 bde

Intitialize $(tmac_s_ and $(tmac_m). Use the initialized variable $(device)
instead of the uninitialized one $(DEVICE).

I hoped these changes would fix some of the large runtime macro processing
bugs, but they seem to only fix some small build-time macro substitution
bugs. E.g., `man ms' now tells you to invoke groff with the flags `-ms'
instead of the bogus flags `-m'; `man groff now tells you that the default
device is `ps' instead of the bogus device `'.


11041 27-Sep-1995 nate

Make the error message more readable when 'ld.so' cannot locate a needed
shared library. Formerly, the message looked like this:

ld.so: run: libjdp1.so.1.0: Undefined error: 0

The new message looks like this:

ld.so: run: Can't find shared library "libjdp1.so.1.0"

(Where "run" is the name of the program being executed.)

Submitted by: jdp@polstra.com (John Polstra)


11040 27-Sep-1995 nate

Fixup the "ld.so failed" message for the case when ld.so finds undefined
symbols.

An easy example to see this is to develop an X program which links
against Xt, but doesn't add -lX11 to the link line. It will link fine,
but cause run-time errors by ld.so because of missing symbols used by Xt
defined in X11. This patch makes the errors more readable.

Submitted by: jdp@polstra.com (John Polstra)


10986 24-Sep-1995 wpaul

phkmalloc strikes!

#ifdef out a number of calls to free() left over from the original
GNU ypserv implementation. As near as I can tell, the Berkeley DB
package does its own garbage collection, hence the caller doesn't
have to worry about free()ing the memory returned in the DBT
structures during lookups (I'm still not 1005 sure about this:
the DB code is very hard to follow. I must use dynamically
allocated memory since you can retreive arbitrarily large records
from a database, but I'm not sure where it ends up letting go
of it). This was not true with GDBM; you had
to do your own garbage collection.

The general rule is that if you allocate memory inside an RPC
service routine, you have to free() it the next time the routine is
called since the underlying XDR routines won't do it for you.
But if the DB package does this itself, then we don't need to do
it in the main program.

Note that with the original malloc(), there were never any errors
flagged. phkmalloc complained quite loudly.


10953 22-Sep-1995 phk

Stop using gnumalloc.


10754 15-Sep-1995 ache

Make it sgid dialer to read lockfiles


10744 14-Sep-1995 ache

Make cu/uucico sgid dialer to help to work with others lockfiles,
they can't open root.dialer lockfiles in old variant.


10723 14-Sep-1995 gibbs

Give "Index" specified filenames preference over other filenames specified
in the diff. This makes it so that diffs containing files in different
subdirectories that have the same name not patch the same file. For example
a diff with patches to Makefile, des/Makefile, usr.bin/Makefile would attempt
to patch Makefile three times.


10703 12-Sep-1995 bde

Output a zero rdev except for bdevs, cdevs, fifos and sockets. This
stops regular files with unrepresentable rdevs from being rejected
and makes the output independent of unpreservable metadata.


10662 10-Sep-1995 joerg

Fix a few minor bugs in makewhatis.

Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)


10661 10-Sep-1995 joerg

Re-initialize the terminal after ^Z / fg.

Submitted by: thomas@ghpc8.ihf.rwth-aachen.de (Thomas Gellekum)


10535 03-Sep-1995 peter

Put a bandaid on the NULL pointer dereference caused by doing an
"update -jHEAD" when a file has been added on the specified tag.

It doesn't actually make cvs 'handle' it, it just stops it from dying
and leaving stray locks and other wreckage.

This was suggested by the CVS maintainers, and is in cvs-1.5.1-950901.


10413 29-Aug-1995 jkh

Add MLINKS for sendbug manpage.
Suggested by: paul


10403 28-Aug-1995 jkh

Link send-pr to sendbug. sendbug is back! hurrah!


10335 26-Aug-1995 joerg

Import Paul Kranenburg's man page for ld.so (aka. rtld).

Obtained from: NetBSD


10183 23-Aug-1995 pst

Clean up compilation warnings.


10182 23-Aug-1995 pst

Fix compilation warnings.


10152 21-Aug-1995 ache

Upgrade 1.06 -> 1.06.1


10111 19-Aug-1995 ache

Fix LEGAL_GRADE determination, isalnum can return true when national
environment is active


10110 19-Aug-1995 ache

Commit delta: current -> 1.06 + FreeBSD configuration


10076 16-Aug-1995 joerg

Reset the umask before creating the output file; otherwise running
ldconfig as root with a restrictive umask yielded ld.so.hints
unreadable by the world (and thus useless).


10074 15-Aug-1995 peter

This changes two things when importing an unreadable file:
1: It stops invalid files being created in the cvs tree
2: It stops the import from aborting without mailing a commit message..

The first is simple, it opens the file for reading before touching the
repository, and the second catches the pieces when it hits an unreadable
file rather than just aborting mid-way through, leaving the repository in
a bit mess.

Reviewed by: rgrimes


10029 11-Aug-1995 wpaul

Fix bug pointed out by user on c.u.b.f.m: commenting out NOPUSH=true
for master/slave configuration doesn't work because DOMAIN isn't
correctly defined.


10000 08-Aug-1995 ache

Replace ctime by strftime %c to use national representation


9999 08-Aug-1995 ache

Replace ctime by strftime %c to use national representation


9971 06-Aug-1995 bde

Install source files with the -c flag, not with the optional flag ${COPY}.


9970 06-Aug-1995 bde

Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.


9910 04-Aug-1995 joerg

Make only a `-r' flag (as opposed to `-r*') special within the
LINK_SPEC. This solves a problem with the f77 frontend where
aproviding the -r8 option (use REAL*8) caused `cc' to ``forget'' to
pass the entry point to the linker.

Closes PR #gnu/644: f77 -r8

Reviewed by: watanabe@komadori.earth.s.kobe-u.ac.jp (Takeshi WATANABE)


9766 29-Jul-1995 pst

Don't build xditview unless the actual include files for X11 are present.
Merely checking for the directory is -not- sufficient, since the XFree86
non-programmers distribution has that directory to hold bitmaps.


9701 25-Jul-1995 bde

Change `install' to `${INSTALL}' so that default install flags can be
specified in the top level Makefiles.


9698 25-Jul-1995 bde

Change `install' to `${INSTALL}' as usual.

Use -c, not ${COPY}, to install `dir'. ${COPY} should never be used to
install source files. The source might be lost if the default is overridden.


9697 24-Jul-1995 bde

Change `install' to `${INSTALL}' as usual.

Don't remove targets before installing. Removing targets will defeat
`install -C'.


9666 23-Jul-1995 joerg

Make the tag checks more strict according to Rod's wishes.

Reviewed by:
Submitted by:
Obtained from:


9581 19-Jul-1995 wpaul

Updates, fixes and cleanups -- oh my.

In ypserv:

yp_svc.c:
- small signal handler tweak (hopefully the last): just use sigemptyset()
to clear sa_mask.

Makefile.yp:
- Let the user specify the location of master.passwd when updating
maps (e.g. make MASTER_PASSWD=/some/path/to/master.passwd). Editing
the file to change the location of master.passwd still works. This
is mostly to let yppassswdd specify the name of the master.passwd
file itself.

In yppasswdd:

yppasswdd.c:
- Roll in some minor changes (mostly casts) from Olaf Kirch's latest
yppasswd package release (version 0.7).
- Use daemon() instead of doing all the deamonizing gruntwork ourselves.
- Call pw_init() after daemonizing ourselves. pw_init() sets up some
resource limits and blocks some signals for us. We used to do this before
every password change, but there's really no point in calling it more
than once during the life of the program.
- Change install_reaper() so that we can use it to de-install the SIGCHLD
handler if we need to (and we do in pw_mkdb() -- this is what I get for
splicing code from two different programs together).
- Use sigemptyset(&act.sa_mask) rather than act.sa_mask = 0: the latter is
decidedly non-portable. (In IRIX, HP-UX and Solaris, sigset_t is an
array of longs, not an int.)

update.c:
- Roll in change from new version (check that we're not modifying an NIS
entry in validate_args()).
- Get rid of call to pw_init() (moved to yppasswdd.c).
- Check return values from pw_util routines and return error status to
yppasswd clients if there's a problem.
- Straighten out password file copying mechanism a little. Keep a grip
on the original password file rather than summarily overwriting it so
that we can restore everything if we fail to fork() a process to update
the NIS maps.
- Pass the name of the password template file (specified with -m or
/etc/master.passwd by default) to the yppwupdate script, which in
turn should now pass it to /var/yp/Makefile.

pw_util.c:
- Nuke the pw_edit() and pw_prompt() functions -- we don't need them.
- Change all warn()s, warnx()s and err()s to syslog()s.
- Make sure we return error status to caller rather than bailing out
in pw_lock() and pw_tmp().
- Don't block SIGTERM in pw_init() (by ignoring SIGTERM, we prevent
yppasswdd from being shut down cleanly).
- Don't let pw_error() exit. (This stuff was stolen from chpass and vipw
which are interactive programs; it's okay to let pw_error() bail out
for these programs, but not in a daemon like yppasswdd).
- Fix signal handling in pw_mkdb (we need to temporarily de-install the
SIGCHLD handler so that we can wait on the pwd_mkdb child ourselves).

pw_copy.c:
- Change all warn()s, warnx()s and err()s to syslog()s.
- Add a bunch of returns() and make pw_copy() return and int ( 0 on success,
-1 on failure) so that update.c can flag errors properly.
- Return -1 after calling pw_error() to signal failures rather than
relying on pw_error() to bail out.
- Abort copying if we discover that we've been asked to change an entry
for a user that exists in the NIS passwd maps but not in the master.passwd
template file. This can happen if the passwd maps and the template file
fall out of sync with each other (or if somebody tries to spoof
us). The old behavior was to create add the entry to the password file,
which yppasswdd should not do under any circumstances.

Makefile:
- update VERSION to 0.7

yppasswdd.8:
- fix typo (forgot a carriage return somewhere)
- remove bogus reference to pwunconv(8) which FreeBSD doesn't have.
- bump version from 0.5 to 0.7
- Reflect changes in password file handling.

yppwupdate:
- Log map rebuilds to /var/yp/ypupdate.log.
- Pass the name of the template password file to /var/yp/Makefile as
$MASTER_PASSWD.


9580 19-Jul-1995 ache

Update version info
Reviewed by:
Submitted by:
Obtained from:


9579 19-Jul-1995 ache

Sync with bash 1.4.5 version
Check some null pointers before action, cosmetique fixes
Submitted by:
Obtained from:


9544 16-Jul-1995 joerg

Remove my last week's CFLAGS hack from Makefile.inc, and fix
info/Makefile instead to not clobber the settings inherited from
/etc/make.conf.


9532 15-Jul-1995 wpaul

Some small signal handling tweaks: be sure to keep wait3()ing until all
children are reaped and make sure to block SIGCHLD delivery during handler
execution when installing SIGCHLD handler with sigaction().


9531 15-Jul-1995 wpaul

Add missing 'break' statement in failure case of ypxfr switch clause.


9523 14-Jul-1995 wpaul

server.c: When 'securenets' (actually TCP_WRAPPERS) is enabled, don't
syslog connections unless they were rejected. This helps save wear and
tear on the syslog facility in large networks with many clienst systems.

yp_svc.c: Be a little smarter about using sigaction() -- set the SA_RESTART
flag.

svc_run: Be doubly paranoid about killing off child processes. Do a flag
chack and a pid check before letting child 'threads' self-destruct.


9505 13-Jul-1995 rgrimes

Make ld's error messages consistent with gcc when no input files
are given on the command line.

Submitted by: Thomas Graichen <graichen@omega.physik.fu-berlin.de>


9498 12-Jul-1995 bde

Fix dependencies for regex.texi. It is constructed by merging a C header
file with an info source file.


9497 12-Jul-1995 bde

Fix dependencies for gcc.info and reno.info. `make depend' doesn't handle
info files although texinfo supports @include.


9494 12-Jul-1995 wpaul

ypserv performance improvements:

- There are two cases where the server can potentially block for a long
time while servicing a request: when handling a yp_all() request, which
could take a while to complete if the map being transfered is large
(e.g. 'ypcat passwd' where passwd.byname has 10,000 entries in it),
and while doing DNS lookups when in SunOS compat mode (with the -dns
flag), since some DNS lookups can take a long time to complete. While
ypserv is blocked, other clients making requests to the server will
also block. To fix this, we fork() ypall and DNS lookups into subprocesses
and let the parent ypserv process go on servicing other incoming
requests.

We place a cap on the number of simultaneous processes that ypserv can
fork (set at 20 for now) and go back to 'linear mode' if it hits the
limit (which just means it won't fork() anymore until the number of
simultaneous processes drops under 20 again). The cap does not apply
to fork()s done as a result of ypxfr calls, since we want to do our
best to insure that map transfers from master servers succeed.

To make this work, we need our own special copy of svc_run() so that
we can properly terminate child processes once the RPC dispatch
functions have run.

(I have no idea what SunOS does in this situation. The only other
possibility I can think of is async socket I/O, but that seems
like a headache and a half to implement.)

- Do the politically correct thing and use sigaction() instead of
signal() to install the SIGCHLD handler and to ignore SIGPIPEs.

- Doing a yp_all() is sometimes slow due to the way read_database() is
implemented. This is turn is due to a certain deficiency in the DB
hash method: the R_CURSOR flag doesn't work, which means that when
handed a key and asked to return the key/data pair for the _next_
key in the map, we have to reset the DB pointer to the start of the
database, step through until we find the requested key, step one
space ahead to the _next_ key, and then use that. (The original ypserv
code used GDBM has a function called gdbm_nextkey() that does
this for you.) This can get really slow for large maps. However,
when doing a ypall, it seems that all database access are sequential,
so we can forgo the first step (the 'search the database until we find
the key') since the database should remain open and the cursor
should be positioned at the right place until the yp_all() call
finishes. We can't make this assumption for arbitrary yp_first()s
and yp_next()s however (since we may have requests from several clients
for different maps all arriving at different times) so those we have
to handle the old way.

(This would be much easier if R_CURSOR really worked. Maybe I should
be using something other than the hash method.)


9451 08-Jul-1995 ats

Fix two typos in a comment.


9450 08-Jul-1995 ats

Makefile:
Fix the use of /usr/X386 to ${X11BASE}. Fix the pathname /usr/bin/chess
to /usr/games/chess.
XCircle.c:
Fix the comment after an ifdef to make it a real comment to silent gcc.
std.h:
Comment out a private definition of sys_errlist.


9445 08-Jul-1995 joerg

I added a few lines of code to the latest info browser in the
texinfo-3.6 distribution to enable the use of the cursor keys.
Since there is an open problem report (gnu/289) for this it might be
of interest for (some of) you.

I (Joerg) have also added a minor hack that makes info recognizing a
window size change while it has been suspended.

Submitted by: thomas@ghpc8.ihf.rwth-aachen.de (Thomas Gellekum)


9409 05-Jul-1995 dfr

Define CPLUSPLUSLIB so that bsd.lib.mk will add c++rt0.o to call
constructors and destructors.
Add -lgcc_pic to LDADD for the shared library since C++ code uses stuff from
libgcc and we no longer have a shared libgcc. Should this be done by
CPLUSPLUSLIB?


9400 04-Jul-1995 wpaul

Oh fer cryin' out loud... While playing with the ypserv code on a different
platform, I discovered the following: if you use ypcat (or anything that
does a yp_all() for that matter) to dump out a map and then hit ^C before
it finishes, ypserv gets hit with a SIGPIPE and dies. (The ypall() service
is implemented using TCP.)

Fix: ignore SIGPIPEs.


9394 04-Jul-1995 bde

Add a dependency on the .x source file and avoid copying it.

bootparam_prot.x was changed for nfsv3 but bootparamd and callbootd
kept using the old version which fortunately failed at build time.
Copying hasn't been necessary since path handling was fixed in
rpcgen/rpc_main.c some time ago.


9387 02-Jul-1995 wpaul

Small touchups in open_database():

- Use one sprintf() to put together the path to the map database instead
of strcat()s and strcpy()s.

- Make the 'error opening database' Perror() statement sane.


9335 27-Jun-1995 dfr

Change ld.so to correctly load dependant libraries for dlopen and unload them
on dlclose. Also correctly call constructors and destructors for libraries
linked with /usr/lib/c++rt0.o.
Change interpretation of dlopen manpage to call _init() rather than init()
for dlopened objects.
Change c++rt0.o to avoid using atexit to call destructors, allowing dlclose to
call destructors when an object is unloaded.
Change interface between crt0 and ld.so to allow crt0 to call a function on
exit to call destructors for shared libraries explicitly.

These changes are backwards compatible. Old binaries will work with the new
ld.so and new binaries will work with the old ld.so. A version number has
been introduced in the crt0-ld.so interface to allow for future changes.

Reviewed by: GAWollman, Craig Struble <cstruble@singularity.bevc.blacksburg.va.us>


9323 26-Jun-1995 bde

Remove bogus references to /usr/ucb.


9322 26-Jun-1995 bde

Improve the handling of large minor numbers:

cpio/copyout.c:
Don't output a file if the major, minor or totality of its rdev would be
truncated. Print a message about the skipped files to stderr but don't
report the error in the exit status. cpio's abysmal error handling doesn't
allow continuing after an error, and the rdev checks had to be misplaced
to avoid the problem of returning an error code from routines that return
void.

pax/pax.h:
Use the system macros for major(), minor() and makedev().

pax already checks _all_ output conversions for overflow. This has the
undesirable effect that failure to convert relatively useless fields
such as st_dev for regular files causes files not to be output. pax
doesn't report exactly which fields couldn't be converted.

tar/create.c:
Don't output a file if the major or minor its rdev would be truncated.
Print a message about the skipped files to stderr and report the error
in the exit status.

tar/tar.c:
For not immediately fatal errors, exit with status 1, not the error count
(mod 256).

All:
Minor numbers are limited to 21 bits in pax's ustar format and to 18
bits in archives created by gnu tar (gnu tar wastes 3 bits for padding).
pax's and cpio's ustar format is incompatible with gnu tar's ustar
format for other reasons (see cpio/README).


9295 24-Jun-1995 joerg

Convert the colon after (send-pr) into a period, so the info file can
be actually found.

Suggested by: someone on the bugs (or -hackers) list, whose name i forgot


9290 24-Jun-1995 asami

Add an "-m" flag to merge instead of replace the entries. We can
now safely add a line like

ldconfig -m ${PREFIX}/lib

in ports' Makefiles and packing lists without throwing away some
directories the user may have added.

Submitted by: Mostly by Paul Kranenburg <pk@cs.few.eur.nl>


9260 18-Jun-1995 wpaul

Fixed awk scripts for 'netgroup,' 'ethers.*' and 'bootparams' targets so that
corresponding map databases are created correctly.

This fixes the problem Ken Wilcox noted on the freebsd-bugs list.


9222 14-Jun-1995 joerg

Make `ld' properly honoring the umask setting when chmod'ing the
output file for the `x' bits.

This is a Posix requirement.


9202 11-Jun-1995 rgrimes

Merge RELENG_2_0_5 into HEAD


8858 30-May-1995 rgrimes

Remove trailing whitespace.


8823 28-May-1995 ats

Added a NOMAN= macro as this subdir doesn't have a manpage yet.


8822 28-May-1995 ats

Replaced the whole former Makefile with a more BSD conformant Makefile.


8821 28-May-1995 ats

Reviewed by: with the allowance of Rod :-).
Add a NOMAN= . It doesn't have a manual page yet.

Please don't cry :-). I ask Rod first. the whole isdn subdir is not
used in the moment and is only dead source code in the tree.


8818 28-May-1995 ache

Add link to sperl4.036, needed for suid scripts and pgms
which use sperl$]


8817 28-May-1995 ache

Make link to tperl4.036, needed for suid scripts and other stuff
which use tperl$]


8816 28-May-1995 ache

Fix $] variable value (version number), close PR 449
Submitted by: Bill Fenner <fenner@parc.xerox.com>


8804 28-May-1995 jkh

Don't make TAB and BACK-TAB destroy field contents incorrectly.
Submitted by: gibbs


8700 22-May-1995 adam

eliminate coredump for readline(NULL) case


8661 20-May-1995 jmz

configuration files are in /etc/uucp and spool files are in /var/spool/uucp


8656 20-May-1995 ache

Don't chdir to subdirs before formatting, non-native manpages
assume it for .so directive
Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>


8562 17-May-1995 rgrimes

Make error message for no input files specified consistent across all
three compilers.

Submitted by: Thomas Graichen <graichen@sirius.physik.fu-berlin.de>


8553 16-May-1995 ache

Remove extra argument from mesgbox


8551 16-May-1995 ache

Call mesgbox instead of msgbox for long descriptions


8548 16-May-1995 jkh

Changes to support the new dialog_dselect() features required to fix
pkg_install. dialog_dselect() wasn't very useful before.
Submitted by: Marc van Kempen <wmbfmk@urc.tue.nl>


8535 15-May-1995 ache

Fix draw shadow bug, when shadow reaches end of the screen,
bringed by devmenu or tzsetup f.e.


8516 14-May-1995 rgrimes

This patch teaches info to read gzipped files (emacs info already
works) so one can gzip files in /usr/share/info and save a few
megabytes diskspace.

Submitted by: Kai Vorma <vode@snakemail.hut.fi>


8515 14-May-1995 ache

Install uuconv/uuchk with right permissions


8493 13-May-1995 ache

Update other Makefiles to reflect uuconv/uuchk install place change


8492 13-May-1995 ache

Install uuconv/uuchk to /usr/sbin


8482 12-May-1995 ache

Add missing include


8466 12-May-1995 rgrimes

Submitted by: Charles Henrich <henrich@fubar.cl.msu.edu>

Quite up man when directories in MANPATH do not exist. If you want
it to tell you about problems use man -d.


8385 09-May-1995 rgrimes

Submitted by: gj

Delete suspicious looking chunk of code that was partially commented out.


8380 09-May-1995 rgrimes

Fix nested comments for -Wcomment warnings.


8354 08-May-1995 ache

Bump major number, function deleted


8350 08-May-1995 ache

Bump major number


8344 08-May-1995 ache

Fix nasty shadow bug sneaked in Marc's commit.
Implement ^K and KEY_EOL as clear end of line
Move common code from line_edit to static function
Cosmetique changes in textbox


8309 06-May-1995 joerg

From Wolfram: Fix: typos, old links


Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)


8268 04-May-1995 ache

Bump major number instead of minor: old functions arguments was changed too


8247 03-May-1995 ache

Bump minor number


8237 03-May-1995 wpaul

Small fix for yp_match implementation:

In the case where ypserv is started with the -dns flag, fall through to
the DNS lookup code only if asked to match a map with the word 'host'
in its name. This prevents failed matches on non-host maps from being
incorrectly handed off to DNS.


8191 30-Apr-1995 ache

Handle too long strings correctly in print_autowrap()
Submitted by: Marc van Kempen <wmbdmr@urc.tue.nl>


8163 29-Apr-1995 ache

Fix HAVE_SAVED_IDS and HAVE_BROKEN_SETREUID defines


8113 27-Apr-1995 ache

Remove setr* hacks


8088 26-Apr-1995 jkh

Close this PR:
>Number: 364
>Category: bin
>Synopsis: Interrupting man results in half-baked man page
>Description:

Interrupting man while it is waiting for the page to be formatted
results in a zero length file or a half-baked file.

>How-To-Repeat:

Inetrrupt man while it is formatting a page.

>Fix:

Pay more attention to the return value from the system command.
Submitted by: John Capo <jc@irbs.com>


8072 26-Apr-1995 jkh

Gary J's patches to make gdb -w work properly.
Submitted by: gj


7975 21-Apr-1995 jkh

Hastily back out my previous change to install ui_objects.h; upon further
examination, I'm not entirely sure this was meant to be public. It's not
idempotent or anything. I'll make pkg_manage deal with it another way
until it's been confirmed one way or the other by Marc.


7974 21-Apr-1995 jkh

Also install new ui_objects.h header file. I'm not sure how I feel about
these Makefile constructs - surely there's a better way?


7971 21-Apr-1995 nate

Sync. up bits with Paul K. Cascade support plus some cosmetic changes.

Obtained from: NetBSD


7959 20-Apr-1995 ache

Upgrade.
Submitted by: Marc van Kempen <wmbfmk@urc.tue.nl>


7942 19-Apr-1995 joerg

Fix for the ``gdb -k /nonexistent /dev/mem'' core dump.

Submitted by: gj@freebsd.org (Gary Jennejohn)


7928 18-Apr-1995 nate

Backed out the only FreeBSD specific change to the stock CVS sources now
that it's taken care of in the CVSROOT/cvsignore file which is FreeBSD
specific.

This will make it easier to track changes in the *official* release.


7923 18-Apr-1995 ache

Fix update_line() updates on screen edges
Obtained from: bash sources


7909 17-Apr-1995 rgrimes

Add missing $(DESTDIR) to rm command so that this stops removing files
from my master system.

This makefile is a crock, and will soon be rewritten!


7821 14-Apr-1995 nate

Added back 'examples' to the subdirs which was bogusly removed.


7765 11-Apr-1995 joerg

Fix broken file name globbing. Man is now also able to find pages
like "3DBorder" and "[". (NB, the "3DBorder" problem has actually
been intention, it allowed for weird section names like "3xyzzy". We
don't have them, either.)

(Partially) Submitted by: taob@gate.sinica.edu.tw (Brian Tao)


7756 11-Apr-1995 nate

Re-enabled cvs now that Rod is satisfied that it will work correctly.


7736 10-Apr-1995 jkh

Mods to tar (--fast-read) to cause it to stop looking for exact-matching
file specifications when they've been extracted (enabling you to get a file
fast if it occurs somewhere close to the front).
Submitted by: Marc van Kempen <wmbfmk@urc.tue.nl>


7725 10-Apr-1995 nate

as Thomas Graichen recently wrote in private mail:

> * the gdb-4.13 of current (compiled and used under 2.0R) can not attach to my
> own processes (it works only then i'm root - else i get open failed - for my
> own processes)

how embarassing ! This turns out to be a bug in infptrace.c. Below
is a patch. Could some kind soul apply it ?

Submitted by: "Gary J." <garyj@rks32.pcs.dec.com>


7675 08-Apr-1995 nate

Added Makefile for example files. They are now installed in
/usr/share/examples/cvs for use by the cvsinit script.


7653 07-Apr-1995 nate

Because -lcompat defines the same symbols as -lgnuregex and the weakness
of the linker to enforce linking of modules in command line order it is
not possible to link gdb shared with -lcompat.

*HACK ALERT*
Removed -lcompat from LDADD and bring in the necessary functions out of
libcompat as a source module until the linker can be fixed.


7652 07-Apr-1995 nate

Back out my change to enforce command line linker order due to
underlying bugs which are caused by mixing static/shared libraries with
this change in place.

The shlib code is not capable of supporting this feature in it's present
state and will need significant modifications in order to do so.


7626 05-Apr-1995 wpaul

Added a new feature from Peter Eriksson's latest release of ypserv (0.13):
register ourselves as an NIS version 1 UDP server to pacify older SunOS 4
ypbinds that seem to insist on having one around. All this does is allow
ypserv to respond to DOMAIN_NONACK requests that are periodically
transmitted by ypbind: the server will not actually work as an NIS v1
server in any other way.

Unlike the mainline code, which implements this as a compile-time
option, this feature can be turned on with the newly-added -k flag
at runtime.

Bunped version number to 0.13. (What the hell.)

Updated the man page to reflect this change, also made a couple of small
edits to reflect the recent changes in the /etc/rc* setup.


7600 02-Apr-1995 wpaul

Take yp_svc.c out of CLEANFILES rule.


7598 02-Apr-1995 wpaul

Add back some stuff to yppush.c that I was a little over-zealous in
removing. Also do away with compiling yp_svc.c: yppush doesn't need it.


7591 02-Apr-1995 wpaul

Removed code from yp_xdr.c module that now lives in libc. (Unfortunately,
ypxfr can't easily be reduced down to one file like yppush because it
needs to do certain special things (such as binding to a specific
machine (the NIS master)) which the yp_*() functions in libc don't
allow.


7587 02-Apr-1995 wpaul

Make yppush compile again when obj directory exists. *groan*


7584 02-Apr-1995 bde

Fix compiler warnings: don't declare enum types as static.


7579 02-Apr-1995 wpaul

Spruce up Makefile.yp: add support for netgroups and bootparams maps,
make use of yp_mkdb's -i, -o and -m flags.


7574 02-Apr-1995 wpaul

Reduce yppush. Now that all the required yp_xdr functions are
in libc, we can get rid of the private/special copies of yp_*.c
files and rpcgen them at compile time instead. This leaves us with
just one unique source files: yppush.c


7561 01-Apr-1995 wpaul

Log syslog messages at LOG_NOTICE priority.


7560 01-Apr-1995 wpaul

Remove yppasswd_xdr.c and take out references to if from Makefile: use
-lrpcsvc instead.


7551 01-Apr-1995 joerg

Fix the

Ignore wrong indent value: ``''

bug, as reported by Chris Kukulies.


7538 31-Mar-1995 wpaul

One line fix to silently ignore entries that start with a '+' or '-'.
This prevents yp_mkdb from adding magic NIS entries to NIS maps themselves.


7521 31-Mar-1995 nate

Forgot one FreeBSD specific change needed.

date: 1995/02/04 20:27:23; author: phk; state: Exp; lines: +1 -1
added *.info and *.db to the default "ignore" list in cvs to avoid obviously
common mistakes.


7520 31-Mar-1995 nate

Temporarily disable building CVS to avoid anyone hosing up their CVS
tree until a bit more testing is done.

Submitted by: rgrimes@gndrsh.aac.dev.com "Rod Grimes"


7519 31-Mar-1995 nate

Merged in FreeBSD necessary changes in. Note, all of our source
modifications were *not* merged in (FreeBSD-DEVELOPER and symlink) but
the source is now the stock sources.


7517 31-Mar-1995 nate

This commit was generated by cvs2svn to compensate for changes in r7516,
which included commits to RCS files with non-trunk default branches.


7516 31-Mar-1995 nate

Original sources from CVS-1.4A2 munged to fit our directory structure.


7515 31-Mar-1995 nate

This commit was generated by cvs2svn to compensate for changes in r7514,
which included commits to RCS files with non-trunk default branches.


7508 31-Mar-1995 wpaul

Rework error reporting/logging: although the SunOS documentation says
that ypxfr is supposed to log messages to /var/yp/ypxfr.log if it exists,
using syslog() makes more sense, especially since ypserv does the same
thing already. Try to use stderr by default, and use syslog() if stderr
is not a tty.

Also update the man page to reflect this change.


7507 31-Mar-1995 joerg

Wolfram's latest update.

Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)


7484 30-Mar-1995 wpaul

Ack... clean up the logfile name generation that I botched in the last
commit.


7483 30-Mar-1995 wpaul

Fix up the way _PATH_YP is used to put together the pathname to the
NIS maps (get rid of extraneous slash a la /var/yp//domainname).

Have ypxfr log all output to /var/yp/ypxfr.log if stdin is not a
tty. This should allow logging to be done when ypxfr is called from
inside ypserv in response to a yppush request.

Update man page to reflect the change (and fix a typo).


7410 27-Mar-1995 jmz

'directories...' is an argument, not an option


7396 26-Mar-1995 joerg

Made this script a bit more fool-proof, so people like me can better
use it. :-)

It now explicitly requires the specification of a directory to import
from, either as an argument to the script, or by asking the user about
it. (Previously, it implicitly used `.', like cvs import does.)

Also implemented an option `-n', which does essentially the same like
the overall CVS option `-n': show only what would have been done,
don't do any commitment. Note that since the modules' database is
checked out in place (and not commited back), it will erroneously be
reported as to be imported, too:

cvs import: Importing /home/ncvs/ports/foobar/foo/modules
I ports/foobar/foo/modules/CVS
N ports/foobar/foo/modules/modules

This is an unwanted side-effect, but gives the user the option to see
if the `ed' magic did the right thing when editing modules/modules.

Rod, can you please check the function ``checktag'' in the script if it
will be restritctive enough?


7384 26-Mar-1995 ache

Comment out all perverted curses optimization


7383 26-Mar-1995 ache

Change wrong -ltermcap -ltermlib picked up to -lmytinfo


7361 25-Mar-1995 jkh

Get PERL found in any of its obvious locations.


7357 25-Mar-1995 bde

Don't attempt to fix the mode of mus - mus might be read-only. Just
interpret it. I've preserved the bugs that perl must be installed
to build part of perl and that it must be installed in the wrong place
(no ${DESTDIR}).


7334 24-Mar-1995 jkh

If mus script not executable, fix.


7333 24-Mar-1995 ache

Fix -C arg overriding when -T file used


7330 24-Mar-1995 ache

Get rid of strtok(), it is depricated inside libs


7320 24-Mar-1995 jkh

Adjust include paths.


7314 24-Mar-1995 jkh

Bring back perl/usub as usub/, this time containing an updated curseperl
which is also installed by default (the reason for which should also be
plain shortly).


7249 22-Mar-1995 nate

Added gdb back in since it can no compile with the ld change.


7248 22-Mar-1995 nate

Modify the default behavior of the linker to no longer prefer static
members over shared library members. This modification causes the linker
to use the first definition it sees for a symbol instead of having
priorities based on the library type. This modification should allow
gdb to compile again.

Obtained from:
Email conversation with Paul Kranenbury, but implemented completely by
me. If it doesn't work, it's my fault not his.


7237 22-Mar-1995 jkh

This just exited on most errors, some of which were legitimate and
I don't *want* to cause my application to be exited! Some of the fprintfs()
should probably be calls to some dialog error menu popup anyway.


7203 21-Mar-1995 ache

Saved scroll fixed.


7184 20-Mar-1995 rgrimes

Pretty much a complete rewrite of this Makefile.

Remove private mkdir command for /usr/include/g++, this is now
handled by mtree.

Make the whole file fit in 80 column output, sort the SRCS list and
split into .c and .cc sources.

Use $Id$ instead of $FreeBSD$ since we pulled support for this.

Add DPADD to match LDADD and now include <bsd.prog.mk> to define
the DPADD values (This is a hack until the .mk stuff can be corrected
so that ${LIB*} is visiable in bsd.lib.mk.)

Optimize beforeinstall target by eliminating a subshell.


7172 19-Mar-1995 nate

Removed /usr/local/lib from the standard library search path to be
consistant. Programs shouldn't rely on non-standard paths for bringing
in default libraries.

Suggested by: Andreas Schulz <ats@freebsd.first.gmd.de>


7143 18-Mar-1995 ache

Fix sparse files handling
Submitted by: Alan Bawden <alan@curry.epilogue.com>


7123 18-Mar-1995 ache

Don't use user PATH into environment for sec reasons


7122 18-Mar-1995 ache

1) Call nroff instead of groff, nroff have some internal groff options
2) Use absolute pathname for nroff
3) Use -Tascii instead -Tlatin1, too many strange chars (like
soft hyphens f.e.) appearse in other case.


7121 18-Mar-1995 pst

rename ngroff to groff


7115 17-Mar-1995 nate

Gcc v2.6.3 currently has a problem with templates. Specifically, with
default switches, template functions get EXTERNAL linkage in each file
in which they occur, causing multiple definition errors during
linking. The enclosed patch (from gnu.g++.bug) appears to solve the
problem (I enclose the accompanying message as well).

This patch fixes the multiply defined template functions bug
which was introduced in 2.6.1.

Submitted by: "Justin T. Gibbs" <gibbs@estienne.cs.berkeley.edu>
Obtained from: Jason Merrill at cygnus support on G++ mailing list


7114 17-Mar-1995 ache

Fix savestring & gdb conflict
Moreover, this fix not breaks any pgm which uses readline's savestring


7111 17-Mar-1995 rgrimes

Add dummy lchown function so that cpio understands 4.4 symbolic links.
Reviewed by: phk


7101 17-Mar-1995 ache

Upgrade


7075 15-Mar-1995 joerg

Wolfram's replacement for the oldish ugly catman(1) program. The new
one is much more intelligent, not only that it would accept multiple
man page locations, it also behaves like ``make'' in that it will only
deal with cat pages that are out of date (by default).

Wolfram also wrote a man page for it.

Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)


7051 13-Mar-1995 phk

Disabled gdb until it compiles. I need make world to work...


7048 13-Mar-1995 ache

Bump SHLIB_MAJOR to 263 to match ../Makefile.inc


7043 12-Mar-1995 ache

Add cmp -s to beforeinstall target


7040 12-Mar-1995 phk

Don't install shared libgcc, we can't do it this way.
I will uuencode and check in to a "compat20" area the 2.0-RELEASE version.


7024 12-Mar-1995 bde

Remove the last vestige of COMMENT_BEGIN.


7023 12-Mar-1995 bde

Undo most of the changes in the gcc-2.6.3 "upgrade"
- Don't define NO_IMPLICIT_EXTERN_C here. It is already the default
(defined in i386/bsd.h).
- Don't lose the fixed comment about FUNCTION_PROFILER.
- Don't lose the define of NO_PROFILE_DATA.

Replace the unused define of COMMENT_BEGIN by the less-unused define
of ASM_COMMENT_START. COMMENT_BEGIN was only defined in i386-specific
files and was not used in any part of gcc-2.6.3. ASM_COMMENT_START
is defined for several targets and is used for stuff that we don't
support (dwarf).


7020 12-Mar-1995 joerg

Add my script here to make people's life easier when importing new
stuff. I'd like to have it in CVS, and i figured that this might be
the best place to go.

Someone (phk?) could install it into /usr/local/bin on freefall, for
convenience.

Suggested by: phk


7019 12-Mar-1995 phk

Remove a bunch of funtions that are in libc already.
Add back the shared libgcc, now that we don't use it to link against.


6997 11-Mar-1995 nate

Added support for #pragma weak.

Obtained from: NetBSD


6996 11-Mar-1995 nate

Updated the sources to gcc 2.6.3 with FreeBSD changes already applied.
Note: This isn't the most correct way, but it works and it's fast.


6987 10-Mar-1995 dg

Back out Poul's hack that forces static libgcc. This has been fixed via
gcc instead.


6986 10-Mar-1995 dg

Define LINK_LIBGCC_SPECIAL_1 so that gcc will build static with libgcc.


6979 10-Mar-1995 phk

Since we are in the gcc bashing mood anyway: Add two changes for
basic-block profiling:
1. use a .stabs(25) symbol to link all the data structures together with.
The regular method isn't safe for the kernel.
2. add a BB before the prologue and add a BB after the epilogue, this
alows us to find the length of any counted BB. This is a cheap and somewhat
reasonable measure of actual cost.


6967 09-Mar-1995 paul

Change the return status of do_system_command to be -1
if a signal is received.

This fixes a bug where killing the process would cause a
"No manual entry for XXX" to be printed even if the manpage
was found.


6933 06-Mar-1995 jkh

We can't bail out on generating the pic archive yet.
Submitted by: bde


6930 06-Mar-1995 phk

Don't make the shared libgcc. I don't belive we need the libgcc_pic.a
anymore, so I killed that as well.


6929 06-Mar-1995 phk

Never again shall we link libgcc dynamic. It was a big mistake in the
first place and we were too long in finding out. Now we know, and the
damage is hard to fix. This is part one: ld will not link gcc dynamic,
if specified as "-lgcc".

Suggested by: dyson & davidg


6926 06-Mar-1995 nate

Install the include file in the same way that all other includes file are
in the 'beforeinstall' target.


6918 05-Mar-1995 wpaul

Added support for bootparams map.


6906 05-Mar-1995 phk

"Various very violent dissections
disables dysfunctional disinformed namei's,
needlessly negating namei cache."

These hacks cuts the number futile attempts made by cc and ccp to find
cross-compilers and other weird stuff. A make of the BOOTFLP kernel
has 20% less namei calls now, that is from 30647 down to 24563 calls.


6887 04-Mar-1995 nate

Weak symbol support from NetBSD. This should bring us in sync with the
NetBSD ld code except for local changes for dlopen() and friends and
the hashing on the minor value of the shlibs. We should be binary
compatible now with all their libraries.

Obtained from: NetBSD


6839 02-Mar-1995 nate

Add the abilitity to compile the Lites code with the native FreeBSD assembler.
(This adds minor support for the .bss directive)

Submitted by: Many folks, but I believe Remy Card was the first person to
propose this change.


6818 02-Mar-1995 ache

Fix arrows printout for non-arrows keys in menubox
Move arrows printout to single kernel function
Add PgUp/PgDn/Home/End to checkbox and radiobox


6789 28-Feb-1995 joerg

typo.

Submitted by: "Philippe Charnier" <charnier@lirmm.fr>


6754 26-Feb-1995 ache

Fix two quad_t casts, one reported by wcp@lpds.sublink.org


6739 26-Feb-1995 joerg

Patch bei Wolfram to avoid processing duplicate directories.

Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)


6730 26-Feb-1995 bde

Install manpath.config.sample with the correct mode. It should be installed
elsewhere.


6686 24-Feb-1995 jkh

Correct a few typos.


6675 23-Feb-1995 ache

Implement --hline "line" and --hfile file


6674 23-Feb-1995 ache

Simplify notify()
Fix dupwin usage, now it really restore screen
Disable helpline while helpfile displayed
Fix helpfile borders
Fix mesgbox range computing


6659 23-Feb-1995 phk

Don't rely on execute bit.


6575 20-Feb-1995 nate

Fixed non-conflict errors that occur when changes made to the local files are
the same as the changes made in the repository. This is often seen by
people with remote CVS trees that have applied their local patches to the
master site. a 'cvs update' will show bogus conflicts.

Obtained from: CVS mailing list, Stig<stig@inse.com>

In diffutils 2.6 and 2.7, diff3 -A complains about identical overlapping
changes. They're different from the ancestor but not from each other...
Why bother? The patch below fixes this nonsense and preserves [B]ackwards
compatiblity with the -B flag (also --show-bogus-conflicts).

Party on...
Stig


6557 19-Feb-1995 jkh

Whoops! It wasn't totally winning. I left out a couple of :'s. Fixed.


6556 19-Feb-1995 jkh

A much more winning default dir file.


6470 15-Feb-1995 joerg

Wolfram now also submitted a man page for this.

Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>


6467 15-Feb-1995 ache

Remove dir creating, done by mtree
Add missing file name for cmp


6459 15-Feb-1995 ache

Changes for new _menu interface


6458 15-Feb-1995 ache

file selector, helpline, helpfile and more, with my fixes
Submitted by: wmbfmk@urc.tue.nl


6422 15-Feb-1995 wpaul

More DESTDIR lossage. Hopefully this will solve the case of the missing NIS
scripts.


6421 15-Feb-1995 wpaul

Fix losing Makefile so that it properly honors DESTDIR when installing
/var/yp/Makefile and /usr/libexec/mknetid. *grumble* *mutter* *mutter*


6408 15-Feb-1995 jkh

This commit was generated by cvs2svn to compensate for changes in r6407,
which included commits to RCS files with non-trunk default branches.


6393 14-Feb-1995 rgrimes

Export ${DESTDIR} to h2ph so that the *.ph files end up in the DESTDIR
directories instead of /usr/share/perl.


6388 14-Feb-1995 rgrimes

Add missing ${DESTDIR} so that the sample dir file ends up in the
correct place.


6373 14-Feb-1995 jkh

The destructor always assumed that it would be called on objects created from
ONE constructor routine. This was bogus - there is also a system provided
constructor which does not allocate a pattern buffer. Make less assumptions.


6346 13-Feb-1995 ache

Pass prgbox exit code to main exit code


6345 13-Feb-1995 ache

Much better error handling added.


6341 13-Feb-1995 phk

Add -D__BSD__ and don't write "LINUX" on a CD as default.


6330 12-Feb-1995 jkh

Try to clean up some of these nasty warnings.. This code is not just
twisted, it's seriously evil!


6329 12-Feb-1995 jkh

Add mkisofs to list of targets.


6322 12-Feb-1995 jkh

Walnut Creek's local hacks to this code. Bob says he'll clean them up
RSN and send them back to Eric.


6321 12-Feb-1995 jkh

Changes to make it compile under FreeBSD.


6319 12-Feb-1995 jkh

This commit was generated by cvs2svn to compensate for changes in r6318,
which included commits to RCS files with non-trunk default branches.


6246 08-Feb-1995 bde

Quiet `make -s'.


6236 07-Feb-1995 wpaul

Hurm... I could have sworn I added usr.sbin to the top level GNU
Makefile. Apparently I was mistaken. *groan*


6234 07-Feb-1995 jkh

Support for more Sun compatible dlopen() and friends. Also added proper error
handling.
Reviewed by: gj
Submitted by: Mark Diekhans <markd@grizzly.com>


6226 07-Feb-1995 wpaul

Do proper job of reaping child 'ypxfr' processes (we could sometimes
leave a zombie lying around until the next map transfer came alone).

Also fixed some minor typos on the man page.


6220 06-Feb-1995 wpaul

Removed annoying changelog entries from ypclnt.c, added usage() function
to ypxfr.c.


6216 06-Feb-1995 wpaul

Wrote manual page for ypxfr, modified Makefile to install it.


6206 05-Feb-1995 wpaul

Wrote manual page for yppush and edited Makefile to install it.
Added conditional definition for _PATH_YP in yppush.c in case _PATH_YP
isn't defined anywhere else.


6188 04-Feb-1995 wpaul

Created manual page for ypserv and changed Makefile to install it.

Also tweaked server.c to support newer versions of tcpwrapper (log_tcp.h
is now tcpd.h and FROM_UNKNOWN changed to STRING_UNKNOWN).


6187 04-Feb-1995 phk

added *.info and *.db to the default "ignore" list in cvs to avoid obviously
common mistakes.


6174 04-Feb-1995 wpaul

Created yp_mkdb(8) manual page, modified Makefile to install it.


6173 04-Feb-1995 wpaul

Changed some comments.


6168 03-Feb-1995 wpaul

Fixed potential Makefile glitch that could arise if /var/yp doesn't exist yet.


6157 03-Feb-1995 bde

Include <sys/types.h> explicitly to get declaration of u_long for
<netinet/in.h> - don't depend on namespace pollution in <stdio.h>.


6153 03-Feb-1995 ugen

Fix to h2ph "undefined function" bug
i reported today earlier..tested and works OK..
( To those who want to experience bug try running aub
with old version of socket.ph and with new one or just any
perl script "requiring " <sys/socket.ph> or <sys/cdefs.ph> )


6150 03-Feb-1995 wpaul

Added ${.CURDIR}s to afterinstall target.


6149 03-Feb-1995 wpaul

Put ${.CURDIR}s in front of Makefile.yp and mknetid in the required places.
Also took out uneeded BINDIR & BINMODE stuff.


6146 03-Feb-1995 wpaul

Removed reference in comments to -o option of yppasswdd: -o option
no longer exists.


6138 02-Feb-1995 bde

Look for files to install first in the object directory, then in the
source directory.

Don't create target directories at install time. mtree already handles
them correctly.


6137 02-Feb-1995 wpaul

Cleaned up and updated the yppasswdd man page to reflect FreeBSD-specific
changes and new options. (more new man pages and an NIS tutorial to follow)


6108 01-Feb-1995 wpaul

Need to set a umask to avoid security problems (/var/yp/passwd
world-writable).


6107 01-Feb-1995 wpaul

Cleaned up usage() -- removed bogus references to opassfile, which isn't
used anymore (/var/yp/Makefile creates a new /var/yp/passwd file from
/var/yp/master.passwd using awk, so yppasswdd doesn't have to make it
anymore).


6103 01-Feb-1995 wpaul

/var/yp/Makefile doesn't create passwd file from master.passwd file
correctly (specified wrong fields to awk). Note that the files in question
are noe the local /etc/master.passwd and /etc/passwd files: this Makefile
expects there to be a seperate master.passwd file under /var/yp for NIS
database creation.


6085 01-Feb-1995 wpaul

Added the yppwupdate script. This is a small shell script that yppasswdd
executes after it finishes updating the raw master.passwd file. The script
is just there to invoke /var/yp/Makefile to build new maps and yppush them.
We could have yppasswdd run /var/yp/Makefile directly, but this allws a bit
more flexibility: the user may decide to run some other commands too.


6084 01-Feb-1995 wpaul

Added Makefile.yp and mknetid, which are needed to rebuild NIS maps.
mknetid is a script. Both are installed by an afterinstall which as
been added to the main Makefile.


6080 31-Jan-1995 bde

Fix reading of stack addresses from core files. USRSTACK now really is
the (top of the) user stack.


6075 31-Jan-1995 wpaul

Added SUNDIR entry for yppush


6074 31-Jan-1995 wpaul

Obtained from: The NYS project
This is a ported/modified version of the yppush program from the
yps-0.21 package from the NYS project. This program is used to propagate
updated NIS maps from an NIS master to an NIS slave. It's normally invoked
by /var/yp/Makefile.

This version of yppush has been modified in the following ways:

- Cleared up several Linux/BSD incompatibilities, largely involving
header files.

- converted from GDBM to DB with extreme predjudice. (well, not really...)

- removed lots of ugly debugging code that really didn't do anyone any good.

- Fixed a couple of inaccurate/badly formatted error messages.

- Renamed some functions to avoid collisions with certain YP routines
hidden inside libc.

- Small signal handling kludge: Linux has different struct sigaction
that us.

- Incorporated some functions from the yps-0.21 library that yppush was
dependent on.

Like ypxfr, this works, but could use come cleaning up.


6073 31-Jan-1995 wpaul

Added subdir entry for ypxfr


6072 31-Jan-1995 wpaul

Obtained from: The NYS project
This is a ported/modified version of the ypxfr program from the yps-0.21
package from the NYS project. This program is normally invoked by ypserv
when it receives a yppush command from an NIS master. It can also be
run from the command line to grab copies of maps when initializing a
slave server.

This program has been hacked in the following ways:

- rpcgen'ed new yp_xdr.c, yp_svc.c and yp_clnt.c files. The old ones were
rather grody.

- Changed certain function names (prefended a _ to them) to avoid conflicts
with certain functions lurking within libc. One major problem here is
that ypxfr needs to bind to a YP master in order to work correctly,
but it can't use the _yp_bind function inside libc because that
function only lets you bind to a domain, not a specific host. Lots
of head scratching here.

- Converted from GDBM to DB at gunpoint.

- Removed lots of really nasty looking DEBUG code to try to reduce clutter.

- Incorporated some of the library code supplied with yps-0.21 on which
ypxfr was dependent.

This program still needs to be cleaned up just as a matter of principle:
I get all icky just looking at it sometimes.


6071 31-Jan-1995 wpaul

New Makefiles for YP server stuff.


6070 31-Jan-1995 wpaul

Obtained from: The NYS project
This is a ported/modified version of yppasswd from the NYS yppasswd-0.5
package. This package has code in it from both Olaf Kirch and Theo
de Raadt. There are GPL references and BSD-style copyright all over the
place... hopefully I won't get flamed into oblivion for commiting this.

This program has been modified from the original in the following ways:

- Changed the ALLOW_CHFN and ALLOW_CHSH compile-time options into
run-time options.

- Demolished the password update functions and replaced them with
routines to handle FreeBSD-style passwordd databases. It is expected
that a seperate master.passwd file will be maintained for use with
the NIS maps. yppasswd will have to be told where it is:

% yppasswdd -m /var/yp/master.passwd

A /var/yp/passwd file will be generated from /var/yp/master.passwd by
/var/yp/Makefile. When yppasswdd has finished modifying the master.passwd
file, it will invoke /usr/libexec/yppwupdate, which is a script that
will run /var/yp/Makefile to generate new maps and push them.

Note that there are copies if pw_util.c and pw_copy.c here. This is
deliberate: they are *not* identical to the originals. Very similar, yes,
but not identical. *sigh*


6069 31-Jan-1995 wpaul

Obtained from: The NYS project
This is a hacked-up port of the ypserv-0.11 server from the NYS project
written by Peter Eriksson.

The original package included some map creating and dumping tools and
was based on GDBM. This version has been modified in the following
ways:

- GDBM replaced with DB and many weird hacks made to the read_database()
function because of this.

- implimented the ypxfr service (using ypxfr from the yps-0.21 package,
aso from the NYS project)

- added code to check the TCP port from which NIS requests originate:
the server will refuse to serve the master.passwd.{byname|byuid} maps
if the request doesn't come from a privileged port. Normally, only the
superuser can issue such a request. Requests for the passwd.{bynam|byuid}
maps aren't affected. There will be a small change made to getpwent.c
in libc to complement this.

- added code to do DNS lookups via actual resolver queries instead of
relying on gethostbyname() and friends. The author noted in the original
documentation that a loop condition could arise where the server would
query itself for hostsname lookups. Using direct DNS lookups prevents
this from happening.

- added code to properly fork() the server into the background unless
invoked with the -debug flag.

- Added combined syslog/perror function.

- fixed a few bugs (which were probably introduced by all the other
changes)

- Created a bmake Makefile.

Note that this package can be linked against the tcp_wrapper package
to provide address-based authentication, but this isn't done by default
since the tcp_wrapper package isn't part of FreeBSD.


6068 31-Jan-1995 wpaul

Obtained from: The NYS project
This program is used for both generating and dumping NIS maps. It's very
similar to the 'makedbm' command in SunOS. This program was ported from
the yps-0.21 package. It's close to the original except for the GDBM to
DB conversions. This was simple compared to the other YP components.


6052 31-Jan-1995 jkh

Fixed up the text a bit, attribute NetBSD properly.


6035 30-Jan-1995 ache

Add more range/argument checking
Submitted by: charnier@lirmm.fr


6006 29-Jan-1995 ats

Submitted by: Philippe Charnier <charnier@lirmm.fr>
Install the man page, now that we have one.


5923 26-Jan-1995 bde

Install man.local in the correct directory. Apparently everyone is using
the version installed from /usr/share. It's hard to eliminate old versions
- few Makefiles have `uninstall' targets and sup/ctm tends to blow away
old Makefiles.

This Makefile needs more work. Stuff is built at install time...


5911 26-Jan-1995 jkh

Finally add a freakin' man page for tar!
Submitted by: John F. Woods <jfw@jfwhome.funhouse.com>
Obtained from: NetBSD


5893 25-Jan-1995 bde

Remove stale NOOBJ.

Use standard clean and cleandir targets.


5892 25-Jan-1995 bde

Makefile.tty:
Initialize CLEANFILES. All tty FONTFILES are objects.


5890 25-Jan-1995 bde

Makefile.dev:
Don't initialize CLEANFILES here. Many FONTFILES are sources and required
special clean rules to avoid cleaning.

Makefile.tty:
Initialize CLEANFILES. All tty FONTFILES are objects.


5860 24-Jan-1995 bde

Rewrite based on send-pr/Makefile. The old Makefiles used ${PROG},
which is not supposed to work for shell files, but somehow did with
the old `make'.


5858 24-Jan-1995 jkh

NOOBJS -> NOOBJ - it's more consistent.


5857 24-Jan-1995 jkh

No object here.


5855 24-Jan-1995 jkh

Deal with this not having an object file.


5831 24-Jan-1995 bde

Fix path to makeinfo.


5819 23-Jan-1995 jkh

Fix bogus dummy rule (sigh).


5816 23-Jan-1995 jkh

Fix bogus install rule.


5815 23-Jan-1995 jkh

Fix the bogus depend rule - boy, NetBSD's make catches a lot of
bogus Makefiles!


5785 22-Jan-1995 ache

Infopages cleanup


5782 22-Jan-1995 ache

Add doc subdir


5781 22-Jan-1995 ache

Add missing infopages


5712 19-Jan-1995 bde

Don't build kgdb. It should go away soon.


5710 19-Jan-1995 bde

Fix installation of the link to tmac.an. $(FOO} doesn't work.


5706 19-Jan-1995 ache

Remove sneaked tabs
Submitted by: Ollivier Robert


5699 17-Jan-1995 ache

Install additionly S and L text fonts, needed for BSD docs formatting


5696 17-Jan-1995 ache

Use nroff instead of groff in %nroff% macro, becasue
nroff shell script pass additional internal parameters to groff


5695 17-Jan-1995 ache

Oops, forget to add \{ \} in prev. commit


5694 17-Jan-1995 ache

Fix for 8bit clean ctype


5693 17-Jan-1995 ache

koi8-r added


5692 17-Jan-1995 ache

Back out prev change, don't load tty-char directly, it is already done
into nroff shell script


5691 17-Jan-1995 ache

Load russian hyphentation for -Tkoi8-r


5688 17-Jan-1995 ache

Build ngroff instead of groff now


5686 17-Jan-1995 ache

afterinstall --> beforeinstall to make LINKS work


5685 17-Jan-1995 ache

Remove unnecessary complex renaming after nuking BSD tmacs


5684 17-Jan-1995 ache

Rename tmacs properly (me)
Strip renamed pages before install


5682 17-Jan-1995 ache

Add missing file


5681 17-Jan-1995 ache

Add missing psroff.sh (for compatibility with old groff)


5678 17-Jan-1995 jkh

Here's a patch to gdb-4.13 to add dyadic frames, as per J"org Wunsch.
Could somebody apply it?
Submitted by: gj


5674 17-Jan-1995 ache

Remove troff chars emulation, handled better via tmac.tty-char


5673 17-Jan-1995 ache

Back out 1.x changes (additional troff chars), now handled
via tmac.tty


5672 17-Jan-1995 ache

Define troff chars in more nice way than defining them into
devascii R.proto (will be fixed too)


5671 17-Jan-1995 ache

Move MANSRC defining rule (fix for obj subdir) to top level
Makefile.cfg, needed not only in man subdir


5670 17-Jan-1995 ache

Add russian hyphentation rules


5669 17-Jan-1995 ache

Add koi8-r referred to tmac.tty


5668 17-Jan-1995 ache

Add koi8-r as valid -T option


5667 17-Jan-1995 ache

Add devkoi8-r to SUBDIR


5666 17-Jan-1995 ache

Add koi8-r device (russian charset)


5664 16-Jan-1995 ache

Fix install target when obj subdir present


5663 16-Jan-1995 ache

Don't call $(SHELL) for mdate.sh, call its directly.
Old method don't works, if login shell != sh && != bash


5660 16-Jan-1995 ache

Add doc to SUBDIR


5659 16-Jan-1995 ache

Remove */doc


5658 16-Jan-1995 ache

Add doc to SUBDIR


5657 16-Jan-1995 ache

Add doc to SUBDIR list


5654 16-Jan-1995 ache

Back out bkgd() function usage, it acts not from
common sense but from sysv standard


5653 16-Jan-1995 ache

Back out my ascii->latin1 change, too many special chars
appearse after it (f.e. hyphentate and such) which looks
very different in different code pages


5644 15-Jan-1995 pst

One last one...


5643 15-Jan-1995 pst

Last of the FreeBSD changes


5641 15-Jan-1995 pst

Layer in FreeBSD changes


5640 15-Jan-1995 pst

Layer in all FreeBSD patches


5638 15-Jan-1995 pst

This commit was generated by cvs2svn to compensate for changes in r5637,
which included commits to RCS files with non-trunk default branches.


5637 15-Jan-1995 pst

groff-1.09


5611 14-Jan-1995 wollman

Turn off incredibly obnoxious forced `-c' option to `more'.


5579 14-Jan-1995 jkh

Install suidperl suid root.
Submitted by: Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>


5560 13-Jan-1995 ache

Use -Tlatin1 instead -Tascii to pass character from
S0ren name without warnings.


5556 12-Jan-1995 hsu

Fix bug that created new files even when running in -C check mode.
Reviewed by: phk


5551 12-Jan-1995 joerg

Make ldconfig and ld.so not hashing the shared lib minor number. This
misfeature caused troubles when a program attempted to access a shlib
where one with a higher minor number has been hashed. Ldconfig does
only include the highest-numbered shlib anyway, so this is in no way a
limitation of generality.

Caution: after installing the new programs, your /var/run/ld.so.hints
needs to be rebuiult; run ldconfig again as it's done from /etc/rc.


5535 12-Jan-1995 jkh

Good grammar and good taste, from Gary Jennejohn.
Submitted by: gj


5529 12-Jan-1995 ache

dc/doc added


5528 12-Jan-1995 ache

Infopage installation


5527 12-Jan-1995 ache

as/doc added


5526 12-Jan-1995 ache

Infopage installation


5524 12-Jan-1995 ache

ptx/doc added


5523 12-Jan-1995 ache

Use -lgnuregex properly
Install infopages


5515 11-Jan-1995 ache

doc added


5514 11-Jan-1995 ache

Add annotate target


5513 11-Jan-1995 ache

Install infopages


5510 11-Jan-1995 joerg

argl, better unzip the perl script before installing. :-/


5506 11-Jan-1995 ache

awk/doc added


5505 11-Jan-1995 ache

Infopage install


5504 11-Jan-1995 ache

Use -lgnuregex


5503 11-Jan-1995 ache

Use -lgnuregex
Tune for 8bit ctype


5502 11-Jan-1995 ache

Upgrade to code which should satisfy all things which we have


5500 11-Jan-1995 ache

Use -lgnuregex


5499 11-Jan-1995 ache

Upgrade regex code to most recent that I found
Version number still not changed


5498 11-Jan-1995 ache

Use -lgnuregex
Tune for 8bit ctype


5497 11-Jan-1995 ache

Changes for 8-bit ctype


5496 11-Jan-1995 ache

libregex/doc added


5494 11-Jan-1995 ache

Add infopage installation


5491 11-Jan-1995 ache

Remove regex code, use -lgnuregex instead


5477 10-Jan-1995 ache

send-pr/doc added


5476 10-Jan-1995 ache

Add info installation


5473 10-Jan-1995 joerg

From our favorite Perl script writer: a new makewhatis, about
15 times faster than the existing sh script.

Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>


5456 09-Jan-1995 joerg

I think someone has already talk about it but I just got bitten again :
perl setuid scripts don't work in 2.1-current for the same reason they were
not working in 1.1.5.1.

Perl 5 has the same "problem" of course.

We have almost POSIX saved uids but we must undefine the following symbols
in order to get setuid perl scripts :

Submitted by: roberto@blaise.ibp.fr (Ollivier Robert)


5446 08-Jan-1995 paul

Added a ports category to the list.


5430 07-Jan-1995 ache

Back out prev fix, now fixed in bsd.info.mk


5421 07-Jan-1995 ache

Fix "make" vs "make all"


5419 06-Jan-1995 ache

Remove regex code, use -lgnuregex instead


5414 06-Jan-1995 bde

Handle segment registers (except %fs and %gs).


5402 05-Jan-1995 swallace

Change to
#define STANDARD_SEARCH_DIRS "/usr/lib", "/usr/X11R6/lib", "/usr/local/lib"
Like in 2.0R, except without /usr/X386.


5387 04-Jan-1995 ache

Add readline/doc to SUBDIR


5385 04-Jan-1995 ache

Fix format error


5384 04-Jan-1995 ache

Add dependances


5383 04-Jan-1995 ache

Install infopages


5349 03-Jan-1995 rgrimes

Add usr/share/perl/sys to mtree file, remove private mkdir from Makefile.


5346 02-Jan-1995 bde

Use new bsd.info.mk to avoid local rules and fix bugs in `all' and `depend'
targets.


5341 01-Jan-1995 ache

Add doc to subdirs


5340 01-Jan-1995 ache

Install info pages now


5338 01-Jan-1995 rgrimes

Add missing ${DESTDIR} so that the library ends up in a release.
Remove mkdir -p, this is handled by make hierarchy.
Add NOOBJ= to override obj: target, and remove local obj: target.


5335 01-Jan-1995 bde

Fix previous commit. Installing links to manpages without installing
manpages is not completely trivial.

Please don't commit untested changes.


5334 01-Jan-1995 bde

Fix previous commit.


5330 31-Dec-1994 gclarkii

Add mlinks for man page

Reviewed by:
Submitted by:
Obtained from:


5319 31-Dec-1994 bde

Add more segment registers to list of registers (fake for %fs and %gs).
This might be useful for debugging applications that use a special LDT.
However, printing of all segment registers is currently broken.

Don't print "last exception: " before the FPU opcode and pc, etc. The
opcode and pc, etc., are for the last FPU _instruction_.

Pass the saved exception status word to print_387_status() so that the
exception(s) that caused or will cause a trap can be seen. The kernel
has supported this since 1.1 or before. The kernel still clobbers the
tag word if a trap occurs.

Remove unused null function clear_regs().


5318 31-Dec-1994 bde

Fix declaration of i386_float_info().


5317 31-Dec-1994 bde

Restore our local changes which were clobbered by the previous commit.

cvs is not being used effectively for gdb. Our old changes get clobbered
and our new changes are mixed with "vendor" changes in the same updates
so they will be difficult to untangle for the next release of gdb. The
revision logs get spammed for each release of gdb.


5316 31-Dec-1994 bde

Hide yet another redefinition of PAGE_SIZE. Cosmetic.


5315 31-Dec-1994 bde

Restore our (cosmetic) local changes which were clobbered by the previous
commit (do them slightly differently).


5301 30-Dec-1994 jkh

Bring in the files added by Gary Jennejohn's gdb update.
Submitted by: gj


5300 30-Dec-1994 jkh

Hurrah! Let the champagne flow, the olive oil barrel be opened and
the wild, slippery orgy commence!

Gary Jennejohn, too studly for his own good, has finally come through with
the new, improved gdb 4.13. This gdb features:

o kgdb support - if this works (and I urge folks to test it), we can
finally purge the old and hateful version of kgdb from our source
tree.

o attach/detach support. See comments in README.FreeBSD for more
details.

o Well, it's newer. Our previous version was 4.11.

Comments and flames to gj, of course! :-)

Thanks, Gary. Much appreciated. The previous state of gdb/kgdb has been a
thorn in all of our sides for some time..
Submitted by: gj


5293 30-Dec-1994 ache

Upgrade from new bash


5238 26-Dec-1994 ats

Install also a gcc.1 manual page as a link from cc.1, as long as
we have the link cc to gcc.


5214 23-Dec-1994 nate

New file from pk to aid new in developing the shlib code for new
architectures.

Obtained from: NetBSD


5208 23-Dec-1994 nate

Updated version of gas which allows for link-time error reporting if
used in conjustion with the new shlib 'ld' source. Note, if you use
the new features both gas and ld must be updated.

Obtained from: NetBSD


5205 23-Dec-1994 nate

Updated to recent version of Paul K.'s shlib code. This code has better
warning handling and allows for link-time warnings with a modified
version of gas.

Note: Not all of the newer bits were updated such as some of the non-x86
machine-dependant code is relevant to FreeBSD right now.

Obtained from: NetBSD


5073 12-Dec-1994 ache

Upgrade to readline from bash 1.14.3


5047 11-Dec-1994 ats

Changed a SORT 1L to a SORT 1.


5046 11-Dec-1994 ats

Changed one occurrence of LD 8 to LD 1 and the OS FreeBSD 1.1 to FreeBSD 2.0.


5044 11-Dec-1994 ats

Changed one occurence of rmail(1) to rmail(8).


5042 11-Dec-1994 sef

Added "cpuid" opcode.


5020 09-Dec-1994 ache

Change all 'regoff_t' occurances to 'int'. GNU typedefed it as 'int',
but BSD 4.4 typedefed it as 'off_t'. Make _RX_C_ hook for sucessful
rx.c compilation


5019 09-Dec-1994 ache

Change #include order to not redifine __P


5018 09-Dec-1994 ache

Regcomp, re_comp eliminating


5017 09-Dec-1994 ache

More kosher regexp eliminating, based on BSD date now


5016 09-Dec-1994 ache

Eliminate buggy regcomp and re_comp implementations,
we already have them in another place.


4999 06-Dec-1994 ache

8bit locale ajustment fix


4998 06-Dec-1994 ache

Upgrade to version 2.0


4933 03-Dec-1994 ats

Throw out the abort call, the reasoning seems to be false :-).
Change a round to a truncate. Problem reported from Christoph Kukulies:
9.8 2 / p did an IOT trap.
There is one remaining problem.: 9.8 2 % p shows on other machines 1.8
but does here in the moment 1.


4904 02-Dec-1994 ache

Use new bkgd() function to produce background


4851 28-Nov-1994 ats

Add the files y.tab.h and a2p.c that get automatically generated to
the CLEANFILES target. Remove the file a2p.c from the source tree, this get
generated anew from a2p.y.


4850 28-Nov-1994 ats

Add the automatically generated files: y.tab.h c-exp.tab.c ch-exp.tab.c and
m2-exp.tab.c to the CLEANFILES target.


4802 24-Nov-1994 ache

Add -lcompat to LDADD for insque/remque (they treated as part of library)


4793 23-Nov-1994 ache

For unknown reason _G_HAVE_SYS_RESOURCE was defined to 0 instead
of 1. (we have it). Please check gnu2bmake script


4792 23-Nov-1994 ache

Add missing osfcn.h


4774 22-Nov-1994 jkh

Remove /usr/gnu from mandatory manpath.


4688 20-Nov-1994 ache

Add ^X,^B,^F,^E,^A
Implement KEY_DC/^D
Fix some displaying errors
Add more beeps on reaching edges


4667 19-Nov-1994 ache

Automatically turn off insert mode when end of field reached
in line_edit().


4666 19-Nov-1994 ache

Highlight only flen sized part while editing in line_edit()


4664 19-Nov-1994 ache

Highlight only space available for editing


4658 18-Nov-1994 ache

silently restrict all boxes to LINES, COLS


4592 18-Nov-1994 jkh

From: "Jonathan M. Bresler" <jmb@kryten.Atinc.COM>


in getting mirror-2.3 to work with FreeBSD, i found that timelocal.pl has
a bug. a patch is included below. this needs to be applied to both
src/gnu/usr.bin/perl/lib/timelocal.pl and
src/usr.sbin/xntpd/scripts/monitoring/timelocal.pl

Submitted by: jmb


4591 18-Nov-1994 ache

Draw passed line with passed attrs on enter of line_edit()
and redraw it with default attrs on exit.


4584 18-Nov-1994 ache

Add new parameter to line_edit: field length (-1 means unlimited)


4582 18-Nov-1994 ache

Save/restore attrs in line_edit now


4581 17-Nov-1994 ache

Use newscr instead of curscr in shadows code


4575 17-Nov-1994 ache

Use wnoutrefresh() in clear_norefresh


4574 17-Nov-1994 ache

Add dialog_clear_norefresh() function


4572 17-Nov-1994 ache

Remove regex.h, it conflicts with our POSIX regex.h and we already
have it under different name: gnuregex.h (from libregex)
Change all references of <regex.h> to <gnuregex.h>


4565 17-Nov-1994 ache

Fix original bug with wrong calculated dims for items list.
Add args check for functions when autosizing impossible.


4550 17-Nov-1994 ache

Put #warning "this file is obsoleted ... etc."


4529 16-Nov-1994 ache

Update with new autosizing code, use -1 -1 now


4527 16-Nov-1994 ache

Full autosizing support, now you can pass -1, -1 for any
string


4526 16-Nov-1994 ljo

Added NO_IMPLICIT_C as our header files in standard locations are either
already C++ safe, or C++ header files.
This fixes the problem with parse errors in header files when compiling C++
files.
Recompiling libg++ also solves the undefined synbols problem.


4515 15-Nov-1994 ache

Make shadow more 'real': now shadowed letters appearse as dim ones.


4497 15-Nov-1994 ache

Add comment about SYSV-ism


4496 15-Nov-1994 ache

Fix bug: only one second-level shadow drawed


4491 15-Nov-1994 phk

Integrated GCC-2.6.1 -> GCC-2.6.2 changes.

Notice that the libgcc DOESN'T change number, because there are no
changes.

Also now the gnu2bmake stuff is synchronized again.

I commit this so that others can test too.

You might want to postpone any "make worlds" until tomorrow, to
avoid any problems I didn't see in the first pass.

Thanks to Bruce for rounding up our changes to gcc.


4452 14-Nov-1994 bde

Clean up some foreign makefiles a bit, attempting to handle .sh files
more like binaries. This is hard to do using a general rules because
the natural `.sh:' rule has a null suffix and null suffixes are broken.
(With 1.1.5's make they sometimes work and sometimes cause core dumps.
2.0's make has a botched fixed and they never work.)


4451 14-Nov-1994 bde

Include <sys/types.h> early. This will be required when <stdio.h> and/or
<signal.h> are fixed to not include it.

Bruce


4426 13-Nov-1994 jkh

Fix merge conflicts.


4423 13-Nov-1994 jkh

This commit was generated by cvs2svn to compensate for changes in r4422,
which included commits to RCS files with non-trunk default branches.


4421 13-Nov-1994 jkh

This commit was generated by cvs2svn to compensate for changes in r4420,
which included commits to RCS files with non-trunk default branches.


4344 10-Nov-1994 ache

Additionly use erase char from termios
Implement kill line by ^U or kill char from termios


4332 10-Nov-1994 phk

address @freefall.cdrom.com -> @freebsd.org


4248 08-Nov-1994 ache

Add include


4247 08-Nov-1994 ache

Add missing values.h (it isn't part of libg++ anymore) but it
accords ANSI standard, provides backward 1.x compatibility and
used in many applications.


4230 07-Nov-1994 dg

Enabled build/install of kgdb.


4226 07-Nov-1994 phk

As pointed out by Paul Traina, we need the libs to be 261.0 not 26.1.


4215 06-Nov-1994 bde

Restore my fixes to 2.6.0. The changes should not affect anything except
profiling and wchar_t. Profiled libraries will shrink.

tm.h:
Our wchar_t is int, not unsigned short.
Always link statically if profiling.
Define all the SPECs together.

final.c, tm.h:
Don't emit unused profiling code and data.

aux-output.c:
Always preserve the PIC register if profiling.

aux-output.c, tm.h:
Implement FUNCTION_PROFILER_EPILOGUE (currently not used).

New:
tm.h:
Set the target defaults in the correct way.


4208 06-Nov-1994 dg

From Johannes Stille:

When we get an EN8 response while we're already sending the file using
the i protocol, this can happen:

In send.c, flocal_send_await_reply() is called. This function calls
flocal_send_fail() to process the aborted transfer. After this, we run
into the branch that calls ffileseekend() to force the end of the
actual transfer.

Now flocal_send_fail() frees qtrans, but qtrans is still used later!

I propose to fix this by moving the usfree_send(qtrans) out of
flocal_send_fail(), as in the patch I append to this mail.

...

I have found a race condition in the uucp 1.05 code. The typical result
is that the connections mysteriously fails with "conversation failed",
even while all files were transmitted. This is the problem:

At least for the i protocol, the code to send a packet can receive and
process packets after sending.
In several places in the code, we send a command and then prepare to
receive an answer.
Now the answer might already arrive during the call that sends the
command while we aren't ready to process it.

The general solution is IMHO first to do all preparations and only as a
last step to send out the command.

Reviewed by: John Dyson
Submitted by: Johannes Stille


4144 04-Nov-1994 phk

Explicitly tell cpp where to look for include files.


4131 04-Nov-1994 jkh

__386BSD__ -> __FreeBSD__

I know that many of these entries are bogus and need to be revisited,
but let's get the tree working again for now and then do a pass through
looking at all the __FreeBSD__ entries, shall we?


4129 03-Nov-1994 gclarkii

Correct my hosing...:(


4126 03-Nov-1994 phk

Bump the version-number of the "shared-gcc-internals" library. Will only
affect you if you decided to use that feature.


4125 03-Nov-1994 gclarkii

Change libs to install in /usr/lib/perl


4124 03-Nov-1994 gclarkii

Change libs to /usr/lib/perl
Reviewed by:
Submitted by:
Obtained from:


4123 03-Nov-1994 gclarkii

Install libs into /usr/lib/perl. The discussion we had did not come to
a point so... If any thing besides here I would vote for /usr/include.


4115 03-Nov-1994 jkh

Remove obsolete __386BSD__ predefine.


4113 03-Nov-1994 phk

----------------------------------
GCC-2.6.1 COMES TO FREEBSD-current
----------------------------------
Everybody needs to 'make world'.

Oakland, Nov 2nd 1994. In a surprise move this sunny afternoon, the release-
engineer for the slightly delayed FreeBSD-2.0, Poul-Henning Kamp (28),
decided to pull in the new version 2.6.1 of the GNU C-compiler.
The new version of the compiler was release today at noon, and hardly 9
hours later it was committed into the FreeBSD-current source-repository.
"It's is simply because we have had too much trouble with the version 2.6.0
of the compiler" Poul-Henning told the FreeBSD-Gazette, "we took a gamble
when we decided to use that as our compiler for the 2.0 release, but it
seems to pay of in the end now" he concludes.
The move has not been discussed on the "core" list at all, and will come as
a surprise for most Poul-Hennings peers. "I have only discussed it with
Jordan [J. K. Hubbard, the FreeBSD's resident humourist], and we agreed that
we needed to do it, so ... I did it!". After a breath he added with a grin:
"My email will probably get an all time 'disk-full' now!".
This will bring quite a flag-day to the FreeBSD developers, the patch-file
is almost 1.4 Megabyte, and they will have to run "make world" to get
entirely -current again. "Too bad, but we just had to do this." Was
the only comment from Poul-Henning to these problems.
When asked how this move would impact the 2.0 release-date, Poul-Hennings
face grew dark, he mumbled some very Danish words while he moved his fingers
in strange geometrical patterns. Immediately something ecclipsed the Sun, a
minor tremor shook the buildings, and the temperature fell significantly.
We decided not to pursure the question.

-----------
JOB-SECTION
-----------
Are you a dedicated GCC-hacker ?
We BADLY need somebody to look at the 'freebsd' OS in gcc, sanitize it and
carry the patches back to the GNU people. In particular, we need to get
out of the "i386-only" spot we are in now. I have the stuff to take a
gnu-dist into bmake-form, and will do that part.

Please apply to phk@freebsd.org

No Novice Need Apply.


4085 02-Nov-1994 pst

Put a real man page in for cpp(1)... it needs to be converted to the mandoc
macros, but it's good enough for now.
Obtained from: gcc 2.6.0 gnu distribution


4072 02-Nov-1994 ache

Enhance inputbox to pass initial prompt (optional)


4071 02-Nov-1994 ache

Now line_edit() uses passed string as initial prompt


4068 02-Nov-1994 jkh

Translate README to english. :-)


4058 01-Nov-1994 jkh

Link g++ -> c++, like I did with gcc -> cc. This is evil, but it's
now at least orthogonal evil.


4055 01-Nov-1994 jkh

Add LINKS to get gcc back.


4052 01-Nov-1994 ache

Fix beforeinstall compare
Submitted by: jc@cleat.irbs.com


4042 01-Nov-1994 pst

Don't reinstall includes when not necessary


4024 31-Oct-1994 ache

Add pointer check after each newwin/subwin with error diagnostic


3985 29-Oct-1994 pst

Test test test! sigh!

Perl's scripts are still trying to execute perl out of /usr/gnu/bin/perl.

The hack Larry was using for h2ph.1 doesn't work with the new macros, so
make it a real man page.

Also, we weren't building the .ph files, add them as an afterinstall rule
in the x2p subdirectory.


3957 28-Oct-1994 jkh

Add a -I${.CURDIR} so that the next time Andrew changes dialog.h, the
whole build doesn't fall over before installation.


3953 28-Oct-1994 ache

Add refresh after each line of program output,
some pgms may have long waiting time between output lines.


3952 28-Oct-1994 ache

prgbox example added


3951 28-Oct-1994 ache

Add --prgbox option to test new prgbox() function


3950 28-Oct-1994 ache

Implement dialog_prgbox() function which allows run program
(via pipe) with output to dialog box


3945 27-Oct-1994 wollman

Convince Perl to that is is part of the system, as /usr/bin/perl (binary)
and /usr/share/perl (library). The latter was chosen as analogous to other
directories already present in /usr/share, like /usr/share/groff_font and
(particularly) /usr/share/mk.


3899 26-Oct-1994 jkh

Repair the damage done by whomever blew the last commit. Now it
compiles again.


3868 25-Oct-1994 ache

Move dialog_update() to another place, because it is now in dialog_clear()


3856 25-Oct-1994 bde

Add perl.


3855 25-Oct-1994 paul

Added refresh() to dialog_clear so that it actually
clears the screen.
Reviewed by:
Submitted by:
Obtained from:


3853 25-Oct-1994 ljo

Added f77 program. This is a modified version of the c++ program.
All it does is add -lf2c and -lm.


3848 25-Oct-1994 ljo

Added FORTRAN rule.


3840 25-Oct-1994 dg

Changed NO_SHARED_LIBCC_INT to SHARED_LIBCC_INT and changed the logic
as appropriate. This makes gcc not built with a shared cc_int the
default.


3827 24-Oct-1994 ache

Make dialog attributes visible from outside (for direct usage
in pgms)


3804 22-Oct-1994 wollman

Completed last fix: don't use backquotes in here-documents; it confuses
ash. (The backquotes were only used to implement a slower version of
${foo-$bar} anyway.)


3803 22-Oct-1994 wollman

Fill in SUBMITTER= line correctly.


3802 22-Oct-1994 wollman

I really, really don't want to know why adding a blank line between
__EOF__ and a done command lets fixes this script for ash...


3800 22-Oct-1994 nate

Adding cvsinit back to the subdirs since it shouldn't have been removed
in the first place.


3790 22-Oct-1994 pst

remove cvsinit from subdir list


3775 22-Oct-1994 nate

Added cvsinit shell script as a runnable command.

Submitted by: CVS mailing list.


3773 22-Oct-1994 ache

Allow '#' in address in rmail arguments
Obtained from: taylor-uucp list


3756 21-Oct-1994 ache

Fix dialog_clear() to clear windows.


3754 21-Oct-1994 ache

Implement line_edit() function (full line editor) which may called
externally.
Rewrite inputbox/textbox to use this function.


3740 20-Oct-1994 ache

Declare more functions externally.
Don't forget to use 'make beforeinstall'...


3716 19-Oct-1994 ache

Don't exit silently, if initscr failed; put error message


3715 19-Oct-1994 ache

Check initscr() for NULL


3631 15-Oct-1994 wollman

Dramatically clean up Makefile. Make send-pr get rebuilt if Makefile
changes.


3528 12-Oct-1994 ache

Add LDADD += -lcurses


3527 12-Oct-1994 ache

Add LDADD+= -ltermcap


3524 12-Oct-1994 ache

SHARED_LDADD --> LDADD


3522 11-Oct-1994 ache

Output error diagnostics, if occurse.
Add radiolist test.


3521 11-Oct-1994 ache

Use libdialog now.


3519 11-Oct-1994 ache

libdialog added


3516 11-Oct-1994 ache

This commit was generated by cvs2svn to compensate for changes in r3515,
which included commits to RCS files with non-trunk default branches.


3504 10-Oct-1994 ache

Implement HOME/END keys for line edit


3503 10-Oct-1994 ache

Implement insert-mode line editing


3458 09-Oct-1994 ache

Back out part of ctype fixes, unneded with new ctype


3447 09-Oct-1994 pst

Cosmetic cleanup


3432 08-Oct-1994 ache

Dialog added


3431 08-Oct-1994 ache

This commit was generated by cvs2svn to compensate for changes in r3430,
which included commits to RCS files with non-trunk default branches.


3414 07-Oct-1994 ache

Fix many problems with 8bit chars (sign extend in ctype macros)
Fix main problem with 8-bit chars in directories names: because
signed_sum left uninitialized, wrong checksum occurse


3322 02-Oct-1994 ache

Make ~%take work: ignore \r
Obtained from: taylor-list


3321 02-Oct-1994 ache

Make -a option optional, uux fails in other case with new sendmail-style
<> address in return-receipts
Obtained from: taylor-list


3302 02-Oct-1994 paul

Removed NOOBJ so obj directory gets built if wanted.


3299 02-Oct-1994 ache

#define HAVE_TERMIOS added for proper terminal handling
Submitted by: smcarey@mailbox.syr.edu


3157 28-Sep-1994 bde

Don't build profiled libraries. (NOPROFILE= yes. I don't like the negative
logic or lack of checking of truth values. There are too many ways to spell
"yes". Some Makefiles spell it as "no".)


3087 25-Sep-1994 adam

previous fix was not complete


3084 25-Sep-1994 adam

Dumped core when prompt == NULL


3028 23-Sep-1994 dg

Fixed a couple of compiler warnings related to wrong prototypes.


2938 20-Sep-1994 bde

Don't build profiled library.


2919 20-Sep-1994 bde

Add dependency for -lcompat.


2907 19-Sep-1994 wollman

For Bruce: -DNO_SHARED_LIBCC_INT reverts back to static libcc_int.
This makes the back end run faster, but at the cost of speed.


2871 18-Sep-1994 wollman

Make GCC's back end be shared among all languages. cc, c++, and cpp now
no longer link against the whole library, since they don't require much
from it, but just compile the few small modules they actually need static.

This should save a measurable amount of space; compare:

-r-xr-xr-x 1 bin bin 155648 Sep 18 18:00 cc1*
-r-xr-xr-x 1 root bin 1048576 Sep 18 17:33 cc1.noshae*

Of course, the library takes up a bit of space, but when you add in the
savings from the C++ compiler, you more than make up the difference:

-r--r--r-- 1 bin bin 1157344 Sep 18 18:27 /usr/lib/libcc_int.so.26.0
-r-xr-xr-x 1 bin bin 491520 Sep 18 18:27 /usr/libexec/cc1plus*


2863 18-Sep-1994 rgrimes

Add q modifier (for long longs) support to -Wformat.
Reviewed by: bde


2856 18-Sep-1994 swallace

Add LDDESTDIR to ld command.
Add -I${DESTDIR}/usr/include to cpp command.


2812 15-Sep-1994 bde

Unmap hints file when finished with it, so that it can go away
completely when ldconfig unlinks it. If init is shared, then the
referenced unlinked copy of the hints file created by running
ldconfig in /etc/rc caused the file system to be unclean after
every reboot.


2808 15-Sep-1994 bde

Install libregex.h with the correct owner, group and mode.


2798 15-Sep-1994 jkh

Add NOMAN, fix Id.


2797 15-Sep-1994 jkh

Add NOMAN, fix Id line.


2796 15-Sep-1994 jkh

Set NOMAN properly, correct Id line.


2795 15-Sep-1994 jkh

Change install -c to install ${COPY} as per Rod's comments. At least
we've got one Makefile that uses this in the tree now! :-)


2794 15-Sep-1994 jkh

Fix typo, add -c to install so that files aren't moved out on first
install! :-)


2793 15-Sep-1994 jkh

Cleaned up comments, added Id lines.


2791 15-Sep-1994 jkh

Add texinfo to the list of SUBDIR targets.


2781 15-Sep-1994 swallace

Added ${DESTDIR} in the line
CFLAGS+= -I$(.CURDIR)/. -I${DESTDIR}/usr/include/readline -I$(.CURDIR)/../bfd


2727 13-Sep-1994 gclarkii

This commit was generated by cvs2svn to compensate for changes in r2726,
which included commits to RCS files with non-trunk default branches.


2684 12-Sep-1994 rgrimes

Include of bsd.prog.mk should almost always be the last line of the file.

Fix missing ${DESTDIR} in 2 places (rgrimes)
Submitted by: bde


2677 11-Sep-1994 rgrimes

Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap


2667 11-Sep-1994 gclarkii

Deleted checks for libcrypt as not nessecery for 2.0.


2666 11-Sep-1994 gclarkii

Added CURDIR directives for some installs.

Reviewed by: Gary Clark II
Submitted by: Rod Grimes


2665 11-Sep-1994 gclarkii

Added includes for Makefile.inc (/usr/src/gnu/usr.bin/Makefile.inc)

Reviewed by: Gary Clark II
Submitted by: Rod Grimes


2653 11-Sep-1994 gclarkii

Changed AF_LOCAL to AF_LOCAL_XX so as not to conflict with 4.4 socket.h
Added casts to shutup warnings in doio.c


2638 10-Sep-1994 pst

libg++ include files being installed in /usr/include instead of
/usr/include/g++

Submitted by: pst


2636 10-Sep-1994 gclarkii

This commit was generated by cvs2svn to compensate for changes in r2635,
which included commits to RCS files with non-trunk default branches.


2630 09-Sep-1994 wollman

Bogus little commit to see if my change to log_accum.pl actually worked.
CVS:


2624 09-Sep-1994 paul

Added some missing ${.CURDIR} and removed some that shouldn't have
been there. It should build and install fine with and without an
obj dir now.


2623 09-Sep-1994 paul

Enabled send-pr


2616 09-Sep-1994 rgrimes

ljo:
You need to fix the libio/_G_config.h file around lines 42-44. After
that everything should be OK. You should have seen many warning error
messages about this file. There are missing "short" "char" keywords
the file.

Michael:
Apply the following patch

rgrimes:
The patch to include/_G_config.h is highly questionable and has been
marked as such.

Reviewed by: rgrimes
Submitted by: L Jonas Olsson <ljo@ljo-slip.DIALIN.CWRU.Edu>
Submitted by: Michael Reifenberger <root@rz-wb.fh-sw.de>


2615 09-Sep-1994 rgrimes

Reenable libg++


2465 02-Sep-1994 bde

Disable one of my extensions (function profiler epilogues) that
we're not ready for yet. gcc and all profiled libraries will need
to be recompiled. I suspect that the dependencies aren't complete
enough to do this automatically.


2392 29-Aug-1994 dg

Use gnumalloc to help reduce memory consumption.


2388 29-Aug-1994 paul

Added misc category
Submitted by: Paul Richards


2385 29-Aug-1994 paul

Fix some bad spacing in send-pr.sh that stopped mail working,
changed the category selection.
Submitted by: Paul Richards


2383 29-Aug-1994 paul

Set up the problem categories.
Reviewed by:
Submitted by:


2382 29-Aug-1994 paul

Added send-pr for sending in bug reports.
Reviewed by:
Submitted by:


2375 28-Aug-1994 bde

Add dependencies on libraries to DPADD. Someday this should be done
automagically. -lfoo has to be right to work, but ${LIBFO0} is too
easy to forget or misspell; nothing checks it and it should be
different for shared libraries.


2373 28-Aug-1994 bde

Use standard clean, cleandir and obj targets.

Don't use $@.

Uniformize the man Makefiles for shell scripts. It should't take such
large Makefiles to install one script and one man page each.


2372 28-Aug-1994 bde

Remove stale clone of obj target.


2371 28-Aug-1994 bde

Add dependencies on libraries to DPADD.

Move another include of bsd.prog.mk to the end.


2370 28-Aug-1994 bde

Centralize declarations of library names.


2367 28-Aug-1994 bde

Use ${ECHO} instead of `echo' so that `make -s' is fairly quiet.


2355 28-Aug-1994 bde

We do have <dirent.h>, and it was harmful to pretend that we don't.
Several files in uucp/libunix included <sys/dir.h> and defined dirent
as direct, but <sys/dir.h> defines direct as dirent. This macro
recursion is not allowed by cpp in traditional mode. The 2.0 mkdep
uses cpp in traditional mode (another bug) so cpp prints a error
message and exits with a nonzero status. The error status leaks out
of the pipe (another bug) so mkdep "succeeds". It may even succeed.


2301 26-Aug-1994 wollman

Install ld.so immutable.


2270 25-Aug-1994 bde

Fixed Makefile for make depend some more. The .depend target was not
being created and config.h depended on Makefile.inc being in the wrong
directory so real dependencies were not being checked. The "depend"
target was not created either so "make depend" always found work to do.


2267 24-Aug-1994 paul

Changed cc26 to cc
Reviewed by:
Submitted by:


2251 24-Aug-1994 jkh

From: Tom Pavel <PAVEL@SLAC.Stanford.EDU>
Subject: man returns 1

In 1.1.5.1, man returns a status of 1 if the lookup succeeds and 0 if
it fails. Here is a patch for what I believe is a simple oversight:

Submitted by: jkh


2247 23-Aug-1994 paul

Fixed up everything so that the version of gcc that we install from the
FreeBSD system sources installs itself as the standard cc and c++. I've
fixed c++ to call cc instead of gcc and removed all the symlinks
that get created to g** version of the binaries. This means that
you can install a second version of gcc that does use the g prefix
alongside the "system" version of gcc. The only conflict is libgcc
but since we install it as libcc.so.26 and nothing else is likely
to that should be ok.

Reviewed by:
Submitted by:


2144 20-Aug-1994 paul

Added -f to rm so install doesn't abort if the file doesn't exist.
Reviewed by:
Submitted by:


2127 19-Aug-1994 dg

Don't explicitly define __FreeBSD__ - this is no longer necessary.


2003 10-Aug-1994 wollman

Define __FreeBSD__ to be 2.


1993 10-Aug-1994 jkh

Nuke GNU pr.
Reviewed by:
Submitted by:


1981 09-Aug-1994 jkh

Punt duplicate declaration of sys_errlist[].
Submitted by: jkh


1980 09-Aug-1994 jkh

Delete two redundant declarations of _exit() and exit().
Submitted by: jkh


1978 09-Aug-1994 jkh

Remove kgdb for now until we figure out what our gdb strategy is going
to be (having two sucks, and this one doesn't even work for 2.0 now!).
Submitted by: jkh


1976 09-Aug-1994 jkh

Remove redundant (and conflicting) definition of sys_errlist.
Submitted by: jkh


1969 08-Aug-1994 jkh

New 2.0 specific changes.
Reviewed by:
Submitted by:


1968 08-Aug-1994 jkh

Make uucp compile again in 2.0. A little perturbed about the comment
saying that 4.4 uses f_size in statfs, yet we're using b_size. Anyway,
I've configured things to match our current environment.
Reviewed by:
Submitted by:


1936 08-Aug-1994 phk

This commit was generated by cvs2svn to compensate for changes in r1935,
which included commits to RCS files with non-trunk default branches.


1934 08-Aug-1994 phk

This commit was generated by cvs2svn to compensate for changes in r1933,
which included commits to RCS files with non-trunk default branches.


1932 08-Aug-1994 phk

Added -Dbsd4_4, this should close the problem with sys_errlist.


1931 08-Aug-1994 phk

gcc260.patch:
moved to the logical name.
libg++-2.6.patch:
FOO_MAX in limits.h isn't in hex under 2.0 (for the time being ??)
libg++-2.6.tcl:
it works on my 1.1.5.1 system. I cannot test it here until gcc-2.6.0
is installed.
gnu2bmake.tcl:
enhanced various ways.
README:
says "don't hack the bmaked sources"
gcc-2.6.0.tcl:
added the gen-* and md files to the bmaked sources. Not used by
makefiles. Do I need to add other files Garrett ?


1913 07-Aug-1994 jkh

cc -> cc26 (until Poul-Henning decides how he wants this to look).
Submitted by: jkh


1912 07-Aug-1994 jkh

Remove libg++ until we have a working one again.
Submitted by: jkh


1880 05-Aug-1994 wollman

Regenerate conf.h with configure script from original package.


1878 05-Aug-1994 wollman

Need -lcompat to link under 2.0.


1877 05-Aug-1994 wollman

Bump shared-library version numbers.


1876 05-Aug-1994 wollman

Last commit was slightly half-baked; try again. Use <sys/cdefs.h> to get
__P defined, rather than trying to do it ourselves.


1843 04-Aug-1994 wollman

Use __GNU_P not __P.


1842 04-Aug-1994 wollman

Use __GNU_P ratherthan __P.


1824 02-Aug-1994 phk

This commit was generated by cvs2svn to compensate for changes in r1823,
which included commits to RCS files with non-trunk default branches.


1823 02-Aug-1994 phk

Here comes the right import of gcc-2.6.0.


1815 02-Aug-1994 phk

This commit was generated by cvs2svn to compensate for changes in r1814,
which included commits to RCS files with non-trunk default branches.


1777 28-Jun-1994 jkh

Add Chris Demetriou's --unlink changes.

I know that I said earlier that this should be unconditional behaviour,
but I thought about it a little more and concluded that the principle of least
surprise dictates that I make it an option.


1764 22-Jun-1994 rgrimes

Fix serious off by one error for FreeBSD keyword, this has been driving
me nuts as it was on by default and that is NOT what I wanted.


1755 17-Jun-1994 jkh

Remove reference to the ld.so man page - ain't no such animal.
Reported by John Lind.


1741 15-Jun-1994 rich

Changes from Paul Kranenburg which bring us into sync with his sources:

handling of errors through the standard err() and warn()
more fixes for Geoff Rehmet's NULL pointer bug.
fixes NULL pointer bugs when linking mono and nested X servers.
supports a `-nostdlib' option.
accept object files without a symbol table
don't attempt dynamic linking when `-A' is given

a few variable names have chaged (desc -> fd), and the formatting has
changed which should make it much easier to track his sources.

I tested 'make world' for /usr/src and X twice with these changes.


1729 15-Jun-1994 jkh

Make gzip static by default. This is needed because it's such a
frequent companion to tar.


1728 15-Jun-1994 jkh

Make tar static by default. Don't scream, you'll thank me for this
someday.


1721 15-Jun-1994 adam

correct location of corefile data segment


1720 14-Jun-1994 csgr

Bug reported by Jon-Dean Mountjoy <csjm@cs.ru.ac.za>

Paul Kranenburg's description:
ld is in error here, assuming that symbols with N_EXT set always have an
entry in the (global) symbol table: this is not the case for C++ generated
constructor/destructor symbols. I can reproduce your failure by fudging
a "multiply defined" constructor symbol by hand. Checking for `g == NULL'
seems to be a ok as a fence for now.

So:
for now, in do_file_warnings() we check if g == NULL, before trying to generate
any warning messages. This prevents a NULL pointer dereference.


1718 14-Jun-1994 ache

Add LIBREADLINE and LIBTERM to DPADD


1716 14-Jun-1994 rgrimes

Clean up small error in the ncvs code that was causing rcs co to be
called with -K-Keoptions -Kioptions. This should fix the problem with
$Id$ still getting changed.

I am also install both ncvs and ocvs on freefall with this change as
ocvs still had the bug with -I \! which I fixed but did not reinstall.


1713 13-Jun-1994 ache

Remove PAGE_SIZE redifinition (from param.h)


1710 12-Jun-1994 ache

Change includes in proper way, i.e.
"readline.h" --> <readline/readline.h>
Remove -I./readline from Makefile (again!)


1709 11-Jun-1994 paul

Moved -DTRAD_CORE from gdb/Makefile to bfd/Makefile


1708 11-Jun-1994 paul

Modev -DTRAD_CORE for gdb/Makefile to bfd/Makefile


1707 11-Jun-1994 paul

Put back -I${.CURDIR}/readline in Makefile.

The sources are just broken and given that an extra -I flag is going
to be needed it may as well be as above to guarantee that the library
will build.


1702 10-Jun-1994 paul

Added kgdb subdir.


1701 10-Jun-1994 paul

Two files I "lost" the first time.
GDB4:


1700 10-Jun-1994 paul

GDB-4.12 from ports with support for shlibs but not the kernel.

This is a greatly pared down version of the full gdb-4.12, all the
config stuff has been removed and the supporting libraries have
been stripped to a minimum. This is a 1.1.5 only port, I'll do a
more complete port for 2.0 which will have all the config stuff
and will install the gnu support libraries as system libraries like
we do for readline.

There wasn't much point for 1.1.5 since only gdb would use them so I
went for saving space instead. For 2.0 I'll config all the
other gnu tools to use them as well.


1698 10-Jun-1994 ache

Remove -I./readline, unneded with make includes


1686 05-Jun-1994 csgr

Make these Makefiles work properly when NOMAN is defined.
(I wish they just used bsd.prog.mk)


1685 05-Jun-1994 csgr

Manual pages are now installed via the bsd.man.mk macro, since the
existing arrangement in this makefile doesn't allow for compressed
manual pages.


1683 05-Jun-1994 ats

Add the -r and -s flags to the Usage string.


1663 31-May-1994 alm

Call fpsetmask(3) so awk doesn't dump core on FP exceptions.
Upgrade to version 2.15.5


1659 31-May-1994 ache

Back out previous change and allow uucico to run by others,
this required by several programs


1657 31-May-1994 ache

Don't need to restrict cu, it can be able to check permissions by itself


1656 31-May-1994 ache

Allow uux and uucp to run by others,
we can got problems with various mailers in other case


1655 31-May-1994 ache

I forget to add BINGRP=$(group)


1654 31-May-1994 ache

Disallow uucp execution to others.
It maybe not so nice, but if any user can easily shut up your
mail feed with big file isn't nice too.


1653 31-May-1994 ache

Allow group "dialer" to run cu
Disallow others to run cu


1652 31-May-1994 ache

Don't allow others to run uuconv


1651 31-May-1994 ache

Don't allow others run uuchk


1650 31-May-1994 ache

Don't allow others run uuxqt


1649 31-May-1994 ache

Don't allow others run uucico


1644 31-May-1994 ache

Change group to uucp group


1619 28-May-1994 csgr

Turn globbing on when a section number is specified, this makes things work
properly when /usr/share/man/man?/ contain gzipped unformatted pages.


1616 28-May-1994 csgr

Add comments to Makefile.inc's about libg++ and shlib nos.


1583 27-May-1994 csgr

Remove explicit specification of SHLIB major and minor nos.


1563 26-May-1994 csgr

Bump all minor nos. of libs in /usr/src/gnu/lib.
shlibs are now version 1.1


1555 26-May-1994 rgrimes

Got this fix from think.com:
The following two patches should allow the documented "-I !" option to
skip the ignore lists and import/update all files in the directory.

I need it to force certain files to import (ie, csh.a which is part of
the csh documentation).


1552 25-May-1994 ache

Fix -z key, patch from Taylor


1551 25-May-1994 ache

Documentation added


1538 24-May-1994 rgrimes

Got this from think.com, nice patch to add Index: lines to cvs diff output
so you can put it right into patch.
Patch by Brian Berliner.


1537 24-May-1994 rgrimes

Enhancements to use now -K option to rcs so that certain keywords are
NOT touched by cvs. Only takes effect if -DFREEBSD_DEVELOPER, and installs
as ncvs when this is defined. You must also have the changes to rcs
for this to work.


1535 23-May-1994 ache

Fix catman to produce zipped cats, like man does.
In other (old) case we have both kind of cats at once.


1522 20-May-1994 ache

Fix multiply slash problem


1517 19-May-1994 jkh

A perfectly good libgnuregex.a and you can't use it! No header was being
installed. Do so now as gnuregex.h


1509 17-May-1994 ache

We have BROKEN_SETREUID by Taylor point of view


1504 17-May-1994 jkh

Stop toasting folks' /etc/manpath.config files.


1503 17-May-1994 rich

Add X11R6 to manpath in preprataion for XFree86 3.0.


1500 15-May-1994 rgrimes

To truely have the OLD behavior of RCS by default make the expansion
of $FreeBSD$ false by default. This should keep them out
of the pre 2.x repository. (Or at least make them useless in it).


1496 14-May-1994 rgrimes

Add -K option to pass keywordlists to rcs so we can disable and enable
specific keyword expansion on cvs co and cvs patch commands.


1495 14-May-1994 rgrimes

No longer use FSYNC_ALL by default, we do not have the stability problems
with the system as we once did. This should greatly increase the speed
of rcs and therefore cvs.


1494 14-May-1994 rgrimes

Add new option -K from David Dawes that allows you to turn on and off
specific keyword substitution during a rcs co command.
Add the new keyword FreeBSD that is IDENTICAL in operation to $Id$.


1493 14-May-1994 ache

Make local changes more portable.


1492 13-May-1994 ache

Upgrade to readline 2.0 from bash1.14.1


1488 12-May-1994 rgrimes

If you want no manual pages so NOMAN=, not MAN1=NOMAN!


1487 12-May-1994 phk

typo.


1486 12-May-1994 phk

made -v produce tip-revision, which was what I wanted in the first place...


1485 11-May-1994 phk

Added -v option to rlog. This gives a quick way to get a list of versions.


1484 11-May-1994 ache

Add PAREN_MATCHING to CFLAGS


1483 11-May-1994 ache

Remove #ifdefs which may confuse external packages which include
this headers


1482 11-May-1994 ache

Add HAVE_VARARGS_H to CFLAGS
Add VISIBLE_STATS to CFLAGS, fix complete.c for successful
compilation with VISIBLE_STATS


1481 11-May-1994 ache

Add some note, how to tune readline to 8-bit clean mode


1480 11-May-1994 ache

Add VI_MODE to CFLAGS


1479 11-May-1994 ache

Back out forced 8-bit mode, it can be tudned from ~/.inputrc file


1477 10-May-1994 ache

Add note about additional changes


1476 10-May-1994 ache

Make readline 8-bit clean


1475 10-May-1994 ache

Back out previous fix, correct place to fix is octave program


1474 10-May-1994 ache

Correct rl_attempted_completion_function type to Function *
for successful compilation with octave


1473 09-May-1994 ache

Merged with new readline 2.0 from bash


1472 09-May-1994 ache

Merge with much improved version from gdb4.11


1471 09-May-1994 ache

Install history.h to /usr/include/readline too, gdb4 include it


1470 09-May-1994 ache

Remove readline copy, now gdb use gnu lib tree libreadline


1469 09-May-1994 ache

libreadline added


1467 09-May-1994 ache

This commit was generated by cvs2svn to compensate for changes in r1466,
which included commits to RCS files with non-trunk default branches.


1464 07-May-1994 ache

Upgrade to version 1.05


1461 06-May-1994 alm

Add GNU regex.h


1460 06-May-1994 alm

added ptx


1458 06-May-1994 alm

This commit was generated by cvs2svn to compensate for changes in r1457,
which included commits to RCS files with non-trunk default branches.


1452 04-May-1994 adam

Use correct stack segment with corefiles.


1450 03-May-1994 ache

1) Add \p\c after CONNECT for modems which give CONNECT before
carrier up
2) Add more chat-fail codes
3) Add comment about complete/abort scripts, when modem handle
DTR drop properly


1418 26-Apr-1994 jkh

Back my earlier BSD_TTY change out of -current.


1414 25-Apr-1994 jkh

From: stark!gene@newsserv.cs.sunysb.edu (Gene Stark)
Message-Id: <199404171501.LAA01245@stark.UUCP>
To: freebsd-hackers@freefall.cdrom.com
Subject: Make world and UUCP
Sender: freebsd-hackers-owner@freefall.cdrom.com
Precedence: bulk

It would be much more convenient if "make world" didn't clobber my
UUCP configuration files in /etc/uucp. Perhaps the easiest fix would
be to change the names of the sample configuration files:

config -> config.sample
ports -> ports.sample
...


1413 25-Apr-1994 jkh

From: Marko Teiste <mte@tigger.cirion.fi>
Message-Id: <199404241154.OAA00260@tigger.cirion.fi>
Subject: uucp error
Index: gun/libexec/uucp FreeBSD-1.1-GAMMA
Apparently-To: FreeBSD-bugfiler@freefall.cdrom.com
Sender: freebsd-bugs-owner@freefall.cdrom.com
Precedence: bulk

Description:
When calling remote uucp site dialing succeeds, but standard
login chat fails. Debug file shows that uucico does not see
any characters send from remote.

Repeat-By:
use sio drivers, 16450 base serial and standard taylor configuration
provided with the GAMMA release. Run uucico and observer.

Fix:
define HAVE_BSD_TTY instead of HAVE_POSIX_TTY in common_source/policy.h
and recompile.


1411 24-Apr-1994 jkh

Fix gross spelling and typographical errors pointed out by Keith Bostic.


1361 13-Apr-1994 ats

Change the private declarations from dlopen,dlclose,dlsym,dlctl
to public. These functions are also used in /usr/include/link.h,
so it looks, like they shouldn't be private.
I will ask Paul about that, if this is correct.


1360 13-Apr-1994 ats

Better link ldconfig static instead dynamic.


1359 13-Apr-1994 ats

Changed the Makefiles for catman and makewhatis that the output from the
sed goes into an obj dir, if it exists, instead of the src dir.


1336 05-Apr-1994 ats

Add that /usr/X386/lib is also in the default path for ldconfig. Bug found
by Satoshi Asami ( asami@cs.berkeley.edu ). Fixed also a minor typo
problem.


1322 02-Apr-1994 jkh

Back out previous change.


1317 01-Apr-1994 jkh

Fix from Gene for bogus destinations.


1300 23-Mar-1994 jkh

Something bogus happened here; not sure what or how.
Fixed.


1277 19-Mar-1994 jkh

Make man the default owner, don't bother with sgid.


1276 19-Mar-1994 jkh

Correct pre-installation target.


1271 18-Mar-1994 jkh

Change group id to man


1266 16-Mar-1994 jkh

Make man sgid bin, not sgid AND suid. There is no reason to make man suid
bin since all you need to do is make the cat dirs group owned and writable
by bin - much less dangerous.


1255 10-Mar-1994 ats

Due to the deletion of the gcc support from libc we need again the
-lgcc_pic library. rtld uses the udivd3 routine from it.
Repeat the bug by simply compiling ld on current.


1252 09-Mar-1994 dg

Document existance of -Z


1238 05-Mar-1994 jkh

New manpage compression support. Only one macro controls compression
now, DO_COMPRESS. This controls whether or not catpages are compressed or
not (on by default, since little else uses the catpages and those few things
that do can always configure in a `zmore' in place of more or something, and
saving space is more important, IMHO).

Uncompression support is now on by default since that's the only way to support
mixed-mode environments. If you don't like it, just don't compress your man
pages and it won't be used! :-). Supports gzip. You can also compress
the man pages themselves (or gzip them) now and it will work.


1212 25-Feb-1994 phk

added the -C/-check again.


1184 20-Feb-1994 rgrimes

Alignment fix from John Dyson/David Greenman


1174 17-Feb-1994 jkh

Put this back - I was somehow under the erroneous impression that patch was in
ports, until I saw the the commit messages, that is! :-) All changed backed out.


1173 17-Feb-1994 jkh

From Poul-Henning Kamp - Implement a -C option to verify the integrity of
a patch before actually applying it.


1167 17-Feb-1994 dg

Handling of the netzmagic flag was completely missing after the last
update. This completely broke support for all ZMAGIC a.out formats.


1160 14-Feb-1994 nate

NetBSD -> FreeBSD (This is the FreeBSD version, not the NetBSD version :-)


1158 14-Feb-1994 rgrimes

I yelled, I warned and now I am SCREAMING. Add -D__FreeBSD__ to CFLAGS+=
so that you can bootstrap a 1.0.2 system. Please oh please no one but
no one add any more #ifdef __FreeBSD__ stuff UNTIL 1.1 has SHIPPED!!!


1155 13-Feb-1994 jkh

A fast private malloc for ld.so


1153 13-Feb-1994 jkh

This is Paul K's latest set of ld changes. A commit was necessary at this
late stage due to the fact that link.h was copyright Sun Microsystems.

This version of ld sync's us up with NetBSD's ld and supports compatablily
with NetBSD's -[zZ] flags (which we had reversed). Compiling with this
new ld will give you RRS warnings for libraries which do not contain .type
infomation - these wsarnings are harmless and will go away as soon as you
recompile your libraries (cd /usr/src; make libraries).


1149 12-Feb-1994 jkh

From: Piero Serini <piero@strider.st.dsi.unimi.it>
Message-Id: <199402111717.SAA05326@strider.st.dsi.unimi.it>
Subject: Re: cpio bug ?
Quoting from J Wunsch:
> | From the man page:
> |
> | -l, --link
> | Link files instead of copying them, when possible.
>
> (Usable only with the -p option.)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
This is not in cpio man page. Someone please add it.


1146 11-Feb-1994 nate

Changed NetBSD -> FreeBSD


1132 09-Feb-1994 rgrimes

Remove /usr/X386/lib and /usr/local/lib from the default locations,
these are handled by /etc/rc and this was causing errors on a new
install as these places do NOT exsist by default!


1123 07-Feb-1994 ache

Partially undo prevoius fix from Ian Taylor, VTIME must be 0 here


1101 06-Feb-1994 jkh

Patches from Gunter Jung to make xchat work properly.


1044 30-Jan-1994 rgrimes

Update for new organization of gnu tree.


1043 30-Jan-1994 rgrimes

Update for new organization of gnu tree.


1042 30-Jan-1994 rgrimes

Update for new organization of gnu tree.


1041 30-Jan-1994 rgrimes

Update for new organization of gnu tree.


1040 30-Jan-1994 rgrimes

New files for relocated source code.


1037 29-Jan-1994 nate

No longer install the GNU regex.h include file.


986 19-Jan-1994 dg

Removed dependance on EX_DYNAMIC in making decisions on the magic number.


973 14-Jan-1994 jkh

More proper fix for for shared lib debugging support.


972 12-Jan-1994 jkh

1. Fix bug where duplicate symbol warnings were suppressed. This often
caued ld to `exit silently', to general confusion.

2. Add Gary Jennejohn's fix to support debugging of shared libraries.


953 07-Jan-1994 dg

From: swildner@channelz.GUN.de (Sascha Wildner)

What follows are the changes I made to make XChess compile. There are
still a couple of bugs left which maybe someone else will fix.


929 03-Jan-1994 jkh

Updated man page to document new behaviour of -Z, -z and -Q flags.


928 03-Jan-1994 dg

Implemented 'QMAGIC' a.out format correctly, and changed the default
output to be QMAGIC.


925 03-Jan-1994 dg

Only use syscallmap if FM_TRAP or EX_TRAPSTK are defined.


921 31-Dec-1993 ats

Added y.tab.h to the CLEANFILES target.


917 28-Dec-1993 smace

Update shlib version to 1.0


916 28-Dec-1993 smace

Update version to 1.0


912 22-Dec-1993 jkh

C++ support changes (+misc fixes) from Paul K.


871 16-Dec-1993 nate

Fixed Makefile per bug report from Julian Stacey. There was an extra DESTDIR
in front of BINDIR definition.


853 12-Dec-1993 jkh

Sync to PK's latest version. I know that this is in /usr/src, the bloody
patch file had absolute pathnames in it and went and patched /usr/src directly
(first time this has happened, I'll watch for it now), so I thought I might
as well just commit it and clean up the .orig files and whatnot left behind.
Sorry - this is the first time this has happened to me. Very confusing.

These files aren't really necessary to us, but should be kept in sync anyway.


852 12-Dec-1993 jkh

Sync to PK's latest version. I know that this is in /usr/src, the bloody
patch file had absolute pathnames in it and went and patched /usr/src directly
(first time this has happened, I'll watch for it now), so I thought I might
as well just commit it and clean up the .orig files and whatnot left behind.
Sorry - this is the first time this has happened to me. Very confusing.


847 11-Dec-1993 jkh

Added sbrk() as new file.


846 11-Dec-1993 jkh

Broke sbrk() out of rtld as part of general cleanup.


844 11-Dec-1993 jkh

Omitted 4th argument to findshlib() [thanks Rich!]. Our ld is a bit
different from NetBSD's here and it squeaked through the update.


843 11-Dec-1993 jkh

Sync up with Paul K's latest ld from cesium.


838 10-Dec-1993 jkh

makedepend fails for ld. I think it because the .S files are
preprocessed the same as when they are compiled. I just remove the
single-quotes from the offending comments. Rich


836 09-Dec-1993 jkh

Added the TODO file. Also wanted to announce the previous change to rtld.c
which eliminates the stack walking code (from David G.). My previous commit
message was eaten by mistake!


835 09-Dec-1993 jkh

David Greenman's latest changes to eliminate much stack-walking jazz
(no more sbrk_init()!).


829 04-Dec-1993 jkh

More changes to bring FreeBSD in sync with Paul K's latest.


828 04-Dec-1993 jkh

More changes to bring FreBSD in sync with Paul K's latest.


825 02-Dec-1993 ache

Sorry, Jordan, but I restore previous version again.

You write that
LDFLAGS+= -Xlinker -Bstatic
no more needed, but you have
CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE)
This -static doesn't make any sense in your version,
because it not passed to linker's state (LDFLAGS),
so we have SHARED /usr/bin/ld in this case.
(Older Makefile produce non-shared ld).
I suppose, that -static in CFLAGS was introduced to
make non-shared ld, so I restore previous LDFLAGS
to have non-shared ld. If we want to have shared ld
we need to remove -static from CFLAGS too, not only LDFLAGS,
but this need special issue and corresponding
commit log. Your current version hang into intermediate
state (beetween two sides), so I move it to one side.

Second, I restore NOPIC dependance again from older Makefile:
.if !defined(NOPIC)
SUBDIR+= rtld
.endif
We don't need ld.so, if NOPIC

P.S. I don't see any purpose to commit new makefile, old version
is better.


824 02-Dec-1993 ache

#ifdef DEBUG unwanted message, third time after Jordan...


823 02-Dec-1993 nate

Moved DEBUG conditional where it belonged to remove DEBUG code out of
default compilation.


822 02-Dec-1993 jkh

Second attempt to integrate Paul K's changes.


821 02-Dec-1993 jkh

Second attempt to integrate Paul K's changes.


820 01-Dec-1993 ats

deleted all references to rindex and included string.h instead.


819 01-Dec-1993 ats

changed the order of the includes and deleted a reference to index
nd added an include to string.h instead


818 01-Dec-1993 ache

All -static and -Xlinker -Bstatic flags missed in
newly commited Makefile.
NOPIC dependance missed too!
Oh it is really pain to check all that broken stuff,
Please, check it *before* commit!


817 01-Dec-1993 ache

#ifdef DEBUG missed by several lines!
!!! Please, COMPILE *BEFORE* COMMIT!


816 01-Dec-1993 ache

Add DEBUG #ifdef, (second time!)
!!! Please, anybody who update ld to NetBSD current,
!!! look at old cvs logs!


815 01-Dec-1993 ache

Remove hanging #else part (with second sbrk()) without #if & #endif
Add missing argument to findshlib, I am not shure,
but it seems that it is 1.
!!! Does anybody compile it before commit?


814 01-Dec-1993 ache

Remove -g option (second time!)
!!! Please anybody who port Makefiles from NetBSD,
!!! remove -g option!


812 30-Nov-1993 jkh

Latest from Paul K. for better checking of PIC code.


811 30-Nov-1993 jkh

Many recent fixes from Paul K, add support for chaining of shared lib deps.


797 25-Nov-1993 jkh

Added -lgcc_pic back again.


792 22-Nov-1993 jkh

Some of the latest changes from Paul K (taken from NetBSD-current).


788 20-Nov-1993 jkh

If we're not logging history information, don't demand write access.


786 18-Nov-1993 jkh

Recent Paul K. changes for compiling X shared (tested on my box).


784 18-Nov-1993 ache

remove HAVE_SETPGRP, because it doesn't detach terminal
in POSIX (setsid() is only way to do it)


783 18-Nov-1993 ache

IMAXBELL & PENDIN now cleared to satisfy new sio driver.
From Ian Taylor.
Fix POSIX CLOCAL behaviour, set controlling terminal after it.
Change VTIME from 0 to 1 to fix timeouts waiting for data


782 18-Nov-1993 ache

From Ian Taylor.
Fix POSIX detach behaviour, based on setsid() call.
stpgrp(0,0) not used for POSIX now.


776 17-Nov-1993 ache

Diagnostic "RRS text relocation at %#x (symbol %s)"
commented out in #ifdef DEBUG
As Paul told me, it is only informational, nothing more.
I don't want several screens of this information
on each linking (netstat f.e.)


773 16-Nov-1993 paul

Default magic is back to netbsd ZMAGIC,
new a_midmag format needed for dynamic binaries.
-z produces normal ZMAGIC. (this gets our kernel built)
-Z produces netbsd ZMAGIC. (currently default)


769 16-Nov-1993 paul

Swapped meaning of -Z and -z options.

On any other system -z means "standard" ZMAGIC format and is the
default. Therefore I've made -z be standard ZMAGIC and -Z be ZMAGIC
stored in the new a_midmag format.

The "standard" ZMAGIC format is now the default as well.


767 15-Nov-1993 paul

Incorporated fixes from Paul to make -Z option work. Emits old-style
ZMAGIC magic numbers in a long.


754 12-Nov-1993 nate

Update to GNU diffutils 2.6
(Forgot to cvs add them)


753 12-Nov-1993 nate

Updated to GNU diffutils 2.6


752 12-Nov-1993 nate

Update to GNU diffutils 2.6


746 09-Nov-1993 paul

Added
.if !defined(NOPIC)
SUBDIR+= rtld
.endif

so linker can be built without building ld.so


745 09-Nov-1993 paul

Cahnged ldconfig.0 to ldconfig.8 for our man system.


744 09-Nov-1993 paul

Remoed -g flag and added -static.


743 09-Nov-1993 paul

Added
SHLIB_MAJOR=0
SHLIB_MINOR=0


742 09-Nov-1993 paul

Added -lgcc_pic to Makefile -- Why do we need this and NetBSD don't ??

Incorporated patch by Guido (inspired by Davidg) that fixes stack
problem. May not be final fix but it works more than the current method.


740 09-Nov-1993 paul

Updated to newest ld from pk.

lib.c:
Pull in archives containing definitions needed by shared objects.
warnings.c:
Less spurious "undefined symbol" msgs for shared library defined
symbols.
ld.c:
Do a better job of recognising data in text segments, eg. `const char []'.
shlib.c,ld/rtld/{Makefile rtld.c}
Use strsep() in stead of strtok() and restore colons in eg. env. vars.


732 08-Nov-1993 nate

Removed some extra cruft from the man page to make it look more 'BSD'ish
and less 'GNU'ish


730 08-Nov-1993 nate

Updated to GNU textutils 1.9


729 08-Nov-1993 nate

Updated to GNU textutils-1.9


726 08-Nov-1993 nate

From: Larry Jones <scjones@thor.sdrc.com>
Subject: man pages for diff et al.

I finally got tired of not having man pages for diff and friends, so I
edited the appropriate sections of the texinfo manual into man format.


711 07-Nov-1993 paul

Added -lgcc_pic to LDFLAGS in rtld/Makefile


703 06-Nov-1993 paul

Changed ldconfig.0 to ldconfig.8 for our man setup.


702 05-Nov-1993 ache

-g removed from CFLAGS (with permissions from Paul)


696 03-Nov-1993 paul

Imported NetBSD's ld for shared libs.


691 03-Nov-1993 paul

Brought over NetBSD's gas ready for pk's shared libs.


669 26-Oct-1993 dg

Added support for QMAGIC format executable output. This causes the loader
to output the same QMAGIC format as BSDI does. This is triggered by
a new '-q' flag ('-Xlinker -q' in gcc). The default can be changed from
ZMAGIC to QMAGIC by defining DEFAULT_MAGIC=QMAGIC when building ld.


636 19-Oct-1993 rich

merge free.c realloc.c into malloc.c so that all three are linked in
if any are referenced.

libc's malloc.o contains malloc(), free() and realloc(). And libc
refers to realloc which will cause the linker to pull in redundant
malloc() and free() definitions from malloc.o if it isn't already
linked in from GNU malloc. Rich


601 14-Oct-1993 rgrimes

Makefile to install sample files in /etc/uucp with correct ownership and
permissions


600 14-Oct-1993 rgrimes

Add subdir samples so that the sample scripts can get installed in /etc/uucp.
Add group to Makefile.inc for use in installing sample files


597 14-Oct-1993 nate

Updated gzip from version 1.2.2 to 1.2.4 due to popular demand


566 10-Oct-1993 jkh

Try copy if rename of temporary catpage fails.


559 09-Oct-1993 jkh

Handle both signals and errors in child processes, rather than just signals
as before.


548 08-Oct-1993 jkh

Allow ^C to interrupt with some semblance of politeness to cgd.


547 08-Oct-1993 jkh

More paranoid dealings with system()


503 24-Sep-1993 rgrimes

>From: "J.T. Conklin" <jtc@sun-lamp.cs.berkeley.edu>
Date: Fri, 24 Sep 1993 10:19:20 -0700

Fixed bug that was reported (with patch) on gnu.utils.bug.
Immediate operands of the pushw instruction were being output as 32
bits, rather than the 16 bits they were supposed to be.


502 24-Sep-1993 rgrimes

Added libmalloc to top level Makefile


501 24-Sep-1993 rgrimes

This is gnu lib malloc from NetBSD verbatium, here is the version info
that Chris created:
this version of GNU malloc was obtained from prep.ai.mit.edu on
9/22/1993. There was no version noted.


497 22-Sep-1993 rich

Increaed the fixed static buffer sizes and maximum hunk size that
otherwise causes the XFree86 1.3 patch set to fail.


413 08-Sep-1993 rgrimes

Added bsd.prog.mk so that make maninstall would work


407 07-Sep-1993 nate

Removed some hard-coded paths in gzexe so it works with the current
FreeBSD setup


385 05-Sep-1993 rgrimes

From: rich@id.slip.bcm.tmc.edu.cdrom.com (Rich Murphey)

ld won't generate output if there are two .o files with the same
name. It thinks they are multiply defined external references. This
patch explictly allows multiple /file names/ with the same value.
This can happen if you do a two stage link or if you link in file
names that are identical to files in libc.

Otherwise ld.c exits with a status=1 and non error message. Rich


378 02-Sep-1993 rgrimes

The src/games/Makefile.inc use to control the location this installed in,
since this has been moved to src/gnu I had to copy the contents of
src/games/Makefile.inc into this Makefile to get it to install in
/usr/games/hide


321 23-Aug-1993 rgrimes

Changed install -o root -g bin to -o ${BINOWN} -g ${BINGRP} on the header
install commands to be consistent with other header files.


300 20-Aug-1993 rgrimes

chess is now in src/gnu, moved here from src/games


299 20-Aug-1993 rgrimes

Added libg++ since it is now in src/gnu


298 20-Aug-1993 rgrimes

Removed gcc1 from top level make file, moving gcc1 to ports, gcc is becoming
the system default compiler. The move of gcc1 in the cvs repository will
be done specially to retain all history. You will only see a commit
message for it's removal, the addition of it to ports will be done, you
just won't see the commit.


296 17-Aug-1993 rgrimes

Replaced empty manual page with one that has atleast some of the stuff
in it.
From: Andreas Schulz <ats@g386bsd.first.gmd.de>

I have uploaded the man page from gas 2.1.1 under ~ats/as.1 .


294 16-Aug-1993 jtc

SRCS should contain *.c's, not *.o's.


291 14-Aug-1993 nate

Removed Jordan's DO_LINKS from the Makefile, since this behavior is not
'normal' CVS behavior, and we've never used nor depended on it.
(And at times I've gotten bit by it)


254 08-Aug-1993 rgrimes

Changed afterintall: target to beforeinstall: so that it is easy to get
the regex.h header file installed.


253 07-Aug-1993 jkh

This is GNU cpio 2.3. It handles tar files and is fully compatible
with SYSV cpio. It's also supposed to integrate rmt support, though
I haven't tried this.


252 07-Aug-1993 jkh

Added target for cpio.


249 06-Aug-1993 rgrimes

Fixed manual page names from .0 to .8.


248 06-Aug-1993 rgrimes

Since there are no c sources in this directory we need a null depend:
target. I added this.


247 06-Aug-1993 conklin

FreeBSD doesn't define sig_atomic_t in <signal.h> like it should...


246 06-Aug-1993 nate

Have rlog output be much easier to parse. (Added one line which is not
used by any CVS/RCS commands)


243 05-Aug-1993 conklin

Added uucp


242 05-Aug-1993 conklin

Taylor UUCP 1.04


240 04-Aug-1993 nate

Cleaned up the Makefile to look nicer and not require a lot of hacks


239 04-Aug-1993 jkh

Added man page - it looks a little odd in places (the 'i' and 'o'
commands), but this is the way it looked in the texinfo docs so I
stayed faithful to RMS's original presentation.


237 03-Aug-1993 nate

dc has no man page, so add NOMAN to Makefile


236 03-Aug-1993 rgrimes

Added libregex to Makefile


224 02-Aug-1993 alm

added dc to gnu/Makefile


221 31-Jul-1993 alm

This commit was generated by cvs2svn to compensate for changes in r220,
which included commits to RCS files with non-trunk default branches.


218 30-Jul-1993 conklin

GNU Regex 0.12


199 27-Jul-1993 alm

changed BINMODE= 6555 and CATMODE= 0664


197 27-Jul-1993 alm

Added setreuid() calls so that shell escapes work.
The effective ID's need to be set to the real ID's before invoking
a shell for security reasons.


195 26-Jul-1993 paul

Added Charles changes for GCC@ symbols.


190 26-Jul-1993 alm

updated man to use more as the default pager


188 24-Jul-1993 alm

changed find . -name '*' to find . -type f


186 23-Jul-1993 nate

Added ${DESTDIR} to all the naked install commands w/out them.


185 23-Jul-1993 jkh

Changes to make `maninstall' work.


184 23-Jul-1993 jkh

Added Christoph Robitschko's catman


180 21-Jul-1993 nate

Removed manpath.1 and added CLEANFILES directive to Makefile since it's
made automagically.


179 21-Jul-1993 nate

Made makewhatis installed as 555 so that people could actually run it.


178 21-Jul-1993 alm

added mandoc macro support;
each name now generates a separate whatis data base entry


177 21-Jul-1993 nate

One last thing for making sure it works.


176 21-Jul-1993 jkh

Changes to allow man to work with or without obj dirs.


167 20-Jul-1993 rgrimes

The install of manpath.config did not have a ${DESTDIR} in it. These
are needed on all install commands in Makefiles!


161 19-Jul-1993 nate

The man page is now in two places, both in the DOCUMENTATION directory and
the source directory, but there isn't a very portable way of creating
it w/out writing to the source directory, so I just copied it.


143 18-Jul-1993 jkh

Added fix from Rich to accept catpages with .0 syntax for backwards
compatability (XFree86 man pages will still be .0'd for awhile).


139 18-Jul-1993 jkh

Fixed braindamage.


137 17-Jul-1993 rgrimes

Fixed make file for tags target, removed files that are generated by the
Makefile.


136 17-Jul-1993 rgrimes

Removed files that are generated by the Makefile. Fixed Makefile for
make depend so that config.h gets created so make depend does not fail
in other directories.


135 17-Jul-1993 rgrimes

Fixed make file for tags target, removed files that are generated by the
Makefile.


133 16-Jul-1993 rgrimes

ARGHH.. removed less from Makefile, since it has moved to usr.bin


131 16-Jul-1993 rgrimes

Added BINMODE=2555 so that it can write the man pages into /usr/share/man/catx.
This means the man dirs must be owned by group BIN. I have set up the
distribution building tools to be that way.


130 16-Jul-1993 rgrimes

Merge. Fix LINKS+= with $DESTDIR$BINDIR in them, you do NOT need to
specify $DESTDIR on a LINKS+= line.


128 16-Jul-1993 jkh

Whoops, forgot to add this one.


127 16-Jul-1993 jkh

Lots of stuff is now configured in Makefile.inc, path to `less' no longer
absolute, less uses "fall off end" flag by default, manpath.config now
properly installed. Happy now, Rod? :-)


121 14-Jul-1993 nate

chmr@edvz.tu-graz.ac.at

gnu/rcs/rcs and rcsfreeze have the wrong man extension in their
Makefiles (.0)


116 09-Jul-1993 conklin

Update diff, diff3, and sdiff's makefiles to use .PATH: instead of
copying the same files to multiple directories. This should make
things easier when it comes time to update to a newer version of
diffutils.

With this checkin, this brings the netbsd and freebsd diff dists
into sync.


113 09-Jul-1993 conklin

Update makefiles:
centralize obj/noobj conditional in Makefile.inc
use DPADD
don't compile profiling library
install rcsfreeze correctly
After this commit, the freebsd and netbsd rcs distribution will be in sync.


109 08-Jul-1993 jkh

Changed Makefile to use Nate's selective obj/noobj build scheme.


107 08-Jul-1993 conklin

Gnu grep 2.0 does fgrep too!


106 08-Jul-1993 jkh

Added less to list of things to make.


104 07-Jul-1993 jkh

This commit was generated by cvs2svn to compensate for changes in r103,
which included commits to RCS files with non-trunk default branches.


102 07-Jul-1993 paul

Added gcc1 to gnu makefile


101 06-Jul-1993 nate

Really cleaned up obj/noobj this time (same as I did with CVS)


100 06-Jul-1993 nate

We don't need librcs.a in /usr/lib, so make install not do anything


99 06-Jul-1993 nate

Really fixed the obj/noobj problems in CVS, and also made it so a
make install did not install libcvs in /usr/lib, since it has no
reason to do that.


98 06-Jul-1993 nate

Removed egrep since the new grep is just a link to it w/out any changes
anymore


97 06-Jul-1993 nate

Left an ugly in the Makefile


94 06-Jul-1993 nate

Update GNU grep to version 2.0


93 06-Jul-1993 nate

Don't echo anything when doing null args, since not doing anything is
more like the standard behavior.


92 06-Jul-1993 nate

#ifdef out an unecessary function prototype that conflicted with the
system prototype. (Needed for gcc1)


84 02-Jul-1993 root

New manual page system


83 02-Jul-1993 root

New manual page system


81 01-Jul-1993 nate

Bruce Evans:

The enclosed diffs implement printing of the floating point state for
the version of gdb-3.5 in 386BSD-0.0. I don't have gdb for 386BSD-0.1
but I've been told that it is also missing this feature.

The changes are small. Code to read the FP state from the kernel was
#ifdef'ed out, but it essentially works. Code to change the FP regs
is still #ifdef'ed out. It is close to working too. Printing of the
FP regs was broken because hard reg numbers were confused with stack
offsets.

4. The emulator does not handle FP errors right, and it does not
communicate the emulated FP state to the rest of the kernel, so
"info float" shows garbage.


78 29-Jun-1993 nate

Fixed a missing letter that causes an error when formatting the document


77 29-Jun-1993 nate

ld is moved to src/gnu


76 29-Jun-1993 nate

Added gdb/gas/ld to GNU makefiles
Changed the default install directory to be /usr/bin, instead of the
non-standard /usr/gnu/bin. Until we fix the rest of the tree, it
breaks things.


75 29-Jun-1993 nate

Added the new gas directory


74 29-Jun-1993 nate

Added GNU gdb to src/gnu


73 29-Jun-1993 nate

Added diff/diff3 to the Makefile


71 29-Jun-1993 nate

This commit was generated by cvs2svn to compensate for changes in r70,
which included commits to RCS files with non-trunk default branches.


68 29-Jun-1993 nate

This commit was generated by cvs2svn to compensate for changes in r67,
which included commits to RCS files with non-trunk default branches.


66 29-Jun-1993 nate

Added fgrep to Makefile


65 29-Jun-1993 nate

Ugh, whoever did the port made a mess, I cleaned up the Makefile and
deleted un-necessary stuff


64 29-Jun-1993 nate

Added entries for egrep and grep


62 29-Jun-1993 nate

This commit was generated by cvs2svn to compensate for changes in r61,
which included commits to RCS files with non-trunk default branches.


60 29-Jun-1993 nate

Added sort to Makefile


58 29-Jun-1993 nate

This commit was generated by cvs2svn to compensate for changes in r57,
which included commits to RCS files with non-trunk default branches.


56 29-Jun-1993 nate

Added pr to the Makefile


55 29-Jun-1993 nate

Added a CLEANFILES entry for getdate.c (it's created by yacc)


54 29-Jun-1993 nate

This commit was generated by cvs2svn to compensate for changes in r53,
which included commits to RCS files with non-trunk default branches.


51 28-Jun-1993 nate

Added Chris Demetriou's FSYNC_ALL option which causes all writes to be
flushed immediately. (In case of a crash in the middle of CVS/RCS commits


47 25-Jun-1993 nate

Fixed up CVS like RCS to allow obj or no obj directory.


46 25-Jun-1993 nate

Fixed cvs to work with/without object directories and added missing rcslean
directory to top level makefile.


45 25-Jun-1993 jkh

One small change to make the code clearer in update.


44 24-Jun-1993 jkh

Changes to allow simple symlink handling


41 21-Jun-1993 rgrimes

Add gcc2 to Makefile


40 21-Jun-1993 rgrimes

Removed BINDIR= from Makefile so that bc installs in /usr/gnu/bin


36 19-Jun-1993 root

Added patch to SUBDIRS


34 19-Jun-1993 paul

This commit was generated by cvs2svn to compensate for changes in r33,
which included commits to RCS files with non-trunk default branches.


29 19-Jun-1993 paul

This commit was generated by cvs2svn to compensate for changes in r28,
which included commits to RCS files with non-trunk default branches.


27 19-Jun-1993 rgrimes

Added bc 1.02 bmake to the tools


26 19-Jun-1993 nate

Updated gzip from 1.1 to 1.2.2


25 19-Jun-1993 rgrimes

Added gzip to src/gnu/Makefile so it gets built.


21 18-Jun-1993 nate

Cleaned up yacc problems that shouldn't have existed in the original port


19 18-Jun-1993 nate

This commit was generated by cvs2svn to compensate for changes in r18,
which included commits to RCS files with non-trunk default branches.


15 18-Jun-1993 jkh

Adding GPL docs, make structure.


13 18-Jun-1993 jkh

This commit was generated by cvs2svn to compensate for changes in r12,
which included commits to RCS files with non-trunk default branches.


10 18-Jun-1993 jkh

This commit was generated by cvs2svn to compensate for changes in r9,
which included commits to RCS files with non-trunk default branches.


3 12-Jun-1993 rgrimes

This commit was generated by cvs2svn to compensate for changes in r2,
which included commits to RCS files with non-trunk default branches.