This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: output dwarf2 unwind info via asm directives
- From: Richard Henderson <rth at twiddle dot net>
- To: sje at cup dot hp dot com
- Cc: dave at hiauly1 dot hia dot nrc dot ca, gcc-patches at gcc dot gnu dot org
- Date: Wed, 06 Aug 2008 09:35:46 -0700
- Subject: Re: output dwarf2 unwind info via asm directives
- References: <1218038822.909384.6034.nullmailer@hpsje.cup.hp.com>
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~