mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-19 08:35:45 +00:00
[XCore] Use static relocation model by default.
This allows us to get get rid of a hack in XCoreTargetObjectFile where the the DataRel* sections were overridden. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@181116 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -57,9 +57,4 @@ void XCoreTargetObjectFile::Initialize(MCContext &Ctx, const TargetMachine &TM){
|
||||
ELF::SHF_ALLOC |
|
||||
ELF::XCORE_SHF_CP_SECTION,
|
||||
SectionKind::getReadOnlyWithRel());
|
||||
|
||||
// Dynamic linking is not supported. Data with relocations is placed in the
|
||||
// same section as data without relocations.
|
||||
DataRelSection = DataRelLocalSection = DataSection;
|
||||
DataRelROSection = DataRelROLocalSection = ReadOnlySection;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user