This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: [PATCH] [gold] do not mention DT_FLAGS in help for --enable-new-dtags
- From: Cary Coutant <ccoutant at gmail dot com>
- To: Benjamin Peterson <bp at benjamin dot pe>
- Cc: Binutils <binutils at sourceware dot org>
- Date: Tue, 22 Nov 2016 16:03:47 -0800
- Subject: Re: [PATCH] [gold] do not mention DT_FLAGS in help for --enable-new-dtags
- Authentication-results: sourceware.org; auth=none
- References: <1479366347.74877.790536641.29989A3C@webmail.messagingengine.com>
I've just committed a larger clean-up of gold's --help text, and
included this fix as part of that.
Thanks for pointing this out!
-cary
On Wed, Nov 16, 2016 at 11:05 PM, Benjamin Peterson <bp@benjamin.pe> wrote:
> --enable-new-dtags does not affect the generation of DT_FLAGS at all.
>
> gold/ChangeLog:
>
> * options.h (copy_section): do not mention DT_FLAGS in help for
> --enable-new-dtags
> ---
> gold/options.h | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/gold/options.h b/gold/options.h
> index ac0306d..cad965b 100644
> --- a/gold/options.h
> +++ b/gold/options.h
> @@ -964,8 +964,8 @@ class General_options
> N_("Page align data, make text readonly"));
>
> DEFINE_enable(new_dtags, options::EXACTLY_TWO_DASHES, '\0', true,
> - N_("Enable use of DT_RUNPATH and DT_FLAGS"),
> - N_("Disable use of DT_RUNPATH and DT_FLAGS"));
> + N_("Enable use of DT_RUNPATH"),
> + N_("Disable use of DT_RUNPATH"));
>
> DEFINE_bool(noinhibit_exec, options::TWO_DASHES, '\0', false,
> N_("Create an output file even if errors occur"), NULL);
> --
> 2.9.3