From 97f6732487c800754c2beec448172a739832069f Mon Sep 17 00:00:00 2001 From: Jason Hiser <jdhiser@gmail.com> Date: Mon, 25 Feb 2019 16:44:55 +0000 Subject: [PATCH] fixed asm-comment problem --- src/ehwrite.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ehwrite.cpp b/src/ehwrite.cpp index bbe4b8d61..974d427c8 100644 --- a/src/ehwrite.cpp +++ b/src/ehwrite.cpp @@ -1082,7 +1082,7 @@ void EhWriterImpl_t<ptrsize>::GenerateEhOutput() out<<" .byte 0x1b // DW_EH_PE_pcrel (0x10) |sdata4 (0xb)"<<endl; out<<""<<endl; out<<" // 2) landing pad base, if omitted, use FDE start addr"<<endl; - out<<" .int 0x"<<hex<<landing_pad_base<<"- . // as pcrel|sdata4 . "<<endl; + out<<" .int 0x"<<hex<<landing_pad_base<<" + eh_frame_hdr_start - . - "<<dec<<eh_frame_hdr_addr<<" // as pcrel|sdata4 . "<<endl; } out<<""<<endl; out<<asm_comment<<" 3) encoding of type table entries"<<endl; -- GitLab