Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(91)

Side by Side Diff: src/IceELFObjectWriter.h

Issue 1217443024: Changes the TargetX8632 to inherit from TargetX86Base<TargetX8632>. (Closed) Base URL: https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Patch Set: s/Func-> /Func->/g (no functional changes) Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | src/IceRegistersX8632.h » ('j') | src/IceRegistersX8632.h » ('J')
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 /// \file 10 /// \file
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 template <typename UserSectionList> 139 template <typename UserSectionList>
140 void assignRelSectionNumInPairs(SizeT &CurSectionNumber, 140 void assignRelSectionNumInPairs(SizeT &CurSectionNumber,
141 UserSectionList &UserSections, 141 UserSectionList &UserSections,
142 RelSectionList &RelSections, 142 RelSectionList &RelSections,
143 SectionList &AllSections); 143 SectionList &AllSections);
144 144
145 /// Link the relocation sections to the symbol table. 145 /// Link the relocation sections to the symbol table.
146 void assignRelLinkNum(SizeT SymTabNumber, RelSectionList &RelSections); 146 void assignRelLinkNum(SizeT SymTabNumber, RelSectionList &RelSections);
147 147
148 /// Helper function for writeDataSection. Writes a data section of type 148 /// Helper function for writeDataSection. Writes a data section of type
149 /// SectionType, given the global variables Vars belonging to that SectionType . 149 /// SectionType, given the global variables Vars belonging to that
150 /// SectionType.
150 void writeDataOfType(SectionType SectionType, 151 void writeDataOfType(SectionType SectionType,
151 const VariableDeclarationList &Vars, 152 const VariableDeclarationList &Vars,
152 FixupKind RelocationKind, 153 FixupKind RelocationKind,
153 const IceString &SectionSuffix); 154 const IceString &SectionSuffix);
154 155
155 /// Write the final relocation sections given the final symbol table. 156 /// Write the final relocation sections given the final symbol table.
156 /// May also be able to seek around the file and resolve function calls 157 /// May also be able to seek around the file and resolve function calls
157 /// that are for functions within the same section. 158 /// that are for functions within the same section.
158 void writeAllRelocationSections(); 159 void writeAllRelocationSections();
159 void writeRelocationSections(RelSectionList &RelSections); 160 void writeRelocationSections(RelSectionList &RelSections);
160 161
161 /// Write the ELF file header with the given information about sections. 162 /// Write the ELF file header with the given information about sections.
162 template <bool IsELF64> 163 template <bool IsELF64>
163 void writeELFHeaderInternal(Elf64_Off SectionHeaderOffset, 164 void writeELFHeaderInternal(Elf64_Off SectionHeaderOffset,
164 SizeT SectHeaderStrIndex, SizeT NumSections); 165 SizeT SectHeaderStrIndex, SizeT NumSections);
165 }; 166 };
166 167
167 } // end of namespace Ice 168 } // end of namespace Ice
168 169
169 #endif // SUBZERO_SRC_ICEELFOBJECTWRITER_H 170 #endif // SUBZERO_SRC_ICEELFOBJECTWRITER_H
OLDNEW
« no previous file with comments | « no previous file | src/IceRegistersX8632.h » ('j') | src/IceRegistersX8632.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698