Blame elf/dl-usage.c

Packit Service 258845
/* Print usage information and help for ld.so.
Packit Service 258845
   Copyright (C) 1995-2020 Free Software Foundation, Inc.
Packit Service 258845
   This file is part of the GNU C Library.
Packit Service 258845
Packit Service 258845
   The GNU C Library is free software; you can redistribute it and/or
Packit Service 258845
   modify it under the terms of the GNU Lesser General Public
Packit Service 258845
   License as published by the Free Software Foundation; either
Packit Service 258845
   version 2.1 of the License, or (at your option) any later version.
Packit Service 258845
Packit Service 258845
   The GNU C Library is distributed in the hope that it will be useful,
Packit Service 258845
   but WITHOUT ANY WARRANTY; without even the implied warranty of
Packit Service 258845
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
Packit Service 258845
   Lesser General Public License for more details.
Packit Service 258845
Packit Service 258845
   You should have received a copy of the GNU Lesser General Public
Packit Service 258845
   License along with the GNU C Library; if not, see
Packit Service 258845
   <https://www.gnu.org/licenses/>.  */
Packit Service 258845
Packit Service 258845
#include <dl-cache.h>
Packit Service 258845
#include <dl-main.h>
Packit Service 258845
#include <ldsodefs.h>
Packit Service 258845
Packit Service 258845
void
Packit Service 258845
_dl_usage (void)
Packit Service 258845
{
Packit Service 258845
  _dl_fatal_printf ("\
Packit Service 258845
Usage: ld.so [OPTION]... EXECUTABLE-FILE [ARGS-FOR-PROGRAM...]\n\
Packit Service 258845
You have invoked `ld.so', the helper program for shared library executables.\n\
Packit Service 258845
This program usually lives in the file `/lib/ld.so', and special directives\n\
Packit Service 258845
in executable files using ELF shared libraries tell the system's program\n\
Packit Service 258845
loader to load the helper program from this file.  This helper program loads\n\
Packit Service 258845
the shared libraries needed by the program executable, prepares the program\n\
Packit Service 258845
to run, and runs it.  You may invoke this helper program directly from the\n\
Packit Service 258845
command line to load and run an ELF executable file; this is like executing\n\
Packit Service 258845
that file itself, but always uses this helper program from the file you\n\
Packit Service 258845
specified, instead of the helper program file specified in the executable\n\
Packit Service 258845
file you run.  This is mostly of use for maintainers to test new versions\n\
Packit Service 258845
of this helper program; chances are you did not intend to run this program.\n\
Packit Service 258845
\n\
Packit Service 258845
  --list                list all dependencies and how they are resolved\n\
Packit Service 258845
  --verify              verify that given object really is a dynamically linked\n\
Packit Service 258845
                        object we can handle\n\
Packit Service 258845
  --inhibit-cache       Do not use " LD_SO_CACHE "\n\
Packit Service 258845
  --library-path PATH   use given PATH instead of content of the environment\n\
Packit Service 258845
                        variable LD_LIBRARY_PATH\n\
Packit Service 258845
  --inhibit-rpath LIST  ignore RUNPATH and RPATH information in object names\n\
Packit Service 258845
                        in LIST\n\
Packit Service 258845
  --audit LIST          use objects named in LIST as auditors\n\
Packit Service 258845
  --preload LIST        preload objects named in LIST\n\
Packit Service 258845
  --argv0 STRING        set argv[0] to STRING before running\n");
Packit Service 258845
}