From: John Hodge Date: Tue, 11 Oct 2011 23:46:15 +0000 (+0800) Subject: Usermode/ld-acess - COPY relocation (no clue what it should do, but this works) X-Git-Tag: rel0.12~6 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=b02bbf436074bfe00171c69316438cf1018df000;p=tpg%2Facess2.git Usermode/ld-acess - COPY relocation (no clue what it should do, but this works) --- diff --git a/Usermode/Libraries/ld-acess.so_src/elf.c b/Usermode/Libraries/ld-acess.so_src/elf.c index acda5c4d..458343ee 100644 --- a/Usermode/Libraries/ld-acess.so_src/elf.c +++ b/Usermode/Libraries/ld-acess.so_src/elf.c @@ -203,6 +203,8 @@ void *Elf64Relocate(void *Base, char **envp, const char *Filename) case R_X86_64_64: *(uint64_t*)ptr = (uint64_t)GetSymbol(symname) + addend; break; + case R_X86_64_COPY: + break; case R_X86_64_GLOB_DAT: *(uint64_t*)ptr = (uint64_t)GetSymbol(symname); break;