Add definitions of Elf32_Sxword and ELFXX_R_INFO

Bug: http://b/17056684
Change-Id: If35302245ac3ab40d1c80fb2b04620778c114f87
This commit is contained in:
Dmitriy Ivanov 2015-05-07 22:58:00 -07:00
parent f9eeea6d65
commit ce16a53d39

View File

@ -34,6 +34,11 @@
#include <machine/elf_machdep.h>
#define ELF32_R_INFO(sym, type) ((((Elf32_Word)sym) << 8) | ((type) & 0xff))
#define ELF64_R_INFO(sym, type) ((((Elf64_Xword)sym) << 32) | ((type) & 0xffffffff))
typedef __s64 Elf32_Sxword;
typedef struct {
__u32 a_type;
union {