satyr/0001-normalization-actualize-list-of-functions.patch
Matej Habrnal b9f124993b Fixes
- actualize list of normalized functions (#1509086)
- elfutils: Add missing stubs from earlier commit

Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
2017-12-04 12:49:09 +01:00

31 lines
1.2 KiB
Diff

From 6383faff4959c751f71f107901897ff654e82615 Mon Sep 17 00:00:00 2001
From: Matej Habrnal <mhabrnal@redhat.com>
Date: Fri, 3 Nov 2017 14:38:13 +0100
Subject: [PATCH] normalization: actualize list of functions
Related to #1509086
Signed-off-by: Matej Habrnal <mhabrnal@redhat.com>
---
lib/normalize.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/lib/normalize.c b/lib/normalize.c
index 9d7574e..4e9ebb5 100644
--- a/lib/normalize.c
+++ b/lib/normalize.c
@@ -145,7 +145,9 @@ is_removable_glib(const char *function_name,
call_match(function_name, source_file, "g_print", "libglib", NULL) ||
call_match(function_name, source_file, "invalid_closure_notify", "gsignal.c", "libgobject", NULL) ||
call_match(function_name, source_file, "smc_tree_abort", "gslice.c", "libglib", NULL) ||
- call_match(function_name, source_file, "g_thread_abort", "libglib", NULL);
+ call_match(function_name, source_file, "g_thread_abort", "libglib", NULL) ||
+ call_match(function_name, source_file, "_g_log_abort", "gmessages.c", "libglib", NULL) ||
+ call_match(function_name, source_file, "g_log_default_handler", "gmessages.c", "libglib", NULL);
}
static bool
--
2.13.6