Commit Graph

1304 Commits

Author SHA1 Message Date
markm
3584481e42 Remove the old libgmp. Version 2.0.2 is about to hit prime time. 1996-10-20 09:11:57 +00:00
markm
49cb308433 This commit was generated by cvs2svn to compensate for changes in r19045,
which included commits to RCS files with non-trunk default branches.
1996-10-20 08:09:18 +00:00
markm
95051df139 Import of GNU MP 2.0.2
This is a clean import with only the non-x86 bits removed. Makefiles and
other will follow.

Requested by:	Andrey Chernov
Made world by:	Chuck Robey
1996-10-20 08:09:18 +00:00
joerg
7153d808f5 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.
1996-10-19 21:42:40 +00:00
jdp
193247f80b Fix two minor typos in the manual page. 1996-10-18 04:49:43 +00:00
peter
9aec27bf17 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>
1996-10-13 17:37:03 +00:00
joerg
405f3d0e30 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>
1996-10-12 10:41:56 +00:00
jdp
a61297ba87 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.
1996-10-10 23:16:50 +00:00
jdp
e11a58ddc6 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.
1996-10-10 23:14:23 +00:00
jdp
14b86859f7 Fix a bug that caused a segmentation violation if dlsym() was called
with its first argument equal to NULL.
1996-10-10 04:10:32 +00:00
peter
5e60082391 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>
1996-10-07 23:38:08 +00:00
wosch
000fb64288 delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
peter
dceaaf8e82 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>
1996-10-04 15:11:42 +00:00
jkh
82c3fac15a "CONTINUE" was just too long. Make it a nice "OK" now. 1996-10-04 13:06:48 +00:00
peter
5ba3a9a5ed To the Attic we go.. 1996-10-04 09:02:59 +00:00
peter
2108e41875 Add genclass to the subdir list 1996-10-04 08:45:34 +00:00
peter
0aaab405e6 Add libstdc++ to the SUBDIR list 1996-10-04 08:44:26 +00:00
peter
2fd17c4485 Update to use the contrib/libg++ version, now that my (slow) 486 has
finished a 'make world'.
1996-10-04 08:43:37 +00:00
peter
90009f2575 Initial attempt at a bmakefile for genclass. 1996-10-03 23:00:09 +00:00
peter
a6f11496de Initial shot at a bmakefile for libstdc++ 1996-10-03 22:52:23 +00:00
peter
084126c610 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..
1996-10-03 08:07:38 +00:00
nate
6a6edabfc3 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.
1996-10-01 16:09:18 +00:00
peter
9c042c8f51 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>
1996-10-01 11:54:38 +00:00
peter
f24d68a73a 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)
1996-10-01 03:47:36 +00:00
peter
69ea9ac338 Don't build config/i386/i386.o in the src/contrib/gcc tree..... :-] 1996-10-01 03:44:29 +00:00
peter
519e9b0911 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.
1996-10-01 02:16:16 +00:00
peter
7523d23ee7 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
1996-10-01 01:52:03 +00:00
peter
7ad318175d 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
1996-10-01 01:34:32 +00:00
peter
23b0588846 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)
1996-10-01 01:31:51 +00:00
peter
180a0b4f4a 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)
1996-10-01 01:28:10 +00:00
peter
84a69ec571 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)
1996-10-01 01:22:51 +00:00
peter
b3c93bb2d8 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
1996-10-01 00:13:54 +00:00
wosch
1b3dbceedf xVERSIONx -> 3.2; close PR 1404 1996-09-28 18:31:30 +00:00
wosch
75b1ede7c4 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
1996-09-27 19:44:46 +00:00
wosch
5b3a6e6fa1 test 37: [b-a] is a syntax error and exit with status 2 1996-09-27 19:40:39 +00:00
wosch
6d1aa03c4c grep(1) should not parse manpages as arguments.
Now `apropos -xfer' works.
1996-09-27 17:36:50 +00:00
wosch
e5c1c9b037 Reverts exit status for man -k' and man -f'.
Man(1) now return 0 if apropos/whatis return 0, otherwise 1.
1996-09-27 17:34:57 +00:00
bde
86c863abe8 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.
1996-09-24 08:43:04 +00:00
bde
d2512c2bf9 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.
1996-09-24 08:08:11 +00:00
wosch
89dea7c61d add missing comma(s) in .Xr macros 1996-09-23 22:24:39 +00:00
bde
0f0cfd5fc9 cpp was named ccp. 1996-09-23 16:12:38 +00:00
peter
58119af893 Crude hack to work around cpp.1 doing a .so man1/cccp.1
Pointed out by: Warner Losh <imp@village.org>, PR#1667
1996-09-23 04:14:30 +00:00
pst
69c1743fff Fix up some compilation warnings. 1996-09-22 00:55:46 +00:00
jkh
21cce4367c Nuke a trailing .endif which survived Peter's last edits. 1996-09-21 17:49:45 +00:00
peter
e18a0a6953 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.
1996-09-21 14:27:38 +00:00
bde
6b0658e42a 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.,
1996-09-20 18:04:26 +00:00
ache
ee80f48141 Replace GNU-made __P definition by standard from sys/cdefs.h 1996-09-20 14:33:48 +00:00
peter
e9bf0f92ea Add libobjc, the Objective-C runtime library. 1996-09-19 16:19:49 +00:00
peter
091fc15006 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.
1996-09-19 15:53:53 +00:00
pst
9c17158b2b Grab h2ph from /usr/bin, not /usr/local/bin! 1996-09-17 01:14:18 +00:00
wosch
7393f67a3a 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
1996-09-16 22:52:02 +00:00
wosch
e394564f76 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>
1996-09-14 23:20:33 +00:00
bde
318d275f52 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.)
1996-09-12 03:42:54 +00:00
jfieber
7c3ec65d08 Add missing tmac.lj4 (for PCL driver) 1996-09-11 22:16:59 +00:00
peter
6880e6f5ca add bison, gperf 1996-09-10 14:04:37 +00:00
peter
386d81bc82 add bmakefiles 1996-09-10 14:03:12 +00:00
peter
b40a8eb87a Add bmakefiles to compile bison. 1996-09-10 13:23:46 +00:00
phk
4485fb3705 DISTDIR is a reserved variable for make release
s/DISTDIR/DIST_DIR/g
1996-09-09 18:05:29 +00:00
pst
8a74fcec83 long live groff 1996-09-08 01:30:16 +00:00
pst
feea886ab3 ...long live groff 1996-09-08 01:27:58 +00:00
pst
cc80b2b6b6 Initial revision 1996-09-08 01:21:19 +00:00
pst
e9f0e5e59a Groff is dead... 1996-09-08 01:09:04 +00:00
pst
0d8a61c2c4 Add Russian language / koi8-r font support.
Original author: ache
1996-09-08 00:28:32 +00:00
pst
129fbb1250 Add psroff command 1996-09-08 00:26:24 +00:00
jkh
b134bdd0bc Make button highlighting more visible on B/W displays. 1996-09-06 09:36:45 +00:00
bde
11546f4616 Fixed DPADD. 1996-09-05 17:16:10 +00:00
peter
1709bebc56 forgot to reconnect easy-import to the Makefile 1996-09-05 08:43:50 +00:00
jkh
caca6152f0 Collapse some common arrow key handling semantics from sysinstall into
PollObj(), simplifying code which uses it.
1996-09-01 08:16:00 +00:00
peter
ed05937487 missed these parts of Bruce's changes last time..
Submitted by: bde (again :-)
1996-08-30 21:57:39 +00:00
peter
48809684a1 consistancy fixup
Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>
1996-08-30 21:21:52 +00:00
peter
20369831f9 Too verbose, typo (I missed the -C :-)
Submitted by: bde
1996-08-30 19:26:49 +00:00
ache
ca925d6eb1 Add HAVE_STRING_H
Use -DHAVE_XXX=1 form to be visually consistent with config.h defines
1996-08-30 18:33:31 +00:00
peter
f50869a116 cmp -s || install -c -> install -C 1996-08-30 03:12:16 +00:00
peter
df9e2b70de cmp -s || install -c ==> install -C
Add -DHAVE_UNISTD_H -DHAVE_STDLIB_H to get these files
1996-08-30 02:13:06 +00:00
peter
ad88426736 oops!! back out last accidental commit! (gcc-2.7.2.1 tweak that I gave up
on..)
1996-08-30 02:12:08 +00:00
peter
3f709de38c cmp -s || install -c ==> install -C 1996-08-30 02:12:07 +00:00
wosch
ab0ebe585d [HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
wosch
174e4e5199 add Version 1 AT&T UNIX to .At macro 1996-08-28 22:37:00 +00:00
ache
f596cd4a0d Keep in sync with latest bash 1996-08-28 15:47:16 +00:00
bde
e4af5b3a59 Don't install zgrep twice. 1996-08-28 15:45:32 +00:00
wosch
0210175107 sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
peter
bf3127c24b Ack! Don't install cvs.info.gz etc in /usr/bin... 1996-08-21 00:57:26 +00:00
peter
76e0a01054 Make the CVSvn.texi dependency hack work a little better.. 1996-08-21 00:35:53 +00:00
peter
d14a77b373 Oops, forgot to 'cvs add' this one. 1996-08-21 00:04:28 +00:00
peter
b10c7a0c1a Update to use the cvs-1.8.1 sources from src/contrib/cvs 1996-08-20 23:58:03 +00:00
joerg
614886b143 Ensure at least one space between the module name and the module path.
Detected by: asami
1996-08-20 20:37:47 +00:00
ache
981ea6eb0f Pick collate info fo ranges 1996-08-20 14:22:57 +00:00
wosch
dfb9d51f1f make install should not install any file in /etc. 1996-08-17 22:27:08 +00:00
ache
52d9ff24a9 8bit clean ctype fixes 1996-08-15 22:55:53 +00:00
ache
78da01bc66 Localization fixes 1996-08-15 22:49:46 +00:00
ache
f978cfe81f Localization fixes. 1996-08-15 22:11:36 +00:00
ache
9e33f9be1e Use collate for alpha character ranges 1996-08-13 14:33:05 +00:00
ache
c7f1966900 Use collate for alpha character ranges 1996-08-13 14:21:48 +00:00
jkh
36270d5e25 Reverse my patch which erroneously removed the library dependencies
for a library.  They're needed.
1996-08-13 12:46:10 +00:00
chuckr
41f0204afe Change in man page to document "-" flag as stdin/stdout, add
example showing how to move file hierarchies.
Reviewed by:	jkh
1996-08-13 00:13:49 +00:00
ache
1563880d65 Convert to newly aded collate compare function 1996-08-12 19:12:40 +00:00
ache
62d22e65bd Convert to newly aded collate compare function 1996-08-12 19:04:24 +00:00
ache
d0049dcf85 Use collate for alpha character ranges 1996-08-12 18:03:54 +00:00
ache
f25f152775 Pick collate info too 1996-08-12 17:55:41 +00:00
jkh
1a72bf5044 Throw some unnecessary dreck out of this Makefile. 1996-08-11 17:21:20 +00:00