dbghelp: Recognize DT_GNU_HASH.
This commit is contained in:
parent
d05fabb660
commit
4b30ece829
|
@ -1040,8 +1040,12 @@ static unsigned is_dt_flag_valid(unsigned d_tag)
|
|||
#endif
|
||||
#ifndef DT_EXTRANUM
|
||||
#define DT_EXTRANUM 0
|
||||
#endif
|
||||
#ifndef DT_GNU_HASH
|
||||
#define DT_GNU_HASH 0x6ffffef5
|
||||
#endif
|
||||
return (d_tag >= 0 && d_tag < DT_NUM + DT_PROCNUM + DT_EXTRANUM)
|
||||
|| (d_tag == DT_GNU_HASH)
|
||||
#if defined(DT_LOOS) && defined(DT_HIOS)
|
||||
|| (d_tag >= DT_LOOS && d_tag < DT_HIOS)
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue