Thomas Fitzsimmons : dbghelp: Recognize DT_GNU_HASH.
Alexandre Julliard
julliard at wine.codeweavers.com
Tue Dec 5 04:51:11 CST 2006
Module: wine
Branch: master
Commit: 4b30ece829784200188dc95e5375f4e13f6aee1d
URL: http://source.winehq.org/git/wine.git/?a=commit;h=4b30ece829784200188dc95e5375f4e13f6aee1d
Author: Thomas Fitzsimmons <fitzsim at redhat.com>
Date: Tue Dec 5 03:31:00 2006 -0500
dbghelp: Recognize DT_GNU_HASH.
---
dlls/dbghelp/elf_module.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/dlls/dbghelp/elf_module.c b/dlls/dbghelp/elf_module.c
index 85494ca..ca6a01b 100644
--- a/dlls/dbghelp/elf_module.c
+++ b/dlls/dbghelp/elf_module.c
@@ -1041,7 +1041,11 @@ static unsigned is_dt_flag_valid(unsigne
#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
More information about the wine-cvs
mailing list