aboutsummaryrefslogtreecommitdiffstats
path: root/src/vppinfra
diff options
context:
space:
mode:
Diffstat (limited to 'src/vppinfra')
-rw-r--r--src/vppinfra/elf_clib.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/vppinfra/elf_clib.c b/src/vppinfra/elf_clib.c
index 2bc05e1d8d4..ea63a160973 100644
--- a/src/vppinfra/elf_clib.c
+++ b/src/vppinfra/elf_clib.c
@@ -243,7 +243,13 @@ add_section (struct dl_phdr_info *info, size_t size, void *opaque)
error = clib_elf_parse_file (cem, name, addr);
if (error)
- clib_error_report (error);
+ {
+ /* Don't complain about 'linux-vdso.so.1' */
+ if (!is_main && name[0] != '/' && error->code == ENOENT)
+ clib_error_free (error);
+ else
+ clib_error_report (error);
+ }
if (is_main && name != cem->exec_path)
vec_free (name);