]> git.ipfire.org Git - thirdparty/elfutils.git/commitdiff
tests: Remove tgkill define from backtrace.c
authorMark Wielaard <mark@klomp.org>
Mon, 4 Mar 2019 19:10:35 +0000 (20:10 +0100)
committerMark Wielaard <mark@klomp.org>
Mon, 4 Mar 2019 19:10:37 +0000 (20:10 +0100)
tgkill is never used in the test and it might conflict with newer
glibc which might define tgkill themselves (just like gettid):
https://sourceware.org/bugzilla/show_bug.cgi?id=6399

Signed-off-by: Mark Wielaard <mark@klomp.org>
tests/ChangeLog
tests/backtrace.c

index b76c44d926fd9ac2a4cfb86ffcd8fea9d5a19d62..71aa178d3e341a027d5c1513075eee0b23b74435 100644 (file)
@@ -1,3 +1,7 @@
+2019-03-04  Mark Wielaard  <mark@klomp.org>
+
+       * backtrace.c (tgkill): Remove define.
+
 2019-01-24  Mark Wielaard  <mark@klomp.org>
 
        * Makefile.am (system_elf_libelf_test_CPPFLAGS): Guard by
index 05e8ef82e7d5ba18de65934ee7c92c7c069b4db1..ecf55830646234a2699d9b5e973ade0fa37b7d25 100644 (file)
@@ -296,7 +296,6 @@ prepare_thread (pid_t pid2 __attribute__ ((unused)),
 
 #include <asm/unistd.h>
 #include <unistd.h>
-#define tgkill(pid, tid, sig) syscall (__NR_tgkill, (pid), (tid), (sig))
 
 static void
 report_pid (Dwfl *dwfl, pid_t pid)