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, binutils-patches at gcc dot gnu dot org
- Date: Mon, 11 Aug 2008 18:33:47 -0400 (EDT)
- Subject: Re: update dwarf2 asm unwind info [hppa64-*-* failures]
> The most basic problem for hppa here is that the assembler claims it can
> support pc-relative expressions (DIFF_EXPR_OK), but doesn't actually. I
> can't see any good reason that it shouldn't support it, since at least
> on the ELF side the relocations are present.
I have found that DIFF_EXPR_OK can be defined in the SOM case if
TC_FORCE_RELOCATION_SUB_LOCAL(FIX) is defined. However, the HP linker
doesn't recognize the generated relocation as a call and therefore
doesn't going to provide the stubs needed for interspace calls.
Also, differences of symbols in different quadrants don't work. I
was going to implement this change as I believe it provides a means
to support dwarf debug information on this target.
I think the same situation probably applies for symbol differences
on the 64-bit target, but I'm not sure.
> Please give this a try.
I'll give your change a try.
Thanks,
Dave
--
J. David Anglin dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada (613) 990-0752 (FAX: 952-6602)