Browse Source

* don't not generate non-constant leb128 entriesm for riscv32-freertos

florian 2 years ago
parent
commit
f1f84a292c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      compiler/dbgdwarf.pas

+ 2 - 1
compiler/dbgdwarf.pas

@@ -3573,7 +3573,8 @@ implementation
                          ... and riscv }
                          ... and riscv }
 
 
                        (target_info.system in systems_darwin+[system_riscv32_linux,system_riscv64_linux,
                        (target_info.system in systems_darwin+[system_riscv32_linux,system_riscv64_linux,
-                                                              system_riscv32_embedded,system_riscv64_embedded]) or
+                                                              system_riscv32_embedded,system_riscv64_embedded,
+                                                              system_riscv32_freertos]) or
                        (target_asm.id=as_solaris_as) then
                        (target_asm.id=as_solaris_as) then
                       begin
                       begin
                         asmline.concat(tai_const.create_8bit(DW_LNS_extended_op));
                         asmline.concat(tai_const.create_8bit(DW_LNS_extended_op));