2334 Commits

Author SHA1 Message Date
ache
fa2f60314e 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
ache
40661d07ce #ifdef DEBUG missed by several lines!
!!! Please, COMPILE *BEFORE* COMMIT!
1993-12-01 15:34:01 +00:00
ache
547828e850 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
ache
66add984dc 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
ache
a88a13690a Remove -g option (second time!)
!!! Please anybody who port Makefiles from NetBSD,
!!! remove -g option!
1993-12-01 14:45:35 +00:00
jkh
901b86e422 Latest from Paul K. for better checking of PIC code. 1993-11-30 20:57:41 +00:00
jkh
90b65690ec Many recent fixes from Paul K, add support for chaining of shared lib deps. 1993-11-30 20:47:54 +00:00
jkh
5465ba6a25 Added -lgcc_pic back again. 1993-11-25 01:06:42 +00:00
jkh
f730dcb859 Some of the latest changes from Paul K (taken from NetBSD-current). 1993-11-22 19:05:31 +00:00
jkh
a5ee536189 If we're not logging history information, don't demand write access. 1993-11-20 00:33:12 +00:00
jkh
93375236f0 Recent Paul K. changes for compiling X shared (tested on my box). 1993-11-18 20:52:34 +00:00
ache
18e63a0c75 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
9ff4f18864 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
0d6de7cdb1 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
3eb63c406d 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
cvs2svn
0b7c012349 This commit was manufactured by cvs2svn to create branch 'GNU'. 1993-11-12 07:06:36 +00:00
nate
3bcb26e56e Update to GNU diffutils 2.6
(Forgot to cvs add them)
1993-11-12 07:06:35 +00:00
nate
0ed7263429 Updated to GNU diffutils 2.6 1993-11-12 07:05:54 +00:00
nate
fbf13a99b7 Update to GNU diffutils 2.6 1993-11-12 07:05:40 +00:00
paul
15f00c2a59 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
4d78d6f7a6 Cahnged ldconfig.0 to ldconfig.8 for our man system. 1993-11-09 20:39:46 +00:00
paul
449a9dbe10 Remoed -g flag and added -static. 1993-11-09 20:39:26 +00:00
paul
7666248dea 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
62cf7a7029 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
51db49745d 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
cvs2svn
51aed44005 This commit was manufactured by cvs2svn to create branch 'gnu'. 1993-11-08 17:09:51 +00:00
nate
2e47a4860a Updated to GNU textutils 1.9 1993-11-08 17:09:50 +00:00
nate
dc832dd581 Updated to GNU textutils-1.9 1993-11-08 17:07:38 +00:00
nate
d0fbf26539 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
6de07adf6a Added -lgcc_pic to LDFLAGS in rtld/Makefile 1993-11-07 03:25:25 +00:00
paul
0ec4b5ba38 Changed ldconfig.0 to ldconfig.8 for our man setup. 1993-11-06 23:15:53 +00:00
ache
176ef9b050 -g removed from CFLAGS (with permissions from Paul) 1993-11-05 01:35:24 +00:00
paul
66fdbc00cf Imported NetBSD's ld for shared libs. 1993-11-03 23:41:59 +00:00
paul
cebee5f569 Brought over NetBSD's gas ready for pk's shared libs. 1993-11-03 00:56:24 +00:00
dg
b7669e96a3 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
eb837699da Updated gzip from version 1.2.2 to 1.2.4 due to popular demand 1993-10-14 00:33:38 +00:00
jkh
0ba82aebc9 Try copy if rename of temporary catpage fails. 1993-10-10 01:46:53 +00:00
jkh
e0d5784d0e Handle both signals and errors in child processes, rather than just signals
as before.
1993-10-09 00:48:26 +00:00
jkh
e0ff44a8f9 Allow ^C to interrupt with some semblance of politeness to cgd. 1993-10-08 02:39:36 +00:00
jkh
40e400f2e0 More paranoid dealings with system() 1993-10-08 02:38:15 +00:00
rgrimes
8cbafa16db >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
79766d4d8d 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
rgrimes
6b0f4b30a8 Added bsd.prog.mk so that make maninstall would work 1993-09-08 14:23:28 +00:00
nate
0949181eca Removed some hard-coded paths in gzexe so it works with the current
FreeBSD setup
1993-09-07 05:13:47 +00:00
rgrimes
31c91816cc 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
rgrimes
47e1ede176 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
3e2c95afbe 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
jkh
b879e50236 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
ddffa2556b 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
3e13f7d887 Cleaned up the Makefile to look nicer and not require a lot of hacks 1993-08-04 21:00:46 +00:00