2018-08-08 20:27:05 +00:00
|
|
|
--- processor-trace-1.5/libipt/CMakeLists.txt-orig 2016-04-07 08:52:14.000000000 +0200
|
|
|
|
+++ processor-trace-1.5/libipt/CMakeLists.txt 2016-08-17 23:12:23.241109244 +0200
|
|
|
|
@@ -81,7 +81,7 @@ endif (CMAKE_HOST_WIN32)
|
2016-08-17 21:48:10 +00:00
|
|
|
|
|
|
|
set(LIBIPT_FILES ${LIBIPT_FILES} ${LIBIPT_SECTION_FILES})
|
|
|
|
|
|
|
|
-add_library(libipt SHARED
|
|
|
|
+add_library(libipt STATIC
|
|
|
|
${LIBIPT_FILES}
|
|
|
|
)
|
|
|
|
|
2018-08-08 20:27:05 +00:00
|
|
|
--- processor-trace-1.5/libipt/src/posix/init.c-orig 2016-04-07 08:52:14.000000000 +0200
|
|
|
|
+++ processor-trace-1.5/libipt/src/posix/init.c 2016-08-23 09:04:11.540176668 +0200
|
2016-08-23 07:22:28 +00:00
|
|
|
@@ -29,7 +29,7 @@
|
|
|
|
#include "pt_ild.h"
|
|
|
|
|
|
|
|
|
|
|
|
-static void __attribute__((constructor)) init(void)
|
|
|
|
+void __libipt_init(void)
|
|
|
|
{
|
|
|
|
/* Initialize the Intel(R) Processor Trace instruction decoder. */
|
|
|
|
pt_ild_init();
|