From 1695510b4a968a47607563440d8a605f6b2d8ba8 Mon Sep 17 00:00:00 2001 From: Christian Hergert Date: Sun, 26 Feb 2017 00:28:37 -0800 Subject: [PATCH] elf: add comment about supporting /newroot/ --- lib/sp-elf-symbol-resolver.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/sp-elf-symbol-resolver.c b/lib/sp-elf-symbol-resolver.c index 9002606e..db1d20e3 100644 --- a/lib/sp-elf-symbol-resolver.c +++ b/lib/sp-elf-symbol-resolver.c @@ -140,6 +140,10 @@ sp_elf_symbol_resolver_get_bin_file (SpElfSymbolResolver *self, /* * If we are in a new mount namespace, then rely on the sp_symbol_dirs * to find us a locate to resolve the file where the CRC will match. + * + * TODO: We need to translate the path here so that we can locate the + * binary behind it (which then has links to the debug file in + * the section header). */ if (g_str_has_prefix (filename, "/newroot/")) alternate += strlen ("/newroot");