mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-15 22:19:32 +02:00
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:
parent
ffe97bb7d9
commit
4cfe27bd3c
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user