fcl-res: fix missing field initialization in the coff writer, which in turn fixes fpcres randomly producing broken coff objects (rejected by GNU link)

This commit is contained in:
Karoly Balogh 2024-09-23 01:07:38 +02:00
parent ffe97bb7d9
commit 4cfe27bd3c

View File

@ -434,6 +434,7 @@ begin
st.SectionNumber:=1;
st._type:=0;
st.StorageClass:=fSymStorageClass;
st.NumAuxSymbol:=0;
if OppositeEndianess then
begin
st.Value:=SwapEndian(st.Value);