This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: update dwarf2 asm unwind info [hppa64-*-* failures]
- From: "John David Anglin" <dave at hiauly1 dot hia dot nrc dot ca>
- To: rth at twiddle dot net (Richard Henderson)
- Cc: sje at cup dot hp dot com, gcc-patches at gcc dot gnu dot org, dave dot anglin at nrc-cnrc dot gc dot ca
- Date: Mon, 11 Aug 2008 20:42:49 -0400 (EDT)
- Subject: Re: update dwarf2 asm unwind info [hppa64-*-* failures]
> Surely the real reason you don't use a pc-relative relocation for the
> personality function is dynamic linking.
Yes, that's the only way to make it work that I found.
> Anyway, the unwind info that gcc itself emits uses pc-relative
> relocations in the same locations we want the assembler to do so. It's
> just that gcc emits funny looking code like
>
> .dword .LFB0+8-$PIC_pcrel$0
>
> which the assembler special-cases instead of
>
> .dword .LFB0-.
>
> which is what the internals of gas assume works when DIFF_EXPR_OK is
> defined.
Now you have me puzzled. I thought on HP-UX we only used DW_EH_PE_aligned
and DW_EH_PE_absptr. On linux, we were using the above funny looking
code. Where we need a plabel, this was indirect.
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)