[PATCH] S390: Fix backtrace in vdso functions.

Florian Weimer fweimer@redhat.com
Tue Nov 28 14:18:00 GMT 2017


On 11/28/2017 02:09 PM, Adhemerval Zanella wrote:
> I am almost sure we can remove it for powerpc as well (I can't see
> no immediate gain on doing a function call using inline assembly
> as for INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK on powerpc).

Is there another way to obtain the condition code for the error status?

   /* The vDSO does not return an error (it clear cr0.so on returning).  */
   INTERNAL_SYSCALL_DECL (err);
   result =
     INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK (get_tbfreq, err, uint64_t, 0);

Thanks,
Florian



More information about the Libc-alpha mailing list