Commit Graph

1429 Commits

Author SHA1 Message Date
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