summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Ogness <john.ogness@linutronix.de>2018-01-22 02:29:29 +0000
committerJohn Ogness <john.ogness@linutronix.de>2018-02-20 14:58:34 +0100
commitfb4152c2d2a7371496b00f7a30a40619cbc2f45c (patch)
tree0fbe38a43352638842c5bca9bd6431f4c09bc070
parentdc7cc11e0ea445c0f8009c1927c71ca12dbb4994 (diff)
embedded-devel: add LD_TRACE_PRELINKING
Since PIE binaries are created by default now, it has become important to see where the binaries are mapped in memory. LD_TRACE_PRELINKING is the dynamic loader environment variable to see that. $ env LD_TRACE_PRELINKING=1 ./hello | grep '=>' Signed-off-by: John Ogness <john.ogness@linutronix.de>
-rw-r--r--application-devel/embedded-devel/pres_embedded-devel_en.tex2
1 files changed, 2 insertions, 0 deletions
diff --git a/application-devel/embedded-devel/pres_embedded-devel_en.tex b/application-devel/embedded-devel/pres_embedded-devel_en.tex
index b19afae..95333a9 100644
--- a/application-devel/embedded-devel/pres_embedded-devel_en.tex
+++ b/application-devel/embedded-devel/pres_embedded-devel_en.tex
@@ -363,6 +363,8 @@ LD\_DEBUG & debug output \\
\hline
LD\_TRACE\_LOADED\_OBJECTS & list shared libraries and their load addresses \\
\hline
+LD\_TRACE\_PRELINKING & list all load addresses \\
+\hline
\end{tabular}
\end{frame}