From 4db724fdd76e3a6cd0f5124ef86de976c495d666 Mon Sep 17 00:00:00 2001 From: Cyrill Gorcunov Date: Fri, 5 Nov 2010 13:50:04 +0300 Subject: [PATCH] coff: Add IMAGE_SCN_MAX_RELOC constant We will need it to analyze if section relocations are overflowed. Signed-off-by: Cyrill Gorcunov --- output/pecoff.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/output/pecoff.h b/output/pecoff.h index 7c90c49c..924ccd8e 100644 --- a/output/pecoff.h +++ b/output/pecoff.h @@ -137,6 +137,8 @@ #define IMAGE_SCN_LNK_REMOVE 0x00000800 #define IMAGE_SCN_LNK_COMDAT 0x00001000 +#define IMAGE_SCN_MAX_RELOC 0xffff + #define IMAGE_SCN_MEM_FARDATA 0x00008000 #define IMAGE_SCN_MEM_PURGEABLE 0x00020000 #define IMAGE_SCN_MEM_16BIT 0x00020000 -- 2.11.4.GIT