summaryrefslogtreecommitdiffstats
path: root/libdwfl/dwfl_module_getdwarf.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2014-05-03 00:23:06 +0200
committerMark Wielaard <mjw@redhat.com>2014-05-03 00:23:06 +0200
commitbb096d0412f2cb71e7cac628fc7e251a47c1a56e (patch)
treecb64ad41379872ef0416ac5ce591f2ff88b16118 /libdwfl/dwfl_module_getdwarf.c
parentdf85bf99021119fcbb2ced66dd69f1cceafb180c (diff)
downloadandroid_external_elfutils-bb096d0412f2cb71e7cac628fc7e251a47c1a56e.tar.gz
android_external_elfutils-bb096d0412f2cb71e7cac628fc7e251a47c1a56e.tar.bz2
android_external_elfutils-bb096d0412f2cb71e7cac628fc7e251a47c1a56e.zip
Remove --enable-dwz. dwz alt debug is no longer experimental.
Signed-off-by: Mark Wielaard <mjw@redhat.com>
Diffstat (limited to 'libdwfl/dwfl_module_getdwarf.c')
-rw-r--r--libdwfl/dwfl_module_getdwarf.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/libdwfl/dwfl_module_getdwarf.c b/libdwfl/dwfl_module_getdwarf.c
index 293e8e75..72599841 100644
--- a/libdwfl/dwfl_module_getdwarf.c
+++ b/libdwfl/dwfl_module_getdwarf.c
@@ -508,7 +508,6 @@ find_debuginfo (Dwfl_Module *mod)
return result;
}
-#ifdef ENABLE_DWZ
/* Try to find the alternative debug link for the given DWARF and set
it if found. Only called when mod->dw is already setup but still
might need an alternative (dwz multi) debug file. filename is either
@@ -558,7 +557,6 @@ find_debug_altlink (Dwfl_Module *mod, const char *filename)
free (altfile); /* See above, we don't really need it. */
}
}
-#endif /* ENABLE_DWZ */
/* Try to find a symbol table in FILE.
Returns DWFL_E_NOERROR if a proper one is found.
@@ -1209,12 +1207,10 @@ find_dw (Dwfl_Module *mod)
mod->debug.elf = mod->main.elf;
mod->debug.address_sync = mod->main.address_sync;
-#ifdef ENABLE_DWZ
/* The Dwarf might need an alt debug file, find that now after
everything about the debug file has been setup (the
find_debuginfo callback might need it). */
find_debug_altlink (mod, mod->main.name);
-#endif /* ENABLE_DWZ */
return;
case DWFL_E_NO_DWARF:
@@ -1232,12 +1228,10 @@ find_dw (Dwfl_Module *mod)
mod->dwerr = load_dw (mod, &mod->debug);
if (mod->dwerr == DWFL_E_NOERROR)
{
-#ifdef ENABLE_DWZ
/* The Dwarf might need an alt debug file, find that now after
everything about the debug file has been setup (the
find_debuginfo callback might need it). */
find_debug_altlink (mod, mod->debug.name);
-#endif /* ENABLE_DWZ */
return;
}