Renamed ElfLinker::addSection(sname) to addLoader().

This commit is contained in:
Markus F.X.J. Oberhumer
2006-08-21 20:07:42 +02:00
parent 601cd95277
commit 6f1cc2c1e5
3 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -285,7 +285,7 @@ void ElfLinker::init(const void *pdata, int plen)
preprocessSections(psections, psymbols);
preprocessSymbols(psymbols, prelocs);
preprocessRelocations(prelocs, (char*) input + inputlen);
addSection("*UND*");
addLoader("*UND*");
}
void ElfLinker::setLoaderAlignOffset(int phase)
@@ -294,7 +294,7 @@ void ElfLinker::setLoaderAlignOffset(int phase)
printf("\nFIXME: ElfLinker::setLoaderAlignOffset %d\n", phase);
}
int ElfLinker::addSection(const char *sname)
int ElfLinker::addLoader(const char *sname)
{
assert(!frozen);
if (sname[0] == 0)