mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-08-07 12:28:24 +00:00
make sure that arm nonlazypointers are aligned properly
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@78573 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -1337,6 +1337,7 @@ bool ARMAsmPrinter::doFinalization(Module &M) {
|
|||||||
if (!GVNonLazyPtrs.empty()) {
|
if (!GVNonLazyPtrs.empty()) {
|
||||||
// Switch with ".non_lazy_symbol_pointer" directive.
|
// Switch with ".non_lazy_symbol_pointer" directive.
|
||||||
SwitchToSection(TLOFMacho.getNonLazySymbolPointerSection());
|
SwitchToSection(TLOFMacho.getNonLazySymbolPointerSection());
|
||||||
|
EmitAlignment(2);
|
||||||
for (StringMap<std::string>::iterator I = GVNonLazyPtrs.begin(),
|
for (StringMap<std::string>::iterator I = GVNonLazyPtrs.begin(),
|
||||||
E = GVNonLazyPtrs.end(); I != E; ++I) {
|
E = GVNonLazyPtrs.end(); I != E; ++I) {
|
||||||
O << I->second << ":\n";
|
O << I->second << ":\n";
|
||||||
|
Reference in New Issue
Block a user