* elf/elf.h (ELF64_R_INFO): Cast sym value to Elf64_Xword before
	shifting.
This commit is contained in:
Ulrich Drepper
2000-06-02 00:27:08 +00:00
parent 61d655c1cb
commit 68979757bc
5 changed files with 69 additions and 43 deletions
+1 -1
View File
@@ -476,7 +476,7 @@ typedef struct
#define ELF64_R_SYM(i) ((i) >> 32)
#define ELF64_R_TYPE(i) ((i) & 0xffffffff)
#define ELF64_R_INFO(sym,type) (((sym) << 32) + (type))
#define ELF64_R_INFO(sym,type) ((((Elf64_Xword) (sym)) << 32) + (type))
/* Program segment header. */