@@ -946,15 +946,15 @@ void XCOFFWriter::writeSymbolEntryForCsectMemberLabel(
946
946
(is64Bit () && ExceptionSection.isDebugEnabled ) ? 3 : 2 );
947
947
if (is64Bit () && ExceptionSection.isDebugEnabled ) {
948
948
// On 64 bit with debugging enabled, we have a csect, exception, and
949
- // function auxilliary entries, so we must increment symbol index by 4.
949
+ // function auxiliary entries, so we must increment symbol index by 4.
950
950
writeSymbolAuxExceptionEntry (
951
951
ExceptionSection.FileOffsetToData +
952
952
getExceptionOffset (Entry->second .FunctionSymbol ),
953
953
Entry->second .FunctionSize ,
954
954
SymbolIndexMap[Entry->second .FunctionSymbol ] + 4 );
955
955
}
956
- // For exception section entries, csect and function auxilliary entries
957
- // must exist. On 64-bit there is also an exception auxilliary entry.
956
+ // For exception section entries, csect and function auxiliary entries
957
+ // must exist. On 64-bit there is also an exception auxiliary entry.
958
958
writeSymbolAuxFunctionEntry (
959
959
ExceptionSection.FileOffsetToData +
960
960
getExceptionOffset (Entry->second .FunctionSymbol ),
@@ -1015,7 +1015,7 @@ void XCOFFWriter::writeSymbolAuxFunctionEntry(uint32_t EntryOffset,
1015
1015
void XCOFFWriter::writeSymbolAuxExceptionEntry (uint64_t EntryOffset,
1016
1016
uint32_t FunctionSize,
1017
1017
uint32_t EndIndex) {
1018
- assert (is64Bit () && " Exception auxilliary entries are 64-bit only." );
1018
+ assert (is64Bit () && " Exception auxiliary entries are 64-bit only." );
1019
1019
W.write <uint64_t >(EntryOffset);
1020
1020
W.write <uint32_t >(FunctionSize);
1021
1021
W.write <uint32_t >(EndIndex);
@@ -1348,7 +1348,7 @@ void XCOFFWriter::addExceptionEntry(const MCSymbol *Symbol,
1348
1348
unsigned ReasonCode, unsigned FunctionSize,
1349
1349
bool hasDebug) {
1350
1350
// If a module had debug info, debugging is enabled and XCOFF emits the
1351
- // exception auxilliary entry.
1351
+ // exception auxiliary entry.
1352
1352
if (hasDebug)
1353
1353
ExceptionSection.isDebugEnabled = true ;
1354
1354
auto Entry = ExceptionSection.ExceptionTable .find (Symbol->getName ());
@@ -1474,8 +1474,8 @@ void XCOFFWriter::assignAddressesAndIndices(MCAssembler &Asm) {
1474
1474
SymbolIndexMap[Sym.MCSym ] = Sym.SymbolTableIndex ;
1475
1475
// 1 main and 1 auxiliary symbol table entry for each contained
1476
1476
// symbol. For symbols with exception section entries, a function
1477
- // auxilliary entry is needed, and on 64-bit XCOFF with debugging
1478
- // enabled, an additional exception auxilliary entry is needed.
1477
+ // auxiliary entry is needed, and on 64-bit XCOFF with debugging
1478
+ // enabled, an additional exception auxiliary entry is needed.
1479
1479
SymbolTableIndex += 2 ;
1480
1480
if (hasExceptionSection () && hasExceptEntry) {
1481
1481
if (is64Bit () && ExceptionSection.isDebugEnabled )
0 commit comments