diff options
| author | rajdakin <rajdakin@gmail.com> | 2021-04-09 17:52:25 +0200 |
|---|---|---|
| committer | rajdakin <rajdakin@gmail.com> | 2021-04-09 17:52:25 +0200 |
| commit | 009bb94f17803dff459b812d7314e300a1b31e1e (patch) | |
| tree | c9f91b7f6a19ad192ec0c3e371fe83f36ae91234 /src/elfs | |
| parent | fcfd90b86fc5328c6c5c61e2921416c3cc8adba2 (diff) | |
| download | box64-009bb94f17803dff459b812d7314e300a1b31e1e.tar.gz box64-009bb94f17803dff459b812d7314e300a1b31e1e.zip | |
Changed missed unwanted "box86"
Diffstat (limited to 'src/elfs')
| -rwxr-xr-x | src/elfs/elfloader.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/elfs/elfloader.c b/src/elfs/elfloader.c index c5d65ca1..dd37a3fb 100755 --- a/src/elfs/elfloader.c +++ b/src/elfs/elfloader.c @@ -147,7 +147,7 @@ int AllocElfMemory(box64context_t* context, elfheader_t* head, int mainbin) { uintptr_t offs = 0; if(mainbin && head->vaddr==0) { - char* load_addr = getenv("BOX86_LOAD_ADDR"); + char* load_addr = getenv("BOX64_LOAD_ADDR"); if(load_addr) if(sscanf(load_addr, "0x%lx", &offs)!=1) offs = 0; @@ -957,9 +957,9 @@ int LoadNeededLibs(elfheader_t* h, lib_t *maplib, needed_libs_t* neededlibs, int free(origin); } if(strchr(rpath, '$')) { - printf_log(LOG_INFO, "BOX86: Warning, RPATH with $ variable not supported yet (%s)\n", rpath); + printf_log(LOG_INFO, "BOX64: Warning, RPATH with $ variable not supported yet (%s)\n", rpath); } else { - printf_log(LOG_DEBUG, "Prepending path \"%s\" to BOX86_LD_LIBRARY_PATH\n", rpath); + printf_log(LOG_DEBUG, "Prepending path \"%s\" to BOX64_LD_LIBRARY_PATH\n", rpath); PrependList(&box64->box64_ld_lib, rpath, 1); } if(rpath!=rpathref) @@ -1291,17 +1291,17 @@ void ResetSpecialCaseMainElf(elfheader_t* h) if(strcmp(symname, "_IO_2_1_stderr_")==0 && ((void*)sym->st_value+h->delta)) { memcpy((void*)sym->st_value+h->delta, stderr, sym->st_size); my__IO_2_1_stderr_ = (void*)sym->st_value+h->delta; - printf_log(LOG_DEBUG, "BOX86: Set @_IO_2_1_stderr_ to %p\n", my__IO_2_1_stderr_); + printf_log(LOG_DEBUG, "BOX64: Set @_IO_2_1_stderr_ to %p\n", my__IO_2_1_stderr_); } else if(strcmp(symname, "_IO_2_1_stdin_")==0 && ((void*)sym->st_value+h->delta)) { memcpy((void*)sym->st_value+h->delta, stdin, sym->st_size); my__IO_2_1_stdin_ = (void*)sym->st_value+h->delta; - printf_log(LOG_DEBUG, "BOX86: Set @_IO_2_1_stdin_ to %p\n", my__IO_2_1_stdin_); + printf_log(LOG_DEBUG, "BOX64: Set @_IO_2_1_stdin_ to %p\n", my__IO_2_1_stdin_); } else if(strcmp(symname, "_IO_2_1_stdout_")==0 && ((void*)sym->st_value+h->delta)) { memcpy((void*)sym->st_value+h->delta, stdout, sym->st_size); my__IO_2_1_stdout_ = (void*)sym->st_value+h->delta; - printf_log(LOG_DEBUG, "BOX86: Set @_IO_2_1_stdout_ to %p\n", my__IO_2_1_stdout_); + printf_log(LOG_DEBUG, "BOX64: Set @_IO_2_1_stdout_ to %p\n", my__IO_2_1_stdout_); } } } |