fix issue '#I685FL': use interpreter '/lib64/ld-linux-x86-64.so.2'
authoryu.dongliang <18588496441@163.com>
Sat, 31 Dec 2022 16:16:50 +0000 (00:16 +0800)
committeryu.dongliang <18588496441@163.com>
Sat, 31 Dec 2022 16:17:50 +0000 (00:17 +0800)
elf/scf_elf_x64_so.c

index c35abec0df20a6c65c55b3301e7de7a1adad5e9d..067484b515ef47ff2d4f83390008ccfc18320c79 100644 (file)
@@ -31,7 +31,7 @@ static int _x64_elf_add_interp(scf_elf_x64_t* x64, scf_elf_x64_section_t** ps)
                return -ENOMEM;
        }
 
-       char*  interp = "/lib/ld64.so.1";
+       char*  interp = "/lib64/ld-linux-x86-64.so.2";
        size_t len    = strlen(interp);
 
        s->data = malloc(len + 1);