From bb0a445a6b57091fe5b878b09668d25edcb1e7ee Mon Sep 17 00:00:00 2001 From: olegos2 <74909582+olegos2@users.noreply.github.com> Date: Sat, 28 Dec 2024 21:06:51 +0500 Subject: Spelling/typo fixes in code and documentation updates (#2223) * Fix typo DLOpenned->DLOpened * Fix a typo in comments: versionned->versioned * Fix a typo in comment: cleanning->cleaning * Update COMPILE.md and USAGE.md * A few more typos in comments --- src/elfs/elfloader32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/elfs') diff --git a/src/elfs/elfloader32.c b/src/elfs/elfloader32.c index 53fc595e..2fbef7d5 100644 --- a/src/elfs/elfloader32.c +++ b/src/elfs/elfloader32.c @@ -407,7 +407,7 @@ static int FindR386COPYRel(elfheader_t* h, const char* name, ptr_t *offs, uint32 if((t==R_386_COPY) && symname && !strcmp(symname, name) && (sym->st_size==size)) { int version2 = h->VerSym?((Elf32_Half*)((uintptr_t)h->VerSym+h->delta))[ELF32_R_SYM(rel[i].r_info)]:-1; if(version2!=-1) version2 &= 0x7fff; - if(version && !version2) version2=-1; // match a versionned symbol against a global "local" symbol + if(version && !version2) version2=-1; // match a versioned symbol against a global "local" symbol const char* vername2 = GetSymbolVersion(h, version2); Elf32_Half flags = GetSymbolVersionFlag(h, version2); int veropt2 = flags?0:1; -- cgit 1.4.1