Unexport OPENSSL_cpuid_setup and OPENSSL_ia32cap_P
authortb <tb@openbsd.org>
Sat, 31 Aug 2024 10:44:39 +0000 (10:44 +0000)
committertb <tb@openbsd.org>
Sat, 31 Aug 2024 10:44:39 +0000 (10:44 +0000)
This allows us in particular to get rid of the MD Symbols.list which
were needed on amd64 and i386 for llvm 16 a while back. OPENSSL_ia32cap_P
was never properly exported since the symbols were marked .hidden in the
asm.

ok beck jsing

lib/libcrypto/Makefile
lib/libcrypto/Symbols.list
lib/libcrypto/arch/amd64/Symbols.list [deleted file]
lib/libcrypto/arch/i386/Symbols.list [deleted file]

index 00afb18..bb3f415 100644 (file)
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile,v 1.208 2024/08/31 10:38:49 tb Exp $
+# $OpenBSD: Makefile,v 1.209 2024/08/31 10:44:39 tb Exp $
 
 LIB=   crypto
 LIBREBUILD=y
@@ -55,10 +55,6 @@ CFLAGS+= -I${LCRYPTO_SRC}/x509
 VERSION_SCRIPT=        Symbols.map
 SYMBOL_LIST=   ${.CURDIR}/Symbols.list
 
-.if (${MACHINE_CPU} == "amd64") || (${MACHINE_CPU} == "i386")
-SYMBOL_LIST+=  ${.CURDIR}/arch/${MACHINE_CPU}/Symbols.list
-.endif
-
 # crypto/
 SRCS+= cpt_err.c
 SRCS+= cryptlib.c
index 3eb64bb..5a7bcf0 100644 (file)
@@ -1653,7 +1653,6 @@ OPENSSL_cleanse
 OPENSSL_cleanup
 OPENSSL_config
 OPENSSL_cpu_caps
-OPENSSL_cpuid_setup
 OPENSSL_gmtime
 OPENSSL_init
 OPENSSL_init_crypto
diff --git a/lib/libcrypto/arch/amd64/Symbols.list b/lib/libcrypto/arch/amd64/Symbols.list
deleted file mode 100644 (file)
index 4a0bada..0000000
+++ /dev/null
@@ -1 +0,0 @@
-OPENSSL_ia32cap_P
diff --git a/lib/libcrypto/arch/i386/Symbols.list b/lib/libcrypto/arch/i386/Symbols.list
deleted file mode 100644 (file)
index 4a0bada..0000000
+++ /dev/null
@@ -1 +0,0 @@
-OPENSSL_ia32cap_P