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
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
68fb91760f
Added
...
SHLIB_MAJOR=0
SHLIB_MINOR=0
1993-11-09 20:25:14 +00:00