Hi!
> getcontext function is implemented from libc-2.17 in ARM.
> Currently, getcontext01 goes to TFAIL because getcontext just 
> returns -1 in the previous libc for ARM.
> This patch makes getcontext01 as TCONF when libc version is less 
> than 2.17.

Does the setcontext() set errno to ENOSYS after the failure? If so it
would be much easier (and more general solution) to just add a test for
errno == ENOSYS and return TCONF if so.

-- 
Cyril Hrubis
[email protected]

------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk
_______________________________________________
Ltp-list mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ltp-list

Reply via email to