[RFC 4/6] ARC: Initial port to glibc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 27 Jun 2017, Vineet Gupta wrote:

> > > +typedef struct sigcontext mcontext_t;
> > 
> > You can avoid this problematic definition for a new architecture, even
> > while we're still discussing eliminating it for existing architectures.
> 
> So just use struct sigcontext as data type for uc_mcontext ?

No.  Define mcontext_t to be a struct without a tag, with the same layout 
as struct sigcontext, as the identifier sigcontext (and non-reserved 
identifiers for its elements) are not in the POSIX namespace permitted for 
ucontext.h.

https://sourceware.org/ml/libc-alpha/2017-06/msg00946.html

-- 
Joseph S. Myers
joseph at codesourcery.com



[Index of Archives]     [KVM ARM]     [KVM ia64]     [KVM ppc]     [Virtualization Tools]     [Spice Development]     [Libvirt]     [Libvirt Users]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite Questions]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux