summaryrefslogtreecommitdiff
path: root/libexec/ld.so/alpha
AgeCommit message (Collapse)Author
2003-03-07Fix cut and paste on wrong line bugs, now like other versions. ok miod@Dale Rahn
2003-02-15After relocation is completed, remove write protection from GOT/PLT in ld.so.Dale Rahn
2003-02-15Paranoia about mprotect, mprotect page aligned regions for got and plt.Dale Rahn
2003-01-17Change the GOT initialization so that it is done in a function whichDale Rahn
initialized just the correct addresses instead of assuming that the GOT extends from _GLOBAL_OFFSET_TABLE_ to _DYNAMIC. Mostly from NetBSD. ok nate@
2003-01-16whitespace removal.Dale Rahn
2002-12-18Prepare for an upcoming ELF executable change. This will allow ld.so toDale Rahn
protect the GOT and PLT sections of the executable from being overwritten. This behavior is enabled by changes in the executable/shared object layout, and does not occur without the ld changes.
2002-11-14Make error messages on symbol lookup failures more useful.Dale Rahn
2002-10-25Some small fixes in MI code for mips backport. A new reloc md function,Per Fogelstrom
RELOC_GOT, was added to handle mips got bootstrap reloc. Also remove workaround used on previous versions of binutils for mips.
2002-10-21Simplify the ld.so asm api, the data is available other ways.Dale Rahn
tested by naddy@ and myself.
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-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-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-07-07typos/grammar/better wordsJan-Uwe Finck
in comments.
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-05-24more KNFTheo de Raadt
2002-05-24various KNFTheo de Raadt
2002-03-17Clean up the zapping of bad variables. Instead of implementingArtur Grabowski
_dl_suid_ok, just use the issetugid syscall. ok drahn@.
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-17Manual cleanup of remaining userland __P use (excluding packages maintained ↵Todd C. Miller
outside the tree)
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-24Adapt to _dl_boot_bind change.Artur Grabowski
2001-06-26Lazy binding for shared libraries.Artur Grabowski
2001-06-13Add support for lazy binding.Artur Grabowski
For now we only do it for the main executable, some code cleanup is necessary to support it for libraries. This fixes the problem I had in cc1plus and I'm able to finish a make build with shared libraries enabled.
2001-06-13Lazy binding entry point. From NetBSD with some help from FreeBSD.Artur Grabowski
2001-06-08Cleanup.Artur Grabowski
exit when the bootstrap relocation fails.
2001-06-05gcc generates a lot of unaligned RELATIVE relocations for c++ exception ↵Artur Grabowski
handlers. Workaround that.
2001-05-31Apparently GLOB_DAT needs r_addend.Artur Grabowski
"Hello, world!\n" now works with libc.so
2001-05-31Some cleanups.Artur Grabowski
2001-05-31Remove write protection from some memory segments whenArtur Grabowski
doing rel and rela relocations. XXX - we have to find out when and why we actually need it.
2001-05-31Correctly implement most linking for alpha.Artur Grabowski
Remove a lot of code copied from powerpc.
2001-05-29Check for error on open.Artur Grabowski
ENOENT happens to be the same as stderr. :)
2001-05-14Commit initial alpha bits, to facilitate in-tree dev.Niklas Hallqvist
This code is not yet working.