From b990733af9d6a07c2130daeb5fd39c75f6804441 Mon Sep 17 00:00:00 2001 From: Manuel Traut Date: Wed, 9 Jan 2019 16:42:49 +0100 Subject: add examples for dynamic linking / loading one example by doing it manually with an ugly Makefile, another one by using autotools. Signed-off-by: Manuel Traut --- schulung_tools/linking/hello/objdump.txt | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 schulung_tools/linking/hello/objdump.txt (limited to 'schulung_tools/linking/hello/objdump.txt') diff --git a/schulung_tools/linking/hello/objdump.txt b/schulung_tools/linking/hello/objdump.txt new file mode 100644 index 0000000..9c77720 --- /dev/null +++ b/schulung_tools/linking/hello/objdump.txt @@ -0,0 +1,11 @@ +# identify dependencies +objdump -x some_elf_file | grep NEEDED + +# identify SONAME used by dynamic loader +objdump -x some_lib | grep SONAME + +# identify runtime library search paths +objdump -x some_elf_file | grep PATH + +# identify path of dynamic loader (search for "interp") +objdump -s some_elf_file | less -- cgit v1.2.3