diff options
| author | ptitSeb <sebastien.chev@gmail.com> | 2025-01-11 10:25:27 +0100 |
|---|---|---|
| committer | ptitSeb <sebastien.chev@gmail.com> | 2025-01-11 10:26:02 +0100 |
| commit | f489761e682b75ede8754e9f9be48fa29ebaeb10 (patch) | |
| tree | eaa00441feadd61e7f0f291f7dfebd1fd7d3db2d /src/librarian | |
| parent | 56ccde005e9332662326b8446658e7a322633e46 (diff) | |
| download | box64-f489761e682b75ede8754e9f9be48fa29ebaeb10.tar.gz box64-f489761e682b75ede8754e9f9be48fa29ebaeb10.zip | |
[BOX32] Improved elf memory managment for 32bits process
Diffstat (limited to 'src/librarian')
| -rw-r--r-- | src/librarian/librarian.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librarian/librarian.c b/src/librarian/librarian.c index 1d61aa2d..415278ae 100644 --- a/src/librarian/librarian.c +++ b/src/librarian/librarian.c @@ -266,7 +266,7 @@ static int AddNeededLib_add(lib_t** maplib, int local, needed_libs_t* needed, in return 1; } lm->l_addr = (Elf32_Addr)to_ptrv(GetElfDelta(lib->e.elf)); - lm->l_name = to_ptrv(lib->name); + lm->l_name = to_cstring(lib->name); lm->l_ld = to_ptrv(GetDynamicSection(lib->e.elf)); } else #endif |