mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-15 05:09:49 +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.SectionNumber:=1;
|
||||||
st._type:=0;
|
st._type:=0;
|
||||||
st.StorageClass:=fSymStorageClass;
|
st.StorageClass:=fSymStorageClass;
|
||||||
|
st.NumAuxSymbol:=0;
|
||||||
if OppositeEndianess then
|
if OppositeEndianess then
|
||||||
begin
|
begin
|
||||||
st.Value:=SwapEndian(st.Value);
|
st.Value:=SwapEndian(st.Value);
|
||||||
|
Loading…
Reference in New Issue
Block a user