Date: Fri, 9 Oct 2015 18:39:52 +0000 (UTC) From: Alexander Kabaev <kan@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r289075 - head/libexec/rtld-elf/powerpc64 Message-ID: <201510091839.t99IdqVK061659@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: kan Date: Fri Oct 9 18:39:52 2015 New Revision: 289075 URL: https://svnweb.freebsd.org/changeset/base/289075 Log: Remove some trailing space. Modified: head/libexec/rtld-elf/powerpc64/reloc.c Modified: head/libexec/rtld-elf/powerpc64/reloc.c ============================================================================== --- head/libexec/rtld-elf/powerpc64/reloc.c Fri Oct 9 18:26:24 2015 (r289074) +++ head/libexec/rtld-elf/powerpc64/reloc.c Fri Oct 9 18:39:52 2015 (r289075) @@ -250,11 +250,11 @@ reloc_nonplt_object(Obj_Entry *obj_rtld, } *(Elf_Addr **)where = *where * sizeof(Elf_Addr) - + (Elf_Addr *)(def->st_value + rela->r_addend + + (Elf_Addr *)(def->st_value + rela->r_addend + defobj->tlsoffset - TLS_TP_OFFSET); - + break; - + case R_PPC64_DTPREL64: def = find_symdef(ELF_R_SYM(rela->r_info), obj, &defobj, flags, cache, lockstate); @@ -262,11 +262,11 @@ reloc_nonplt_object(Obj_Entry *obj_rtld, if (def == NULL) return (-1); - *where += (Elf_Addr)(def->st_value + rela->r_addend + *where += (Elf_Addr)(def->st_value + rela->r_addend - TLS_DTV_OFFSET); break; - + default: _rtld_error("%s: Unsupported relocation type %ld" " in non-PLT relocations\n", obj->path,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201510091839.t99IdqVK061659>