summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-01-03 23:11:52 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-01-03 23:11:52 +0000
commit1657a60f2156c2aae47f00611e0e7a300ffa2e37 (patch)
tree39ff0a44914e9531dfe60153de6ea4037a195ed2
parent4276e9c3a0305fb9ef6110e3988d558dc9c2d0f0 (diff)
downloadFreeBSD-src-1657a60f2156c2aae47f00611e0e7a300ffa2e37.zip
FreeBSD-src-1657a60f2156c2aae47f00611e0e7a300ffa2e37.tar.gz
Add support for R_PPC64_UADDR64 relocations.
-rw-r--r--libexec/rtld-elf/powerpc64/reloc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libexec/rtld-elf/powerpc64/reloc.c b/libexec/rtld-elf/powerpc64/reloc.c
index b2236f2..bc53a08 100644
--- a/libexec/rtld-elf/powerpc64/reloc.c
+++ b/libexec/rtld-elf/powerpc64/reloc.c
@@ -165,7 +165,8 @@ reloc_nonplt_object(Obj_Entry *obj_rtld, Obj_Entry *obj, const Elf_Rela *rela,
case R_PPC_NONE:
break;
- case R_PPC64_ADDR64: /* doubleword64 S + A */
+ case R_PPC64_UADDR64: /* doubleword64 S + A */
+ case R_PPC64_ADDR64:
case R_PPC_GLOB_DAT:
def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj,
false, cache, lockstate);
OpenPOWER on IntegriCloud