mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 11:09:42 +02:00
+ added hack for supporting linking with .obj files, generated by Borland's
binobj tool with the i8086-msdos internal linker git-svn-id: trunk@32381 -
This commit is contained in:
parent
d3660fec31
commit
30a7875d56
@ -1135,6 +1135,12 @@ implementation
|
||||
SegClassName:=UpCase(SegClassName);
|
||||
OverlayName:=UpCase(OverlayName);
|
||||
end;
|
||||
{ hack for supporting object modules, generated by Borland's BINOBJ tool }
|
||||
if (SegClassName='') and (SegmentName='CODE') then
|
||||
begin
|
||||
SegmentName:=InputFileName;
|
||||
SegClassName:='CODE';
|
||||
end;
|
||||
secoptions:=[];
|
||||
objsec:=TOmfObjSection(objdata.createsection(SegmentName+'||'+SegClassName,SecAlign,secoptions,false));
|
||||
objsec.FClassName:=SegClassName;
|
||||
|
Loading…
Reference in New Issue
Block a user