Skip to content

Commit 0f78cd2

Browse files
committed
Rename checkDotAndMemoryRegions to checkFinalScriptConditions
1 parent 45423a4 commit 0f78cd2

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

lld/ELF/LinkerScript.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1502,7 +1502,7 @@ static void checkMemoryRegion(const MemoryRegion *region,
15021502
}
15031503
}
15041504

1505-
void LinkerScript::checkDotAndMemoryRegions() const {
1505+
void LinkerScript::checkFinalScriptConditions() const {
15061506
if (backwardDotErr.size())
15071507
errorOrWarn(backwardDotErr);
15081508
for (const OutputSection *sec : outputSections) {

lld/ELF/LinkerScript.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -346,7 +346,7 @@ class LinkerScript final {
346346
void printMemoryUsage(raw_ostream &os);
347347

348348
// Check backward location counter assignment and memory region/LMA overflows.
349-
void checkDotAndMemoryRegions() const;
349+
void checkFinalScriptConditions() const;
350350

351351
// SECTIONS command list.
352352
SmallVector<SectionCommand *, 0> sectionCommands;

lld/ELF/Writer.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2187,7 +2187,7 @@ template <class ELFT> void Writer<ELFT>::finalizeSections() {
21872187
for (OutputSection *sec : outputSections)
21882188
sec->finalize();
21892189

2190-
script->checkDotAndMemoryRegions();
2190+
script->checkFinalScriptConditions();
21912191

21922192
if (config->emachine == EM_ARM && !config->isLE && config->armBe8) {
21932193
addArmInputSectionMappingSymbols();

0 commit comments

Comments
 (0)