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: 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)


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