mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 02:29:36 +02:00
* applied fix for #41161 as proposed by Pierre
This commit is contained in:
parent
7f9def422f
commit
fd72ed8c56
@ -134,7 +134,10 @@ implementation
|
||||
{ :-(, we must generate a new entry }
|
||||
if not(assigned(lab_real)) then
|
||||
begin
|
||||
current_asmdata.getlocaldatalabel(lastlabel);
|
||||
if create_smartlink_library then
|
||||
current_asmdata.getglobaldatalabel(lastlabel)
|
||||
else
|
||||
current_asmdata.getlocaldatalabel(lastlabel);
|
||||
entry^.Data:=lastlabel;
|
||||
lab_real:=lastlabel;
|
||||
maybe_new_object_file(current_asmdata.asmlists[al_typedconsts]);
|
||||
|
Loading…
Reference in New Issue
Block a user