Commit Graph

284 Commits

Author SHA1 Message Date
jkh
0be7296a0e Back out previous change. 1994-04-02 17:10:19 +00:00
jkh
3c5977ecbb Fix from Gene for bogus destinations. 1994-04-01 13:11:01 +00:00
jkh
d377492fa0 Something bogus happened here; not sure what or how.
Fixed.
1994-03-23 18:50:57 +00:00
jkh
5e4d4e2302 Make man the default owner, don't bother with sgid. 1994-03-19 22:25:17 +00:00
jkh
7055d6c2f1 Correct pre-installation target. 1994-03-19 22:24:48 +00:00
jkh
018adc850a Change group id to man 1994-03-18 11:55:53 +00:00
jkh
31c91e4def 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
ats
cc04fd6ad5 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
dg
1d11a20ba4 Document existance of -Z 1994-03-09 14:28:02 +00:00
jkh
6703ae951f 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
phk
17a5179b1d added the -C/-check again. 1994-02-25 21:46:07 +00:00
rgrimes
31e8953bf1 Alignment fix from John Dyson/David Greenman 1994-02-20 16:06:12 +00:00
jkh
6a471bf87c 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
jkh
98554d2175 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
dg
ecc51307e3 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
2d7ae2a7d5 NetBSD -> FreeBSD (This is the FreeBSD version, not the NetBSD version :-) 1994-02-14 21:18:05 +00:00
rgrimes
ed3fbc3030 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
jkh
835434e1a4 A fast private malloc for ld.so 1994-02-13 20:44:09 +00:00
jkh
477937c24f 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
jkh
6dd0fdbdcc 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
32c86468ca Changed NetBSD -> FreeBSD 1994-02-11 12:12:51 +00:00
rgrimes
30e3f6b4a0 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
ache
a1988f314d Partially undo prevoius fix from Ian Taylor, VTIME must be 0 here 1994-02-07 23:47:51 +00:00
jkh
e0dee95277 Patches from Gunter Jung to make xchat work properly. 1994-02-06 22:02:25 +00:00
rgrimes
eef01ebea3 Update for new organization of gnu tree. 1994-01-30 01:24:23 +00:00
rgrimes
053c1c1670 Update for new organization of gnu tree. 1994-01-30 01:08:21 +00:00
rgrimes
b3fbe5df00 Update for new organization of gnu tree. 1994-01-30 01:03:16 +00:00
rgrimes
9de0dbd6ea Update for new organization of gnu tree. 1994-01-30 00:55:54 +00:00
rgrimes
24d5649274 New files for relocated source code. 1994-01-30 00:31:51 +00:00
nate
ef0615a7dd No longer install the GNU regex.h include file. 1994-01-29 20:20:51 +00:00
dg
50dde40ae0 Removed dependance on EX_DYNAMIC in making decisions on the magic number. 1994-01-19 15:00:37 +00:00
jkh
9f745bbfc3 More proper fix for for shared lib debugging support. 1994-01-14 11:47:00 +00:00
jkh
29f81b79b8 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
dg
a9274b5d2e 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
jkh
352c7ab0fd Updated man page to document new behaviour of -Z, -z and -Q flags. 1994-01-03 23:52:35 +00:00
dg
d44d2d472f Implemented 'QMAGIC' a.out format correctly, and changed the default
output to be QMAGIC.
1994-01-03 18:35:54 +00:00
dg
7d2bd6aedc Only use syscallmap if FM_TRAP or EX_TRAPSTK are defined. 1994-01-03 08:10:47 +00:00
ats
dc0d9c2d73 Added y.tab.h to the CLEANFILES target. 1993-12-31 11:24:16 +00:00
smace
2fa482e62d Update shlib version to 1.0 1993-12-28 07:57:07 +00:00
smace
fa3eee434b Update version to 1.0 1993-12-28 07:54:51 +00:00
jkh
03fd21e05b C++ support changes (+misc fixes) from Paul K. 1993-12-22 23:28:35 +00:00
nate
e0628cc99d 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
jkh
1a93a487bc 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
jkh
d106ff7161 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
jkh
f9bc910bcd Added sbrk() as new file. 1993-12-11 21:06:36 +00:00
jkh
21990edfab Broke sbrk() out of rtld as part of general cleanup. 1993-12-11 21:06:00 +00:00
jkh
2f700dbb7c 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
jkh
fa2f998399 Sync up with Paul K's latest ld from cesium. 1993-12-11 12:02:10 +00:00
jkh
4bb66b3efe 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
jkh
de5c072bce 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
jkh
0e47039eee David Greenman's latest changes to eliminate much stack-walking jazz
(no more sbrk_init()!).
1993-12-09 17:45:43 +00:00
jkh
e781a415b5 More changes to bring FreeBSD in sync with Paul K's latest. 1993-12-04 00:53:16 +00:00
jkh
0692c29b44 More changes to bring FreBSD in sync with Paul K's latest. 1993-12-04 00:53:02 +00:00
ache
fb77d58356 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
ache
1d8e4d1772 #ifdef DEBUG unwanted message, third time after Jordan... 1993-12-02 09:32:26 +00:00
nate
b95062ff6a Moved DEBUG conditional where it belonged to remove DEBUG code out of
default compilation.
1993-12-02 05:09:52 +00:00
jkh
82cf8558b8 Second attempt to integrate Paul K's changes. 1993-12-02 01:03:47 +00:00
jkh
6c95372161 Second attempt to integrate Paul K's changes. 1993-12-02 00:56:40 +00:00
ats
1b23c6f734 deleted all references to rindex and included string.h instead. 1993-12-01 16:45:42 +00:00
ats
3749e58064 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
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
dbf6b5a2db 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
ache
bd8d47ba76 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
ache
1f3af8cba1 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
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
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
b77e0b81ad Added
SHLIB_MAJOR=0
SHLIB_MINOR=0
1993-11-09 20:25:14 +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
rich
5e95a8816c merge free.c realloc.c into malloc.c so that all three are linked in
if any are referenced.

libc's malloc.o contains malloc(), free() and realloc().  And libc
refers to realloc which will cause the linker to pull in redundant
malloc() and free() definitions from malloc.o if it isn't already
linked in from GNU malloc.  Rich
1993-10-19 18:22:37 +00:00
rgrimes
2c850a2d35 Makefile to install sample files in /etc/uucp with correct ownership and
permissions
1993-10-14 12:18:29 +00:00