From e98a54643ee95032baab883673628314e520012e Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Fri, 1 May 2015 13:35:51 -0400 Subject: [PATCH] fix integer overflow in elf.h macro SHF_EXCLUDE --- include/elf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/elf.h b/include/elf.h index c748c445..1d43670c 100644 --- a/include/elf.h +++ b/include/elf.h @@ -319,7 +319,7 @@ typedef struct { #define SHF_MASKOS 0x0ff00000 #define SHF_MASKPROC 0xf0000000 #define SHF_ORDERED (1 << 30) -#define SHF_EXCLUDE (1 << 31) +#define SHF_EXCLUDE (1U << 31) #define GRP_COMDAT 0x1