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


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


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