mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 14:00:30 +00:00
elf: Print the full name of the dynamic loader in the ld.so help message
This requires defining a macro for the full path, matching the -Wl,--dynamic-link= arguments used for linking glibc programs, and ldd script. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
parent
ca52c56abf
commit
db03874df9
@ -661,7 +661,8 @@ libof-ldconfig = ldconfig
|
||||
CFLAGS-dl-cache.c += $(SYSCONF-FLAGS)
|
||||
CFLAGS-cache.c += $(SYSCONF-FLAGS)
|
||||
CFLAGS-rtld.c += $(SYSCONF-FLAGS)
|
||||
CFLAGS-dl-usage.c += $(SYSCONF-FLAGS)
|
||||
CFLAGS-dl-usage.c += $(SYSCONF-FLAGS) \
|
||||
-D'RTLD="$(rtlddir)/$(rtld-installed-name)"'
|
||||
|
||||
cpp-srcs-left := $(all-rtld-routines:=.os)
|
||||
lib := rtld
|
||||
|
@ -76,6 +76,8 @@ setting environment variables (which would be inherited by subprocesses).\n\
|
||||
--argv0 STRING set argv[0] to STRING before running\n\
|
||||
--help display this help and exit\n\
|
||||
--version output version information and exit\n\
|
||||
\n\
|
||||
This program interpreter self-identifies as: " RTLD "\n\
|
||||
",
|
||||
argv0);
|
||||
_exit (EXIT_SUCCESS);
|
||||
|
Loading…
Reference in New Issue
Block a user