Browse Source

* Add riscv-embedded to targets that don't support non-constant leb128's.

git-svn-id: trunk@43851 -
Jeppe Johansen 5 năm trước cách đây
mục cha
commit
1201cc024e
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      compiler/dbgdwarf.pas

+ 2 - 1
compiler/dbgdwarf.pas

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