mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-09-11 13:29:18 +02:00
+ Pointer to FPC_RESSYMBOL not in fpc.resptr section
git-svn-id: trunk@962 -
This commit is contained in:
parent
2ed95f4a75
commit
d93edfdf13
@ -291,6 +291,9 @@ implementation
|
||||
ResourceInfo:=TAAsmOutput.Create;
|
||||
if found then
|
||||
begin
|
||||
{ Valid pointer to resource information }
|
||||
ResourceInfo.concat(Tai_symbol.Createname_global('FPC_RESLOCATION',AT_DATA,0));
|
||||
ResourceInfo.concat(Tai_const.Createname('FPC_RESSYMBOL',AT_DATA,0));
|
||||
{$ifdef EXTERNALRESPTRS}
|
||||
current_module.linkotherofiles.add('resptrs.o',link_allways);
|
||||
{$else EXTERNALRESPTRS}
|
||||
@ -299,9 +302,6 @@ implementation
|
||||
For I:=1 to 32 do
|
||||
ResourceInfo.Concat(Tai_const.Create_32bit(0));
|
||||
{$endif EXTERNALRESPTRS}
|
||||
{ Valid pointer to resource information }
|
||||
ResourceInfo.concat(Tai_symbol.Createname_global('FPC_RESLOCATION',AT_DATA,0));
|
||||
ResourceInfo.concat(Tai_const.Createname('FPC_RESSYMBOL',AT_DATA,0));
|
||||
end
|
||||
else
|
||||
begin
|
||||
|
Loading…
Reference in New Issue
Block a user