فهرست منبع

Ensure that real constant put into rodata also get a end symbol to generate .size directive (required at least by llvm-mc-16 for wasm32 compiler)

Pierre Muller 4 ماه پیش
والد
کامیت
4aaf65e9f8
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      compiler/ncgcon.pas

+ 1 - 0
compiler/ncgcon.pas

@@ -178,6 +178,7 @@ implementation
                       internalerror(10120);
 {$endif not cpufloat128}
                   end;
+                  current_asmdata.asmlists[al_typedconsts].concat(Tai_symbol_end.Create(lastlabel));
                end;
           end;
         location.reference.symbol:=lab_real;