glibc/sysdeps/hppa
John David Anglin 48025aa9ed hppa: fix dladdr [BZ #19415]
The attached patch fixes dladdr on hppa.

Instead of using the generic version of _dl_lookup_address, we use an
implementation more or less modeled after __canonicalize_funcptr_for_compare()
in gcc.  The function pointer is analyzed and if it points to the
trampoline used to call _dl_runtime_resolve just before the global
offset table, then we call _dl_fixup to resolve the function pointer.
Then, we return the instruction pointer from the first word of the
descriptor.

The change fixes the testcase provided in [BZ #19415] and the Debian
nss package now builds successfully.
2016-01-08 02:19:26 -05:00
..
bits
fpu
hppa1.1
nptl hppa: fix pthread spinlock 2016-01-06 17:26:04 -05:00
__longjmp.c
abort-instr.h
add_n.S
bsd-_setjmp.S
bsd-setjmp.S
configure
configure.ac
crti.S
crtn.S
dl-fptr.c hppa: fix dladdr [BZ #19415] 2016-01-08 02:19:26 -05:00
dl-fptr.h
dl-irel.h
dl-lookupcfg.h hppa: fix dladdr [BZ #19415] 2016-01-08 02:19:26 -05:00
dl-machine.h
dl-symaddr.c
dl-tls.h
dl-trampoline.S
entry.h
frame.h
gccframe.h
get-rounding-mode.h
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
libc-tls.c
libgcc-compat.c
linkmap.h
lshift.S
machine-gmon.h
Makefile
math_private.h
memusage.h
mp_clz_tab.c
preconfigure
rshift.S
setjmp.S
shlib-versions
sotruss-lib.c
stackinfo.h
start.S
sub_n.S
sysdep.h
tininess.h
tls-macros.h
tst-audit.h
udiv_qrnnd.S
Versions