summaryrefslogtreecommitdiff
path: root/libexec
AgeCommit message (Collapse)Author
2002-09-01Make sure that the symbol return value is always initialized beforeDale Rahn
the address of it is passed to dl_find_symbol(). fixes xpdf lazy binding problem. ok art@
2002-08-31argh, include prototype for dl_fdprintf(), missed by myself and reviewers.Dale Rahn
2002-08-31Add the ability to output to file descriptors besides stderr.Dale Rahn
This allows ldd outptut go to stdout like it should. ok deraadt@
2002-08-29remove extra arg; jmegq@post.harvard.eduTheo de Raadt
2002-08-28o) start new sentence on a new line;Mike Pechkin
o) don't use .Nm w/o argument in .SYNOPSIS; I waste time, when fixing already cleaned pages. :( one man ok@
2002-08-23Fix after recent changes.Artur Grabowski
2002-08-23Support for i386 ELF. Not an indication that the change is going to be made,Dale Rahn
just so that these files are maintained in the tree.
2002-08-23Change arguments to _dl_find_symbol() myself, warnnotfound, and inplt intoDale Rahn
a single flags field with bits representing each. Use defines to create the appropriate masks. Add a new argument sym_size to warn about symbols which have the incorrect size. This replaces 'ifdef notyet' code which was in several of the md files with a single version. sym_size == 0 means do not check, and symbols of type FUNC are not checked.
2002-08-22fix int overflow in statbf.st_size, from netbsd PR#17933Philipp Buehler
as by request from deraadt@
2002-08-21Split out MD makefile parts into separate files and doArtur Grabowski
some other cleanup in the Makefile. drahn@ ok.
2002-08-20-n: disallow anon ftp even if ftp account existsTheo de Raadt
2002-08-12Add support for REL type relocations, all currently supported archDale Rahn
use only RELA type relocations, but that could change. ok art@
2002-08-11The parameter dynp was never used, rather than pass in a dummy on mostDale Rahn
archs and a nasty calcuation on others, remove the parameter.
2002-08-11Fix for Elfbug, the Xtiherit problem which has been seen on most OpenBSDDale Rahn
ELF dynamic systems. This was due to an oddity in ELF where the address of fuctions refer to the PLT address in the program, rather than the actual function address.
2002-08-09Various fixes.Artur Grabowski
- JMP_SLOT relocations require a symbol lookup (duh). - compress the nops to not dominate the code. - reorder the installation of the pltgot and always install it when possible.
2002-08-09Simplify.Artur Grabowski
2002-08-08- Add some missing iflush'sJason Wright
- insert some nop's to make sure all copies are gone from the icache and CPU
2002-08-08There was a possible off-by-one in ld.so when loading shared libraries.Artur Grabowski
In some (rare?) cases, where the bss was too small and fit entirely into the leftovers of the data segment we could map one extra page. This is slightly dangerous on PMAP_PREFER machines where mmaps allocations do not happen linearly in the virtual space and we could end up overwriting mappings that are already in use. This also changes the initial allocation from being a MAP_ANON to a MAP_FILE so that we can pass the fd as a PMAP_PREFER hint.
2002-07-30some snprintf and strlcpyTheo de Raadt
2002-07-30knf & ansiTheo de Raadt
2002-07-29minor formattingArtur Grabowski
2002-07-29Bunch of cleanups and one last bugfix that seems to make things work.Artur Grabowski
Mark COPY relocations as needing to resolve the destination symbol.
2002-07-28talk about auth-ftp, not auth-ftpd entry in login.conf; from ↵Peter Valchev
francesco@toscan.biz
2002-07-27Commit work in progress before I get drunk tonight.Artur Grabowski
Code from sparc64 and NetBSD. Basically we can link the most, lazy linking works (!), but something else is screwed.
2002-07-27I don't see the point of a return at the end of a void function.Artur Grabowski
2002-07-27Make self-relocation work.Artur Grabowski
2002-07-27this is not sparc64.Artur Grabowski
2002-07-27Stop being too creative, steal more code from sparc64.Artur Grabowski
2002-07-27Just a skeleton for sparc. Builds, but pieces are missing and it doesn'tArtur Grabowski
even get to dl_boot_bind correctly.
2002-07-25Check snprintf() rval for < 0; OK deraadt@Todd C. Miller
2002-07-24Also check for snprintf() returning < 0Todd C. Miller
2002-07-24Sanity check snprintf() return values before using them. OK deraadt@Todd C. Miller
2002-07-24What on earth possessed me to use %p instead of %m in syslog() toTodd C. Miller
indicate the error string?
2002-07-24spacesTheo de Raadt
2002-07-24use real clones of the libc functionsTheo de Raadt
2002-07-24ok i found itTheo de Raadt
2002-07-24back out broken stuff until it is fixedTheo de Raadt
2002-07-24clean up docs a bitTheo de Raadt
2002-07-24spacingTheo de Raadt
2002-07-24make more _dl_*() func params like real ones in libcTheo de Raadt
2002-07-24cope with _dl_mmap() returning void *Theo de Raadt
2002-07-24make _dl_mmap() return void * like othersTheo de Raadt
2002-07-23match _dl_ syscall prototypes w/ the real syscalls prototypes, including ↵Michael Shalayeff
args and return values; art@ ok
2002-07-20Exit on setusercontext() failure; noticed by deraadt@Todd C. Miller
2002-07-17whoops, wrong typeTheo de Raadt
2002-07-16typos / double wordsJan-Uwe Finck
2002-07-16remove more junkTheo de Raadt
2002-07-16by now, this README is way out of dateTheo de Raadt
2002-07-16minor tweaks of no consequenceTheo de Raadt
2002-07-16ERROR2() is not usedTheo de Raadt