about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-06-03 21:32:58 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-06-03 21:33:04 +0200
commitf5655d85a3f6c7948e78d3594839f00986da464d (patch)
tree6fbf2ecca9a8504946eb78568e927a3506500b75 /src
parentc31262d3394ceafe8876e92f21b867a75a48a522 (diff)
downloadbox64-f5655d85a3f6c7948e78d3594839f00986da464d.tar.gz
box64-f5655d85a3f6c7948e78d3594839f00986da464d.zip
Rephrased a comment
Diffstat (limited to 'src')
-rwxr-xr-xsrc/elfs/elfloader.c2
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;