summaryrefslogtreecommitdiff
path: root/libexec/ld.so/arm
AgeCommit message (Collapse)Author
2008-10-02Fix mmap() error checking to be correct 64-bit addresses. ConsistentlyKurt Miller
use _dl_mmap_error() to check for mmap() errors. Adjust datatypes of some local vars for 64-bit safety. okay millert@ drahn@
2008-04-09Improve support for shared libs linked at non-zero addreses:Kurt Miller
- rename private values in struct elf_object to better describe their meaning: s/load_offs/obj_base/ "object's address '0' base" s/load_addr/load_base/ "The base address of the loadable segments" - gdb needs the obj_base value so swap positions with load_base in struct elf_object - fix a few occurrences of where load_base was used instead of obj_base. With help and okay drahn@
2008-02-24Use rounded down address when changing memory protections on the GOT, suchDale Rahn
that we don't accidentally touch the page after the GOT. Bug found on sparc64 affected other platforms as well. ok kettenis@
2007-11-27Make _dl_md_reloc_got() report errors, and take them into account.Miod Vallat
Fixes PR #5579.
2007-05-05Provide hook so that rthreads can provide a spinlock to protect from racesDale Rahn
in lazy binding. ok art@, kurt@
2006-08-23Support arm libraries with DT_TEXTREL, has no affect for other libraries.Dale Rahn
ok kettenis, 'in then' deraadt@
2006-05-03prebind - how to prelink a binary without throwing security out the windowDale Rahn
Prelink fixes the address of libraries making 'return to libc' attacks trival, prebind uses a different method to achieve most of the same gains, however without adding any security conerns. Still under development, now in-tree.
2005-10-23Use libc's SYS.h and SYSTRAP instead of rolling own. No binary change.Dale Rahn
2005-09-22Use std missing symbol print instead of MD custom, do not warn on weakDale Rahn
undefined symbols, or count them as failures. inspired kurt@
2005-09-21Simplify the internal symbol finding API, with some cleanup, prep forDale Rahn
next step. ok kurt@
2005-09-16Rework symbol lookup to more closely match sun's documentation, nowDale Rahn
treats dlopens as load groups. ok kurt@
2004-05-25provide one version of _dl_bcopy instead of copy in every arch; drahn@ okMichael Shalayeff
2004-05-25return object* the symbol is in for _dl_find_symbol*; drahn@ okMichael Shalayeff
2004-05-25spacingTheo de Raadt
2004-05-24Change define used to deal with PLT protection, use postive logic not negative.Dale Rahn
ok mickey@
2004-02-10Check for RTLD_TEXT_PLT define instead of an architecture specific check.Dale Rahn
2004-02-09Enable lazy binding on arm:Dale Rahn
_dl_bind_start inspired by netbsd. changed a define to LD_ALLOW_WRITABLE_TEXT, should this be allowed? remove plt protect code, arm has a text PLT. relocate the got entries associated with the plt. perform got protect/unprotect for lazy binding updates.
2004-02-09Use macros to reduce the amount of hand written asm. inspired by future amd64Dale Rahn
code. no functional change.
2004-02-09Disable lazy binding until that feature is fixed.Dale Rahn
2004-02-07Dynamic linker support for arm. non-lazy binding works.Dale Rahn