diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2004-01-15 13:22:55 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2004-01-15 13:22:55 -0500 |
commit | f013df643a57814e6db4988037c9718eab994e5a (patch) | |
tree | f8a7817b2b93782b5e95a70cad46c15dd8a12f82 /base | |
parent | 8fd48f5eb00243121c0e075aed5e2adc1d04e142 (diff) | |
parent | b3788280f6e630e225fa7e4c666a8d2973227308 (diff) | |
download | gem5-f013df643a57814e6db4988037c9718eab994e5a.tar.xz |
mereged changes to elf_object.cc
base/loader/elf_object.cc:
merged changes to elf_object.cc
--HG--
extra : convert_revision : 2b7a6083d45f0221646e2ebe5b91ee45ec8c6b7c
Diffstat (limited to 'base')
-rw-r--r-- | base/loader/elf_object.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/base/loader/elf_object.cc b/base/loader/elf_object.cc index 93313fac6..929d455a5 100644 --- a/base/loader/elf_object.cc +++ b/base/loader/elf_object.cc @@ -186,7 +186,7 @@ bool ElfObject::loadSomeSymbols(SymbolTable *symtab, int binding) { Elf *elf; - int secidx = 1; // there is a 0 but it is nothing, go figure + int sec_idx = 1; // there is a 0 but it is nothing, go figure Elf_Scn *section; GElf_Shdr shdr; Elf_Data *data; @@ -206,7 +206,7 @@ ElfObject::loadSomeSymbols(SymbolTable *symtab, int binding) assert(elf != NULL); // Get the first section - section = elf_getscn(elf, secidx); + section = elf_getscn(elf, sec_idx); // While there are no more sections while (section != NULL) { @@ -227,8 +227,8 @@ ElfObject::loadSomeSymbols(SymbolTable *symtab, int binding) } } } - ++secidx; - section = elf_getscn(elf, secidx); + ++sec_idx; + section = elf_getscn(elf, sec_idx); } elf_end(elf); |