mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-13 22:24:07 +00:00
XCore target: fix const section handling
Xcore target ABI requires const data that is externally visible to be handled differently if it has C-language linkage rather than C++ language linkage. Clang now emits ".cp.rodata" section information. All other externally visible constant data will be placed in the DP section. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@201144 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -20,6 +20,7 @@ static const unsigned CodeModelLargeSize = 256;
|
||||
const MCSection *BSSSectionLarge;
|
||||
const MCSection *DataSectionLarge;
|
||||
const MCSection *ReadOnlySectionLarge;
|
||||
const MCSection *DataRelROSectionLarge;
|
||||
public:
|
||||
void Initialize(MCContext &Ctx, const TargetMachine &TM);
|
||||
|
||||
|
Reference in New Issue
Block a user