summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld
AgeCommit message (Collapse)Author
2007-05-31convert to new .Dd format;Jason McIntyre
2005-12-21Userland programs should include <errno.h> not <sys/errno.h>Todd C. Miller
OK deraadt@
2005-09-30accept a -E argument like ELF ld does. fake it out. it does nothing here.Theo de Raadt
actually, it is what a.out does already automatically according to dale. ok miod
2005-09-30rather surprised to find a vsprintf still lying around here..Theo de Raadt
2005-09-29bounded string handlings; ok ottoTheo de Raadt
2005-09-28enter rtld, to install the man page at leastTheo de Raadt
2005-09-28sync to ELF version of this man pageTheo de Raadt
2005-09-12Simplify cross-compilation scenario; native builds unaffected.Miod Vallat
Looked at mickey@ grange@
2005-08-23- fix spacingJason McIntyre
- fix a list - kill trailing space - sort SEE ALSO - put HISTORY in the right place
2005-08-23- add missing .ElJason McIntyre
- replace blank line with .Pp - remove faulty .Sh
2005-08-23new sentence, new line;Jason McIntyre
2005-03-16fix a broken list;Jason McIntyre
various other tweaks; ok deraadt@
2004-11-22.{N,O}x fixes;Jason McIntyre
2004-11-08Sync the weak symbol logic with the ELF ld.so, and use N_AUX() instead ofMiod Vallat
rolling our own version; no functional changes. ok millert@
2004-11-08Invoke _cachectl() with correct size parameters.Miod Vallat
ok millert@
2004-08-14When reading the ld.so hints file, map the entire file in a single mmapDale Rahn
instead of assuming the region after the first mmap is available. Same change was made to ELF ld.so previously. ok deraadt miod pvalchev
2004-03-31byteswap strtab length on writing w/o affecting variable'sMichael Shalayeff
byte order as it seems to be used later on again. does not affect native linker at all. also fix includes order to avoid picking up native machine/ includes instead of the target (for cross-ld build).
2003-08-15remove extra \n in {warn,err}{,x} callsTheo de Raadt
2003-06-032 termsMarc Espie
2003-06-02Remove the advertising clause in the UCB license which BerkeleyTodd C. Miller
rescinded 22 July 1999. Proofed by myself and Theo.
2003-05-08Previously, ld.so would use a single page for mapping the hints fileTodd C. Miller
and then, if that was not big enough, map the rest of it contiguously. However, there is no guarantee that the address space after the first mmap has not already been used by something else. Instead, just fstat the file and map up to st_size. Also reorganized the code a tad and added some sanity checks for st_size. Problem tracked down by dhartmei@ and mickey@; drahn@ OK.
2003-05-07fix a memleakVincent Labrecque
ok deraadt
2003-04-22sync up ELF and a.out versions of ldconfig(8)David Krause
ok drahn@ mdoc ok jmc@
2003-04-16string cleanup; ok millertTheo de Raadt
2003-04-16string cleaningTheo de Raadt
2003-01-19give a second chance for loading dependent modules:Marc Espie
look in the path of the main map before giving up. ok deraadt@. (This fixes a few kde issues, and removes loads of needs for ldconfig)
2003-01-19revamp .init call code to be saner:Marc Espie
- build a tree of modules inter-dependencies. - make sure dependent modules are .init'ed before depending modules. - flag initialization so that cycles don't bork ld.so. okay deraadt@, drahn@.
2003-01-19In error message from dependent libraries, mention which dependent libraryMarc Espie
is trying to load another library.
2003-01-05fix for PR3053 - NULL deref when fd == NULL in first dlsym() argPeter Valchev
ok miod drahn marc
2002-12-31Typoes; jmc AT prioris DoT mini DoT pw DoT edu DoT plTodd C. Miller
2002-12-12don't link LIBCRT0 into ld.so (for DESTDIR builds); PR2928; ok fgsch@, millert@Markus Friedl
2002-12-11o Check mmap() return value against MAP_FAILED, not -1.Todd C. Miller
o Prevent close() from clobbering errno. Patch from Peter Werner; closes PR 2995
2002-12-08getopt returns -1, not EOFTodd C. Miller
2002-12-02KNF; openbsd@davidkrause.comTheo de Raadt
2002-12-02Import propolice (http://www.trl.ibm.com/projects/security/ssp), a stackMiod Vallat
attack protection scheme, into gcc. This protection is enabled by default. It can be turned off by using the -fno-stack-protector flag. Code by Hiroaki Etoh (etoh at jp dot ibm dot com); work on openbsd-specific integration by fgsch@, deraadt@ and myself; tests by fgsch@, naddy@ and myself; beer drinking by myself. Please note that system upgrades with this new code will require a new libc and ld.so to be build and installed before the propolice-enabled compiler can be installed.
2002-11-29do not redefine NULLTheo de Raadt
2002-11-27Kill some alloca. Reduces temp allocation for big static libraries drastically,Marc Espie
allow, e.g., linking against static debug qt (or debug static mozilla for that matter). okay miod@
2002-09-20UNDO MORE FUCKING TREE BREAKING. WHY THE FUCK ARE YOU GUYS NOT EVEN DOINGTheo de Raadt
TEST COMPILES?!
2002-09-17Repair m68k cross-ld - the cross building environment makes some magicMiod Vallat
unnecessary now.
2002-09-07ansification of ldMarco S Hyman
* normalized the signatures of the functions passed to each_file() and each_full_file(). In most cases that meant adding a void *dummy. In one case it changed an int to a void*, but the arg was only checked for zero/not-zero so the change was not significant. * removes unused code and structures. * makes sure printf args match their format. * got rid of some of the gcc -Wall warnings OK deraadt@
2002-07-27ask uvm to map the bss of each .so module non-executable. again, weTheo de Raadt
cannot do this to the data segments until we know how big the got/plt zone is... anyone want to track that down?
2002-07-26comma splicePaul Janzen
2002-07-19convert functions from K&R style to prototype style.Marco S Hyman
Function arg types have not yet been fixed. OK fgs@, espie@
2002-07-17un-__P the code. fgs says "looks ok."Marco S Hyman
2002-07-15space to tab cleanup. Nothing but whitespace changes in this commit.Marco S Hyman
2002-07-10First of some clean-up commits. This one only removes use ofMarco S Hyman
register variables. clean-up concept ok deraadt@
2002-06-04spellingTheo de Raadt
2002-06-03use issetugid() instead of uid/gid comparisons; from drahnTheo de Raadt
2002-05-24replace code w/ no license w/ public domain codeEric Jackson
deraadt@ ok
2002-05-11Add missing libraries to bsd.prog.mk (mostly kerberosV)Marc Espie
Use them in DPADD throughout the tree. Fix a few mispells (LIBMATH -> LIBM...) Wipe obsolete lib (LIBRESOLV) Sort added missing libraries, move obsolete stuff apart. Synch documentation in bsd.README ok deraadt@