From 4aa2a95b5939faea86b299734d6b132a71a08e64 Mon Sep 17 00:00:00 2001 From: rajdakin Date: Sun, 23 May 2021 20:29:01 +0200 Subject: [PATCH] Added two linking tests --- CMakeLists.txt | 38 ++++++++++++++++++++++++-------------- tests/ref15.txt | 1 + tests/ref16.txt | 1 + tests/test15 | Bin 0 -> 15376 bytes tests/test15.c | 32 ++++++++++++++++++++++++++++++++ tests/test15_dv1.so | Bin 0 -> 14860 bytes tests/test15_v1.so | Bin 0 -> 14796 bytes tests/test15_v2.so | Bin 0 -> 14888 bytes tests/test15_version.map | 8 ++++++++ tests/test16 | Bin 0 -> 15368 bytes tests/test16.c | 32 ++++++++++++++++++++++++++++++++ tests/test16_dv1.so | Bin 0 -> 14864 bytes tests/test16_v1.so | Bin 0 -> 14888 bytes tests/test16_v2.so | Bin 0 -> 14792 bytes tests/test16_version.map | 8 ++++++++ 15 files changed, 106 insertions(+), 14 deletions(-) create mode 100644 tests/ref15.txt create mode 100644 tests/ref16.txt create mode 100755 tests/test15 create mode 100644 tests/test15.c create mode 100755 tests/test15_dv1.so create mode 100755 tests/test15_v1.so create mode 100755 tests/test15_v2.so create mode 100644 tests/test15_version.map create mode 100755 tests/test16 create mode 100644 tests/test16.c create mode 100755 tests/test16_dv1.so create mode 100755 tests/test16_v1.so create mode 100755 tests/test16_v2.so create mode 100644 tests/test16_version.map diff --git a/CMakeLists.txt b/CMakeLists.txt index 09b01eb862..9f72641e03 100755 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -577,76 +577,86 @@ if(NOT TARGET uninstall) COMMAND ${CMAKE_COMMAND} -P ${CMAKE_CURRENT_BINARY_DIR}/cmake_uninstall.cmake) endif() -add_test(test01 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME bootSyscall COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test01 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref01.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test02 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME bootSyscallC COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test02 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref02.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test03 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME printf COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test03 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref03.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test04 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME args COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test04 -D TEST_ARGS2=yeah -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref04.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test05 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME maths1 COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test05 -D TEST_ARGS2=7 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref05.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test06 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME threadsStart COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test06 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref06.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test07 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME trig COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test07 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref07.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test08 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME pi COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test08 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref08.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test09 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME fork COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test09 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref09.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test10 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME cppThreads COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test10 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref10.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test11 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME tlsData COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test11 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref11.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test12 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME fpu COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test12 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref12.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test13 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME contexts COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test13 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref13.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) -add_test(test14 ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} +add_test(NAME conditionalThreads COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test14 -D TEST_OUTPUT=tmpfile.txt -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref14.txt -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) +add_test(NAME linkingIndirectNoversion COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} + -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test15 -D TEST_OUTPUT=tmpfile.txt + -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref15.txt + -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) + +add_test(NAME linkingIndirectVersion COMMAND ${CMAKE_COMMAND} -D TEST_PROGRAM=${CMAKE_BINARY_DIR}/${BOX86} + -D TEST_ARGS=${CMAKE_SOURCE_DIR}/tests/test16 -D TEST_OUTPUT=tmpfile.txt + -D TEST_REFERENCE=${CMAKE_SOURCE_DIR}/tests/ref16.txt + -P ${CMAKE_SOURCE_DIR}/runTest.cmake ) + file(GLOB extension_tests "${CMAKE_SOURCE_DIR}/tests/extensions/*.c") foreach(file ${extension_tests}) get_filename_component(testname "${file}" NAME_WE) diff --git a/tests/ref15.txt b/tests/ref15.txt new file mode 100644 index 0000000000..52326af632 --- /dev/null +++ b/tests/ref15.txt @@ -0,0 +1 @@ +2, 2/2 diff --git a/tests/ref16.txt b/tests/ref16.txt new file mode 100644 index 0000000000..52326af632 --- /dev/null +++ b/tests/ref16.txt @@ -0,0 +1 @@ +2, 2/2 diff --git a/tests/test15 b/tests/test15 new file mode 100755 index 0000000000000000000000000000000000000000..b54028ac1cdab9b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+#*v+lx47 z22A7J>PhJFhOX^VkGKG$-ewTzVyB^3k2v-CB-VO^h_kLNN8amDxmw1Zpvz?!Ydy|6 z8lZPXD}l33)O{GF^>}X{h2VAV3`Y-4oO0=Lj+(^{*gXT#9fwCyWMU^>g?GqWCgT81QPgZ!!!hgb&c@!6>Z%hDwK%n{rVy#^TM_5Udl jZAU;HqbyU0EH2(Pu8g$Bz}b~s?;9J0__LI#KdtvKIs)E4 literal 0 HcmV?d00001 diff --git a/tests/test15.c b/tests/test15.c new file mode 100644 index 0000000000..0788c0401d --- /dev/null +++ b/tests/test15.c @@ -0,0 +1,32 @@ +/* + * Compile with (on x86_64 archs): + * gcc -m32 -DV1 -shared -o test15_v1.so test15.c + * gcc -m32 -DV2 -shared -o test15_v2.so test15.c -Wl,--version-script=test15_version.map + * gcc -m32 -shared -o test15_dv1.so test15.c -L. -Wl,-rpath=. -l:test15_v1.so + * gcc -m32 -DMAIN -o test15 test15.c -L. -Wl,-rpath=. -l:test15_dv1.so -l:test15_v2.so + */ + +#if defined(MAIN) +int returnVersion(); +int acquireVersion1(); +int acquireVersion2(); +#include + +int main(int argc, char **argv) { printf("%d, %d/%d\n", returnVersion(), acquireVersion1(), acquireVersion2()); return 0; } + +#elif defined(V2) +int __attribute__((noinline)) getVersion() { asm(""); return 2; } +int returnVersion() { return getVersion(); } + +#elif defined(V1) +int __attribute__((noinline)) getVersion() { asm(""); return 1; } +int acquireVersion() { return getVersion(); } + +#else +int getVersion(); +int acquireVersion(); + +int acquireVersion1() { return getVersion(); } +int acquireVersion2() { return acquireVersion(); } + +#endif diff --git a/tests/test15_dv1.so b/tests/test15_dv1.so new file mode 100755 index 0000000000000000000000000000000000000000..4f252d4af299a87bef0dbfd22dd314f606caa26b GIT binary patch literal 14860 zcmeHOU2GIp6h6CKVU+@vR->S@lB!^EY%BQ31KXCiR0|d;7$s!f?oPX_`-8i)*cuYW zjX&5_8lxsgV@QlX8Dr4I2Q@+~2J}UZ4?d|6lB}_bC7>Z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H1zRd0#2J~RNFvT`7R|Uo$!-X7yuJSRS zYwHtW_Cc;V>@b+)Rm3>bM_?7lb%)GwMbsI)2dv^EC?u=zy5W*K?L;7s&q;DAEBXXe z694~D`S|=K&-Z;4s((Fx9LFmRk5^LnNyX)0Gauu)-jQE{u1LiVpg`fzb%AH$l#j90 z$*+UCIuci|FXgw0dk21E%s4*Rd3KNI^;Awu;t~h5e~cSL+!*2%7ATr%_XFrEPEKr< z|9={TK+H$}7_8#BzLX%2<%*R484B1w+vU1aHYtudNJC)ia7$v`TwkZ4PqCZ}-&cV+ p1IameoENrR2If7=HWk(3MBIC-F%&A5OJy+b=e0t7r78vD{sdAebuIt^ literal 0 HcmV?d00001 diff --git a/tests/test15_v2.so b/tests/test15_v2.so new file mode 100755 index 0000000000000000000000000000000000000000..b42d6d8725a39fbc9f5c410c7c374c310773bc7c GIT binary patch literal 14888 zcmeHOU2IfE6rSC!Qm~Xl>mR7Bq+l_4EfxHIaQjcCg_ahKA!OKgZ@a6zd&%xCX$?`a z5`P+EgBTw)hD0AsB;f%bOvD7J5KMdkLZb0OO_XGfBo;+O6kWgX&Yk79sm7R?_%NqA zd*;kJb7tn7dv`i}?|HVhvn><~2~80Z5!AY?gjfSPwN_cyh^QzRbz+HF?Af(HWnV;b z85OkiqCv7u9zg~9x}ZG@#ph!vlBc!57Zr~xu0q=y@byp`FAPx*dpYdn0(3I%jM06; zP3YK^t58R#jod@~EX4L4@+R5?{d*Ha|7;5ZgwQW|4w!S|c!I<@^rJtC{$%>Hp0cVg zTt-P>#(96w`S+IRUYx)FtMjiyokkp!rYH(+T7g^!W=u^{6gXE+Q4}_VI~EEt4|0*H z5PKjsEfklE+oALZ>_W<+jFXjlH=c8)6tbhQOD61`J(SA3cCN3hIqhWazIcDyR<_wK za$qDb2UFR2I`yoy(`3tjO8!a4xI0bgF;A$~)Hm!nO16>a}ub160x3(X^#O zv_mw@25Yr-pBgc7B;x!F`F~&ic(SqvwYPysXa*4zdhGkGThK<*^Jc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ZcfRhE)8XetzupS6Hq+f=@20u!>_+8S&zo)ByT& zTt>ve;%;16{rSAGa3y7Mf#A~p$Fvll+{?mXe%E`9vfgX--p76M7wkdw;~qd>HH+VJ z)bX2`e%u$y&!NmXD0-5&=sjTeK|k&pWbU7u=u2W+8uvo_aW5gWy&fOy$xUFrhjNc0 zKZrW@U8E#b(F5il%QoD5$WfGo%{VY{Ercfe zk&c74ANMda-8HdHUk9xHVyGnR-_hyIGMV{L+K=D4+=1xLC?p0-f z;dcafVoX2o5zGrLunm|*NnG+^j*ouK-iw&wjZ_Rn72Y4ANOJ%P@OHzeRqTf;P?GTKKkF_{9*M|EKca;TWpG fyhholrUdfm4(ZNNsf$?lX@1qXvA)oa0)Br2H1L!F literal 0 HcmV?d00001 diff --git a/tests/test15_version.map b/tests/test15_version.map new file mode 100644 index 0000000000..8232d455dd --- /dev/null +++ b/tests/test15_version.map @@ -0,0 +1,8 @@ +LIBV2 { + global: + getVersion; + returnVersion; + + local: + *; +}; diff --git a/tests/test16 b/tests/test16 new file mode 100755 index 0000000000000000000000000000000000000000..154b0003391034b2c5d717bb893fb4e7d780187f GIT binary patch literal 15368 zcmeHOU2I%O6`uV`vNY~y6HJpPrd+5UIpAz;%MGOoA{(#mggS}y=Ojv-o6YXEcgg;B z_inIJq$X_B5?L;$1R3Th%bilHtE1yR$>_s!gK z)=oem5KnicvuD0JXU@!=nYnjn@66L(z1=>aPw3zm0YNl277TTOpZKJbbO=K%7R}$KA<_qdNt7X35*UmJL!>jvK%!hkTsgQv9Z1jk zg&-}cl^XzOAqN#Em5!3)AP2XlqIS+)}; z+cZVVvMZ&0zf~${3VD%8K2^z-EEl%T!|mGCv36R5f0Ojvoo0KqRbbpG&*@(ueCZPhkjnmHh-5PNQ#zucnE6F8v=EN3 zJ0A=!g5x9PaDF{G8oPoV9ne62ua0x=c+B&F=K;?Ho(DV+cpmUP;CaCFfad|v1OJT& zZY_D}z1`KR(B!XS<>dISbwZ3(XB@{lb>8+nm#VLZ4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FRjc>HdLjNOCF)1( F{R1|d*P;Lb literal 0 HcmV?d00001 diff --git a/tests/test16.c b/tests/test16.c new file mode 100644 index 0000000000..59b255c30c --- /dev/null +++ b/tests/test16.c @@ -0,0 +1,32 @@ +/* + * Compile with (on x86_64 archs): + * gcc -m32 -DV1 -shared -o test16_v1.so test16.c -Wl,--version-script=test16_version.map + * gcc -m32 -DV2 -shared -o test16_v2.so test16.c + * gcc -m32 -shared -o test16_dv1.so test16.c -L. -Wl,-rpath=. -l:test16_v1.so + * gcc -m32 -DMAIN -o test16 test16.c -L. -Wl,-rpath=. -l:test16_dv1.so -l:test16_v2.so + */ + +#if defined(MAIN) +int returnVersion(); +int acquireVersion1(); +int acquireVersion2(); +#include + +int main(int argc, char **argv) { printf("%d, %d/%d\n", returnVersion(), acquireVersion1(), acquireVersion2()); return 0; } + +#elif defined(V1) +int __attribute__((noinline)) getVersion() { asm(""); return 1; } +int acquireVersion() { return getVersion(); } + +#elif defined(V2) +int __attribute__((noinline)) getVersion() { asm(""); return 2; } +int returnVersion() { return getVersion(); } + +#else +int getVersion(); +int returnVersion(); + +int acquireVersion1() { return getVersion(); } +int acquireVersion2() { return returnVersion(); } + +#endif diff --git a/tests/test16_dv1.so b/tests/test16_dv1.so new file mode 100755 index 0000000000000000000000000000000000000000..c89bc2e7674b853abab58ad72403e33d2fb591bd GIT binary patch literal 14864 zcmeHOU2IfE6h6CKWt9R&s!>q6l8RvJwXKMM4{lpps1__xFiOmIyL;QN?ho$X#nzB0 zZv1Vk)o7y87!!jp8XwSTjG7=-gYiXu(fFV~XtKs8VnjofxPITAJLPUIL?4VVbDDF{ zoH=LC%zQI%@|{tdZq%o^MyV>gmNq$PH9c z&W{GkGpO)SKNfM&EV6aGF}uS4tpGSauqt6cE%X^-b?G) zlk(?;G(`#i+*Z1OhRL-qR|Lj5cY0fa=(0JA?V69>z3dl0oz zXZeR7Yh6S}vX0muO%@WpT7g^zW-Lt>60TMt&jQ~U(iw|5XtI#l0q$EW!iv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I19uN?TXzhWtFWjY}3SAouWJ}wq;0Y3#@ zllGfL2G=PcFRm>(Y^QDXWt#jfnEz|hk84!JN&NQ1PK@ctwSo8lsw@L0Q4*IlnC+t< z?_nK*pT+`Nv-Q4)wD$8SKwI#?9-TmpN9O;4+K+2gBm9`JNvGdK2J2_NT$`Ha_%R0Q z5SVG0eWD-dsV3Sq`(qIpTHu#JaE=|vh4nUpIY(Kirt}r~jYU_6Or7L%8}?g=7v>XP HDCGASC2E_) literal 0 HcmV?d00001 diff --git a/tests/test16_v1.so b/tests/test16_v1.so new file mode 100755 index 0000000000000000000000000000000000000000..2903f1cee4aab9e94ee88f96671fed2a0486d7ba GIT binary patch literal 14888 zcmeHOeP|p-6rasSdur0A?fKQJJww!1>Ncshe*NJkY0^fMekE;@Ql^)?P44vWw%%<@ zBBItNILDCUcKzFqrM_Cyp{ zQ$agF8YIi)K~#{>3ESgP0^W}zc~bi&sJKmW9oojg=R#$?Du^iTQP|04=w#X%W9|1| zTF0hbj5;!HuctlKzds@L&$bXi2>pU*fZ4{M7i5^|$8oX^{mJxWJ!N!Z zeVmdpNcF`>Yv0)U+3W8<`&*Z)Is3^mX^NxJt`*37Fk@4K5^%u==5hxo>T1UYR$O?rzhE)bChj* zi%bnBWnZ?C%w_L&M8D&0bc&^{TM)_AJpsJod#$dY)JVYmu!ru~4eZE%EM$$O2oeN##T3V1j zkCC7Bz3{>73ZgoYH3_9}0!CF>@Nv|iiw;guVv$c$Vu4Rna={H51PlTO0fT@+z#w1{ zFbEg~3<3s${~-cD&${AN_wcc3xfO%kG4?aIy(7aXE0xO5{a#h&=&!)-cvLdiJmU4JS3o8pGmss} zE0y~oyCGkI)X!0^d)Eu=zNj_7rn>qu?0Ms`@!9KlKUFIJUV3Jo4qVV#pw15HJWB z1PlTO0fT@+z#w1{FbEg~3cFkTZDd!Tb)`yBWJF!#WCP1xTEBeaM?nWI!O7n1wp zi@+p2Kz8>b&L5Bv0#A?K6DZ)hvdghzOYFW0{dY(|CL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}O!ODZk{oB0^WwT}EcbVVv|7zGM{t_i#cr+kd1 zPJR>2m65n|Z7ID&+&l0SW5)5F&U<^jtEX~O5|;>={bSrD;wBNNut3ptyB|PTadKiS z-2bC72*iBkPrxdUYfAy*SguIvpQC{7vt6z!#k1m=gER`J4!0!6Ep~MZ`V`B#aD8Qn p3m`e?j`PBHi^2SivQ0&`xDNN8Y7B)+>a+@BQ%bUOe5 literal 0 HcmV?d00001 diff --git a/tests/test16_version.map b/tests/test16_version.map new file mode 100644 index 0000000000..1ed5900320 --- /dev/null +++ b/tests/test16_version.map @@ -0,0 +1,8 @@ +LIBV1 { + global: + getVersion; + acquireVersion; + + local: + *; +};