]> git.ipfire.org Git - thirdparty/glibc.git/commit - sysdeps/powerpc/powerpc64/dl-machine.h
Fix R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.
authorJakub Jelinek <jakub@redhat.com>
Fri, 6 Nov 2009 17:27:41 +0000 (09:27 -0800)
committerUlrich Drepper <drepper@redhat.com>
Fri, 6 Nov 2009 17:27:41 +0000 (09:27 -0800)
commit872873d48d5d96879a2dd8c249e688e73a5dd554
tree132682d634bdb0b4f85fa895a6b701ab48b6cc71
parent34df851b3364e14133b865574dbc5f2a8b88874e
Fix R_PPC64_{JMP_IREL,IRELATIVE} handling in dl-conflict.c.

I've just committed STT_GNU_IFUNC ppc/ppc64 support into prelink,
and this patch is needed on the glibc side.  Without it ld.so segfaults,
as in dl-conflict.c sym_map is always NULL.  While dl-machine.h could use
RESOLVE_CONFLICT_FIND_MAP macro to compute it, it doesn't make sense,
because with prelink we know it is already properly relocated (all relative
relocations are applied by prelink).
ChangeLog
sysdeps/powerpc/powerpc64/dl-machine.h