1//===- ELF.h --------------------------------------------------------------===//
2//
3//                     The MCLinker Project
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9#ifndef MCLD_SUPPORT_ELF_H
10#define MCLD_SUPPORT_ELF_H
11
12namespace mcld {
13namespace ELF {
14
15// Section flags
16enum SHF {
17  // Indicates this section requires ordering in relation to
18  // other sections of the same type.
19  SHF_ORDERED = 0x40000000,
20
21  // This section is excluded from input of an executable or shared object.
22  // Ignore this flag if SHF_ALLOC is also set or if a relocation refers to
23  // the section
24  SHF_EXCLUDE = 0x80000000,
25
26  // Section with data that is GP relative addressable.
27  SHF_MIPS_GPREL = 0x10000000
28}; // enum SHF
29
30} // namespace of ELF
31} // namespace of mcld
32
33#endif
34
35