|
|
b1dca6 |
commit ca52c56abf50b89a95dc2a4a5504c0d7d3862961
|
|
|
b1dca6 |
Author: Florian Weimer <fweimer@redhat.com>
|
|
|
b1dca6 |
Date: Thu Oct 8 15:33:00 2020 +0200
|
|
|
b1dca6 |
|
|
|
b1dca6 |
elf: Use the term "program interpreter" in the ld.so help message
|
|
|
b1dca6 |
|
|
|
b1dca6 |
This is the term that the ELF standard itself uses.
|
|
|
b1dca6 |
|
|
|
b1dca6 |
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
|
|
|
b1dca6 |
|
|
|
b1dca6 |
diff --git a/elf/dl-usage.c b/elf/dl-usage.c
|
|
|
b1dca6 |
index f3c5ac76d37f9c03..8c24c13770500df9 100644
|
|
|
b1dca6 |
--- a/elf/dl-usage.c
|
|
|
b1dca6 |
+++ b/elf/dl-usage.c
|
|
|
b1dca6 |
@@ -51,17 +51,17 @@ _dl_help (const char *argv0, struct dl_main_state *state)
|
|
|
b1dca6 |
{
|
|
|
b1dca6 |
_dl_printf ("\
|
|
|
b1dca6 |
Usage: %s [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]\n\
|
|
|
b1dca6 |
-You have invoked `ld.so', the helper program for shared library executables.\n\
|
|
|
b1dca6 |
-This program usually lives in the file `/lib/ld.so', and special directives\n\
|
|
|
b1dca6 |
-in executable files using ELF shared libraries tell the system's program\n\
|
|
|
b1dca6 |
-loader to load the helper program from this file. This helper program loads\n\
|
|
|
b1dca6 |
-the shared libraries needed by the program executable, prepares the program\n\
|
|
|
b1dca6 |
-to run, and runs it. You may invoke this helper program directly from the\n\
|
|
|
b1dca6 |
-command line to load and run an ELF executable file; this is like executing\n\
|
|
|
b1dca6 |
-that file itself, but always uses this helper program from the file you\n\
|
|
|
b1dca6 |
-specified, instead of the helper program file specified in the executable\n\
|
|
|
b1dca6 |
-file you run. This is mostly of use for maintainers to test new versions\n\
|
|
|
b1dca6 |
-of this helper program; chances are you did not intend to run this program.\n\
|
|
|
b1dca6 |
+You have invoked 'ld.so', the program interpreter for dynamically-linked\n\
|
|
|
b1dca6 |
+ELF programs. Usually, the program interpreter is invoked automatically\n\
|
|
|
b1dca6 |
+when a dynamically-linked executable is started.\n\
|
|
|
b1dca6 |
+\n\
|
|
|
b1dca6 |
+You may invoke the program interpreter program directly from the command\n\
|
|
|
b1dca6 |
+line to load and run an ELF executable file; this is like executing that\n\
|
|
|
b1dca6 |
+file itself, but always uses the program interpreter you invoked,\n\
|
|
|
b1dca6 |
+instead of the program interpreter specified in the executable file you\n\
|
|
|
b1dca6 |
+run. Invoking the program interpreter directly provides access to\n\
|
|
|
b1dca6 |
+additional diagnostics, and changing the dynamic linker behavior without\n\
|
|
|
b1dca6 |
+setting environment variables (which would be inherited by subprocesses).\n\
|
|
|
b1dca6 |
\n\
|
|
|
b1dca6 |
--list list all dependencies and how they are resolved\n\
|
|
|
b1dca6 |
--verify verify that given object really is a dynamically linked\n\
|