Commit Graph

1236 Commits

Author SHA1 Message Date
Steve Price 7e0d34dec8 Upgrade to version 1.03. 1996-11-04 03:55:26 +00:00
Steve Price 2cde372bc2 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
1996-11-03 16:18:58 +00:00
Joerg Wunsch 07404e964a 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.
1996-11-03 14:47:52 +00:00
Steve Price 16f50bdc0a Don't allow filenames specified on the commandline
to be directories.
1996-11-03 03:31:33 +00:00
Andrey A. Chernov 85938e600c Uncomment static from collate_range_cmp, no more in locale.h 1996-10-31 14:44:24 +00:00
Andrey A. Chernov 6e710be0de Remove unused file 1996-10-31 08:03:26 +00:00
Andrey A. Chernov 705c4b24f0 Localize it 1996-10-31 08:01:16 +00:00
Andrey A. Chernov d635f7bb20 Replace collate_range_cmp call with its code (GNU version) 1996-10-31 07:45:15 +00:00
Andrey A. Chernov 8bd603338f Replace collate_range_cmp call by its code (GNU version) 1996-10-31 07:36:09 +00:00
Andrey A. Chernov 1b142f3fd2 Replace collate_range_cmp with its code (GNU variant) 1996-10-31 05:14:27 +00:00
Gary Jennejohn b7eed0a0c1 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.
1996-10-29 21:52:21 +00:00
Peter Wemm fecaa12727 oops, uninitialised variable.. -v mode depended on stack contents.
Submitted by: Masafumi NAKANE <max@wide.ad.jp>, PR#1920
1996-10-29 18:45:20 +00:00
Joerg Wunsch 2b0039e0a4 Added ${DESTDIR} to the install target so bison.{simple,hairy}
will also appear in our releases. ;)

Forgotten by: peter
1996-10-27 21:50:59 +00:00
Mark Murray ebebb88b8d Fix the dependancies.
Thanks Andrey!
Submitted by:	ache
1996-10-24 18:03:53 +00:00
Mark Murray 3200ac9848 Fix this so that dependancies work properly.
Thanks Andrey!
Submitted by:	ache
1996-10-24 18:00:43 +00:00
John Polstra ab6c6377b3 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.
1996-10-24 16:24:19 +00:00
Andrey A. Chernov 728b07018e Remove local fnmatch() copy, we now compatible with GNU fnmatch 1996-10-23 16:53:26 +00:00
Poul-Henning Kamp 494405d890 Removing old isdn stuff. 1996-10-20 18:24:17 +00:00
Joerg Wunsch bb47d8c391 Make it clear that a vendor-branch import adds something to the
existing sources.

Requested by: markm
1996-10-20 13:14:40 +00:00
Mark Murray 206907362b BMakefile for gmp-2.0.2
Requested by: ache
Made world by: chuckr
1996-10-20 09:29:39 +00:00
Mark Murray 3d9f2d2e10 BMakefiles for gmp-2.0.2
Requested by: ache
Made world by: chuckr
1996-10-20 09:28:03 +00:00
Mark Murray 5eb857037b Remove the old libgmp. Version 2.0.2 is about to hit prime time. 1996-10-20 09:23:44 +00:00
Mark Murray 504fa96f30 Remove the old libgmp. Version 2.0.2 is about to hit prime time. 1996-10-20 09:11:57 +00:00
Mark Murray 537b19adb4 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 Wunsch 8b07755b31 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
John Polstra 16804804df Fix two minor typos in the manual page. 1996-10-18 04:49:43 +00:00
Peter Wemm 4023b3033b 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 Wunsch d1a3967b59 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
John Polstra e5bbb2e4b5 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
John Polstra 7c6da7dcef 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
John Polstra 9151bb8d2d 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 Wemm 210d012784 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
Wolfram Schneider e83201b43a delete doubled words, e.g.: "the the" -> "the" 1996-10-05 22:27:30 +00:00
Peter Wemm 74a20d397d 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
Jordan K. Hubbard 3cd2d3f69a "CONTINUE" was just too long. Make it a nice "OK" now. 1996-10-04 13:06:48 +00:00
Peter Wemm cb03015500 To the Attic we go.. 1996-10-04 09:02:59 +00:00
Peter Wemm 5908a75555 Add genclass to the subdir list 1996-10-04 08:45:34 +00:00
Peter Wemm e27edaff41 Add libstdc++ to the SUBDIR list 1996-10-04 08:44:26 +00:00
Peter Wemm 73456abd78 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 Wemm 3c4c579d13 Initial attempt at a bmakefile for genclass. 1996-10-03 23:00:09 +00:00
Peter Wemm 99dd87778d Initial shot at a bmakefile for libstdc++ 1996-10-03 22:52:23 +00:00
Peter Wemm e8d53f09e3 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 Williams 9ac501e21b 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 Wemm 3e17261bac 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 Wemm 090d47a84f 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 Wemm a4136bfcfc Don't build config/i386/i386.o in the src/contrib/gcc tree..... :-] 1996-10-01 03:44:29 +00:00
Peter Wemm 9731d13765 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 Wemm 5584286a91 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 Wemm d138df6140 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 Wemm 80c714994d 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