Avoid unsupported .uleb128 with diff of two sympbols for native solaris assembler

git-svn-id: trunk@32200 -
This commit is contained in:
pierre 2015-10-30 13:38:03 +00:00
parent f380b80b3e
commit 6d0c5b234b

View File

@ -3472,7 +3472,9 @@ implementation
if (prevlabel = nil) or
{ darwin's assembler cannot create an uleb128 of the difference }
{ between to symbols }
(target_info.system in systems_darwin) then
{ same goes for Solaris native assembler }
(target_info.system in systems_darwin) or
(target_asm.id=as_solaris_as) then
begin
asmline.concat(tai_const.create_8bit(DW_LNS_extended_op));
asmline.concat(tai_const.create_uleb128bit(1+sizeof(pint)));