summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* Build/install c++filt from g++, we already have all the sources andpeter1996-10-132-2/+60
| | | | | | | 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>
* Catch a situation where the tty speed might be 0 (in the case of UUCPjoerg1996-10-121-5/+5
| | | | | | | over TCP), but is used as a divisor later, causing uucico to abort with a SIGFPE. Reviewed by: Ian Lance Taylor <ian@cygnus.com>
* Add the search directories from the hints file only the first time it isjdp1996-10-101-2/+5
| | | | | | 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.
* Add a new option "-f hints_file" to specify an alternate file instead ofjdp1996-10-102-37/+37
| | | | | | | "/var/run/ld.so.hints". Delete an incorrect statement about LD_LIBRARY_PATH from the manual page.
* Fix a bug that caused a segmentation violation if dlsym() was calledjdp1996-10-101-2/+2
| | | | with its first argument equal to NULL.
* Use ${INSTALL} -C instead of -c. I did it with -C originally, but duringpeter1996-10-071-2/+2
| | | | | | | 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>
* delete doubled words, e.g.: "the the" -> "the"wosch1996-10-053-5/+14
|
* Oops, an editing error at one point meant I had missed the osfcn.h headerpeter1996-10-041-2/+2
| | | | | | | | (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>
* "CONTINUE" was just too long. Make it a nice "OK" now.jkh1996-10-042-2/+2
|
* To the Attic we go..peter1996-10-04188-47889/+0
|
* Add genclass to the subdir listpeter1996-10-041-2/+2
|
* Add libstdc++ to the SUBDIR listpeter1996-10-041-2/+2
|
* Update to use the contrib/libg++ version, now that my (slow) 486 haspeter1996-10-042-34/+58
| | | | finished a 'make world'.
* Initial attempt at a bmakefile for genclass.peter1996-10-031-0/+52
|
* Initial shot at a bmakefile for libstdc++peter1996-10-032-0/+364
|
* Ugly hack alert!peter1996-10-031-1/+2
| | | | | | | | | | | | | | | | | | | | 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..
* There's no need to 'unsetenv()' unsafe environment variables explicitlynate1996-10-011-6/+1
| | | | | | 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.
* Sigh, oh well, here's my obligigatory "oops" commit. I don't quite knowpeter1996-10-011-1/+13
| | | | | | | 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>
* Resync the libgcc functions list with the 2.7.2.1 tree. We were buildingpeter1996-10-012-34/+54
| | | | | | | | 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)
* Don't build config/i386/i386.o in the src/contrib/gcc tree..... :-]peter1996-10-011-2/+3
|
* Incorporate John Polstra's sods.c display of the details about thepeter1996-10-014-4/+533
| | | | | dynamic linking information in the executable. It's quite extensive. It's connected to ldd's (new) -v option.
* Update to handle new version ld.so.hints and info in executable forpeter1996-10-014-63/+284
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Support for specifying printf-like output specs to control the ldd outputpeter1996-10-012-4/+32
| | | | | | | as present in the new rtld version. Obtained from: NetBSD Reviewed by: nate, jdp
* Updates to deal with ld.so.hints version 2. It now deals with thepeter1996-10-012-18/+53
| | | | | | | | 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)
* Update the backends to go with the top-level ld changes. The non-i386peter1996-10-015-14/+47
| | | | | | | changes are for completeness, I don't think they work. There are changes to deal with the new include files. Obtained from: NetBSD (mostly)
* Support for .weak (in addition to the N_INDR stab) for gcc/g++. Also dealpeter1996-10-0117-569/+959
| | | | | | | | | | 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)
* Mostly resync our gas with the NetBSD version to obtain support forpeter1996-10-0127-262/+291
| | | | | | | | | .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
* xVERSIONx -> 3.2; close PR 1404wosch1996-09-281-1/+1
|
* grep -q pattern filewosch1996-09-271-1/+5
| | | | | | | | | | | | | 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
* test 37: [b-a] is a syntax error and exit with status 2wosch1996-09-271-1/+1
|
* grep(1) should not parse manpages as arguments.wosch1996-09-271-4/+4
| | | | Now `apropos -xfer' works.
* Reverts exit status for `man -k' and `man -f'.wosch1996-09-271-2/+6
| | | | Man(1) now return 0 if apropos/whatis return 0, otherwise 1.
* Really eliminated includes of the "temporary" backwards compatibilitybde1996-09-243-3/+0
| | | | | header <sys/dir.h> in applications. My previous sweep didn't find the places that included it without needing it.
* Eliminated includes of the "temporary" backwards compatibility headerbde1996-09-241-4/+4
| | | | | | <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.
* add missing comma(s) in .Xr macroswosch1996-09-231-3/+3
|
* cpp was named ccp.bde1996-09-232-4/+4
|
* Crude hack to work around cpp.1 doing a .so man1/cccp.1peter1996-09-232-2/+6
| | | | Pointed out by: Warner Losh <imp@village.org>, PR#1667
* Fix up some compilation warnings.pst1996-09-221-2/+2
|
* Nuke a trailing .endif which survived Peter's last edits.jkh1996-09-211-2/+1
|
* Remove the partial support for a shared -lcc_int, since it's been unusablepeter1996-09-217-22/+15
| | | | for a fair while. cc1, cc1plus etc have been linked static for some time.
* Fixed bogus obj target (found by objwarn check).bde1996-09-201-3/+1
| | | | | | Removed unnecessary clean and cleandir targets. The defaults are adequate and we never bothered overriding the default for all, depend, lint or tags.,
* Replace GNU-made __P definition by standard from sys/cdefs.hache1996-09-201-0/+4
|
* Add libobjc, the Objective-C runtime library.peter1996-09-192-2/+35
|
* Man the lifeboats! Tie down the hatches! Red alert! Activate gcc-2.7.2.1!peter1996-09-19193-355901/+492
| | | | | | | | | | | | | | | (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.
* Grab h2ph from /usr/bin, not /usr/local/bin!pst1996-09-171-1/+1
|
* Set enviroment variable PAGER=pager if using option `man -P pager'wosch1996-09-161-0/+2
| | | | | This inherit variable PAGER for childs like whatis(1), e.g. `man -P less -k man' should now work like expected. Close PR#1068
* Cleanup exit status; 2: syntax error, 0: keyword matched,wosch1996-09-141-7/+12
| | | | | | | $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>
* Use `install -C' instead of lots of shell commands to install ld.sobde1996-09-121-13/+2
| | | | | | | | | 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.)
* Add missing tmac.lj4 (for PCL driver)jfieber1996-09-111-1/+1
|
* add bison, gperfpeter1996-09-101-2/+2
|
OpenPOWER on IntegriCloud