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


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


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