History log of /openbsd-src/libexec/ld.so/resolve.h (Results 51 – 75 of 109)
Revision Date Author Comments
# 3b9f2527 27-Mar-2010 kettenis <kettenis@openbsd.org>

Implement lazy binding on mips64. This implementation relies on having two
reserved entries in the GOT, which is a GNU extension to the 64-bit MIPS
SVR4 ABI. That's fine; all existing OpenBSD/mips6

Implement lazy binding on mips64. This implementation relies on having two
reserved entries in the GOT, which is a GNU extension to the 64-bit MIPS
SVR4 ABI. That's fine; all existing OpenBSD/mips64 binaries have the extra
slot.

ok miod@, jsing@, drahn@

show more ...


# 9f6c3316 05-May-2008 kurt <kurt@openbsd.org>

Constantly fill in the program header pointer and count in elf_object_t
for all objects which simplifies phdr usage in a few places.
"go for it" drahn@


# ce11e090 09-Apr-2008 kurt <kurt@openbsd.org>

Improve support for shared libs linked at non-zero addreses:
- rename private values in struct elf_object to better
describe their meaning:
s/load_offs/obj_base/ "object's address '0' base"

Improve support for shared libs linked at non-zero addreses:
- 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@

show more ...


# e9cfe40c 27-Nov-2007 miod <miod@openbsd.org>

Make _dl_md_reloc_got() report errors, and take them into account.
Fixes PR #5579.


# 1e440e15 05-May-2007 drahn <drahn@openbsd.org>

Provide hook so that rthreads can provide a spinlock to protect from races
in lazy binding. ok art@, kurt@


# c28b164b 03-Apr-2007 jason <jason@openbsd.org>

add support for LD_TRACE_LOADED_OBJECTS_{FMT1/FMT2/PROGNAME}. Functionality
matches and expands on the old a.out ld.so formatting. ok drahn


# 4b4e0fe4 16-Jun-2006 kettenis <kettenis@openbsd.org>

Add comment warning not to rename _dl_bind, since gdb(1) knows about it.
ok (quite a while ago) drahn@


# 6a54f14d 03-May-2006 drahn <drahn@openbsd.org>

prebind - how to prelink a binary without throwing security out the window

Prelink fixes the address of libraries making 'return to libc' attacks trival,
prebind uses a different method to achieve m

prebind - how to prelink a binary without throwing security out the window

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.

show more ...


# 8f55ac75 09-Nov-2005 kurt <kurt@openbsd.org>

add RTLD_NOW support to dlopen and propogate -z now to dep libs.
ok drahn@


# 67939fc6 16-Oct-2005 kurt <kurt@openbsd.org>

Consolidate dl_boot and dlopen dep lib loading into new function
_dl_load_dep_libs. Now both dl_boot and dlopen will randomize dep lib
loading, where previously only dl_boot did.


# ea03aff5 12-Oct-2005 kurt <kurt@openbsd.org>

Split grpsym_list creation away from child_list creation and change
grpsym_list order to match Sun's docs. Also corrects bugs where
grpsym_list was either not created or partially created.


# ca7a62b5 09-Oct-2005 kurt <kurt@openbsd.org>

introduce object ref count macros (suggested by dale). no functional
change.


# c0ff2d0f 07-Oct-2005 kurt <kurt@openbsd.org>

rename dload_list to grpsym_list which better represents its usage.


# 2403d6e4 06-Oct-2005 kurt <kurt@openbsd.org>

remove dep_next "shadow object" dead code.


# 50cabf59 06-Oct-2005 kurt <kurt@openbsd.org>

separate load group references from dep lib child/dload lists. move load
group refs to own per object ref counter (grprefcount) and list
(grpref_list). corrects more complex load group ref cases and

separate load group references from dep lib child/dload lists. move load
group refs to own per object ref counter (grprefcount) and list
(grpref_list). corrects more complex load group ref cases and side effects
from initial implementation. design ideas and ok drahn@

show more ...


# 8a1e31c9 28-Sep-2005 drahn <drahn@openbsd.org>

keep a state flag if a library has been unloaded, and then free the list
seperately ok kurt@


# 6dd3d15a 28-Sep-2005 kurt <kurt@openbsd.org>

remove _dl_exiting dead code


# 8d2dd116 28-Sep-2005 drahn <drahn@openbsd.org>

keep track of opencounts for dlopened objects, so that they
get unloaded the right number of times on exit.


# 61632685 22-Sep-2005 drahn <drahn@openbsd.org>

Track if symbols are searched but missing while resolving GOT, if
any are missing exit instead of later causing an abort, ok kurt@


# 6718d15c 21-Sep-2005 drahn <drahn@openbsd.org>

Simplify the internal symbol finding API, with some cleanup, prep for
next step. ok kurt@


# 83b41cf4 17-Sep-2005 drahn <drahn@openbsd.org>

Cleanly handle the case where a dynamic object is opened, but one of it's
dependant libraries is missing. return NULL for a handle instead of
causing the program to exit.


# 0acae5e5 16-Sep-2005 drahn <drahn@openbsd.org>

Rework symbol lookup to more closely match sun's documentation, now
treats dlopens as load groups. ok kurt@


# 034b0143 10-May-2005 drahn <drahn@openbsd.org>

Recommit the destructor order fix, now that the amd64 bug was fixed.
'no problem' pval@


# 3072fcbc 06-Apr-2005 deraadt <deraadt@openbsd.org>

backout -- breaks at least amd64; spotted by marc


# db7b3db5 05-Apr-2005 drahn <drahn@openbsd.org>

Do a better job of running destructors in the right order.


12345