[packages/glib] - add missing patch to remove invalid asm qualifiers
baggins
baggins at pld-linux.org
Wed Oct 23 08:45:06 CEST 2019
commit fbda0f5da3c93e488fdc346a32f9ff8410899dac
Author: Jan Rękorajski <baggins at pld-linux.org>
Date: Wed Oct 23 08:43:41 2019 +0200
- add missing patch to remove invalid asm qualifiers
inline-asm.patch | 29 +++++++++++++++++++++++++++++
1 file changed, 29 insertions(+)
---
diff --git a/inline-asm.patch b/inline-asm.patch
new file mode 100644
index 0000000..47d03f0
--- /dev/null
+++ b/inline-asm.patch
@@ -0,0 +1,29 @@
+--- glib-1.2.10/glib.h~ 2019-10-23 08:41:07.000000000 +0200
++++ glib-1.2.10/glib.h 2019-10-23 08:41:33.443203482 +0200
+@@ -528,7 +528,7 @@
+ if (__builtin_constant_p (val)) \
+ __v = GUINT16_SWAP_LE_BE_CONSTANT (val); \
+ else \
+- __asm__ __const__ ("rorw $8, %w0" \
++ __asm__ ("rorw $8, %w0" \
+ : "=r" (__v) \
+ : "0" ((guint16) (val))); \
+ __v; }))
+@@ -541,7 +541,7 @@
+ if (__builtin_constant_p (val)) \
+ __v = GUINT32_SWAP_LE_BE_CONSTANT (val); \
+ else \
+- __asm__ __const__ ("rorw $8, %w0\n\t" \
++ __asm__ ("rorw $8, %w0\n\t" \
+ "rorl $16, %0\n\t" \
+ "rorw $8, %w0" \
+ : "=r" (__v) \
+@@ -554,7 +554,7 @@
+ if (__builtin_constant_p (val)) \
+ __v = GUINT32_SWAP_LE_BE_CONSTANT (val); \
+ else \
+- __asm__ __const__ ("bswap %0" \
++ __asm__ ("bswap %0" \
+ : "=r" (__v) \
+ : "0" ((guint32) (val))); \
+ __v; }))
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/glib.git/commitdiff/fbda0f5da3c93e488fdc346a32f9ff8410899dac
More information about the pld-cvs-commit
mailing list