Usermode/ld-acess - COPY relocation (no clue what it should do, but this works)
authorJohn Hodge <[email protected]>
Tue, 11 Oct 2011 23:46:15 +0000 (07:46 +0800)
committerJohn Hodge <[email protected]>
Tue, 11 Oct 2011 23:46:15 +0000 (07:46 +0800)
Usermode/Libraries/ld-acess.so_src/elf.c

index acda5c4..458343e 100644 (file)
@@ -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;

UCC git Repository :: git.ucc.asn.au