summaryrefslogtreecommitdiff
path: root/libexec/ld.so/sparc64
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-23Fix after recent changes.Artur Grabowski
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-21Split out MD makefile parts into separate files and doArtur Grabowski
some other cleanup in the Makefile. drahn@ ok.
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-07-24ok i found itTheo de Raadt
2002-07-24back out broken stuff until it is fixedTheo de Raadt
2002-07-24spacingTheo 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-12Change ld.so search order/method to match the a.out ld.so.Dale Rahn
run destructors on dlclose() Move more symbols into _dl_ private space, so that the proper (libc) version of the function will be used. Add readdir() functionality to perform the proper library searching. Support DL_PRELOAD Do not relocate symbols if ld.so is being traced (and will exit). Misc lint cleanup. ok art@
2002-06-05Cleanup/remove duplicate code that checks STAT_RELOC_DONE.Artur Grabowski
2002-06-05Get rid of an unnecessary typedef (for future cleanup).Artur Grabowski
2002-06-03Proper masks for 64 bit relocation types. ok art@Dale Rahn
2002-05-24more KNFTheo de Raadt
2002-05-24various KNFTheo de Raadt
2002-04-24Perform full relocation for Rela bootstrap relocations, compatibleDale Rahn
with newer binutils this way. ok fgs, jason.
2002-03-17Clean up the zapping of bad variables. Instead of implementingArtur Grabowski
_dl_suid_ok, just use the issetugid syscall. ok drahn@.
2002-03-15Add support for binutils 2.11. Work around change in PLT generation new ldDale Rahn
generates. From NetBSD. ok art@
2002-02-21cleanup of MD/MI ld.so (elf), most changes by art@ cleanup by me.Dale Rahn
tested on alpha sparc64 powerpc.
2002-02-20Fix obvious pasto: when iflush'n flush 24,20,16,... not 20,16,16,...Jason Wright
2002-02-16Part one of userland __P removal. Done with a simple regexp with some minor ↵Todd C. Miller
hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
2001-09-27Local symbols don't need to have a name. Don't barf on them.Artur Grabowski
They are often generated by gcc c++ exceptions.
2001-09-26Some juggling to simplify the code and some missing code.Artur Grabowski
2001-09-26Lazy binding. Parts from NetBSD.Artur Grabowski
2001-09-26Implement COPY relocations.Artur Grabowski
2001-09-26Code for PLT relocations. From NetBSD.Artur Grabowski
2001-09-25Duh! if we go through the hassle of looking up a symbol it mightArtur Grabowski
be a good idea to actually use the value of the symbol.
2001-09-25Borrow a big chunk of code from the NetBSD ld.elf_so to do all theArtur Grabowski
basic relocations with a table.
2001-09-25Do mmap the right way.Artur Grabowski
2001-09-25Another attempt at getting this right. This time, play safe.Artur Grabowski
2001-09-24Some cleanup.Artur Grabowski
2001-09-24Get the bootstrapping right.Artur Grabowski
2001-09-24Proper RELOC_RELA for bootstrap.Artur Grabowski
2001-09-24dl_data is at the start of the stack, not after env. load loff.Artur Grabowski
Now _dl_boot starts correctly.
2001-09-23add munmap syscallDale Rahn
change _rtld references to _dl to match C code. change relocation types in archdep.h to be sparc64 relocs. rtld_machine.c copied from alpha, with some modes to compile for sparc64 This is in-tree development.
2001-09-21partially done... committing so other folks don't have to repeat some of the ↵Jason Wright
work
2001-09-21Stolen from alpha.Jason Wright
2001-09-21first whack at ldasm.S... this will not work yet (partially based on NetBSD,Jason Wright
partially based on alpha)