Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/gnutls/gnutls-3.6.9-nonPIC-assembly.patch
diff options
context:
space:
mode:
Diffstat (limited to 'core/gnutls/gnutls-3.6.9-nonPIC-assembly.patch')
-rw-r--r--core/gnutls/gnutls-3.6.9-nonPIC-assembly.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/core/gnutls/gnutls-3.6.9-nonPIC-assembly.patch b/core/gnutls/gnutls-3.6.9-nonPIC-assembly.patch
index e55aeec9..b18f52a5 100644
--- a/core/gnutls/gnutls-3.6.9-nonPIC-assembly.patch
+++ b/core/gnutls/gnutls-3.6.9-nonPIC-assembly.patch
@@ -21,3 +21,15 @@ diff -rauN gnutls-3.6.9/cfg.mk gnutls-3.6.9-nonPIC-assembly-patch/cfg.mk
cat $<.license $@.tmp > $@ && rm -f $@.tmp
echo "" >> $@
echo ".section .note.GNU-stack,\"\",%progbits" >> $@
+diff -rauN gnutls-3.6.9/lib/accelerated/x86/elf/aesni-x86.s gnutls-3.6.9-nonPIC-assembly-patch/lib/accelerated/x86/elf/aesni-x86.s
+--- gnutls-3.6.9/lib/accelerated/x86/elf/aesni-x86.s 2019-06-28 21:06:07.000000000 +0200
++++ gnutls-3.6.9-nonPIC-assembly-patch/lib/accelerated/x86/elf/aesni-x86.s 2019-08-18 17:36:49.498546884 +0200
+@@ -2892,7 +2892,7 @@
+ .L112pic:
+ popl %ebx
+ leal .Lkey_const-.L112pic(%ebx),%ebx
+- leal _gnutls_x86_cpuid_s,%ebp
++ leal _gnutls_x86_cpuid_s-.Lkey_const(%ebx),%ebp
+ movups (%eax),%xmm0
+ xorps %xmm4,%xmm4
+ movl 4(%ebp),%ebp