Use SHN_UNDEF instead of STN_UNDEF to specify undefined section
index.
This commit is contained in:
parent
009c04a040
commit
3e2fa2c33a
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue