diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2021-06-03 21:32:58 +0200 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2021-06-03 21:33:04 +0200 |
| commit | f5655d85a3f6c7948e78d3594839f00986da464d (patch) | |
| tree | 6fbf2ecca9a8504946eb78568e927a3506500b75 /src | |
| parent | c31262d3394ceafe8876e92f21b867a75a48a522 (diff) | |
| download | box64-f5655d85a3f6c7948e78d3594839f00986da464d.tar.gz box64-f5655d85a3f6c7948e78d3594839f00986da464d.zip | |
Rephrased a comment
Diffstat (limited to 'src')
| -rwxr-xr-x | src/elfs/elfloader.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c index 4bded94c..6033981f 100755 --- a/src/elfs/elfloader.c +++ b/src/elfs/elfloader.c @@ -369,7 +369,7 @@ int FindR64COPYRel(elfheader_t* h, const char* name, uintptr_t *offs, uint64_t** const char* symname = SymName(h, sym); int version2 = h->VerSym?((Elf64_Half*)((uintptr_t)h->VerSym+h->delta))[ELF64_R_SYM(rel[i].r_info)]:-1; if(version2!=-1) version2 &= 0x7fff; - if(version && !version2) version2=-1; // match a version symbol against a global "local" symbol + if(version && !version2) version2=-1; // match a versionned symbol against a global "local" symbol const char* vername2 = GetSymbolVersion(h, version2); if(SameVersionnedSymbol(name, version, vername, symname, version2, vername2) && t==R_X86_64_COPY) { *offs = sym->st_value + h->delta; |