[PATCH libgpg-error] syscfg: Add ARC architecture

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

 



On 09/19/2018 04:44 AM, Werner Koch wrote:
> On Tue, 18 Sep 2018 21:34, Vineet.Gupta1 at synopsys.com said:
>
>> I'm not exactly clear what the question is ? What is specific in ABI related to
>> locks ?
> Libgpg-error abstracts the native lock interface and thus needs to get
> some information on the actual implementation.  It can very well be the
> case that the big-endian ABI is different from the little endian ABI.
> In particular the static initialization may be different; this is
> implemented in libgpg-error using a macro which may look like this
>
>   #define GPGRT_LOCK_INITIALIZER {1,{{167,171,170,50,0,0,0,0, \
>   0,0,0,0,0,0,0,0, \
>   0,0,0,0,0,0,0,0, \
>   0,0,0,0,0,0,0,0, \
>   0,0,0,0,0,0,0,0, \
>   0,0,0,0,0,0,0,0, \
>   0,0,0,0,0,0,0,0, \
>   0,0,0,0,0,0,0,0}}}
>
> This is an memory image and we can't make use of C data types because
> we don't know them.

Well BE will certainly be different than LE.
Back to the original discussion, was the question about glibc vs. uClibc pthread
ABI ? Since they are different / independent implementations (even if uClibc is
sort of copy over from glibc) we can't guarantee that these would the same so each
would need a specific initializer I guess.

-Vineet



[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