rich
c2b2b84657
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
rgrimes
6c494f2fb2
Disable afterinstall rule as it is broken when you have CVS files around.
...
Reviewed by:
Submitted by:
1994-05-30 14:01:24 +00:00
rgrimes
71d9813960
rbootd compiles on i386 too.
...
Reviewed by:
Submitted by:
1994-05-28 06:21:34 +00:00
rgrimes
758c6e92c9
BSD 4.4 Lite Libexec Sources
1994-05-27 12:39:25 +00:00
rgrimes
7d07d2de2f
BSD 4.4 Lite Libexec Sources
1994-05-27 12:39:25 +00:00
rgrimes
17dc789a4b
This commit was generated by cvs2svn to compensate for changes in r1592,
...
which included commits to RCS files with non-trunk default branches.
1994-05-27 12:39:25 +00:00
ats
a673d40f25
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
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
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
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
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
nate
fabe92192e
Modified Os string to be FreeBSD instead of NetBSD
1994-01-05 01:03:58 +00:00
nate
69dc0f6e65
Added the Linux atrun command as hacked by Chris Demetriou for NetBSD.
1994-01-05 01:03:02 +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
jkh
03fd21e05b
C++ support changes (+misc fixes) from Paul K.
1993-12-22 23:28:35 +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
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
jkh
82cf8558b8
Second attempt to integrate Paul K's changes.
1993-12-02 01:03:47 +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
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
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
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
paul
6de07adf6a
Added -lgcc_pic to LDFLAGS in rtld/Makefile
1993-11-07 03:25:25 +00:00
paul
66fdbc00cf
Imported NetBSD's ld for shared libs.
1993-11-03 23:41:59 +00:00
nate
61fdd33a1c
Libcrypt upgrade
1993-07-20 23:49:11 +00:00
root
64fa45ecd0
New manual page system
1993-07-02 05:48:19 +00:00
rgrimes
25062ba061
Initial import, 0.1 + pk 0.2.4-B1
1993-06-12 14:58:17 +00:00