From fb4152c2d2a7371496b00f7a30a40619cbc2f45c Mon Sep 17 00:00:00 2001
From: John Ogness <john.ogness@linutronix.de>
Date: Mon, 22 Jan 2018 02:29:29 +0000
Subject: 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>
---
 application-devel/embedded-devel/pres_embedded-devel_en.tex | 2 ++
 1 file changed, 2 insertions(+)

(limited to 'application-devel/embedded-devel/pres_embedded-devel_en.tex')

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}
 
-- 
cgit v1.2.3

