summaryrefslogtreecommitdiffstats
path: root/linkers
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2015-03-29 18:06:00 +1100
committerChris Johns <chrisj@rtems.org>2015-03-29 18:06:00 +1100
commitb24951645db3105213ab3f9ce6ae52c84425a4fa (patch)
tree6fb77c4c7f994b5688ad95cf406a068f805222a1 /linkers
parenttrace-linker: Update comments. (diff)
downloadrtems-tools-b24951645db3105213ab3f9ce6ae52c84425a4fa.tar.bz2
rtemstoolkit: Add support to return the system path split as paths.
Seacch the path for the program name if not found and set it as an absolute path. This allow the prefix to be found.
Diffstat (limited to 'linkers')
-rw-r--r--linkers/rtems-tld.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/linkers/rtems-tld.cpp b/linkers/rtems-tld.cpp
index 0a25ca8..714c9ee 100644
--- a/linkers/rtems-tld.cpp
+++ b/linkers/rtems-tld.cpp
@@ -1497,7 +1497,7 @@ namespace rld
const std::string& trace,
const std::string& path)
{
- std::string sp = get_prefix ();
+ std::string sp = rld::get_prefix ();
rld::path::path_join (sp, "share", sp);
rld::path::path_join (sp, "rtems", sp);