[PATCH libgpg-error] syscfg: Add lock-obj-pub file for riscv64-unknown-linux-gnu.

Shea Levy shea at shealevy.com
Thu Mar 22 14:22:39 CET 2018


Ack, sorry for the duplication, I thought I had submitted this a month
ago but it looks like I hadn't subscribed to the ml and now it's already
in!

Thanks,
Shea

Shea Levy <shea at shealevy.com> writes:

> * src/syscfg/lock-obj-pub.riscv64-unknown-linux-gnu.h: new.
> * src/Makefile.am (lock_obj_pub): Add it.
>
> Signed-off-by: Shea Levy <shea at shealevy.com>
> ---
>  src/Makefile.am                                    |  1 +
>  .../lock-obj-pub.riscv64-unknown-linux-gnu.h       | 25 ++++++++++++++++++++++
>  2 files changed, 26 insertions(+)
>  create mode 100644 src/syscfg/lock-obj-pub.riscv64-unknown-linux-gnu.h
>
> diff --git a/src/Makefile.am b/src/Makefile.am
> index 4446612..5a8cc43 100644
> --- a/src/Makefile.am
> +++ b/src/Makefile.am
> @@ -65,6 +65,7 @@ lock_obj_pub = \
>          syscfg/lock-obj-pub.powerpc64-unknown-linux-gnu.h   \
>  	syscfg/lock-obj-pub.powerpc64le-unknown-linux-gnu.h \
>  	syscfg/lock-obj-pub.powerpc-unknown-linux-gnuspe.h  \
> +        syscfg/lock-obj-pub.riscv64-unknown-linux-gnu.h     \
>          syscfg/lock-obj-pub.s390x-ibm-linux-gnu.h           \
>          syscfg/lock-obj-pub.sh3-unknown-linux-gnu.h         \
>          syscfg/lock-obj-pub.sh4-unknown-linux-gnu.h         \
> diff --git a/src/syscfg/lock-obj-pub.riscv64-unknown-linux-gnu.h b/src/syscfg/lock-obj-pub.riscv64-unknown-linux-gnu.h
> new file mode 100644
> index 0000000..8aab9d6
> --- /dev/null
> +++ b/src/syscfg/lock-obj-pub.riscv64-unknown-linux-gnu.h
> @@ -0,0 +1,25 @@
> +## lock-obj-pub.riscv64-unknown-linux-gnu.h
> +## File created by gen-posix-lock-obj - DO NOT EDIT
> +## To be included by mkheader into gpg-error.h
> +
> +typedef struct
> +{
> +  long _vers;
> +  union {
> +    volatile char _priv[40];
> +    long _x_align;
> +    long *_xp_align;
> +  } u;
> +} gpgrt_lock_t;
> +
> +#define GPGRT_LOCK_INITIALIZER {1,{{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}}}
> +##
> +## Local Variables:
> +## mode: c
> +## buffer-read-only: t
> +## End:
> +##
> -- 
> 2.16.2
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 832 bytes
Desc: not available
URL: <https://lists.gnupg.org/pipermail/gnupg-devel/attachments/20180322/3f13d9bb/attachment.sig>


More information about the Gnupg-devel mailing list