summaryrefslogtreecommitdiff
path: root/src/base/loader
diff options
context:
space:
mode:
authorAli Saidi <saidi@eecs.umich.edu>2007-01-22 21:45:29 -0500
committerAli Saidi <saidi@eecs.umich.edu>2007-01-22 21:45:29 -0500
commit3011fc63111735bc3de000f121661ee60631cb4c (patch)
tree14548f4183adbbc79d23f9faa79903230fb731d8 /src/base/loader
parentddab4d756a5f2978fed1481bfaabbfabbc8eb1db (diff)
downloadgem5-3011fc63111735bc3de000f121661ee60631cb4c.tar.xz
we decided to check for .interp instead of .dynamic
--HG-- extra : convert_revision : 4f5c7f9c7653e1e9ebbd488c07426d9f944bb25f
Diffstat (limited to 'src/base/loader')
-rw-r--r--src/base/loader/elf_object.cc2
1 files changed, 1 insertions, 1 deletions
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