Commit Graph

1429 Commits

Author SHA1 Message Date
Andreas Schulz
d5a22d48c4 Install also a gcc.1 manual page as a link from cc.1, as long as
we have the link cc to gcc.
1994-12-26 19:15:19 +00:00
Nate Williams
7edb8c9b99 New file from pk to aid new in developing the shlib code for new
architectures.

Obtained from: NetBSD
1994-12-23 22:56:08 +00:00
Nate Williams
de761939cf 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
1994-12-23 22:37:45 +00:00
Nate Williams
61f9ce8d32 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
1994-12-23 22:31:35 +00:00
Andreas Schulz
a4bc78d9f1 Changed a SORT 1L to a SORT 1. 1994-12-11 21:41:28 +00:00
Andreas Schulz
3b92fb1ec6 Changed one occurrence of LD 8 to LD 1 and the OS FreeBSD 1.1 to FreeBSD 2.0. 1994-12-11 21:39:31 +00:00
Sean Eric Fagan
940ff2c0a9 Added "cpuid" opcode. 1994-12-11 20:46:55 +00:00
Andreas Schulz
d025cfd6c5 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.
1994-12-03 16:32:02 +00:00
Andreas Schulz
a7f24f529c 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.
1994-11-28 18:30:44 +00:00
Andreas Schulz
eafe5e1c1c 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.
1994-11-28 17:19:52 +00:00
Jordan K. Hubbard
5c52037561 Remove /usr/gnu from mandatory manpath. 1994-11-22 09:57:42 +00:00
Jordan K. Hubbard
d76158cc6e 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
1994-11-18 02:24:06 +00:00
Andrey A. Chernov
dc092b5e4c Update with new autosizing code, use -1 -1 now 1994-11-16 14:47:17 +00:00
L Jonas Olsson
0066ef2281 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.
1994-11-16 14:02:42 +00:00
Poul-Henning Kamp
8ab1d79d16 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.
1994-11-15 04:52:19 +00:00
Bruce Evans
069fcad2d9 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.)
1994-11-14 05:57:36 +00:00
Bruce Evans
a3a5ddcb52 Include <sys/types.h> early. This will be required when <stdio.h> and/or
<signal.h> are fixed to not include it.

Bruce
1994-11-14 05:16:46 +00:00
Poul-Henning Kamp
ffc232881f address @freefall.cdrom.com -> @freebsd.org 1994-11-10 02:34:54 +00:00
David Greenman
3237032fdc Enabled build/install of kgdb. 1994-11-07 08:22:17 +00:00
Poul-Henning Kamp
b80d982b84 As pointed out by Paul Traina, we need the libs to be 261.0 not 26.1. 1994-11-07 04:40:26 +00:00
Bruce Evans
374047c149 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.
1994-11-06 21:32:11 +00:00
Poul-Henning Kamp
bf859da2b2 Explicitly tell cpp where to look for include files. 1994-11-04 21:40:39 +00:00
Jordan K. Hubbard
fb59d6ab65 __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?
1994-11-04 02:14:13 +00:00
Gary Clark II
e4aaba56f5 Correct my hosing...:( 1994-11-03 23:50:43 +00:00
Poul-Henning Kamp
84e25b852b Bump the version-number of the "shared-gcc-internals" library. Will only
affect you if you decided to use that feature.
1994-11-03 20:37:05 +00:00
Gary Clark II
15aafd644b Change libs to install in /usr/lib/perl 1994-11-03 20:07:46 +00:00
Gary Clark II
05fd6621b0 Change libs to /usr/lib/perl
Reviewed by:
Submitted by:
Obtained from:
1994-11-03 20:03:53 +00:00
Gary Clark II
31da8cb88e 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.
1994-11-03 20:02:15 +00:00
Jordan K. Hubbard
03076d6bbf Remove obsolete __386BSD__ predefine. 1994-11-03 14:29:57 +00:00
Poul-Henning Kamp
fe7dee4700 ----------------------------------
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.
1994-11-03 06:52:42 +00:00
Paul Traina
e8aae93744 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
1994-11-02 08:18:25 +00:00
Andrey A. Chernov
734d3eaf71 Enhance inputbox to pass initial prompt (optional) 1994-11-02 01:41:52 +00:00
Jordan K. Hubbard
ad26d58d52 Link g++ -> c++, like I did with gcc -> cc. This is evil, but it's
now at least orthogonal evil.
1994-11-01 21:28:00 +00:00
Jordan K. Hubbard
4d9190ae3a Add LINKS to get gcc back. 1994-11-01 20:51:29 +00:00
Paul Traina
1dd5e27809 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.
1994-10-29 07:14:55 +00:00
Andrey A. Chernov
b140921eef prgbox example added 1994-10-28 03:22:29 +00:00
Andrey A. Chernov
78e71dffd1 Add --prgbox option to test new prgbox() function 1994-10-28 03:12:46 +00:00
Garrett Wollman
7d22abd50c 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.
1994-10-27 23:16:54 +00:00
Jordan K. Hubbard
71e0221b87 Repair the damage done by whomever blew the last commit. Now it
compiles again.
1994-10-26 15:23:04 +00:00
Andrey A. Chernov
9e4cb8b6dc Move dialog_update() to another place, because it is now in dialog_clear() 1994-10-25 22:44:09 +00:00
Bruce Evans
de708661a9 Add perl. 1994-10-25 16:59:57 +00:00
L Jonas Olsson
0abc0dba57 Added f77 program. This is a modified version of the c++ program.
All it does is add -lf2c and -lm.
1994-10-25 14:36:50 +00:00
L Jonas Olsson
1f967df0a4 Added FORTRAN rule. 1994-10-25 13:36:02 +00:00
David Greenman
b2075ecc44 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.
1994-10-25 07:02:23 +00:00
Garrett Wollman
5e21ecefa9 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.)
1994-10-22 23:47:21 +00:00
Garrett Wollman
2c0f145076 Fill in SUBMITTER= line correctly. 1994-10-22 23:34:57 +00:00
Garrett Wollman
469247c74c 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...
1994-10-22 23:32:01 +00:00
Nate Williams
29656de043 Adding cvsinit back to the subdirs since it shouldn't have been removed
in the first place.
1994-10-22 19:36:22 +00:00
Paul Traina
1666a8c2af remove cvsinit from subdir list 1994-10-22 16:59:52 +00:00
Nate Williams
2f822e9be7 Added cvsinit shell script as a runnable command.
Submitted by:	 CVS mailing list.
1994-10-22 04:51:40 +00:00
Garrett Wollman
7b82c373ed Dramatically clean up Makefile. Make send-pr get rebuilt if Makefile
changes.
1994-10-15 21:39:54 +00:00
Andrey A. Chernov
52f2c9a10a Output error diagnostics, if occurse.
Add radiolist test.
1994-10-11 23:52:16 +00:00
Andrey A. Chernov
52bc859d7c Use libdialog now. 1994-10-11 23:51:09 +00:00
Andrey A. Chernov
296c81b4e8 Implement HOME/END keys for line edit 1994-10-10 22:32:07 +00:00
Andrey A. Chernov
7f6f3361ff Implement insert-mode line editing 1994-10-10 19:49:22 +00:00
Andrey A. Chernov
a73699e164 Back out part of ctype fixes, unneded with new ctype 1994-10-09 15:22:35 +00:00
Paul Traina
20e8cfc673 Cosmetic cleanup 1994-10-09 00:46:16 +00:00
Andrey A. Chernov
d341e762bb Dialog added 1994-10-08 15:19:12 +00:00
Andrey A. Chernov
c8389f985d Moved from ports, arrow keys allowed to edit input,
back tab key understanded now
1994-10-08 15:16:41 +00:00
Andrey A. Chernov
109de6c0ab 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
1994-10-07 13:13:32 +00:00
Paul Richards
c4447d4ef1 Removed NOOBJ so obj directory gets built if wanted. 1994-10-02 14:43:12 +00:00
Andrey A. Chernov
02ea062a10 #define HAVE_TERMIOS added for proper terminal handling
Submitted by: smcarey@mailbox.syr.edu
1994-10-02 11:12:40 +00:00
Bruce Evans
2fdcac7375 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".)
1994-09-28 03:59:29 +00:00
David Greenman
32bff95b55 Fixed a couple of compiler warnings related to wrong prototypes. 1994-09-23 08:28:43 +00:00
Bruce Evans
00f21b4680 Don't build profiled library. 1994-09-20 22:03:09 +00:00
Bruce Evans
f44ca047d4 Add dependency for -lcompat. 1994-09-20 05:17:50 +00:00
Garrett Wollman
0385520e72 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.
1994-09-19 21:37:50 +00:00
Garrett Wollman
b4aca961be 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*
1994-09-18 22:35:55 +00:00
Rodney W. Grimes
a861b63c28 Add q modifier (for long longs) support to -Wformat.
Reviewed by:	bde
1994-09-18 21:25:02 +00:00
Steven Wallace
504e8b978b Add LDDESTDIR to ld command.
Add -I${DESTDIR}/usr/include to cpp command.
1994-09-18 19:41:38 +00:00
Bruce Evans
dd8e0158cf 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.
1994-09-15 20:48:55 +00:00
Jordan K. Hubbard
804cf603f2 Add NOMAN, fix Id. 1994-09-15 13:12:23 +00:00
Jordan K. Hubbard
8b1439553b Add NOMAN, fix Id line. 1994-09-15 13:11:36 +00:00
Jordan K. Hubbard
26ee2894d4 Set NOMAN properly, correct Id line. 1994-09-15 13:10:41 +00:00
Jordan K. Hubbard
69a282d8fb 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! :-)
1994-09-15 12:42:45 +00:00
Jordan K. Hubbard
b25b5fa574 Fix typo, add -c to install so that files aren't moved out on first
install! :-)
1994-09-15 12:10:03 +00:00
Jordan K. Hubbard
4db3aa263c Cleaned up comments, added Id lines. 1994-09-15 12:09:36 +00:00
Jordan K. Hubbard
0e55043ece Add texinfo to the list of SUBDIR targets. 1994-09-15 11:11:32 +00:00
Steven Wallace
3f7f52979b Added ${DESTDIR} in the line
CFLAGS+= -I$(.CURDIR)/. -I${DESTDIR}/usr/include/readline -I$(.CURDIR)/../bfd
1994-09-15 05:17:59 +00:00
Gary Clark II
a78a18e9b9 Import of GNU Info 3.0 in bmake format 1994-09-13 13:51:34 +00:00
Rodney W. Grimes
2276db83cf 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
1994-09-12 05:10:07 +00:00
Rodney W. Grimes
88782905c0 Change all references to LIBTERM and -ltermlib to LIBTERMCAP and -ltermcap 1994-09-11 21:41:41 +00:00
Gary Clark II
083b473477 Deleted checks for libcrypt as not nessecery for 2.0. 1994-09-11 19:55:57 +00:00
Gary Clark II
25ea820e44 Added CURDIR directives for some installs.
Reviewed by: Gary Clark II
Submitted by: Rod Grimes
1994-09-11 19:53:02 +00:00
Gary Clark II
dbd17e6ab8 Added includes for Makefile.inc (/usr/src/gnu/usr.bin/Makefile.inc)
Reviewed by: Gary Clark II
Submitted by: Rod Grimes
1994-09-11 19:52:29 +00:00
Gary Clark II
5ada09a7ad 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
1994-09-11 03:17:33 +00:00
Gary Clark II
82c0a999f5 Initial import of Perl 4.046 bmaked 1994-09-10 06:27:55 +00:00
Paul Richards
5f8b2ae494 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.
1994-09-09 19:50:44 +00:00
Paul Richards
4516078c93 Enabled send-pr 1994-09-09 19:48:23 +00:00
Bruce Evans
4c06fcce4e 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.
1994-09-02 20:39:41 +00:00
David Greenman
6439f9e911 Use gnumalloc to help reduce memory consumption. 1994-08-29 17:38:28 +00:00
Paul Richards
d007e3fbbb Added misc category
Submitted by:	Paul Richards
1994-08-29 07:35:02 +00:00
Paul Richards
20c894b6fb Fix some bad spacing in send-pr.sh that stopped mail working,
changed the category selection.
Submitted by:	Paul Richards
1994-08-29 06:15:30 +00:00
Paul Richards
e348d9c3a8 Set up the problem categories.
Reviewed by:
Submitted by:
1994-08-29 04:13:24 +00:00
Paul Richards
096e440005 Added send-pr for sending in bug reports.
Reviewed by:
Submitted by:
1994-08-29 04:02:54 +00:00
Bruce Evans
2577a8acef 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.
1994-08-28 18:49:06 +00:00
Bruce Evans
85b64443ae 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.
1994-08-28 18:33:48 +00:00
Bruce Evans
6ad617743b Remove stale clone of obj target. 1994-08-28 18:25:55 +00:00
Bruce Evans
0641ff3b3d Add dependencies on libraries to DPADD.
Move another include of bsd.prog.mk to the end.
1994-08-28 18:18:19 +00:00
Bruce Evans
b8d38c6e17 Centralize declarations of library names. 1994-08-28 18:12:38 +00:00
Bruce Evans
f34a7038a6 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1994-08-28 17:44:10 +00:00
Garrett Wollman
e410457b74 Install ld.so immutable. 1994-08-26 19:11:14 +00:00
Bruce Evans
e4d49cce30 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.
1994-08-25 08:36:26 +00:00
Paul Richards
7cd7695691 Changed cc26 to cc
Reviewed by:
Submitted by:
1994-08-24 21:17:33 +00:00
Jordan K. Hubbard
bd240d5233 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
1994-08-24 07:26:23 +00:00
Paul Richards
6f1537dd90 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:
1994-08-23 17:18:58 +00:00
Paul Richards
c13a11ac11 Added -f to rm so install doesn't abort if the file doesn't exist.
Reviewed by:
Submitted by:
1994-08-20 06:28:37 +00:00
David Greenman
e4e244ac16 Don't explicitly define __FreeBSD__ - this is no longer necessary. 1994-08-19 12:24:45 +00:00
Garrett Wollman
0a9783e5a2 Define __FreeBSD__ to be 2. 1994-08-10 06:12:51 +00:00
Jordan K. Hubbard
1a7466e84a Nuke GNU pr.
Reviewed by:
Submitted by:
1994-08-10 00:24:25 +00:00
Jordan K. Hubbard
40735e19b9 Punt duplicate declaration of sys_errlist[].
Submitted by:	jkh
1994-08-09 15:31:52 +00:00
Jordan K. Hubbard
6464a7f87d Delete two redundant declarations of _exit() and exit().
Submitted by:	jkh
1994-08-09 15:15:04 +00:00
Jordan K. Hubbard
ec94de0d83 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
1994-08-09 14:48:35 +00:00
Jordan K. Hubbard
1eb04b89a8 Remove redundant (and conflicting) definition of sys_errlist.
Submitted by:	jkh
1994-08-09 12:07:44 +00:00
Poul-Henning Kamp
250fc6c839 This gcc-2.6.0 should work with 2.0 1994-08-08 04:45:29 +00:00
Jordan K. Hubbard
e151425678 cc -> cc26 (until Poul-Henning decides how he wants this to look).
Submitted by:	jkh
1994-08-07 21:00:46 +00:00
Garrett Wollman
82b5b51335 Regenerate conf.h with configure script from original package. 1994-08-05 22:33:44 +00:00
Garrett Wollman
00dc83228f Need -lcompat to link under 2.0. 1994-08-05 22:04:02 +00:00
Garrett Wollman
17e8000b6f Use __GNU_P not __P. 1994-08-04 20:57:07 +00:00
Poul-Henning Kamp
b75deec600 Here comes the right import of gcc-2.6.0. 1994-08-02 20:15:59 +00:00
Jordan K. Hubbard
66b58bf8b3 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.
1994-06-28 07:12:43 +00:00
Rodney W. Grimes
8ffbd12df2 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.
1994-06-22 00:51:42 +00:00
Jordan K. Hubbard
a37e71f354 Remove reference to the ld.so man page - ain't no such animal.
Reported by John Lind.
1994-06-17 17:22:16 +00:00
Rich Murphey
699e1b82fb 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.
1994-06-15 22:41:19 +00:00
Jordan K. Hubbard
2ded984659 Make gzip static by default. This is needed because it's such a
frequent companion to tar.
1994-06-15 19:16:58 +00:00
Jordan K. Hubbard
60d5ec6677 Make tar static by default. Don't scream, you'll thank me for this
someday.
1994-06-15 19:16:04 +00:00
Adam David
1d13a7db2a correct location of corefile data segment 1994-06-15 08:24:25 +00:00
Geoff Rehmet
86a13e77dd 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.
1994-06-14 12:45:41 +00:00
Andrey A. Chernov
afd4f2eb3b Add LIBREADLINE and LIBTERM to DPADD 1994-06-14 11:00:35 +00:00
Rodney W. Grimes
e189281415 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.
1994-06-14 02:57:09 +00:00
Andrey A. Chernov
b36ac09a51 Remove PAGE_SIZE redifinition (from param.h) 1994-06-13 08:03:32 +00:00
Paul Richards
71dda56bca Moved -DTRAD_CORE from gdb/Makefile to bfd/Makefile 1994-06-11 16:20:42 +00:00
Paul Richards
d9a0f8b58d Modev -DTRAD_CORE for gdb/Makefile to bfd/Makefile 1994-06-11 16:20:07 +00:00
Paul Richards
7f26aa0a67 Added kgdb subdir. 1994-06-10 16:51:29 +00:00
Paul Richards
013d389608 Two files I "lost" the first time.
GDB4:
1994-06-10 15:57:46 +00:00
Paul Richards
ea8c7ac7d0 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.
1994-06-10 13:42:18 +00:00
Geoff Rehmet
fe88cc599b Make these Makefiles work properly when NOMAN is defined.
(I wish they just used bsd.prog.mk)
1994-06-05 21:57:16 +00:00
Geoff Rehmet
67bc1dabe4 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.
1994-06-05 20:39:58 +00:00
Andreas Schulz
91b1841dd2 Add the -r and -s flags to the Usage string. 1994-06-05 19:04:11 +00:00
Andrew Moore
e015b4cf7d Call fpsetmask(3) so awk doesn't dump core on FP exceptions.
Upgrade to version 2.15.5
1994-05-31 18:58:00 +00:00
Geoff Rehmet
7a34df0d8f Turn globbing on when a section number is specified, this makes things work
properly when /usr/share/man/man?/ contain gzipped unformatted pages.
1994-05-28 20:19:25 +00:00
Rodney W. Grimes
02fab103c2 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).
1994-05-26 06:06:47 +00:00
Rodney W. Grimes
628b2ef68c 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.
1994-05-24 08:16:26 +00:00
Rodney W. Grimes
b0ca86919b 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.
1994-05-24 08:11:37 +00:00
Andrey A. Chernov
4039f70287 Fix catman to produce zipped cats, like man does.
In other (old) case we have both kind of cats at once.
1994-05-23 22:13:36 +00:00
Jordan K. Hubbard
c3331fde7e Stop toasting folks' /etc/manpath.config files. 1994-05-17 12:50:36 +00:00
Rich Murphey
aa8b11faa3 Add X11R6 to manpath in preprataion for XFree86 3.0. 1994-05-17 11:26:12 +00:00
Rodney W. Grimes
de2addd6e8 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).
1994-05-15 22:15:14 +00:00
Rodney W. Grimes
d4a0daa9e2 Add -K option to pass keywordlists to rcs so we can disable and enable
specific keyword expansion on cvs co and cvs patch commands.
1994-05-14 10:51:13 +00:00
Rodney W. Grimes
bb30c9992f 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.
1994-05-14 07:02:40 +00:00
Rodney W. Grimes
9200d155f1 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$.
1994-05-14 07:00:23 +00:00
Rodney W. Grimes
9419fa2ffe If you want no manual pages so NOMAN=, not MAN1=NOMAN! 1994-05-12 06:09:23 +00:00
Poul-Henning Kamp
969ecba525 typo. 1994-05-12 00:42:59 +00:00
Poul-Henning Kamp
2924ea82c2 made -v produce tip-revision, which was what I wanted in the first place... 1994-05-12 00:37:59 +00:00
Poul-Henning Kamp
d22eb64459 Added -v option to rlog. This gives a quick way to get a list of versions. 1994-05-11 22:39:44 +00:00
Andrey A. Chernov
13adc6f931 Remove readline copy, now gdb use gnu lib tree libreadline 1994-05-09 18:13:54 +00:00
Andrew Moore
675d65c40e Add GNU regex.h 1994-05-06 08:34:11 +00:00
Andrew Moore
a3f77ca2ab added ptx 1994-05-06 08:19:44 +00:00
Andrew Moore
e1eb228ec9 ptx: permuted index generator 1994-05-06 07:54:54 +00:00
Adam David
439d0ff00b Use correct stack segment with corefiles. 1994-05-04 01:22:07 +00:00
Jordan K. Hubbard
2caac73e76 Fix gross spelling and typographical errors pointed out by Keith Bostic. 1994-04-24 01:22:07 +00:00
Andreas Schulz
e7ae632e5a 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.
1994-04-13 20:52:40 +00:00
Andreas Schulz
8b395a3055 Better link ldconfig static instead dynamic. 1994-04-13 20:49:42 +00:00
Andreas Schulz
b48301f54f 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.
1994-04-13 19:54:43 +00:00
Andreas Schulz
1cc30df665 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.
1994-04-05 08:24:19 +00:00
Jordan K. Hubbard
4540f59ffb Something bogus happened here; not sure what or how.
Fixed.
1994-03-23 18:50:57 +00:00
Jordan K. Hubbard
cf92a93503 Make man the default owner, don't bother with sgid. 1994-03-19 22:25:17 +00:00
Jordan K. Hubbard
f43a065a65 Correct pre-installation target. 1994-03-19 22:24:48 +00:00
Jordan K. Hubbard
8951219578 Change group id to man 1994-03-18 11:55:53 +00:00
Jordan K. Hubbard
d86aaf74ed 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.
1994-03-16 13:05:31 +00:00
Andreas Schulz
3507018b5b 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.
1994-03-10 23:19:54 +00:00
David Greenman
5bebac3224 Document existance of -Z 1994-03-09 14:28:02 +00:00
Jordan K. Hubbard
21eb6c6e63 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.
1994-03-05 13:48:38 +00:00
Poul-Henning Kamp
e70b6ad7a1 added the -C/-check again. 1994-02-25 21:46:07 +00:00
Rodney W. Grimes
866f028b39 Alignment fix from John Dyson/David Greenman 1994-02-20 16:06:12 +00:00
Jordan K. Hubbard
07d2c9fe20 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.
1994-02-17 22:20:36 +00:00
Jordan K. Hubbard
3f125aef7a From Poul-Henning Kamp - Implement a -C option to verify the integrity of
a patch before actually applying it.
1994-02-17 22:16:05 +00:00
David Greenman
fe8ab1a5fe Handling of the netzmagic flag was completely missing after the last
update. This completely broke support for all ZMAGIC a.out formats.
1994-02-17 03:57:00 +00:00
Nate Williams
01c28e0655 NetBSD -> FreeBSD (This is the FreeBSD version, not the NetBSD version :-) 1994-02-14 21:18:05 +00:00
Rodney W. Grimes
44ff78b7aa 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!!!
1994-02-14 10:02:13 +00:00
Jordan K. Hubbard
7883064ac0 A fast private malloc for ld.so 1994-02-13 20:44:09 +00:00
Jordan K. Hubbard
09e3d49d92 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).
1994-02-13 20:43:13 +00:00
Jordan K. Hubbard
99f5fd8ca9 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.
1994-02-12 23:51:38 +00:00
Nate Williams
9859e2cc85 Changed NetBSD -> FreeBSD 1994-02-11 12:12:51 +00:00
Rodney W. Grimes
825079654d 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!
1994-02-09 02:29:31 +00:00
Rodney W. Grimes
ca4dad266f New files for relocated source code. 1994-01-30 00:31:51 +00:00
David Greenman
84462ab47a Removed dependance on EX_DYNAMIC in making decisions on the magic number. 1994-01-19 15:00:37 +00:00
Jordan K. Hubbard
9d4389fddc More proper fix for for shared lib debugging support. 1994-01-14 11:47:00 +00:00
Jordan K. Hubbard
5b3dd4f53e 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.
1994-01-12 23:16:19 +00:00
Jordan K. Hubbard
cbb24ea9e1 Updated man page to document new behaviour of -Z, -z and -Q flags. 1994-01-03 23:52:35 +00:00
David Greenman
1799d2585e Implemented 'QMAGIC' a.out format correctly, and changed the default
output to be QMAGIC.
1994-01-03 18:35:54 +00:00
David Greenman
0ff4fbb502 Only use syscallmap if FM_TRAP or EX_TRAPSTK are defined. 1994-01-03 08:10:47 +00:00
Andreas Schulz
528cd70738 Added y.tab.h to the CLEANFILES target. 1993-12-31 11:24:16 +00:00
Jordan K. Hubbard
f7122c559f C++ support changes (+misc fixes) from Paul K. 1993-12-22 23:28:35 +00:00
Nate Williams
0bb118a5b1 Fixed Makefile per bug report from Julian Stacey. There was an extra DESTDIR
in front of BINDIR definition.
1993-12-16 21:51:27 +00:00
Jordan K. Hubbard
f399b73280 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.
1993-12-12 17:02:13 +00:00
Jordan K. Hubbard
05388a353b 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.
1993-12-12 17:01:24 +00:00
Jordan K. Hubbard
6277403422 Added sbrk() as new file. 1993-12-11 21:06:36 +00:00
Jordan K. Hubbard
8b6ddcb0a3 Broke sbrk() out of rtld as part of general cleanup. 1993-12-11 21:06:00 +00:00
Jordan K. Hubbard
c9cb3c7ea5 Omitted 4th argument to findshlib() [thanks Rich!]. Our ld is a bit
different from NetBSD's here and it squeaked through the update.
1993-12-11 20:08:39 +00:00
Jordan K. Hubbard
b640de6119 Sync up with Paul K's latest ld from cesium. 1993-12-11 12:02:10 +00:00
Jordan K. Hubbard
127447df73 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
1993-12-10 10:16:00 +00:00
Jordan K. Hubbard
31a947eb76 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!
1993-12-09 17:53:08 +00:00
Jordan K. Hubbard
a0b8281d40 David Greenman's latest changes to eliminate much stack-walking jazz
(no more sbrk_init()!).
1993-12-09 17:45:43 +00:00
Jordan K. Hubbard
230d2c5ff9 More changes to bring FreeBSD in sync with Paul K's latest. 1993-12-04 00:53:16 +00:00
Jordan K. Hubbard
2e21ebe5ce More changes to bring FreBSD in sync with Paul K's latest. 1993-12-04 00:53:02 +00:00
Andrey A. Chernov
64990426e4 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.
1993-12-02 09:56:30 +00:00
Andrey A. Chernov
1f30bc0f0d #ifdef DEBUG unwanted message, third time after Jordan... 1993-12-02 09:32:26 +00:00
Nate Williams
02974dc4fb Moved DEBUG conditional where it belonged to remove DEBUG code out of
default compilation.
1993-12-02 05:09:52 +00:00
Jordan K. Hubbard
1e503f71fb Second attempt to integrate Paul K's changes. 1993-12-02 01:03:47 +00:00
Jordan K. Hubbard
88ac367bd7 Second attempt to integrate Paul K's changes. 1993-12-02 00:56:40 +00:00
Andreas Schulz
5fefaf154f deleted all references to rindex and included string.h instead. 1993-12-01 16:45:42 +00:00
Andreas Schulz
285aeeb5e4 changed the order of the includes and deleted a reference to index
nd added an include to string.h instead
1993-12-01 16:44:43 +00:00
Andrey A. Chernov
db4d1e7156 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!
1993-12-01 15:58:22 +00:00
Andrey A. Chernov
b242393f9b #ifdef DEBUG missed by several lines!
!!! Please, COMPILE *BEFORE* COMMIT!
1993-12-01 15:34:01 +00:00
Andrey A. Chernov
50b517092a Add DEBUG #ifdef, (second time!)
!!! Please, anybody who update ld to NetBSD current,
!!! look at old cvs logs!
1993-12-01 15:13:42 +00:00
Andrey A. Chernov
730a80c44c 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?
1993-12-01 15:05:31 +00:00
Andrey A. Chernov
ff78e5dfcf Remove -g option (second time!)
!!! Please anybody who port Makefiles from NetBSD,
!!! remove -g option!
1993-12-01 14:45:35 +00:00
Jordan K. Hubbard
8eae6ddddc Latest from Paul K. for better checking of PIC code. 1993-11-30 20:57:41 +00:00
Jordan K. Hubbard
52c4ca7af3 Many recent fixes from Paul K, add support for chaining of shared lib deps. 1993-11-30 20:47:54 +00:00
Jordan K. Hubbard
0f81714b34 Added -lgcc_pic back again. 1993-11-25 01:06:42 +00:00
Jordan K. Hubbard
d3ab4e4900 Some of the latest changes from Paul K (taken from NetBSD-current). 1993-11-22 19:05:31 +00:00
Jordan K. Hubbard
44f6e41b43 If we're not logging history information, don't demand write access. 1993-11-20 00:33:12 +00:00
Jordan K. Hubbard
437c34ef5b Recent Paul K. changes for compiling X shared (tested on my box). 1993-11-18 20:52:34 +00:00
Andrey A. Chernov
308a64fe24 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.)
1993-11-17 01:33:24 +00:00
Paul Richards
e523391c57 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)
1993-11-16 07:20:35 +00:00
Paul Richards
8d29dc5c6f 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.
1993-11-16 00:42:57 +00:00
Paul Richards
760e925fe9 Incorporated fixes from Paul to make -Z option work. Emits old-style
ZMAGIC magic numbers in a long.
1993-11-15 20:58:20 +00:00
Nate Williams
45a409ee7b Update to GNU diffutils 2.6
(Forgot to cvs add them)
1993-11-12 07:06:35 +00:00
Nate Williams
c7ed70b75d Updated to GNU diffutils 2.6 1993-11-12 07:05:54 +00:00
Nate Williams
2839c0afd9 Update to GNU diffutils 2.6 1993-11-12 07:05:40 +00:00
Paul Richards
ff691de6a9 Added
.if !defined(NOPIC)
SUBDIR+= rtld
.endif

so linker can be built without building ld.so
1993-11-09 21:23:07 +00:00
Paul Richards
f1a0d2dfc6 Cahnged ldconfig.0 to ldconfig.8 for our man system. 1993-11-09 20:39:46 +00:00
Paul Richards
129619c245 Remoed -g flag and added -static. 1993-11-09 20:39:26 +00:00
Paul Richards
bcd9d0cf11 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.
1993-11-09 04:44:30 +00:00
Paul Richards
3923b0019c 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.
1993-11-09 04:19:36 +00:00
Nate Williams
d88c633bca Removed some extra cruft from the man page to make it look more 'BSD'ish
and less 'GNU'ish
1993-11-08 17:11:29 +00:00
Nate Williams
beeaba5d6e Updated to GNU textutils 1.9 1993-11-08 17:09:50 +00:00
Nate Williams
250e001b2c Updated to GNU textutils-1.9 1993-11-08 17:07:38 +00:00
Nate Williams
c4b4b635be 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.
1993-11-08 01:36:04 +00:00
Paul Richards
727c7fbdc9 Added -lgcc_pic to LDFLAGS in rtld/Makefile 1993-11-07 03:25:25 +00:00
Paul Richards
d58b98d018 Changed ldconfig.0 to ldconfig.8 for our man setup. 1993-11-06 23:15:53 +00:00
Andrey A. Chernov
75b40a6f55 -g removed from CFLAGS (with permissions from Paul) 1993-11-05 01:35:24 +00:00
Paul Richards
b9ae52e32a Imported NetBSD's ld for shared libs. 1993-11-03 23:41:59 +00:00
Paul Richards
3bab57bf8e Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
David Greenman
03b15f1934 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.
1993-10-26 06:24:20 +00:00
Nate Williams
87601b6e8d Updated gzip from version 1.2.2 to 1.2.4 due to popular demand 1993-10-14 00:33:38 +00:00
Jordan K. Hubbard
f67b5cb1cb Try copy if rename of temporary catpage fails. 1993-10-10 01:46:53 +00:00
Jordan K. Hubbard
b5d3f86c3f Handle both signals and errors in child processes, rather than just signals
as before.
1993-10-09 00:48:26 +00:00
Jordan K. Hubbard
570232738f Allow ^C to interrupt with some semblance of politeness to cgd. 1993-10-08 02:39:36 +00:00
Jordan K. Hubbard
1fdef8c67e More paranoid dealings with system() 1993-10-08 02:38:15 +00:00
Rodney W. Grimes
35ba288998 >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.
1993-09-24 17:51:10 +00:00
Rich Murphey
931407698e Increaed the fixed static buffer sizes and maximum hunk size that
otherwise causes the XFree86 1.3 patch set to fail.
1993-09-22 16:51:03 +00:00
Rodney W. Grimes
b3c17e952a Added bsd.prog.mk so that make maninstall would work 1993-09-08 14:23:28 +00:00
Nate Williams
a4b3fe78fe Removed some hard-coded paths in gzexe so it works with the current
FreeBSD setup
1993-09-07 05:13:47 +00:00
Rodney W. Grimes
3c7e1b8cc2 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
1993-09-05 14:24:38 +00:00
Rodney W. Grimes
a6f63b5a84 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 .
1993-08-17 20:16:19 +00:00
Nate Williams
d16a3ea75e 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)
1993-08-14 22:00:14 +00:00
Jordan K. Hubbard
8843e04abc 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.
1993-08-07 22:33:48 +00:00
Nate Williams
3fcadce583 Have rlog output be much easier to parse. (Added one line which is not
used by any CVS/RCS commands)
1993-08-06 16:47:16 +00:00
Nate Williams
501584c759 Cleaned up the Makefile to look nicer and not require a lot of hacks 1993-08-04 21:00:46 +00:00
Jordan K. Hubbard
9e5ebc8c71 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.
1993-08-04 17:51:47 +00:00
Nate Williams
470210e2dc dc has no man page, so add NOMAN to Makefile 1993-08-03 16:35:31 +00:00
Andrew Moore
e20f62775f adding GNU dc ("desk calculator") 1993-07-31 01:10:24 +00:00
Andrew Moore
af7f5fbec0 changed BINMODE= 6555 and CATMODE= 0664 1993-07-27 03:28:32 +00:00
Andrew Moore
e5082edc10 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.
1993-07-27 02:54:46 +00:00
Paul Richards
add6d758b6 Added Charles changes for GCC@ symbols. 1993-07-26 22:40:41 +00:00
Andrew Moore
266f6fdff9 updated man to use more as the default pager 1993-07-26 19:41:13 +00:00
Andrew Moore
1b7072f477 changed find . -name '*' to find . -type f 1993-07-24 03:41:41 +00:00
Nate Williams
3244235258 Added ${DESTDIR} to all the naked install commands w/out them. 1993-07-23 08:23:19 +00:00
Jordan K. Hubbard
47dee7af0b Changes to make `maninstall' work. 1993-07-23 02:58:20 +00:00
Jordan K. Hubbard
9bd9789ec0 Added Christoph Robitschko's catman 1993-07-23 02:36:24 +00:00
Nate Williams
d696f8b647 Removed manpath.1 and added CLEANFILES directive to Makefile since it's
made automagically.
1993-07-21 21:37:54 +00:00
Nate Williams
7784cc2f09 Made makewhatis installed as 555 so that people could actually run it. 1993-07-21 21:37:20 +00:00
Andrew Moore
4a5e9a2017 added mandoc macro support;
each name now generates a separate whatis data base entry
1993-07-21 21:08:32 +00:00
Nate Williams
2aaed01e05 One last thing for making sure it works. 1993-07-21 20:48:37 +00:00
Jordan K. Hubbard
caa40a118a Changes to allow man to work with or without obj dirs. 1993-07-21 17:18:04 +00:00
Rodney W. Grimes
3b1dcbdd1a The install of manpath.config did not have a ${DESTDIR} in it. These
are needed on all install commands in Makefiles!
1993-07-20 02:13:11 +00:00
Jordan K. Hubbard
da9e1880f5 Added fix from Rich to accept catpages with .0 syntax for backwards
compatability (XFree86 man pages will still be .0'd for awhile).
1993-07-18 22:40:56 +00:00
Jordan K. Hubbard
6c8225df97 Fixed braindamage. 1993-07-18 05:52:29 +00:00
Rodney W. Grimes
4c860b3c23 Fixed make file for tags target, removed files that are generated by the
Makefile.
1993-07-17 06:20:35 +00:00
Rodney W. Grimes
49cf38bd01 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.
1993-07-17 06:06:28 +00:00
Rodney W. Grimes
9c30b1bfe1 Fixed make file for tags target, removed files that are generated by the
Makefile.
1993-07-17 06:05:35 +00:00
Rodney W. Grimes
2fb012f552 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.
1993-07-16 17:51:03 +00:00
Rodney W. Grimes
6a8b6e6f01 Merge. Fix LINKS+= with $DESTDIR$BINDIR in them, you do NOT need to
specify $DESTDIR on a LINKS+= line.
1993-07-16 17:48:38 +00:00
Jordan K. Hubbard
402bc896a4 Whoops, forgot to add this one. 1993-07-16 06:48:59 +00:00
Jordan K. Hubbard
61bd7eb21b 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? :-)
1993-07-16 06:46:42 +00:00
Nate Williams
f501a86e55 chmr@edvz.tu-graz.ac.at
gnu/rcs/rcs and rcsfreeze have the wrong man extension in their
Makefiles (.0)
1993-07-14 18:42:35 +00:00
J.T. Conklin
4d5de78c85 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.
1993-07-09 20:36:06 +00:00
J.T. Conklin
9b21dc9931 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.
1993-07-09 16:15:13 +00:00
Jordan K. Hubbard
46d24e563b Changed Makefile to use Nate's selective obj/noobj build scheme. 1993-07-08 21:57:48 +00:00
J.T. Conklin
c921550b27 Gnu grep 2.0 does fgrep too! 1993-07-08 16:18:59 +00:00
Jordan K. Hubbard
f629c45f00 Newer new man page reader. 1993-07-07 23:07:02 +00:00
Nate Williams
1f445a8cdb Really cleaned up obj/noobj this time (same as I did with CVS) 1993-07-06 19:46:03 +00:00
Nate Williams
552fc2e65e We don't need librcs.a in /usr/lib, so make install not do anything 1993-07-06 19:38:11 +00:00
Nate Williams
18b45b34dc 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.
1993-07-06 19:12:57 +00:00
Nate Williams
67b32f8a64 Removed egrep since the new grep is just a link to it w/out any changes
anymore
1993-07-06 18:53:50 +00:00
Nate Williams
ef7cc70c15 Left an ugly in the Makefile 1993-07-06 18:45:59 +00:00
Nate Williams
c0db29cc59 Update GNU grep to version 2.0 1993-07-06 18:45:26 +00:00
Nate Williams
b0accfccb4 Don't echo anything when doing null args, since not doing anything is
more like the standard behavior.
1993-07-06 18:36:50 +00:00
Nate Williams
574af12988 #ifdef out an unecessary function prototype that conflicted with the
system prototype. (Needed for gcc1)
1993-07-06 18:00:18 +00:00
Charlie Root
845c052a41 New manual page system 1993-07-02 04:54:10 +00:00
Nate Williams
315615555c 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.
1993-07-01 00:17:55 +00:00
Nate Williams
634e1387da Fixed a missing letter that causes an error when formatting the document 1993-06-29 10:17:35 +00:00
Nate Williams
6db721f938 ld is moved to src/gnu 1993-06-29 09:58:20 +00:00
Nate Williams
682642fa09 Added the new gas directory 1993-06-29 09:51:23 +00:00
Nate Williams
3edf564a32 Added GNU gdb to src/gnu 1993-06-29 09:48:26 +00:00
Nate Williams
2870c1b116 GNU3 Diff 2.3 1993-06-29 08:19:28 +00:00
Nate Williams
515337cf85 GNU Diff 2.3 1993-06-29 08:13:44 +00:00
Nate Williams
1e4b8f3aaf Ugh, whoever did the port made a mess, I cleaned up the Makefile and
deleted un-necessary stuff
1993-06-29 06:19:29 +00:00
Nate Williams
059e2eccbf This commit was generated by cvs2svn to compensate for changes in r61,
which included commits to RCS files with non-trunk default branches.
1993-06-29 06:04:45 +00:00
Nate Williams
717f769197 Gnu e?grep 1.6 1993-06-29 06:04:45 +00:00
Nate Williams
8596b826d3 GNU Textutils-1.6 1993-06-29 05:21:43 +00:00
Nate Williams
b6ff9813f0 Added a CLEANFILES entry for getdate.c (it's created by yacc) 1993-06-29 05:02:59 +00:00
Nate Williams
6838e08c37 From Textutils-1.6 1993-06-29 04:58:06 +00:00
Nate Williams
967cd26f61 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
1993-06-28 19:13:10 +00:00
Nate Williams
fcc9b408f0 Fixed up CVS like RCS to allow obj or no obj directory. 1993-06-25 19:39:48 +00:00
Nate Williams
e2d79f66c4 Fixed cvs to work with/without object directories and added missing rcslean
directory to top level makefile.
1993-06-25 18:51:05 +00:00
Jordan K. Hubbard
372f57fadf One small change to make the code clearer in update. 1993-06-25 00:13:53 +00:00
Jordan K. Hubbard
73a9cb0a32 Changes to allow simple symlink handling 1993-06-24 23:55:44 +00:00
Rodney W. Grimes
1e25ac9532 Removed BINDIR= from Makefile so that bc installs in /usr/gnu/bin 1993-06-21 03:41:19 +00:00
Paul Richards
36e3306c74 b-maked patch-2.10 1993-06-19 14:21:53 +00:00
Paul Richards
30ae645969 New bc-1.02 bmake sources 1993-06-19 00:26:18 +00:00
Nate Williams
35f29edac9 Updated gzip from 1.1 to 1.2.2 1993-06-19 00:22:46 +00:00
Nate Williams
4029d369d7 Cleaned up yacc problems that shouldn't have existed in the original port 1993-06-18 19:20:59 +00:00
Nate Williams
222b83e890 Gzip 1.1 1993-06-18 18:39:41 +00:00
Jordan K. Hubbard
db4427d334 Updated CVS 1993-06-18 05:46:17 +00:00
Jordan K. Hubbard
4ad6550b7d This commit was generated by cvs2svn to compensate for changes in r12,
which included commits to RCS files with non-trunk default branches.
1993-06-18 05:46:17 +00:00
Jordan K. Hubbard
b76095a430 Updated GNU utilities 1993-06-18 04:22:21 +00:00