aboutsummaryrefslogtreecommitdiffstats
path: root/src/syscfg/lock-obj-pub.i686-unknown-linux-gnu.h
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2018-09-18 12:54:08 +0000
committerWerner Koch <[email protected]>2018-09-18 12:55:17 +0000
commit48c8f8ddfc80551db7615e1eb3555c1dc3f6a657 (patch)
treeb75868c03468964e083b375eacc438a2030f876c /src/syscfg/lock-obj-pub.i686-unknown-linux-gnu.h
parentMake gpg-error-config compatible to pkg-config. (diff)
downloadlibgpg-error-48c8f8ddfc80551db7615e1eb3555c1dc3f6a657.tar.gz
libgpg-error-48c8f8ddfc80551db7615e1eb3555c1dc3f6a657.zip
syscfg: Support ARC CPUs and simplify aliasing table.
* src/mkheader.c (xmalloc): New. (xstrdup): Implement using xmalloc. (canon_host_triplet): Add supporr for arc CPU. Adjust alias table to also alias *-pc-*. Rename ibm to unknown. Add internal arg. Add unknown vendor hack. (main): New mode to just print the canonicalized form. * src/Makefile.am (lock_obj_pub): s/-(pc|ibm)-/-unknown/. Also rename files accordingly. -- config.sub does no real aliasing and thus we would need to add several vendors to the alising tables despite that this has no technical meanding. Instead we now replace the vendor with "unknown" for the 4-part-"triplets". This change will make maintenace easier. Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'src/syscfg/lock-obj-pub.i686-unknown-linux-gnu.h')
-rw-r--r--src/syscfg/lock-obj-pub.i686-unknown-linux-gnu.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/syscfg/lock-obj-pub.i686-unknown-linux-gnu.h b/src/syscfg/lock-obj-pub.i686-unknown-linux-gnu.h
new file mode 100644
index 0000000..b97273b
--- /dev/null
+++ b/src/syscfg/lock-obj-pub.i686-unknown-linux-gnu.h
@@ -0,0 +1,23 @@
+## lock-obj-pub.i686-pc-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[24];
+ 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}}}
+##
+## Local Variables:
+## mode: c
+## buffer-read-only: t
+## End:
+##