Commit Graph

1992 Commits

Author SHA1 Message Date
jtc
bf5c90d5f9 merge in 1.2 branch 1996-10-09 01:46:13 +00:00
mrg
92390243e6 always update length; from vixie. 1996-10-08 04:09:58 +00:00
cgd
53ded8ebcb add a hack so that old- and new-toolchain alphas do the right thing:
include bsd.own.mk early on, and if !alpha or if !ELF_TOOLCHAIN,
build c++rt0.o.  ELF alphas don't use the 'normal' C++ runtime startup
routines.  Eventually, there should be better ways to distinguish what
toolchain and object format is in use, and the Alpha C++ startup code
changes should be merged with that used by the other ports.
1996-10-08 00:36:28 +00:00
cgd
c7a4944620 update so this compiles with the latest ELF ld.so. Include bsd.own.mk
at the top, for ELF_TOOLCHAIN definition, so this can be better
conditionalized for new/old toolchains.
1996-10-08 00:29:48 +00:00
scottr
6f72cdccd4 Remove outdated BUGS section (from Mike Long, PR 2804) 1996-10-04 16:59:46 +00:00
cgd
8cf4d8ab67 some spaces -> tabs 1996-10-04 03:34:09 +00:00
cgd
61dc0e200c fix pasto: Elf_{Off,Word} rather than Elf32_{Off,Word} 1996-10-03 04:55:31 +00:00
cgd
1d7d5ec2f8 add support for real KV addresses, and clean up some. 1996-10-01 21:12:05 +00:00
cgd
4540a28ede Real alpha support, minus actual KV -> physical translation. (Does K0SEG ->
physical translation, though, which is enough for e.g. dmesg and vmstat -i.)
1996-10-01 19:04:02 +00:00
cgd
2af2958a7d add code so that if kvm_nlist() failed because __fdnlist() failed,
kvm_geterr() actually provides useful information rather than just an
empty string.
1996-10-01 18:56:11 +00:00
cgd
ec641b91a7 Fix spelling error, add alpha to list of ports that use new libkvm 1996-10-01 14:38:28 +00:00
cgd
51e3315ea1 stub _kvm_pa2off so that new libkvm links 1996-10-01 14:37:00 +00:00
cgd
e5629b37cc clone from nlist_elf32.c (with ECOFF mods). Adds comments,
optimization, cleanup.
1996-10-01 13:37:05 +00:00
cgd
802cbd1ba7 clean up comments a bit. 1996-10-01 13:35:34 +00:00
cgd
561e189aaa "do over." Rewrite from scratch, or, more precisely, based on a high-speed
merge of libc's ECOFF nlist support (written by me, a while ago), and the
(relatively new, but again written by me) kvm_mkdb ELF support.
1996-10-01 00:32:52 +00:00
cgd
571692b849 fix a thinko in the check-removal changes 1996-10-01 00:27:38 +00:00
cgd
e5699c2fe3 kill recently added 'check' functions, since they only add code to be more
expensive, i.e. they save nothing and add code.  also, beat it with the
style stick.
1996-09-30 23:51:05 +00:00
cgd
80fde3aab4 kill recently added 'check' functions, since they only add code to be more
expensive, i.e. they save nothing and add code.
1996-09-30 23:49:27 +00:00
christos
e324d0c9f6 Reflect reality. 1996-09-28 19:08:22 +00:00
cgd
9a5eb71903 slightly tune what gets compiled in: On the Alpha, we need ECOFF and
ELF64.  On other architectures only include a.out support, since we don't
know whether or not they'll have the headers necessary for ECOFF and/or
ELF, and since they only want a.out for now (execpt the mips archs, but
they do Special things).  There should be a better way to select which
bits of nlist code get compiled in, but currently there is not.
1996-09-27 22:41:59 +00:00
cgd
d1bae5c5d5 rename rcsid to e64rcsid, so it doesn't conflict with the one in nlist_elf32.c 1996-09-27 22:38:06 +00:00
cgd
c8365a76b4 Seriously revamp libc's nlist()/__fdnlist() support:
(1) split nlist() into multiple files, for clarity and to make
	    ELF 32/64 support easier,
	(2) support multiple executable types at the same time, and
	(3) add support for 32- and 64-bit ELF (32-bit ELF support
	    originally from OpenBSD, but with several bug fixes so
	    that it actually handles symbols types more correctly
	    (and therefore _works_ for some of the more tricky uses
	    of the nlist routines) and changes for 64-bit ELF support).
1996-09-27 22:23:03 +00:00
thorpej
e9b92001e2 RCS id policing. 1996-09-26 23:45:22 +00:00
matthias
b92278aef8 The pc532 port now has string functions in assembler.
strcmp.S, strcpy.S and strlen.S are contributed by Randy Hyde.
1996-09-24 09:29:52 +00:00
matthias
9ea65c1c28 Changed KMSRCS to reflect new reality (Stringfunctions in assembler). 1996-09-24 09:18:29 +00:00
matthias
6a01b1234b Make it possible to have a md version of memccpy. 1996-09-24 09:14:18 +00:00
thorpej
95c870f69b Update for the new internal name for __getlogin(). 1996-09-23 02:43:11 +00:00
thorpej
a500813c14 RCS id police. 1996-09-19 19:39:36 +00:00
thorpej
f2caf8ea31 Make a quick 64-bit safeness sweep. S/Key now works on the Alpha. 1996-09-19 19:36:51 +00:00
jtc
6c68d47b78 Renamed _getlogin syscall to __getlogin, as _getlogin is the namespace
clean name for getlogin.

Moved _getlogin.o (now __getlogin.o) from PSEUDO to ASM, as this
syscall really does have a return value (although it will "always"
succeed since it should only be called from libc's getlogin())
1996-09-19 04:50:02 +00:00
cgd
731ac8686e set the GP before accessing errno. 1996-09-17 21:16:12 +00:00
jonathan
9f3b05068c * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
1996-09-17 01:32:22 +00:00
jonathan
81b108b45f Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to  "NetBSD:".
1996-09-16 18:10:35 +00:00
cgd
a5adf9b9ba reload GP _before_ error check+branch 1996-09-15 18:18:26 +00:00
jtc
95c287709b set HAVE_STRERROR 1996-09-13 17:46:49 +00:00
cgd
9118c05a03 RCS ID police: add NetBSD RCS IDs to everything. Since it was imported with
normal RCS IDs apparently unmodified (i.e. they were clobbered), remove
the normal Id tags so they cause fewer conflicts later.
1996-09-13 00:29:49 +00:00
cgd
9867074973 remove this file, since it's not particularly useful since we've removed
most of the files it mentions, and it doesn't really describe the rest.
1996-09-13 00:23:43 +00:00
cgd
bd21bf3909 remove some more unused files. 1996-09-12 23:54:37 +00:00
cgd
98a5e78a03 clean up 'make test' so that it works even in the presence of
'obj' dirs, and added minigzip to CLEANFILES.
1996-09-12 22:33:40 +00:00
cgd
5da64b50ae make it into a shared library, too. 1996-09-12 22:23:40 +00:00
cgd
a2157537ee add libz 1996-09-12 22:21:21 +00:00
gwr
7b1b031b12 We do not use these. 1996-09-12 20:10:50 +00:00
gwr
e94c324095 Add a NO_DEFLATE conditional that allows this to be compiled without
reference to the "deflate" compression module.  This can be used to
build a very small zcat for things like install media.  (An example
of such a small zcat may be found in src/distrib/utils/zcat).
1996-09-12 19:50:28 +00:00
gwr
03e6c4e30f We do not use these. 1996-09-12 19:40:30 +00:00
gwr
de831ea222 Separate interface from implementation so that zlib.h can be
included without the other, private header files.  Only zlib.h
should be installed in /usr/include; all others are private.
The Makefile has a "test" rule to verify that minigzip.c can
be compiled using only zlib.h (and that it actually works).
Note: This file has extensive modifications.
1996-09-12 19:33:53 +00:00
gwr
4222075279 Eliminate use of things private to the library. 1996-09-12 19:26:44 +00:00
gwr
ad91ec121b Fix a "const discarded" warning. 1996-09-12 19:09:00 +00:00
gwr
62a507468c We do not use these. 1996-09-12 19:03:45 +00:00
cgd
cccb7a88b4 Reimplement in C, adding ELF support. if compiled with -DECOFF_COMPAT
(currently the default), then it compiles on both an ECOFF toolchain
and on an ELF toolchain (but w/o support for dynamic linking or C++
constructors & destructors).  If compiled without -DECOFF_COMPAT, it
supports statically- or dynamically-linked ELF binaries (and shared
libraries).
1996-09-12 16:59:01 +00:00
gwr
431817b1aa Import the "zlib" package (version 1.0.4) as libz
(That appears to be the usual installed name on *nix machines)
1996-09-12 15:33:09 +00:00