mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-08 06:26:04 +02:00
* the 'linking' section is a section, not a subsection. Fix error messages.
This commit is contained in:
parent
9063c3c0ed
commit
e7f6da4cb0
@ -2253,12 +2253,12 @@ implementation
|
||||
Result:=False;
|
||||
if not ReadUleb32(Version) then
|
||||
begin
|
||||
InputError('Error reading the version of the ''linking'' subsection');
|
||||
InputError('Error reading the version of the ''linking'' section');
|
||||
exit;
|
||||
end;
|
||||
if Version<>ExpectedVersion then
|
||||
begin
|
||||
InputError('The ''linking'' subsection has an unsupported version (expected version ' + tostr(ExpectedVersion) + ', got version ' + tostr(Version) + ')');
|
||||
InputError('The ''linking'' section has an unsupported version (expected version ' + tostr(ExpectedVersion) + ', got version ' + tostr(Version) + ')');
|
||||
exit;
|
||||
end;
|
||||
while AReader.Pos<(SectionStart+SectionSize) do
|
||||
|
Loading…
Reference in New Issue
Block a user