This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PowerPC64] Fix FAIL: ExtraClassLoader execution - gij test
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: pinskia at physics dot uc dot edu (Andrew Pinski)
- Cc: amodra at bigpond dot net dot au (Alan Modra), gcc-patches at gcc dot gnu dot org, java-patches at gcc dot gnu dot org
- Date: Tue, 29 Nov 2005 22:16:30 -0500 (EST)
- Subject: Re: [PowerPC64] Fix FAIL: ExtraClassLoader execution - gij test
>
> >
> > Fixes two libjava testsuite failures on powerpc64-linux. Bootstrapped
> > and regression tested powerpc64-linux and powerpc-linux. OK for 4.1 and
> > 4.2?
> >
> > * stacktrace.cc (UnwindTraceFn): For powerpc64, compare the function
> > code entry not the function descriptor against _Unwind_GetRegionStart.
>
> Isn't there a macro to do this?
Yes there is, in fact it is already used in stacktrace.cc.
UNWRAP_FUNCTION_DESCRIPTOR is the macro which you should use here.
-- Pinski