summaryrefslogtreecommitdiff
path: root/src/objdump.c
diff options
context:
space:
mode:
authorMax Filippov <jcmvbkbc@gmail.com>2015-05-04 02:25:40 +0300
committerMark Wielaard <mjw@redhat.com>2015-05-04 16:05:04 +0200
commitb88bece422ec249215f3ab5e848c4991bef68c40 (patch)
treee9484c1a78ab74227f37f682c6035f2bc39f94dd /src/objdump.c
parent1ab3c2befeedf5bd891cfbe17cfef79c06e5079a (diff)
downloadelfutils-b88bece422ec249215f3ab5e848c4991bef68c40.tar.gz
Drop mtrace calls.
mtrace is a GNU extension not supported by uClibc and it's believed to not be really used. Drop mtrace() calls and #include <mcheck.h>. Signed-off-by: Max Filippov <jcmvbkbc@gmail.com>
Diffstat (limited to 'src/objdump.c')
-rw-r--r--src/objdump.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/objdump.c b/src/objdump.c
index b689024b..0aa41e89 100644
--- a/src/objdump.c
+++ b/src/objdump.c
@@ -26,7 +26,6 @@
#include <inttypes.h>
#include <libintl.h>
#include <locale.h>
-#include <mcheck.h>
#include <stdbool.h>
#include <stdio.h>
#include <stdio_ext.h>
@@ -131,9 +130,6 @@ static bool print_disasm;
int
main (int argc, char *argv[])
{
- /* Make memory leak detection possible. */
- mtrace ();
-
/* We use no threads here which can interfere with handling a stream. */
(void) __fsetlocking (stdin, FSETLOCKING_BYCALLER);
(void) __fsetlocking (stdout, FSETLOCKING_BYCALLER);