From a8357a096cd9c307ea67fd2321a8ea2635535801 Mon Sep 17 00:00:00 2001 From: Mikael Urankar Date: Tue, 31 Mar 2020 07:48:00 +0000 Subject: [PATCH] security/libgcrypt: fix build on aarch64 with lld10 import upstream fix: https://github.com/gpg/libgcrypt/commit/09c27280cc09798d15369b3a143036b7ab5ddd69 PR: 244848 Submitted by: Charlie Li Approved by: cpm (maintainer timeout), manu (mentor, implicit) --- .../files/patch-cipher_camellia-aarch64.S | 31 +++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 security/libgcrypt/files/patch-cipher_camellia-aarch64.S diff --git a/security/libgcrypt/files/patch-cipher_camellia-aarch64.S b/security/libgcrypt/files/patch-cipher_camellia-aarch64.S new file mode 100644 index 000000000000..c5523a0f4c50 --- /dev/null +++ b/security/libgcrypt/files/patch-cipher_camellia-aarch64.S @@ -0,0 +1,31 @@ +https://github.com/gpg/libgcrypt/commit/09c27280cc09798d15369b3a143036b7ab5ddd69 + + +From 09c27280cc09798d15369b3a143036b7ab5ddd69 Mon Sep 17 00:00:00 2001 +From: Jussi Kivilinna +Date: Mon, 14 Jan 2019 22:14:24 +0200 +Subject: [PATCH] camellia-aarch64: do not export look-up table globally + +* cipher/camellia-aarch64.S (_gcry_camellia_arm_tables): Remove +'.globl' export. +-- + +Reported-by: Martin Husemann +GnuPG-bug-id: 4317 +Signed-off-by: Jussi Kivilinna +--- + cipher/camellia-aarch64.S | 1 - + 1 file changed, 1 deletion(-) + +diff --git a/cipher/camellia-aarch64.S b/cipher/camellia-aarch64.S +index b0e9a033..5c6ab020 100644 +--- cipher/camellia-aarch64.S.orig 2020-03-18 18:23:07.296876000 +0100 ++++ cipher/camellia-aarch64.S 2020-03-18 18:23:17.378524000 +0100 +@@ -284,7 +284,6 @@ _gcry_camellia_arm_decrypt_block: + .size _gcry_camellia_arm_decrypt_block,.-_gcry_camellia_arm_decrypt_block; + + /* Encryption/Decryption tables */ +-.globl _gcry_camellia_arm_tables + .type _gcry_camellia_arm_tables,@object; + .balign 32 + _gcry_camellia_arm_tables: