Commit Graph

46518 Commits

Author SHA1 Message Date
mrg ca73b352a6 - install ldscripts into /usr/libdata/ldscripts.
- fix makefile to set SCRIPTDIR to /usr/libdata, to stop ld from
  looking in /usr/libdata/ldscripts/ldscripts.
- enable elf32_sparc & sun4 emulation in ld.new (elf32_sparc appears
  to work correctly, sun4 untested).
- add elf64_sparc emul to the list while i'm here...
1998-12-17 13:59:05 +00:00
bouyer 85078af6c4 Add a new quirk flags, "ADEV_NOSENSE", for devices that don't
handle properly the request sense command. Add <FX320S, , q01> as being
sense-unfriendly in the quirk table.
1998-12-17 13:05:05 +00:00
pk 9f709b3e8b The a.out version of ld.so now lives in `src/libexec/ld.aout_so' 1998-12-17 11:50:58 +00:00
pk cec94710e3 ldconfig(8) now lives in `src/sbin/ldconfig' 1998-12-17 11:47:20 +00:00
pk d2db1ca59a * Add header file containing definitions shared among all a.out
linker related utilities.
* Adjust makefile to new location in `src/libexec'
* Have rtld.c use the new shlib.h and ld.h headers.
1998-12-17 11:34:10 +00:00
pk 5f5db2f16f Re-arrange to hide unneeded functions when building the run-time linker. 1998-12-17 10:54:34 +00:00
gwr 271b8ff5ba Sync with GENERIC 1998-12-17 06:46:55 +00:00
gwr ec630d208f Fix some "unused variable" warnings (if !HAVE_CACHE) 1998-12-17 06:17:45 +00:00
tron 67693a18b7 Sync with "GENERIC" and fix description. 1998-12-17 00:07:08 +00:00
thorpej e4cbfbfb44 getopt() returns -1, not EOF. 1998-12-16 23:14:02 +00:00
thorpej 2e04232a96 Prototypes. 1998-12-16 23:13:02 +00:00
simonb b520d1bbc1 s/sprintf/snprintf/ 1998-12-16 22:35:26 +00:00
tv d89a36bdab Set cleanup:
- make all ports egcs; move stuff to mi and shl.*
- fix m68k-based comp sets to use usr/include/$MACHINE (as
  usr/include/machine is now a symlink); add directory entries where missing
1998-12-16 15:15:16 +00:00
mrg 5549691ddf set ELFSIZE=32 here 1998-12-16 15:01:50 +00:00
mrg 18e4e7bd52 add support for "sparc-*-netbsdelf" 1998-12-16 15:01:44 +00:00
mrg c57e92ccdf add support for "sparc-*-netbsdelf" 1998-12-16 14:49:45 +00:00
mrg 33e708f1c7 add a new target "sparc-*-netbsdelf". note that "em=" here is broken. but that is OK as it is broken everywhere here pretty much. 1998-12-16 14:33:14 +00:00
mrg 67f1109836 for sparc-*-netbsd, also enable elf32_sparc & sunos_big. add new target, tentatively named sparc-*-netbsdelf, that uses elf32_sparc as the default target. 1998-12-16 14:31:00 +00:00
mrg ee64a079d3 turn arm32 (uname -m) & NetBSD (uname -s) into arm-unknown-netbsdX.Y, so that it works for GNU naming 1998-12-16 14:19:54 +00:00
minoura 72bcdb203b Synced with GENERIC. 1998-12-16 14:10:38 +00:00
bouyer f1addbd3fd Defer mapping of pci interrupt to pciide_mapregs_native(). This way,
the native interrupt shouldn't be mapped if a channel is in native mode,
but disabled.
1998-12-16 13:21:26 +00:00
bouyer 945acd7834 Leave some room for the string-terminating char in temp. buffers.
Pointed out by Scott Presnell (thanks !).
1998-12-16 13:06:52 +00:00
bouyer c37bf0ccb4 Keep track of DMA errors, and downgrade the transert mode (UDMA ->DMA,
DMA->PIO) in case of 2 consecutive errors. Don't downgrade if the
PIO/DMA/UDMA modes were forced by a config flag.
1998-12-16 13:02:03 +00:00
bouyer 1f0d6730cc Switch to single-sector transfert mode only for the last retry, to let
a chance to the underlying driver to downgrade the mode first.
1998-12-16 13:00:02 +00:00
bouyer 2093338697 Rearange the modes setup to allow these to be dyanmically changed. Fill
in the new "set_mode" callback.
1998-12-16 12:48:45 +00:00
bouyer 94f32463dc Add a callback to re-compute the modes used on a channel. 1998-12-16 12:46:47 +00:00
itohy 73de6f8893 Fix typo. :-) 1998-12-16 11:45:12 +00:00
christos 5b07a26bc4 Add a commented out entry for tcom. 1998-12-16 11:42:07 +00:00
christos 719a63e67c Add Byte Runner Technologies TC-400 and TC-800 driver doc from Eric S. Hvozda 1998-12-16 11:38:36 +00:00
christos bbe8b4dde5 Add Byte Runner Technologies TC-400 and TC-800 driver from Eric S. Hvozda 1998-12-16 11:33:50 +00:00
kleink 1b6a24c1d4 Support for compound statements enclosed in parenthes to appear as
expressions is a GNU C extension; mark as such them with __extension__ to
suppress portability warnings.  Addresses kern/3562 and misc/6185, as suggested
by Dave Sainty <dave@dtsp.co.nz>.
1998-12-16 11:11:02 +00:00
christos 4df2e84306 Another COMPAT_43 lossage fix (reported by Richard Earnshaw) 1998-12-16 11:01:01 +00:00
christos 1dd3565a09 Fix a long standing bug in wait(2) where the signal was left untranslated,
and defensively code the signal translation.
1998-12-16 10:36:50 +00:00
christos f9ac5ff367 more defensive signal conversion, and fix a malloc sizeof(int) to sizeof(int *). 1998-12-16 10:21:50 +00:00
christos cb7b801ca0 & 0xff WSTOPSIG and WEXITSTATUS, since only 8 bits are significant. 1998-12-16 10:08:35 +00:00
briggs 4a01b776e5 Prototype pool_print() and pool_chk() if DEBUG.
Initialize pool hash table with PR_HASHTABSIZE (i.e., 8) LIST_INIT()s
instead of one memset().
Only check for page != ph->ph_page if PR_PHINPAGE is set (in pool_chk()).
Print pool base pointer when reporting page inconsistency in pool_chk().
1998-12-16 04:28:23 +00:00
perry 3c8d14096b Change hard links for newaliases and mailq into symlinks, to make it
easier to integrate alternative mailers.
1998-12-16 00:48:22 +00:00
thorpej 93454aafc6 Delay sending if SS_MORETOCOME is set in so_state. This avoids the case
where the user issued a write with a length greater than MLEN but less
than MINCLSIZE, thus causing two mbufs to be used.  The loop in sosend()
would then call PRU_SEND twice, causing TCP to transmit 2 packets when
it could have transmitted one.

Suggested by Justin Walker <justin@apple.com> on the freebsd-net
mailing list.
1998-12-16 00:33:14 +00:00
thorpej 2ef3bcfbb8 In the sosend() loop, if the residual count is > 0 before calling PRU_SEND,
set SS_MORETOCOME as a hint to the lower layer that more data is coming
on the next iteration of the loop.  Clear the flag after the PRU_SEND
call.

Suggested by Justin Walker <justin@apple.com> on the freebsd-net
mailing list.
1998-12-16 00:26:10 +00:00
thorpej 6977737a82 Add a new socket state flag SS_MORETOCOME, to indicate to the lower layer
that more data is about to arrive in a PRU_SEND.

Suggested by Justin Walker <justin@apple.com> on the freebsd-net
mailing list.
1998-12-16 00:24:10 +00:00
pk 4f32152ede Export the common shared library search functions in its own header file. 1998-12-15 23:16:14 +00:00
pk abccd09fe5 Adapt to new location in `src/sbin'. 1998-12-15 22:49:42 +00:00
pk 8b230a2eff Build ldconfig on non-ELF platforms. 1998-12-15 22:45:16 +00:00
pk b489374794 ldd & ldconfig are no longer here. 1998-12-15 22:36:24 +00:00
pk 1ad0913030 Cast down the prototype revolt for now.. 1998-12-15 22:34:38 +00:00
pk fc2f406a64 Pull in proper headers; deal with compiler warnings; miscelleneous KNF. 1998-12-15 22:27:14 +00:00
pk 6dc44fab77 ldd has moved to `src/usr.bin/ldd/ldd_aout' 1998-12-15 22:10:19 +00:00
pk 96868862ca Move ldd special case one level down. 1998-12-15 22:08:53 +00:00
pk 21e1fe821f Move a.out version of ldd(1) to the usr.bin tree; elf and a.out
reside in separate subdirectories (various source moved by
repository copying). Adapt Makefiles to new situation.
1998-12-15 22:07:11 +00:00
pk b53366509b Deal with compiler warnings: format strings, prototypes, variable initialization. 1998-12-15 21:35:17 +00:00