[PATCH libgpg-error] syscfg: Add ARC architecture

Werner Koch wk at gnupg.org
Wed Sep 19 13:32:22 CEST 2018


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.


Shalom-Salam,

   Werner

-- 
Die Gedanken sind frei.  Ausnahmen regelt ein Bundesgesetz.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 227 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20180919/7b2cc275/attachment.sig>


More information about the Gnupg-devel mailing list