mirror of https://github.com/stella-emu/stella.git
Typo.
This commit is contained in:
parent
21c80981cd
commit
0978806ae4
|
@ -298,7 +298,7 @@ void ElfLinker::relocateInitArrays()
|
||||||
|
|
||||||
switch (section.type) {
|
switch (section.type) {
|
||||||
case ElfParser::SHT_INIT_ARRAY:
|
case ElfParser::SHT_INIT_ARRAY:
|
||||||
if (section.size % 4) ElfLinkError::raise("invalid init arrey");
|
if (section.size % 4) ElfLinkError::raise("invalid init array");
|
||||||
|
|
||||||
relocatedInitArrays[i] = initArraySize;
|
relocatedInitArrays[i] = initArraySize;
|
||||||
initArraySize += section.size;
|
initArraySize += section.size;
|
||||||
|
@ -306,7 +306,7 @@ void ElfLinker::relocateInitArrays()
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case ElfParser::SHT_PREINIT_ARRAY:
|
case ElfParser::SHT_PREINIT_ARRAY:
|
||||||
if (section.size % 4) ElfLinkError::raise("invalid preinit arrey");
|
if (section.size % 4) ElfLinkError::raise("invalid preinit array");
|
||||||
|
|
||||||
relocatedPreinitArrays[i] = preinitArraySize;
|
relocatedPreinitArrays[i] = preinitArraySize;
|
||||||
preinitArraySize += section.size;
|
preinitArraySize += section.size;
|
||||||
|
|
Loading…
Reference in New Issue