|
@@ -2928,8 +2928,8 @@ implementation
|
|
Result:=ReadProducersSection;
|
|
Result:=ReadProducersSection;
|
|
'target_features':
|
|
'target_features':
|
|
Result:=ReadTargetFeaturesSection;
|
|
Result:=ReadTargetFeaturesSection;
|
|
- '.debug_abbrev':
|
|
|
|
- if not ReadDebugSection(SectionName, wcstDebugAbbrev) then
|
|
|
|
|
|
+ '.debug_frame':
|
|
|
|
+ if not ReadDebugSection(SectionName, wcstDebugFrame) then
|
|
begin
|
|
begin
|
|
InputError('Error reading section ' + SectionName);
|
|
InputError('Error reading section ' + SectionName);
|
|
exit;
|
|
exit;
|
|
@@ -2946,6 +2946,12 @@ implementation
|
|
InputError('Error reading section ' + SectionName);
|
|
InputError('Error reading section ' + SectionName);
|
|
exit;
|
|
exit;
|
|
end;
|
|
end;
|
|
|
|
+ '.debug_abbrev':
|
|
|
|
+ if not ReadDebugSection(SectionName, wcstDebugAbbrev) then
|
|
|
|
+ begin
|
|
|
|
+ InputError('Error reading section ' + SectionName);
|
|
|
|
+ exit;
|
|
|
|
+ end;
|
|
'.debug_aranges':
|
|
'.debug_aranges':
|
|
if not ReadDebugSection(SectionName, wcstDebugAranges) then
|
|
if not ReadDebugSection(SectionName, wcstDebugAranges) then
|
|
begin
|
|
begin
|
|
@@ -2958,6 +2964,12 @@ implementation
|
|
InputError('Error reading section ' + SectionName);
|
|
InputError('Error reading section ' + SectionName);
|
|
exit;
|
|
exit;
|
|
end;
|
|
end;
|
|
|
|
+ '.debug_str':
|
|
|
|
+ if not ReadDebugSection(SectionName, wcstDebugStr) then
|
|
|
|
+ begin
|
|
|
|
+ InputError('Error reading section ' + SectionName);
|
|
|
|
+ exit;
|
|
|
|
+ end;
|
|
else
|
|
else
|
|
InputError('Unsupported custom section: ''' + SectionName + '''');
|
|
InputError('Unsupported custom section: ''' + SectionName + '''');
|
|
end;
|
|
end;
|