summaryrefslogtreecommitdiff
path: root/sys/dev/raidframe/raidframevar.h
diff options
context:
space:
mode:
authorskrll <skrll@NetBSD.org>2003-08-12 09:18:38 +0000
committerskrll <skrll@NetBSD.org>2003-08-12 09:18:38 +0000
commitd9007319785e827b98783a71606fce099f2cf40e (patch)
treeb640b650a5e260b98a6ed01f71e1bdf50521077a /sys/dev/raidframe/raidframevar.h
parentb4c1c6117cf4c170cc9380e1c927d646a7288596 (diff)
Resolve dlsym(3) and friends directly so that dlsym(RTLD_NEXT,...) works.
Previously dlsym resolved to the version in crt0.o or libc which would mean that the caller's shared object couldn't be determined correctly using __builtin_return_address(0). Mainly from FreeBSD, but adapted by me. Benefits of this solutions are: - backward comptibility maintained - existing broken binaries are fixed with a new ld.elf_so - __mainprog_obj can be removed from crt0.o - we do the same thing as FreeBSD Fixes PR 22067. OKed by Jason and Christos.
Diffstat (limited to 'sys/dev/raidframe/raidframevar.h')
0 files changed, 0 insertions, 0 deletions