Go to file
mycroft 86103e2f0e Several small changes that shave 7-8% off the simple-exec-loop test:
* Rename _rtld_find_library() to _rtld_load_library().  It now calls
  _rtld_load_object() if necessary to actually load the object, rather
  than having the caller do it.  To do this, it also takes the `mode'
  argument that gets passed to _rtld_load_object().

* On a related note, remove _rtld_check_library(), and instead call
  _rtld_load_object() to instead try actually loading the object.  We
  save two extra namei's and a bunch of redundant work (almost
  literally the same code) this way.

* In _rtld_map_object(), mmap(2) the first page read-only, rather than
  read(2)ing it.

* In _rtld_symlook_obj(), compare the *second* character of the symbol
  name before calling strcmp().  (This first character is too
  frequently `_', and turns out to not be helpful, in libc.)

* Also in _rtld_symlook_obj(), remove the bogus STT_FUNC special case
  -- this also allows removing the `in_plt' argument to
  _rtld_symlook_list() and _rtld_symlook_obj().

Also:

* In _rtld_obj_from_addr(), rather than trying to look up `_end' in
  the each object, instead use obj->mapsize as the upper bound.
2002-09-23 23:56:46 +00:00
bin support for templates. they allow fast generation of new policies. an 2002-09-23 04:35:41 +00:00
crypto select() -> poll() 2002-09-20 22:16:02 +00:00
dist * Add -D datalinktype to set the data link type to use when 2002-09-22 16:59:16 +00:00
distrib Corrected names for release ISO images for macppc and sparc 2002-09-23 03:32:04 +00:00
doc replace references to specific release ("1.6") with "XXX.XXX" 2002-09-23 08:02:34 +00:00
etc first cut at these files. 2002-09-21 01:41:32 +00:00
games Minor rearrangement. 2002-09-20 21:00:01 +00:00
gnu Re-add, it is still used, but one only sees it in a full build, not a tools 2002-09-22 13:06:44 +00:00
include select() -> poll() 2002-09-20 21:48:58 +00:00
lib Make this work in the !INET6 case -- if we mismatch the AF, don't return a 2002-09-23 14:12:31 +00:00
libexec Several small changes that shave 7-8% off the simple-exec-loop test: 2002-09-23 23:56:46 +00:00
regress string.h included. 2002-09-21 07:33:25 +00:00
rescue oops; typo. (thanks enami!) 2002-08-26 09:02:45 +00:00
sbin reduce diff w/ kame 2002-09-23 12:52:30 +00:00
share Improve mdoc here. 2002-09-22 16:29:03 +00:00
sys Nuke a couple of unneeded #defines. 2002-09-23 23:53:54 +00:00
tools preliminary HP/UX notes from Giles; it needs zlib. 2002-09-22 01:26:39 +00:00
usr.bin null commit 2002-09-23 12:44:34 +00:00
usr.sbin null commit 2002-09-23 12:44:34 +00:00
BUILDING regen for: USE_NEW_TOOLCHAIN was replaced with TOOLCHAIN_MISSING 2002-09-21 05:26:42 +00:00
Makefile move BUILDING.mdoc -> doc/BUILDING.mdoc 2002-09-21 08:19:27 +00:00
Makefile.inc don't set KERNSRCDIR here; pull in <bsd.kernobj.mk> if you need it 2002-04-10 14:53:43 +00:00
UPDATING USE_NEW_TOOLCHAIN has been replaced 2002-09-21 04:12:35 +00:00
build.sh Remove USE_NEW_TOOLCHAIN, replacing it with similar logic using 2002-09-18 15:20:53 +00:00