Remove misleading "const" from Linker::preprocessXX().

This commit is contained in:
Markus F.X.J. Oberhumer
2006-12-10 00:38:28 +01:00
parent edf384d2ee
commit 732d6710d3
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -189,7 +189,7 @@ void ElfLinker::init(const void *pdata_v, int plen)
addLoader("*UND*");
}
void ElfLinker::preprocessSections(char *start, const char *end)
void ElfLinker::preprocessSections(char *start, char *end)
{
nsections = 0;
while (start < end)
@@ -215,7 +215,7 @@ void ElfLinker::preprocessSections(char *start, const char *end)
addSection("*UND*", NULL, 0, 0);
}
void ElfLinker::preprocessSymbols(char *start, const char *end)
void ElfLinker::preprocessSymbols(char *start, char *end)
{
nsymbols = 0;
while (start < end)
@@ -250,7 +250,7 @@ void ElfLinker::preprocessSymbols(char *start, const char *end)
}
}
void ElfLinker::preprocessRelocations(char *start, const char *end)
void ElfLinker::preprocessRelocations(char *start, char *end)
{
char sect[1024];
Section *section = NULL;
+3 -3
View File
@@ -66,9 +66,9 @@ protected:
bool reloc_done;
protected:
void preprocessSections(char *start, const char *end);
void preprocessSymbols(char *start, const char *end);
void preprocessRelocations(char *start, const char *end);
void preprocessSections(char *start, char *end);
void preprocessSymbols(char *start, char *end);
void preprocessRelocations(char *start, char *end);
Section *findSection(const char *name, bool fatal=true) const;
Symbol *findSymbol(const char *name, bool fatal=true) const;