Use SHN_UNDEF instead of STN_UNDEF to specify undefined section

index.
This commit is contained in:
Yorick Hardy 2004-02-24 01:22:37 +00:00 committed by Alexandre Julliard
parent 009c04a040
commit 3e2fa2c33a
1 changed files with 1 additions and 1 deletions

View File

@ -110,7 +110,7 @@ static int DEBUG_ProcessElfSymtab(DBG_MODULE* module, const char* addr,
* interest. * interest.
*/ */
if (ELF32_ST_TYPE(symp->st_info) == STT_SECTION || if (ELF32_ST_TYPE(symp->st_info) == STT_SECTION ||
symp->st_shndx == STN_UNDEF) symp->st_shndx == SHN_UNDEF)
{ {
continue; continue;
} }