MachO: allow each section to have a linker-private symbol
authorTim Northover <tnorthover@apple.com>
Sat, 29 Mar 2014 07:05:06 +0000 (07:05 +0000)
committerTim Northover <tnorthover@apple.com>
Sat, 29 Mar 2014 07:05:06 +0000 (07:05 +0000)
commitc5d592d5d250ee39fda0fe48899e952328995472
tree9b4a285e816eff59e8aaa5475b02107b641925ce
parent42529ad33a84c64876a7f9a6eacf2905cbdcdc35
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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205081 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/MC/MCAsmInfo.h
include/llvm/MC/MCContext.h
include/llvm/MC/MCStreamer.h
lib/MC/MCAsmInfo.cpp
lib/MC/MCContext.cpp
lib/MC/MCMachOStreamer.cpp