| OLD | NEW |
| 1 //===- subzero/src/IceELFObjectWriter.h - ELF object writer -----*- C++ -*-===// | 1 //===- subzero/src/IceELFObjectWriter.h - ELF object writer -----*- C++ -*-===// |
| 2 // | 2 // |
| 3 // The Subzero Code Generator | 3 // The Subzero Code Generator |
| 4 // | 4 // |
| 5 // This file is distributed under the University of Illinois Open Source | 5 // This file is distributed under the University of Illinois Open Source |
| 6 // License. See LICENSE.TXT for details. | 6 // License. See LICENSE.TXT for details. |
| 7 // | 7 // |
| 8 //===----------------------------------------------------------------------===// | 8 //===----------------------------------------------------------------------===// |
| 9 // | 9 // |
| 10 // Abstraction for a writer that is responsible for writing an ELF file. | 10 // Abstraction for a writer that is responsible for writing an ELF file. |
| (...skipping 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 109 void assignRelSectionNumInPairs(SizeT &CurSectionNumber, | 109 void assignRelSectionNumInPairs(SizeT &CurSectionNumber, |
| 110 UserSectionList &UserSections, | 110 UserSectionList &UserSections, |
| 111 RelSectionList &RelSections, | 111 RelSectionList &RelSections, |
| 112 SectionList &AllSections); | 112 SectionList &AllSections); |
| 113 | 113 |
| 114 // Link the relocation sections to the symbol table. | 114 // Link the relocation sections to the symbol table. |
| 115 void assignRelLinkNum(SizeT SymTabNumber, RelSectionList &RelSections); | 115 void assignRelLinkNum(SizeT SymTabNumber, RelSectionList &RelSections); |
| 116 | 116 |
| 117 // Write the ELF file header with the given information about sections. | 117 // Write the ELF file header with the given information about sections. |
| 118 template <bool IsELF64> | 118 template <bool IsELF64> |
| 119 void writeELFHeaderInternal(uint64_t SectionHeaderOffset, | 119 void writeELFHeaderInternal(Elf64_Off SectionHeaderOffset, |
| 120 SizeT SectHeaderStrIndex, SizeT NumSections); | 120 SizeT SectHeaderStrIndex, SizeT NumSections); |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 } // end of namespace Ice | 123 } // end of namespace Ice |
| 124 | 124 |
| 125 #endif // SUBZERO_SRC_ICEELFOBJECTWRITER_H | 125 #endif // SUBZERO_SRC_ICEELFOBJECTWRITER_H |
| OLD | NEW |