From ef9c745e4210c4003ddeb42f457eb1247cdce1e6 Mon Sep 17 00:00:00 2001 From: Norman Feske Date: Thu, 4 Jun 2015 14:42:47 +0200 Subject: [PATCH] ldso: add memcpy and memset to symbol.map On ARM, the compiler generates calls to memcpy and memset. Most dynamically linked programs use the libc, which provides these functions. However, if a dynamically linked program does not use the libc (e.g., noux/minimal or the new version of cli_monitor), those symbols remain unresolved. By adding them to ldso's symbol.map, the dynamic linker will resolve them with the functions of the cxx library, which is part of the dynamic linker. Issue #1561 --- repos/base/src/lib/ldso/symbol.map | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/repos/base/src/lib/ldso/symbol.map b/repos/base/src/lib/ldso/symbol.map index 76f311809e..44294fc9d8 100644 --- a/repos/base/src/lib/ldso/symbol.map +++ b/repos/base/src/lib/ldso/symbol.map @@ -23,6 +23,13 @@ }; __dynamic_cast; + /* + * Symbols for calls generated by the compiler (i.e., on ARM), and + * provided by the C++ runtime. + */ + memcpy; + memset; + /* * Debugging */