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]


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


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