mirror of
https://git.freebsd.org/ports.git
synced 2025-05-13 15:51:51 -04:00
security/libgcrypt: fix build on aarch64 with lld10
import upstream fix:
09c27280cc
PR: 244848
Submitted by: Charlie Li
Approved by: cpm (maintainer timeout), manu (mentor, implicit)
This commit is contained in:
parent
d3d451a22f
commit
a8357a096c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=529954
1 changed files with 31 additions and 0 deletions
31
security/libgcrypt/files/patch-cipher_camellia-aarch64.S
Normal file
31
security/libgcrypt/files/patch-cipher_camellia-aarch64.S
Normal file
|
@ -0,0 +1,31 @@
|
|||
https://github.com/gpg/libgcrypt/commit/09c27280cc09798d15369b3a143036b7ab5ddd69
|
||||
|
||||
|
||||
From 09c27280cc09798d15369b3a143036b7ab5ddd69 Mon Sep 17 00:00:00 2001
|
||||
From: Jussi Kivilinna <jussi.kivilinna@iki.fi>
|
||||
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 <martin@NetBSD.org>
|
||||
GnuPG-bug-id: 4317
|
||||
Signed-off-by: Jussi Kivilinna <jussi.kivilinna@iki.fi>
|
||||
---
|
||||
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:
|
Loading…
Add table
Reference in a new issue