Commit Graph

885 Commits

Author SHA1 Message Date
pk 8920da128d Parse library names better; takes care of PR#1291 1995-08-05 00:16:36 +00:00
pk d579c1b1db Handle object code with the "large" model PIC (eg. gcc's `-fPIC' option). 1995-08-04 21:49:00 +00:00
pk 72acb4fe30 Handle object code with the "large" model PIC (eg. gcc's `-fPIC' option). 1995-08-04 21:32:15 +00:00
phil dad0b0a94c Work towards getting gdb working by Craig Ruff. 1995-07-28 08:00:17 +00:00
cgd bc6a795fd3 define PR_PROGRAM to be the location of our pr(1). fixes PR 1216 1995-07-12 07:21:05 +00:00
cgd 9b7ebcf785 on i386, use VM_MAXUSER_ADDRESS for kernel_start, since the real
kernel start is much different that the start of KVM.  (VM_MAXUSER_ADDRESS
isn't correct, but seems to mostly work...)  (XXX -- there should be a
better way.)

if curproc == null, use address of proc0; code doesn't know how to deal
with null curproc.  (XXX: (1) should make it deal, or (2) should use address
of last proc run, but there's no real way to do that.)
1995-07-08 01:55:54 +00:00
jtc d6a890806a libgcc2's extended float (xfmode) and double integer (dimode) conversion
functions are needed on the m68k.
1995-07-07 05:17:16 +00:00
pk 7787772880 Add `-R' to record internal library search paths.
Usage note: `cc -Xlinker -R<path>'.
1995-06-30 12:33:56 +00:00
pk f42537952b man page for the run-time linker 1995-06-30 12:23:10 +00:00
pk d8f640e15a Add a `merge' option.
Use err() & warn().
1995-06-20 23:12:33 +00:00
pk 45359beaf4 Initialise after malloc (fixes PR#1149).
Also, correct comparison when looking in `prefered' paths.
1995-06-20 23:07:03 +00:00
cgd 62a2a70e71 do what ted wanted (in prs 1131, 1139), but slightly differently 1995-06-20 09:55:18 +00:00
jtc b7926d3ef4 Change mail address to gnats.netbsd.org 1995-06-19 05:34:47 +00:00
pk 4b7629e4ba Honour current umask when turning `x' bits on (from Joerg Wunsch). 1995-06-15 09:02:57 +00:00
mycroft c13d36b588 Explicitly remove file before creating it. 1995-06-10 20:37:55 +00:00
briggs d5b4519095 Fixes for incorrect m68040 opcodes from
Henric Jungheim (uhenric@mcl.ucsb.edu).
1995-06-05 23:38:16 +00:00
ragge 77ca47bc4d Added vax support. 1995-06-05 15:22:38 +00:00
pk d24616db68 STARTFILE_SPEC: choose `scrt0.o' if `-static' is given. 1995-06-05 01:59:14 +00:00
pk 05a6a13e75 Be sure to calculate correct offsets in dispatch table. 1995-06-05 01:01:51 +00:00
pk d680ed6b95 #include <dlfcn.h> 1995-06-05 00:08:38 +00:00
pk 878392000d Put dlopen() et.al. declarations in separate header file for compatibility. 1995-06-05 00:08:07 +00:00
pk fdd7092874 Cache two more environment variable values. 1995-06-04 23:21:35 +00:00
pk fe9497fd8c Revive library search paths. 1995-06-04 21:57:18 +00:00
pk ad760ce3d6 Implement compiled-in library search paths: any `-L' argument encountered
while `dynamic link-mode' is on, is recorded in the executable. The
run-time linker will search these paths after $LD_LIBRARY_PATH but
before the default set and those currently in the hints file.
The feature is disabled whenever for set[ug]id programs.
1995-06-04 21:56:22 +00:00
pk 3441f631d9 Cut some convoluted code that caused library members to get pulled
in unnecessarily. Also, the size of common is of no interest if the
symbol already is in a shared object.
1995-06-04 21:33:14 +00:00
mycroft c7ad9c47f1 Fill in sin_len. 1995-06-03 22:24:45 +00:00
ragge d3b6660a9e Added #define LOCAL_LABELS_FB to allow local variables. 1995-05-31 18:13:00 +00:00
phil 46466fb2d7 Correct copyright. 1995-05-29 18:11:35 +00:00
briggs ad2b81e4f0 jbsr takes one argument, not two. Apparently the assembler quietly
ignores the second...
Pointed out by uhenric@mcl.ucsb.edu (Henric Jungheim).
1995-05-07 13:22:12 +00:00
cgd 55a02ad429 define STDC_HEADERS, because it seems to work and because we need the protos 1995-04-29 05:37:13 +00:00
cgd 6054080b24 include string.h on NetBSD; we need the proto 1995-04-29 05:36:24 +00:00
cgd ebaadd7e30 include stdlib.h and string.h on NetBSD, because we _need_ the protos. 1995-04-29 05:34:41 +00:00
cgd a12c29d63c if NetBSD, include sys/cdefs.h and don't define __P here. 1995-04-29 05:32:40 +00:00
cgd 7bfa303f5e fix a typo; i accidentally deleted an _, but it won't really matter. 1995-04-28 11:43:53 +00:00
cgd 0f099d92af changes to make the src/gnu code compile happily on the alpha:
Mostly casts here and there to kill warnings or bugs.  occasional
addition of prototypes and/or changes to bring protos into scope.
1995-04-23 08:35:30 +00:00
cgd 81584a34e6 NetBSD RCS Id format 1995-04-23 07:58:27 +00:00
cgd 0d981b3959 NetBSD RCS Ids 1995-04-23 07:52:53 +00:00
cgd 1ac78f0020 don't build tool chain on the alpha, but install /usr/bin/cpp script. 1995-04-23 07:50:55 +00:00
cgd b0c276cd95 don't build libg++ on the alpha 1995-04-23 07:50:21 +00:00
cgd b67285a9e4 don't build games or libexec on the alpha 1995-04-23 07:49:43 +00:00
mycroft f1c7f639bf Correct path to mail program. 1995-04-19 16:10:30 +00:00
gwr 066fe128b1 Oops, that code was correct before the last change. I was confused. 1995-04-18 21:34:16 +00:00
gwr 4fa65aaec7 Fixed botched increment when reading FP regs from kernel crash dumps... 1995-04-18 21:05:25 +00:00
gwr 5acd5ef18f Support new style core dumps (with .reg section) 1995-04-16 03:07:47 +00:00
jtc 2d6d798292 Use soelim instead of gsoelim 1995-04-12 00:57:54 +00:00
jtc 8312d63ae0 Upgrade to Gawk 2.15.6 1995-04-05 00:11:36 +00:00
pk 28dba22b40 Fix bogosities in cascade stuff. 1995-04-01 20:56:55 +00:00
glass 999e951c81 fix bug 905.Charlie Root <root@freetocreate.cais.com> 1995-03-25 17:27:27 +00:00
glass fef68e571e install grog 1995-03-22 17:32:28 +00:00
glass ea0108c8e9 make grog install properly 1995-03-22 17:30:04 +00:00
mycroft 3f6e0361e1 Allow the `.bss' pseudo-op. Remove some unneeded #ifdefs for
MANY_SEGMENTS.
1995-03-21 15:27:07 +00:00
pk b05d1d15b6 Mention one more macro that was added some time ago. 1995-03-06 23:58:04 +00:00
pk b6340cabe2 Burn LD_RUN_PATH; I didn't read the SVR5 man-pages carefully enough. 1995-03-06 22:59:10 +00:00
pk 64edf8f86f Code from Matthew Green to do DL cascading "in the first degree".
Two `fprintf(stderr, ..)' => `warnx(..)'.
1995-03-06 20:51:24 +00:00
cgd 671d2abce5 complete remove special search dirs, use NetBSD Id tag. 1995-03-06 04:24:41 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
cgd 17b5b284d8 add a -o flag. should replace with Berkeley grep. 1995-02-27 16:48:07 +00:00
mycroft 529b718973 Look for subprograms in /usr/bin. 1995-02-24 02:44:22 +00:00
mycroft 25ed20bd92 RCS 5.6.7.4 1995-02-24 02:24:53 +00:00
mycroft 03692cae32 RCS 5.6.7.4 1995-02-24 02:07:40 +00:00
mycroft a3df365e06 Update SIGCONTEXT_PC_OFFSET. 1995-02-06 13:31:59 +00:00
mycroft c8de8df89b Add another missing instruction. 1995-02-05 13:29:50 +00:00
mycroft 0132c69943 Add some missing instructions, and synchronize. 1995-02-05 13:27:12 +00:00
mycroft 55d5061af9 Add `cpuid' instruction, and the canonical names for the debug registers. 1995-02-05 12:57:30 +00:00
jtc 7c52a05701 Fixed missing ` (backquote).
Noted by Jason R. Thorpe in PR #780.
1995-02-03 20:08:09 +00:00
mycroft 7db2979d69 Adjust SIGTRAMP_START to reflect reality. 1995-02-03 06:42:31 +00:00
jtc 94b854e91e Merged with most recent version from Cygnus.
Adds support for REPLYTO environment variable, as was requested by PR 771.
1995-02-01 09:00:14 +00:00
pk 9e92d48d1a Fix confusion over a.out header flags. 1995-01-29 14:47:06 +00:00
mycroft 2355a66600 Remove some dysfunctional stuff. 1995-01-26 22:39:16 +00:00
mycroft acc7239f63 Shorten register coping code. 1995-01-26 18:28:18 +00:00
mycroft fb5f2e6e92 Shorten register coping code. 1995-01-26 18:27:39 +00:00
mycroft 19b4020cd6 Shorten register copying code. 1995-01-26 18:13:49 +00:00
mycroft 01c2162989 Use PT_[GS]ET{,FP}REGS. 1995-01-26 17:55:18 +00:00
mycroft bbbc633d3f Rearrange slightly to avoid needing to change any generic code. 1995-01-26 16:29:01 +00:00
mycroft 4cf8fa5a27 Use PT_GET*REGS and PT_SET*REGS. 1995-01-26 15:56:29 +00:00
mycroft 1045a9778f Oops; fix off by one error. 1995-01-26 09:16:09 +00:00
mycroft f5e4a41dd2 Use fgetpos(3) and fsetpos(3) to navigate source files. 1995-01-26 09:09:38 +00:00
cgd d85271e6e4 don't forget the newline! 1995-01-24 23:03:51 +00:00
pk a047cccc6e Re-enable verbosity at start-up; use `alias gdb gdb -q '\!*'' 1995-01-18 07:13:21 +00:00
mycroft fda456c38c Use solib.h. 1995-01-18 00:22:03 +00:00
mycroft ae92c26c4c Several consistency nits, and fix a byte order problem in md_swapout_reloc(). 1995-01-17 06:44:38 +00:00
mycroft 2c64d3be89 Several consistency nits, and don't define the get_*() macros twice. 1995-01-17 06:41:43 +00:00
jtc 2b7200edde Updated to newer version of GNU sort, fixes ispell config.
From Kenneth Stailey <kstailey@leidecker.gsfc.nasa.gov>, via Brezak.
1995-01-17 00:06:30 +00:00
jtc 6fcf7ba3c0 Fix tipo 1995-01-15 21:59:34 +00:00
jtc 1766d4483b Use ${BINOWN} and ${BINGRP}. 1995-01-12 19:06:53 +00:00
pk 4febe0acb7 - document `-k' flag.
- add `-w' flag (equivalent to `set write')
1995-01-12 10:20:27 +00:00
pk a78b684574 Test pointer before using it. 1995-01-12 10:17:52 +00:00
mycroft 3dbc1e9443 Patch from Giles Lean to make compilation flags more consistent. 1995-01-07 23:07:03 +00:00
pk 2bc6eb4bd7 Make sure weak symbols inherit a size expression. 1995-01-04 11:26:02 +00:00
pk 3e21f75b0e Don't whine about undefined symbols. 1994-12-28 10:37:38 +00:00
pk 7f13497f11 Enable `#pragma weak' 1994-12-23 21:16:50 +00:00
pk 8e0a22a5fb "weak symbol" support (fudged into `a.out' by means of the n_other field).
Weak symbols are to replace indirect (type N_INDR) symbols and will help
to clean up name spaces in libraries.

Also, some misc. bug fixes, including PR 586, and use stdio for the output
file entirely.
1994-12-23 20:32:51 +00:00
pk da34da6096 Put a reserved field into use (weak symbol support). 1994-12-23 20:16:59 +00:00
jtc af07927cde Added NOMAN= 1994-12-22 21:58:16 +00:00
cgd c4f5a56918 kill (useless) NOPROG= 1994-12-22 13:13:44 +00:00
cgd 3a370daf86 specify man pages the new way. 1994-12-22 09:44:45 +00:00
cgd c4c01d75b2 specify man pages the new way. 1994-12-22 09:31:26 +00:00
phil 8127b61e44 Belated change to NETBSD_CORE. 1994-12-22 04:05:39 +00:00
cgd d47146534a implement new cpp predefine strategy: __NetBSD__, plus __${MACHINE_ARCH}__,
plus whatever machine-dependent goop is necessary.  Leave old (namespace-
polluting) predefines in, until after next release.
1994-12-21 11:24:51 +00:00
pk 6382ef4e02 Make sure `foo=foo' behaves like a no-op. 1994-12-20 12:27:49 +00:00