From 9f80be42f2e68862d8669c0fc4f3c587e1025364 Mon Sep 17 00:00:00 2001 From: Christian Speckner Date: Fri, 12 Jul 2024 23:33:57 +0200 Subject: [PATCH] Wording. --- src/emucore/elf/ElfLinker.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/emucore/elf/ElfLinker.cxx b/src/emucore/elf/ElfLinker.cxx index b0e53c8b4..1f4280fe9 100644 --- a/src/emucore/elf/ElfLinker.cxx +++ b/src/emucore/elf/ElfLinker.cxx @@ -352,19 +352,19 @@ void ElfLinker::applyRelocationsToInitArrays(uInt8 initArrayType, vector for (const auto& relocation: *relocations) { if (relocation.type != ElfParser::R_ARM_ABS32 && relocation.type != ElfParser::R_ARM_TARGET1) - ElfLinkError::raise("unsupported relocation for init table"); + ElfLinkError::raise("unsupported relocation for init array"); const auto& relocatedSymbol = myRelocatedSymbols[relocation.symbol]; if (!relocatedSymbol) ElfLinkError::raise( - "unable to relocate init section: symbol " + relocation.symbolName + " could not be relocated" + "unable to relocate init array: symbol " + relocation.symbolName + " could not be relocated" ); if (relocatedSymbol->undefined) Logger::error("unable to relocate symbol " + relocation.symbolName); if (relocation.offset + 4 > section.size) - ElfLinkError::raise("unable relocate init section: symbol " + relocation.symbolName + " out of range"); + ElfLinkError::raise("unable relocate init array: symbol " + relocation.symbolName + " out of range"); const uInt32 index = (relocatedInitArrays.at(iSection) + relocation.offset) >> 2; const uInt32 value = relocatedSymbol->value + relocation.addend.value_or(initArray[index]);