Commit Graph

488 Commits

Author SHA1 Message Date
Bruce Evans
f34a7038a6 Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1994-08-28 17:44:10 +00:00
Bruce Evans
05e598dc37 We do have <dirent.h>, and it was harmful to pretend that we don't.
Several files in uucp/libunix included <sys/dir.h> and defined dirent
as direct, but <sys/dir.h> defines direct as dirent.  This macro
recursion is not allowed by cpp in traditional mode.  The 2.0 mkdep
uses cpp in traditional mode (another bug) so cpp prints a error
message and exits with a nonzero status.  The error status leaks out
of the pipe (another bug) so mkdep "succeeds".  It may even succeed.
1994-08-28 16:04:56 +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
Jordan K. Hubbard
7129790a6c New 2.0 specific changes.
Reviewed by:
Submitted by:
1994-08-08 20:24:29 +00:00
Jordan K. Hubbard
aeddb76205 Make uucp compile again in 2.0. A little perturbed about the comment
saying that 4.4 uses f_size in statfs, yet we're using b_size.  Anyway,
I've configured things to match our current environment.
Reviewed by:
Submitted by:
1994-08-08 20:24:12 +00:00
Poul-Henning Kamp
61d5ffaf10 I belive this should be makeable under 2.0. There may be outstanding
issues in these areas:
    .h's installed
    .hP's installed
    -lcurses interaction
    files needed in ~/legal for copyleft reasons.
1994-08-08 05:52:55 +00:00
Poul-Henning Kamp
250fc6c839 This gcc-2.6.0 should work with 2.0 1994-08-08 04:45:29 +00:00
Poul-Henning Kamp
1490bf4054 Added -Dbsd4_4, this should close the problem with sys_errlist. 1994-08-08 04:36:16 +00:00
Poul-Henning Kamp
e277531771 gcc260.patch:
moved to the logical name.
libg++-2.6.patch:
	FOO_MAX in limits.h isn't in hex under 2.0 (for the time being ??)
libg++-2.6.tcl:
	it works on my 1.1.5.1 system.  I cannot test it here until gcc-2.6.0
	is installed.
gnu2bmake.tcl:
	enhanced various ways.
README:
	says "don't hack the bmaked sources"
gcc-2.6.0.tcl:
	added the gen-* and md files to the bmaked sources.  Not used by
	makefiles.  Do I need to add other files Garrett ?
1994-08-08 04:30:17 +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
Jordan K. Hubbard
e59e670cbe Remove libg++ until we have a working one again.
Submitted by:	jkh
1994-08-07 20:58:04 +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
50098afdd6 Bump shared-library version numbers. 1994-08-05 21:33:53 +00:00
Garrett Wollman
fed0531ef5 Last commit was slightly half-baked; try again. Use <sys/cdefs.h> to get
__P defined, rather than trying to do it ourselves.
1994-08-05 21:31:51 +00:00
Garrett Wollman
17e8000b6f Use __GNU_P not __P. 1994-08-04 20:57:07 +00:00
Garrett Wollman
f785cf91ff Use __GNU_P ratherthan __P. 1994-08-04 20:53:14 +00:00
Poul-Henning Kamp
b75deec600 Here comes the right import of gcc-2.6.0. 1994-08-02 20:15:59 +00:00
Poul-Henning Kamp
94e6204340 This is the tcl-scripts which will convert gcc-2.6.0 to bmake form,
a patch to gcc from Bruce, and to libg++ by me.  I will check in the
actual compiler when Jordan has put in the rest of src/gnu.
1994-08-02 05:22:24 +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
Andrey A. Chernov
cc27e4f00d Change includes in proper way, i.e.
"readline.h" --> <readline/readline.h>
Remove -I./readline from Makefile (again!)
1994-06-12 08:51:09 +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
8e2c96f286 Put back -I${.CURDIR}/readline in Makefile.
The sources are just broken and given that an extra -I flag is going
to be needed it may as well be as above to guarantee that the library
will build.
1994-06-11 15:18:01 +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
Andrey A. Chernov
c171789359 Remove -I./readline, unneded with make includes 1994-06-10 07:35:49 +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
Andrey A. Chernov
4a62bda2ae Back out previous change and allow uucico to run by others,
this required by several programs
1994-05-31 15:55:43 +00:00
Andrey A. Chernov
9c07bcf01d Don't need to restrict cu, it can be able to check permissions by itself 1994-05-31 07:47:39 +00:00
Andrey A. Chernov
70db166b79 Allow uux and uucp to run by others,
we can got problems with various mailers in other case
1994-05-31 07:37:25 +00:00
Andrey A. Chernov
33dddc66c6 I forget to add BINGRP=$(group) 1994-05-31 05:46:42 +00:00
Andrey A. Chernov
336116b49a Disallow uucp execution to others.
It maybe not so nice, but if any user can easily shut up your
mail feed with big file isn't nice too.
1994-05-31 05:37:12 +00:00
Andrey A. Chernov
5974426b37 Allow group "dialer" to run cu
Disallow others to run cu
1994-05-31 05:23:39 +00:00
Andrey A. Chernov
241ca242fb Don't allow others to run uuconv 1994-05-31 05:13:08 +00:00
Andrey A. Chernov
a537d2cfa6 Don't allow others run uuchk 1994-05-31 05:11:12 +00:00
Andrey A. Chernov
ac0c045974 Don't allow others run uuxqt 1994-05-31 05:09:03 +00:00
Andrey A. Chernov
5789078704 Don't allow others run uucico 1994-05-31 05:08:11 +00:00
Andrey A. Chernov
3af2612b6a Change group to uucp group 1994-05-31 04:41:32 +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
Geoff Rehmet
cd9681ffd1 Add comments to Makefile.inc's about libg++ and shlib nos. 1994-05-28 09:56:30 +00:00
Geoff Rehmet
4c640372f4 Remove explicit specification of SHLIB major and minor nos. 1994-05-27 10:53:33 +00:00
Geoff Rehmet
29e950a20d Bump all minor nos. of libs in /usr/src/gnu/lib.
shlibs are now version 1.1
1994-05-26 08:17: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
Andrey A. Chernov
40a845cd5b Fix -z key, patch from Taylor 1994-05-25 20:14:52 +00:00
Andrey A. Chernov
120a306987 Documentation added 1994-05-25 19:04:00 +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
Andrey A. Chernov
8ada725ee1 Fix multiply slash problem 1994-05-20 00:34:30 +00:00
Jordan K. Hubbard
0c8096059c A perfectly good libgnuregex.a and you can't use it! No header was being
installed.  Do so now as gnuregex.h
1994-05-19 17:40:01 +00:00
Andrey A. Chernov
442f2b9758 We have BROKEN_SETREUID by Taylor point of view 1994-05-17 23:15:30 +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
Andrey A. Chernov
075964620a Make local changes more portable. 1994-05-14 01:18:07 +00:00
Andrey A. Chernov
9e9eefe958 Upgrade to readline 2.0 from bash1.14.1 1994-05-13 15:48:04 +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
9bf8bc6311 Add PAREN_MATCHING to CFLAGS 1994-05-11 16:30:27 +00:00
Andrey A. Chernov
877fea92de Remove #ifdefs which may confuse external packages which include
this headers
1994-05-11 16:25:34 +00:00
Andrey A. Chernov
aec37cc797 Add HAVE_VARARGS_H to CFLAGS
Add VISIBLE_STATS to CFLAGS, fix complete.c for successful
compilation with VISIBLE_STATS
1994-05-11 15:49:43 +00:00
Andrey A. Chernov
b276b1cd0d Add some note, how to tune readline to 8-bit clean mode 1994-05-11 15:19:11 +00:00
Andrey A. Chernov
2fe3320436 Add VI_MODE to CFLAGS 1994-05-11 15:11:01 +00:00
Andrey A. Chernov
3d31134301 Back out forced 8-bit mode, it can be tudned from ~/.inputrc file 1994-05-11 15:09:10 +00:00
Andrey A. Chernov
28c0b6c0e5 Add note about additional changes 1994-05-10 06:48:07 +00:00
Andrey A. Chernov
ae59cc03cd Make readline 8-bit clean 1994-05-10 06:32:12 +00:00
Andrey A. Chernov
f567656ef4 Back out previous fix, correct place to fix is octave program 1994-05-10 01:21:11 +00:00
Andrey A. Chernov
11e697311b Correct rl_attempted_completion_function type to Function *
for successful compilation with octave
1994-05-10 01:16:18 +00:00
Andrey A. Chernov
9cadef18e6 Merged with new readline 2.0 from bash 1994-05-09 23:24:44 +00:00
Andrey A. Chernov
ce4acff5b6 Merge with much improved version from gdb4.11 1994-05-09 20:36:08 +00:00
Andrey A. Chernov
9b39195f89 Install history.h to /usr/include/readline too, gdb4 include it 1994-05-09 18:43:40 +00:00
Andrey A. Chernov
13adc6f931 Remove readline copy, now gdb use gnu lib tree libreadline 1994-05-09 18:13:54 +00:00
Andrey A. Chernov
e9ca3bdf0e libreadline added 1994-05-09 16:11:10 +00:00
Andrey A. Chernov
8a67c71748 Port readline lib into gnu system tree.
Really we don't need copy of this library into each program
(gdb f.e.)

P.S. it is much cleaner port than /usr/ports version and based
on /usr/ports version. /usr/ports version will be removed.
1994-05-09 15:59:10 +00:00
Andrey A. Chernov
8d29233fea Upgrade to version 1.05 1994-05-07 18:14:43 +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
Andrey A. Chernov
a36226d6ef 1) Add \p\c after CONNECT for modems which give CONNECT before
carrier up
2) Add more chat-fail codes
3) Add comment about complete/abort scripts, when modem handle
   DTR drop properly
1994-05-03 18:46:44 +00:00
Jordan K. Hubbard
54678dc993 Back my earlier BSD_TTY change out of -current. 1994-04-26 21:30:33 +00:00
Jordan K. Hubbard
1162c4cea3 From: stark!gene@newsserv.cs.sunysb.edu (Gene Stark)
Message-Id: <199404171501.LAA01245@stark.UUCP>
To: freebsd-hackers@freefall.cdrom.com
Subject: Make world and UUCP
Sender: freebsd-hackers-owner@freefall.cdrom.com
Precedence: bulk

It would be much more convenient if "make world" didn't clobber my
UUCP configuration files in /etc/uucp.  Perhaps the easiest fix would
be to change the names of the sample configuration files:

	config -> config.sample
	ports -> ports.sample
	...
1994-04-25 16:18:07 +00:00
Jordan K. Hubbard
0375e3e434 From: Marko Teiste <mte@tigger.cirion.fi>
Message-Id: <199404241154.OAA00260@tigger.cirion.fi>
Subject: uucp error
Index: gun/libexec/uucp FreeBSD-1.1-GAMMA
Apparently-To: FreeBSD-bugfiler@freefall.cdrom.com
Sender: freebsd-bugs-owner@freefall.cdrom.com
Precedence: bulk

Description:
	When calling remote uucp site dialing succeeds, but standard
	login chat fails. Debug file shows that uucico does not see
	any characters send from remote.

Repeat-By:
	use sio drivers, 16450 base serial and standard taylor configuration
	provided with the GAMMA release. Run uucico and observer.

Fix:
	define HAVE_BSD_TTY instead of HAVE_POSIX_TTY in common_source/policy.h
	and recompile.
1994-04-25 16:16:59 +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
83c4d4f67a Back out previous change. 1994-04-02 17:10:19 +00:00
Jordan K. Hubbard
f382b1e919 Fix from Gene for bogus destinations. 1994-04-01 13:11:01 +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
Andrey A. Chernov
00cf4634ce Partially undo prevoius fix from Ian Taylor, VTIME must be 0 here 1994-02-07 23:47:51 +00:00
Jordan K. Hubbard
1f17318c25 Patches from Gunter Jung to make xchat work properly. 1994-02-06 22:02:25 +00:00
Rodney W. Grimes
243bb8a1de Update for new organization of gnu tree. 1994-01-30 01:24:23 +00:00
Rodney W. Grimes
52660a3119 Update for new organization of gnu tree. 1994-01-30 01:08:21 +00:00
Rodney W. Grimes
984de365e7 Update for new organization of gnu tree. 1994-01-30 01:03:16 +00:00
Rodney W. Grimes
3f6a562175 Update for new organization of gnu tree. 1994-01-30 00:55:54 +00:00
Rodney W. Grimes
ca4dad266f New files for relocated source code. 1994-01-30 00:31:51 +00:00
Nate Williams
d21e209e03 No longer install the GNU regex.h include file. 1994-01-29 20:20: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
David Greenman
2b5d133b07 From: swildner@channelz.GUN.de (Sascha Wildner)
What follows are the changes I made to make XChess compile.  There are
still a couple of bugs left which maybe someone else will fix.
1994-01-07 11:10:42 +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
Scott Mace
fa21f024a0 Update shlib version to 1.0 1993-12-28 07:57:07 +00:00
Scott Mace
16ffb43c0f Update version to 1.0 1993-12-28 07:54:51 +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
0def918bed remove HAVE_SETPGRP, because it doesn't detach terminal
in POSIX (setsid() is only way to do it)
1993-11-18 01:19:06 +00:00
Andrey A. Chernov
03e2b4a1fd IMAXBELL & PENDIN now cleared to satisfy new sio driver.
From Ian Taylor.
Fix POSIX CLOCAL behaviour, set controlling terminal after it.
Change VTIME from 0 to 1 to fix timeouts waiting for data
1993-11-18 01:03:18 +00:00
Andrey A. Chernov
590ab56698 From Ian Taylor.
Fix POSIX detach behaviour, based on setsid() call.
stpgrp(0,0) not used for POSIX now.
1993-11-18 00:59:17 +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