summaryrefslogtreecommitdiff
path: root/libexec/ld.so/amd64
AgeCommit message (Collapse)Author
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@
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-10-28Only mprotect pages during relocation if the library is marked TEXTRELDale Rahn
mips64 version still needs testing.
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-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-17spacingTheo de Raadt
2005-09-16Rework symbol lookup to more closely match sun's documentation, nowDale Rahn
treats dlopens as load groups. ok kurt@
2005-05-04%rsi is not callee save, use source register that is saved across callDale Rahn
This also allows propolice to be enabled in ld.so for amd64 ok marco@ weingart@
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-27change amd64's MACHINE_ARCH from x86_64 to amd64. There are many manyTheo de Raadt
reasons for this, quite a few of them technical, and not all of them in response to Intel's broken ia32e crud. The gcc toolchain stays at x86_64 for now.
2004-02-23prettyTheo de Raadt
2004-02-10Make this work. will figure out what this should be later.Dale Rahn
2004-02-10Fix/enable lazy binding on amd64 ld.soDale Rahn
2004-02-10Disable lazy binding for now.Dale Rahn
2004-02-10sync with reloc.h change.Dale Rahn
2004-02-10AMD64 dynamic linker. initial work by mickey finished up by myself.Dale Rahn
lazy binding not working yet. problem exists with gcc and -fpic jump tables. ok mickey@