elfreader: be less verbose
git-svn-id: https://www4.informatik.uni-erlangen.de/i4svn/danceos/trunk/devel/fail@1797 8c4709b5-6ec9-48aa-a5cd-a96041d1645a
This commit is contained in:
@ -79,7 +79,7 @@ int ElfReader::process_symboltable(int sect_num, FILE* fp){
|
|||||||
//so we have the namebuf now seek to symtab data
|
//so we have the namebuf now seek to symtab data
|
||||||
fseek(fp,sym_data_offset,SEEK_SET);
|
fseek(fp,sym_data_offset,SEEK_SET);
|
||||||
|
|
||||||
m_log << "[section " << sect_num << "] contains " << num_sym << " symbols." << std::endl;
|
//m_log << "[section " << sect_num << "] contains " << num_sym << " symbols." << std::endl;
|
||||||
for(i=0;i<num_sym;i++)
|
for(i=0;i<num_sym;i++)
|
||||||
{
|
{
|
||||||
|
|
||||||
@ -88,7 +88,7 @@ int ElfReader::process_symboltable(int sect_num, FILE* fp){
|
|||||||
|
|
||||||
int type = ELF32_ST_TYPE(mysym.st_info);
|
int type = ELF32_ST_TYPE(mysym.st_info);
|
||||||
if((type != STT_SECTION) && (type != STT_FILE)){
|
if((type != STT_SECTION) && (type != STT_FILE)){
|
||||||
m_log << " " << (i) << " " << name_buf+idx << " @ " << mysym.st_value << std::endl;
|
//m_log << " " << (i) << " " << name_buf+idx << " @ " << mysym.st_value << std::endl;
|
||||||
m_map[name_buf+idx] = mysym.st_value;
|
m_map[name_buf+idx] = mysym.st_value;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user