Commit Graph

1377 Commits

Author SHA1 Message Date
jdp
d7912405bd Use xmalloc instead of malloc in two places, so that out-of-memory
conditions will be detected.

Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1997-01-24 00:07:03 +00:00
jkh
acb5565ffe Remove incorrect use of double-negative since it means the same thing
to make but perhaps not to the human reading it.
1997-01-21 18:16:02 +00:00
jdp
282d267078 Pay attention to the environment variable "LD_IGNORE_MISSING_OBJECTS".
If it is set to a nonempty string, then simply skip any missing
shared libraries.  This came up in a discussion long ago as a
potentially useful feature at sysinstall time.  For example, an
X11 utility could be used without the X libraries being present,
provided the utility had a mode in which no X functions were actually
called.
1997-01-17 20:22:18 +00:00
jdp
7b0000acf9 Add back the description of the "-v" option. It seems to have been
lost in the conflict resolution leading up to revision 1.4.
2.2 candidate.
1997-01-17 17:36:22 +00:00
jkh
83c2f5687e Go on one of my periodic rampages through this code, trying to make
it DTRT.  In the process, discover the usual 10-15 evil bogons which
have been lurking in it for years.  This closes, for one thing, the
recent report Mike Smith made about nested checklist menus returning
with the scrolling region messed up.
1997-01-17 08:19:19 +00:00
jkh
d4412390b5 Remove -lmalloc; it's no longer relevant.
Pointed-Out-By: jdp, dima and others.
1997-01-17 06:32:35 +00:00
ache
98c1aecc7e Simplify using SRCDIR 1997-01-16 18:20:05 +00:00
ache
dd4737bbd6 Use SRCDIR instead of PATH 1997-01-16 18:14:44 +00:00
ache
c9b547eabb Simplify using SRCDIR 1997-01-16 18:11:49 +00:00
ache
d516d6f312 Use SRCDIR instead of PATH 1997-01-16 18:05:28 +00:00
ache
4980dadaa5 Simplify it using SRCDIR 1997-01-16 17:58:14 +00:00
gj
df43ee97ee Remove mmalloc since we're now using phkmalloc. This is made possible
by the -DNO_MMALLOC flag in gdb/Makefile.

The one thing we lose by doing this, AFAIK, is the possibility of using
mmap. Does anyone use that feature at all ?

2.2 candidate ?
1997-01-15 22:47:36 +00:00
gj
91c9d08b20 Changes required in directory libiberty to make gdb from the sources in
/usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:43:15 +00:00
gj
26dd6730dc The files in gdb/elf are now grabbed from /usr/src/contrib/gdb/include/elf.
This also applies to the last 2 commits for aout and coff. Oops !

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:41:13 +00:00
gj
35a540ce1d The files in gdb/coff are now grabbed from /usr/src/contrib/gdb/coff.
This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:39:08 +00:00
gj
18f7dd2b5c The files in gdb/aout are now grabbed from /usr/src/contrib/gdb/aout.
This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:38:29 +00:00
gj
87b8aecea4 changes required in the gdb directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:37:09 +00:00
gj
b4283751de changes required in the doc directory for making the gdb info
files using the texi sources in /usr/src/contrib/gdb/gdb/doc.

I put a pointer to /usr/src/contrib/libreadline/doc into
Makefile.inc in the hope that the appropriate files would be
picked up.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:33:16 +00:00
gj
5a3eeda46b changes required in the bfd directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:28:25 +00:00
gj
d79ac17aa7 changes required in the top-level directory for making gdb
using the sources in /usr/src/contrib/gdb.

This is based on /usr/ports/devel/gdb.

2.2 candidate ?
1997-01-15 22:26:11 +00:00
jkh
aaad85f64d Allow emacs-style next/prev characters as well as arrow keys so that
I can offer this as a consistent feature.
1997-01-15 02:50:48 +00:00
jdp
dcd41564c5 If a library is found in the hints file, but the library doesn't exist,
ignore the hint.

This is a straightforward fix, and it should go into 2.2 after a burn-in
period of a few days.

Noticed by:	bde
1997-01-14 17:53:55 +00:00
jkh
808a36ef65 Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!)
avoiding the Id-smashing problem which has plagued developers for so long.

Boy, I'm glad we're not using sup anymore.  This update would have been
insane otherwise.
1997-01-14 07:20:47 +00:00
jkh
fbded31544 Back out previous fix. It was bogus. 1997-01-13 10:55:49 +00:00
jkh
6f001ae28e Install a dir file if one doesn't exist. This seems the most likely
place to do it, I guess, and it's the utility which falls over without one.
1997-01-13 09:54:38 +00:00
jkh
da7715db04 Turn this into legal texinfo. Since I don't know what the author
intended (and clearly, neither did the author :) I've just used the
bullet list attribute everywhere.
1997-01-13 05:02:49 +00:00
wosch
71f5160702 Sort cross references. 1997-01-13 00:25:51 +00:00
jdp
75efa0b561 Use the RTLD_NOW symbol, now that it is defined in <dlfcn.h>. 1997-01-12 19:59:26 +00:00
peter
995435c492 Patch up the readline info building. This one is a bit of a problem
since the source name is not the same as the texinfo name so we have to
use SRCS=.  This means we can't build two info sets in the same directory
so I've split it.
1997-01-12 08:10:55 +00:00
peter
d6c696eb1a Don't conflict with INFODIR?=${SHAREDIR}/info from the system Makefiles 1997-01-12 07:36:43 +00:00
peter
cff7a604f0 Make this (hopefully) build now. There was no dir entry. 1997-01-12 07:18:05 +00:00
peter
b1ad1fd1a7 Fix path to readline docs, since it's now in contrib 1997-01-12 06:33:27 +00:00
peter
c929318a4f Disconnect the doc subdir until somebody fixes this. I don't see how this
could possibly have worked during the testing before the last commit. :-(
1997-01-12 05:01:29 +00:00
jdp
222e4ec967 Correct typos and spelling errors. 1997-01-12 00:19:14 +00:00
jdp
04703241ef Add support for the LD_BIND_NOW environment variable. If it is set to a
nonempty string, then function calls are relocated at program start-up
rather than lazily.  This variable is standard on Sun and SVR4 systems.

The dlopen() function now supports both lazy and immediate binding, as
determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or
2 (RTLD_NOW).  I will add defines of these symbols to <dlfcn.h> as soon
as I've done a little more checking to make sure they won't cause
collisions or bootstrapping problems that would break "make world".

The "LD_*" environment variables which alter dynamic linker behavior are
now treated as unset if they are set to the empty string.  This agrees
with the standard SVR4 conventions for the dynamic linker.

Add a work-around for programs compiled with certain buggy versions of
crt0.o.  The buggy versions failed to set the "crt_ldso" member of the
interface structure.  This caused certain error messages from the
dynamic linker to begin with "(null)" instead of the pathname of the
dynamic linker.
1997-01-12 00:16:36 +00:00
jdp
cda6305fe1 Set LD_TRACE_LOADED_OBJECTS to "1" instead of to "". The dynamic linker
now treats empty "LD_*" environment variables as if they were unset, per
the standard SVR4 conventions.
1997-01-12 00:10:57 +00:00
jdp
2c25ac3d92 Add support for the LD_BIND_NOW environment variable. If it is set to a
nonempty string, then function calls are relocated at program start-up
rather than lazily.  This variable is standard on Sun and SVR4 systems.

The dlopen() function now supports both lazy and immediate binding, as
determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or
2 (RTLD_NOW).  I will add defines of these symbols to <dlfcn.h> as soon
as I've done a little more checking to make sure they won't cause
collisions or bootstrapping problems that would break "make world".
1997-01-12 00:09:11 +00:00
jmacd
34f7e2327f Changes to make ld demangle C++ symbol names before printing
error messages containing them.

Reviewed by:	Peter Wemm
1997-01-11 05:51:03 +00:00
jmacd
05a9d406ab Same. 1997-01-11 05:45:40 +00:00
jmacd
ddb6e87fe3 Same. This wasn't installed before either. 1997-01-11 04:07:35 +00:00
jmacd
e8ba000b3a Same. 1997-01-11 04:03:05 +00:00
jmacd
fae6e24a92 Same. This wasn't even in the old dir file. 1997-01-11 03:58:39 +00:00
jmacd
e51ec0e772 Same. 1997-01-11 03:52:45 +00:00
jmacd
b0838c430a Same deal. 1997-01-11 03:50:21 +00:00
jmacd
20e59b0f9d Same deal. 1997-01-11 03:41:14 +00:00
jmacd
ff70d27174 Same thing. 1997-01-11 03:32:01 +00:00
jmacd
aebb973fe7 Forgot a TAB. 1997-01-11 03:31:08 +00:00
jmacd
736054abb1 Same thing. 1997-01-11 03:26:53 +00:00
jmacd
d1944753d1 Getting tired of writing same thing. 1997-01-11 03:24:24 +00:00
jmacd
a11c062bf5 Added section and entry annotations. 1997-01-11 03:19:32 +00:00