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 12 namespace mcld { 13 namespace ELF { 14 15 // Section flags 16 enum SHF { 17 // Indicates this section requires ordering in relation to 18 // other sections of the same type. 19 SHF_ORDERED = 0x40000000, 20 21 // Section with data that is GP relative addressable. 22 SHF_MIPS_GPREL = 0x10000000 23 }; // enum SHF 24 25 } // namespace ELF 26 } // namespace mcld 27 28 #endif // MCLD_SUPPORT_ELF_H_ 29