X-Git-Url: https://ruderich.org/simon/gitweb/?p=blhc%2Fblhc.git;a=blobdiff_plain;f=t%2Flogs%2Fbad-library;h=042c58da3748729ab16d097bf5b217fb714a0a73;hp=32765c30bdc5d9393f733e1fea4f1b519588bf96;hb=dc76b3697c03b4f9f9a2ab3c354207a3f6db15bf;hpb=348195c4876a52caed92b7f3578510a99c905aaa diff --git a/t/logs/bad-library b/t/logs/bad-library index 32765c3..042c58d 100644 --- a/t/logs/bad-library +++ b/t/logs/bad-library @@ -1,3 +1,5 @@ gcc -D_FORTIFY_SOURCE=2 -g -O2 --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security test.c -fPIC -DPIC -o libtest.o gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,relro -Wl,--as-needed -o libtest.so gcc -shared -fPIC -DPIC libtest.o -lpthread -O2 -Wl,--as-needed -o libtest.so + +gcc -shared -fPIC test.o -Wl,-z -Wl,relro -o .libs/libtest.so.1.0.0