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: <sje at cup dot hp dot com>
- To: rth at twiddle dot net, dave at hiauly1 dot hia dot nrc dot ca
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Wed, 06 Aug 2008 09:07:02 -0700
- Subject: Re: output dwarf2 unwind info via asm directives
I am running into a problem with this patch on the 64 bit HPPA platform.
GCC is putting out:
.cfi_personality 0x50,__gxx_personality_v0
and the latest GNU assembler is saying:
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?
If I change the .cfi_personality from 0x50 (DW_EH_PE_aligned) to 0x00
(DW_EH_PE_absptr) the assembler will take it without complaint.
But I am not sure of all of the ramifications of changing
ASM_PREFERRED_EH_DATA_FORMAT.
Steve Ellcey
sje@cup.hp.com