summaryrefslogtreecommitdiff
path: root/include/ELF.h
blob: afe811407bb95e0f8e3016d90ce717055961a7b2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef ELF_H
#define ELF_H

#include <llvm/Support/ELF.h>
// FIXME: XXX: Can't using namespace in header file!
using namespace llvm::ELF;

// TODO: These definitions are not defined in include/llvm/Support/ELF.h
// elf.h.  So we to this by ourself.  Maybe we should update ELF.h
// instead.

#ifndef ET_LOOS
#define ET_LOOS 0xfe00
#endif

#ifndef ET_HIOS
#define ET_HIOS 0xfeff
#endif

#endif // ELF_H