summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAsmInfo.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2014-03-29 07:05:06 +0000
committerTim Northover <tnorthover@apple.com>2014-03-29 07:05:06 +0000
commitc3988b4aa3d2d9675fc75a221f5d1c3b64cfcd9b (patch)
tree6019822b28a28dceb9a6b999a19af95930365ff5 /llvm/lib/MC/MCAsmInfo.cpp
parent9086f061f0f97f2b2b5f9b943d5a01e54646aa92 (diff)
downloadbcm5719-llvm-c3988b4aa3d2d9675fc75a221f5d1c3b64cfcd9b.tar.gz
bcm5719-llvm-c3988b4aa3d2d9675fc75a221f5d1c3b64cfcd9b.zip
MachO: allow each section to have a linker-private symbol
The upcoming ARM64 backend doesn't have section-relative relocations, so we give each section its own symbol to provide this functionality. Of course, it doesn't need to appear in the final executable, so linker-private is the best kind for this purpose. llvm-svn: 205081
Diffstat (limited to 'llvm/lib/MC/MCAsmInfo.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfo.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfo.cpp b/llvm/lib/MC/MCAsmInfo.cpp
index c78d3d574a4..966714592a6 100644
--- a/llvm/lib/MC/MCAsmInfo.cpp
+++ b/llvm/lib/MC/MCAsmInfo.cpp
@@ -41,6 +41,7 @@ MCAsmInfo::MCAsmInfo() {
LabelSuffix = ":";
DebugLabelSuffix = ":";
PrivateGlobalPrefix = "L";
+ LinkerPrivateGlobalPrefix = "";
InlineAsmStart = "APP";
InlineAsmEnd = "NO_APP";
Code16Directive = ".code16";
OpenPOWER on IntegriCloud