summaryrefslogtreecommitdiffstats
path: root/src/elflint.c
diff options
context:
space:
mode:
authorUlrich Drepper <[email protected]>2009-01-17 11:47:10 -0800
committerUlrich Drepper <[email protected]>2009-01-17 11:47:10 -0800
commitfdc93e12a77866cafd1aae4463d89cef2c01d9b1 (patch)
tree96164f699e204dbc733f3810f7e534fa7265bc8e /src/elflint.c
parent3a52c7a528e41cc28e69e68ef817f0b2d7f130e5 (diff)
Move argp_program_version_hook and argp_program_bug_address variables
in all programs into the .rodata section.
Diffstat (limited to 'src/elflint.c')
-rw-r--r--src/elflint.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/elflint.c b/src/elflint.c
index 35368a5e..1c508c47 100644
--- a/src/elflint.c
+++ b/src/elflint.c
@@ -56,10 +56,10 @@
/* Name and version of program. */
static void print_version (FILE *stream, struct argp_state *state);
-void (*argp_program_version_hook) (FILE *, struct argp_state *) = print_version;
+ARGP_PROGRAM_VERSION_HOOK_DEF = print_version;
/* Bug report address. */
-const char *argp_program_bug_address = PACKAGE_BUGREPORT;
+ARGP_PROGRAM_BUG_ADDRESS_DEF = PACKAGE_BUGREPORT;
#define ARGP_strict 300
#define ARGP_gnuld 301
@@ -67,7 +67,6 @@ const char *argp_program_bug_address = PACKAGE_BUGREPORT;
/* Definitions of arguments for argp functions. */
static const struct argp_option options[] =
{
-
{ "strict", ARGP_strict, NULL, 0,
N_("Be extremely strict, flag level 2 features."), 0 },
{ "quiet", 'q', NULL, 0, N_("Do not print anything if successful"), 0 },