mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-11-02 22:23:10 +00:00
Add data.rel stuff
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@68031 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -32,6 +32,11 @@ namespace llvm {
|
||||
const Section* MergeableStringSection(const GlobalVariable *GV) const;
|
||||
virtual const Section*
|
||||
SelectSectionForMachineConst(const Type *Ty) const;
|
||||
|
||||
const Section* DataRelSection;
|
||||
const Section* DataRelLocalSection;
|
||||
const Section* DataRelROSection;
|
||||
const Section* DataRelROLocalSection;
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
@@ -36,8 +36,12 @@ namespace llvm {
|
||||
Unknown = 0, ///< Custom section
|
||||
Text, ///< Text section
|
||||
Data, ///< Data section
|
||||
DataRel, ///< Contains data that has relocations
|
||||
DataRelLocal, ///< Contains data that has only local relocations
|
||||
BSS, ///< BSS section
|
||||
ROData, ///< Readonly data section
|
||||
DataRelRO, ///< Contains data that is otherwise readonly
|
||||
DataRelROLocal, ///< Contains r/o data with only local relocations
|
||||
RODataMergeStr, ///< Readonly data section (mergeable strings)
|
||||
RODataMergeConst, ///< Readonly data section (mergeable constants)
|
||||
SmallData, ///< Small data section
|
||||
|
||||
Reference in New Issue
Block a user