Thomas Fitzsimmons wrote:
This patch fixes #6830.
Tom
2006-12-05 Thomas Fitzsimmons fitzsim@redhat.com
* dlls/dbghelp/elf_module.c (is_dt_flag_valid): Recognize DT_GNU_HASH.
diff --git a/dlls/dbghelp/elf_module.c b/dlls/dbghelp/elf_module.c index 85494ca..a7fa2f8 100644 --- a/dlls/dbghelp/elf_module.c +++ b/dlls/dbghelp/elf_module.c @@ -1041,6 +1041,9 @@ #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) #if defined(DT_LOOS) && defined(DT_HIOS) || (d_tag >= DT_LOOS && d_tag < DT_HIOS) @@ -1048,6 +1051,9 @@ #endif #if defined(DT_LOPROC) && defined(DT_HIPROC) || (d_tag >= DT_LOPROC && d_tag < DT_HIPROC) #endif +#if defined(DT_GNU_HASH)
|| (d_tag == DT_GNU_HASH)
+#endif ; }
Ugh, no need for the extra "if defined" check, of course.
Tom