From: Ali Saidi Date: Tue, 23 Jan 2007 02:45:29 +0000 (-0500) Subject: we decided to check for .interp instead of .dynamic X-Git-Tag: m5_2.0_beta3~224^2~8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3011fc63111735bc3de000f121661ee60631cb4c;p=gem5.git we decided to check for .interp instead of .dynamic --HG-- extra : convert_revision : 4f5c7f9c7653e1e9ebbd488c07426d9f944bb25f --- diff --git a/src/base/loader/elf_object.cc b/src/base/loader/elf_object.cc index 89a5d4512..d59affe85 100644 --- a/src/base/loader/elf_object.cc +++ b/src/base/loader/elf_object.cc @@ -370,7 +370,7 @@ ElfObject::isDynamic() // While there are no more sections while (section != NULL) { gelf_getshdr(section, &shdr); - if (!strcmp(".dynamic", elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name))) + if (!strcmp(".interp", elf_strptr(elf, ehdr.e_shstrndx, shdr.sh_name))) return true; section = elf_getscn(elf, ++sec_idx); } // while sections