diff --git a/src/ehwrite.cpp b/src/ehwrite.cpp index 974d427c80858e90a2a47ddb597ed3ecbd38241d..1c730db5906e907491e25364cfd6bf4c2b3291b3 100644 --- a/src/ehwrite.cpp +++ b/src/ehwrite.cpp @@ -1078,11 +1078,11 @@ void EhWriterImpl_t<ptrsize>::GenerateEhOutput() } else { - out<<" // 1) encoding of next field "<<endl; - out<<" .byte 0x1b // DW_EH_PE_pcrel (0x10) |sdata4 (0xb)"<<endl; + out<<asm_comment<<" 1) encoding of next field "<<endl; + out<<" .byte 0x1b "<<asm_comment<<" 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<<" + eh_frame_hdr_start - . - "<<dec<<eh_frame_hdr_addr<<" // as pcrel|sdata4 . "<<endl; + out<<" "<<asm_comment<<" 2) landing pad base, if omitted, use FDE start addr"<<endl; + out<<" .int 0x"<<hex<<landing_pad_base<<" + eh_frame_hdr_start - . - "<<dec<<eh_frame_hdr_addr<<" "<<asm_comment<<" as pcrel|sdata4 . "<<endl; } out<<""<<endl; out<<asm_comment<<" 3) encoding of type table entries"<<endl;