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: [PowerPC64] Fix FAIL: ExtraClassLoader execution - gij test


On Tue, Nov 29, 2005 at 10:16:30PM -0500, Andrew Pinski wrote:
> > 
> > > 
> > > 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.

Nice.  This will likely fix the same error on ia64 too.  Testing revised
patch..

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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