openssl: Fix build with gold linker

There was a missing version script for one of
the apps that was being flagged by gold. So we
add appropriate openssl.ld for engines/ccgost

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Acked-by: Roman Khimov <khimov@altell.ru>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
This commit is contained in:
Khem Raj
2011-10-06 11:19:05 +00:00
committed by Koen Kooi
parent 2f04e069cb
commit d7c12fd074
2 changed files with 27 additions and 9 deletions
@@ -1,7 +1,7 @@
Index: openssl-1.0.0c/Configure Index: openssl-1.0.0e/Configure
=================================================================== ===================================================================
--- openssl-1.0.0c.orig/Configure 2011-08-12 23:02:54.436331036 -0700 --- openssl-1.0.0e.orig/Configure 2011-10-04 22:49:47.599379260 -0700
+++ openssl-1.0.0c/Configure 2011-08-12 23:03:39.626397324 -0700 +++ openssl-1.0.0e/Configure 2011-10-04 22:49:53.263407376 -0700
@@ -1486,6 +1486,8 @@ @@ -1486,6 +1486,8 @@
} }
} }
@@ -11,10 +11,10 @@ Index: openssl-1.0.0c/Configure
open(IN,'<Makefile.org') || die "unable to read Makefile.org:$!\n"; open(IN,'<Makefile.org') || die "unable to read Makefile.org:$!\n";
unlink("$Makefile.new") || die "unable to remove old $Makefile.new:$!\n" if -e "$Makefile.new"; unlink("$Makefile.new") || die "unable to remove old $Makefile.new:$!\n" if -e "$Makefile.new";
open(OUT,">$Makefile.new") || die "unable to create $Makefile.new:$!\n"; open(OUT,">$Makefile.new") || die "unable to create $Makefile.new:$!\n";
Index: openssl-1.0.0c/openssl.ld Index: openssl-1.0.0e/openssl.ld
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ openssl-1.0.0c/openssl.ld 2011-08-12 23:03:39.626397324 -0700 +++ openssl-1.0.0e/openssl.ld 2011-10-04 22:49:53.295407572 -0700
@@ -0,0 +1,4461 @@ @@ -0,0 +1,4461 @@
+OPENSSL_1.0.0 { +OPENSSL_1.0.0 {
+ global: + global:
@@ -4477,14 +4477,32 @@ Index: openssl-1.0.0c/openssl.ld
+ *; + *;
+}; +};
+ +
Index: openssl-1.0.0c/engines/openssl.ld Index: openssl-1.0.0e/engines/openssl.ld
=================================================================== ===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000 --- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ openssl-1.0.0c/engines/openssl.ld 2011-08-12 23:03:39.626397324 -0700 +++ openssl-1.0.0e/engines/openssl.ld 2011-10-04 22:49:53.295407572 -0700
@@ -0,0 +1,7 @@ @@ -0,0 +1,10 @@
+OPENSSL_1.0.0 { +OPENSSL_1.0.0 {
+ global: + global:
+ bind_engine; + bind_engine;
+ v_check;
+ OPENSSL_init;
+ OPENSSL_finish;
+ local:
+ *;
+};
+
Index: openssl-1.0.0e/engines/ccgost/openssl.ld
===================================================================
--- /dev/null 1970-01-01 00:00:00.000000000 +0000
+++ openssl-1.0.0e/engines/ccgost/openssl.ld 2011-10-04 22:49:53.339407745 -0700
@@ -0,0 +1,10 @@
+OPENSSL_1.0.0 {
+ global:
+ bind_engine;
+ v_check;
+ OPENSSL_init;
+ OPENSSL_finish;
+ local: + local:
+ *; + *;
+}; +};
@@ -6,7 +6,7 @@ DEPENDS += "ocf-linux"
CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS" CFLAG += "-DHAVE_CRYPTODEV -DUSE_CRYPTODEV_DIGESTS"
PR = "${INC_PR}.2" PR = "${INC_PR}.3"
LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8" LIC_FILES_CHKSUM = "file://LICENSE;md5=f9a8f968107345e0b75aa8c2ecaa7ec8"