dbghelp: Recognize DT_GNU_HASH.

This commit is contained in:
Thomas Fitzsimmons 2006-12-05 03:31:00 -05:00 committed by Alexandre Julliard
parent d05fabb660
commit 4b30ece829
1 changed files with 4 additions and 0 deletions

View File

@ -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