handlers_lib="$LIBDIR/da_probe_tizen.so"
fixup_handler="__dl_fixup_wrapper"
reloc_handler="__dl_reloc_wrapper"
+proc_features="process_features"
linker_info_header="$INCLUDEDIR/linker_info.h"
libpthread_pkg_name="glibc"
libpthread_init_func="__pthread_initialize_minimal"
echo -e "/bin/echo \"$addr\" > /sys/kernel/debug/swap/got_patcher/handler/reloc_handler_off" >> $filename
}
+function print_proc_features_off()
+{
+ filename=$1
+
+ addr=$(parse_elf -f $handlers_lib --addr_format=swap --syms | grep $proc_features | awk '{print "0x" $1}')
+ echo -e "/bin/echo \"$addr\" > /sys/kernel/debug/swap/got_patcher/handler/proc_features_off" >> $filename
+}
+
function print_libpthread()
{
filename=$1
print_probe_lib $output
print_dl_fixup_handler_off $output
print_dl_reloc_handler_off $output
+print_proc_features_off $output
print_libpthread $output
print_enable $output