mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:29:28 +02:00
* write the .globaltype directive and the imports in the beginning of the
assembly file, because that appears to be required by llvm-mc from git
This commit is contained in:
parent
bee87583de
commit
d8665f8a51
@ -153,10 +153,10 @@ implementation
|
||||
|
||||
procedure TLLVMMachineCodePlaygroundAssembler.WriteAsmList;
|
||||
begin
|
||||
inherited;
|
||||
{ print all global procedures/functions }
|
||||
writer.AsmWriteLn(#9'.globaltype'#9+STACK_POINTER_SYM+', i32');
|
||||
{ print all global procedures/functions }
|
||||
WriteImports;
|
||||
inherited;
|
||||
end;
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user