projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ddab4d7
)
we decided to check for .interp instead of .dynamic
author
Ali Saidi
<saidi@eecs.umich.edu>
Tue, 23 Jan 2007 02:45:29 +0000
(21:45 -0500)
committer
Ali Saidi
<saidi@eecs.umich.edu>
Tue, 23 Jan 2007 02:45:29 +0000
(21:45 -0500)
--HG--
extra : convert_revision :
4f5c7f9c7653e1e9ebbd488c07426d9f944bb25f
src/base/loader/elf_object.cc
patch
|
blob
|
history
diff --git
a/src/base/loader/elf_object.cc
b/src/base/loader/elf_object.cc
index 89a5d4512dc71c19f502a33213fd4bd751cd881e..d59affe855861e1ddc561f0d86c09f804ff53701 100644
(file)
--- 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