|
@@ -3774,10 +3774,12 @@ implementation
|
|
|
asmline.concat(tai_comment.Create(strpnew('['+tostr(currfileinfo.line)+':'+tostr(currfileinfo.column)+']')));
|
|
|
|
|
|
if (prevlabel = nil) or
|
|
|
- { darwin's assembler cannot create an uleb128 of the difference }
|
|
|
- { between to symbols }
|
|
|
- { same goes for Solaris native assembler }
|
|
|
- (target_info.system in systems_darwin) or
|
|
|
+ { darwin's assembler cannot create an uleb128 of the difference
|
|
|
+ between to symbols
|
|
|
+ same goes for Solaris native assembler
|
|
|
+ ... and riscv }
|
|
|
+
|
|
|
+ (target_info.system in systems_darwin+[system_riscv32_linux,system_riscv64_linux]) or
|
|
|
(target_asm.id=as_solaris_as) then
|
|
|
begin
|
|
|
asmline.concat(tai_const.create_8bit(DW_LNS_extended_op));
|