mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
elf: Implement ld.so --version
This prints out version information for the dynamic loader and exits immediately, without further command line processing (which seems to match what some GNU tools do). Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
This commit is contained in:
@ -105,6 +105,9 @@ call_init_paths (const struct dl_main_state *state)
|
||||
_Noreturn void _dl_usage (const char *argv0, const char *wrong_option)
|
||||
attribute_hidden;
|
||||
|
||||
/* Print ld.so version information and exit. */
|
||||
_Noreturn void _dl_version (void) attribute_hidden;
|
||||
|
||||
/* Print ld.so --help output and exit. */
|
||||
_Noreturn void _dl_help (const char *argv0, struct dl_main_state *state)
|
||||
attribute_hidden;
|
||||
|
Reference in New Issue
Block a user