mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-28 06:29:45 +00:00
80-column violations.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133668 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
f2a58425cd
commit
3f2ea825bd
@ -490,7 +490,8 @@ void MachObjectWriter::WriteDysymtabLoadCommand(uint32_t FirstLocalSymbol,
|
|||||||
assert(OS.tell() - Start == macho::DysymtabLoadCommandSize);
|
assert(OS.tell() - Start == macho::DysymtabLoadCommandSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
void MachObjectWriter::WriteNlist(MachSymbolData &MSD, const MCAsmLayout &Layout) {
|
void MachObjectWriter::WriteNlist(MachSymbolData &MSD,
|
||||||
|
const MCAsmLayout &Layout) {
|
||||||
MCSymbolData &Data = *MSD.SymbolData;
|
MCSymbolData &Data = *MSD.SymbolData;
|
||||||
const MCSymbol &Symbol = Data.getSymbol();
|
const MCSymbol &Symbol = Data.getSymbol();
|
||||||
uint8_t Type = 0;
|
uint8_t Type = 0;
|
||||||
@ -1058,7 +1059,8 @@ void MachObjectWriter::RecordTLVPRelocation(const MCAssembler &Asm,
|
|||||||
Relocations[Fragment->getParent()].push_back(MRE);
|
Relocations[Fragment->getParent()].push_back(MRE);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MachObjectWriter::getARMFixupKindMachOInfo(unsigned Kind, unsigned &RelocType,
|
bool MachObjectWriter::getARMFixupKindMachOInfo(unsigned Kind,
|
||||||
|
unsigned &RelocType,
|
||||||
unsigned &Log2Size) {
|
unsigned &Log2Size) {
|
||||||
RelocType = unsigned(macho::RIT_Vanilla);
|
RelocType = unsigned(macho::RIT_Vanilla);
|
||||||
Log2Size = ~0U;
|
Log2Size = ~0U;
|
||||||
@ -1379,10 +1381,11 @@ void MachObjectWriter::BindIndirectSymbols(MCAssembler &Asm) {
|
|||||||
/// \param StringTable [out] - The string table data.
|
/// \param StringTable [out] - The string table data.
|
||||||
/// \param StringIndexMap [out] - Map from symbol names to offsets in the
|
/// \param StringIndexMap [out] - Map from symbol names to offsets in the
|
||||||
/// string table.
|
/// string table.
|
||||||
void MachObjectWriter::ComputeSymbolTable(MCAssembler &Asm, SmallString<256> &StringTable,
|
void MachObjectWriter::
|
||||||
std::vector<MachSymbolData> &LocalSymbolData,
|
ComputeSymbolTable(MCAssembler &Asm, SmallString<256> &StringTable,
|
||||||
std::vector<MachSymbolData> &ExternalSymbolData,
|
std::vector<MachSymbolData> &LocalSymbolData,
|
||||||
std::vector<MachSymbolData> &UndefinedSymbolData) {
|
std::vector<MachSymbolData> &ExternalSymbolData,
|
||||||
|
std::vector<MachSymbolData> &UndefinedSymbolData) {
|
||||||
// Build section lookup table.
|
// Build section lookup table.
|
||||||
DenseMap<const MCSection*, uint8_t> SectionIndexMap;
|
DenseMap<const MCSection*, uint8_t> SectionIndexMap;
|
||||||
unsigned Index = 1;
|
unsigned Index = 1;
|
||||||
@ -1505,7 +1508,8 @@ void MachObjectWriter::computeSectionAddresses(const MCAssembler &Asm,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void MachObjectWriter::ExecutePostLayoutBinding(MCAssembler &Asm, const MCAsmLayout &Layout) {
|
void MachObjectWriter::ExecutePostLayoutBinding(MCAssembler &Asm,
|
||||||
|
const MCAsmLayout &Layout) {
|
||||||
computeSectionAddresses(Asm, Layout);
|
computeSectionAddresses(Asm, Layout);
|
||||||
|
|
||||||
// Create symbol data for any indirect symbols.
|
// Create symbol data for any indirect symbols.
|
||||||
@ -1516,11 +1520,12 @@ void MachObjectWriter::ExecutePostLayoutBinding(MCAssembler &Asm, const MCAsmLay
|
|||||||
UndefinedSymbolData);
|
UndefinedSymbolData);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MachObjectWriter::IsSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
|
bool MachObjectWriter::
|
||||||
const MCSymbolData &DataA,
|
IsSymbolRefDifferenceFullyResolvedImpl(const MCAssembler &Asm,
|
||||||
const MCFragment &FB,
|
const MCSymbolData &DataA,
|
||||||
bool InSet,
|
const MCFragment &FB,
|
||||||
bool IsPCRel) const {
|
bool InSet,
|
||||||
|
bool IsPCRel) const {
|
||||||
if (InSet)
|
if (InSet)
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user