This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: output dwarf2 unwind info via asm directives


sje@cup.hp.com wrote:
array_type_info.s:19: Error: invalid or unsupported encoding in .cfi_personality

I assume the issue is with the ASM_PREFERRED_EH_DATA_FORMAT macro in
config/pa/pa.h but I am not sure what it should be doing.  0x50 is
DW_EH_PE_aligned, should it be returning DW_EH_PE_absptr instead?

Only if your assembler can emit, and your linker can resolve, unaligned symbolic addresses. And if it can do that, you *should* make that change, as it would produce smaller unwind info. But I have to presume there was some problem with those unaligned addresses, or you wouldn't have been using _aligned.

I can fairly easily turn off assembler directives if the format is
not one that the assembler supports.  This using the same support I
am developing for turning off the directives when .cfi_personality
is not available for C++/Java.


r~



Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]